Bad night? Calculate the ideal nap duration and timing to recover alertness and function today โ without sabotaging tonight's sleep.