{data.consistency > 0.8 ? 'Excellent - Very consistent sleep schedule' : data.consistency > 0.6 ? 'Good - Fairly consistent schedule' : 'Needs improvement - Irregular sleep pattern'}
{formatTime(data.optimalBedtime)}
{formatTime(data.optimalWakeTime)}
{Math.abs(data.sleepPhaseShift) < 1 ? 'Sleep schedule aligned with typical patterns' : data.sleepPhaseShift > 0 ? `Bedtime is ${Math.abs(data.sleepPhaseShift).toFixed(1)} hours later than typical` : `Bedtime is ${Math.abs(data.sleepPhaseShift).toFixed(1)} hours earlier than typical`}
{formatTime(data.melatoninOnset)}
Natural sleepiness begins around this time