/* Focus mode (beat procrastination), the "Start one thing" card on Today and insights on Family. */
.focus-page .center, .focus-card.center { text-align: center; }
.focus-page .center { text-align: center; }
.focus-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0 16px; text-align: center; }
.focus-head .tile.lg { width: 72px; height: 72px; font-size: 38px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; }
.focus-name { font-size: 22px; line-height: 1.2; margin: 4px 0 0; }
.focus-head p { margin: 0; }
.focus-card { margin-top: 12px; }
.focus-card h3 { margin: 0 0 4px; font-size: 18px; }
.focus-card p { margin: 0 0 10px; }
.focus-card .btn + .btn { margin-top: 8px; }
.focus-big { font-size: 48px; line-height: 1; margin: 6px 0 8px; }
.focus-step .label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: 6px; }
.focus-step-text { font-size: 17px; }
.focus-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; align-items: stretch; }
.focus-actions.center { align-items: center; }
.focus-actions.center .btn.block { width: 100%; }
.btn.xl { min-height: 56px; font-size: 17px; border-radius: 16px; }
.banner.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--text); font-weight: 500; }
.banner.warn + .btn, .focus-card .banner + .btn { margin-top: 10px; }
.focus-count { font-size: 96px; font-weight: 700; line-height: 1; color: var(--primary); margin: 12px 0 0; animation: focus-pop 1s ease-out infinite; }
@keyframes focus-pop { 0% { transform: scale(1.25); opacity: .4; } 25% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .focus-count { animation: none; } }
.focus-ring { position: relative; width: min(220px, 62vw); aspect-ratio: 1; margin: 4px auto 6px; }
.focus-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.focus-ring circle { fill: none; stroke-width: 9; }
.focus-ring .track { stroke: var(--surface-2); }
.focus-ring .bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 339.29; transition: stroke-dashoffset 1s linear; }
.focus-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.focus-ring-text strong { font-size: 40px; line-height: 1.1; }
.focus-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip.lg { min-height: 44px; padding: 0 16px; font-size: 15px; }
.focus-page .label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

/* A chore's parts: pick one to start, tick them while doing it */
.focus-parts { text-align: left; width: 100%; }
.focus-parts .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.focus-part { display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--border); cursor: pointer; }
.focus-part:first-of-type { border-top: 0; }
.focus-part input { width: 20px; height: 20px; accent-color: var(--primary); }
.focus-now { margin: 0; font-weight: 700; font-size: 17px; }
.focus-try { align-items: flex-start; font-weight: 500; }

/* A chore moved with "Not now" (Today and Chores lists) */
.snooze-tag { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }

/* Today: the one thing to start next */
.next-up { display: flex; align-items: center; gap: 12px; margin-top: 12px; border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--border)); }
.next-up .grow { min-width: 0; }
.next-up .kicker { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); }
.next-up .title { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Family: procrastination insights */
.insights .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.insights .stat { background: var(--surface-2); border-radius: var(--radius-s); padding: 10px; text-align: center; }
.insights .stat strong { display: block; font-size: 22px; line-height: 1.1; }
.insights .stat span { font-size: 12px; color: var(--text-muted); }
.insights .reason-row { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; }
.insights .reason-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; grid-column: 2 / 4; }
.insights .reason-bar i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.insights .tip { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--primary-soft); font-size: 14px; }
.insights .top-habit { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.insights .top-habit:first-of-type { border-top: 0; }
