The panic attacks keeping you awake aren’t random—they’re triggered by patterns your doctor never mentioned and your sleep tracker can’t detect.