:root{--glass-bg:#080c2094;--glass-border:#ffffff1a;--glass-shadow:0 4px 32px #0000006b, inset 0 1px 0 #ffffff12;--glass-blur:blur(28px) saturate(180%);--glass-blur-sm:blur(14px) saturate(150%);--text-primary:#fff;--text-secondary:#ffffffd1;--accent-purple:#a78bfa;--accent-green:#4ade80;--accent-yellow:#facc15;--accent-orange:#fb923c;--accent-red:#ef4444;--sleep-bar:#8b5cf6;--spring:cubic-bezier(.34, 1.56, .64, 1);--bg-primary:#060814;--bg-card:#080c2094;--bg-card-soft:#0e143099;--line:#ffffff1a;--shadow:var(--glass-shadow);--surface-padding-inline:12px;--surface-padding-block:10px;--surface-gap:8px;--page-bg:radial-gradient(circle at top, #3b82f624, transparent 42%), linear-gradient(180deg, #08101d, #040712)}:root[data-theme=light]{--glass-bg:#ffffffb8;--glass-border:#0f172a14;--glass-shadow:0 10px 34px #0f172a1f, inset 0 1px 0 #ffffffb3;--text-primary:#091224;--text-secondary:#091224b8;--bg-primary:#ecf3ff;--bg-card:#ffffffb8;--bg-card-soft:#ffffffd1;--line:#0f172a14;--page-bg:radial-gradient(circle at top, #60a5fa2e, transparent 36%), linear-gradient(180deg, #f3f7ff, #e8eefc 60%, #e3ebfb)}*,:before,:after{box-sizing:border-box}html,body{background:var(--page-bg);min-height:100%;color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,system-ui,sans-serif}h1,h2,h3,strong,.tab-bar__label{font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,system-ui,sans-serif}button{color:inherit;font:inherit;cursor:pointer}#app{min-height:100vh}.glass-bg-canvas{pointer-events:none;z-index:0;width:100%;height:100%;position:fixed;inset:0}.app-shell{z-index:1;width:min(680px,100%);min-height:100vh;padding:8px 12px calc(84px + env(safe-area-inset-bottom));margin:0 auto;position:relative}.app-shell--browser-entry{width:100%;min-height:100vh;padding:clamp(32px,12vh,96px) 18px 32px}.app-shell--browser-entry .app-shell__viewport{width:min(720px,100%);margin:0 auto}.app-shell--browser-entry .app-content{display:block}.app-shell__viewport{z-index:60;will-change:transform;transition:transform .28s var(--spring);position:relative}.app-shell__viewport.is-pulling{transition:none}.pull-indicator{opacity:0;pointer-events:none;-webkit-backdrop-filter:var(--glass-blur-sm);color:var(--text-secondary);z-index:200;background:#080c1ce0;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:8px;padding:7px 14px;font-size:.78rem;transition:opacity .2s,transform .2s,color .2s;display:inline-flex;position:fixed;top:8px;left:50%;transform:translate(-50%)}:root[data-theme=light] .pull-indicator{color:#091224b8;background:#ffffffd6;border-color:#0f172a14;box-shadow:0 10px 24px #94a3b829,inset 0 1px #ffffffeb}.pull-indicator.is-visible{opacity:1}.pull-indicator.is-ready{color:var(--text-primary);border-color:#4ade8080}.pull-indicator__glyph{width:16px;height:16px;color:var(--text-primary);flex-shrink:0;justify-content:center;align-items:center;font-size:.92rem;line-height:1;display:inline-flex}:root[data-theme=light] .pull-indicator__glyph{color:#091224c2}.pull-indicator__glyph.is-loading{color:#0000;border:2px solid #fff3;border-top-color:#ffffffeb;border-radius:50%;animation:.8s linear infinite spin}:root[data-theme=light] .pull-indicator__glyph.is-loading{border-color:#2563ebe0 #94a3b83d #94a3b83d}.app-topbar{align-items:center;gap:8px;margin-bottom:10px;display:flex}.app-topbar__brand{filter:drop-shadow(0 10px 24px #0f172a24);background:#ffffff0a;border:1px solid #ffffff14;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;padding:2px;display:inline-flex}.app-topbar__brand-image{object-fit:contain;-webkit-user-select:none;user-select:none;border-radius:50%;width:100%;height:100%;display:block}:root[data-theme=light] .app-topbar__brand{background:radial-gradient(circle at 0 0,#60a5fa24,#0000 58%),#ffffffe6;border-color:#94a3b83d;box-shadow:0 10px 24px #94a3b82e,inset 0 1px #ffffffeb}.app-topbar__island{min-width:0;min-height:40px;-webkit-backdrop-filter:var(--glass-blur-sm);transition:transform .34s var(--spring), box-shadow .34s ease, border-color .28s ease, background .34s ease;background:radial-gradient(circle at 0 0,#60a5fa2e,#0000 52%),#ffffff14;border:1px solid #ffffff1f;border-radius:999px;flex:1;align-items:center;gap:8px;padding:8px 12px;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 10px 24px #0f172a24,inset 0 1px #ffffff14}.app-topbar__island:after{content:"";border-radius:inherit;opacity:.66;pointer-events:none;background:radial-gradient(circle at 18% 12%,#ffffff3d,#0000 24%),linear-gradient(112deg,#0000 0%,#ffffff1f 38%,#0000 68%);position:absolute;inset:1px;transform:translate(-10%)}.app-topbar__island.is-toast{background:radial-gradient(circle at 0 0,#34d39929,#0000 54%),#ffffff14;border-color:#4ade8042}.app-topbar__island-text{white-space:nowrap;text-overflow:clip;min-width:0;color:var(--text-primary);padding-right:10px;font-size:.84rem;font-weight:600;display:block;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#000 0% 86%,#0000 100%);mask-image:linear-gradient(90deg,#000 0% 86%,#0000 100%)}.app-topbar__island-text-wrap{flex:1;min-width:0;overflow:hidden}.app-topbar__live-copy{animation:liveCopyIn .28s var(--spring)}.app-topbar__sync-indicator{border:2px solid #ffffff2e;border-top-color:#ffffffeb;border-radius:999px;flex-shrink:0;width:16px;height:16px;animation:.8s linear infinite app-topbar-spin}@keyframes app-topbar-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes liveCopyIn{0%{opacity:0;filter:blur(6px);transform:translateY(8px)scale(.985)}to{opacity:1;filter:blur();transform:translateY(0)scale(1)}}.app-topbar__controls{flex-shrink:0;align-items:center;gap:6px;display:inline-flex}.app-topbar__locale-button{min-width:52px;min-height:38px;-webkit-backdrop-filter:var(--glass-blur-sm);letter-spacing:.04em;color:var(--text-primary);transition:transform .28s var(--spring), box-shadow .28s ease, border-color .22s ease, background .28s ease;background:#ffffff12;border:1px solid #ffffff1f;border-radius:999px;justify-content:center;align-items:center;padding:4px;font-size:.74rem;font-weight:700;display:inline-flex;box-shadow:0 10px 24px #0f172a1f,inset 0 1px #ffffff14}.app-topbar__icon-button{width:38px;height:38px;color:var(--text-primary);-webkit-backdrop-filter:var(--glass-blur-sm);transition:transform .28s var(--spring), box-shadow .28s ease, border-color .22s ease, background .28s ease;background:#ffffff12;border:1px solid #ffffff1f;border-radius:999px;justify-content:center;align-items:center;display:inline-flex;box-shadow:0 10px 24px #0f172a1f,inset 0 1px #ffffff14}.app-topbar__icon-button svg,.app-topbar__icon-button span{justify-content:center;align-items:center;width:15px;height:15px;display:inline-flex}.app-topbar__help-mark{font-size:1rem;font-weight:800;line-height:1}.is-spinning{animation:.9s linear infinite spin}.app-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.app-header__title{flex:1;min-width:0;overflow:hidden}.app-header h1{letter-spacing:-.028em;white-space:nowrap;text-overflow:ellipsis;margin:2px 0 0;font-size:clamp(.78rem,3.5vw,1.35rem);font-weight:700;line-height:1.2;overflow:hidden}.app-header__screen{color:var(--text-secondary);white-space:nowrap;font-size:.88em;font-weight:500}.app-header__eyebrow{display:none}.app-header__actions{flex-shrink:0;gap:8px;display:flex}.icon-button{border:1px solid var(--glass-border);-webkit-backdrop-filter:var(--glass-blur-sm);color:var(--text-primary);background:#ffffff0f;border-radius:14px;flex-shrink:0;place-items:center;width:40px;height:40px;transition:background .2s;display:grid}.icon-button:disabled{opacity:.4}.app-content{gap:12px;display:grid}.app-stage{min-width:0;min-height:calc(100dvh - 190px - env(safe-area-inset-bottom,0px));touch-action:pan-y;display:grid;position:relative}.app-stage__panel{will-change:transform, opacity, filter;grid-area:1/1;min-width:0;min-height:100%}.app-stage.is-dragging .app-stage__panel--current{transform:translate3d(var(--tab-swipe-offset,0px), 0, 0);transition:none}.app-stage.is-transitioning{overflow:hidden}.app-stage .screen-enter{animation:none!important}.app-stage__panel--enter-forward{animation:tabSlideInFromRight .42s var(--spring) both}.app-stage__panel--exit-forward{animation:.42s both tabSlideOutToLeft}.app-stage__panel--enter-backward{animation:tabSlideInFromLeft .42s var(--spring) both}.app-stage__panel--exit-backward{animation:.42s both tabSlideOutToRight}.stats-screen{gap:8px;display:grid}.child-switcher{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.child-switcher__item{border:1px solid var(--glass-border);-webkit-backdrop-filter:var(--glass-blur-sm);color:var(--text-primary);transition:transform .26s var(--spring), background .26s ease, box-shadow .26s ease, border-color .2s ease;background:#ffffff0d;border-radius:999px;padding:7px 16px;font-size:.88rem;font-weight:500}.child-switcher__item.is-active{background:linear-gradient(120deg,#7c5cbfd1,#8b5cf6c7);border-color:#a78bfa47;box-shadow:0 2px 14px #7c5cbf52}.screen-card,.status-card{background:var(--glass-bg);-webkit-backdrop-filter:var(--glass-blur);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);transition:transform .34s var(--spring), box-shadow .34s ease, border-color .28s ease, background .34s ease;border-radius:18px;padding:14px;position:relative;overflow:hidden}.screen-card:before,.status-card:before{content:"";pointer-events:none;background:linear-gradient(90deg,#0000 5%,#ffffff38 30% 70%,#0000 95%);height:1px;position:absolute;top:0;left:0;right:0}.screen-card h2,.status-card h2{margin:0;font-size:1.2rem;font-weight:700}.screen-card>p,.status-card>p{color:var(--text-secondary);margin:0}.screen-card__header{margin-bottom:10px}.screen-card__empty{margin:0}.browser-entry{color:#f8fafc;-webkit-backdrop-filter:blur(24px)saturate(150%);background:#0f182ae0;border:1px solid #94a3b847;border-radius:24px;gap:22px;width:min(680px,100%);margin:0 auto;padding:clamp(24px,5vw,36px);display:grid;box-shadow:0 24px 70px #02061770}.browser-entry h1{color:#f8fafc;letter-spacing:0;margin:0;font-size:clamp(2rem,7vw,2.7rem);line-height:1.02}.browser-entry .screen-card__header{margin-bottom:0}.browser-entry .screen-card__header p{color:#e2e8f0c7;max-width:500px;margin:12px 0 0;font-size:1rem;line-height:1.42}.browser-entry__actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.browser-entry__telegram-widget,.browser-entry__messenger-button{height:40px}.browser-entry__telegram-widget{align-items:center;min-width:260px;display:inline-flex}.browser-entry__telegram-widget iframe{max-width:100%;display:block;width:100%!important}.browser-entry__messenger-button{color:#fff;border:0;border-radius:12px;justify-content:center;align-items:center;gap:10px;min-width:260px;padding:0 16px;font-size:.95rem;font-weight:700;display:inline-flex;box-shadow:0 14px 32px #2563eb3d}.browser-entry__messenger-button:disabled{opacity:.72}.browser-entry__messenger-button--telegram{background:#54a9eb}.browser-entry__messenger-button--max{background:linear-gradient(135deg,#31b8ff 0%,#5668ff 58%,#7c3aed 100%)}.browser-entry__messenger-icon{color:#54a9eb;background:#fff;border-radius:999px;place-items:center;width:28px;min-width:28px;height:28px;line-height:1;display:inline-grid}.browser-entry__messenger-icon--max{background:0 0;box-shadow:0 0 18px #7c3aed6b}.browser-entry__messenger-icon img{border-radius:9px;width:28px;height:28px;display:block}.browser-entry__status{color:#e2e8f0c7;margin:0;font-size:.95rem;line-height:1.4}@media (width<=560px){.app-shell--browser-entry{padding-inline:14px}.browser-entry__actions,.browser-entry__telegram-widget,.browser-entry__messenger-button{width:100%}}.status-last-feed{color:var(--text-secondary);background:#ffffff0a;border:1px solid #ffffff12;border-radius:9px;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;padding:7px 10px;font-size:.8rem;display:flex}.status-last-feed__icon{font-size:.9rem}.status-last-feed__label{color:var(--text-secondary);flex-shrink:0;font-weight:500}.status-last-feed__time{color:var(--text-primary);flex-shrink:0;font-weight:600}.status-last-feed__ago{color:var(--text-secondary);flex-shrink:0}.status-last-feed__side{color:var(--accent-purple);background:#a78bfa1f;border:1px solid #a78bfa33;border-radius:6px;margin-left:auto;padding:2px 7px;font-size:.78rem;font-weight:600}.status-card__header{margin-bottom:6px}.status-card__summary{padding:var(--surface-padding-block) var(--surface-padding-inline);color:var(--text-primary);background:#ffffff0a;border:1px solid #ffffff0f;border-radius:14px;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;display:flex}.status-card__summary-headline{letter-spacing:0;font-size:clamp(.98rem,4.4vw,1.14rem);font-weight:600;line-height:1.28;display:block}.status-card__summary-meta{display:contents}.status-card__summary>.status-live-copy-wrap{flex:0 auto;max-width:100%}.status-card__summary-meta .status-live-copy-wrap,.status-card__summary-meta .status-live-copy{display:inline-flex}.status-card__summary-pill{min-height:28px;color:var(--text-secondary);background:#ffffff0f;border:1px solid #ffffff14;border-radius:999px;align-items:center;padding:0 10px;font-size:.76rem;font-weight:600;line-height:1.2;display:inline-flex}.status-card__summary-pill--alert{color:#fecaca;background:#ef444429;border-color:#f8717157}.status-card__text{padding:var(--surface-padding-block) var(--surface-padding-inline);color:var(--text-secondary);white-space:pre-wrap;word-break:break-word;background:#ffffff0a;border:1px solid #ffffff0f;border-radius:14px;margin:0;font-family:inherit;font-size:.88rem;line-height:1.6}.status-card__meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.status-card__facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.status-card__fact{padding:var(--surface-padding-block) var(--surface-padding-inline);background:#ffffff0a;border:1px solid #ffffff0f;border-radius:11px;gap:4px;display:grid}.status-card__fact-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.status-card__fact-label{color:var(--text-secondary);letter-spacing:-.01em;min-width:0;font-size:clamp(.66rem,2.7vw,.74rem);line-height:1.15}.status-card__fact-info{width:24px;height:24px;color:var(--text-primary);background:#ffffff0f;border:1px solid #ffffff1f;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-size:.84rem;font-weight:700;line-height:1;display:inline-flex;box-shadow:inset 0 1px #ffffff14}.status-card__fact-value{color:var(--text-primary);font-size:.94rem;font-weight:700;line-height:1.28;display:block}.status-info-modal__sheet{max-width:440px}.status-info-modal__copy{color:var(--text-secondary);margin:0;font-size:.98rem;line-height:1.62}.status-card__meta-grid article{text-align:left;background:#ffffff0a;border:1px solid #ffffff0f;border-radius:14px;align-content:start;gap:10px;min-width:0;padding:12px 12px 11px;display:grid}.status-card__meta-label{color:var(--text-secondary);font-size:.74rem;font-weight:600;line-height:1.2}.status-card__metric{height:100%;position:relative}.status-card__metric-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.status-card__metric-value{letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;min-width:0;margin:0;font-size:clamp(1.48rem,4.9vw,1.92rem);line-height:1.02;display:block}.status-card__metric-value-copy{color:var(--text-primary)}.status-card__metric-status{letter-spacing:.01em;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:fit-content;min-height:22px;margin:0;padding:0 8px;font-size:.68rem;font-weight:700;display:inline-flex}.status-card__metric-status-dot{background:#65d7a3;border-radius:999px;flex-shrink:0;width:10px;height:10px;margin-top:6px;box-shadow:0 0 0 4px #22c55e24}.status-card__metric--ok .status-card__metric-status{color:#65d7a3;background:#22c55e24;border:1px solid #22c55e3d}.status-card__metric--high .status-card__metric-status,.status-card__metric--low .status-card__metric-status{color:#ff9d9d;background:#f8717124;border:1px solid #f8717138}.status-card__metric--neutral .status-card__metric-status{color:#bfdbfeeb;background:#60a5fa1f;border:1px solid #60a5fa33}.status-card__metric-details{gap:8px;display:grid}.status-card__metric-detail{gap:3px;min-width:0;display:grid}.status-card__metric-detail-label{color:var(--text-secondary);font-size:.72rem;line-height:1.2}.status-card__metric-detail-value{color:var(--text-primary);overflow-wrap:anywhere;font-size:.84rem;font-weight:600;line-height:1.28;display:block}@media (width<=420px){.status-card__meta-grid article{padding:11px}.status-card__metric-value{font-size:1.38rem}.status-card__metric-status{min-height:21px;font-size:.64rem}.status-card__metric-detail-value{font-size:.8rem}}.status-live-copy-wrap{min-width:0;display:block;overflow:hidden}.status-live-copy{animation:liveCopyIn .32s var(--spring);display:block}.tracking-history__header-copy .status-live-copy-wrap{vertical-align:baseline;display:inline-flex}.tracking-history__header-copy .status-live-copy{display:inline-block}.tracking-history__subline .status-live-copy-wrap{max-width:100%;display:inline-flex}.tracking-history__subline .status-live-copy{max-width:100%;display:inline-block}.status-chip{white-space:nowrap;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;min-height:26px;padding:0 10px;font-size:.72rem;font-weight:700;display:inline-flex}.status-chip--ok{color:#65d7a3;background:#22c55e24;border:1px solid #22c55e3d}.status-chip--high,.status-chip--low{color:#ff9d9d;background:#f8717124;border:1px solid #f8717138}.status-card__hint{border-left:3px solid var(--accent-yellow);background:#facc150f;border-radius:10px;margin-top:12px;padding:10px 12px}.status-card__hint h3{margin:0;font-size:.95rem}.status-card__hint p{margin-top:6px}.status-card--awake{border-top:2px solid #ffffff2e}.status-card--sleeping{border-top:2px solid #8b5cf685}.status-card--night{border-top:2px solid #7c5cbfb8}.status-screen,.status-actions,.status-actions__row{gap:10px;display:grid}.status-actions__row--split{grid-template-columns:repeat(2,minmax(0,1fr))}.status-actions__row--split>:only-child{grid-column:1/-1}.status-action-button{width:100%;min-height:58px;color:var(--text-primary);-webkit-backdrop-filter:var(--glass-blur-sm);transition:transform .24s var(--spring), box-shadow .24s ease, border-color .2s ease, background .24s ease;background:linear-gradient(135deg,#ffffff14,#ffffff08),radial-gradient(circle at 0 0,#84bfff29,#0000 54%),#ffffff14;border:1px solid #ffffff24;border-radius:18px;justify-content:center;align-items:center;padding:12px 16px;font-size:.98rem;font-weight:700;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 16px 34px #0f172a2e,inset 0 1px #ffffff1f}.status-action-button:before{content:"";border-radius:inherit;background:linear-gradient(120deg, #ffffff29, transparent 38%, transparent 62%, #ffffff0f), radial-gradient(circle at top left, var(--status-action-glow,#94a3b81f), transparent 46%);opacity:.9;pointer-events:none;position:absolute;inset:1px}.status-action-button--sleep{--status-action-shift-x:-4px;--status-action-glow:#818cf847;background:linear-gradient(135deg,#8b5cf629,#6366f114),radial-gradient(circle at 0 0,#a78bfa2e,#0000 54%),#ffffff14;border-color:#818cf83d}.status-action-button--wake,.status-action-button--feed{--status-action-glow:#818cf847;background:linear-gradient(135deg,#8b5cf629,#6366f114),radial-gradient(circle at 0 0,#a78bfa2e,#0000 54%),#ffffff14;border-color:#818cf83d}.status-action-button__content{z-index:1;transform:translateX(var(--status-action-shift-x,0px));justify-content:center;align-items:center;gap:10px;display:inline-flex;position:relative}.status-action-button__icon{background:#ffffff1f;border:1px solid #fff3;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex;position:relative;box-shadow:inset 0 1px #ffffff24,0 8px 16px #0f172a1f}.status-action-button__icon svg{width:16px;height:16px}.status-action-button__label{letter-spacing:.01em;line-height:1.05;position:relative}.status-action-button:disabled{opacity:.45}.tracking-history{background:var(--glass-bg);border:1px solid var(--glass-border);-webkit-backdrop-filter:var(--glass-blur-sm);border-radius:16px;gap:6px;padding:10px;display:grid}.tracking-history__header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.tracking-history__header-copy{min-width:0}.tracking-history__export-button{appearance:none;color:var(--text-primary);font:inherit;cursor:pointer;transition:transform .2s var(--spring), border-color .2s ease, background .2s ease;background:#ffffff0d;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:.75rem;font-weight:700;display:inline-flex}.tracking-history__export-icon{width:15px;height:15px;display:inline-flex}.tracking-history__export-icon svg{width:100%;height:100%}.tracking-history__header h3{margin:0;font-size:.84rem;line-height:1.3}.tracking-history__subline{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin:4px 0 0;font-size:.72rem;line-height:1.35;overflow:hidden}.tracking-history__empty{color:var(--text-secondary);margin:0;font-size:.88rem}.tracking-history__list{gap:6px;display:grid}.tracking-history__gap{text-align:left;color:#d7ebffe0;white-space:normal;background:#ffffff0a;border-left:2px solid #84bfff57;border-radius:0 12px 12px 0;margin:-1px 0 1px 14px;padding:7px 10px 7px 18px;font-size:.8rem;line-height:1.24}.tracking-history__timeline-row{appearance:none;box-sizing:border-box;border:0;border-left:2px solid #84bfff57;justify-content:space-between;align-items:center;gap:8px;width:calc(100% - 14px);font-family:inherit;font-size:.8rem;line-height:1.24;display:flex}.tracking-history__timeline-row--feed{cursor:pointer}.tracking-history__inline{appearance:none;color:var(--text-secondary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;padding:0 10px;font-size:.79rem;line-height:1.45;display:inline-flex}.tracking-history__inline--feed{justify-self:start}.tracking-history__item{color:var(--text-primary);text-align:left;transition:transform .24s var(--spring), box-shadow .24s ease, border-color .2s ease, background .24s ease;background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 10px;display:grid}.tracking-history__main{gap:2px;min-width:0;display:grid}.tracking-history__main strong{font-size:.88rem}.tracking-history__main span,.tracking-history__main small{color:var(--text-secondary);line-height:1.32}.tracking-history__main small{font-size:.82rem}.tracking-history__sleep-gap{color:#d7ebffd1;font-size:.8rem;line-height:1.3;display:block}.tracking-history__chevron{color:var(--text-secondary);align-items:center;gap:6px;font-size:1.02rem;display:inline-flex}.tracking-history__edit-icon{opacity:.9;font-size:1.55rem;line-height:1}.tracking-history__edit-icon--inline{color:var(--text-secondary);font-size:1.15rem}.tracking-modal{z-index:330;padding:max(14px, env(safe-area-inset-top,0px)) 14px max(14px, env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(24px);background:#04081485;justify-content:center;align-items:center;animation:.22s both modalFadeIn;display:flex;position:fixed;inset:0}.tracking-modal:before,.tracking-modal:after{content:"";pointer-events:none;z-index:0;position:absolute}.tracking-modal:before{right:max(4px,50vw - 266px);bottom:calc(18px + env(safe-area-inset-bottom));opacity:.09;filter:brightness(.85)saturate(.7);background:url(./lodge-CXatTy-j.png) 50%/contain no-repeat;width:77px;height:77px}.tracking-modal:after{right:max(9px,50vw - 261px);bottom:calc(48px + env(safe-area-inset-bottom));aspect-ratio:1;opacity:.55;filter:brightness(.64)saturate(.72)contrast(.92);transform-origin:74% 100%;background:url(./flower-D0azx-wK.png) bottom/contain no-repeat;width:clamp(240px,64vw,360px);animation:7.5s ease-in-out infinite sleepPoppiesSway;transform:translate(10%,26%)}.tracking-modal__backdrop{cursor:default;background:0 0;border:0;padding:0;position:absolute;inset:0}.tracking-modal__sheet{z-index:2;width:min(100%,440px);max-height:min(86dvh,640px);animation:modalSheetIn .42s var(--spring) both;background:radial-gradient(circle at 0 0,#60a5fa29,#0000 38%),radial-gradient(circle at 100% 0,#ffffff24,#0000 24%),linear-gradient(#0c1121f5,#080c18f5);border:1px solid #ffffff1a;border-radius:28px;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 28px 64px #02061757,inset 0 1px #ffffff24}.tracking-modal__header{-webkit-backdrop-filter:blur(22px)saturate(160%);background:linear-gradient(#ffffff1f,#ffffff05);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 14px;display:flex}.tracking-modal__title{margin:0;font-size:1.16rem;font-weight:800;line-height:1.3}.tracking-modal__close{width:40px;height:40px;color:var(--text-primary);transition:transform .22s var(--spring), background .22s ease, border-color .2s ease, box-shadow .22s ease;background:#ffffff14;border:1px solid #ffffff1f;border-radius:16px;box-shadow:inset 0 1px #ffffff1a}.tracking-modal__body{flex:0 auto;gap:14px;min-height:0;padding:14px 20px 20px;display:grid;overflow-y:auto}.tracking-modal__copy{color:var(--text-secondary);margin:0;font-size:.9rem;line-height:1.45}.tracking-modal__copy--success{color:var(--text-primary)}.tracking-field{gap:8px;display:grid}.tracking-field>span{font-size:.82rem;font-weight:600}.tracking-select{width:100%;color:var(--text-primary);font:inherit;background:#080c2099;border:1px solid #ffffff1a;border-radius:12px;padding:10px 12px}.tracking-modal__footer{-webkit-backdrop-filter:blur(20px);background:linear-gradient(#fff0,#ffffff0a);gap:8px;padding:0 18px 18px;display:grid}.tracking-modal__error{color:#fff;background:#dc2626;border:1px solid #ffffff38;border-radius:14px;padding:13px 14px;font-size:1rem;font-weight:700;line-height:1.35}.tracking-modal__actions{grid-auto-columns:1fr;grid-auto-flow:column;gap:10px;display:grid}.tracking-modal__actions--stack{grid-auto-flow:row;grid-auto-columns:unset}.tracking-modal__secondary,.tracking-modal__danger,.tracking-modal__primary{width:100%;min-height:46px;transition:transform .22s var(--spring), box-shadow .22s ease, background .22s ease, border-color .2s ease, color .2s ease;border-radius:14px;padding:11px 16px;font-weight:700}.tracking-modal__secondary{color:var(--text-primary);background:linear-gradient(#ffffff1f,#ffffff0a),#ffffff0a;border:1px solid #ffffff1f;box-shadow:inset 0 1px #ffffff14}.tracking-modal__danger{color:#fecaca;background:#7f1d1d52;border:1px solid #f871713d}.tracking-modal__primary{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border:0;box-shadow:0 10px 24px #2563eb47}.tracking-modal__ghost{color:var(--text-secondary);min-height:42px;transition:transform .22s var(--spring), color .22s ease, opacity .22s ease;background:0 0;border:0;font-weight:600}.tracking-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tracking-quick-grid--triple{grid-template-columns:repeat(3,minmax(0,1fr))}.tracking-quick-grid--split{grid-template-columns:repeat(2,minmax(0,1fr))}.tracking-quick-button{width:100%;min-height:48px;color:var(--text-primary);font:inherit;text-align:center;transition:transform .24s var(--spring), box-shadow .24s ease, background .24s ease, border-color .2s ease, color .2s ease;background:linear-gradient(#ffffff1f,#ffffff0a),#ffffff0a;border:1px solid #ffffff1f;border-radius:18px;padding:12px 14px;font-weight:700;box-shadow:inset 0 1px #ffffff14}.tracking-quick-button--primary{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border:0;box-shadow:0 10px 24px #2563eb38}.tracking-quick-button--ghost{color:var(--text-secondary);background:#ffffff05}.tracking-quick-button:disabled,.tracking-modal__secondary:disabled,.tracking-modal__danger:disabled,.tracking-modal__primary:disabled,.tracking-modal__ghost:disabled{opacity:.5}.blocking-loader{z-index:3;-webkit-backdrop-filter:blur(16px)saturate(160%);background:#04081452;justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0}.blocking-loader__card{text-align:center;background:radial-gradient(circle at 0 0,#60a5fa2e,#0000 42%),radial-gradient(circle at 100% 100%,#a78bfa29,#0000 38%),linear-gradient(#0a1020f0,#070a18eb);border:1px solid #ffffff24;border-radius:28px;justify-items:center;gap:10px;width:min(320px,100%);padding:22px 20px 18px;display:grid;box-shadow:0 22px 56px #02061757,inset 0 1px #ffffff24}.blocking-loader__stage{justify-content:center;align-items:center;width:148px;height:148px;display:flex;position:relative;overflow:visible}.blocking-loader__halo,.blocking-loader__spark{pointer-events:none;z-index:2;position:absolute}.blocking-loader__halo{border-radius:999px;animation:2s ease-in-out infinite blocking-loader-pulse}.blocking-loader__halo--outer{border:1px solid #60a5fa42;inset:18px;box-shadow:0 0 42px #3b82f62e}.blocking-loader__halo--inner{border:1px solid #ffffff38;animation-delay:.35s;inset:34px}.blocking-loader__spark{background:radial-gradient(circle,#fff 0%,#fff0 72%);border-radius:999px;width:8px;height:8px;animation:2.8s linear infinite blocking-loader-orbit;box-shadow:0 0 24px #ffffff85,0 0 42px #60a5fa4d}.blocking-loader__spark--one{margin-left:-4px;top:16px;left:50%}.blocking-loader__spark--two{width:6px;height:6px;animation-duration:3.6s;animation-direction:reverse;bottom:28px;right:20px}.blocking-loader__burst{pointer-events:none;filter:drop-shadow(0 0 26px #60a5fa6b)drop-shadow(0 0 32px #ffffff2e);opacity:.96;mix-blend-mode:screen;z-index:1;width:360%;height:360%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.blocking-loader__title{letter-spacing:.01em;font-size:1.02rem;line-height:1.25}.blocking-loader__caption{max-width:26ch;color:var(--text-secondary);margin:0;font-size:.86rem;line-height:1.45}.next-sleep-urgent{color:var(--accent-red);animation:1.5s ease-in-out infinite pulse}.coaching-goals-widget{background:var(--glass-bg);-webkit-backdrop-filter:var(--glass-blur-sm);backdrop-filter:var(--glass-blur-sm);border:1px solid var(--glass-border);border-radius:14px;padding:12px 14px}.coaching-goals-title{color:var(--text-secondary);letter-spacing:.02em;margin:0 0 4px;font-size:1rem;font-weight:600}.coaching-goals-help{color:var(--text-secondary);opacity:.7;margin:0 0 10px;font-size:.9rem;line-height:1.5}.coaching-goals-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.coaching-goals-item{color:var(--text-primary);border-left:2px solid var(--accent-purple);background:#a78bfa14;border-radius:8px;flex-direction:column;gap:6px;padding:10px 12px;font-size:.96rem;line-height:1.4;display:flex}.goal-label{font-size:.96rem;font-weight:500;line-height:1.42}.goal-header-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.goal-day{color:var(--accent-purple);white-space:nowrap;font-size:.86rem;font-weight:600}.wake-window-excess{color:#fecaca;font-weight:700}.goal-values{color:var(--text-secondary);align-items:center;gap:5px;font-size:.88rem;display:flex}.goal-values b{color:var(--text-primary);font-weight:600}.goal-values-sep{opacity:.4}.goal-trend{font-size:.86rem;font-weight:500}.goal-trend--good{color:var(--accent-green)}.goal-trend--warn{color:var(--accent-yellow)}.goal-trend--neutral{color:var(--text-secondary);opacity:.7}.goal-window-summary{color:var(--text-secondary);opacity:.82;font-size:.86rem;line-height:1.45}.goal-progress-title{text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary);opacity:.72;margin-top:2px;font-size:.82rem}.goal-progress-track{background:#ffffff14;border-radius:4px;height:6px;margin-top:2px;position:relative;overflow:hidden}.goal-progress-fill{background:var(--accent-purple);border-radius:4px;height:100%;transition:width .5s}.goal-progress-label{display:none}.coaching-goals-suggestions{flex-direction:column;gap:10px;margin-top:14px;display:flex}.coaching-goals-suggestions__header{justify-content:space-between;align-items:center;gap:10px;display:flex}.coaching-goals-suggestions__title{color:var(--text-secondary);letter-spacing:.02em;margin:0;font-size:.96rem;font-weight:600}.coaching-goals-list--suggestions{gap:10px}.coaching-goals-item--suggestion{background:#38bdf814;border-left-color:#38bdf8e6}.goal-suggestion-copy{color:var(--text-secondary);flex-direction:column;gap:2px;font-size:.9rem;display:flex}.goal-suggestion-copy__label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-tertiary);font-size:.82rem;font-weight:600}.goal-suggestion-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.goal-suggestion-button,.goal-suggestion-refresh{color:var(--text-primary);background:#ffffff0a;border:1px solid #ffffff1f;border-radius:999px;padding:8px 12px;font-size:.88rem;font-weight:600}.goal-suggestion-button--primary{background:#38bdf829;border-color:#38bdf866}.goal-suggestion-button:disabled,.goal-suggestion-refresh:disabled{opacity:.5}.goal-suggestion-error{color:var(--accent-red);font-size:.88rem}.goal-suggestion-empty{color:var(--text-secondary);opacity:.78;font-size:.88rem;line-height:1.48}.gauge-card{-webkit-backdrop-filter:var(--glass-blur);background:#060918ad;border:1px solid #ffffff14;border-radius:18px;place-items:center;padding:10px 12px;display:grid;position:relative;overflow:hidden}.gauge-card:before{content:"";border-radius:inherit;-webkit-mask-composite:xor;pointer-events:none;background:linear-gradient(135deg,#ffffff1a,#0000 40% 60%,#ffffff0a);padding:1px;position:absolute;inset:-1px;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0)}.gauge-card:after{content:"";background:var(--glow-color,transparent);opacity:.07;filter:blur(36px);pointer-events:none;border-radius:50%;width:140px;height:140px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.gauge-card--overdue{animation:2s ease-in-out infinite overdue-pulse}.gauge{width:min(180px,50vw);height:auto}.gauge__track{fill:none;stroke:#ffffff0f;stroke-width:14px}.gauge__progress{fill:none;stroke-width:14px;stroke-linecap:round;transition:stroke-dashoffset .9s cubic-bezier(.4,0,.2,1),stroke .4s}.gauge__tip{transition:cx .9s cubic-bezier(.4,0,.2,1),cy .9s cubic-bezier(.4,0,.2,1)}.gauge__value{fill:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,system-ui,sans-serif;font-size:52px;font-weight:700}.gauge__unit{fill:var(--text-secondary);font-size:15px}.gauge__caption{fill:var(--text-secondary);opacity:.7;font-size:13px}.gauge__percent{fill:var(--text-secondary);opacity:.5;font-size:13px}.gauge__alert{color:var(--text-secondary);text-align:center;margin-top:8px;padding:0 8px;font-size:.82rem}.gauge__alert--red{color:var(--accent-red);font-weight:600}.gauge__alert--orange{color:var(--accent-orange);font-weight:600}.gauge__alert--info{color:var(--accent-yellow)}.stats-screen__toolbar{--stats-toolbar-gap:6px;gap:var(--stats-toolbar-gap);margin-bottom:0;display:grid}.period-switcher{gap:var(--stats-toolbar-gap);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.period-switcher__item{border:1px solid var(--glass-border);color:var(--text-secondary);background:#ffffff0a;border-radius:12px;min-height:44px;padding:8px 6px;font-size:.88rem;font-weight:600;transition:background .2s,color .2s}.period-switcher__item.is-active{color:var(--text-primary);background:linear-gradient(120deg,#7c5cbfcc,#42be8480);border-color:#0000;box-shadow:0 2px 12px #7c5cbf38}.history-range-actions{gap:var(--stats-toolbar-gap);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.history-range-button{border:1px solid var(--glass-border);width:100%;min-width:0;min-height:44px;color:var(--text-primary);background:#ffffff0d;border-radius:14px;padding:8px;font-size:.88rem;font-weight:700;line-height:1.15;display:block;position:relative;overflow:hidden;box-shadow:0 4px 12px #070c211f}.history-range-button.is-active{background:#7c5cbf29;border-color:#7c5cbf47}.history-range-button__icon{pointer-events:none;justify-content:center;align-items:center;width:24px;height:24px;display:flex;position:absolute;top:50%;left:9px;transform:translateY(-50%)}.history-range-button:first-child .history-range-button__label{left:calc(50% + 5px)}.history-range-button:nth-child(2) .history-range-button__icon{left:10px}.history-range-button__icon svg{width:100%;height:100%}.history-range-button__label{text-align:center;text-overflow:ellipsis;white-space:nowrap;width:max-content;min-width:0;max-width:calc(100% - 34px);display:block;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.history-selected-period{align-items:center;gap:var(--stats-toolbar-gap);min-height:38px;color:var(--text-primary);background:#ffffff0b;border:1px solid #ffffff1c;border-radius:13px;grid-template-columns:minmax(0,1fr) 28px;padding:5px 6px 5px 12px;display:grid;box-shadow:0 4px 12px #070c2114}.history-selected-period__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.82rem;font-weight:650;line-height:1.2;overflow:hidden}.history-selected-period__reset{width:28px;height:28px;color:var(--text-secondary);background:#ffffff0f;border:1px solid #ffffff1f;border-radius:10px;place-items:center;font-size:.72rem;font-weight:800;line-height:1;display:grid}.stats-highlight{grid-template-columns:repeat(auto-fit,minmax(116px,1fr));gap:8px;margin-bottom:14px;display:grid}.stats-highlight article{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:14px;gap:6px;padding:10px;display:grid}.stats-highlight span{color:var(--text-secondary);font-size:.74rem}.stats-highlight--compact{grid-template-columns:1fr 1fr}.stats-highlight-bars{gap:8px;margin-bottom:14px;display:grid}.stat-card-bar{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:12px;gap:4px;padding:10px;display:grid}.stat-card-bar__label{color:var(--text-secondary);font-size:.74rem}.stat-card-bar__value-row{align-items:baseline;gap:6px;display:flex}.stat-card-bar__norm{color:var(--text-secondary);font-size:.78rem}.stat-bar-container{background:#ffffff14;border-radius:3px;height:6px;margin-top:4px;position:relative;overflow:hidden}.stat-bar-norm{background:#ffffff0f;border-left:1px solid #ffffff26;border-right:1px solid #ffffff26;height:100%;position:absolute;top:0}.stat-bar-fill{border-radius:3px;height:100%;transition:width .5s}.today-sleeps{gap:2px;margin:8px 0 0;padding:0;list-style:none;display:grid}.today-sleeps li{background:#ffffff08;border-radius:6px;align-items:center;gap:8px;padding:6px 10px;font-size:.82rem;display:flex}.today-sleeps__icon{flex-shrink:0;font-size:.72rem}.today-sleeps__date{color:var(--text-secondary);flex-shrink:0;min-width:40px;font-size:.72rem}.today-sleeps__time{color:var(--text-secondary);flex:1}.today-sleeps__dur{color:var(--text-primary);flex-shrink:0;font-weight:600}.sleep-journal{--sleep-history-side-padding:14px;--sleep-history-icon-column:18px;--sleep-history-icon-gap:8px;--sleep-history-value-column:78px;--sleep-history-text-indent:calc(var(--sleep-history-icon-column) + var(--sleep-history-icon-gap));gap:5px;display:grid}.sleep-journal__week-separator{background:linear-gradient(90deg,#0000,#ffffff2e,#0000);height:1px;margin:8px 6px 4px}.sleep-day-group{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:12px;overflow:hidden}.sleep-day-group__trigger{cursor:pointer;text-align:left;width:100%;color:inherit;background:linear-gradient(90deg,#8b5cf61c,#60a5fa0b,#0000);border:none;border-bottom:1px solid #ffffff0f;padding:0}.sleep-day-group__trigger:focus{outline:none}.sleep-day-group__trigger:focus-visible{box-shadow:inset 0 0 0 1px #ffffff24}.sleep-day-group__header{padding:11px var(--sleep-history-side-padding) 10px;color:var(--text-primary);grid-template-columns:minmax(0,1fr);align-items:center;font-size:.95rem;font-weight:700;display:grid}.sleep-day-group__title{grid-template-columns:var(--sleep-history-icon-column) minmax(0, 1fr);align-items:center;column-gap:var(--sleep-history-icon-gap);gap:var(--sleep-history-icon-gap);width:100%;min-width:0;display:grid}.sleep-day-group__date{align-items:baseline;gap:6px;min-width:0;display:inline-flex}.sleep-day-group__date-main,.sleep-day-group__date-weekday{white-space:nowrap}.sleep-day-group__date-weekday{color:var(--text-secondary);font-size:.76rem;font-weight:500}.sleep-day-group__toggle{width:var(--sleep-history-icon-column);height:var(--sleep-history-icon-column);color:#ffffff94;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.sleep-day-group__toggle:before{content:"";border-bottom:2px solid;border-right:2px solid;border-radius:1px;width:7px;height:7px;transform:rotate(-45deg)}.sleep-day-group__toggle.is-open:before{transform:rotate(45deg)}.sleep-day-group__list{padding:1px var(--sleep-history-side-padding) 8px;gap:0;margin:0;list-style:none;display:grid}.sleep-item{background:0 0;border-radius:0;padding:0;position:relative}.sleep-item+.sleep-item:before{content:"";top:0;right:0;left:var(--sleep-history-text-indent);background:linear-gradient(90deg,#fff3,#ffffff12);height:1px;position:absolute}.sleep-item--awake-gap:before,.sleep-item--feed:before,.sleep-item--awake-gap+.sleep-item:before,.sleep-item--feed+.sleep-item:before,.sleep-item--awake-gap+.sleep-item--feed:before,.sleep-item--feed+.sleep-item--awake-gap:before{display:none}.sleep-item--awake-gap{background:0 0;padding:0}.sleep-item__row{grid-template-columns:var(--sleep-history-icon-column) minmax(0, 1fr) var(--sleep-history-value-column);column-gap:var(--sleep-history-icon-gap);align-items:center;padding:7px 10px 7px 0;font-size:.82rem;display:grid}.sleep-item__main{flex-wrap:wrap;align-items:baseline;gap:2px 7px;min-width:0;display:flex}.sleep-item__icon{width:var(--sleep-history-icon-column);flex-shrink:0;justify-content:center;align-items:center;font-size:.72rem;display:inline-flex}.sleep-item__session-start{color:var(--text-secondary);opacity:.82;flex-shrink:0;font-size:.75rem}.sleep-item__time{color:var(--text-secondary);white-space:nowrap;min-width:0}.sleep-item__label{color:var(--text-primary);min-width:0}.sleep-item__session-dur{color:var(--text-secondary);white-space:nowrap;min-width:0;font-size:.75rem}.sleep-item__dur{color:var(--text-primary);min-width:var(--sleep-history-value-column);text-align:right;white-space:nowrap;justify-self:stretch;font-weight:600}.sleep-item--feed .sleep-item__icon{opacity:.8}.sleep-item--feed .sleep-item__row{box-sizing:border-box;grid-template-columns:auto minmax(0, 1fr) var(--sleep-history-value-column);background:0 0;border-left:2px solid #84bfff57;border-radius:0;width:calc(100% - 7px);margin-left:7px;padding:7px 10px 7px 18px;font-size:.86rem}.sleep-item--awake-gap .sleep-item__awake-gap{box-sizing:border-box;background:0 0;border-left:2px solid #84bfff57;border-radius:0;width:calc(100% - 7px);margin-left:7px;padding:7px 10px 7px 18px}.sleep-item--feed .sleep-item__icon{display:none}.sleep-item__feed-type{color:var(--text-secondary);min-width:var(--sleep-history-value-column);text-align:right;white-space:nowrap;justify-self:stretch;font-size:.86rem}.sleep-item__note{padding:0 0 6px var(--sleep-history-text-indent);color:var(--text-secondary);font-size:.76rem;font-style:italic;line-height:1.4}.sleep-item__awake-gap{grid-template-columns:minmax(0, 1fr) var(--sleep-history-value-column);min-height:calc(1em + 14px);padding:7px 0 7px var(--sleep-history-text-indent);text-align:left;color:var(--text-secondary);white-space:normal;align-items:center;column-gap:8px;font-size:.86rem;line-height:1.2;display:grid}.sleep-item__awake-gap-label{min-width:0}.sleep-item__awake-gap-duration{color:var(--text-primary);min-width:var(--sleep-history-value-column);text-align:right;white-space:nowrap;justify-self:stretch;margin-left:0;font-weight:600}.sleep-item--night .sleep-item__row{grid-template-columns:var(--sleep-history-icon-column) minmax(0, 1fr)}.sleep-day-group__summary{padding:0 var(--sleep-history-side-padding) 10px;color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:.74rem;display:flex}.sleep-day-group__summary-item{align-items:center;gap:var(--sleep-history-icon-gap);line-height:1.1;display:inline-flex}.sleep-day-group__summary-icon{width:var(--sleep-history-icon-column);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.sleep-day-group__summary-text{white-space:nowrap}.sleep-day-group__summary-total{color:var(--text-primary);font-weight:600}.sleep-period-avg{background:#ffffff0d;border-radius:10px;margin-bottom:2px;padding:8px 12px}.sleep-period-avg__label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);margin-bottom:4px;font-size:.7rem;display:block}.sleep-period-avg__row{color:var(--text-secondary);flex-wrap:nowrap;gap:0 10px;font-size:.8rem;display:flex}.sleep-period-avg__metric{align-items:center;gap:var(--sleep-history-icon-gap);white-space:nowrap;display:inline-flex}.sleep-period-avg__metric-icon{width:var(--sleep-history-icon-column);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.sleep-period-avg__metric-text{white-space:nowrap}.sleep-period-avg__total{color:var(--text-primary);font-weight:600}.sleep-chart-wrap{background:#ffffff08;border-radius:10px;gap:6px;padding:10px 12px 6px;display:grid}.sleep-chart-legend{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:10px;font-size:.72rem;display:flex}.legend-dot{vertical-align:middle;border-radius:2px;width:8px;height:8px;margin-right:3px;font-style:normal;display:inline-block}.legend-dot--night{background:linear-gradient(#a78bfaf2,#6d28d9bf)}.legend-dot--nap{background:linear-gradient(#6ee7b7e6,#10b981a6)}.legend-norm{color:#fbbf24cc}.sleep-chart-canvas-wrap{height:160px;position:relative}.sleep-chart-canvas-wrap canvas{width:100%!important;height:100%!important}.chart{grid-template-columns:repeat(auto-fit,minmax(20px,1fr));align-items:end;gap:8px;height:170px;display:grid}.chart--compact{grid-template-columns:repeat(auto-fit,minmax(42px,1fr))}.chart figure{place-items:end center;gap:6px;margin:0;display:grid}.chart__bar{background:linear-gradient(#7c5cbff2,#3f2987f2);border-radius:8px 8px 4px 4px;width:100%;min-height:10%}.chart figcaption{color:var(--text-secondary);font-size:.7rem}.profile-toolbar{gap:10px;margin:0;display:grid}.profile-settings-button{width:100%;color:var(--text-primary);text-align:left;background:radial-gradient(circle at 0 0,#60a5fa38,#0000 48%),#ffffff0d;border:1px solid #ffffff14;border-radius:18px;gap:8px;padding:14px;display:grid;box-shadow:0 16px 36px #0f172a38}.profile-settings-button.is-complete{background:radial-gradient(circle at 0 0,#4ade801f,#0000 52%),#ffffff0d;border-color:#4ade802e;gap:8px}.profile-settings-button{transition:transform .34s var(--spring), box-shadow .34s ease, border-color .28s ease, background .34s ease}.profile-settings-button__copy{min-width:0}.profile-settings-button__name{letter-spacing:-.03em;white-space:nowrap;text-overflow:ellipsis;font-size:clamp(.98rem,3.9vw,1.18rem);line-height:1.1;display:block;overflow:hidden}.profile-settings-button__age{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:.84rem;font-weight:700;line-height:1.15;display:block;overflow:hidden}.profile-settings-button__header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.profile-settings-button__progress-note{color:var(--text-secondary);white-space:nowrap;align-items:baseline;gap:4px;display:inline-flex}.profile-settings-button__progress-note strong{color:var(--text-primary);font-size:.86rem;font-weight:800;line-height:1.05}.profile-settings-button__progress-note span{font-size:.72rem;line-height:1.1}.profile-settings-button__cta{color:#fff;text-align:center;min-height:38px;transition:transform .24s var(--spring), box-shadow .24s ease, border-color .2s ease, background .24s ease;background:linear-gradient(135deg,#2563eb,#0ea5e9);border:0;border-radius:999px;justify-content:center;justify-self:end;align-items:center;gap:8px;padding:9px 14px;font-size:.84rem;font-weight:800;display:inline-flex;box-shadow:0 10px 24px #2563eb47}.profile-settings-button__cta-badge{color:#fff;background:#ef4444eb;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.68rem;font-weight:800;line-height:1;display:inline-flex}.profile-routine-button,.profile-notification-button,.plan-action-button{color:#fff;text-align:center;width:100%;min-height:52px;transition:transform .24s var(--spring), border-color .22s ease, background .24s ease, box-shadow .24s ease;background:linear-gradient(135deg,#2563eb,#0ea5e9);border:0;border-radius:16px;font-size:.92rem;font-weight:800;box-shadow:0 14px 30px #2563eb4d}.plan-action-button{padding:12px var(--surface-padding-inline);justify-content:center;align-items:center;gap:10px;display:inline-flex}.routine-auto-toggle{width:fit-content;min-height:44px;color:var(--text-primary);cursor:pointer;touch-action:manipulation;align-items:center;gap:10px;font-size:.92rem;font-weight:800;display:inline-flex}.routine-auto-toggle__input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.routine-auto-toggle__box{color:#0000;background:#ffffff14;border:1px solid #ffffff38;border-radius:9px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;font-size:1.05rem;font-weight:900;line-height:1;display:inline-flex;box-shadow:inset 0 1px #ffffff1f}.routine-auto-toggle__input:checked+.routine-auto-toggle__box,.routine-auto-toggle--active .routine-auto-toggle__box{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border-color:#60a5fadb;box-shadow:0 10px 22px #2563eb3d,inset 0 1px #ffffff2e}.routine-auto-toggle__input:focus-visible+.routine-auto-toggle__box{outline-offset:2px;outline:2px solid #38bdf8bf}.routine-auto-toggle__input:disabled~.routine-auto-toggle__box,.routine-auto-toggle__input:disabled~.routine-auto-toggle__label{opacity:.55}.routine-duration-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.routine-duration-select-field{gap:6px;display:grid}.routine-duration-select-field>span{color:var(--text-secondary);font-size:.78rem;font-weight:800}.routine-duration-select{min-height:48px;font-size:.96rem;font-weight:800}:root[data-theme=light] .routine-auto-toggle__box{background:#fffffff5;border-color:#0f172a3d;box-shadow:0 6px 16px #0f172a14,inset 0 1px #fffffff2}:root[data-theme=light] .routine-auto-toggle__input:checked+.routine-auto-toggle__box{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border-color:#2563ebb3;box-shadow:0 10px 22px #2563eb38,inset 0 1px #ffffff3d}:root[data-theme=light] .routine-auto-toggle--active .routine-auto-toggle__box{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border-color:#2563ebb3;box-shadow:0 10px 22px #2563eb2e,inset 0 1px #fff3}.notification-settings-section{gap:12px}.notification-settings-toggle{text-align:left;width:100%;color:var(--text-primary);box-shadow:none;background:0 0;border:0;border-radius:0;justify-content:flex-start;padding:0}.notification-settings-toggle:hover{background:0 0}.notification-settings-toggle:disabled{cursor:default;opacity:.65}.notification-settings-time-row{gap:8px;display:grid}.notification-settings-time-field{max-width:190px}.notification-settings-quiet{border:1px solid var(--border-color);border-radius:var(--radius-lg);background:#0f172a2e;gap:14px;padding:18px;display:grid}.notification-settings-quiet__title{color:var(--text-primary);margin:0 0 6px;font-size:1rem;line-height:1.2}.notification-settings-quiet__help{color:var(--text-secondary);margin:0;font-size:.9rem;line-height:1.45}.notification-settings-quiet__fields{grid-template-columns:repeat(2,minmax(0,190px));gap:12px;display:grid}:root[data-theme=light] .notification-settings-quiet{background:#ffffffad}@media (width<=520px){.notification-settings-quiet__fields{grid-template-columns:1fr}}.profile-completeness__bar{background:#ffffff14;border-radius:999px;height:8px;overflow:hidden}.profile-completeness__bar--attached{margin-top:-2px}.profile-completeness__fill{background:linear-gradient(90deg,#60a5fa,#34d399);border-radius:999px;height:100%;transition:width .25s;display:block}.profile-missing{gap:4px;display:grid}.profile-missing__title{letter-spacing:.04em;text-transform:uppercase;color:var(--text-secondary);font-size:.74rem;font-weight:700}.profile-missing__list{flex-wrap:wrap;gap:6px;display:flex}.profile-missing__item{width:fit-content;max-width:100%;color:var(--text-primary);background:#ffffff0d;border:1px solid #ffffff14;border-radius:999px;align-items:center;gap:10px;padding:7px 12px;font-size:.82rem;display:inline-flex}.profile-missing__item-dot{background:#ef4444;border-radius:999px;flex-shrink:0;width:7px;height:7px;box-shadow:0 0 0 4px #ef44441f}.child-screen{gap:10px;display:grid}.billing-card{-webkit-backdrop-filter:var(--glass-blur-sm);background:radial-gradient(circle at 0 0,#60a5fa24,#0000 42%),radial-gradient(circle at 100% 100%,#a78bfa24,#0000 38%),#ffffff0d;border:1px solid #ffffff1a;border-radius:18px;gap:12px;padding:14px;display:grid;box-shadow:0 14px 34px #02061729,inset 0 1px #ffffff14}.billing-card__header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.billing-card__header h3{margin:0;font-size:1rem}.billing-card__header p{color:var(--text-secondary);margin:4px 0 0;font-size:.8rem;line-height:1.45}.billing-card__badge{min-height:30px;color:var(--text-primary);white-space:nowrap;background:#a78bfa1f;border:1px solid #a78bfa38;border-radius:999px;justify-content:center;align-items:center;padding:5px 11px;font-size:.76rem;font-weight:700;display:inline-flex}.billing-card__price{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.billing-card__price strong{font-size:1rem}.billing-card__price span{color:var(--text-secondary);font-size:.78rem}.billing-card__progress{gap:8px;display:grid}.billing-card__progress-copy{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.billing-card__progress-copy span{color:var(--text-secondary);font-size:.78rem}.billing-card__progress-copy strong{font-size:.8rem}.billing-card__progress-bar{background:#ffffff14;border-radius:999px;width:100%;height:8px;position:relative;overflow:hidden}.billing-card__progress-fill{border-radius:inherit;background:linear-gradient(135deg,#60a5fa,#8b5cf6);height:100%;display:block;box-shadow:0 0 18px #60a5fa47}.billing-card__note{color:var(--text-secondary);margin:0;font-size:.78rem;line-height:1.45}.billing-card__error{color:#fecaca;background:#7f1d1d38;border:1px solid #f871713d;border-radius:12px;margin:0;padding:10px 12px;font-size:.8rem;line-height:1.45}.billing-card__actions{flex-wrap:wrap;gap:8px;display:flex}.billing-card__actions>.primary-button,.billing-card__actions>.secondary-button{flex:180px}.billing-card__actions>.primary-button{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border:0;box-shadow:0 14px 30px #2563eb4d}.billing-modal__sheet{width:min(100%,440px);max-height:min(640px, calc(100dvh - max(14px, env(safe-area-inset-top,0px)) - max(14px, env(safe-area-inset-bottom,0px)) - 28px));margin:max(14px, env(safe-area-inset-top,0px)) auto max(14px, env(safe-area-inset-bottom,0px));border:1px solid var(--glass-border);color:var(--text-primary);animation:modalSheetIn .42s var(--spring) both;background:radial-gradient(circle at 0 0,#60a5fa29,#0000 38%),radial-gradient(circle at 100% 0,#a78bfa29,#0000 28%),#0c1121f5;border-radius:28px;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 28px 64px #02061757,inset 0 1px #ffffff24}.billing-modal__header{-webkit-backdrop-filter:blur(22px)saturate(160%);background:linear-gradient(#ffffff1f,#ffffff05);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 14px;display:flex}.billing-modal__title{color:var(--text-primary);margin:0;font-size:clamp(1.25rem,4.4vw,1.45rem);font-weight:900;line-height:1.22}.billing-modal__body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:14px 20px calc(20px + env(safe-area-inset-bottom,0px));flex:auto;gap:14px;display:grid;overflow-y:auto}.billing-modal__copy{color:var(--text-secondary);margin:0;font-size:clamp(1rem,3.5vw,1.08rem);line-height:1.5}.billing-modal__copy--compact{font-size:.82rem}.billing-modal__period{border:1px solid var(--glass-border);background:#ffffff0f;border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;display:grid}.billing-modal__period button{min-height:56px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:14px;padding:8px 10px;font-size:clamp(.98rem,3.3vw,1.08rem);font-weight:900;line-height:1.15;position:relative;overflow:visible}.billing-modal__period button.is-active{color:var(--text-primary);background:#ffffff1f;box-shadow:inset 0 0 0 1px #ffffff14}.billing-modal__period button:focus-visible{outline-offset:2px;outline:2px solid #60a5fa8c}.billing-modal__period small{color:#4ade80;margin-top:4px;font-size:clamp(.72rem,2.5vw,.82rem);font-weight:900;line-height:1.1;display:block}.billing-modal__bonus-word{text-underline-offset:.14em;text-decoration:underline;text-decoration-thickness:.12em}.billing-modal__gift-burst{pointer-events:none;z-index:2;width:1px;height:1px;position:absolute;top:50%;left:50%}.billing-modal__gift-burst span{opacity:0;filter:drop-shadow(0 10px 20px #0f172a38);font-size:clamp(1.8rem,5vw,2.6rem);animation:2.2s ease-out forwards billingGiftBurst;position:absolute;top:0;left:0;transform:translate(-50%,-50%)scale(.4)}.billing-modal__gift-burst span:first-child{--gift-x:-58px;--gift-y:-40px;--gift-rotate:-22deg}.billing-modal__gift-burst span:nth-child(2){--gift-x:-28px;--gift-y:-58px;--gift-rotate:16deg;animation-delay:.18s}.billing-modal__gift-burst span:nth-child(3){--gift-x:6px;--gift-y:-64px;--gift-rotate:-8deg;animation-delay:.28s}.billing-modal__gift-burst span:nth-child(4){--gift-x:42px;--gift-y:-50px;--gift-rotate:20deg;animation-delay:.14s}.billing-modal__gift-burst span:nth-child(5){--gift-x:64px;--gift-y:-24px;--gift-rotate:-14deg;animation-delay:.34s}.billing-modal__meta{background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;gap:8px;padding:12px 14px;display:grid}.billing-modal__meta p{color:var(--text-secondary);margin:0;font-size:.8rem;line-height:1.45}.billing-modal__actions{gap:10px;display:grid}.billing-modal__actions>.primary-button,.billing-modal__actions>.secondary-button{border-radius:16px;min-height:58px;font-size:clamp(1rem,3.5vw,1.08rem);font-weight:900}.profile-overview{gap:10px;margin:0;display:grid}.profile-age-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.profile-age-grid--single{grid-template-columns:minmax(0,1fr)}.profile-age-card{background:#ffffff0a;border:1px solid #ffffff12;border-radius:12px;gap:4px;padding:10px;display:grid}.profile-age-card span{color:var(--text-secondary);font-size:.74rem}.profile-age-card strong{font-size:.96rem}.profile-corrected-age{color:#bfdbfe;background:#60a5fa1f;border:1px solid #60a5fa33;border-radius:12px;margin:0;padding:9px 10px;font-size:.78rem;line-height:1.45}.profile-form-grid{gap:12px;display:grid}.profile-form-section{background:#ffffff0a;border:1px solid #ffffff12;border-radius:16px;gap:10px;padding:14px;display:grid}.profile-form-section h4{text-transform:uppercase;letter-spacing:.06em;color:var(--text-primary);margin:0;font-size:.88rem;font-weight:700}.profile-form-section__title{align-items:center;gap:8px;margin:0;display:flex}.profile-form-section__dot{background:#ef4444;border-radius:999px;flex-shrink:0;width:8px;height:8px;box-shadow:0 0 0 4px #ef44441f,0 2px 8px #ef444452}.profile-field{gap:8px;display:grid}.profile-field-grid{gap:12px;display:grid}.profile-field-grid--pair{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.profile-field>span{font-size:.82rem;font-weight:600}.profile-field small{color:var(--text-secondary);font-size:.72rem;line-height:1.4}.profile-checkbox{width:fit-content;min-height:44px;color:var(--text-primary);cursor:pointer;touch-action:manipulation;align-items:center;gap:10px;font-size:.92rem;font-weight:800;display:inline-flex}.profile-text-input,.profile-textarea{width:100%;min-width:0;max-width:100%;color:var(--text-primary);font:inherit;background:#080c2099;border:1px solid #ffffff1a;border-radius:12px;padding:10px 12px}.profile-text-input[type=date]{text-overflow:ellipsis;min-height:44px;display:block;overflow:hidden}.profile-text-input[type=date]::-webkit-datetime-edit{padding:0}.profile-text-input[type=date]::-webkit-date-and-time-value{padding:0}.profile-text-input:disabled{opacity:.55}.profile-textarea{resize:vertical;min-height:84px}.profile-pill-group{flex-wrap:wrap;gap:8px;display:flex}@media (width<=640px){.profile-field-grid--pair{grid-template-columns:1fr}}.profile-pill{color:var(--text-primary);background:#ffffff0a;border:1px solid #ffffff1a;border-radius:999px;padding:9px 14px;font-size:.84rem;line-height:1.25;transition:background .2s,border-color .2s,transform .2s}.profile-pill.is-selected{background:#60a5fa29;border-color:#60a5fa73;transform:translateY(-1px)}.profile-modal__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.profile-close-button,.profile-save-button{border-radius:14px;width:100%;padding:11px 16px;font-weight:700}.profile-close-button{color:var(--text-primary);-webkit-backdrop-filter:var(--glass-blur-sm);background:#ffffff0d;border:1px solid #ffffff1f}.profile-save-button{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border:0;border-radius:14px;box-shadow:0 10px 24px #2563eb47}.profile-close-button:disabled,.profile-save-button:disabled{opacity:.65;cursor:default}.profile-save-toast{-webkit-backdrop-filter:blur(18px);min-height:40px;color:var(--text-secondary);background:#0a0e1cc7;border:1px solid #ffffff14;border-radius:14px;align-items:center;padding:10px 14px;font-size:.8rem;display:inline-flex;box-shadow:0 12px 28px #0000003d}.profile-save-toast.is-saving{color:#bfdbfe}.profile-save-toast.is-success{color:var(--accent-green)}.profile-save-toast.is-error{color:#fca5a5}.profile-modal{z-index:320;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#040814c7;animation:.22s both modalFadeIn;position:fixed;inset:0}.profile-modal__sheet{padding:env(safe-area-inset-top,0px) 0 0;animation:modalSheetIn .44s var(--spring) both;background:radial-gradient(circle at 0 0,#60a5fa24,#0000 44%),linear-gradient(#0c1121fa,#080c18fa);flex-direction:column;display:flex;position:absolute;inset:0;overflow:hidden}.profile-modal__header{-webkit-backdrop-filter:blur(18px);background:linear-gradient(#080c188f,#080c1824);justify-content:space-between;align-items:center;gap:12px;padding:12px 12px 10px;display:flex}.profile-modal__title{white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:1rem;line-height:1.2;overflow:hidden}.profile-modal__close{width:40px;height:40px;color:var(--text-primary);transition:transform .22s var(--spring), background .22s ease, border-color .2s ease, box-shadow .22s ease;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:12px;font-size:1rem}.profile-modal__body{flex:auto;min-height:0;padding:0 12px 12px;overflow-y:auto}.profile-modal__footer{padding:8px 12px calc(10px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(18px);background:linear-gradient(#0a0e1c00,#0a0e1c75 42%,#0a0e1cad);border-top:1px solid #ffffff0f;gap:8px;margin-top:0;display:grid}.profile-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0;display:grid}.profile-grid div{background:#ffffff0a;border:1px solid #ffffff12;border-radius:14px;padding:12px}.profile-grid__wide{grid-column:auto}.profile-grid dt{color:var(--text-secondary);margin-bottom:4px;font-size:.75rem}.profile-grid dd{margin:0;font-weight:600}.tracking-nudge{background:#a78bfa14;border:1px solid #a78bfa33;border-radius:18px;margin-bottom:12px;padding:12px 14px}.tracking-nudge__header{align-items:center;gap:7px;margin-bottom:8px;display:flex}.tracking-nudge__icon{flex-shrink:0;font-size:1rem}.tracking-nudge__title{color:var(--accent-purple);flex:1;font-size:.82rem;font-weight:700}.tracking-nudge__days{color:var(--text-secondary);font-size:.74rem;font-weight:600}.tracking-nudge__bar-track{background:#ffffff14;border-radius:4px;height:4px;margin-bottom:8px;overflow:hidden}.tracking-nudge__bar-fill{background:linear-gradient(90deg, var(--accent-purple), #c4b5fd);height:100%;transition:width .5s var(--spring);border-radius:4px}.tracking-nudge__text{color:var(--text-secondary);margin:0;font-size:.74rem;line-height:1.45}.regression-alert{border:1px solid;border-radius:16px;align-items:flex-start;gap:10px;margin:0;padding:12px 14px;display:flex}.regression-alert--active{background:#fb923c1a;border-color:#fb923c47}.regression-alert--approaching{background:#facc1514;border-color:#facc1538}.regression-alert__icon{flex-shrink:0;font-size:1.1rem;line-height:1.4}.regression-alert__body{flex:1}.regression-alert__body strong{margin-bottom:3px;font-size:.84rem;font-weight:700;display:block}.regression-alert--active .regression-alert__body strong{color:var(--accent-orange)}.regression-alert--approaching .regression-alert__body strong{color:var(--accent-yellow)}.regression-alert__body p{color:var(--text-secondary);margin:0;font-size:.76rem;line-height:1.45}.sleep-profile-widget{background:var(--glass-bg);border:1px solid var(--glass-border);-webkit-backdrop-filter:var(--glass-blur-sm);border-radius:20px;margin:0;padding:14px 16px}.sleep-profile-title{color:var(--text-primary);margin:0 0 4px;font-size:.87rem;font-weight:700}.sleep-profile-subtitle{color:var(--text-secondary);margin:0 0 12px;font-size:.74rem}.assoc-list{flex-direction:column;gap:9px;margin:0;padding:0;list-style:none;display:flex}.assoc-item{grid-template-columns:1.4rem 1fr 2.5fr 2rem;align-items:center;gap:7px;display:grid}.assoc-icon{text-align:center;font-size:1rem}.assoc-label{color:var(--text-primary);white-space:nowrap;font-size:.8rem}.assoc-bar-track{background:#ffffff14;border-radius:4px;height:5px;overflow:hidden}.assoc-bar-fill{background:linear-gradient(90deg,#60a5fa,#818cf8);border-radius:4px;height:100%;transition:width .5s cubic-bezier(.34,1.56,.64,1)}.assoc-pct{color:var(--text-secondary);text-align:right;font-size:.76rem;font-weight:600}.profile-meta-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.profile-meta-item{color:var(--text-secondary);background:#ffffff0d;border:1px solid #ffffff12;border-radius:8px;padding:4px 9px;font-size:.74rem}.profile-meta-item b{color:var(--text-primary)}.sleep-profile-transition{border-left:3px solid var(--accent-purple);background:#7c5cbf1a;border-radius:12px;gap:5px;margin-top:12px;padding:10px 12px;display:grid}.sleep-profile-transition strong{color:var(--text-primary);font-size:.82rem}.sleep-profile-transition p{color:var(--text-secondary);margin:0;font-size:.8rem;line-height:1.35}.profile-trend-badge{border-radius:20px;margin-top:10px;padding:4px 10px;font-size:.74rem;font-weight:600;display:inline-block}.profile-trend-badge--improving{color:var(--accent-green);background:#4ade8021}.profile-trend-badge--declining{color:var(--accent-orange);background:#fb923c21}.profile-regression-note{border-left:3px solid var(--accent-yellow);color:var(--accent-yellow);background:#facc1514;border-radius:0 8px 8px 0;margin-top:10px;padding:8px 10px;font-size:.74rem}.referral-teaser{background:var(--glass-bg);border:1px solid var(--glass-border);-webkit-backdrop-filter:var(--glass-blur-sm);border-radius:20px;gap:8px;margin:0;padding:14px 16px;display:grid}.referral-teaser__button{width:100%;min-height:48px}.referral-teaser__copy{gap:6px;display:grid}.referral-teaser__title{margin:0;font-size:.92rem;font-weight:700}.referral-teaser p{text-align:left;color:var(--text-secondary);margin:0;font-size:.82rem;line-height:1.4}.referral-teaser__stats{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;display:grid}.referral-teaser__stats div{border:1px solid var(--glass-border);background:#ffffff0b;border-radius:16px;justify-items:center;gap:2px;padding:10px 8px;display:grid}.referral-teaser__stats strong{color:var(--text-primary);font-size:1.05rem;line-height:1}.referral-teaser__stats span{text-align:center;color:var(--text-secondary);font-size:.74rem;line-height:1.2}.referral-modal__sheet{max-width:520px}.referral-modal__body{gap:0}.referral-card{background:var(--glass-bg);border:1px solid var(--glass-border);-webkit-backdrop-filter:var(--glass-blur-sm);border-radius:22px;gap:14px;margin:0;padding:16px;display:grid}.referral-card--modal{-webkit-backdrop-filter:none;background:0 0;border:0;border-radius:0;padding:0}.referral-card__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.referral-card__copy{gap:6px;display:grid}.referral-card__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary);font-size:.72rem}.referral-card__title{margin:0;font-size:1rem;font-weight:700}.referral-card__subtitle,.referral-card__loading,.referral-share__copy p,.referral-locked p,.referral-locked li,.referral-rules p{color:var(--text-secondary);margin:0;font-size:.82rem;line-height:1.45}.referral-share,.referral-locked,.referral-rules{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.referral-share{gap:12px;display:grid}.referral-share__copy,.referral-locked,.referral-rules{gap:8px;display:grid}.referral-share__copy strong,.referral-locked strong,.referral-rules span{font-size:1rem}.referral-share__actions{gap:10px;display:grid}.referral-share__link{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;word-break:break-word;background:#ffffff0f;border:1px solid #ffffff14;border-radius:14px;padding:10px 12px;font-size:.76rem;line-height:1.35}.referral-link-button{width:100%;min-height:42px}.referral-locked ul{gap:6px;margin:0;padding:0 0 0 18px;display:grid}.referral-rules__link{color:#a5b4fcf0;width:fit-content;font-size:.84rem;font-weight:700;text-decoration:none}.referral-rules__link:hover{color:#bfdbfe;text-decoration:underline}.child-access-card{background:var(--glass-bg);border:1px solid var(--glass-border);-webkit-backdrop-filter:var(--glass-blur-sm);border-radius:22px;gap:14px;margin:0;padding:18px 16px;scroll-margin-top:92px;display:grid}.child-access-card--highlighted{animation:2.2s child-access-highlight}.child-access-card__header,.child-access-section__header,.child-access-list__item,.child-access-share__actions,.child-access-list__actions{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.child-access-card__copy{gap:6px;display:grid}.child-access-preference{background:#ffffff0a;border:1px solid #ffffff14;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.child-access-preference__copy{gap:4px;display:grid}.child-access-preference__copy strong{font-size:.88rem}.child-access-preference__copy p{color:var(--text-secondary);margin:0;font-size:.79rem;line-height:1.4}.child-access-card__title{margin:0;font-size:.92rem;font-weight:700}.child-access-card__subtitle,.child-access-card__hint,.child-access-list__copy span,.child-access-share__copy p,.child-access-share__copy small{color:var(--text-secondary);margin:0;font-size:.82rem;line-height:1.45}.child-access-card__slots{text-align:right;background:radial-gradient(circle at 0 0,#0ea5e92e,#0000 55%),#ffffff0d;border:1px solid #ffffff14;border-radius:18px;gap:3px;min-width:118px;padding:10px 12px;display:grid;box-shadow:inset 0 1px #ffffff14}.child-access-card__slots strong{font-size:1rem;line-height:1}.child-access-card__slots span{color:var(--text-secondary);font-size:.75rem}.child-access-share,.child-access-list__item{background:#ffffff0f;border:1px solid #ffffff14;border-radius:20px;padding:14px 16px;box-shadow:inset 0 1px #ffffff0f}.child-access-share{background:radial-gradient(circle at 0 0,#fbbf2429,#0000 48%),#ffffff0f;gap:12px;display:grid}.child-access-share__copy{gap:6px;display:grid}.child-access-share__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary);font-size:.72rem}.child-access-share__copy strong{font-size:1rem}.child-access-share__actions{flex-wrap:wrap}.child-access-section{gap:10px;display:grid}.child-access-section__header h4{text-transform:uppercase;letter-spacing:.06em;color:var(--text-secondary);margin:0;font-size:.8rem;font-weight:700}.child-access-section__header span{color:var(--text-secondary);font-size:.75rem}.child-access-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.child-access-list__item--pending{background:#0ea5e914}.child-access-list__item--member{align-items:center}.child-access-list__copy{gap:4px;min-width:0;display:grid}.child-access-list__copy strong{font-size:.88rem}.child-access-list__item--member .child-access-list__copy{gap:0}.child-access-list__item--member .child-access-list__copy strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.child-access-list__actions{flex-wrap:wrap;justify-content:flex-end}.child-access-list__confirm{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.child-access-button{min-height:42px}.child-access-toggle{min-height:40px;color:var(--text-primary);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:10px;padding:8px 10px;transition:transform .16s,border-color .16s,background .16s;display:inline-flex}.child-access-toggle.is-enabled{background:#4ade801f;border-color:#4ade8066}.child-access-toggle__state{min-width:28px;font-size:.78rem;font-weight:700}.child-access-toggle__track{background:#ffffff24;border-radius:999px;align-items:center;width:42px;height:24px;padding:2px;display:inline-flex;position:relative}.child-access-toggle.is-enabled .child-access-toggle__track{background:linear-gradient(135deg,#34d399,#22c55e)}.child-access-toggle__thumb{background:#fff;border-radius:999px;width:20px;height:20px;transition:transform .16s;transform:translate(0);box-shadow:0 8px 18px #0f172a47}.child-access-toggle.is-enabled .child-access-toggle__thumb{transform:translate(18px)}.child-access-button--compact{white-space:nowrap;border-radius:12px;flex:none;width:auto;min-height:38px;padding:9px 14px;font-size:.78rem}.child-access-button--wide{width:100%}.child-access-button--ghost{min-height:38px}.child-access-button--danger{color:#fda4af}.child-access-card__footer{gap:8px;display:grid}.child-access-card__error{color:#fecaca;background:#ef44441f;border:1px solid #ef44443d;border-radius:14px;margin:0;padding:10px 12px;font-size:.82rem}@keyframes child-access-highlight{0%{box-shadow:0 0 #0ea5e900,inset 0 0 #0ea5e900}20%{box-shadow:0 0 0 1px #0ea5e947,inset 0 0 0 1px #0ea5e938}to{box-shadow:0 0 #0ea5e900,inset 0 0 #0ea5e900}}.insights-section{background:radial-gradient(circle at 0 0,#60a5fa1f,#0000 46%),#ffffff0b;border:1px solid #ffffff14;border-radius:22px;gap:12px;margin-top:0;padding:18px;display:grid;overflow:hidden;box-shadow:0 18px 36px #00000029,inset 0 1px #ffffff0f}.insights-title{letter-spacing:.01em;color:var(--text-secondary);margin:0;font-size:.96rem;font-weight:600}.insights-empty{background:radial-gradient(circle at 0 0,#0ea5e924,#0000 48%),#ffffff0d;border:1px solid #ffffff14;border-radius:20px;justify-self:start;gap:8px;max-width:34ch;padding:15px 16px;display:grid;box-shadow:inset 0 1px #ffffff0f}.insights-empty__title,.insights-empty__text{margin:0}.insights-empty__title{color:var(--text-primary);font-size:.96rem;font-weight:700}.insights-empty__text{color:var(--text-secondary);font-size:.98rem;line-height:1.62}.insights-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.insights-item{background:#ffffff0f;border:1px solid #ffffff14;border-radius:18px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.insights-text{color:var(--text-primary);flex:1;font-size:1rem;line-height:1.58}.insights-delete{width:34px;height:34px;color:var(--text-primary);cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:1rem;line-height:1;transition:color .15s,background .15s,transform .2s,border-color .2s;display:inline-flex}.insights-delete:active{color:var(--accent-red);background:#ef44441f}.insights-item--pending{opacity:.5}.insights-confirm-modal{z-index:340;-webkit-backdrop-filter:blur(18px);background:#0408145c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.insights-confirm-modal__sheet{-webkit-backdrop-filter:blur(26px)saturate(160%);background:radial-gradient(circle at 0 0,#60a5fa29,#0000 44%),#080c20c7;border:1px solid #ffffff1f;border-radius:28px;gap:16px;width:min(100%,360px);padding:18px;display:grid;box-shadow:0 22px 54px #02061747,inset 0 1px #ffffff14}.insights-confirm-modal__header{justify-content:space-between;align-items:center;gap:12px;display:flex}.insights-confirm-modal__header h4{color:var(--text-primary);margin:0;font-size:1rem;line-height:1.35}.insights-confirm-modal__close{width:40px;height:40px;color:var(--text-primary);background:#ffffff12;border:1px solid #ffffff1f;border-radius:999px;justify-content:center;align-items:center;font-size:1.05rem;display:inline-flex}.insights-confirm-modal__actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.insights-confirm-modal__secondary,.insights-confirm-modal__danger{border-radius:16px;min-height:46px;padding:0 16px;font-weight:700}.insights-confirm-modal__secondary{color:var(--text-primary);background:#ffffff12;border:1px solid #ffffff1f}.insights-confirm-modal__danger{color:#fff;background:linear-gradient(135deg,#ef4444,#f97316);border:0}.plan-screen{gap:12px;display:grid}.plan-card{overflow:hidden}.plan-preview-banner{padding:12px var(--surface-padding-inline);background:#101f379e;border:1px solid #84bfff33;border-radius:14px;gap:4px;margin:0 0 12px;display:grid}.plan-preview-banner__title{color:var(--text-primary);margin:0;font-size:.96rem;font-weight:800;line-height:1.3}.plan-preview-banner__text{color:var(--text-secondary);margin:0;font-size:.9rem;line-height:1.45}.plan-preference-card,.plan-details-card{gap:10px;display:grid}.plan-refresh-card{background:linear-gradient(#84bfff1f,#84bfff0a),#0813296b;border:1px solid #84bfff38;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:12px;display:grid}.plan-refresh-card__animation{justify-content:center;align-items:center;width:46px;height:46px;display:flex;position:relative;overflow:visible}.plan-refresh-card__halo{border:1px solid #84bfff42;border-radius:999px;animation:1.8s ease-in-out infinite plan-refresh-pulse;position:absolute;inset:8px;box-shadow:0 0 26px #60a5fa2e,inset 0 0 18px #84bfff14}.plan-refresh-card__lottie{pointer-events:none;filter:drop-shadow(0 0 18px #60a5fa52);mix-blend-mode:screen;width:160px;height:160px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.plan-preference-card--info{background:radial-gradient(circle at 0 0,#74bfff29,#0000 48%),linear-gradient(#ffffff0f,#ffffff08),#08132961;border:1px solid #8eccff2e}.plan-preference-card--warning{background:radial-gradient(circle at 0 0,#fbbf242e,#0000 52%),linear-gradient(#fff4d614,#ffffff08),#2416046b;border:1px solid #fbbf2438}:root[data-theme=light] .plan-preference-card--info{background:radial-gradient(circle at 0 0,#60a5fa29,#0000 54%),linear-gradient(#fffffff0,#f3f8ffeb);border-color:#60a5fa33}:root[data-theme=light] .plan-preview-banner{background:#eff6ffeb;border-color:#60a5fa3d}:root[data-theme=light] .plan-refresh-card{background:linear-gradient(#eff6fffa,#e8f1ffe6),#fffffff0;border-color:#60a5fa3d}:root[data-theme=light] .plan-refresh-card__halo{border-color:#3b82f638;box-shadow:0 0 22px #3b82f624,inset 0 0 14px #3b82f614}:root[data-theme=light] .plan-refresh-card__lottie{mix-blend-mode:normal;filter:drop-shadow(0 0 14px #3b82f638)}:root[data-theme=light] .plan-preference-card--warning{background:radial-gradient(circle at 0 0,#fbbf2433,#0000 56%),linear-gradient(#fffcf3f5,#fff5dcf0);border-color:#f59e0b3d;box-shadow:0 10px 26px #f59e0b14,inset 0 1px #ffffffeb}:root[data-theme=light] .plan-preference-card__action{color:#1e3a8a;background:#60a5fa1f;border-color:#60a5fa3d}.plan-preference-card__text{color:var(--text-secondary);margin:0;font-size:.94rem;line-height:1.55}.plan-refresh-card__text{color:var(--text-primary);margin:0;font-size:.94rem;line-height:1.5}.plan-preference-card--warning .plan-preference-card__text{color:var(--text-primary)}.plan-preference-card__action{color:#eef8ff;background:#84bfff1a;border:1px solid #84bfff3d;border-radius:999px;justify-content:center;align-items:center;width:fit-content;margin-top:2px;padding:8px 12px;font-size:.86rem;font-weight:700;line-height:1.2;text-decoration:none;display:inline-flex}.plan-card__summary{justify-content:space-between;align-items:flex-start;gap:var(--surface-gap);padding:var(--surface-padding-block) var(--surface-padding-inline);background:radial-gradient(circle at 0 0,#66a3ff2e,#0000 50%),linear-gradient(135deg,#ffffff14,#ffffff08);border:1px solid #ffffff17;border-radius:16px;margin-bottom:14px;display:flex}.plan-card__summary-copy{min-width:0}.plan-card__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:#ffffff94;margin:0 0 4px;font-size:.82rem}.plan-card__headline{color:var(--text-primary);margin:0;font-size:.96rem;line-height:1.3}.plan-card__pills{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:6px;display:flex}.plan-card__pill{color:var(--text-secondary);white-space:nowrap;background:#ffffff12;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;padding:5px 10px;font-size:.82rem;display:inline-flex}.plan-card__pill--accent{color:#f5fbff;background:linear-gradient(135deg,#68d5ff2e,#568eff38);border-color:#84c9ff47}.plan-timeline{gap:6px;display:grid}.plan-summary{padding:12px var(--surface-padding-inline);background:linear-gradient(#ffffff0d,#ffffff06),#0813295c;border:1px solid #84bfff2e;border-radius:14px;gap:6px;margin-top:8px;display:grid}.plan-summary__title{color:#f7fbff;margin:0 0 2px;font-size:.92rem;font-weight:800;line-height:1.25}.plan-summary__row{color:#deedffd1;flex-wrap:wrap;align-items:baseline;gap:4px 7px;font-size:.9rem;line-height:1.35;display:flex}.plan-summary__label{font-weight:600}.plan-summary__value{color:#f7fbff;font-weight:700}.plan-summary__status{color:#deedffb8}.plan-flow{align-items:center;gap:var(--surface-gap);padding:2px var(--surface-padding-inline) 4px;color:#ffffffc7;grid-template-columns:22px minmax(0,1fr) max-content;display:grid}.plan-flow--gap{padding:5px var(--surface-padding-inline) 6px 12px;color:#d7ebffe0;background:#ffffff0a;border-left:2px solid #84bfff57;border-radius:0 12px 12px 0;margin-left:14px}.plan-flow--current{background:radial-gradient(circle at 0,#ffd1662e,#0000 40%),#ffffff14;border-left-color:#ffd166bf;grid-template-columns:22px minmax(0,1fr) auto max-content;margin:6px 0;box-shadow:inset 0 0 0 1px #ffd1662e,0 10px 22px #040c1c2e}.plan-flow--past:not(.plan-flow--current){color:#d7ebff94;background:#ffffff06;border-left-color:#84bfff33}.plan-flow--past:not(.plan-flow--current) .plan-flow__time{color:#f7fbff9e}.plan-flow__icon{font-size:.88rem}.plan-flow__text{flex-wrap:wrap;gap:0 6px;min-width:0;font-size:.94rem;font-weight:500;line-height:1.25;display:inline-flex}.plan-flow__duration{white-space:nowrap;font-variant-numeric:tabular-nums}.plan-flow__badge{color:#fff4c2;white-space:nowrap;background:#ffd1662e;border-radius:999px;justify-content:center;align-items:center;padding:2px 8px;font-size:.76rem;font-weight:700;line-height:1.2;display:inline-flex}.plan-flow__time{color:#f7fbff;text-align:right;font-variant-numeric:tabular-nums;justify-self:end;font-size:.94rem;font-weight:600}.plan-flow__spacer{width:22px;height:1px;display:block}.plan-item{padding:11px var(--surface-padding-inline) 10px;background:linear-gradient(#ffffff0f,#ffffff08),#08132961;border:1px solid #ffffff14;border-radius:12px;grid-template-columns:22px minmax(0,1fr);gap:10px;display:grid}.plan-item--completed{background:linear-gradient(#43d3a81f,#ffffff08),#0813296b;border-color:#4cd5ad29}.plan-item--in_progress{background:radial-gradient(circle at 0 0,#7cc6ff2e,#0000 48%),linear-gradient(#5792ff1f,#ffffff08),#08132970;border-color:#7abeff33}.plan-item--bedtime{background:radial-gradient(circle at 100% 0,#ffc56f29,#0000 42%),linear-gradient(#ffffff0f,#ffffff08),#08132966}.plan-item--wake{background:radial-gradient(circle at 0 0,#ffc4591f,#0000 42%),linear-gradient(#ffffff0d,#ffffff08),#0813295c;border-color:#ffd27824}.plan-item--night_sleep{background:radial-gradient(circle at 100% 0,#88a0ff2e,#0000 42%),linear-gradient(#6c7eff1a,#ffffff08),#0813296b}.plan-item--current{background:radial-gradient(circle at 0 0,#ffd16633,#0000 44%),linear-gradient(#ffffff1a,#ffffff0a),#131c3285;border-color:#ffd16652;margin:6px 0;box-shadow:inset 0 0 0 1px #ffd16624,0 14px 30px #040c1c33}.plan-item--past:not(.plan-item--current){background:linear-gradient(#ffffff09,#ffffff05),#0813294d;border-color:#ffffff0f}.plan-item--past:not(.plan-item--current) .plan-item__title,.plan-item--past:not(.plan-item--current) .plan-item__time{color:#ffffffad}.plan-item--past:not(.plan-item--current) .plan-item__meta-text,.plan-item--past:not(.plan-item--current) .plan-item__supplement,.plan-item--past:not(.plan-item--current) .plan-item__meta-text--wake{color:#d7ebff94}.plan-item--past:not(.plan-item--current) .plan-item__status{opacity:.78}.plan-item__status{justify-content:center;align-items:center;font-size:.98rem;display:flex}.plan-item__body{min-width:0;padding-top:3px}.plan-item__line{grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:6px 12px;display:grid}.plan-item__content{flex-wrap:wrap;align-items:center;gap:3px 6px;min-width:0;display:inline-flex}.plan-item__title{color:var(--text-primary);margin:0;font-size:.94rem;font-weight:600}.plan-item__time{color:#f7fbff;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;justify-self:end;font-size:.92rem;font-weight:600}.plan-item__dot{color:#ffffff59;font-size:.84rem}.plan-item__meta-text{color:#ffffffbd;font-size:.86rem}.plan-item__supplement{color:#d7ebffcc;margin-top:4px;font-size:.84rem;line-height:1.4}.plan-item__meta-text--wake{color:#d7ebff}.plan-item__badge{color:#eef8ff;background:#80c6ff29;border-radius:999px;align-items:center;padding:2px 7px;font-size:.78rem;line-height:1.2;display:inline-flex}.plan-details-card{background:linear-gradient(#ffffff14,#ffffff0a),#08132961;border:1px solid #ffffff1a}.plan-action-button:disabled{cursor:wait;opacity:.72}.plan-details-card__text{color:var(--text-primary);margin:0;font-size:.94rem;line-height:1.58}.plan-details-card__link{color:#a9d7ff;font:inherit;font-weight:700;line-height:inherit;text-underline-offset:.18em;cursor:pointer;background:0 0;border:0;margin:0;padding:0;text-decoration:underline;display:inline}.plan-details-card__link--collapse{justify-self:start;margin-top:2px}.plan-risks-list{gap:5px;margin:0;padding:0 0 0 18px;list-style:outside;display:grid}.plan-risk-item{color:var(--text-secondary);margin-bottom:0;font-size:.92rem;line-height:1.58}.plan-how-widget{padding:var(--surface-padding-block) var(--surface-padding-inline);background:var(--glass-bg);-webkit-backdrop-filter:var(--glass-blur-sm);backdrop-filter:var(--glass-blur-sm);border:1px solid var(--glass-border);border-radius:14px}.plan-how-title{color:var(--text-secondary);margin:0 0 6px;font-size:.96rem;font-weight:600}.plan-how-text{color:var(--text-secondary);opacity:.8;margin:0;font-size:.92rem;line-height:1.62}.plan-empty-message{color:var(--text-primary);letter-spacing:-.01em;font-size:1rem;line-height:1.4}.plan-text{white-space:pre-wrap;word-wrap:break-word;color:var(--text-primary);margin:0;font-family:inherit;font-size:.88rem;line-height:1.65}@media (width<=480px){.plan-card__summary{flex-direction:column}.plan-card__pills{flex-flow:wrap;align-items:flex-start}}.primary-button,.secondary-button{border:0;border-radius:14px;justify-content:center;align-items:center;min-height:48px;padding:11px 16px;font-size:.95rem;font-weight:600;display:inline-flex}.primary-button{color:#fff;background:linear-gradient(130deg,#7c5cbff2,#8b5cf6f2);box-shadow:0 4px 18px #7c5cbf59}.secondary-button{-webkit-backdrop-filter:var(--glass-blur-sm);color:var(--text-primary);background:#ffffff12;border:1px solid #ffffff1a}:root[data-theme=light] .icon-button,:root[data-theme=light] .secondary-button,:root[data-theme=light] .child-switcher__item,:root[data-theme=light] .profile-settings-button,:root[data-theme=light] .tracking-history,:root[data-theme=light] .coaching-goals-widget,:root[data-theme=light] .profile-form-section,:root[data-theme=light] .profile-age-card,:root[data-theme=light] .insights-section,:root[data-theme=light] .referral-teaser,:root[data-theme=light] .referral-card,:root[data-theme=light] .referral-teaser__stats div,:root[data-theme=light] .child-access-card,:root[data-theme=light] .child-access-share,:root[data-theme=light] .child-access-list__item,:root[data-theme=light] .sleep-profile-widget,:root[data-theme=light] .plan-card,:root[data-theme=light] .tab-bar,:root[data-theme=light] .tracking-modal__sheet,:root[data-theme=light] .app-topbar__locale-button,:root[data-theme=light] .app-topbar__icon-button,:root[data-theme=light] .app-topbar__island{background:radial-gradient(circle at 0 0,#60a5fa1f,#0000 46%),#ffffffc2;border-color:#0f172a14;box-shadow:0 12px 30px #0f172a1a,inset 0 1px #ffffffb8}:root[data-theme=light] .profile-modal,:root[data-theme=light] .tracking-modal{background:#e3ebfb42}:root[data-theme=light] .billing-modal__sheet{color:#091224;background:radial-gradient(circle at 0 0,#60a5fa24,#0000 44%),radial-gradient(circle at 100% 0,#8b5cf61f,#0000 34%),#f8fbfffa;border-color:#0f172a1a;box-shadow:0 26px 56px #0f172a29,inset 0 1px #ffffffb8}:root[data-theme=light] .billing-modal__header{background:linear-gradient(#ffffffe6,#ffffff85);border-bottom-color:#0f172a14}:root[data-theme=light] .billing-modal__period{background:#0f172a0b;border-color:#0f172a1a}:root[data-theme=light] .billing-modal__period button.is-active{background:#ffffffc7;box-shadow:inset 0 0 0 1px #0f172a14,0 8px 18px #0f172a14}:root[data-theme=light] .billing-modal__period small{color:#16a34a}:root[data-theme=light] .billing-modal__actions>.secondary-button{color:#091224;background:#ffffffbd;border-color:#0f172a1a;box-shadow:inset 0 1px #ffffffb8,0 8px 18px #0f172a0f}:root[data-theme=light] .profile-grid div{background:#ffffffb8;border-color:#0f172a1a;box-shadow:inset 0 1px #ffffffc7,0 8px 18px #0f172a0a}:root[data-theme=light] .status-card__fact-info{color:#1f2937;background:#ffffffb8;border-color:#0f172a1a;box-shadow:0 8px 18px #0f172a14,inset 0 1px #ffffffe0}:root[data-theme=light] .profile-text-input,:root[data-theme=light] .profile-textarea,:root[data-theme=light] .tracking-select{background:#ffffffd6;border-color:#0f172a1a}:root[data-theme=light] .profile-pill,:root[data-theme=light] .tracking-quick-button:not(.tracking-quick-button--primary),:root[data-theme=light] .tracking-modal__secondary,:root[data-theme=light] .profile-close-button,:root[data-theme=light] .history-selected-period,:root[data-theme=light] .tracking-history__item,:root[data-theme=light] .today-sleeps li,:root[data-theme=light] .sleep-day-group,:root[data-theme=light] .sleep-item,:root[data-theme=light] .sleep-chart-wrap,:root[data-theme=light] .sleep-period-avg,:root[data-theme=light] .stats-highlight article,:root[data-theme=light] .stat-card-bar,:root[data-theme=light] .coaching-goals-item,:root[data-theme=light] .plan-item,:root[data-theme=light] .plan-details-card,:root[data-theme=light] .plan-how-widget,:root[data-theme=light] .period-switcher__item,:root[data-theme=light] .status-card__summary,:root[data-theme=light] .status-card__text,:root[data-theme=light] .status-card__meta-grid article{background:#ffffffc2;border-color:#0f172a14}:root[data-theme=light] .sleep-item{background:0 0;border-color:#0000}:root[data-theme=light] .sleep-item+.sleep-item:before{background:linear-gradient(90deg,#0f172a29,#0f172a0e)}:root[data-theme=light] .sleep-day-group__trigger{background:linear-gradient(90deg,#60a5fa29,#8b5cf614,#0000);border-bottom-color:#0f172a0f}:root[data-theme=light] .sleep-day-group__trigger:focus-visible{box-shadow:inset 0 0 0 1px #0f172a1f}:root[data-theme=light] .sleep-day-group__toggle{color:#09122494}:root[data-theme=light] .history-selected-period__reset{color:#091224a3;background:#ffffffc2;border-color:#0f172a1a}:root[data-theme=light] .profile-pill.is-selected{color:#091224fa;background:linear-gradient(135deg,#60a5fa2e,#38bdf838);border-color:#2563eb47;box-shadow:inset 0 1px #ffffffbd,0 8px 20px #3b82f61f}:root[data-theme=light] .tracking-quick-button--primary,:root[data-theme=light] .tracking-modal__primary{color:#fff;background:linear-gradient(135deg,#2563eb,#38bdf8);border:0;box-shadow:0 14px 28px #2563eb47,inset 0 1px #ffffff3d}:root[data-theme=light] .tracking-modal__danger{color:#fff;background:linear-gradient(135deg,#ef4444,#dc2626);border:0;box-shadow:0 14px 28px #ef44443d,inset 0 1px #ffffff2e}:root[data-theme=light] .tracking-modal__header{background:linear-gradient(#ffffff8a,#ffffff24)}:root[data-theme=light] .app-topbar__sync-indicator{border-color:#2563ebd1 #0f172a1f #0f172a1f}:root[data-theme=light] .tracking-modal__title{color:#091224fa}:root[data-theme=light] .tracking-modal__close,:root[data-theme=light] .tracking-quick-button:not(.tracking-quick-button--primary),:root[data-theme=light] .tracking-modal__secondary,:root[data-theme=light] .tracking-modal__ghost{background:linear-gradient(#fffffff0,#f8fbffbd),#ffffffc7;border-color:#0f172a14;box-shadow:0 10px 26px #94a3b81f,inset 0 1px #fffffff5}:root[data-theme=light] .tracking-modal__sheet{-webkit-backdrop-filter:blur(34px)saturate(190%);background:radial-gradient(circle at 0 0,#60a5fa1a,#0000 38%),radial-gradient(circle at 100% 0,#ffffff57,#0000 24%),linear-gradient(#ffffffb8,#ffffff8f)}:root[data-theme=light] .blocking-loader{background:#ebf2ff75}:root[data-theme=light] .blocking-loader__stage:before{content:"";z-index:0;background:radial-gradient(circle,#60a5fa42 0%,#ffffff38 54%,#fff0 78%);border-radius:999px;position:absolute;inset:24px;box-shadow:inset 0 0 0 1px #3b82f614,0 12px 30px #60a5fa2e}:root[data-theme=light] .blocking-loader__card{background:radial-gradient(circle at 0 0,#60a5fa24,#0000 42%),radial-gradient(circle at 100% 100%,#a78bfa1f,#0000 36%),linear-gradient(#ffffffe6,#f5f9ffdb);border-color:#0f172a14;box-shadow:0 18px 40px #94a3b82e,inset 0 1px #ffffffeb}:root[data-theme=light] .blocking-loader__halo--outer{border-color:#3b82f642;box-shadow:0 0 30px #3b82f629}:root[data-theme=light] .blocking-loader__halo--inner{border-color:#3b82f624}:root[data-theme=light] .blocking-loader__spark{background:radial-gradient(circle,#fffffffa 0%,#fff0 72%);box-shadow:0 0 18px #ffffffeb,0 0 28px #60a5fa57}:root[data-theme=light] .blocking-loader__burst{mix-blend-mode:normal;opacity:1;filter:drop-shadow(0 0 20px #3b82f638)drop-shadow(0 10px 22px #60a5fa29)}:root[data-theme=light] .blocking-loader__title{color:#091224f5}:root[data-theme=light] .blocking-loader__caption{color:#091224ad}:root[data-theme=light] .tracking-quick-button--ghost{color:#091224ad;background:#ffffff8a}:root[data-theme=light] .insights-delete,:root[data-theme=light] .insights-confirm-modal__close,:root[data-theme=light] .insights-confirm-modal__secondary{background:linear-gradient(#ffffffeb,#f8fbffb8),#ffffffc2;border-color:#0f172a14;box-shadow:0 10px 24px #94a3b81f,inset 0 1px #fffffff0}:root[data-theme=light] .insights-confirm-modal{background:#e3ebfb57}:root[data-theme=light] .insights-confirm-modal__sheet{background:radial-gradient(circle at 0 0,#60a5fa1a,#0000 42%),linear-gradient(#fffc,#ffffffa3);border-color:#0f172a14;box-shadow:0 18px 42px #94a3b829,inset 0 1px #ffffffeb}:root[data-theme=light] .tab-bar__item{color:#091224eb}:root[data-theme=light] .tab-bar__item.is-active{color:#091224}:root[data-theme=light] .status-card__summary-pill--alert{color:#b91c1c;background:#fee2e2db;border-color:#ef44444d}:root[data-theme=light] .wake-window-excess{color:#b91c1c}:root[data-theme=light] .tab-bar__indicator{background:#0f172a14;border-color:#fffffff0;box-shadow:inset 0 1px #fffffff5,0 6px 18px #0f172a14}:root[data-theme=light] .tab-bar__badge{box-shadow:0 6px 14px #ef44442e,0 0 0 2px #ffffffeb}:root[data-theme=light] .status-action-button:disabled{opacity:.68;color:#09122485}:root[data-theme=light] .status-action-button{color:#091224f5;border-color:#94a3b838;box-shadow:0 16px 34px #94a3b82e,inset 0 1px #fffffff5}:root[data-theme=light] .status-action-button--sleep,:root[data-theme=light] .status-action-button--wake,:root[data-theme=light] .status-action-button--feed{background:linear-gradient(135deg,#818cf829,#c4b5fd1f 36%,#fffffff0),#ffffffeb;border-color:#818cf83d}:root[data-theme=light] .status-action-button__icon{background:#ffffffc7;border-color:#94a3b842;box-shadow:inset 0 1px #ffffffeb,0 8px 18px #94a3b82e}:root[data-theme=light] .today-sleeps__date,:root[data-theme=light] .today-sleeps__time,:root[data-theme=light] .stats-highlight span,:root[data-theme=light] .stat-card-bar__label,:root[data-theme=light] .stat-card-bar__norm,:root[data-theme=light] .coaching-goals-title,:root[data-theme=light] .coaching-goals-help,:root[data-theme=light] .goal-values,:root[data-theme=light] .goal-trend--neutral,:root[data-theme=light] .goal-window-summary,:root[data-theme=light] .goal-progress-title,:root[data-theme=light] .sleep-day-group__summary,:root[data-theme=light] .sleep-period-avg__label,:root[data-theme=light] .sleep-period-avg__row,:root[data-theme=light] .sleep-chart-legend,:root[data-theme=light] .chart figcaption,:root[data-theme=light] .sleep-item__session-start,:root[data-theme=light] .sleep-item__time,:root[data-theme=light] .sleep-item__session-dur,:root[data-theme=light] .sleep-item__feed-type,:root[data-theme=light] .sleep-item__note,:root[data-theme=light] .sleep-item__awake-gap,:root[data-theme=light] .tracking-history__gap,:root[data-theme=light] .tracking-history__inline,:root[data-theme=light] .status-card__metric-hint,:root[data-theme=light] .status-card__metric-caption,:root[data-theme=light] .status-card__metric-range{color:#091224d6}:root[data-theme=light] .tracking-history__gap{color:#1e40afeb;background:#bfdbfe3d;border-left-color:#3b82f66b}:root[data-theme=light] .sleep-day-group__date,:root[data-theme=light] .today-sleeps__dur,:root[data-theme=light] .sleep-day-group__summary-total,:root[data-theme=light] .sleep-item__dur,:root[data-theme=light] .sleep-item__awake-gap-duration,:root[data-theme=light] .status-card__summary,:root[data-theme=light] .goal-values b,:root[data-theme=light] .goal-label{color:#091224fa}:root[data-theme=light] .coaching-goals-help,:root[data-theme=light] .goal-trend--neutral{opacity:1}:root[data-theme=light] .goal-day{color:#7c3aedeb}:root[data-theme=light] .goal-trend--warn{color:#b45309f5}:root[data-theme=light] .goal-progress-track{background:#6366f124}:root[data-theme=light] .legend-norm{color:#d97706eb}:root[data-theme=light] .gauge__alert--info,:root[data-theme=light] .regression-alert--approaching .regression-alert__body strong,:root[data-theme=light] .profile-regression-note,:root[data-theme=light] .status-card__hint h3,:root[data-theme=light] .goal-trend--warn{color:#b45309f5}:root[data-theme=light] .status-card__hint{background:#f59e0b14;border-left-color:#b45309cc}:root[data-theme=light] .regression-alert{background:#ffffffc7;border-color:#0f172a14}:root[data-theme=light] .regression-alert--approaching{background:linear-gradient(135deg,#f59e0b14,#ffffffd1);border-color:#d977062e}:root[data-theme=light] .regression-alert__body p{color:#091224d6}:root[data-theme=light] .plan-item{background:linear-gradient(#ffffffd6,#f4f8ffbd),#ffffffb3;border-color:#0f172a14}:root[data-theme=light] .plan-flow{color:#091224c7}:root[data-theme=light] .plan-flow--gap{color:#1e40afeb;background:#bfdbfe38;border-left-color:#3b82f66b}:root[data-theme=light] .plan-flow--current{background:radial-gradient(circle at 0,#fbbf2433,#0000 38%),#fffbebf0;border-left-color:#f59e0bb8;box-shadow:inset 0 0 0 1px #f59e0b1f,0 10px 24px #f59e0b1f}:root[data-theme=light] .plan-flow--past:not(.plan-flow--current){color:#09122475;background:#bfdbfe1a;border-left-color:#3b82f62e}:root[data-theme=light] .plan-flow__time{color:#091224fa}:root[data-theme=light] .plan-flow--past:not(.plan-flow--current) .plan-flow__time{color:#09122480}:root[data-theme=light] .plan-flow__badge{color:#92400ef5;background:#f59e0b24}:root[data-theme=light] .plan-flow__dots{color:#09122447}:root[data-theme=light] .plan-summary{background:linear-gradient(#ffffffc7,#f4f8ff9e),#ffffffad;border-color:#0f172a12}:root[data-theme=light] .plan-summary__row{color:#091224bd}:root[data-theme=light] .plan-summary__title,:root[data-theme=light] .plan-summary__value{color:#091224fa}:root[data-theme=light] .plan-summary__status{color:#0912249e}:root[data-theme=light] .plan-item--completed{background:linear-gradient(#4ade801f,#ffffffd1),#ffffffb8;border-color:#16a34a29}:root[data-theme=light] .plan-item--in_progress{background:radial-gradient(circle at 0 0,#60a5fa29,#0000 48%),linear-gradient(#bfdbfe6b,#ffffffd1);border-color:#2563eb2e}:root[data-theme=light] .plan-item--bedtime{background:radial-gradient(circle at 100% 0,#f59e0b24,#0000 44%),linear-gradient(#fff7ede6,#fffc);border-color:#d9770624}:root[data-theme=light] .plan-item--wake{background:radial-gradient(circle at 0 0,#fbbf241f,#0000 42%),linear-gradient(#fffbebe0,#fffc);border-color:#d977061f}:root[data-theme=light] .plan-item--current{background:radial-gradient(circle at 0 0,#fbbf2433,#0000 42%),linear-gradient(#fffcf3f5,#ffffffd6);border-color:#f59e0b3d;box-shadow:inset 0 0 0 1px #f59e0b1f,0 12px 28px #f59e0b1a}:root[data-theme=light] .plan-item--past:not(.plan-item--current){background:linear-gradient(#ffffffa3,#f4f8ff85),#ffffff85;border-color:#0f172a0d}:root[data-theme=light] .plan-item__time,:root[data-theme=light] .plan-item__title,:root[data-theme=light] .plan-how-title{color:#091224fa}:root[data-theme=light] .plan-item--past:not(.plan-item--current) .plan-item__title,:root[data-theme=light] .plan-item--past:not(.plan-item--current) .plan-item__time{color:#09122485}:root[data-theme=light] .plan-item__dot,:root[data-theme=light] .plan-item__meta-text,:root[data-theme=light] .plan-how-text,:root[data-theme=light] .plan-card__eyebrow,:root[data-theme=light] .plan-card__pill{color:#091224c2}:root[data-theme=light] .plan-item--past:not(.plan-item--current) .plan-item__dot,:root[data-theme=light] .plan-item--past:not(.plan-item--current) .plan-item__meta-text,:root[data-theme=light] .plan-item--past:not(.plan-item--current) .plan-item__supplement,:root[data-theme=light] .plan-item--past:not(.plan-item--current) .plan-item__meta-text--wake{color:#09122475}:root[data-theme=light] .goal-suggestion-refresh{background:#3b82f61f;border-color:#3b82f657;box-shadow:0 6px 18px #2563eb1f}:root[data-theme=light] .plan-item__meta-text--wake{color:#1e40afe0}:root[data-theme=light] .plan-item__badge{color:#1e40afeb;background:#3b82f624}:root[data-theme=light] .plan-details-card{color:#091224f5;background:linear-gradient(#fffffff0,#f4f8ffe0);border-color:#0f172a14;box-shadow:0 10px 24px #0f172a0d}:root[data-theme=light] .plan-details-card__link{color:#1e40aff0}:root[data-theme=light] .plan-action-button{color:#fff;background:linear-gradient(135deg,#2563eb,#38bdf8);border:0;box-shadow:0 14px 28px #2563eb47,inset 0 1px #ffffff3d}:root[data-theme=light] .profile-modal__sheet{background:radial-gradient(circle at 0 0,#60a5fa29,#0000 44%),linear-gradient(#fbfdfffa,#eff5fffa)}:root[data-theme=light] .profile-modal__header{background:linear-gradient(#ffffffd6,#ffffff5c)}:root[data-theme=light] .profile-modal__footer{background:linear-gradient(#fff0,#ffffffb3 42%,#f3f7fff0);border-top-color:#0f172a0f}:root[data-theme=light] .profile-modal__close{color:#091224db;background:#ffffff9e;border-color:#0f172a14}:root[data-theme=light] .profile-save-toast{color:#091224c7;background:#ffffffc7;border-color:#0f172a14;box-shadow:0 12px 28px #0f172a1f,inset 0 1px #ffffffc7}:root[data-theme=light] .profile-save-toast.is-saving{color:#1e40afeb}:root[data-theme=light] .profile-save-toast.is-success{color:#15803df5}:root[data-theme=light] .profile-save-toast.is-error{color:#b91c1cf5}:root:not([data-theme=light]) .today-sleeps__date,:root:not([data-theme=light]) .sleep-day-group__summary,:root:not([data-theme=light]) .sleep-period-avg__label,:root:not([data-theme=light]) .sleep-period-avg__row,:root:not([data-theme=light]) .sleep-chart-legend,:root:not([data-theme=light]) .chart figcaption,:root:not([data-theme=light]) .sleep-item__session-dur,:root:not([data-theme=light]) .sleep-item__feed-type,:root:not([data-theme=light]) .sleep-item__note{color:#ffffffd6}:root:not([data-theme=light]) .today-sleeps__time,:root:not([data-theme=light]) .sleep-item__time,:root:not([data-theme=light]) .sleep-day-group__date{color:#fffffff0}:root:not([data-theme=light]) .sleep-item__session-start{color:#ffffffbd;opacity:1}.sleep-corner-icon,.sleep-poppies{pointer-events:none;z-index:40;position:fixed}.sleep-corner-icon{right:max(4px,50vw - 266px);bottom:calc(86px + env(safe-area-inset-bottom));opacity:.09;filter:brightness(.85)saturate(.7);background:url(./lodge-CXatTy-j.png) 50%/contain no-repeat;width:77px;height:77px}.sleep-poppies{right:max(9px,50vw - 261px);bottom:calc(112px + env(safe-area-inset-bottom));aspect-ratio:1;opacity:.55;filter:brightness(.64)saturate(.72)contrast(.92);transform-origin:74% 100%;background:url(./flower-D0azx-wK.png) bottom/contain no-repeat;width:clamp(240px,64vw,360px);animation:7.5s ease-in-out infinite sleepPoppiesSway;transform:translate(10%,26%)}@keyframes sleepPoppiesSway{0%,to{transform:translate(10%,26%)rotate(0)}35%{transform:translate(9%,26%)rotate(-1.2deg)}70%{transform:translate(11%,26%)rotate(.9deg)}}:root[data-theme=light] .tracking-modal:before,:root[data-theme=light] .sleep-corner-icon{opacity:.09;filter:brightness(.98)saturate(.58)}:root[data-theme=light] .tracking-modal:after,:root[data-theme=light] .sleep-poppies{opacity:.24;filter:brightness(1.02)saturate(.58)contrast(.86)}.tab-bar{width:min(540px,100% - 12px);padding:7px 7px calc(7px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(42px)saturate(220%);z-index:100;background:linear-gradient(#ffffff1f,#ffffff05),#060814b8;border:1px solid #ffffff21;border-radius:28px 28px 0 0;align-items:stretch;display:flex;position:fixed;bottom:0;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 14px 34px #00000057,inset 0 1px #fff3,inset 0 -1px #0003}.tab-bar:before,.tab-bar:after{content:"";pointer-events:none;position:absolute;inset:0}.tab-bar:before{opacity:.92;background:radial-gradient(circle at 18% 0,#ffffff42,#0000 34%),radial-gradient(circle at 78% 100%,#60a5fa1f,#0000 32%)}.tab-bar:after{opacity:.9;background:linear-gradient(#ffffff2e,#fff0);border-radius:27px 27px 18px 18px;height:46%;inset:1px 1px auto}.tab-bar__indicator{pointer-events:none;background:#ffffff1c;border:1px solid #fff3;border-radius:18px;transition:transform .5s cubic-bezier(.34,1.56,.64,1),width .5s cubic-bezier(.34,1.56,.64,1);position:absolute;top:7px;bottom:7px;left:0;box-shadow:inset 0 1px #ffffff3d,0 2px 8px #00000047}.tab-bar__item{color:#ffffffeb;z-index:1;transition:color .28s ease, transform .24s var(--spring);-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:18px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;padding:6px 4px;display:flex;position:relative}.tab-bar__item.is-active{color:#fff}.tab-bar__badge{color:#fff;background:#ef4444;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.62rem;font-weight:800;line-height:1;display:inline-flex;position:absolute;top:8px;right:14px;box-shadow:0 6px 14px #ef444447,0 0 0 2px #060814b8}.tab-bar__icon{display:flex}.tab-bar__label{letter-spacing:.01em;font-size:.66rem;font-weight:500}.skeleton__line,.skeleton__circle{background:#ffffff12;border-radius:8px;position:relative;overflow:hidden}.skeleton__line:after,.skeleton__circle:after{content:"";background:linear-gradient(90deg,#0000,#ffffff2e,#0000);animation:1.6s infinite shimmer;position:absolute;inset:0;transform:translate(-100%)}.skeleton__line{height:12px;margin-bottom:10px}.skeleton__line--lg{width:70%;height:20px}.skeleton__circle{border-radius:50%;width:min(240px,52vw);height:min(240px,52vw);margin:10px auto}.timeline__event--upcoming{opacity:.72}.screen-enter{animation:riseIn .42s var(--spring) both}@keyframes riseIn{0%{opacity:0;transform:translateY(14px)scale(.985)}to{opacity:1;transform:translate(0,0)scale(1)}}@keyframes tabSlideInFromRight{0%{opacity:.28;filter:blur(8px);transform:translate(18%)scale(.98)}to{opacity:1;filter:blur();transform:translate(0,0)scale(1)}}@keyframes tabSlideOutToLeft{0%{opacity:1;filter:blur();transform:translate(0,0)scale(1)}to{opacity:0;filter:blur(8px);transform:translate(-14%)scale(.986)}}@keyframes tabSlideInFromLeft{0%{opacity:.28;filter:blur(8px);transform:translate(-18%)scale(.98)}to{opacity:1;filter:blur();transform:translate(0,0)scale(1)}}@keyframes tabSlideOutToRight{0%{opacity:1;filter:blur();transform:translate(0,0)scale(1)}to{opacity:0;filter:blur(8px);transform:translate(14%)scale(.986)}}@keyframes shimmer{to{transform:translate(100%)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.55}}@keyframes billingGiftBurst{0%{opacity:0;transform:translate(-50%,-50%)scale(.35)rotate(0)}12%{opacity:1}62%{opacity:.94}to{opacity:0;transform:translate(var(--gift-x), var(--gift-y)) scale(1) rotate(var(--gift-rotate))}}@keyframes overdue-pulse{0%,to{box-shadow:0 0 #ef444400}50%{box-shadow:0 0 24px 2px #ef444426}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes blocking-loader-pulse{0%,to{opacity:.38;transform:scale(.96)}50%{opacity:.9;transform:scale(1.02)}}@keyframes blocking-loader-orbit{0%{transform:rotate(0)translateY(-12px)rotate(0)}to{transform:rotate(360deg)translateY(-12px)rotate(-360deg)}}@keyframes plan-refresh-pulse{0%,to{opacity:.46;transform:scale(.96)}50%{opacity:.9;transform:scale(1.05)}}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSheetIn{0%{opacity:0;filter:blur(10px);transform:translateY(22px)scale(.975)}to{opacity:1;filter:blur();transform:translate(0,0)scale(1)}}@keyframes glassDrift{0%{transform:translate(-12%)}to{transform:translate(10%)}}@keyframes glassSweep{0%,to{opacity:.22;transform:translate(-18%)rotate(10deg)}50%{opacity:.54;transform:translate(26%)rotate(10deg)}}.help-modal{z-index:180;-webkit-backdrop-filter:blur(24px);background:#0408186b;justify-content:stretch;align-items:stretch;padding:0;animation:.22s both modalFadeIn;display:flex;position:fixed;inset:0}.help-modal__sheet{width:100%;min-height:100dvh;animation:modalSheetIn .42s var(--spring) both;background:radial-gradient(circle at 0 0,#60a5fa2e,#0000 26%),radial-gradient(circle at 100% 100%,#a78bfa1f,#0000 28%),#080c20eb;flex-direction:column;display:flex;overflow:hidden}.help-modal__header,.help-modal__reader-header{padding:calc(16px + env(safe-area-inset-top)) 18px 16px;-webkit-backdrop-filter:blur(18px)saturate(160%);background:linear-gradient(#ffffff14,#ffffff08);border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:16px;display:flex}.help-modal__heading{gap:8px;min-width:0;display:grid}.help-modal__eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--text-secondary);font-size:.74rem}.help-modal__title{letter-spacing:-.03em;margin:0;font-size:clamp(1.28rem,3.4vw,1.72rem);line-height:1.15}.help-modal__subtitle{color:var(--text-secondary);max-width:58rem;margin:0;font-size:1rem;line-height:1.6}.help-modal__reader-header{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.help-modal__reader-title{text-align:center;letter-spacing:-.02em;margin:0;font-size:clamp(1.06rem,3vw,1.3rem);line-height:1.2}.help-modal__close{width:42px;height:42px;color:var(--text-primary);transition:transform .22s var(--spring), background .22s ease, border-color .2s ease, box-shadow .22s ease;background:#ffffff14;border:1px solid #ffffff1f;border-radius:999px;flex-shrink:0;font-size:1.4rem;line-height:1}.help-modal__nav-button{min-height:42px;color:var(--text-primary);transition:transform .22s var(--spring), background .22s ease, border-color .2s ease, box-shadow .22s ease;background:#ffffff14;border:1px solid #ffffff1f;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-weight:700;display:inline-flex}.help-modal__nav-icon{font-size:1rem;line-height:1}.help-modal__content,.help-modal__reader{min-height:0;padding:20px 18px calc(24px + env(safe-area-inset-bottom));overflow:auto}.help-modal__catalog{gap:18px;width:min(760px,100%);margin:0 auto;display:grid}.help-modal__group{gap:12px;display:grid}.help-modal__group-header{align-items:center;display:flex}.help-modal__group-pill,.help-modal__category-label{min-height:34px;color:var(--text-secondary);background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;align-items:center;padding:0 14px;font-size:.82rem;font-weight:700;display:inline-flex}.help-modal__section-list{gap:10px;display:grid}.help-modal__section-link{text-align:left;width:100%;transition:transform .26s var(--spring), box-shadow .26s ease, border-color .22s ease, background .26s ease;background:radial-gradient(circle at 0 0,#60a5fa1f,#0000 52%),#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 18px;display:grid;box-shadow:0 14px 36px #00000029,inset 0 1px #ffffff14}.help-modal__section-link-title{color:var(--text-primary);font-size:1rem;font-weight:700;line-height:1.45}.help-modal__section-link-arrow{color:var(--text-secondary);font-size:1.18rem;line-height:1}.help-modal__reader{flex:1}.help-modal__reader-inner{width:min(760px,100%);margin:0 auto}.help-modal__article-meta{margin-bottom:18px}.help-modal__prose b,.help-modal__prose strong{color:var(--text-primary)}.help-modal__prose{width:100%;color:var(--text-primary);font-size:1.06rem;line-height:1.82}.help-modal__prose br+br{content:"";margin-top:.9rem;display:block}.help-modal__state{min-height:min(60dvh,560px);color:var(--text-secondary);align-content:center;justify-items:start;gap:14px;width:min(760px,100%);margin:0 auto;display:grid}:root[data-theme=light] .help-modal{background:#e3ebfb94}:root[data-theme=light] .help-modal__sheet{background:radial-gradient(circle at 0 0,#60a5fa24,#0000 24%),radial-gradient(circle at 100% 100%,#a78bfa1a,#0000 26%),#ffffffeb}:root[data-theme=light] .help-modal__header,:root[data-theme=light] .help-modal__reader-header,:root[data-theme=light] .help-modal__close,:root[data-theme=light] .help-modal__nav-button,:root[data-theme=light] .help-modal__group-pill,:root[data-theme=light] .help-modal__section-link,:root[data-theme=light] .help-modal__category-label{border-color:#0f172a14}:root[data-theme=light] .help-modal__header,:root[data-theme=light] .help-modal__reader-header{background:#ffffff85}:root[data-theme=light] .help-modal__close,:root[data-theme=light] .help-modal__nav-button,:root[data-theme=light] .help-modal__group-pill,:root[data-theme=light] .help-modal__section-link,:root[data-theme=light] .help-modal__category-label{background:#ffffffc2}:root[data-theme=light] .help-modal__section-link{box-shadow:0 12px 30px #94a3b81f,inset 0 1px #ffffffd6}@media (hover:hover){.app-topbar__locale-button:hover,.app-topbar__icon-button:hover,.child-switcher__item:hover,.status-action-button:hover,.tracking-history__item:hover,.tracking-quick-button:hover,.tracking-modal__secondary:hover,.tracking-modal__danger:hover,.tracking-modal__primary:hover,.help-modal__section-link:hover,.help-modal__nav-button:hover,.help-modal__close:hover,.profile-settings-button:hover,.profile-settings-button__cta:hover,.profile-routine-button:hover,.profile-notification-button:hover,.plan-action-button:hover,.profile-modal__close:hover{transform:translateY(-1px)}.screen-card:hover,.status-card:hover{transform:translateY(-1px);box-shadow:0 22px 46px #0f172a38,inset 0 1px #ffffff1a}.status-action-button:hover{border-color:#ffffff38;box-shadow:0 20px 36px #0f172a38,inset 0 1px #ffffff29}:root[data-theme=light] .status-action-button:hover{box-shadow:0 20px 36px #94a3b838,inset 0 1px #fffffffa}}.app-topbar__locale-button:active,.app-topbar__icon-button:active,.child-switcher__item:active,.status-action-button:active,.tracking-history__item:active,.tracking-quick-button:active,.tracking-modal__secondary:active,.tracking-modal__danger:active,.tracking-modal__primary:active,.tracking-modal__ghost:active,.help-modal__section-link:active,.help-modal__nav-button:active,.help-modal__close:active,.profile-settings-button__cta:active,.profile-routine-button:active,.profile-notification-button:active,.plan-action-button:active,.profile-modal__close:active,.tab-bar__item:active{transform:scale(.975)}@media (prefers-reduced-motion:reduce){.screen-enter,.app-stage__panel--enter-forward,.app-stage__panel--exit-forward,.app-stage__panel--enter-backward,.app-stage__panel--exit-backward,.tracking-modal,.tracking-modal__sheet,.blocking-loader__halo,.blocking-loader__spark,.plan-refresh-card__halo,.profile-modal,.profile-modal__sheet,.help-modal,.help-modal__sheet,.app-topbar__island:after,.screen-card:after,.status-card:after,.sleep-poppies,.tracking-modal:after{animation:none!important}.app-shell__viewport,.app-topbar__island,.app-topbar__locale-button,.app-topbar__icon-button,.child-switcher__item,.screen-card,.status-card,.status-action-button,.tracking-history__item,.tracking-quick-button,.tracking-modal__secondary,.tracking-modal__danger,.tracking-modal__primary,.tracking-modal__ghost,.blocking-loader,.help-modal__section-link,.help-modal__nav-button,.help-modal__close,.profile-settings-button,.profile-settings-button__cta,.profile-routine-button,.profile-notification-button,.plan-action-button,.profile-modal__close,.tab-bar__item{transition:none!important}}@media (width<=480px){.app-shell{padding-left:8px;padding-right:8px}.screen-card,.status-card{border-radius:16px;padding:12px}.day-timeline,.sleep-summary,.sparkline-card{border-radius:14px;padding:12px}.stats-highlight{grid-template-columns:1fr 1fr}.help-modal{padding:0}.help-modal__header,.help-modal__reader-header{padding:calc(14px + env(safe-area-inset-top)) 14px 14px}.help-modal__content,.help-modal__reader{padding:16px 14px calc(22px + env(safe-area-inset-bottom))}.help-modal__nav-button{min-height:40px;padding-inline:12px}.help-modal__reader-title{font-size:1rem}.help-modal__title{font-size:1.2rem}.help-modal__subtitle,.help-modal__prose{font-size:.98rem}.help-modal__section-link{padding:14px 16px}}
