.somna-picker-sheet{width:100%;max-width:100%;max-height:none;padding:0 0 max(var(--safe-bottom,env(safe-area-inset-bottom)), 0px);background:var(--bg-2);color:var(--ink-1);font:inherit;border:0;border-radius:16px 16px 0 0;margin:0;position:fixed;inset:auto 0 0;overflow:hidden}.somna-picker-sheet::backdrop{background:rgba(var(--shade-rgb),.45)}.somna-picker-bar{border-bottom:1px solid rgba(var(--fg-rgb),.08);grid-template-columns:1fr auto 1fr;align-items:center;padding:12px 18px;display:grid}.somna-picker-bar button{font:inherit;font-size:var(--t-body);background:0 0;border:0;padding:4px 0}.somna-picker-bar [data-sheet=cancel]{color:var(--ink-2);justify-self:start}.somna-picker-bar [data-sheet=confirm]{color:var(--accent-text);justify-self:end;font-weight:600}.somna-picker-bar strong{font-size:var(--t-callout);color:var(--ink-2);font-weight:600}.somna-picker-wheels{box-sizing:content-box;justify-content:center;gap:26px;height:180px;padding:8px 0;display:flex;position:relative}.somna-picker-wheel{scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;width:72px;height:180px;-webkit-mask-image:linear-gradient(to bottom, transparent, var(--bg-0) 30%, var(--bg-0) 70%, transparent);-webkit-mask-image:linear-gradient(to bottom, transparent, var(--bg-0) 30%, var(--bg-0) 70%, transparent);mask-image:linear-gradient(to bottom, transparent, var(--bg-0) 30%, var(--bg-0) 70%, transparent);overflow-y:auto}.somna-picker-wheel::-webkit-scrollbar{display:none}.somna-picker-wheel>div{box-sizing:border-box;text-align:center;height:36px;min-height:36px;font-size:var(--t-headline);color:var(--ink-1);font-variant-numeric:tabular-nums;scroll-snap-align:center;justify-content:center;align-items:center;display:flex}.somna-picker-wheel>.somna-picker-gap{pointer-events:none;scroll-snap-align:none}.somna-picker-highlight{border-top:1px solid rgba(var(--fg-rgb),.12);border-bottom:1px solid rgba(var(--fg-rgb),.12);pointer-events:none;height:36px;position:absolute;top:50%;left:18px;right:18px;transform:translateY(-50%)}:root,#sleepMode{--bg-rgb:9, 10, 10;--fg-rgb:232, 238, 233;--shade-rgb:0, 0, 0;--fg:#e8eee9;--bg-0:#090a0a;--bg-1:#101111;--bg-2:#161717;--bg-3:#1c1d1d;--bg-4:#222323;--bg-5:#2a2b2b;--bg-6:#363737;--bg-7:#454646;--bg-8:#5c5d5d;--bg-9:#7b7c7c;--accent:#e6c891;--accent-rgb:230, 200, 145;--accent-text:#e9cf9f;--accent-ink:#231c11;--accent-surface:#1f1b13;--accent-surface-2:#3a3021;--accent-line:#6a5a3c;--rail-1:#5b5649;--rail-2:#48453c;--rail-3:#383731;--rail-4:#2c2d29;--rail-5:#403e36;--teal:#79b8ad;--teal-rgb:121, 184, 173;--moss:#8eaf91;--moss-rgb:142, 175, 145;--amber:#d39a75;--amber-rgb:211, 154, 117;--sand:#cdb88c;--sand-rgb:205, 184, 140;--rose:#cd96a0;--rose-rgb:205, 150, 160;--slate:#93a6c4;--slate-rgb:147, 166, 196;--noise-white:#ece8e0;--noise-pink:#d79aa6;--noise-brown:#8a5a3c;--paper:var(--bg-0);--surface:var(--bg-2);--ink:var(--ink-1);--muted:var(--ink-2);--line:rgba(var(--fg-rgb), .1);--plum:var(--accent);--plum-soft:var(--accent-surface);--cyan:var(--teal);--shadow:0 12px 34px rgba(var(--shade-rgb), .25);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink-1:#eef1ec;--ink-2:#a7b0ab;--ink-3:#747f79;--feeling-selected-bg:#fff;--feeling-selected-ink:#111}:root{--art-ink:#f2efe8;--art-accent:#e6c891;--art-scrim-rgb:0, 0, 0;--health-mark-background:#fafbf9;--health-mark-heart:#ee5268;--health-mark-border:#fffc;--tabbar-h:calc(52px + var(--safe-bottom,env(safe-area-inset-bottom)));--topbar-h:calc(40px + max(10px, calc(var(--safe-top,env(safe-area-inset-top)) - 6px)) + 4px);--sound-chrome:324px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--t-display:28px;--t-title:22px;--t-headline:17px;--t-body:15px;--t-callout:13px;--t-caption:11px;--font-ui:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", sans-serif;--font-display:"Somian Display", "Somian Display SC", ui-serif, "Songti SC", serif;--display-weight:500;font-family:var(--font-ui);font-synthesis:none;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}:root[data-theme=dusk]{--bg-rgb:242, 234, 216;--fg-rgb:58, 46, 30;--shade-rgb:92, 70, 38;--fg:#3a2e1e;--bg-0:#f2ead8;--bg-1:#ede5d3;--bg-2:#e9e1cf;--bg-3:#e4dcca;--bg-4:#e0d7c5;--bg-5:#d8d0be;--bg-6:#cfc6b5;--bg-7:#c2b9a8;--bg-8:#b0a695;--bg-9:#968c7b;--ink-1:#2c2417;--ink-2:#5c4f3c;--ink-3:#786a54;--accent:#8d5f2a;--accent-rgb:141, 95, 42;--accent-text:#845727;--accent-ink:#fbf4e4;--accent-surface:#eadbbd;--accent-surface-2:#dfc89f;--accent-line:#c6a46d;--rail-1:#c8bda6;--rail-2:#d3c9b4;--rail-3:#ddd4c2;--rail-4:#e3dccb;--rail-5:#d6ccb7;--teal:#3f7c71;--teal-rgb:63, 124, 113;--moss:#5b7d5d;--moss-rgb:91, 125, 93;--amber:#a8643c;--amber-rgb:168, 100, 60;--sand:#8c7442;--sand-rgb:140, 116, 66;--rose:#a35d6c;--rose-rgb:163, 93, 108;--slate:#4f6584;--slate-rgb:79, 101, 132;--noise-white:#ddd6c8;--noise-pink:#c27f8c;--noise-brown:#6f4528;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root:lang(ja){--font-ui:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif}:root:lang(ko){--font-ui:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", sans-serif}:root:lang(ja){--font-display:"Somian Display", "Hiragino Mincho ProN", ui-serif, serif}:root:lang(ko){--font-display:"Somian Display", "AppleMyungjo", ui-serif, serif}:root[data-font=sans]{--font-display:var(--font-ui);--display-weight:600}@font-face{font-family:Somian Display;src:url(/fonts/somian-display-latin.woff2)format("woff2");font-weight:300 700;font-style:normal;font-display:swap;unicode-range:U+0-24F,U+300-323,U+1E??,U+2000-206F,U+20AB-20AC,U+2122,U+2212}@font-face{font-family:Somian Display SC;src:url(/fonts/somian-display-sc-500.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}*{box-sizing:border-box}button,a,summary,label,[role=button]{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}html{background:var(--paper);scrollbar-width:none}html::-webkit-scrollbar{width:0;height:0;display:none}body::-webkit-scrollbar{width:0;height:0;display:none}body{min-width:320px;min-height:100dvh;color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;margin:0}button{font:inherit}:focus,:focus-visible,a:focus,a:focus-visible,button:focus,button:focus-visible,input:focus,input:focus-visible,textarea:focus,textarea:focus-visible,select:focus,select:focus-visible{outline-offset:0!important;box-shadow:none!important;outline:none!important}.workspace{background:var(--paper);width:min(100%,480px);min-height:100dvh;margin:0 auto}.phone-shell,.phone{min-height:100dvh}.phone{background:var(--paper);position:relative}.topbar{height:var(--topbar-h);padding:max(10px, calc(var(--safe-top,env(safe-area-inset-top)) - 6px)) 22px 4px;-webkit-backdrop-filter:none;backdrop-filter:none;z-index:20;background:0 0;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}h1{font-size:var(--t-display);letter-spacing:0;line-height:1.1;font-weight:var(--display-weight);font-family:var(--font-display);margin:0}.icon-button{width:42px;height:42px;color:var(--ink);background:rgba(var(--fg-rgb),.07);box-shadow:0 2px 16px rgba(var(--shade-rgb),.18);border:0;border-radius:50%;place-items:center;display:grid}.icon-button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.advisor-open{position:relative}.topbar-actions{gap:8px;display:flex}.topbar>div{position:relative;top:10px}.topbar>div:first-child{-webkit-tap-highlight-color:transparent;touch-action:manipulation;align-items:center;min-width:160px;min-height:52px;margin-left:-8px;padding:0 8px;display:flex}.topbar-secret{opacity:0;cursor:default;-webkit-tap-highlight-color:transparent;background:0 0;border:0;width:160px;padding:0;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}#screenTitle{z-index:1;-webkit-user-select:none;user-select:none;touch-action:manipulation;width:fit-content;position:relative}.melody-drawer{overscroll-behavior:contain;height:auto}.melody-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.melody-tile{border:1px solid rgba(var(--fg-rgb),.09);background:var(--surface);min-width:0;min-height:136px;color:var(--ink-2);text-align:center;border-radius:8px;flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;padding:14px 8px;display:flex;position:relative}.melody-tile.is-selected{border-color:var(--accent-text);color:var(--accent-text);background:rgba(var(--fg-rgb),.06)}.melody-tile-art{width:44px;height:44px;color:var(--teal);place-items:center;display:grid}.melody-tile:nth-child(3n) .melody-tile-art{color:var(--accent-text)}.melody-tile:nth-child(3n+1) .melody-tile-art{color:var(--ink-2)}.melody-tile-name{color:var(--ink-1);overflow-wrap:anywhere;font-size:13px;line-height:1.4}.melody-tile small{font-size:11px;line-height:1.3}.melody-tile-status{min-height:14px;color:var(--ink-3)}.melody-tile.is-selected .melody-tile-status{color:var(--accent-text)}.melody-tile-check{width:16px;height:16px;position:absolute;top:7px;right:7px}.melody-tile:disabled{cursor:wait}.melody-tile:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.melody-tile-skeleton{pointer-events:none;justify-content:flex-start}.melody-skeleton-art{background:rgba(var(--fg-rgb),.07);border-radius:50%;width:44px;height:44px}.melody-skeleton-line{background:rgba(var(--fg-rgb),.07);border-radius:5px;width:64%;height:10px;margin-top:4px}.melody-tile-skeleton>*{animation:1.2s ease-in-out infinite alternate melody-pulse}.melody-catalog-state{color:var(--ink-2);justify-content:center;align-items:center;gap:8px;margin:20px 0;font-size:13px;display:flex}.melody-catalog-state button{min-height:44px;color:var(--accent-text);background:0 0;border:0;align-items:center;gap:5px;display:inline-flex}.melody-catalog-state button:disabled{opacity:.65;cursor:wait}.melody-load-more{flex-direction:column;gap:2px;margin:12px 0 2px}.melody-notice{text-align:center;min-height:20px;color:var(--ink-2);margin:14px 0 0;font-size:12px}.melody-loading{animation:1s linear infinite melody-spin}@keyframes melody-spin{to{transform:rotate(360deg)}}@keyframes melody-pulse{0%{opacity:.42}to{opacity:1}}@media (prefers-reduced-motion:reduce){.melody-loading,.melody-tile-skeleton>*{animation:none}}.nap-mode-open{color:var(--sand)}.screen-stack{min-height:calc(100dvh - var(--topbar-h))}.app-screen{padding:0 20px calc(var(--tabbar-h) + 12px);display:none}.app-screen[data-screen=settings],.app-screen[data-screen=advisor]{padding-top:20px}.app-screen.active{flex-direction:column;gap:16px;animation:.22s ease-out both screen-in;display:flex}.app-screen[data-screen=tonight]{margin-top:calc(-1 * var(--topbar-h))}.app-screen[data-screen=tonight] .protocol-stage{min-height:calc(var(--stage-h) + var(--topbar-h))}.night-home-state{display:contents}.night-home-state>.protocol-stage,.night-home-state>.night-journey{transition:opacity .18s ease-out}.night-home-state.is-initializing>.protocol-stage,.night-home-state.is-initializing>.night-journey{opacity:0;pointer-events:none}.morning-recap{border:1px solid rgba(var(--accent-rgb),.18);background:linear-gradient(160deg,var(--bg-3),var(--bg-2));box-shadow:0 12px 34px rgba(var(--shade-rgb),.3);border-radius:20px;flex-direction:column;gap:16px;margin:10px 0 8px;padding:17px 18px 16px;display:flex}.recap-lede{align-items:center;gap:15px;display:flex}.recap-gauge{background:conic-gradient(var(--plum) 0 86%,rgba(var(--fg-rgb),.06) 86%);border-radius:50%;flex:none;place-content:center;width:64px;height:64px;display:grid;position:relative}.recap-gauge:before{background:var(--bg-2);content:"";border-radius:50%;position:absolute;inset:4px}.recap-gauge strong{z-index:1;color:var(--ink-1);font-size:var(--t-display);font-variant-numeric:tabular-nums;font-weight:400;line-height:1;font-family:var(--font-display);position:relative}.recap-copy{flex:auto;min-width:0}.recap-copy h2{color:var(--ink-1);font-size:var(--t-headline);margin:0;font-weight:600;line-height:1.35}.recap-meta{color:var(--ink-3);font-size:var(--t-callout);font-variant-numeric:tabular-nums;margin:6px 0 0;line-height:1.5}.recap-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.recap-options{flex-wrap:wrap;gap:7px;display:flex}.recap-options button{border:1px solid rgba(var(--accent-rgb),.2);min-height:31px;color:var(--ink-2);font-size:var(--t-callout);background:0 0;border-radius:999px;padding:0 14px;transition:color .2s,border-color .2s,background .2s}.recap-options button.active{color:var(--accent-ink);background:var(--accent);border-color:#0000;font-weight:600}.recap-options button[data-loading=true]{padding-inline:32px;position:relative}.recap-options button[data-loading=true]:after{content:"";border:2px solid #0000;border-color:#0000 #0000 currentColor currentColor;border-radius:50%;width:13px;height:13px;margin-top:-7px;animation:.82s linear infinite recap-loading-spin;position:absolute;top:50%;right:9px}@keyframes recap-loading-spin{to{transform:rotate(360deg)}}.recap-report{min-height:31px;color:var(--ink-3);font-size:var(--t-callout);background:0 0;border:0;flex:none;align-items:center;gap:2px;padding:0;display:flex}.recap-report b{font-size:var(--t-body);font-weight:400}@keyframes screen-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.protocol-stage{--stage-h:clamp(280px, calc(100dvh - var(--topbar-h) - var(--tabbar-h) - 204px - var(--recap-h,0px)), 640px);--canvas-w:min(calc(1.3 * min(100vw, 480px)), 520px, calc(var(--stage-h) * .96), calc(1.23 * (var(--stage-h) + var(--topbar-h) - var(--copy-h,125px) - 80px)));min-height:var(--stage-h);color:var(--ink-1);background:0 0;margin:0 -20px;padding:16px 22px 10px;position:relative;overflow:hidden}.protocol-stage:after{display:none}.stage-intro{z-index:3;color:var(--ink-2);font-size:var(--t-callout);justify-content:space-between;align-items:center;display:flex;position:relative}.stage-intro strong{font-weight:600}.stage-intro b{color:var(--ink-1);font-size:var(--t-headline);margin-left:5px}#sleepCanvas{width:var(--canvas-w);aspect-ratio:1;top:auto;left:50%;bottom:calc(14px + var(--copy-h,125px) + 16px - .19 * var(--canvas-w));opacity:.96;filter:saturate(1.08)contrast(1.02);transition:filter .32s,opacity .32s;position:absolute;transform:translate(-50%)}.protocol-stage.is-playing #sleepCanvas{opacity:1;filter:saturate(1.18)contrast(1.04)}.stage-copy{z-index:3;text-align:center;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:14px;left:22px;right:22px}.stage-fullscreen{border:1px solid rgba(var(--fg-rgb),.14);width:34px;height:34px;color:var(--ink-2);background:0 0;border-radius:50%;flex:none;place-items:center;padding:0;transition:color .2s,border-color .2s;display:grid}.stage-fullscreen svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.stage-fullscreen:hover{color:var(--ink-1);border-color:rgba(var(--fg-rgb),.26)}.stage-player{justify-content:center;align-items:center;gap:12px;width:max-content;max-width:100%;height:52px;display:none}.protocol-stage.is-playing .stage-player{display:flex}.protocol-stage.is-playing .stage-idle-controls{display:none}.stage-pause{border:1px solid rgba(var(--fg-rgb),.16);width:34px;height:34px;color:var(--ink-1);background:rgba(var(--fg-rgb),.06);border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.stage-pause i{border-left:3px solid;border-right:3px solid;width:9px;height:11px;display:block}.stage-pause.paused i{border:6px solid #0000;border-left:9px solid;border-right:0;width:0;height:0;transform:translate(2px)}.stage-volume{align-items:center;gap:0;display:flex}.stage-volume.open{gap:10px}.volume-toggle{border:1px solid rgba(var(--fg-rgb),.14);min-height:34px;color:var(--ink-2);background:0 0;border-radius:999px;align-items:center;gap:7px;padding:0 12px;display:flex}.volume-toggle svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.volume-toggle strong{font-size:var(--t-callout);font-variant-numeric:tabular-nums;font-weight:500}.stage-volume input{opacity:0;appearance:none;background:rgba(var(--fg-rgb),.16);pointer-events:none;border:0;border-radius:999px;width:0;min-width:0;height:3px;margin:0;padding:0;transition:width .32s cubic-bezier(.3,.7,.3,1),opacity .22s}.stage-volume.open input{opacity:1;pointer-events:auto;width:126px}.stage-volume.open .volume-toggle{color:var(--ink-1);border-color:rgba(var(--fg-rgb),.28)}.stage-volume input::-webkit-slider-thumb{appearance:none;background:var(--accent);border-radius:50%;width:12px;height:12px}@media (width<=360px){.stage-volume.open input{width:96px}}.stage-copy p{color:var(--ink-2);font-size:var(--t-callout);margin:0 0 8px}.stage-copy .plan-description{width:100%;max-width:100%;font-size:var(--t-callout);color:var(--ink-3);white-space:nowrap;margin:-4px 0 14px;line-height:1.5}.stage-copy .plan-description[hidden]{display:none}.stage-copy h2{white-space:nowrap;width:100%;max-width:min(355px,100%);color:var(--ink-1);font-size:var(--t-display);letter-spacing:0;line-height:1.2;font-weight:var(--display-weight);font-family:var(--font-display);margin:0 0 12px}.stage-idle-controls{justify-content:center;align-items:center;gap:10px;height:52px;display:flex}.wake-clock{border:1px solid rgba(var(--fg-rgb),.13);width:42px;height:42px;color:var(--ink-2);background:rgba(var(--fg-rgb),.025);border-radius:50%;flex:none;place-items:center;padding:0;display:grid;position:relative}.wake-clock svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.wake-clock.active,.sleep-wake-clock.active{color:var(--accent-text)}.stage-idle-controls .wake-clock{width:52px;height:52px}.stage-idle-controls .wake-clock svg{width:20px;height:20px}.stage-player .wake-clock{width:34px;height:34px}.stage-player .wake-clock svg{width:16px;height:16px}.hero-play-button{min-height:52px;color:var(--accent-ink);background:var(--fg);box-shadow:0 8px 24px rgba(var(--shade-rgb),.15);font-size:var(--t-headline);border:0;border-radius:999px;align-items:center;gap:11px;padding:0 21px;font-weight:600;display:inline-flex}.hero-play-button:disabled{opacity:.62;cursor:wait;box-shadow:none}.hero-play-button span,.play-button span{border-top:6px solid #0000;border-bottom:6px solid #0000;border-left:9px solid;width:0;height:0;transform:translate(1px)}.hero-play-button[aria-label^=暂停] span,.play-button.playing span{border:0;border-left:3px solid;border-right:3px solid;width:10px;height:12px;transform:none}.hero-play-button.playing{color:var(--ink-1);background:rgba(var(--accent-rgb),.22);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.24)}.section-label,.module-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-label span,.module-head p{color:var(--ink);font-size:var(--t-body);margin:0;font-weight:700}.section-label em,.module-head strong{color:var(--muted);font-size:var(--t-callout);font-style:normal;font-weight:600}.prescription-copy{color:var(--muted);font-size:var(--t-body);margin:0;line-height:1.6}.report-summary>div{background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:16px;padding:16px 13px}.report-summary span,.report-summary p,.prescription-grid span,.acoustic-grid span,.volume-row span,.phase-status span,.phase-status em,.pleasure-note span{color:var(--muted);font-size:var(--t-callout);font-style:normal;display:block}.night-journey,.blend-panel,.acoustic-blueprint,.music-layer,.volume-calibration,.why-panel,.questionnaire,.night-replay{background:var(--surface);box-shadow:var(--shadow);border-radius:18px;padding:20px}.night-journey{box-shadow:none;background:0 0;border-radius:0;padding:10px 2px 20px}.adaptive-journey{margin-top:-12px}.adaptive-phase-rail{gap:0;margin-top:4px;display:flex;position:relative}.adaptive-phase-rail button{width:var(--w);min-width:0;min-height:36px;color:var(--ink-3);text-align:left;background:0 0;border:0;align-content:start;gap:5px;padding:0 0 8px;display:grid}.adaptive-phase-rail button>i{background:linear-gradient(90deg,var(--accent),var(--accent));transform-origin:0;width:100%;height:7px;animation:.9s cubic-bezier(.22,.68,.3,1) both rail-in;display:block;position:relative}.adaptive-phase-rail button>i:after{border-radius:inherit}.adaptive-phase-rail button:first-child>i{border-radius:999px 0 0 999px}.adaptive-phase-rail button:last-child>i{border-radius:0 999px 999px 0}.adaptive-phase-rail button:nth-child(2)>i{animation-delay:.11s}.adaptive-phase-rail button:nth-child(3)>i{animation-delay:.22s}.adaptive-phase-rail button:nth-child(4)>i{animation-delay:.33s}.adaptive-phase-rail button>i:after{width:calc(100% - var(--phase-progress,0%));background:linear-gradient(90deg,var(--tone),var(--next));opacity:1;content:"";transition:width .64s cubic-bezier(.4,0,.2,1),opacity .4s;position:absolute;top:0;bottom:0;right:0}.adaptive-phase-rail button.completed>i:after{width:0}.adaptive-phase-rail button.previewed>i:after{filter:brightness(1.6)saturate(1.2);width:100%}.adaptive-phase-rail button.active{color:var(--ink-2)}.adaptive-phase-rail button.active>i{animation:.9s cubic-bezier(.22,.68,.3,1) both rail-in,3.8s ease-in-out .9s infinite phase-glow}.adaptive-phase-rail button.active>i:before{top:50%;left:var(--phase-progress,0%);z-index:2;background:var(--fg);width:9px;height:9px;box-shadow:0 0 0 3px rgba(var(--fg-rgb),.14),0 0 12px rgba(var(--fg-rgb),.5);content:"";border-radius:50%;margin:-4.5px 0 0 -4.5px;transition:left .64s cubic-bezier(.4,0,.2,1);position:absolute}.adaptive-phase-rail button strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:var(--t-caption);padding-right:8px;font-weight:400;transition:color .26s;overflow:hidden}.adaptive-phase-rail:after{background:linear-gradient(90deg,transparent,rgba(var(--fg-rgb),.15),transparent);pointer-events:none;content:"";background-repeat:no-repeat;background-size:38% 100%;border-radius:999px;height:7px;animation:7.5s ease-in-out 1.1s infinite rail-sheen;position:absolute;top:0;left:0;right:0}@keyframes rail-in{0%{opacity:0;transform:scaleX(.18)}to{opacity:1;transform:scaleX(1)}}@keyframes rail-sheen{0%{background-position:-42% 0}58%,to{background-position:142% 0}}@keyframes phase-glow{0%,to{box-shadow:0 0 9px color-mix(in srgb,var(--tone) 16%,transparent)}50%{box-shadow:0 0 20px color-mix(in srgb,var(--tone) 36%,transparent)}}.adaptive-phase-rail button span{font-size:var(--t-caption)}.adaptive-phase-rail button.active strong{font-weight:500}.section-label em>b{color:var(--ink-2);font-size:var(--t-caption);font-weight:600}.section-label em>span{color:var(--ink-3);font-size:var(--t-caption);margin-left:7px}.section-label em>i{color:var(--teal);font-size:var(--t-caption);font-variant-numeric:tabular-nums;margin-left:7px;font-style:normal}.adaptive-clock{height:15px;position:relative}.adaptive-clock em{top:0;left:clamp(20px, var(--rail-x,0%), calc(100% - 20px));color:var(--ink-3);font-size:var(--t-caption);font-variant-numeric:tabular-nums;white-space:nowrap;font-style:normal;font-weight:400;transition:left .64s cubic-bezier(.4,0,.2,1);position:absolute;transform:translate(-50%)}.adaptive-clock.is-preview em{transition:none;left:auto;right:0;transform:none}.journey-mix{gap:6px;margin-top:16px;display:grid}.nature-kind-row,.tonight-melody-row{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:10px;margin:14px -20px 0;padding:2px 20px 4px;scroll-padding:0 20px;display:flex;overflow-x:auto}.nature-kind-row{margin-top:27px}.nature-kind-row::-webkit-scrollbar{display:none}.tonight-melody-row::-webkit-scrollbar{display:none}.nature-kind-row button{border:1px solid var(--line);width:66px;height:66px;min-height:0;color:var(--ink-2);background:rgba(var(--fg-rgb),.02);font-size:var(--t-callout);scroll-snap-align:start;border-radius:16px;flex:none;align-content:center;justify-items:center;gap:6px;padding:0;display:grid}.nature-kind-row button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.nature-kind-row button.active{color:var(--accent);border:1.5px solid var(--accent);background:rgba(var(--accent-rgb),.1);font-weight:500}.nature-blend-stage{aspect-ratio:1;touch-action:none;cursor:grab;width:min(78%,280px);margin:40px auto 4px;position:relative}.nature-blend-stage.is-2{aspect-ratio:3.2;margin-top:34px;margin-bottom:26px}.nature-blend-stage>svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.nature-blend-stage polygon{fill:url(#natureBlendGlow);stroke:rgba(var(--accent-rgb),.32);stroke-width:.6px;stroke-linejoin:round;vector-effect:non-scaling-stroke}.nature-blend-stage line{stroke:rgba(var(--accent-rgb),.32);stroke-width:2px;stroke-linecap:round;vector-effect:non-scaling-stroke}.nature-blend-corner{pointer-events:none;justify-items:center;gap:6px;display:grid;position:absolute;transform:translate(-50%,-50%)}.nature-blend-corner i{width:46px;height:46px;color:var(--accent);background:var(--bg-1,var(--bg-0));border:1px solid rgba(var(--accent-rgb), calc(.25 + var(--share) * .6));box-shadow:0 0 calc(var(--share) * 22px) rgba(var(--accent-rgb), calc(var(--share) * .45));border-radius:50%;place-items:center;transition:box-shadow .12s,border-color .12s;display:grid}.nature-blend-corner i svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.nature-blend-corner b{color:var(--ink-2);font-size:var(--t-caption);white-space:nowrap;font-weight:500}.nature-blend-stage.is-3 .nature-blend-corner.is-0{grid-template-rows:auto auto;transform:translate(-50%,calc(-50% - 11px))}.nature-blend-stage.is-3 .nature-blend-corner.is-0 b{order:-1}.nature-blend-stage.is-3 .nature-blend-corner.is-1,.nature-blend-stage.is-3 .nature-blend-corner.is-2,.nature-blend-stage.is-2 .nature-blend-corner{transform:translate(-50%,calc(11px - 50%))}.nature-blend-anchor{background:var(--accent);width:24px;height:24px;box-shadow:0 0 0 7px rgba(var(--accent-rgb),.16), 0 0 22px rgba(var(--accent-rgb),.5);border-radius:50%;margin:-12px 0 0 -12px;position:absolute}.nature-blend-summary{flex-wrap:wrap;justify-content:center;gap:8px;min-height:30px;margin:12px 0 16px;display:flex}.nature-blend-summary span{background:rgba(var(--fg-rgb),.05);color:var(--ink-1);font-variant-numeric:tabular-nums;font-size:var(--t-caption);border-radius:999px;align-items:baseline;gap:6px;padding:4px 11px;display:inline-flex}.nature-blend-summary b{color:var(--ink-3);font-weight:400}.nature-blend-drawer .nature-blend-hint{color:var(--ink-3);font-size:var(--t-caption);text-align:center;margin:0;padding:56px 0 64px}.nature-blend-drawer .nature-blend-limit{color:var(--accent);font-size:var(--t-caption);text-align:center;margin:10px 0 0}.nature-blend-kinds{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 0;display:grid}.nature-blend-kinds button{border:1px solid var(--line);min-height:62px;color:var(--ink-2);background:rgba(var(--fg-rgb),.02);font-size:var(--t-caption);cursor:pointer;border-radius:16px;align-content:center;justify-items:center;gap:5px;padding:8px 4px;display:grid}.nature-blend-kinds button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.nature-blend-kinds button.active{color:var(--accent);border-color:rgba(var(--accent-rgb),.55);background:rgba(var(--accent-rgb),.1)}.nature-blend-done{width:100%}.nature-kind-row button.active svg{stroke-width:2px}.nature-kind-row .nature-switch-loading{animation:1s linear infinite melody-spin}.tonight-melody-row{margin-top:0}.tonight-melody-row button{aspect-ratio:1;border:1px solid var(--line);background:var(--bg-2);min-width:0;height:auto;min-height:0;color:var(--fg);text-align:center;font-size:var(--t-caption);scroll-snap-align:start;border-radius:16px;flex:0 0 calc(28.5714% - 8.57143px);padding:0;position:relative;overflow:hidden}.tonight-melody-row button .melody-artwork{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.tonight-melody-row button span{z-index:1;text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(rgba(var(--art-scrim-rgb),0),rgba(var(--art-scrim-rgb),.5) 45%,rgba(var(--art-scrim-rgb),.85));min-width:0;padding:18px 5px 8px;line-height:1.2;display:block;position:absolute;inset:auto 0 0;overflow:hidden}.tonight-melody-row button.active{border:1.5px solid var(--accent);font-weight:500}.tonight-melody-row button.more-melodies{color:var(--fg)}.tonight-melody-row button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.tonight-melody-row button:disabled{opacity:.6}.tonight-melody-row .melody-loading{z-index:2;width:26px;height:26px;color:var(--accent);animation:1s linear infinite melody-row-spin;position:absolute;inset:calc(50% - 13px) auto auto calc(50% - 13px)}@keyframes melody-row-spin{to{transform:rotate(360deg)}}.tonight-melody-error{color:var(--ink-2);font-size:var(--t-caption);margin:8px 0 0}.tonight-melody-error button{color:var(--accent);font:inherit;background:0 0;border:0;margin-left:8px}.nature-kind-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px 0 6px;display:grid}.nature-kind-grid button{border:1px solid var(--line);min-height:0;color:var(--ink-2);background:rgba(var(--fg-rgb),.02);font-size:var(--t-callout);white-space:nowrap;border-radius:16px;justify-items:center;gap:7px;padding:14px 6px 12px;transition:color .16s,background .16s,border-color .16s;display:grid}.nature-kind-grid button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.nature-kind-grid button.active{color:var(--accent);border:1.5px solid var(--accent);background:rgba(var(--accent-rgb),.1);font-weight:500}.nature-kind-grid button.active svg{stroke-width:2px}.tonight-fine-tune{grid-template-columns:minmax(0,1fr);gap:12px;padding:0 0 4px;display:grid}.tonight-audio-transition{min-width:0;color:var(--ink-3);font-size:var(--t-caption);text-align:right;flex:0 65%;justify-content:flex-end;align-items:center;gap:5px;padding:0;display:inline-flex}.tonight-audio-transition>svg{flex-shrink:0}.tonight-audio-transition.is-error{color:var(--rose)}.tonight-fine-tune-dials{min-width:0;display:flex}.tonight-fine-tune-dial-scroll{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;flex:1;gap:14px;min-width:0;margin:-6px -20px;padding:6px 20px;scroll-padding:0 20px;display:flex;overflow-x:auto}.tonight-fine-tune-dial-scroll::-webkit-scrollbar{display:none}.tonight-fine-tune-dials button{scroll-snap-align:start;width:58px;min-width:0;min-height:82px;color:var(--ink-3);cursor:pointer;background:0 0;border:0;border-radius:12px;flex:none;align-content:start;justify-items:center;gap:7px;padding:0 1px;transition:color .18s;display:grid}.tonight-fine-tune-dials button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.tonight-fine-tune-dials button.active{color:var(--accent)}.tonight-tune-dial{aspect-ratio:1;opacity:.5;border-radius:50%;place-items:center;width:52px;max-width:100%;transition:opacity .18s;display:grid;position:relative}.tonight-fine-tune-dials button.active .tonight-tune-dial{opacity:1}.tonight-tune-dial-ring{fill:none;stroke-width:6px;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.tonight-tune-dial-track{stroke:rgba(var(--fg-rgb),.12)}.tonight-tune-dial-progress{stroke:var(--dial-color);stroke-linecap:round}.tonight-tune-dial-center{width:calc(100% - 12px);height:calc(100% - 12px);color:var(--dial-color);background:var(--bg-0);border-radius:50%;place-items:center;display:grid}.tonight-tune-dial-label{width:100%;color:inherit;font-size:var(--t-caption);text-align:center;overflow-wrap:anywhere;line-height:1.2}.tonight-fine-tune-core{border:1px solid var(--line);background:rgba(var(--fg-rgb),.025);border-radius:18px;flex-direction:column;gap:8px;min-height:0;padding:11px 16px 13px;display:flex}.tonight-fine-tune-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:6px;margin-top:4px;display:grid}.tonight-fine-tune-row{color:var(--ink-2);font-size:var(--t-caption);grid-template-columns:minmax(0,1fr);gap:1px;padding:5px 0 0;display:grid}.tonight-fine-tune-row-head{justify-content:space-between;align-items:baseline;gap:12px;min-width:0;line-height:1.35;display:flex}.tonight-fine-tune-row-head>span{overflow-wrap:anywhere;min-width:0}.tonight-fine-tune-row.tonight-noise-tone input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--noise-white),var(--noise-pink) 50%,var(--noise-brown));height:9px}.tonight-fine-tune-row.tonight-noise-tone input[type=range]::-moz-range-track{background:linear-gradient(to right,var(--noise-white),var(--noise-pink) 50%,var(--noise-brown));height:9px}.tonight-fine-tune-row.tonight-noise-tone input[type=range]::-moz-range-progress{background:0 0}.tonight-fine-tune-row input[type=range]{appearance:none;cursor:pointer;touch-action:none;background:0 0;border:0;width:100%;min-width:0;height:36px;margin:0;padding:0}.tonight-fine-tune-row input[type=range]::-webkit-slider-runnable-track{border:1px solid rgba(var(--fg-rgb),.11);background:linear-gradient(to right,var(--dial-color,var(--accent)) 0%,var(--dial-color,var(--accent)) var(--slider-progress),rgba(var(--fg-rgb),.16) var(--slider-progress),rgba(var(--fg-rgb),.16) 100%);border-radius:999px;height:7px}.tonight-fine-tune-row input[type=range]::-moz-range-track{border:1px solid rgba(var(--fg-rgb),.11);background:rgba(var(--fg-rgb),.16);border-radius:999px;height:7px}.tonight-fine-tune-row input[type=range]::-moz-range-progress{background:var(--dial-color,var(--accent));border-radius:999px;height:7px}.tonight-fine-tune-row input[type=range]::-webkit-slider-thumb{border:3px solid var(--dial-color,var(--accent));appearance:none;background:var(--bg-0);width:22px;height:22px;box-shadow:0 0 0 3px rgba(var(--accent-rgb),.13),0 3px 9px rgba(var(--shade-rgb),.24);border-radius:50%;margin-top:-8px}.tonight-fine-tune-row input[type=range]::-moz-range-thumb{border:3px solid var(--dial-color,var(--accent));background:var(--bg-0);width:16px;height:16px;box-shadow:0 0 0 3px rgba(var(--accent-rgb),.13),0 3px 9px rgba(var(--shade-rgb),.24);border-radius:50%}.tonight-fine-tune-row input[type=range]:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:999px}.tonight-fine-tune-row output{color:var(--ink-3);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.tonight-fine-preview-group{display:contents}.tonight-fine-preview.is-active{font-weight:500}.tonight-fine-preview{min-height:40px;color:var(--accent);font-size:var(--t-caption);cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:5px;padding:0 2px;display:inline-flex}.tonight-tune-reset{max-width:62%;min-height:38px;color:var(--accent);font-size:var(--t-caption);text-align:right;cursor:pointer;background:0 0;border:0;flex:0 auto;justify-content:flex-end;align-items:center;gap:5px;margin-left:auto;padding:0 2px;line-height:1.25;display:inline-flex}.tonight-tune-reset svg{flex:none}.tonight-tune-reset:disabled{color:var(--ink-3);cursor:default;opacity:.65}.adaptive-mix{gap:6px;display:grid}.mix-scope{width:100%;height:30px;display:block}.adaptive-mix.has-scope .mix-bar{display:none}.mix-bar{align-items:center;gap:3px;height:18px;display:flex}.mix-bar i{width:var(--value);height:calc(5px + var(--level,0) * 11px);background:var(--tone,var(--teal));min-width:4px;box-shadow:0 0 calc(4px + var(--level,0) * 13px) color-mix(in srgb,var(--tone,var(--teal)) 22%,transparent);transform:translateY(calc((.5 - var(--level,0)) * 1px));transform-origin:50%;border-radius:999px;transition:width .54s cubic-bezier(.22,.76,.28,1),background .54s,height .52s cubic-bezier(.2,.9,.24,1),box-shadow .62s,transform .62s cubic-bezier(.2,.9,.24,1);display:block;position:relative;overflow:hidden}.mix-bar i:after{border-radius:inherit;background:linear-gradient(90deg, transparent, rgba(var(--fg-rgb),.34), transparent);opacity:.22;content:"";position:absolute;inset:0;transform:translate(-130%)}.night-home-state.is-playing .mix-bar i{animation:mix-breath calc(4.8s + var(--mix-order,0) * .42s) ease-in-out infinite;animation-delay:calc(var(--mix-order,0) * -.58s)}.night-home-state.is-playing .mix-bar i:after{animation:mix-glide calc(4.6s + var(--mix-order,0) * .36s) ease-in-out infinite;animation-delay:calc(var(--mix-order,0) * -.72s)}@keyframes mix-breath{0%,to{filter:saturate()brightness()}46%{filter:saturate(1.08)brightness(1.08)}}@keyframes mix-glide{0%,38%{transform:translate(-130%)}72%,to{transform:translate(130%)}}@media (prefers-reduced-motion:reduce){.night-home-state.is-playing .mix-bar i,.night-home-state.is-playing .mix-bar i:after{animation:none}}.mix-legend{flex-wrap:nowrap;justify-content:space-between;gap:0 6px;display:flex;overflow:hidden}.mix-legend.is-stacked{grid-template-columns:1fr 1fr;gap:4px 20px;display:grid;overflow:visible}.mix-legend span{min-width:0;color:var(--ink-3);font-size:var(--t-caption);flex:none;align-items:center;gap:0;display:flex}.mix-legend.is-stacked span{flex:auto}.mix-legend span:before{background:var(--tone,var(--teal));content:"";border-radius:50%;flex:none;width:4px;height:4px}.mix-legend b{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--ink-3);flex:none;margin-left:4px;font-weight:400;overflow:hidden}.mix-legend.is-stacked b{flex:auto}.mix-legend em{min-width:2ch;color:var(--ink-3);font-variant-numeric:tabular-nums;text-align:left;flex:none;margin-left:3px;font-style:normal}.mix-legend.is-stacked em{text-align:right}@keyframes evolution-breathe{0%,to{opacity:.45;box-shadow:0 0 0 0 rgba(var(--teal-rgb),0)}50%{opacity:1;box-shadow:0 0 0 5px rgba(var(--teal-rgb),.08)}}.prescription-card{color:var(--ink-1);background:linear-gradient(145deg, var(--accent), var(--accent-surface-2));box-shadow:0 15px 34px rgba(var(--accent-rgb),.16);border-radius:18px;padding:24px}.prescription-card .module-head p,.prescription-card .module-head strong,.prescription-card .prescription-copy,.prescription-card .prescription-grid span{color:var(--ink-2)}.prescription-card h2{font-size:var(--t-title);letter-spacing:0;line-height:1.25;font-family:var(--font-display);margin:16px 0 9px}.prescription-grid{border-top:1px solid rgba(var(--fg-rgb),.12);border-bottom:1px solid rgba(var(--fg-rgb),.12);grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0;padding:16px 0;display:grid}.prescription-grid strong{font-size:var(--t-callout);margin-top:5px;line-height:1.35;display:block}.primary-action,#replayButton{width:100%;min-height:48px;color:var(--accent-ink);background:var(--fg);border:0;border-radius:999px;font-weight:700}.primary-action:disabled{cursor:wait;opacity:.62}.protocol-picker{margin:6px -20px 0}.protocol-picker>.section-label{padding:0 20px}.protocol-scroll{scrollbar-width:none;scroll-snap-type:x proximity;grid-auto-columns:152px;grid-auto-flow:column;gap:10px;padding:14px 20px 6px;display:grid;overflow-x:auto}.protocol-scroll::-webkit-scrollbar{display:none}.protocol-scroll button{scroll-snap-align:start;text-align:left;min-height:104px;color:var(--ink);background:var(--surface);border:1px solid #0000;border-radius:16px;padding:15px;box-shadow:0 4px 18px #26242a0d}.protocol-scroll button.active{border-color:rgba(var(--accent-rgb),.5);background:var(--plum-soft)}.protocol-scroll button>span{background:linear-gradient(145deg,#8dbbb0,#675174);border-radius:50%;width:24px;height:24px;margin-bottom:11px;display:block}.protocol-scroll button:nth-child(2)>span{background:linear-gradient(145deg,#c69b7c,#604f4b)}.protocol-scroll button:nth-child(3)>span{background:linear-gradient(145deg,#d5a0a9,#8a6f9f)}.protocol-scroll strong,.protocol-scroll em{display:block}.protocol-scroll strong{font-size:var(--t-body)}.protocol-scroll em{color:var(--muted);font-size:var(--t-caption);margin-top:5px;font-style:normal}.blend-stack{gap:12px;margin-top:18px;display:grid}.blend-stack>div{font-size:var(--t-callout);grid-template-columns:92px 1fr 38px;align-items:center;gap:10px;display:grid}.blend-stack>div:before{width:calc(var(--size) * 1%);background:var(--tone);content:"";border-radius:999px;grid-column:2;min-width:12px;height:7px}.blend-stack>div span{color:var(--muted);grid-area:1/1}.blend-stack>div strong{text-align:right;grid-area:1/3}.acoustic-grid{background:var(--line);border-radius:12px;grid-template-columns:repeat(2,1fr);gap:1px;margin:16px 0;display:grid;overflow:hidden}.acoustic-grid>div{background:var(--bg-3);padding:14px}.acoustic-grid strong{font-size:var(--t-body);margin-top:5px;display:block}.phase-ladder{grid-template-columns:26fr 31fr 24fr 19fr;gap:3px;height:8px;margin-top:18px;display:grid}.phase-ladder span{color:#0000;background:var(--bg-5);border-radius:999px;font-size:0;overflow:hidden}.phase-ladder span.active{background:var(--plum)}.phase-status,.pleasure-note{grid-template-columns:88px 1fr auto;align-items:center;gap:6px;margin-top:12px;display:grid}.phase-status strong,.pleasure-note strong{font-size:var(--t-callout)}.pleasure-note{grid-template-columns:88px 1fr}.music-modes{background:var(--bg-0);border-radius:12px;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:14px;padding:4px;display:grid}.music-modes button{min-height:38px;color:var(--muted);background:0 0;border:0;border-radius:9px}.music-modes button.active{color:var(--ink);background:var(--bg-5);box-shadow:0 2px 10px rgba(var(--shade-rgb),.2);font-weight:600}.volume-row{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px;display:grid}.volume-row>div{background:var(--bg-3);border-radius:12px;padding:13px 14px}.volume-row strong{font-size:var(--t-headline);margin-top:5px;display:block}.recalibrate-volume{color:var(--accent-text);font-size:var(--t-caption);background:0 0;border:0;margin-top:13px;padding:5px 0;font-weight:600}.why-list{gap:0;margin-top:12px;display:grid}.why-list>div{border-top:1px solid var(--line);grid-template-columns:8px 1fr;gap:10px;padding:12px 0;display:grid}.why-list>div:first-child{border-top:0}.why-list span{background:var(--plum);border-radius:50%;width:7px;height:7px;margin-top:7px}.why-list p{color:var(--ink-2);font-size:var(--t-body);margin:0;line-height:1.5}.player-panel{min-height:72px;color:var(--ink-1);background:var(--bg-4);border-radius:18px;grid-template-columns:48px 1fr 72px;align-items:center;gap:12px;padding:11px 14px;display:grid}.play-button{width:46px;height:46px;color:var(--ink);background:var(--fg);border:0;border-radius:50%;place-items:center;display:grid}.player-panel>div:nth-child(2) strong,.player-panel>div:nth-child(2) span{display:block}.player-panel>div:nth-child(2) strong{font-size:var(--t-body)}.player-panel>div:nth-child(2) span{color:var(--ink-2);font-size:var(--t-caption);margin-top:4px}.wave-row{justify-content:flex-end;align-items:center;gap:3px;height:24px;display:flex}.wave-row span{background:var(--accent);border-radius:3px;width:3px}.wave-row span:first-child,.wave-row span:nth-child(5){height:8px}.wave-row span:nth-child(2),.wave-row span:nth-child(6){height:17px}.wave-row span:nth-child(3){height:23px}.wave-row span:nth-child(4){height:13px}.micro-feedback{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.micro-feedback button,.choice-row button{border:1px solid var(--line);min-height:42px;color:var(--ink);font-size:var(--t-callout);background:0 0;border-radius:999px}.micro-feedback button.active{color:var(--ink-1);border-color:var(--plum);background:var(--plum)}.evolution-screen{height:calc(100dvh - var(--topbar-h));padding-bottom:calc(var(--tabbar-h) + 30px);gap:0!important}.evolution-screen .sound-deck{min-height:0;width:min(100%, max(150px, calc(100dvh - var(--topbar-h) - var(--tabbar-h) - var(--sound-chrome))));flex:0 auto;margin:auto}.explore-lead{padding:26px 2px 13px}.explore-session{justify-content:space-between;align-items:center;gap:12px;display:flex}.explore-session span{color:var(--ink-2);font-size:var(--t-callout);align-items:center;gap:8px;font-weight:500;display:flex}.explore-session span b{font-weight:500}.explore-session span i{background:var(--teal);width:6px;height:6px;box-shadow:0 0 0 5px rgba(var(--teal-rgb),.08);border-radius:50%;animation:2.8s ease-in-out infinite evolution-breathe}.explore-lead em{color:var(--ink-3);font-size:var(--t-callout);font-variant-numeric:tabular-nums;font-style:normal}.explore-progress{background:var(--bg-4);height:2px;margin-top:12px;overflow:hidden}.explore-progress i{width:var(--progress,31%);background:linear-gradient(90deg,var(--teal),var(--accent));height:100%;transition:width .44s cubic-bezier(.4,0,.2,1);display:block}.sound-deck{perspective:900px;margin:0;padding:12px 0 0;position:relative}.sound-deck:before,.sound-deck:after{border:1px solid rgba(var(--fg-rgb),.13);background:var(--bg-1);content:"";border-radius:24px;position:absolute;inset:18px -8px -3px}.sound-deck:after{border-color:rgba(var(--accent-rgb),.15);background:var(--bg-2);inset:10px -4px 4px}.sound-card{transform-origin:50% 130%;aspect-ratio:1;border:1px solid rgba(var(--fg-rgb),.22);z-index:1;background:linear-gradient(160deg,var(--bg-2) 0%,var(--bg-1) 62%,var(--bg-1) 100%);min-height:0;box-shadow:0 18px 42px rgba(var(--shade-rgb),.3);touch-action:pan-y;-webkit-user-select:none;user-select:none;will-change:transform,opacity;border-radius:24px;flex-direction:column;padding:15px 16px 18px;display:flex;position:relative;overflow:hidden}.sound-card:before,.sound-card:after{z-index:3;color:rgba(var(--fg-rgb),.28);content:"‹";pointer-events:none;font-size:25px;line-height:1;position:absolute;top:45%}.sound-card:before{left:9px}.sound-card:after{content:"›";right:9px}.sound-card.dragging{cursor:grabbing}.sound-card-departing{z-index:5;pointer-events:none;width:100%;margin:0;position:absolute;top:8px;left:0}.sound-card-meta{z-index:2;justify-content:flex-end;align-items:center;gap:10px;display:flex;position:absolute;top:15px;left:16px;right:16px}.sound-card-meta>span{color:var(--ink-3);font-size:var(--t-callout)}.sound-art{flex:auto;place-items:center;min-height:0;margin:0 -16px;display:grid;position:relative}.sound-art:before{z-index:1;background:radial-gradient(circle,rgba(var(--fg-rgb),.07),rgba(var(--fg-rgb),0) 69%);content:"";pointer-events:none;border-radius:50%;width:108px;height:108px;position:absolute}.sound-art canvas{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}#soundPreview{border:1px solid rgba(var(--fg-rgb),.22);z-index:2;width:48px;height:48px;color:var(--ink-1);background:rgba(var(--bg-rgb),.72);box-shadow:0 10px 30px rgba(var(--shade-rgb),.24),0 0 0 7px rgba(var(--fg-rgb),.025);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:50%;place-content:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#soundPreview>span{border-top:6px solid #0000;border-bottom:6px solid #0000;border-left:9px solid;width:0;height:0;transform:translate(1px)}#soundPreview.playing>span{border:0;border-left:3px solid;border-right:3px solid;width:11px;height:14px;transform:none}:root[data-theme=dusk] .sound-deck{--card-bg:#101716;--card-back:#18201d;--card-fg:#eef1ec;--card-muted:#afbbb3;--card-fg-rgb:232,238,233;--card-bg-rgb:9,12,11}:root[data-theme=dusk] .sound-deck:before{background:var(--card-bg);border-color:rgba(var(--card-fg-rgb),.12)}:root[data-theme=dusk] .sound-deck:after{background:var(--card-back);border-color:rgba(var(--card-fg-rgb),.16)}:root[data-theme=dusk] .sound-card{background:linear-gradient(150deg,var(--explore-a,transparent),transparent 65%),linear-gradient(325deg,var(--explore-b,transparent),transparent 75%),var(--card-bg);border-color:var(--explore-c,rgba(var(--card-fg-rgb),.18));box-shadow:0 18px 42px rgba(var(--shade-rgb),.28)}:root[data-theme=dusk] .sound-card:before,:root[data-theme=dusk] .sound-card:after{color:rgba(var(--card-fg-rgb),.44)}:root[data-theme=dusk] .sound-card-meta>span{color:var(--card-muted)}:root[data-theme=dusk] .sound-art:before{background:radial-gradient(circle,rgba(var(--card-fg-rgb),.08),rgba(var(--card-fg-rgb),0) 69%)}:root[data-theme=dusk] #soundPreview{color:var(--card-fg);border-color:rgba(var(--card-fg-rgb),.34);background:rgba(var(--card-bg-rgb),.76);box-shadow:0 10px 30px rgba(var(--card-bg-rgb),.5),0 0 0 7px rgba(var(--card-fg-rgb),.04)}.sound-copy{padding:2px 2px 10px}.deck-empty .sound-copy,.deck-empty .sound-deck,.deck-empty .sound-response{display:none}.sound-deck-empty{border:1px solid var(--line);background:rgba(var(--fg-rgb),.02);border-radius:24px;margin:48px 2px 0;padding:28px 22px}.sound-deck-empty h3{font-size:var(--t-title);font-weight:var(--display-weight);font-family:var(--font-display);color:var(--ink-1);margin:0}.sound-deck-empty p{font-size:var(--t-body);color:var(--ink-3);margin:10px 0 0;line-height:1.6}.sound-copy h3{max-width:350px;font-size:var(--t-title);line-height:1.25;font-weight:var(--display-weight);color:var(--ink-1);-webkit-line-clamp:2;font-family:var(--font-display);-webkit-box-orient:vertical;margin:6px 0 0;display:-webkit-box;overflow:hidden}.sound-copy p{color:var(--ink-3);font-size:var(--t-callout);margin:0}.sound-copy .sound-melody{margin-top:8px}.sound-copy .sound-melody b{color:var(--ink-2);margin-left:6px;font-weight:500}.sound-response{padding:6px 0 0}.sound-reactions{grid-template-columns:repeat(3,1fr);align-items:start;gap:24px;min-height:74px;padding:0 12px;display:grid}.sound-reactions button{min-width:0;min-height:61px;color:var(--ink-3);font-size:var(--t-caption);background:0 0;border:0;place-content:start center;justify-items:center;gap:6px;padding:0;transition:color .18s,transform .18s;display:grid}.sound-reactions button svg{border:1px solid var(--bg-6);fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;border-radius:50%;width:54px;height:54px;padding:15px;transition:border-color .18s,background .18s,box-shadow .18s}.sound-reactions button.like{color:var(--accent-text)}.sound-reactions button.like svg{color:var(--accent-ink);border-color:var(--accent);background:var(--accent);box-shadow:0 8px 24px rgba(var(--accent-rgb),.12)}.sound-reactions button:disabled{color:var(--ink-4);transform:none}.sound-reactions button:disabled svg{border-color:var(--line);box-shadow:none;background:0 0}.sound-reactions button:disabled svg.sound-reaction-spinner{color:var(--accent-text);border-color:var(--accent)}.sound-reactions button.like:disabled svg.sound-reaction-spinner{color:var(--accent-ink);border-color:var(--accent);background:var(--accent);box-shadow:0 8px 24px rgba(var(--accent-rgb),.12)}.sound-reaction-spinner path{transform-box:view-box;transform-origin:50%;animation:.8s linear infinite sound-reaction-spin}@keyframes sound-reaction-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.sound-reaction-spinner path{animation:none}}.sound-reactions button:hover svg{border-color:currentColor}.sound-reactions button:active{transform:scale(.97)}.questionnaire h3{font-size:var(--t-title);font-family:var(--font-display);margin:20px 0 14px}.choice-row{gap:8px;display:grid}.report-hero{background:var(--bg-3);grid-template-columns:136px 1fr;align-items:center;gap:20px;margin:12px -20px 0;padding:26px 22px 30px;display:grid}.score-ring{background:conic-gradient(var(--plum) 0 86%,rgba(var(--fg-rgb),.09) 86%);border-radius:50%;align-content:center;justify-items:center;width:132px;height:132px;display:grid;position:relative}.score-ring:before{background:var(--bg-1);content:"";border-radius:50%;position:absolute;inset:8px}.score-ring>*{z-index:1;position:relative}.score-ring span,.score-ring em{color:var(--muted);font-size:var(--t-caption);font-style:normal}.score-ring strong{font-size:40px;line-height:1}.report-hero h2{font-size:var(--t-title);line-height:1.2;font-family:var(--font-display);margin:8px 0}.report-hero p{color:var(--ink-2);font-size:var(--t-callout);margin:0;line-height:1.5}.report-summary{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.report-summary strong{font-size:var(--t-headline);white-space:nowrap;margin:7px 0 5px;display:block}.report-summary p{color:var(--moss);margin:0}#replayCanvas{background:var(--bg-5);border-radius:12px;width:100%;height:112px;margin-top:14px}.melody-fade:before{background:linear-gradient(90deg,var(--amber) 0,var(--accent) 18%,rgba(var(--accent-rgb),.12) 42%,transparent 66%);content:"";position:absolute;inset:0}#replayButton{color:var(--accent-ink);background:var(--plum);margin-top:12px}@keyframes sheet-in{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.health-dialog{width:min(100%,480px);max-width:100%;min-height:min(58dvh,560px);padding:10px 24px calc(24px + var(--safe-bottom,env(safe-area-inset-bottom)));border:1px solid rgba(var(--fg-rgb),.1);color:var(--ink);background:rgba(var(--bg-rgb),.97);box-shadow:0 24px 80px rgba(var(--shade-rgb),.58);border-bottom:0;border-radius:24px 24px 0 0;margin:auto auto 0}.health-dialog[open]{animation:.26s ease-out both sheet-in;display:block;position:fixed}.health-dialog::backdrop{background:rgba(var(--shade-rgb),.62);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.health-dialog-head{justify-content:space-between;align-items:center;min-height:46px;display:flex}.health-dialog-head button{width:38px;height:38px;color:var(--ink-2);background:rgba(var(--fg-rgb),.055);font-size:var(--t-title);border:0;border-radius:50%;line-height:1}.health-state{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;margin:12px 0 18px;padding:14px 2px 16px;display:grid}.health-state-mark{border:1px solid rgba(var(--fg-rgb),.14);width:44px;height:44px;color:var(--ink-3);background:rgba(var(--fg-rgb),.025);border-radius:50%;place-items:center;display:grid}.health-state-mark svg{stroke-width:1.6px;width:21px;height:21px}.health-state[data-phase=ready] .health-state-mark,.health-state[data-phase=empty] .health-state-mark{color:var(--teal);border-color:rgba(var(--teal-rgb),.34);background:rgba(var(--teal-rgb),.08);box-shadow:0 0 28px rgba(var(--teal-rgb),.08)}.health-state[data-phase=requesting] .health-state-mark,.health-state[data-phase=syncing] .health-state-mark{color:var(--sand);border-color:rgba(var(--sand-rgb),.34);animation:1.2s ease-in-out infinite healthBusy}.health-state[data-phase=error] .health-state-mark{color:var(--rose);border-color:rgba(var(--rose-rgb),.34)}.health-state-copy strong,.health-state-copy span{display:block}.health-state-copy strong{color:var(--ink-1);font-size:var(--t-body);font-weight:600;line-height:1.25}.health-state[data-phase=ready] .health-state-copy strong,.health-state[data-phase=empty] .health-state-copy strong{color:var(--teal)}.health-state-copy span{color:var(--ink-3);font-size:var(--t-callout);margin-top:5px;font-weight:400;line-height:1.45}.health-dialog>h2{max-width:330px;font-size:var(--t-display);line-height:1.2;font-weight:var(--display-weight);font-family:var(--font-display);margin:12px 0 10px}.health-primary{width:100%;min-height:52px;color:var(--accent-ink);background:var(--fg);font:inherit;font-size:var(--t-headline);border:0;border-radius:999px;justify-content:center;align-items:center;gap:9px;font-weight:600;display:flex}.health-primary svg{stroke-width:2px;width:20px;height:20px}.health-primary-spinner{animation:.85s linear infinite healthSpin}.health-primary:disabled{opacity:.58}.health-privacy{min-height:18px;color:var(--ink-3);font-size:var(--t-callout);text-align:center;margin:12px 0 0;line-height:1.5}@keyframes healthSpin{to{transform:rotate(360deg)}}.checkin-dialog{border:1px solid rgba(var(--fg-rgb),.1);width:min(100% - 12px,468px);max-width:464px;max-height:min(88dvh,780px);color:var(--ink);background:rgba(var(--bg-rgb),.95);box-shadow:0 24px 70px rgba(var(--shade-rgb),.52);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:26px;margin:auto auto 6px;padding:0}.checkin-dialog[open]{animation:.24s ease-out both checkin-in;display:block;position:fixed}.checkin-dialog::backdrop{background:rgba(var(--shade-rgb),.58);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.checkin-dialog [hidden]{display:none!important}@keyframes checkin-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.checkin-shell{height:min(88dvh,780px);min-height:0;padding:0 22px calc(18px + var(--safe-bottom,env(safe-area-inset-bottom)));flex-direction:column;display:flex}.checkin-head{grid-template-columns:1fr 42px;align-items:center;gap:10px;min-height:76px;display:grid}.checkin-head>button{width:36px;height:36px;color:var(--ink-2);font-size:var(--t-display);background:0 0;border:0;grid-area:1/2}.checkin-head>strong{color:var(--ink-1);font-size:var(--t-title);font-weight:var(--display-weight);font-family:var(--font-display);grid-area:1/1}.checkin-head>em{display:none}.checkin-progress{background:var(--bg-3);height:2px;margin:0 -18px}.checkin-progress span{background:var(--accent);width:50%;height:100%;transition:width .26s;display:block}.chat-log{flex-direction:column;flex:1;gap:24px;padding:30px 0 22px;display:flex;overflow-y:auto}.chat-message{align-items:flex-start;gap:13px;max-width:94%;display:flex}.somain-avatar{background:radial-gradient(circle at 52% 52%, rgba(var(--fg-rgb),.12), transparent 38%), rgba(var(--bg-rgb),.74);width:38px;height:38px;box-shadow:inset 0 0 0 1px rgba(var(--fg-rgb),.07), 0 0 18px rgba(var(--teal-rgb),.13);border-radius:50%;flex:none;display:block;position:relative;overflow:hidden}.somain-avatar:after{border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.18);content:"";pointer-events:none;position:absolute;inset:0}.somain-avatar canvas{filter:saturate(1.18)contrast(1.08);width:100%;height:100%;display:block}.chat-message p{color:var(--ink-1);font-size:var(--t-headline);background:0 0;margin:0;padding:2px 4px;line-height:1.75}.chat-message p strong{color:var(--ink);font-size:var(--t-headline)}.chat-message.user{flex-direction:row-reverse;align-self:flex-end}.chat-message.user .somain-avatar{display:none}.chat-message.user p{color:var(--accent-ink);background:var(--accent);border-radius:16px 16px 4px;padding:12px 15px}.opening-message{max-width:390px;margin-top:2px}.chat-message.streaming p{position:relative}.chat-message.streaming p em{background:var(--fg);width:6px;height:6px;box-shadow:0 0 0 3px rgba(var(--fg-rgb),.12);content:"";border-radius:50%;animation:1s ease-in-out infinite streaming-pulse;position:absolute;bottom:12px;right:12px}.chat-message.thinking p{align-items:center;gap:5px;padding:15px 14px;display:flex}.chat-message.thinking i{background:var(--ink-2);border-radius:50%;width:5px;height:5px;animation:1.25s ease-in-out infinite thinking-dot}.chat-message.thinking i:nth-child(2){animation-delay:.16s}.chat-message.thinking i:nth-child(3){animation-delay:.32s}@keyframes thinking-dot{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes streaming-pulse{0%,to{opacity:.4;transform:scale(.9)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.chat-message.thinking i{opacity:.55;animation:none}.chat-message.streaming p em{opacity:.7;animation:none}}.assistant-profile li b{color:var(--ink-2);margin-right:8px;font-weight:500}.assistant-profile li span{gap:0;display:flex}.assistant-memory{padding:8px 0 0}.assistant-memory summary{font-size:var(--t-callout);color:var(--muted);cursor:pointer;padding:3px 0;list-style:none}.assistant-memory summary::-webkit-details-marker{display:none}.assistant-memory summary:before{content:"›";color:var(--ink-2);margin-right:6px;transition:transform .18s;display:inline-block}.assistant-memory[open] summary:before{transform:rotate(90deg)}.assistant-memory ul{flex-direction:column;gap:5px;max-height:132px;margin:6px 0 0;padding:0;list-style:none;display:flex;overflow-y:auto}.assistant-memory li{background:var(--bg-2);font-size:var(--t-callout);color:var(--ink-2);border-radius:8px;align-items:flex-start;gap:8px;padding:6px 8px;line-height:1.5;display:flex}.assistant-memory li.from-trial{color:var(--ink-2);border-left:2px solid rgba(var(--teal-rgb),.45)}.assistant-memory li span{overflow-wrap:anywhere;flex:auto;min-width:0}.assistant-memory li button{width:20px;height:20px;color:var(--ink-3);font-size:var(--t-body);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;padding:0;line-height:1}.assistant-memory li button:hover{color:var(--ink);background:var(--bg-4)}@media (prefers-reduced-motion:reduce){.assistant-memory summary:before{transition:none}}.chat-card{border:1px solid rgba(var(--fg-rgb),.14);background:var(--bg-2);overflow-wrap:anywhere;border-radius:16px;flex-direction:column;align-self:flex-start;gap:11px;width:calc(94% - 51px);min-width:0;margin-left:51px;padding:16px;display:flex}.chat-card>strong{color:var(--ink-1);font-size:var(--t-body);font-weight:600;line-height:1.5}.chat-card>ul{border-top:1px solid var(--line);flex-direction:column;gap:8px;margin:0;padding:10px 0 0;list-style:none;display:flex}.chat-card-actions{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-top:2px;padding-top:10px;display:flex}.chat-card-actions button{border:1px solid var(--accent);min-height:38px;color:var(--accent-ink);background:var(--accent);font-size:var(--t-callout);cursor:pointer;border-radius:10px;padding:0 14px;font-weight:600}.chat-card-actions button:disabled{border-color:var(--bg-4);color:var(--ink-3);background:var(--bg-4);cursor:default}.chat-tuning>span{font-size:var(--t-callout);color:var(--accent-text);font-weight:600;line-height:1.45}.chat-tuning li{font-size:var(--t-callout);color:var(--ink-1);align-items:baseline;gap:8px;display:flex}.chat-tuning li em{font-style:normal}.chat-tuning li i{font-style:normal;font-size:var(--t-caption);color:var(--ink-3)}.chat-card-actions button.tuning-undo{border-color:var(--line);color:var(--ink-2);background:0 0;font-weight:500}.chat-card-actions button.tuning-undo:hover{border-color:var(--bg-7);color:var(--ink-1)}.receipt-head{font-size:var(--t-callout);color:var(--ink-2);flex-wrap:wrap;align-items:baseline;gap:8px;font-weight:600;line-height:1.45;display:flex}.chat-receipt.promoted .receipt-head{color:var(--teal)}.receipt-head small{color:var(--ink-3);font-variant-numeric:tabular-nums;font-weight:400}.chat-receipt p{font-size:var(--t-callout);color:var(--ink-2);margin:0;line-height:1.55}.receipt-measure{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:baseline;gap:7px;padding-top:10px;display:flex}.receipt-measure em{font-style:normal;font-weight:600;font-size:var(--t-body);color:var(--ink-2)}.receipt-measure em:last-of-type{color:var(--ink)}.receipt-measure i{color:var(--ink-3);font-style:normal}.receipt-falsified{color:var(--ink-3)}.chat-proposal li{font-size:var(--t-callout);color:var(--ink-2);align-items:baseline;gap:8px;display:flex}.chat-proposal li span{flex:auto;min-width:0}.chat-proposal li em{color:var(--teal);font-variant-numeric:tabular-nums;font-style:normal;font-weight:600}.chat-proposal li small{color:var(--ink-3);font-variant-numeric:tabular-nums}.chat-proposal p{font-size:var(--t-callout);color:var(--ink-2);margin:0;line-height:1.55}.quick-answers{flex-wrap:wrap;gap:8px;padding:10px 0;display:flex}.quick-answers button{border:1px solid rgba(var(--accent-rgb),.24);min-height:38px;color:var(--ink-2);background:var(--bg-2);font-size:var(--t-callout);border-radius:999px;padding:0 14px}.checkin-compose{border:1px solid rgba(var(--fg-rgb),.1);background:rgba(var(--fg-rgb),.025);border-radius:18px;grid-template-columns:1fr 42px;gap:8px;min-height:58px;padding:7px;display:grid}.checkin-compose input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;padding:0 8px;font-size:16px}.checkin-compose input::placeholder{color:var(--ink-3)}.assistant-actions{justify-content:flex-end;display:flex}.checkin-shell>:not(.chat-log){flex-shrink:0}.checkin-shell .chat-log{min-height:0}#assistantStatus{font-size:var(--t-callout);color:var(--muted);line-height:1.6}#assistantStatus:empty{display:none}.chat-message p{overflow-wrap:anywhere;white-space:pre-wrap}.checkin-compose button{width:42px;height:42px;color:var(--accent-ink);background:var(--accent);font-size:var(--t-title);border:0;border-radius:12px}.checkin-compose button:disabled{color:var(--ink-3);background:var(--bg-4)}.checkin-compose button.composer-stop{color:var(--ink-1);background:var(--bg-6);font-size:var(--t-callout)}.checkin-compose button.composer-stop:hover{background:var(--accent-surface-2)}.checkin-result{flex:1;padding:24px 0 0}.checkin-result>span{color:var(--teal);font-size:var(--t-caption);font-weight:600}.checkin-result h2{font-size:var(--t-display);line-height:1.2;font-family:var(--font-display);margin:8px 0 20px}.result-signals{flex-wrap:wrap;gap:8px;display:flex}.result-signals span{color:var(--ink-2);background:var(--bg-3);font-size:var(--t-caption);border-radius:999px;padding:8px 11px}.result-plan{border:1px solid rgba(var(--accent-rgb),.18);background:var(--bg-2);border-radius:16px;margin:24px 0;padding:18px}.result-plan span,.result-plan strong,.result-plan em{display:block}.result-plan span{color:var(--accent-text);font-size:var(--t-caption)}.result-plan strong{font-size:var(--t-headline);margin:10px 0;line-height:1.45}.result-plan em{color:var(--teal);font-size:var(--t-caption);font-style:normal}#applyCheckin{width:100%;min-height:50px;color:var(--accent-ink);background:var(--accent);font-weight:600;font-size:var(--t-headline);border:0;border-radius:999px}.baseline-open{color:var(--accent-text);font-size:var(--t-callout);background:0 0;border:0;margin-top:14px;padding:5px 0;font-weight:600}.morning-signal{background:var(--surface);box-shadow:var(--shadow);border-radius:18px;padding:19px 18px 16px}.morning-signal>div:first-child{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.morning-signal>div:first-child span{color:var(--cyan);font-size:var(--t-caption)}.morning-signal>div:first-child strong{font-size:var(--t-body)}.morning-options{grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0 12px;display:grid}.morning-options button{border:1px solid var(--line);min-height:68px;color:var(--muted);background:var(--bg-1);font-size:var(--t-caption);border-radius:14px;place-items:center;gap:7px;padding:10px 5px;display:grid}.morning-options button i{border:2px solid;border-radius:50%;width:24px;height:24px;position:relative}.morning-options button i:after{content:"";border-bottom:2px solid;border-radius:50%;width:9px;height:3px;position:absolute;bottom:4px;left:6px}.morning-options button:first-child i:after{height:6px;transform:rotate(180deg)}.morning-options button:nth-child(3) i:after{bottom:3px;transform:rotate(180deg)}.morning-options button.active{border-color:rgba(var(--teal-rgb),.42);color:var(--teal);background:rgba(var(--teal-rgb),.11)}.morning-signal>p{color:var(--ink-3);font-size:var(--t-caption);margin:0;line-height:1.45}.nap-mode{width:min(100%,480px);max-width:480px;height:100dvh;max-height:none;color:var(--ink);background:var(--bg-0);border:0;margin:0 auto;padding:0}.nap-mode[open]{animation:.28s ease-out both sleep-mode-in;display:block;position:fixed;inset:0;overflow:hidden}.nap-mode::backdrop{background:var(--bg-0)}.nap-shell{height:100dvh;padding:max(12px,var(--safe-top,env(safe-area-inset-top))) 22px max(20px,calc(14px + var(--safe-bottom,env(safe-area-inset-bottom))));flex-direction:column;display:flex;overflow:hidden}.nap-head{grid-template-columns:42px 1fr auto;align-items:center;gap:10px;min-height:58px;display:grid}.nap-head>button{width:38px;height:38px;color:var(--ink-2);background:rgba(var(--fg-rgb),.055);font-size:var(--t-title);border:0;border-radius:50%}.nap-head>div{text-align:center}.nap-head span,.nap-head strong{display:block}.nap-head span{color:var(--ink-3);font-size:var(--t-caption)}.nap-head strong{color:var(--ink-1);font-size:var(--t-callout);margin-top:3px}.nap-head em{color:var(--ink-3);font-size:var(--t-caption);font-style:normal}.nap-setup{scrollbar-width:none;flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.nap-setup::-webkit-scrollbar{display:none}.nap-result::-webkit-scrollbar{display:none}.nap-intro{padding-top:22px}.nap-intro>span{color:var(--teal);font-size:var(--t-caption);font-weight:600}.nap-intro h2{max-width:360px;color:var(--ink-1);font-size:var(--t-display);line-height:1.16;font-weight:var(--display-weight);font-family:var(--font-display);margin:9px 0}.nap-intro p{color:var(--ink-3);font-size:var(--t-callout);margin:0;line-height:1.5}.nap-wake-row{border-top:1px solid var(--line);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;margin-top:20px;padding:14px 0;display:flex}.nap-wake-row>span,.nap-wake-row>span b,.nap-wake-row>span em{display:block}.nap-wake-row>span b{color:var(--ink-1);font-size:var(--t-callout);font-weight:600}.nap-wake-row>span em{color:var(--ink-3);font-size:var(--t-caption);margin-top:4px;font-style:normal}.nap-wake-row label{align-items:center;gap:7px;display:flex}.nap-wake-row input{field-sizing:content;width:auto;min-width:134px;max-width:220px;color:var(--ink-1);background:rgba(var(--fg-rgb),.08);cursor:pointer;font:600 27px/1 var(--font-ui);border:0;border-radius:14px;outline:0;padding:5px 14px}.nap-wake-row label>b{color:var(--ink-3);font-size:var(--t-caption);white-space:nowrap;font-weight:600}.nap-visual{flex:none;height:218px;margin:8px -8px 0;position:relative}#napCanvas{width:100%;height:100%;display:block}.nap-visual>div{pointer-events:none;place-content:center;justify-items:center;display:grid;position:absolute;inset:0}.nap-visual span{color:var(--ink-3);font-size:var(--t-caption)}.nap-visual strong{color:var(--ink-1);font-variant-numeric:tabular-nums;margin-top:6px;font-size:32px;font-weight:600;line-height:1}.nap-visual em{color:var(--ink-3);font-size:var(--t-caption);margin-top:8px;font-style:normal}.nap-plan{margin-top:0}.nap-plan>div:first-child{grid-template-columns:1fr auto;align-items:center;gap:5px 12px;display:grid}.nap-plan>div:first-child span{color:var(--sand);font-size:var(--t-caption)}.nap-plan>div:first-child strong{font-size:var(--t-title);font-family:var(--font-display);grid-row:2}.nap-plan>div:first-child em{color:var(--ink-3);font-size:var(--t-caption);grid-area:1/2/3;font-style:normal}.nap-plan>p{color:var(--ink-3);font-size:var(--t-caption);margin:11px 0 15px;line-height:1.5}.nap-timeline{gap:3px;height:7px;display:flex}.nap-timeline i{width:var(--w);background:var(--teal);border-radius:999px}.nap-timeline i:nth-child(2){background:var(--ink-3)}.nap-timeline i:nth-child(3){background:var(--amber)}.nap-timeline-labels{color:var(--ink-3);font-size:var(--t-caption);grid-template-columns:25fr 62.5fr 12.5fr;margin-top:7px;display:grid}.nap-timeline-labels span:nth-child(2){text-align:center}.nap-timeline-labels span:nth-child(3){text-align:right}.nap-timeline-labels b{color:var(--ink-2);white-space:nowrap;font-weight:600}.nap-actions{padding-bottom:max(2px,var(--safe-bottom,env(safe-area-inset-bottom)));background:var(--bg-0);margin:24px 0 0}.nap-primary{width:100%;min-height:52px;color:var(--accent-ink);background:var(--fg);font-size:var(--t-headline);border:0;border-radius:999px;justify-content:center;align-items:center;gap:10px;font-weight:600;display:flex}.nap-primary i{border-top:6px solid #0000;border-bottom:6px solid #0000;border-left:9px solid;width:0;height:0}.nap-mode.running .nap-primary i{border:0;border-left:3px solid;border-right:3px solid;width:9px;height:13px}.nap-end{width:100%;min-height:34px;color:var(--ink-3);font-size:var(--t-caption);background:0 0;border:0;margin-top:5px}.nap-actions>p{color:var(--ink-3);font-size:var(--t-caption);text-align:center;justify-content:center;align-items:center;gap:6px;margin:8px 0 0;display:flex}.nap-actions>p i{border:1px solid var(--ink-2);border-radius:50%;width:7px;height:7px;position:relative}.nap-actions>p i:after{border-right:1px solid var(--ink-2);border-bottom:1px solid var(--ink-2);content:"";width:2px;height:3px;position:absolute;top:1px;left:2px}.nap-result{flex-direction:column;flex:1;min-height:0;padding:54px 0 0;display:flex;overflow-y:auto}.nap-result>span{color:var(--cyan);font-size:var(--t-caption);font-weight:600}.nap-result h2{max-width:390px;font-size:var(--t-display);line-height:1.18;font-family:var(--font-display);margin:10px 0 12px}.nap-result>p{color:var(--ink-3);font-size:var(--t-callout);margin:0;line-height:1.55}.nap-result-metrics{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);margin:32px 0 26px;padding:18px 0;display:grid}.nap-result-metrics>div+div{border-left:1px solid var(--line);text-align:center}.nap-result-metrics span,.nap-result-metrics strong{display:block}.nap-result-metrics span{color:var(--ink-3);font-size:var(--t-caption)}.nap-result-metrics strong{font-size:var(--t-title);font-family:var(--font-display);margin-top:7px}.nap-feedback>span{font-size:var(--t-callout);font-weight:600}.nap-feedback>div{grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px;display:grid}.nap-feedback button{border:1px solid var(--line);min-height:42px;color:var(--ink-2);background:var(--bg-2);font-size:var(--t-caption);border-radius:12px}.nap-feedback button.active{border-color:rgba(var(--teal-rgb),.45);color:var(--ink-1);background:rgba(var(--teal-rgb),.1)}.nap-learning{border-left:2px solid var(--cyan);background:var(--bg-2);margin-top:18px;padding:16px}.nap-learning span,.nap-learning strong,.nap-learning em{display:block}.nap-learning span{color:var(--teal);font-size:var(--t-caption)}.nap-learning strong{font-size:var(--t-callout);margin:6px 0}.nap-learning em{color:var(--ink-3);font-size:var(--t-caption);font-style:normal}.nap-result>.nap-primary{flex:none;margin:auto 0 0}.sleep-mode{width:min(100%,480px);max-width:480px;height:100dvh;max-height:none;color:var(--ink);background:var(--bg-0);border:0;margin:0 auto;padding:0}.sleep-mode[open]{animation:.36s ease-out both sleep-mode-in;display:block;position:fixed;inset:0;overflow:hidden}.sleep-mode::backdrop{background:var(--bg-0)}@keyframes sleep-mode-in{0%{opacity:0}to{opacity:1}}.sleep-signals{color:var(--ink-3);font-size:var(--t-caption);font-variant-numeric:tabular-nums;margin:6px 0 0}.sleep-mode-shell{height:100dvh;padding:max(12px,var(--safe-top,env(safe-area-inset-top))) 28px max(14px,calc(10px + var(--safe-bottom,env(safe-area-inset-bottom))));flex-direction:column;display:flex;overflow:hidden}.sleep-mode-head{justify-content:center;align-items:center;height:44px;display:flex;position:relative}.sleep-mode-head button{width:38px;height:38px;color:var(--ink-2);background:rgba(var(--fg-rgb),.055);border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;right:0}.sleep-mode-head button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.sleep-mode-head>div{text-align:center}.sleep-mode-head span,.sleep-mode-head strong{display:block}.sleep-mode-head span{color:var(--ink-3);font-size:var(--t-caption)}.sleep-mode-head strong{color:var(--teal);font-size:var(--t-callout);margin-top:3px;font-weight:600}.sleep-visual{aspect-ratio:1;width:min(96vw,440px);margin:clamp(0px,1vh,12px) auto 0;position:relative}.sleep-engine{color:var(--teal);font-size:var(--t-callout);margin:8px 0 0;font-weight:600;display:block}.sleep-engine[hidden]{display:none}#sleepModeCanvas{opacity:.86;width:100%;height:100%}.sleep-now{text-align:center;margin-top:clamp(-26px,-3vh,-10px)}.sleep-now>span{color:var(--teal);font-size:var(--t-callout)}.sleep-now h2{max-width:340px;font-size:var(--t-title);line-height:1.22;font-weight:var(--display-weight);font-family:var(--font-display);margin:9px auto 7px}.sleep-now p{color:var(--ink-3);font-size:var(--t-callout);margin:0}.sleep-now p b{color:var(--ink-2);font-weight:600}.sleep-controls{grid-template-columns:44px 72px 44px;align-items:center;gap:24px;margin:clamp(20px,3.2vh,34px) auto 0;display:grid}.sleep-controls button{border:1px solid rgba(var(--fg-rgb),.08);width:44px;height:44px;color:var(--ink-2);background:rgba(var(--fg-rgb),.035);font-size:var(--t-title);border-radius:50%;place-items:center;padding:0;display:grid}.sleep-controls .sleep-pause{width:72px;height:72px;color:var(--accent-ink);background:var(--fg);box-shadow:0 10px 34px rgba(var(--shade-rgb),.3),0 0 0 1px rgba(var(--accent-rgb),.12);border-color:#0000}.sleep-pause i{border-left:4px solid;border-right:4px solid;width:15px;height:20px}.sleep-pause.paused i{border:9px solid #0000;border-left:14px solid;border-right:0;width:0;height:0;transform:translate(2px)}.sleep-night-actions{width:100%;margin:auto 0 0}.sleep-volume{width:100%;max-width:380px;color:var(--ink-3);grid-template-columns:24px 1fr 26px 34px;align-items:center;gap:10px;margin:0 auto 18px;display:grid}.sleep-volume-icon{place-items:center;width:24px;height:24px;display:grid}.sleep-volume-icon svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.sleep-volume input{appearance:none;background:linear-gradient(90deg,var(--teal) 0 var(--volume),rgba(var(--fg-rgb),.13) var(--volume) 100%);border-radius:999px;width:100%;height:3px;margin:0}.sleep-volume input::-webkit-slider-thumb{appearance:none;background:var(--accent);width:15px;height:15px;box-shadow:0 0 0 5px rgba(var(--accent-rgb),.08);border:0;border-radius:50%}.sleep-volume input::-moz-range-thumb{background:var(--accent);width:15px;height:15px;box-shadow:0 0 0 5px rgba(var(--accent-rgb),.08);border:0;border-radius:50%}.sleep-volume strong{color:var(--ink-2);font-size:var(--t-caption);font-variant-numeric:tabular-nums;text-align:right}.sleep-wake-clock{border:1px solid rgba(var(--fg-rgb),.1);width:34px;height:34px;color:var(--ink-3);background:0 0;border-radius:50%;place-items:center;padding:0;display:grid;position:relative}.sleep-wake-clock svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.wake-action{border:0;border-top:1px solid rgba(var(--fg-rgb),.08);border-bottom:1px solid rgba(var(--fg-rgb),.08);width:100%;min-height:64px;color:var(--ink-2);text-align:left;background:0 0;border-radius:0;align-items:center;gap:13px;margin:0;padding:12px 4px;display:flex;position:relative}.wake-action:after{border-top:1px solid var(--ink-3);border-right:1px solid var(--ink-3);content:"";width:7px;height:7px;position:absolute;right:7px;transform:rotate(45deg)}.wake-action>i{border:1px solid var(--ink-3);border-radius:50%;width:32px;height:32px;position:relative}.wake-action>i:after{border-right:1px solid var(--fg);border-bottom:1px solid var(--fg);content:"";width:9px;height:9px;position:absolute;top:7px;left:10px;transform:rotate(45deg)}.wake-action strong,.wake-action em{display:block}.wake-action strong{font-size:var(--t-callout);font-weight:600}.wake-action em{color:var(--ink-3);font-size:var(--t-caption);margin-top:3px;font-style:normal}.wake-action.active{color:var(--ink-1);border-color:rgba(var(--teal-rgb),.2);background:rgba(var(--teal-rgb),.035)}#finishSleepSession{width:max-content;min-height:36px;color:var(--accent-text);font:inherit;font-size:var(--t-caption);background:0 0;border:0;margin:10px auto 0;padding:7px 10px;display:block}@media (height<=760px){.stage-copy{bottom:18px}.nap-intro{padding-top:12px}.nap-intro h2{font-size:var(--t-display);font-family:var(--font-display);margin:7px 0}.nap-wake-row{margin-top:12px;padding:11px 0}.nap-visual{height:172px}.nap-plan>p{margin:8px 0 11px}.nap-actions{margin-top:16px}.nap-result{padding-top:28px}.sleep-visual{width:min(84vw,360px);margin-top:0}.sleep-controls,.sleep-night-actions{margin-top:18px}.sleep-volume{margin-bottom:12px}.wake-action{min-height:56px}#finishSleepSession{margin-top:5px}}.baseline-dialog{width:min(100%,480px);max-width:480px;height:100dvh;max-height:none;color:var(--ink);background:var(--bg-0);border:0;margin:0 auto;padding:0}.baseline-dialog[open]{animation:.32s ease-out both baseline-in;display:block;position:fixed;inset:0;overflow:hidden}.baseline-dialog::backdrop{background:var(--bg-0)}body:has(.baseline-dialog[open]){overflow:hidden}.baseline-dialog [hidden]{display:none!important}@keyframes baseline-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.baseline-shell{height:100dvh;min-height:0;padding:max(10px,calc(var(--safe-top,env(safe-area-inset-top)) - 6px)) 22px max(24px,calc(16px + var(--safe-bottom,env(safe-area-inset-bottom))));flex-direction:column;display:flex;overflow:hidden}.baseline-head{grid-template-columns:64px 1fr 64px;align-items:center;height:64px;display:grid}.baseline-head button{width:44px;height:44px;color:var(--ink-3);background:0 0;border:0;border-radius:50%;font-size:0;transition:color .16s,background .16s,transform .16s;position:relative}.baseline-head button:before{content:"";border-bottom:2px solid;border-right:2px solid;width:11px;height:11px;margin:auto;position:absolute;inset:0;transform:translate(2px)rotate(135deg)}.baseline-head button:active{color:var(--ink-1);background:rgba(var(--fg-rgb),.08);transform:scale(.94)}.baseline-head button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.baseline-brand{min-width:0;color:var(--ink-1);justify-content:center;align-items:center;gap:10px;display:inline-flex}.baseline-brand-mark{background:url(/somian-somian-mark-compact.svg) 50%/contain no-repeat;flex:0 0 34px;width:34px;height:34px;display:block}.baseline-brand strong{font-size:var(--t-headline);font-weight:600;line-height:1}.baseline-head em{color:var(--ink-3);font-size:var(--t-callout);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-style:normal}.baseline-head-intro{grid-template-columns:1fr}.baseline-head-intro .baseline-brand{justify-self:center}.baseline-head-intro>:is(button,em)[hidden]{display:none}.baseline-progress{background:var(--bg-3);height:2px;margin:12px -22px 0}.baseline-progress i{background:var(--accent);width:33.333%;height:100%;transition:width .26s;display:block}.baseline-step{overscroll-behavior:contain;scrollbar-width:none;flex-direction:column;flex:1;min-height:0;padding:24px 0 0;display:flex;overflow-y:auto}.baseline-step::-webkit-scrollbar{display:none}.baseline-copy h2,.baseline-result h2{color:var(--ink-1);font-size:var(--t-display);line-height:1.25;font-weight:var(--display-weight);font-family:var(--font-display);margin:0 0 12px}.baseline-copy p,.baseline-result>p{color:var(--ink-3);font-size:var(--t-body);margin:0;line-height:1.55}.baseline-shell-intro .baseline-step{padding-top:clamp(58px,10vh,96px)}.baseline-intro-copy{max-width:390px}.baseline-intro-copy h2{margin-top:0;font-size:clamp(42px,6vh,54px);line-height:1.2}.baseline-intro-copy p{max-width:340px;margin-top:22px}.signal-permissions{border-top:1px solid var(--line);margin-top:38px}.signal-permissions>:is(div,button){border:0;border-bottom:1px solid var(--line);width:100%;min-height:78px;color:var(--ink);text-align:left;font:inherit;background:0 0;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;padding:14px 0;display:grid}.signal-permissions>:is(div,button)>i{border:1px solid var(--bg-8);width:28px;height:28px;color:var(--teal);font-size:var(--t-callout);font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;font-style:normal;font-weight:600;display:grid}.signal-permissions>button[hidden]{display:none}.signal-permissions p{margin:0}.signal-permissions p strong,.signal-permissions p span{display:block}.signal-permissions p strong{font-size:var(--t-body)}.signal-permissions p span{color:var(--ink-3);font-size:var(--t-caption);margin-top:4px}.signal-permissions em{color:var(--teal);font-size:var(--t-caption);white-space:nowrap;font-style:normal}.health-source:disabled{opacity:.72}.baseline-actions{z-index:2;background:var(--bg-0);gap:8px;margin:auto 0 0;padding:16px 0 0;display:grid;position:sticky;bottom:0}.baseline-actions .baseline-secondary{min-height:44px;color:var(--ink-3);font-size:var(--t-callout);background:0 0;border:0;padding:0}.health-connect-state{border:1px solid var(--line);border-radius:16px;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;margin-top:34px;padding:16px;display:grid}.health-connect-state>i{background:var(--bg-8);width:10px;height:10px;box-shadow:0 0 0 4px rgba(var(--fg-rgb),.04);border-radius:50%;justify-self:center}.health-connect-state[data-tone=on]>i{background:var(--teal);box-shadow:0 0 0 4px rgba(var(--teal-rgb),.16)}.health-connect-state[data-tone=busy]>i{background:var(--sand);box-shadow:0 0 0 4px rgba(var(--sand-rgb),.16);animation:1.2s ease-in-out infinite healthBusy}.health-connect-state p{margin:0}.health-connect-state strong,.health-connect-state span{display:block}.health-connect-state strong{font-size:var(--t-body)}.health-connect-state span{color:var(--ink-3);font-size:var(--t-caption);margin-top:4px;line-height:1.45}@keyframes healthBusy{0%,to{opacity:.55}50%{opacity:1}}.baseline-primary{width:100%;min-height:52px;color:var(--accent-ink);background:var(--fg);font-size:var(--t-headline);border:0;border-radius:999px;font-weight:600}.baseline-primary:disabled{opacity:.55}.health-next-pending{opacity:.55;pointer-events:none}.baseline-skip{min-height:40px;color:var(--ink-3);font-size:var(--t-callout);background:0 0;border:0}.baseline-choices{gap:8px;margin-top:34px;display:grid}.baseline-choices button{min-height:76px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:30px 1fr;align-items:center;gap:12px;padding:13px 4px;display:grid}.baseline-choices button>i{border:1px solid var(--bg-8);border-radius:50%;width:22px;height:22px;position:relative}.baseline-choices button.active>i:after{background:var(--accent);content:"";border-radius:50%;width:10px;height:10px;position:absolute;inset:5px}.baseline-choices strong,.baseline-choices em{display:block}.baseline-choices strong{color:var(--ink-1);font-size:var(--t-headline);font-weight:500}.baseline-choices em{color:var(--ink-3);font-size:var(--t-callout);margin-top:4px;font-style:normal}.aesthetic-choices{--art-rgb:var(--accent-rgb);gap:16px;margin-top:24px;display:grid}.aesthetic-choices button{--art:rgb(var(--art-rgb));border:1px solid var(--line);min-width:0;min-height:clamp(120px,15dvh,136px);color:var(--ink);background:linear-gradient(120deg,rgba(var(--art-rgb),.12),var(--bg-2) 58%);text-align:left;border-radius:20px;grid-template-columns:62px minmax(0,1fr) 46px;align-items:center;gap:14px;padding:22px 16px 22px 14px;transition:border-color .22s,background .22s,transform .22s;display:grid}.aesthetic-choices button[data-baseline-sound=melody]{--art-rgb:var(--sand-rgb)}.aesthetic-choices button[data-baseline-sound=blend]{--art-rgb:var(--teal-rgb)}.aesthetic-choices button[data-baseline-sound=nature]{--art-rgb:var(--moss-rgb)}.aesthetic-choices button.active{border-color:rgba(var(--art-rgb),.6);background:linear-gradient(120deg,rgba(var(--art-rgb),.24),var(--bg-2) 62%);box-shadow:0 12px 34px rgba(var(--shade-rgb),.28),inset 0 0 0 1px rgba(var(--art-rgb),.18)}.aesthetic-choices button:active{transform:scale(.985)}.sound-choice-art{width:62px;height:62px;color:var(--art);background:0 0;place-items:center;display:grid;position:relative}.sound-choice-art svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:54px;height:54px;overflow:visible}.sound-choice-art ellipse{fill:currentColor;stroke:none}.sound-choice-art .art-leaf{fill:rgba(var(--art-rgb),.22)}.sound-choice-art .art-wave{opacity:.7;stroke-dasharray:6 7;animation:3.2s linear infinite artWave}.sound-choice-art .art-note{transform-box:fill-box;transform-origin:50%;animation:3s ease-in-out infinite artFloat}.sound-choice-art .n2{animation-delay:-1s}.sound-choice-art .n3{animation-delay:-2s}.sound-choice-art .art-ripple{opacity:.75;transform-box:fill-box;transform-origin:50%;animation:3.6s ease-out infinite artRipple}.sound-choice-art .r2{animation-delay:-1.2s}.sound-choice-art .r3{animation-delay:-2.4s}.sound-choice-art .art-drop{opacity:0;animation:2.4s linear infinite artDrop}.sound-choice-art .d2{animation-delay:-.6s}.sound-choice-art .d3{animation-delay:-1.2s}.sound-choice-art .d4{animation-delay:-1.8s}.sound-choice-art .art-leaf,.sound-choice-art .art-vein{transform-box:fill-box;transform-origin:50% 100%;animation:4.2s ease-in-out infinite artSway}.sound-play{background:rgba(var(--fg-rgb),.92);width:46px;height:46px;box-shadow:0 6px 18px rgba(var(--shade-rgb),.32);border-radius:50%;place-items:center;transition:transform .16s,background .16s;display:grid}.sound-play:after{border-top:7px solid #0000;border-bottom:7px solid #0000;border-left:12px solid var(--bg-4);content:"";width:0;height:0;transform:translate(2px)}.aesthetic-choices button.playing .sound-play{background:var(--art)}.aesthetic-choices button.playing .sound-play:after{border:0;border-left:4px solid var(--bg-2);border-right:4px solid var(--bg-2);width:12px;height:14px;transform:none}.aesthetic-choices button:active .sound-play{transform:scale(.94)}.sound-choice-art svg{filter:drop-shadow(0 0 6px rgba(var(--art-rgb),.28))}.aesthetic-choices button.playing .sound-choice-art svg{animation:1.8s ease-in-out infinite artGlow}.aesthetic-choices button.playing .sound-choice-art .art-note,.aesthetic-choices button.playing .sound-choice-art .art-ripple,.aesthetic-choices button.playing .sound-choice-art .art-drop,.aesthetic-choices button.playing .sound-choice-art .art-wave,.aesthetic-choices button.playing .sound-choice-art .art-leaf,.aesthetic-choices button.playing .sound-choice-art .art-vein{animation-duration:1.4s}.sound-text{min-width:0;display:block}.sound-text strong,.sound-text>span{display:block}.sound-text strong{color:var(--ink-1);font-size:var(--t-body);font-weight:600;line-height:1.3}.sound-text>span{color:var(--ink-3);font-size:var(--t-callout);margin-top:2px;line-height:1.35}.sound-meter{color:var(--ink-3);font-size:var(--t-caption);letter-spacing:.02em;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:10px;font-style:normal;display:grid}.sound-meter i{background:linear-gradient(90deg,var(--art) 0 calc(var(--v,0) * 100%),transparent calc(var(--v,0) * 100%) calc(var(--v,0) * 100% + 2px),rgba(var(--art-rgb),.3) calc(var(--v,0) * 100% + 2px));border-radius:3px;height:5px}@keyframes artFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-3.5px)}}@keyframes artWave{to{stroke-dashoffset:-26px}}@keyframes artRipple{0%{opacity:.9;transform:scale(.55)}to{opacity:0;transform:scale(1.25)}}@keyframes artDrop{0%{opacity:0;transform:translateY(-6px)}20%{opacity:.9}80%{opacity:.5}to{opacity:0;transform:translateY(30px)}}@keyframes artSway{0%,to{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}@keyframes artGlow{0%,to{filter:drop-shadow(0 0 6px rgba(var(--art-rgb),.28))}50%{filter:drop-shadow(0 0 14px rgba(var(--art-rgb),.75))}}@media (prefers-reduced-motion:reduce){.sound-choice-art *,.sound-choice-art{animation:none!important}.sound-choice-art .art-drop{opacity:.6}}@media (width<=360px){.aesthetic-choices button{grid-template-columns:54px minmax(0,1fr) 42px;gap:10px;padding-inline:10px}.sound-choice-art{width:54px;height:54px}.sound-choice-art svg{width:48px;height:48px}.sound-play{width:42px;height:42px}}.baseline-kinds{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.baseline-kinds button{border:1px solid var(--line);min-width:0;min-height:64px;color:var(--ink-2);background:rgba(var(--fg-rgb),.02);font-size:var(--t-body);text-align:left;border-radius:18px;align-items:center;gap:12px;padding:0 14px;transition:color .16s,background .16s,border-color .16s,transform .16s;display:flex}.baseline-kinds button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:26px;height:26px}.baseline-kinds button span{overflow-wrap:anywhere;min-width:0}.baseline-kinds button.active{color:var(--accent-ink);background:var(--accent);border-color:#0000;font-weight:600}.baseline-kinds button.active svg{stroke-width:2px}.baseline-kinds button:active{transform:scale(.985)}.baseline-volume{flex:1;align-content:center;justify-items:center;gap:32px;min-height:0;padding:24px 0;display:grid}.baseline-volume-level{align-items:flex-end;gap:8px;height:96px;display:flex}.baseline-volume-level i{width:14px;height:calc(20px + var(--i,0) * 9px);background:rgba(var(--fg-rgb),.08);border-radius:7px;transition:background .22s}.baseline-volume-level i.on{background:var(--accent)}.baseline-volume-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid}.baseline-volume-steps button{border:1px solid var(--line);min-height:52px;color:var(--ink-2);background:rgba(var(--fg-rgb),.02);font-size:var(--t-body);border-radius:16px;padding:0 12px;transition:opacity .16s,transform .16s}.baseline-volume-steps button:active{transform:scale(.985)}.baseline-volume-steps button:disabled{opacity:.38}.baseline-result{touch-action:pan-y;overscroll-behavior-x:none;scrollbar-width:none;flex-direction:column;flex:1;min-height:0;padding:20px 0 0;display:flex;overflow:hidden auto}.baseline-result::-webkit-scrollbar{display:none}.baseline-result>h2{max-width:390px;margin-top:0}.baseline-result>p{margin-bottom:0}.baseline-generated-print{aspect-ratio:1;flex:none;width:min(76%,220px,max(150px,100dvh - 650px));margin:0 auto 10px}.baseline-generated-print canvas{width:100%;height:100%;display:block;transform:scale(1.2)}.baseline-result>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;min-height:62px;display:flex}.baseline-result>div span{color:var(--ink-3);font-size:var(--t-callout)}.baseline-result>div strong{font-size:var(--t-callout);text-align:right}.baseline-result>button{z-index:2;flex:none;margin-top:auto;position:sticky;bottom:0}.baseline-result>#baselineSaveStatus{font-size:var(--t-callout);text-align:center;margin:auto 0 12px}.baseline-result>#baselineSaveStatus:empty{display:none}.baseline-result>#baselineSaveStatus+button{margin-top:0}.calibration-dialog{width:min(100%,480px);max-width:480px;height:100dvh;max-height:none;color:var(--ink);background:var(--bg-0);border:0;margin:0 auto;padding:0}.calibration-dialog[open]{animation:.28s ease-out both baseline-in;display:block;position:fixed;inset:0;overflow:hidden}.calibration-dialog::backdrop{background:var(--bg-0)}.calibration-dialog [hidden]{display:none!important}.calibration-shell{min-height:100dvh;padding:max(10px,var(--safe-top,env(safe-area-inset-top))) 22px calc(20px + var(--safe-bottom,env(safe-area-inset-bottom)));flex-direction:column;display:flex}.calibration-head{grid-template-columns:42px 1fr 72px;align-items:center;height:58px;display:grid}.calibration-head button{width:38px;height:38px;color:var(--ink-3);background:rgba(var(--fg-rgb),.055);font-size:var(--t-title);border:0;border-radius:50%}.calibration-head span{color:var(--ink-2);font-size:var(--t-callout);text-align:center;font-weight:600}.calibration-head em{color:var(--ink-3);font-size:var(--t-callout);text-align:right;font-style:normal}.calibration-copy{padding-top:38px}.calibration-copy>span{color:var(--teal);font-size:var(--t-callout);font-weight:600}.calibration-copy h2{font-size:var(--t-display);line-height:1.15;font-weight:var(--display-weight);font-family:var(--font-display);margin:10px 0 12px}.calibration-copy p{color:var(--ink-3);font-size:var(--t-body);margin:0;line-height:1.55}.room-meter{place-items:center;width:250px;height:250px;margin:34px auto 20px;display:grid;position:relative}.room-meter>i{border:1px solid rgba(var(--teal-rgb),.15);border-radius:50%;animation:2.4s ease-in-out infinite meter-breathe;position:absolute;inset:0}.room-meter>i:nth-child(2){animation-delay:-.8s;inset:24px}.room-meter>i:nth-child(3){animation-delay:-1.6s;inset:52px}@keyframes meter-breathe{50%{opacity:.42;transform:scale(.96)}}.room-meter>div{background:radial-gradient(circle,rgba(var(--teal-rgb),.16),rgba(var(--teal-rgb),.035) 62%,transparent 64%);text-align:center;border-radius:50%;grid-template-columns:auto auto;place-content:center;align-items:baseline;column-gap:4px;width:138px;height:138px;display:grid}.room-meter strong{font-size:48px;font-weight:600;line-height:1}.room-meter div>span{color:var(--ink-3);font-size:var(--t-callout)}.room-meter em{color:var(--ink-3);font-size:var(--t-caption);grid-column:1/-1;margin-top:8px;font-style:normal}.room-meter.ready>i{border-color:rgba(var(--teal-rgb),.2);animation:none}.calibration-visual{pointer-events:none;flex:auto;place-items:center;min-height:0;margin:6px -28px 0;display:grid}#calibrationCanvas{aspect-ratio:1;opacity:.92;width:min(100%,340px);height:auto;transition:opacity .4s;display:block}.calibration-visual.idle #calibrationCanvas{opacity:.32}.calibration-target{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(2,1fr);width:100%;max-width:330px;margin:0 auto;padding:14px 0;display:grid}.calibration-target>div+div{border-left:1px solid var(--line);text-align:right}.calibration-target span,.calibration-target strong{display:block}.calibration-target span{color:var(--ink-3);font-size:var(--t-caption)}.calibration-target strong{font-size:var(--t-body);margin-top:5px}.calibration-actions{gap:8px;margin:auto 0 0;display:grid}.calibration-primary{width:100%;min-height:52px;color:var(--accent-ink);background:var(--fg);font-size:var(--t-headline);border:0;border-radius:999px;font-weight:600}.calibration-primary:disabled{color:var(--ink-3);background:var(--bg-2)}.calibration-skip{min-height:40px;color:var(--ink-3);font-size:var(--t-callout);background:0 0;border:0}.calibration-skip:disabled{color:var(--accent-ink)}.calibration-actions.preview{grid-template-columns:1fr 1fr}.calibration-actions.preview .calibration-primary{grid-column:1/-1}@media (height<=760px){.calibration-copy{padding-top:20px}.calibration-copy h2{font-size:var(--t-display);font-family:var(--font-display)}.room-meter{width:208px;height:208px;margin:18px auto 10px}.room-meter>i:nth-child(2){inset:20px}.room-meter>i:nth-child(3){inset:44px}.baseline-step{padding-top:24px}.baseline-copy h2,.baseline-result h2{font-size:var(--t-display);font-family:var(--font-display)}.signal-permissions{margin-top:22px}.aesthetic-choices{gap:10px;margin-top:18px}.baseline-result{padding-top:16px}.baseline-generated-print{width:min(70%,160px,max(120px,100dvh - 600px));margin-bottom:8px}.baseline-result>div{min-height:52px}}.tabbar{width:min(100%,480px);height:var(--tabbar-h);padding:2px 12px calc(2px + var(--safe-bottom,env(safe-area-inset-bottom)));border:0;border-top:1px solid rgba(var(--fg-rgb),.08);z-index:30;background:rgba(var(--bg-rgb),.94);-webkit-backdrop-filter:blur(20px)saturate(1.3);backdrop-filter:blur(20px)saturate(1.3);box-shadow:0 -10px 32px rgba(var(--shade-rgb),.16);border-radius:0;align-items:stretch;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabbar button{min-width:0;color:var(--ink-3);background:0 0;border:0;flex:1;align-content:center;place-items:center;gap:4px;font-size:10px;font-weight:500;transition:color .18s;display:grid}.tabbar button.active{color:var(--accent-text);background:0 0;font-weight:600}.tabbar svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}@media (width>=700px){body{background:var(--bg-0)}.workspace{box-shadow:0 0 70px rgba(var(--bg-rgb),.08)}}@media (width<=370px){.protocol-stage{min-height:480px}#sleepCanvas{width:var(--canvas-w)}.stage-copy h2{font-size:var(--t-display);font-family:var(--font-display)}.report-summary>div{padding:14px 10px}.report-summary strong{font-size:var(--t-body)}.report-hero{grid-template-columns:116px 1fr;gap:14px}.score-ring{width:112px;height:112px}.baseline-shell{padding-inline:14px}.aesthetic-choices{gap:5px}.aesthetic-choices button{padding:16px 4px}.aesthetic-choices span{font-size:var(--t-caption);letter-spacing:-.02em}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.advisor-screen{gap:0!important}@keyframes signature-flow{to{stroke-dashoffset:-260px}}@keyframes signature-point{50%{opacity:.38;transform:scale(.65)}}@keyframes model-orbit-one{0%{transform:rotate(-9deg)scale(.98)}to{transform:rotate(13deg)scale(1.02)}}@keyframes model-orbit-two{0%{transform:rotate(24deg)}to{transform:rotate(-18deg)}}@keyframes model-core-breathe{50%{box-shadow:0 0 0 17px rgba(var(--teal-rgb),.018);transform:scale(1.025)}}.baseline-associations{color:var(--muted);gap:12px;margin-top:24px;font-size:16px;display:grid}.baseline-associations input{border:1px solid var(--bg-6);width:100%;min-height:48px;color:inherit;font:inherit;box-sizing:border-box;background:0 0;border-radius:8px;padding:12px 16px}.association-options{flex-wrap:wrap;gap:8px;display:flex}.association-options button{color:inherit;font:inherit;background:0 0;border:1px solid;border-radius:6px;padding:8px 12px}.association-options button[aria-pressed=true]{background:var(--feeling-selected-bg);border-color:var(--feeling-selected-bg);color:var(--feeling-selected-ink)}.feeling-sample{border:1px solid var(--line);background:linear-gradient(120deg,rgba(var(--teal-rgb),.12),var(--bg-2) 62%);border-radius:20px;justify-content:space-between;align-items:center;gap:18px;min-height:clamp(108px,13dvh,122px);margin-top:28px;padding:20px 22px;display:flex}.feeling-sample>div{gap:7px;display:grid}.feeling-sample span{color:var(--muted);font-size:14px}.feeling-sample strong{color:var(--ink);font-size:20px}.feeling-sample>button{border:1px solid var(--line);background:var(--ink);width:58px;height:58px;color:var(--bg-0);border-radius:50%;flex:0 0 58px;place-items:center;transition:transform .16s;display:grid}.feeling-sample>button:active{transform:scale(.94)}.feeling-sample>button i{border-top:8px solid #0000;border-bottom:8px solid #0000;border-left:12px solid;width:0;height:0;margin-left:3px}.feeling-sample>button[aria-label^=暂停] i{border:0;border-left:4px solid;border-right:4px solid;width:12px;height:16px;margin:0}.feeling-options{gap:12px 10px;margin-top:24px}.feeling-options button{flex:calc(25% - 10px);min-width:72px;min-height:52px}.feeling-progress{justify-content:center;gap:8px;margin:auto 0 4px;padding-top:28px;display:flex}.feeling-progress i{background:var(--bg-5);border-radius:2px;width:24px;height:3px}.feeling-progress i.active{background:var(--accent)}.baseline-step:has(.feeling-sample) .baseline-actions{background:0 0;margin-top:0}@media (height<=760px){.feeling-sample{min-height:96px;margin-top:18px;padding:16px 18px}.feeling-sample>button{flex-basis:52px;width:52px;height:52px}.feeling-options{gap:8px;margin-top:18px}.feeling-options button{min-height:44px}.feeling-progress{padding-top:18px}}.tonight-fine-tune-actions .tonight-fine-preview{justify-self:start;gap:5px;min-width:0;min-height:44px;padding:4px 2px;line-height:1.25}.tonight-fine-tune-actions .tonight-fine-preview svg{flex-shrink:0;width:13px;height:13px}.tonight-fine-tune-actions .tonight-tune-reset{grid-column:3;gap:4px;width:100%;min-width:0;max-width:none;min-height:44px;margin:0;padding:4px 0}@media (width<=420px){.tonight-fine-tune-actions .tonight-fine-preview,.tonight-fine-tune-actions .tonight-tune-reset{font-size:11px}.tonight-fine-tune-actions .tonight-tune-reset svg{width:13px;height:13px}}.baseline-shell[data-scene]{isolation:isolate;background:var(--bg-0);position:relative}.baseline-shell[data-scene]:before,.baseline-shell[data-scene]:after{z-index:-1;pointer-events:none;content:"";position:absolute;inset:0}.baseline-shell[data-scene]:before{opacity:.72;background-position:50%;background-size:cover}.baseline-shell[data-scene=intro]:before{opacity:.58;background-image:url(/somian-sensitivity-woman.jpg);background-position:55%}.baseline-shell[data-scene=goal]:before{background-image:url(/somian-goal-man.jpg);background-position:54%;transform:scaleX(-1)}.baseline-shell[data-scene=mind]:before{background-image:url(/somian-mind-woman.jpg);background-position:50%}.baseline-shell[data-scene=bedtime]:before{background-image:url(/somian-bedtime-clock-v3.jpg);background-position:72%}.baseline-shell[data-scene=onset]:before{background-image:url(/somian-onset-sleeping-golden.jpg);background-position:62%}.baseline-shell[data-scene=room]:before{background-image:url(/somian-room-rain-windchime.jpg);background-position:72%}.baseline-shell[data-scene=sensitivity]:before{background-image:url(/somian-sensitivity-fireplace.jpg);background-position:82%}.baseline-shell[data-scene=wake]:before{background-image:url(/somian-wake-predawn.jpg);background-position:63%}.baseline-shell[data-scene=listen]:before{background-image:url(/somian-listen-courtyard.jpg);background-position:52%}.baseline-shell[data-scene=feeling]:before{background-image:url(/somian-feeling-baby-kitten-v2.jpg);background-position:50%}.baseline-shell[data-scene=nature]:before{background-image:url(/somian-nature-tide.jpg);background-position:50%}.baseline-shell[data-scene=volume]:before{background-image:url(/somian-volume-lamp-v2.jpg);background-position:43%}.baseline-shell[data-scene=health]:before{background-image:url(/somian-health-journal.jpg);background-position:45%}.baseline-shell[data-scene]:not([data-scene=intro]):not([data-scene=result]):before{opacity:.3}.baseline-shell[data-scene=result]:before{opacity:.42;background-image:url(/somian-result-wall.jpg);background-position:50%}.baseline-shell[data-scene]:after{background:linear-gradient(180deg,rgba(var(--bg-rgb),.76) 0%,rgba(var(--bg-rgb),.62) 24%,rgba(var(--bg-rgb),.35) 42%,rgba(var(--bg-rgb),.6) 66%,var(--bg-0) 94%)}.baseline-shell[data-scene=intro]:after{background:linear-gradient(180deg,rgba(var(--bg-rgb),.72) 0%,rgba(var(--bg-rgb),.62) 32%,rgba(var(--bg-rgb),.82) 68%,var(--bg-0) 95%)}.baseline-shell[data-scene=feeling]:after{background:linear-gradient(180deg,rgba(var(--bg-rgb),.76) 0%,rgba(var(--bg-rgb),.62) 24%,rgba(var(--bg-rgb),.55) 60%,rgba(var(--bg-rgb),.4) 82%,rgba(var(--bg-rgb),.65) 92%,var(--bg-0) 100%)}.baseline-shell[data-scene=result]:after{background:linear-gradient(180deg,rgba(var(--bg-rgb),.8) 0%,rgba(var(--bg-rgb),.74) 48%,rgba(var(--bg-rgb),.88) 75%,var(--bg-0) 100%)}.baseline-shell[data-scene] .baseline-copy p{color:var(--ink-2)}:root[data-theme=dusk] .baseline-shell[data-scene]:before{opacity:.36}:root[data-theme=dusk] .baseline-shell[data-scene]:not([data-scene=intro]):not([data-scene=result]):before{opacity:.16}:root[data-theme=dusk] .baseline-shell[data-scene]:after{background:linear-gradient(180deg,rgba(var(--bg-rgb),.84) 0%,rgba(var(--bg-rgb),.72) 32%,rgba(var(--bg-rgb),.88) 68%,var(--bg-0) 95%)}:root[data-theme=dusk] .baseline-shell[data-scene=feeling]:after{background:linear-gradient(180deg,rgba(var(--bg-rgb),.84) 0%,rgba(var(--bg-rgb),.72) 34%,rgba(var(--bg-rgb),.68) 62%,rgba(var(--bg-rgb),.52) 82%,rgba(var(--bg-rgb),.75) 94%,var(--bg-0) 100%)}.sound-details{margin-top:24px}.sound-details summary{cursor:pointer;min-height:56px;color:var(--ink-2);font-size:var(--t-callout);justify-content:center;align-items:center;gap:10px;list-style:none;display:flex}.sound-details summary::-webkit-details-marker{display:none}.sound-details summary>svg{flex:none;transition:transform .18s}.sound-details[open] summary>svg{transform:rotate(180deg)}.sound-details-signature{align-items:center;gap:3px;height:24px;display:flex}.sound-details-signature i{background:var(--tone);opacity:.8;border-radius:2px;width:3px}.sound-details-body{border:1px solid rgba(var(--fg-rgb),.09);background:var(--surface);border-radius:8px;margin-top:4px;padding:20px 16px}.sound-details-heading{color:var(--ink-3);justify-content:space-between;gap:12px;font-size:11px;line-height:1.5;display:flex}.sound-details-heading span:last-child{text-align:right}.sound-dimensions{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:20px 0 16px;display:grid}.sound-dimensions button{min-width:0;min-height:44px;color:var(--ink-3);cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-rows:26px 100px minmax(28px,auto);align-content:start;justify-items:center;gap:8px;padding:6px 0 10px;display:grid}.sound-dimension-value{color:var(--ink-2);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:18px;font-weight:500}.sound-dimension-value small{color:var(--ink-3);margin-left:1px;font-size:10px;font-weight:400}.sound-dimension-track{background:rgba(var(--fg-rgb),.035);border-radius:3px;width:18px;height:100px;position:relative;overflow:hidden}.sound-dimension-track i{height:var(--share);background:var(--tone);opacity:.65;min-height:2px;transition:height .5s,opacity .18s;position:absolute;bottom:0;left:0;right:0}.sound-dimension-label{text-align:center;overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;font-size:12px;line-height:1.4}.sound-dimensions .is-selected{color:var(--fg);box-shadow:inset 0 -2px var(--tone)}.sound-dimensions .is-selected .sound-dimension-value{color:var(--tone)}.sound-dimensions .is-selected .sound-dimension-track i{opacity:1}.sound-dimensions .is-inactive .sound-dimension-track i{background:var(--ink-3);opacity:.3}.sound-dimensions .is-inactive .sound-dimension-value{color:var(--ink-3)}.sound-dimensions .has-signal .sound-dimension-track i{transform-origin:bottom;animation:4.8s ease-in-out infinite sound-level-breathe;animation-delay:calc(var(--motion-order,0) * -.63s)}@keyframes sound-level-breathe{0%,to{transform:scaleY(.97)}50%{transform:scaleY(1.04)}}.sound-dimensions button:focus-visible,.sound-details summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sound-traits{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 20px;display:grid}.sound-traits button{min-width:0;min-height:44px;color:var(--ink-3);cursor:pointer;background:0 0;border:0;border-radius:0;padding:4px 0}.sound-traits button>span{justify-content:space-between;align-items:baseline;gap:4px;font-size:11px;display:flex}.sound-traits b{color:var(--ink-2);font-size:11px;font-weight:400}.sound-traits button>i{background:rgba(var(--fg-rgb),.09);height:2px;margin:12px 3px 4px;display:block;position:relative}.sound-traits button>i:after{content:"";top:-2px;left:var(--position);background:var(--tone);width:6px;height:6px;animation:5.4s ease-in-out infinite sound-trait-drift;animation-delay:calc(var(--motion-order,0) * -.9s);border-radius:50%;position:absolute;transform:translate(-50%)}@keyframes sound-trait-drift{0%,to{transform:translate(-50%)scale(1)}50%{transform:translate(calc(2px - 50%))scale(1.12)}}.sound-traits button.is-selected b{color:var(--tone)}.sound-traits button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sound-component-reason{border-left:2px solid var(--tone);min-height:92px;padding:0 0 16px 12px}.sound-component-reason strong{color:var(--ink-2);align-items:baseline;gap:10px;font-size:14px;font-weight:500;display:flex}.sound-component-reason strong span{color:var(--ink-3);font-size:11px;font-weight:400}.sound-component-reason p,.sound-evolution-copy{color:var(--ink-3);margin:7px 0 0;font-size:13px;line-height:1.65}.sound-evolution{border-top:1px solid rgba(var(--fg-rgb),.07);margin-top:20px;padding-top:18px}.sound-evolution-heading{min-height:28px;color:var(--teal);align-items:center;gap:7px;margin-bottom:8px;font-size:12px;display:flex}.sound-evolution-heading b{color:var(--accent);margin-left:auto;font-size:11px;font-weight:600}.sound-evolution-heading button{width:44px;height:44px;min-height:44px;color:var(--accent);background:0 0;border:0;place-items:center;margin:-8px -10px -8px 0;padding:0;display:grid}.sound-evolution>strong{color:var(--ink-2);font-size:14px;font-weight:500;line-height:1.5}.sound-evolution-copy{display:block}.sound-evolution.is-plus{padding-inline:0;border:0;border-top:1px solid rgba(var(--fg-rgb),.07);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;padding-bottom:3px;display:block}.sound-evolution.is-plus:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.sound-evolution.is-plus .sound-evolution-heading>svg:first-child{animation:4s ease-in-out infinite evolution-glyph-breathe}html:not([lang^=zh]) .sound-dimensions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr) minmax(0,.9fr) minmax(0,1.1fr);gap:2px}html:not([lang^=zh]) .sound-dimension-label{font-size:10px;line-height:1.35}html:not([lang^=zh]) .sound-traits button>span{flex-direction:column;align-items:flex-start;gap:2px}.sound-evolution-pulse{align-items:center;gap:3px;margin-left:2px;display:inline-flex}.sound-evolution-pulse i{opacity:.35;background:currentColor;border-radius:50%;width:3px;height:3px;animation:1.8s ease-in-out infinite evolution-step}.sound-evolution-pulse i:nth-child(2){animation-delay:.3s}.sound-evolution-pulse i:nth-child(3){animation-delay:.6s}@keyframes evolution-step{0%,70%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes evolution-glyph-breathe{0%,to{opacity:.7;transform:rotate(-7deg)}50%{opacity:1;transform:rotate(7deg)}}@media (width<=360px){.sound-details-body{margin-inline:-8px;padding-inline:10px}.sound-dimensions{gap:0}html:not([lang^=zh]) .sound-dimension-label{font-size:9px}}@media (prefers-reduced-motion:reduce){.sound-dimension-track i,.sound-details summary>svg{transition:none}.sound-dimensions .has-signal .sound-dimension-track i,.sound-traits button>i:after,.sound-evolution-pulse i,.sound-evolution.is-plus .sound-evolution-heading>svg:first-child{animation:none}}.sound-details-heading strong{color:var(--ink-1);font-size:14px;font-weight:500}.sound-details-source{color:var(--ink-3);margin:6px 0 0;font-size:11px}.sound-dimensions{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:5px;margin:18px 0 14px}html:not([lang^=zh]) .sound-dimensions{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.sound-dimensions button{border-radius:12px;grid-template-rows:24px 76px minmax(28px,auto);gap:8px;padding:12px 3px 8px}.sound-dimension-track{border-radius:7px;width:14px;height:76px}.sound-dimension-track i{border-radius:7px;animation:none!important}.sound-dimensions .is-selected{background:rgba(var(--fg-rgb),.055);box-shadow:none}.sound-dimensions .is-selected .sound-dimension-label{color:var(--ink-1)}.sound-component-reason{border-left:0;border-bottom:1px solid rgba(var(--fg-rgb),.07);min-height:86px;padding:12px 0 14px}.sound-component-reason strong{color:var(--tone);font-size:12px}.sound-component-reason p{color:var(--ink-2);margin-top:6px;font-size:12px}.sound-traits{gap:8px;margin:12px 0 0}.sound-traits button{background:rgba(var(--fg-rgb),.025);border-radius:9px;padding:8px}.sound-traits button>span{flex-direction:column;align-items:flex-start;gap:5px;font-size:10px}.sound-traits b{font-size:12px}.sound-traits button.is-selected{background:rgba(var(--fg-rgb),.06)}.sound-evolution{margin-top:18px}.sound-evolution-heading{color:var(--ink-2);margin-bottom:4px}.sound-evolution-copy{font-size:11px;line-height:1.6}.advisor-screen{--lineage-faint:var(--ink-3);--lineage-quiet:var(--ink-2);padding:4px 24px calc(90px + var(--safe-bottom,env(safe-area-inset-bottom)))}.lineage-preview-note{border:1px solid var(--accent-line);background:var(--accent);border-radius:6px;gap:5px;margin:3px 0 18px;padding:14px 16px 15px;display:grid}.lineage-preview-note strong{color:var(--accent-ink);font-size:var(--t-body);font-weight:600;line-height:1.4}.lineage-preview-note span{color:var(--accent-ink);font-size:var(--t-callout);line-height:1.55}.lineage-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.lineage-sources{border-block:1px solid var(--bg-5)}.lineage-sources summary{cursor:pointer;min-height:58px;font-size:var(--t-body);justify-content:space-between;align-items:center;gap:12px;list-style:none;display:flex}.lineage-sources summary::-webkit-details-marker{display:none}.lineage-sources summary>span:last-child{color:var(--lineage-faint);font-size:var(--t-caption)}.lineage-sources summary>span:last-child:after{content:" +";margin-left:8px}.lineage-sources[open] summary>span:last-child:after{content:" −"}.history-source{border-top:1px solid var(--bg-5);font-size:var(--t-callout);grid-template-columns:1.25fr 1fr;gap:16px;padding:12px 0;line-height:1.6;display:grid}.history-source>span:last-child{color:var(--ink-2);text-align:right}.lineage-pipeline{color:var(--ink-2);font-size:var(--t-callout);justify-content:space-between;gap:6px;margin-top:16px;display:flex}.lineage-pipeline b{color:var(--ink-3)}.lineage-sources>p,.lineage-note{font-size:var(--t-callout);color:var(--ink-3);line-height:1.7}.lineage-heading{margin:30px 0 20px}.lineage-heading h2{font-size:var(--t-title);font-weight:var(--display-weight);font-family:var(--font-display);margin:0}.lineage-heading>span{font-size:var(--t-caption);color:var(--lineage-faint)}.history-node.trial .history-dot,.history-node.evolving .history-dot{border-color:var(--accent);background:var(--accent);width:13px;height:13px;top:1px;left:-7px}.history-node.trial,.history-node.evolving{border-left-color:rgba(var(--accent-rgb),.45)}.history-node.trial:before,.history-node.evolving:before{content:"";background:linear-gradient(180deg, rgba(var(--accent-rgb),0), var(--accent) 45%, rgba(var(--accent-rgb),0));opacity:0;width:1px;height:48px;position:absolute;top:0;left:-1px}.advisor-screen.active .history-node.trial:before,.advisor-screen.active .history-node.evolving:before{animation:2.6s ease-in-out infinite evolution-sweep}.advisor-screen.active .evolution-live>span:first-child{animation:2.2s ease-in-out infinite evolution-glow}.advisor-screen.active .history-node.trial .history-dot,.advisor-screen.active .history-node.evolving .history-dot{animation:2.2s ease-out infinite evolution-dot}.evolution-live{color:var(--accent-text);font-size:var(--t-caption);align-items:center;gap:8px;margin:0 0 5px;font-weight:600;line-height:1;display:flex}.evolution-activity{align-items:center;gap:3px;height:16px;display:flex}.evolution-activity i{background:var(--accent);border-radius:2px;width:3px;height:6px}.advisor-screen.active .evolution-activity i{animation:1.1s ease-in-out infinite evolution-bar}.evolution-activity i:nth-child(2){animation-delay:.12s}.evolution-activity i:nth-child(3){animation-delay:.24s}.evolution-activity i:nth-child(4){animation-delay:.36s}.evolution-activity i:nth-child(5){animation-delay:.48s}@keyframes evolution-dot{0%{box-shadow:0 0 0 0 rgba(var(--accent-rgb),.45), 0 0 0 0 rgba(var(--accent-rgb),.25)}70%{box-shadow:0 0 0 9px rgba(var(--accent-rgb),0), 0 0 0 16px rgba(var(--accent-rgb),0)}to{box-shadow:0 0 0 9px rgba(var(--accent-rgb),0), 0 0 0 16px rgba(var(--accent-rgb),0)}}@keyframes evolution-bar{0%,to{opacity:.4;height:4px}50%{opacity:1;height:16px}}@keyframes evolution-glow{0%,to{color:var(--accent-text);text-shadow:0 0 0 rgba(var(--accent-rgb),0)}50%{color:var(--ink-1);text-shadow:0 0 14px rgba(var(--accent-rgb),.55)}}@keyframes evolution-sweep{0%{opacity:0;transform:translateY(-48px)}15%{opacity:1}85%{opacity:1}to{opacity:0;transform:translateY(100%)}}.history-node{border-left:1px solid var(--bg-7);margin-left:6px;padding:0 0 34px 25px;position:relative}.history-node:last-child{border-left-color:#0000}.history-dot{border:2px solid var(--fg);background:var(--bg-0);border-radius:50%;width:9px;height:9px;position:absolute;top:3px;left:-5px}.history-meta{font-size:var(--t-caption);color:var(--lineage-faint)}.generation .history-dot{background:var(--bg-0);border-color:var(--teal)}.generation.retired .history-dot{border-color:var(--bg-8)}.generation h3{font-size:var(--t-headline);margin:5px 0 9px;font-weight:600}.generation p{font-size:var(--t-caption);color:var(--lineage-faint);margin:5px 0 0;line-height:1.6}.generation-verdict{font-size:var(--t-caption);flex-wrap:wrap;align-items:baseline;gap:3px 10px;display:flex}.generation-bet{color:var(--lineage-faint)}.generation-kept{color:var(--lineage-faint);font-weight:500}.generation-current{color:var(--teal);font-weight:600}.generation-basis{color:var(--lineage-faint)}.generation-changes{font-size:var(--t-callout);color:var(--ink-2);margin:10px 0 4px;padding-left:18px;line-height:1.7}.generation-changes li{margin:0}.generation-changes-none{font-size:var(--t-callout);color:var(--ink-2);margin:10px 0 4px}.generation .history-detail{border-bottom:0}.generation .history-detail summary{min-height:36px;font-size:var(--t-caption)}.generation.current .history-dot{border-color:var(--teal);background:var(--teal)}.generation.origin-listening .history-dot{border-color:var(--accent)}.generation.origin-onboarding .history-dot{border-color:var(--bg-8)}.generation-dropped{color:var(--lineage-faint)}.generation.retired h3{color:var(--ink-2)}.history-node h3{color:var(--ink-1);font-size:var(--t-headline);margin:4px 0 9px;font-weight:600;line-height:1.38}.history-node>p{font-size:var(--t-caption);color:var(--lineage-faint);margin:2px 0 0;line-height:1.6}@keyframes history-listen{to{opacity:.45;transform:scaleY(1)}}.history-actions{flex-wrap:wrap;gap:8px;margin-top:15px;display:flex}.history-preview{border:1px solid var(--bg-7);min-height:40px;color:var(--ink-1);background:var(--bg-3);font-size:var(--t-callout);border-radius:999px;padding:8px 16px}.history-detail{border-bottom:1px solid var(--bg-5);margin-top:10px}.history-detail summary{cursor:pointer;min-height:44px;color:var(--lineage-faint);font-size:var(--t-caption);align-items:center;gap:12px;list-style:none;display:flex}.history-detail summary:after{content:"+";margin-left:auto}.history-detail[open] summary:after{content:"−"}.history-detail summary::-webkit-details-marker{display:none}.history-evidence{font-size:var(--t-callout);grid-template-columns:64px 1fr;gap:14px;margin:12px 0;line-height:1.7;display:grid}.history-evidence>span{color:var(--ink-3);white-space:nowrap}.history-evidence p{color:var(--ink-2);margin:0}.lineage-note{margin:8px 0}.advisor-screen button:focus-visible,.advisor-screen summary:focus-visible{outline:2px solid var(--moss);outline-offset:3px}@media (prefers-reduced-motion:reduce){.advisor-screen.active .history-wave i,.advisor-screen.active .history-node.trial .history-dot,.advisor-screen.active .history-node.evolving .history-dot,.advisor-screen.active .evolution-activity i,.advisor-screen.active .evolution-live>span:first-child,.advisor-screen.active .history-node.trial:before,.advisor-screen.active .history-node.evolving:before{animation:none}}.report-screen{--report-muted:var(--ink-2);padding:20px 24px calc(100px + var(--safe-bottom,env(safe-area-inset-bottom)));gap:0!important}.report-overview{background:0 0;margin:0 -24px;padding:0 24px 20px}.report-screen .report-hero{text-align:left;background:0 0;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:18px 0 0;display:flex}.report-screen[data-empty]{min-height:calc(100dvh - var(--topbar-h));padding-bottom:calc(var(--tabbar-h) + 24px)}.report-connection{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;width:min(100%,360px);margin-inline:auto;padding:48px 0 64px;display:flex}.report-connection-mark{border:1px solid var(--health-mark-border);width:72px;height:72px;color:var(--health-mark-heart);background:var(--health-mark-background);box-shadow:0 6px 20px rgba(var(--shade-rgb),.14);border-radius:18px;flex-shrink:0;place-items:center;margin-bottom:32px;display:grid}.report-connection-mark svg{width:44px;height:44px}.report-connection h2{color:var(--ink-1);font-family:var(--font-display);font-size:28px;font-weight:var(--display-weight);text-wrap:balance;margin:0;line-height:1.35}.report-connection-copy{max-width:22em;color:var(--ink-2);text-wrap:balance;margin:16px 0 0;font-size:14px;line-height:1.8}.report-connection .health-report-action{min-height:52px;box-shadow:none;justify-content:center;align-items:center;gap:10px;margin:32px 0 0;padding:12px 20px;font-size:16px;display:flex}.report-connection .health-report-action svg{flex-shrink:0;width:18px;height:18px}.report-connection .health-report-action:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.report-connection-privacy{color:var(--ink-3);margin:14px 0 0;font-size:12px;line-height:1.5}@media (height<=650px){.report-connection{padding:24px 0 32px}.report-connection-mark{border-radius:14px;width:56px;height:56px;margin-bottom:24px}.report-connection-mark svg{width:34px;height:34px}}.report-date{color:var(--ink-2);font-size:var(--t-callout)}.report-date span{color:var(--ink-3);margin:0 8px}.report-screen .score-ring{background:conic-gradient(from 220deg,var(--fg) 0deg 246deg,var(--bg-7) 246deg 280deg,transparent 280deg);border-radius:50%;width:194px;height:194px;margin:24px auto 12px}.report-screen .score-ring:before{background:var(--bg-3);inset:3px}.report-screen .score-ring span{color:var(--report-muted);font-size:var(--t-callout);margin-top:-5px}.report-screen .score-ring strong{font-variant-numeric:tabular-nums;margin:6px 0;font-size:68px;font-weight:400;line-height:1}.report-screen .score-ring em{color:var(--ink-1);font-size:var(--t-body);font-style:normal;display:block}.report-screen .report-hero h2{color:var(--ink-1);font-size:var(--t-title);font-weight:var(--display-weight);line-height:1.3;font-family:var(--font-display);margin:0 0 8px}.report-screen .report-hero p{color:var(--ink-2);font-size:var(--t-body);margin:0;line-height:1.6}.personal-score-block{grid-template-columns:108px minmax(0,1fr);align-items:center;gap:22px;min-height:0;padding:12px 0 8px;display:grid}.personal-score-ring{--score-progress:0;place-items:center;width:104px;height:104px;display:grid;position:relative}.personal-score-ring svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible;transform:rotate(-90deg)}.personal-score-ring circle{fill:none;stroke-width:6px}.personal-score-ring .score-track{stroke:rgba(var(--accent-rgb),.12)}.personal-score-ring .score-progress{stroke:var(--accent-text);stroke-linecap:round;stroke-dasharray:var(--score-progress) 100;filter:drop-shadow(0 0 7px rgba(var(--accent-rgb),.28))}.personal-score-ring:before{content:"";border:1px solid rgba(var(--teal-rgb),.1);border-radius:50%;position:absolute;inset:13px}.personal-score-ring>div{align-items:baseline;gap:3px;display:flex;position:relative}.personal-score-ring strong{color:var(--ink-1);font-variant-numeric:tabular-nums;font-size:36px;font-weight:500;line-height:1}.report-screen.active .personal-score-ring .score-progress{animation:.9s cubic-bezier(.22,.78,.22,1) both report-score-draw}.report-screen.active .personal-score-ring>div{animation:.52s cubic-bezier(.22,.78,.22,1) .26s both report-score-value-in}@keyframes report-score-draw{0%{stroke-dashoffset:var(--score-progress);opacity:.28}to{stroke-dashoffset:0;opacity:1}}@keyframes report-score-value-in{0%{opacity:0;transform:scale(.86)}to{opacity:1;transform:none}}.personal-score-copy{min-width:0}.report-screen .personal-score-copy h2{font-size:var(--t-title);font-family:var(--font-display);margin:0 0 6px}.personal-score-copy>strong{color:var(--ink-1);font-size:var(--t-body);font-variant-numeric:tabular-nums;font-weight:500;line-height:1.35;display:block}.personal-score-copy p{margin-top:5px!important}.report-feeling-hero{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;padding:14px 0 8px;display:grid}.report-feeling-hero>header{align-items:center;margin:0;display:flex}.report-feeling-hero>header span{color:var(--ink-2);font-size:var(--t-callout)}.report-feeling-hero>header small{color:var(--ink-3);font-size:var(--t-caption)}.health-report-action{width:min(100%,320px);min-height:50px;color:var(--accent-ink);background:var(--accent);font-size:var(--t-headline);cursor:pointer;box-shadow:0 8px 22px rgba(var(--accent-rgb),.18);border:0;border-radius:999px;margin:22px auto 24px;padding:0 20px;font-weight:600;transition:background .18s,transform .18s;display:block}.health-report-action:hover{background:var(--accent)}.health-report-action:active{transform:scale(.985)}.health-report-action:disabled{color:var(--ink-3);background:var(--bg-5);box-shadow:none;cursor:default}@media (prefers-reduced-motion:reduce){.health-report-action{transition:none}.health-report-action:active{transform:none}}.report-screen .report-summary{background:rgba(var(--fg-rgb),.025);grid-template-columns:.9fr 1.3fr .8fr;gap:10px;margin:14px -24px 0;padding:15px 24px 17px;display:grid}.report-screen .report-summary>div{text-align:center;min-width:0;box-shadow:none;background:0 0;border-radius:0;padding:0}.report-screen .report-summary>div:first-child{padding-left:0}.report-screen .report-summary>div:last-child{padding-right:0}.report-screen .report-summary>div+div{border-left:0}.report-screen .report-summary span{color:var(--ink-3);font-size:var(--t-caption)}.report-screen .report-summary .report-metric-label{justify-content:center;align-items:center;gap:6px;display:flex}.report-screen .report-summary .report-metric-label svg{stroke-width:1.6px;flex:0 0 14px;width:14px;height:14px;display:block}.report-screen .report-summary strong{color:var(--ink-1);font-size:var(--t-headline);white-space:nowrap;font-variant-numeric:tabular-nums;margin:6px 0 0;font-weight:600;line-height:1.2;display:block}.report-screen .report-summary small{min-height:28px;color:var(--ink-3);font-size:var(--t-caption);margin:8px 0 0;font-weight:400;line-height:1.4;display:block}.report-screen .report-summary-personal{grid-template-columns:repeat(3,minmax(0,1fr))}.report-screen .report-summary-personal>div{flex-direction:column;padding-inline:0;display:flex}.report-screen .report-summary-personal strong{margin-top:auto;padding-top:6px}.report-screen .night-replay{box-shadow:none;background:0 0;border-radius:0;padding:30px 0 0;display:block}.report-screen .night-replay .module-head p{font-size:var(--t-title);font-weight:var(--display-weight);font-family:var(--font-display)}.report-replay-tag{color:var(--ink-2);font-size:var(--t-callout)}.report-screen #replayCanvas{aspect-ratio:800/380;background:0 0;border-radius:0;width:100%;height:auto;margin:10px 0 0;display:block}.replay-transport{justify-content:center;align-items:center;margin:12px 0 20px;display:flex}.report-screen #replayButton{border:1px solid var(--bg-8);width:44px;height:44px;min-height:44px;color:var(--ink-1);font-size:var(--t-body);background:0 0;border-radius:50%;margin:0;padding:0}.replay-scrubber input{width:100%;height:22px;accent-color:var(--fg);cursor:pointer;margin:0}.replay-scrubber>div{font-size:var(--t-caption);color:var(--ink-3);font-variant-numeric:tabular-nums;justify-content:space-between;display:flex}.replay-scrubber strong{color:var(--ink-1);font-weight:500}.report-fold{border-top:1px solid var(--bg-6)}.report-fold>summary{cursor:pointer;min-height:52px;font-size:var(--t-callout);color:var(--ink-2);justify-content:space-between;align-items:center;list-style:none;display:flex}.report-fold>summary::-webkit-details-marker{display:none}.report-fold>summary:after{content:"+";color:var(--ink-2);font-size:18px}.report-fold[open]>summary:after{content:"−"}.report-screen .morning-signal{box-shadow:none;border-top:1px solid var(--bg-6);background:0 0;border-radius:0;padding:24px 0}.report-screen .morning-signal>div:first-child strong{font-size:var(--t-body);font-weight:500}.report-screen .morning-options{grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 0;display:grid}.report-screen .morning-options button{border:1px solid var(--bg-7);min-height:44px;font-size:var(--t-callout);color:var(--ink-2);background:0 0;border-radius:6px;padding:6px}.report-screen .morning-options button.active{background:var(--fg);color:var(--accent-ink);border-color:var(--fg)}.report-screen #morningLearning{font-size:var(--t-callout);color:var(--ink-2);margin-top:10px}.report-screen #morningLearning:empty{display:none}@media (width<=370px){.report-screen{padding-inline:20px}.report-overview{margin-inline:-20px;padding-inline:20px}.report-screen .report-summary>div,.report-screen .report-summary-personal>div{padding-inline:0}.report-screen .report-summary strong{font-size:var(--t-headline)}.report-screen .score-ring{width:176px;height:176px;margin-top:18px}.report-screen .report-hero h2{font-size:var(--t-title);font-family:var(--font-display)}.personal-score-block{grid-template-columns:96px minmax(0,1fr);gap:14px}.personal-score-ring{width:92px;height:92px}.personal-score-ring strong{font-size:34px}.report-screen .personal-score-copy h2{font-size:var(--t-title);font-family:var(--font-display)}}.sleep-history{padding:24px 0 20px}.sleep-history .module-head p{font-size:var(--t-title);font-weight:var(--display-weight);font-family:var(--font-display)}#playbackHistory{border-top:1px solid rgba(var(--fg-rgb),.09);padding:0}.report-section-head{box-sizing:border-box;width:100%;height:56px;min-height:56px;color:var(--ink-2);font:inherit;font-size:var(--t-callout);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;margin:0;padding:0;font-weight:400;line-height:1;display:flex}#playbackHistory .report-section-head{cursor:pointer}#playbackHistory .report-section-head:after{content:"+";color:var(--ink-3);font-size:18px}#playbackHistory .report-section-head[aria-expanded=true]:after{content:"−"}.report-section-head:focus-visible{outline:2px solid var(--accent);outline-offset:2px}#playbackHistory #playbackList{padding-top:2px}#playbackHistory:has(.module-head[aria-expanded=true]){padding-bottom:18px}.sleep-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:12px 0;display:grid}.sleep-week>div{min-width:0;color:var(--ink-3);font-size:var(--t-caption);text-align:center;font-variant-numeric:tabular-nums;padding:4px 0}.sleep-week i{background:var(--bg-4);border-radius:3px;align-items:flex-end;width:12px;height:64px;margin:8px auto;display:flex;overflow:hidden}.sleep-week b{background:var(--accent);transform-origin:bottom;border-radius:3px;width:100%}.report-screen.active .sleep-week>div:first-child b{animation-delay:40ms}.report-screen.active .sleep-week>div:nth-child(2) b{animation-delay:90ms}.report-screen.active .sleep-week>div:nth-child(3) b{animation-delay:.14s}.report-screen.active .sleep-week>div:nth-child(4) b{animation-delay:.19s}.report-screen.active .sleep-week>div:nth-child(5) b{animation-delay:.24s}.report-screen.active .sleep-week>div:nth-child(6) b{animation-delay:.29s}.report-screen.active .sleep-week>div:nth-child(7) b{animation-delay:.34s}.report-screen.active .sleep-week b{animation-name:report-bar-rise;animation-duration:.56s;animation-timing-function:cubic-bezier(.22,.78,.22,1);animation-fill-mode:both}@keyframes report-bar-rise{0%{opacity:.25;transform:scaleY(.08)}to{opacity:1;transform:scaleY(1)}}.sleep-week b.health-source{background:var(--teal)}.sleep-week>div.current{color:var(--ink-1)}.sleep-week>div.current i{background:var(--bg-5);box-shadow:0 0 0 1px rgba(var(--accent-rgb),.35)}.sleep-week>div.current b{background:var(--accent)}#sleepRecordList button{text-align:left;border:0;border-top:1px solid var(--bg-6);width:100%;color:var(--ink-1);background:0 0;flex-direction:column;gap:8px;padding:16px 0;display:flex}#sleepRecordList span,#sleepRecordList p{color:var(--ink-2);font-size:var(--t-callout)}.report-screen button[data-loading=true]{pointer-events:none;padding-inline:46px;position:relative}.report-screen button[data-loading=true]:after{content:"";opacity:.8;border:2px solid #0000;border-color:#0000 #0000 currentColor currentColor;border-radius:50%;width:16px;height:16px;margin-top:-8px;animation:.82s linear infinite report-loading-spin;position:absolute;top:50%;right:16px}@keyframes report-loading-spin{to{transform:rotate(360deg)}}.replay-legend{font-size:var(--t-callout);color:var(--ink-2);align-items:center;gap:16px;margin-top:20px;display:flex}.replay-legend span:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.replay-legend span:nth-child(2):before{background:var(--teal)}.replay-legend span:nth-child(3):before{background:var(--amber)}.replay-legend small{font-size:var(--t-caption);color:var(--ink-2);margin-left:auto}.playback-record{border-bottom:1px solid var(--bg-5);padding:16px 0}.playback-record strong{font-size:var(--t-body);font-weight:500}#playbackList p{font-size:var(--t-callout);color:var(--ink-2);line-height:1.6}.report-summary strong{overflow-wrap:anywhere}.report-summary>div:nth-child(2) strong:not([data-placeholder]){font-size:var(--t-headline);white-space:nowrap}@media (width<=360px){.report-summary>div:nth-child(2) strong:not([data-placeholder]){white-space:normal}}#finishSleepSession{width:calc(100% - 32px);margin:16px auto 0;display:block}.report-stages{border-top:0;padding:26px 0 18px}.report-stages .module-head{margin:0 0 14px}.report-stages .module-head p{font-size:var(--t-title);font-weight:var(--display-weight);font-family:var(--font-display)}.report-screen .module-head-meta{color:var(--ink-3);font-size:var(--t-callout);font-family:var(--font-sans);white-space:nowrap;margin-left:auto;font-weight:400}.sleep-stage-track{background:var(--bg-4);border-radius:999px;gap:3px;width:100%;height:10px;display:flex;overflow:hidden}.sleep-stage-track i{transform-origin:0;min-width:2px;display:block}.report-screen.active .sleep-stage-track i{animation:.62s cubic-bezier(.22,.78,.22,1) both report-stage-open}.report-screen.active .sleep-stage-track i:nth-child(2){animation-delay:80ms}.report-screen.active .sleep-stage-track i:nth-child(3){animation-delay:.16s}.report-screen.active .sleep-stage-track i:nth-child(4){animation-delay:.24s}@keyframes report-stage-open{0%{opacity:.2;transform:scaleX(.04)}to{opacity:1;transform:scaleX(1)}}.stage-deep{--stage-color:var(--teal)}.stage-core{--stage-color:var(--amber)}.stage-rem{--stage-color:var(--moss)}.stage-awake{--stage-color:var(--rose)}.sleep-stage-track .stage-deep,.sleep-stage-track .stage-core,.sleep-stage-track .stage-rem,.sleep-stage-track .stage-awake{background:var(--stage-color)}.sleep-stage-legend{grid-template-columns:1fr 1fr;gap:10px 24px;margin-top:14px;display:grid}.sleep-stage-legend span{color:var(--ink-2);font-size:var(--t-callout)}.sleep-stage-legend span:before{content:"";background:var(--stage-color);vertical-align:1px;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.sleep-stage-legend strong{float:right;color:var(--ink-3);font-variant-numeric:tabular-nums;font-weight:400}.report-observation{border-top:1px solid var(--bg-6);padding:0}.report-observation p{max-width:620px;color:var(--ink-2);font-size:var(--t-body);margin:0;padding:2px 0 20px;line-height:1.75}.report-feeling-options{grid-template-columns:repeat(5,1fr);gap:4px;padding:0;display:grid}.report-feeling button{width:44px;height:44px;color:inherit;font:inherit;filter:grayscale(.68);opacity:.62;background:0 0;border:1px solid #0000;border-radius:50%;justify-self:center;margin:0;padding:0;font-size:30px;line-height:1;transition:opacity .16s,filter .16s,background .16s,transform .16s}.report-feeling button.selected{border-color:rgba(var(--accent-rgb),.55);background:rgba(var(--accent-rgb),.12);filter:none;opacity:1}.report-feeling button:active{transform:scale(.94)}.report-feeling button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.report-feeling-emoji{display:block}.report-screen.active .report-feeling-emoji{animation:.68s cubic-bezier(.2,.72,.2,1) both report-emoji-pop}.report-screen.active .report-feeling-options button:nth-child(2) .report-feeling-emoji{animation-delay:65ms}.report-screen.active .report-feeling-options button:nth-child(3) .report-feeling-emoji{animation-delay:.13s}.report-screen.active .report-feeling-options button:nth-child(4) .report-feeling-emoji{animation-delay:.195s}.report-screen.active .report-feeling-options button:nth-child(5) .report-feeling-emoji{animation-delay:.26s}@keyframes report-emoji-pop{0%{opacity:0;transform:translateY(10px)scale(.48)}46%{opacity:1;transform:translateY(-4px)scale(1.22)}68%{transform:translateY(1px)scale(.91)}84%{transform:translateY(-1px)scale(1.07)}to{opacity:1;transform:none}}.report-measured{border-top:1px solid var(--bg-6);padding:0}.report-measured>summary small,.report-measured-preview{color:var(--ink-3);font-size:var(--t-caption);margin-left:auto;margin-right:12px}.report-measured-rows{grid-template-columns:1fr 1fr;display:grid}.report-measured-rows>div{border-top:1px solid var(--bg-5);flex-direction:column;gap:6px;padding:12px 0;display:flex}.report-measured-rows>div:nth-child(odd){padding-right:16px}.report-measured-rows>div:nth-child(2n){padding-left:16px}.report-measured-rows span{color:var(--report-muted);font-size:var(--t-callout)}.report-measured-rows strong{font-size:var(--t-headline);color:var(--ink-1);font-variant-numeric:tabular-nums;font-weight:500}@media (prefers-reduced-motion:reduce){.report-screen.active .personal-score-ring .score-progress,.report-screen.active .personal-score-ring>div,.report-screen.active .report-feeling-emoji,.report-screen.active .sleep-stage-track i,.report-screen.active .sleep-week b{opacity:1;animation:none;transform:none}}.report-screen .report-hero:not(.report-hero-empty){padding-bottom:0}:root{--somna-brand:var(--accent);--somna-brand-ink:var(--accent-ink);--somna-brand-surface:var(--accent-surface);--somna-focus:var(--accent)}.phone button:focus-visible,.phone summary:focus-visible,.phone input:focus-visible,.phone select:focus-visible{outline:2px solid var(--somna-focus);outline-offset:3px}.phone .hero-play-button{background:var(--somna-brand);color:var(--somna-brand-ink)}.candidate .history-dot{background:var(--somna-brand);border-color:var(--somna-brand)}.history-preview.playing{background:var(--somna-brand);color:var(--somna-brand-ink)}.report-screen .score-ring{background:0 0}.report-screen .score-ring:before{background:conic-gradient(from 220deg,var(--somna-brand) 0deg 246deg,rgba(var(--accent-rgb),.14) 246deg 280deg,transparent 280deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),var(--bg-0) calc(100% - 2.5px));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),var(--bg-0) calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),var(--bg-0) calc(100% - 2.5px));inset:0}.replay-scrubber input{accent-color:var(--somna-brand)}.report-screen #replayButton{border-color:var(--accent);color:var(--somna-brand)}.report-screen .morning-options button.active{background:var(--somna-brand-surface);border-color:var(--somna-brand);color:var(--ink-1)}.sleep-week b{background:var(--somna-brand)}@media (prefers-reduced-motion:reduce){.phone button{transition:none}}.phone .topbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.phone .topbar:before{content:"";background:rgba(var(--bg-rgb),.5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;position:absolute;inset:0 0 -22px}.phone .tabbar{background:rgba(var(--bg-rgb),.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:none;border-top-color:rgba(var(--fg-rgb),.07)}.phone .icon-button{background:rgba(var(--fg-rgb),.055);box-shadow:none}.phone .sound-card{background:linear-gradient(150deg,var(--explore-a,rgba(var(--accent-rgb),.25)),transparent 65%),linear-gradient(325deg,var(--explore-b,rgba(var(--teal-rgb),.18)),transparent 75%),var(--bg-1);border-color:var(--explore-c,rgba(var(--fg-rgb),.16));box-shadow:0 8px 20px rgba(var(--shade-rgb),.12)}.phone .morning-recap{background:rgba(var(--accent-rgb),.055);box-shadow:none;border-color:rgba(var(--accent-rgb),.15)}.history-preview:not(.playing){background:rgba(var(--accent-rgb),.045);border-color:rgba(var(--accent-rgb),.22)}.report-screen .report-summary,.report-screen .report-summary>div+div,.report-screen .report-fold,.report-screen .morning-signal{border-color:rgba(var(--fg-rgb),.09)}.sleep-week i{background:rgba(var(--fg-rgb),.045)}@media (prefers-reduced-transparency:reduce){.phone .topbar:before,.phone .tabbar{background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}}html:not([lang^=zh]) .sound-copy h3{overflow-wrap:anywhere;font-size:20px;line-height:1.25}html:not([lang^=zh]) .protocol-stage h2{font-size:clamp(20px,6vw,26px);line-height:1.2}html:not([lang^=zh]) .topbar h1{font-size:26px;line-height:1.1}html:not([lang^=zh]) .module-head{gap:8px}html:not([lang^=zh]) .history-evidence{grid-template-columns:64px minmax(0,1fr)}html:not([lang^=zh]) .history-source{gap:16px}html:not([lang^=zh]) .history-source>*{overflow-wrap:anywhere;min-width:0}html:not([lang^=zh]) .report-screen .report-summary .report-metric-label{overflow-wrap:anywhere;min-height:30px;line-height:1.25}html:not([lang^=zh]) .report-screen .morning-options button{overflow-wrap:anywhere;font-size:11px}html:not([lang^=zh]) .recap-options{flex-wrap:wrap}html:not([lang^=zh]) .recap-options button{min-height:36px;padding-inline:10px}html:not([lang^=zh]) .baseline-option{min-width:0}html:not([lang^=zh]) .baseline-step h2{overflow-wrap:anywhere;font-size:26px}html[lang^=ko] .phone{word-break:keep-all;overflow-wrap:break-word}@media (width<=370px){html:not([lang^=zh]) .topbar h1{font-size:23px}.topbar-actions{gap:5px}html:not([lang^=zh]) .sound-copy h3{font-size:var(--t-headline)}}.settings-screen{padding:18px 22px calc(var(--tabbar-h) + 28px)}.settings-screen.active{gap:6px}.settings-screen .settings-group-start{margin-top:18px}.settings-screen .settings-link-label{align-items:center;gap:14px;min-width:0;display:inline-flex}.settings-screen .settings-link-label>svg{width:20px;height:20px;color:var(--ink-2);stroke-width:1.7px;flex:0 0 20px}.settings-screen .settings-link-label>span{min-width:0}.settings-screen.active{height:calc(100dvh - var(--topbar-h));-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;min-height:0;animation:.22s ease-out both settings-screen-in;overflow:hidden auto}@keyframes settings-screen-in{0%{opacity:0}to{opacity:1}}.settings-screen summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.language-trigger{color:var(--ink-1)}.language-trigger .settings-link-end{color:var(--ink-3)}.language-trigger[aria-expanded=true] .settings-link-end i{transform:rotate(225deg)}.language-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}.language-menu{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:auto;max-height:min(78dvh,760px);padding:8px 24px calc(22px + var(--safe-bottom,env(safe-area-inset-bottom)));border:1px solid rgba(var(--accent-rgb),.18);background:var(--bg-1);color:var(--ink-1);box-shadow:0 -24px 70px rgba(var(--shade-rgb),.5);color-scheme:inherit;border-bottom:0;border-radius:24px 24px 0 0;animation:.26s ease-out both settings-sheet-in;overflow:hidden auto;width:min(100%,480px)!important;margin:0 auto!important;position:fixed!important;inset:auto 0 0!important}.language-menu::backdrop{background:rgba(var(--shade-rgb),.68);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.language-menu label{border-bottom:1px solid rgba(var(--fg-rgb),.08);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:0 14px;font-size:16px;display:flex}.language-menu label:hover{background:rgba(var(--fg-rgb),.05)}.language-menu label:has(input:checked){color:var(--ink-1);background:rgba(var(--accent-rgb),.12)}.language-menu label:has(input:focus-visible){outline:1px solid var(--accent);outline-offset:-1px}.language-menu input{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;margin:0}.settings-drawer{width:min(100%,480px);max-width:100%;min-height:min(48dvh,460px);padding:8px 24px calc(28px + var(--safe-bottom,env(safe-area-inset-bottom)));border:1px solid rgba(var(--accent-rgb),.18);background:var(--bg-1);color:var(--ink-1);box-shadow:0 -24px 70px rgba(var(--shade-rgb),.5);border-bottom:0;border-radius:24px 24px 0 0;margin:auto auto 0;animation:.26s ease-out both settings-sheet-in}.settings-drawer[open]{display:block;position:fixed}.settings-drawer::backdrop{background:rgba(var(--shade-rgb),.68);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.settings-sheet-handle{background:rgba(var(--fg-rgb),.22);border-radius:999px;width:42px;height:4px;margin:0 auto 10px}.settings-sheet-head{border-bottom:1px solid rgba(var(--fg-rgb),.08);justify-content:space-between;align-items:center;gap:16px;min-height:54px;display:flex}.settings-sheet-head h2{margin:0;font-size:20px;font-weight:600}.settings-sheet-head button{width:42px;height:42px;color:var(--accent-text);font:inherit;background:0 0;border:0;font-size:28px}.settings-drawer-body{padding-top:24px}.settings-drawer-body h3{margin:0 0 12px;font-size:24px;font-weight:600}.settings-drawer-body p{color:var(--ink-2);margin:10px 0;font-size:15px;line-height:1.7}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}@keyframes settings-sheet-in{0%{opacity:.55;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.wake-plan-drawer{min-height:0;padding-inline:24px}.wake-plan-body{padding-top:12px}.wake-time-field{justify-content:center;align-items:center;min-height:92px;padding-block:6px 22px;display:flex}.wake-time-field input{field-sizing:content;width:auto;min-width:180px;max-width:100%;color:var(--ink-1);background:rgba(var(--fg-rgb),.08);font:inherit;font-variant-numeric:tabular-nums;text-align:center;color-scheme:inherit;cursor:pointer;border:0;border-radius:20px;padding:8px 22px;font-size:42px;font-weight:600;transition:background .16s}.wake-time-field input:active,.wake-time-field input:focus-visible{background:rgba(var(--fg-rgb),.14)}.wake-time-field input::-webkit-calendar-picker-indicator{display:none}.nap-wake-row input::-webkit-calendar-picker-indicator{display:none}.wake-schedule-options{border:1px solid rgba(var(--fg-rgb),.1);border-radius:14px;grid-template-columns:repeat(3,1fr);gap:0;padding:3px;display:grid}.wake-schedule-options button{min-height:44px;color:var(--ink-3);font:inherit;background:0 0;border:0;border-radius:10px;padding:0 8px;font-size:13px}.wake-schedule-options button.active{color:var(--ink-1);background:rgba(var(--accent-rgb),.14)}.wake-level-field{color:var(--ink-2);gap:12px;margin-top:22px;font-size:14px;display:grid}.wake-level-field span{justify-content:space-between;display:flex}.wake-level-field output{color:var(--ink-1);font-variant-numeric:tabular-nums}.wake-level-field input{width:100%;accent-color:var(--accent)}.wake-plan-note{color:var(--ink-3);margin:16px 0 0;font-size:12px;line-height:1.55}.wake-plan-actions{grid-template-columns:.86fr 1.4fr;gap:10px;margin-top:14px;display:grid}.wake-plan-actions button{min-height:50px;font:inherit;border-radius:13px;font-size:14px;font-weight:600}.wake-plan-actions .quiet{border:1px solid rgba(var(--fg-rgb),.1);color:var(--ink-2);background:0 0}.wake-plan-actions .primary{color:var(--accent-ink);background:var(--accent);border:0}#baselineListenStatus{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.settings-link{border:0;border-bottom:1px solid rgba(var(--fg-rgb),.055);width:100%;min-height:56px;color:var(--ink-1);font:inherit;font-size:var(--t-headline);text-align:start;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:16px;padding:0;display:flex}.settings-link-end{min-width:0;color:var(--ink-3);align-items:center;gap:12px;display:flex}.settings-link small{font-size:var(--t-body)}.settings-link i{border-top:1.5px solid;border-right:1.5px solid;width:7px;height:7px;margin-right:5px;font-size:0;transform:rotate(45deg)}.account-dialog{background:var(--bg-0);width:min(100%,480px);max-width:100%;height:100dvh;max-height:100dvh;color:var(--ink-1);overscroll-behavior:contain;color-scheme:inherit;border:0;border-radius:0;margin:auto;padding:0;overflow-y:auto}.account-dialog::backdrop{background:rgba(var(--shade-rgb),.65)}.account-dialog[data-presentation=sheet]{border:1px solid rgba(var(--accent-rgb),.18);background:var(--bg-1);width:min(100%,480px);height:min(78dvh,720px);max-height:calc(100dvh - 48px);box-shadow:0 -24px 70px rgba(var(--shade-rgb),.5);border-bottom:0;border-radius:24px 24px 0 0;margin:auto auto 0;animation:.3s cubic-bezier(.22,.82,.28,1) both account-sheet-in}.account-dialog[data-presentation=sheet]::backdrop{background:rgba(var(--shade-rgb),.68);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.account-dialog[data-presentation=sheet] .account-dialog-head{border-bottom-color:rgba(var(--fg-rgb),.08);background:rgba(var(--bg-rgb),.94);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding-top:18px}.account-dialog[data-presentation=sheet] .account-dialog-head:before{background:rgba(var(--fg-rgb),.22);content:"";border-radius:999px;width:42px;height:4px;position:absolute;top:8px;left:50%;transform:translate(-50%)}.account-dialog[data-presentation=sheet] .account-body{padding-top:18px}.account-dialog[data-presentation=sheet] .account-sheet-head{border-bottom:0;justify-content:flex-end;min-height:50px;padding:12px 12px 0;position:relative}.account-dialog[data-presentation=sheet] .account-sheet-head+.account-body{padding-top:4px}.account-dialog[data-presentation=sheet].account-dialog-auth{height:auto;min-height:0;max-height:min(78dvh,720px)}.account-dialog.account-dialog-auth .account-body{padding-top:8px;padding-bottom:calc(22px + var(--safe-bottom,env(safe-area-inset-bottom)))}.account-dialog.account-dialog-sheet-root{height:min(740px,100dvh - 20px);min-height:0;max-height:calc(100dvh - 20px);overflow:hidden}.account-dialog.account-dialog-sheet-root .account-body{height:fit-content;padding:0 24px calc(20px + var(--safe-bottom,env(safe-area-inset-bottom)));overflow:hidden}.account-dialog-sheet-root .account-plans-view{flex-direction:column;min-height:0;display:flex}.account-dialog-sheet-root .account-plans-view h3{font-size:var(--t-display);line-height:1.2;font-family:var(--font-display);margin:0 0 8px}.account-dialog-sheet-root .account-plans-view>p{font-size:var(--t-body);margin:8px 0;line-height:1.45}.account-dialog-sheet-root .account-plus-lead{max-width:38em;color:var(--ink-2);font-size:var(--t-body);line-height:1.55}html[lang=zh-CN] .account-dialog-sheet-root .account-plus-lead{white-space:nowrap;width:100%;max-width:none;font-size:12px}.account-dialog-sheet-root .account-benefits{font-size:var(--t-body);margin:18px 0 26px}.account-dialog-sheet-root .account-benefits th,.account-dialog-sheet-root .account-benefits td{padding:14px 4px;line-height:1.35}.account-dialog-sheet-root .account-benefits td{font-size:var(--t-headline)}.account-dialog-sheet-root .account-plan{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 28px;display:grid}.account-dialog-sheet-root .account-plan label{min-width:0;min-height:58px;font-size:var(--t-headline);gap:8px;padding:13px 14px}.account-dialog-sheet-root .account-plan-meta{gap:7px}.account-dialog-sheet-root .account-plan-meta b{font-size:var(--t-body)}.account-dialog-sheet-root .account-plan-meta small{font-size:var(--t-caption)}.account-dialog-sheet-root .account-plans-view>.account-primary{min-height:62px;padding:10px 18px;line-height:1.2}.account-dialog-sheet-root .account-paid-consent{color:var(--ink-3);font-size:var(--t-callout);gap:7px;margin:16px 0 4px;padding:0;line-height:1.45}.account-dialog-sheet-root .account-paid-consent .account-inline-link{color:var(--accent-text);font-size:var(--t-callout)}.account-dialog-sheet-root .account-paid-consent input{flex-basis:16px;width:16px;height:16px;margin-top:0}html[lang=zh-CN] .account-dialog-sheet-root .account-paid-consent>span{white-space:nowrap;flex:1;min-width:0;font-size:12px;line-height:1.4}html[lang=zh-CN] .account-dialog-sheet-root .account-paid-consent .account-inline-link{font-size:inherit}@media (width<=400px){html[lang=zh-CN] .account-dialog-sheet-root .account-plus-lead{font-size:10.75px}html[lang=zh-CN] .account-dialog-sheet-root .account-paid-consent>span{font-size:11px}}@media (width<=360px){html[lang=zh-CN] .account-dialog-sheet-root .account-plus-lead,html[lang=zh-CN] .account-dialog-sheet-root .account-paid-consent>span{white-space:normal}.account-dialog-sheet-root .account-plan label{flex-wrap:wrap}.account-dialog-sheet-root .account-plan-meta{width:100%;margin-left:0;padding-left:24px}}.account-dialog-sheet-root #accountStatus+p,.account-dialog-sheet-root .account-primary .account-renewal-note{color:inherit;text-align:center;opacity:.8;margin-top:4px;font-size:11px;font-weight:400;line-height:1.4;display:block}.account-dialog-sheet-root .account-plans-view>#accountStatus{text-align:center}.account-purchase-confirm{z-index:40;background:rgba(var(--shade-rgb),.68);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.account-purchase-confirm-card{border:1px solid var(--bg-6);background:var(--bg-2);width:min(100%,350px);color:var(--ink-1);box-shadow:0 24px 60px rgba(var(--shade-rgb),.55);border-radius:8px;padding:20px 18px 16px}.account-purchase-confirm-card h4{font-size:var(--t-headline);text-align:center;margin:0 0 14px;line-height:1.3}.account-purchase-confirm-plan{border-block:1px solid rgba(var(--fg-rgb),.08);font-size:var(--t-body);justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px;padding:12px 0;display:flex}.account-purchase-confirm-plan strong{color:var(--accent-text);font-size:var(--t-headline)}.account-purchase-confirm-card>p{color:var(--ink-2);font-size:var(--t-callout);margin:8px 0;line-height:1.6}.account-purchase-confirm-card .account-purchase-confirm-terms{color:var(--ink-3);font-size:11px}.account-purchase-confirm-card .account-inline-link{color:var(--accent-text);font-size:inherit}.account-purchase-confirm-actions{gap:8px;margin-top:16px;display:flex}.account-purchase-confirm-actions button{min-height:42px;font:inherit;font-size:var(--t-callout);cursor:pointer;border-radius:6px;flex:1;padding:9px 12px}.account-purchase-confirm-secondary{border:1px solid var(--bg-7);color:var(--ink-1);background:0 0}.account-purchase-confirm-primary{border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink);font-weight:600}.account-purchase-confirm-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@keyframes account-sheet-in{0%{opacity:.55;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.account-dialog.is-bare{width:100%;max-width:100%;height:100dvh;margin:0}.account-dialog.is-bare::backdrop{background:0 0}.account-dialog-head{padding:calc(2px + var(--safe-top,env(safe-area-inset-top))) 12px 8px;z-index:2;background:var(--bg-0);border-bottom:1px solid rgba(var(--fg-rgb),.07);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.account-dialog-head h2{font-size:var(--t-headline);text-align:center;margin:0;line-height:1.3}.account-dialog-head button{width:44px;height:44px;box-shadow:none;color:var(--accent-text);font-size:var(--t-display);cursor:pointer;appearance:none;-webkit-tap-highlight-color:transparent;background:0 0;border:0;outline:none;flex:0 0 44px}.account-dialog-head button:focus,.account-dialog-head button:focus-visible,.account-dialog-head button:active{box-shadow:none;border:0;outline:none}.account-dialog-head button:disabled{visibility:hidden}.account-body{padding:16px 24px calc(32px + var(--safe-bottom,env(safe-area-inset-bottom)))}.account-body h3{font-size:var(--t-title);line-height:1.3;font-weight:var(--display-weight);overflow-wrap:anywhere;font-family:var(--font-display);margin:8px 0 10px}.account-body h4{font-size:var(--t-headline);margin:24px 0 12px}.account-body p{font-size:var(--t-body);color:var(--ink-2);margin:10px 0;line-height:1.7}.account-body .account-demo{font-size:var(--t-callout);color:var(--accent-text);margin:0 0 12px}.account-body form{gap:18px;margin-top:20px;display:grid}.account-field{font-size:var(--t-body);color:var(--ink-2);gap:8px;display:grid}#authForm{gap:14px;margin-top:8px}.account-auth-fields{border:1px solid var(--bg-6);background:var(--bg-2);border-radius:10px;overflow:hidden}#authForm .account-field{min-height:54px;color:var(--ink-3);font-size:var(--t-callout);grid-template-columns:3.25em minmax(0,1fr);align-items:center;gap:0 10px;padding:0 12px}#authForm .account-field+.account-field{border-top:1px solid rgba(var(--fg-rgb),.07)}#authForm .account-field:focus-within{background:rgba(var(--fg-rgb),.025);color:var(--ink-2)}#authForm .account-input-wrap{height:53px}#authForm .account-field input{background:0 0;border:0;border-radius:0;outline:none;height:100%;padding:0 4px}#authForm .account-field input:focus{box-shadow:none}#authForm>.account-check{align-items:center}.account-input-wrap{display:block;position:relative}.account-input-wrap input{padding-right:46px}.account-eye{width:40px;height:40px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:50%;right:3px;transform:translateY(-50%)}.account-eye svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.account-eye[aria-pressed=true]{color:var(--accent-text)}.account-field input{border:1px solid var(--bg-6);background:var(--bg-2);width:100%;min-width:0;height:48px;color:var(--ink-1);font:inherit;border-radius:6px;padding:0 12px;font-size:16px}.account-or{text-align:center;font-size:var(--t-callout);color:var(--ink-3);margin:14px 0 0;line-height:1.4}.account-apple{color:#000;width:100%;min-height:48px;font:inherit;font-size:var(--t-headline);cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;margin-top:8px;padding:12px 18px;font-weight:600;display:flex}.account-apple-logo{flex:0 0 18px;width:18px;height:18px;display:block}.account-primary,.account-secondary{width:100%;min-height:50px;font:inherit;font-size:var(--t-headline);cursor:pointer;border-radius:6px;padding:12px 18px}.account-primary{background:var(--accent);color:var(--accent-ink);border:1px solid #0000;font-weight:600}.account-secondary{border:1px solid var(--bg-6);color:var(--ink-2);background:0 0;margin-top:12px}.account-text{min-height:44px;color:var(--accent-text);font:inherit;font-size:var(--t-body);cursor:pointer;background:0 0;border:0;padding:10px 0}.account-text:disabled{opacity:.55;cursor:default}.account-actions{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-top:6px;display:flex}.account-body [role=status]:empty{display:none}.account-check{font-size:var(--t-callout);color:var(--ink-2);align-items:flex-start;gap:10px;line-height:1.6;display:flex}.account-check input{width:18px;height:18px;accent-color:var(--accent);flex:0 0 18px;margin:2px 0 0}html:lang(en) #authForm>.account-check>span{white-space:nowrap;font-size:12px}@media (width<=360px){html:lang(en) #authForm>.account-check>span{font-size:11px}}.account-paid-consent{margin:6px 0 16px;padding:4px 0}.account-paid-consent+.account-primary{margin-top:4px}.account-primary+.account-actions,.account-primary+.account-text{margin-top:14px}.account-inline-link{color:var(--accent-text);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;outline:none;margin:0 2px;padding:0;text-decoration:none;display:inline}.account-inline-link:focus,.account-inline-link:focus-visible,.account-inline-link:active{box-shadow:none;outline:none;text-decoration:none}.account-primary:disabled,.account-secondary:disabled{opacity:.55;cursor:default}.account-primary:disabled:not([data-loading=false]),.account-apple:disabled,#authForm button[type=submit]:disabled,#purchaseForm button[type=submit]:disabled,#trialForm button[type=submit]:disabled,#resetForm button[type=submit]:disabled,#resetConfirmForm button[type=submit]:disabled,#profileForm button[type=submit]:disabled,#localDeleteForm button[type=submit]:disabled{pointer-events:none;padding-left:52px;padding-right:52px;position:relative}#authForm button[type=submit]:disabled,.account-apple:disabled,#profileForm button[type=submit]:disabled{padding-left:52px}.account-primary:disabled:not([data-loading=false]):after,.account-apple:disabled:after,#authForm button[type=submit]:disabled:after,#purchaseForm button[type=submit]:disabled:after,#trialForm button[type=submit]:disabled:after,#resetForm button[type=submit]:disabled:after,#resetConfirmForm button[type=submit]:disabled:after,#profileForm button[type=submit]:disabled:after,#localDeleteForm button[type=submit]:disabled:after{content:"";opacity:.8;transform-origin:50%;border:2px solid #0000;border-color:#0000 #0000 currentColor currentColor;border-radius:50%;width:18px;height:18px;margin-top:-9px;animation:.82s linear infinite account-loading-spin;position:absolute;top:50%;right:20px}@keyframes account-loading-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.account-plan{border:0;flex-direction:column;gap:10px;margin:24px 0;padding:0;display:flex}.account-plan legend{font-size:var(--t-body);color:var(--ink-2);margin-bottom:12px}.account-plan label{border:1px solid var(--bg-6);min-height:54px;font-size:var(--t-body);border-radius:6px;align-items:center;gap:10px;padding:14px;display:flex}.account-plan label>span:first-of-type{flex:none}.account-plan-meta{white-space:nowrap;flex-direction:row;justify-content:flex-end;align-items:baseline;gap:8px;margin-left:auto;display:flex}.account-plan-meta b{font-weight:600;font-size:var(--t-body);white-space:nowrap}.account-plan-meta small{font-size:var(--t-callout);color:var(--ink-1);white-space:nowrap;font-weight:600}.account-plan-loading{color:var(--ink-2);font-weight:600;font-size:var(--t-callout)}.account-plan label:has(:checked){border-color:var(--accent);background:rgba(var(--accent-rgb),.09);color:var(--ink-1)}.account-plan input{accent-color:var(--accent);margin:0}.account-benefits{border-collapse:collapse;width:100%;font-size:var(--t-callout);margin:26px 0}.account-benefits th,.account-benefits td{text-align:start;border-bottom:1px solid var(--bg-5);padding:14px 6px;line-height:1.5}.account-benefits th{color:var(--ink-2);font-weight:400}.account-benefit-label{align-items:center;gap:10px;display:flex}.account-benefit-label svg{stroke-width:1.6px;width:20px;height:20px;color:var(--ink-3);flex:0 0 20px}.account-about-website{color:var(--accent-text);align-items:center;gap:8px;text-decoration:none;display:inline-flex}.account-about-website svg{stroke-width:1.6px;flex:0 0 18px;width:18px;height:18px}.account-benefits td:last-child,.account-benefits th:last-child{color:var(--accent-text)}.account-facts{margin:24px 0}.account-facts div{border-bottom:1px solid var(--bg-5);font-size:var(--t-body);justify-content:space-between;gap:20px;padding:16px 0;display:flex}.account-facts dt{color:var(--ink-2)}.account-facts dd{text-align:end;overflow-wrap:anywhere;min-width:0;margin:0}.account-danger{color:var(--rose)}.account-toast{left:50%;bottom:calc(28px + var(--safe-bottom,env(safe-area-inset-bottom)));z-index:30;background:rgba(var(--bg-rgb),.92);max-width:min(86vw,320px);color:var(--ink-1);font-size:var(--t-body);text-align:center;box-shadow:0 8px 24px rgba(var(--shade-rgb),.35);pointer-events:none;border-radius:10px;margin:0;padding:11px 16px;line-height:1.45;position:fixed;transform:translate(-50%)}@media (width<=360px){.account-body{padding-inline:18px}.account-body h3{font-size:var(--t-title);font-family:var(--font-display)}}.account-terms-section h4{font-size:var(--t-headline);color:var(--ink-1);margin:24px 0 8px;font-weight:600}.account-terms-item h5{font-size:var(--t-body);color:var(--ink-1);margin:14px 0 6px;font-weight:600}.account-terms-list{font-size:var(--t-body);color:var(--ink-2);margin:0 0 8px;padding-left:1.1em;line-height:1.7}.account-terms-list strong{color:var(--ink-1);font-weight:500}.account-terms-section p{font-size:var(--t-body);color:var(--ink-2);margin:0 0 8px;line-height:1.7}.account-terms-contact{font-size:var(--t-callout);color:var(--ink-3);margin-top:18px}.account-terms-contact a{color:var(--teal);overflow-wrap:anywhere}.consent-gate{z-index:200;background:var(--bg-0);overscroll-behavior:contain;touch-action:manipulation;justify-content:center;align-items:center;padding:24px 16px;display:flex;position:fixed;inset:0}body:has(.consent-gate) .workspace{display:none!important}.consent-gate-card{background:var(--bg-2);border:1px solid var(--bg-5);width:min(100%,420px);color:var(--ink-1);box-shadow:0 24px 60px rgba(var(--shade-rgb),.55);border-radius:14px;padding:24px 22px 20px}.consent-gate-title{text-align:center;font-size:var(--t-headline);margin:0 0 14px;font-weight:600;line-height:1.35}.consent-gate-body p{color:var(--ink-2);font-size:var(--t-callout);margin:8px 0;line-height:1.7}.consent-gate-inline-link{color:var(--accent-text);cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:3px;padding:0 1px;text-decoration:none}.consent-gate-inline-link:hover{color:var(--accent-text)}.consent-gate-inline-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.assistant-consent{z-index:10;background:rgba(var(--bg-rgb),.85);justify-content:center;align-items:center;padding:18px 16px;display:flex;position:absolute;inset:0}.assistant-consent-card{background:var(--bg-2);border:1px solid var(--bg-5);width:min(100%,380px);color:var(--ink-1);box-shadow:0 24px 60px rgba(var(--shade-rgb),.55);border-radius:14px;padding:20px 18px 16px}.assistant-consent-title{font-size:var(--t-headline);text-align:center;margin:0 0 12px;font-weight:600;line-height:1.35}.assistant-consent-body p{color:var(--ink-2);font-size:var(--t-callout);margin:6px 0;line-height:1.65}.assistant-consent-draft{color:var(--ink-1);background:var(--bg-3);font-size:var(--t-callout);word-break:break-all;border-radius:8px;margin:10px 0 6px;padding:8px 10px;line-height:1.5}.assistant-consent-hint{color:var(--ink-3);font-size:var(--t-caption);margin-top:6px}.assistant-consent-links{font-size:var(--t-callout);justify-content:center;align-items:center;gap:10px;margin:10px 0 6px;display:flex}.assistant-consent-link{color:var(--accent-text);font:inherit;font-size:var(--t-callout);cursor:pointer;appearance:none;text-underline-offset:3px;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:5px;min-height:28px;padding:3px 4px;text-decoration:underline;text-decoration-thickness:1px}.assistant-consent-link:hover{color:var(--accent-text)}.assistant-consent-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.assistant-consent-link-sep{color:var(--ink-3);font-size:var(--t-callout)}.assistant-consent-actions{gap:8px;margin-top:14px;display:flex}.assistant-consent-btn{min-height:40px;font:inherit;font-size:var(--t-callout);cursor:pointer;border:1px solid #0000;border-radius:8px;flex:1}.assistant-consent-btn-primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}.assistant-consent-btn-secondary{color:var(--ink-1);border-color:var(--bg-8);background:0 0;font-weight:500}.assistant-consent-btn-secondary:hover{border-color:var(--ink-2);color:var(--ink-1)}.assistant-consent-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.consent-gate-actions{gap:10px;margin-top:18px;display:flex}.consent-gate-actions .consent-gate-btn{min-height:44px;font:inherit;font-size:var(--t-body);cursor:pointer;-webkit-tap-highlight-color:transparent;appearance:none;border:1px solid #0000;border-radius:8px;outline:none;flex:1}.consent-gate-btn-primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}.consent-gate-btn-secondary{color:var(--ink-1);border-color:var(--bg-8);background:0 0;font-weight:500}.consent-gate-btn-secondary:hover{border-color:var(--ink-2);color:var(--ink-1)}.consent-gate-btn:focus,.consent-gate-btn:active{box-shadow:none;outline:none}.consent-gate-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}html:not(:lang(zh)):not(:lang(ja)) .account-inline-link{margin-inline:.22em}html:not(:lang(zh)):not(:lang(ja)) .account-paid-consent .account-inline-link:not(:last-of-type):after{content:","}.account-body p.account-footnote{color:var(--ink-3);font-size:var(--t-callout);margin-top:18px;line-height:1.6}.account-body p.account-footnote+p.account-footnote{margin-top:4px}.account-body p.account-doc-links .account-inline-link{font-size:var(--t-callout);color:var(--accent-text)}.choice-row{cursor:default}.choice-switch{background:rgba(var(--fg-rgb),.06);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.choice-switch button{min-width:58px;min-height:32px;color:var(--ink-3);font:inherit;font-size:var(--t-callout);background:0 0;border:1px solid #0000;border-radius:999px;padding:0 14px;font-weight:500;transition:color .2s,background .2s,border-color .2s}.choice-switch button[aria-pressed=true]{border-color:rgba(var(--accent-rgb),.5);background:var(--bg-0);color:var(--accent-text);font-weight:600}#healthDataSource .settings-link-label{flex-shrink:0}#healthDataSource .settings-link-end{margin-left:auto}#healthDataSource .settings-link-end small{text-align:end;overflow-wrap:anywhere}#healthDataSource .settings-link-end i{flex-shrink:0}.sound-mixer-drawer{height:min(94dvh,920px);max-height:94dvh;padding:8px 0 0;overflow:hidden}.sound-mixer-drawer[open]{flex-direction:column;display:flex}.sound-mixer-drawer .settings-sheet-handle{flex:none}.mixer-sheet-head{flex:none;margin:0 24px}.mixer-sheet-head>div{gap:2px;display:grid}.mixer-sheet-head span{color:var(--ink-2);font-size:var(--t-caption)}.mixer-workspace{min-height:0;padding:0 24px calc(118px + var(--safe-bottom,env(safe-area-inset-bottom)));scrollbar-width:thin;overflow:auto}.mixer-workspace section{border-bottom:1px solid rgba(var(--fg-rgb),.09);padding:22px 0}.mixer-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.mixer-section-heading h3{font-size:var(--t-headline);margin:0 0 4px;font-weight:600}.mixer-section-heading p{color:var(--ink-3);font-size:var(--t-callout);margin:0;line-height:1.5}.mixer-section-heading strong{color:var(--accent-text);font-size:var(--t-caption);flex:none;font-weight:600}.mixer-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.mixer-choice-grid button{border:1px solid rgba(var(--fg-rgb),.13);min-height:44px;color:var(--ink-2);font:inherit;font-size:var(--t-callout);background:0 0;border-radius:6px;padding:8px 6px}.mixer-choice-grid button.active{border-color:var(--teal);background:var(--teal);color:var(--accent-ink);font-weight:600}.mixer-mode-block{border-top:1px solid rgba(var(--fg-rgb),.08);margin-top:18px;padding-top:16px}.mixer-mode-copy{color:var(--ink-1);font-size:var(--t-callout);justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:10px;display:flex}.mixer-mode-copy small{color:var(--ink-3);font-size:var(--t-caption);text-align:end;line-height:1.4}.mixer-mode-grid{grid-template-columns:1.35fr repeat(5,1fr);gap:6px;display:grid}.mixer-mode-grid button{border:1px solid rgba(var(--fg-rgb),.13);min-width:0;min-height:40px;color:var(--ink-2);font:inherit;font-size:var(--t-callout);background:0 0;border-radius:6px;padding:7px 4px}.mixer-mode-grid button.active{border-color:var(--accent);background:rgba(var(--accent-rgb),.14);color:var(--ink-1);font-weight:600}.mixer-mode-note{color:var(--ink-3);font-size:var(--t-caption);margin:9px 0 0;line-height:1.45}.mixer-select,.mixer-name{color:var(--ink-2);font-size:var(--t-callout);grid-template-columns:112px minmax(0,1fr);align-items:center;gap:14px;margin-top:16px;display:grid}.mixer-select select,.mixer-name input{box-sizing:border-box;border:1px solid rgba(var(--fg-rgb),.14);background:var(--bg-2);width:100%;min-height:44px;color:var(--ink-1);font-size:16px;font:inherit;border-radius:6px;padding:0 12px}.mixer-groups{border-bottom:1px solid rgba(var(--fg-rgb),.09)}.mixer-group{border-top:1px solid rgba(var(--fg-rgb),.09)}.mixer-group:first-child{border-top:0}.mixer-group summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:72px;list-style:none;display:flex}.mixer-group summary::-webkit-details-marker{display:none}.mixer-group summary span{gap:4px;display:grid}.mixer-group summary b{font-size:var(--t-body);font-weight:600}.mixer-group summary small{color:var(--ink-3);font-size:var(--t-caption);line-height:1.4}.mixer-group summary i{color:var(--ink-2);font-size:var(--t-title);font-style:normal;transition:transform .18s}.mixer-group[open] summary i{transform:rotate(45deg)}.mixer-controls{padding:0 0 14px}.mixer-control{border-top:1px solid rgba(var(--fg-rgb),.06);gap:10px;padding:14px 0;display:grid}.mixer-control-copy{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.mixer-control-copy b{color:var(--ink-1);font-size:var(--t-callout);font-weight:600}.mixer-control-copy small{max-width:54%;color:var(--ink-3);font-size:var(--t-caption);text-align:end}.mixer-control-input{grid-template-columns:minmax(0,1fr) 66px;align-items:center;gap:14px;display:grid}.mixer-control-input input[type=range]{width:100%;accent-color:var(--teal)}.mixer-control-input output{color:var(--accent-text);text-align:end;font:600 11px ui-monospace,SFMono-Regular,Menlo,monospace}.mixer-control.is-disabled{opacity:.36}.mixer-empty{color:var(--ink-3);font-size:var(--t-callout);margin:0 0 12px}.mixer-actions{z-index:2;padding:12px 24px calc(14px + var(--safe-bottom,env(safe-area-inset-bottom)));border-top:1px solid rgba(var(--fg-rgb),.1);background:rgba(var(--bg-rgb),.96);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:absolute;inset:auto 0 0}.mixer-actions p{min-height:18px;color:var(--ink-3);font-size:var(--t-caption);margin:0 0 9px}.mixer-actions>div{grid-template-columns:72px 1fr 1.2fr;gap:8px;display:grid}.mixer-actions button{border:1px solid rgba(var(--fg-rgb),.14);min-height:46px;color:var(--ink-1);font:inherit;font-size:var(--t-callout);background:0 0;border-radius:6px}.mixer-actions .mixer-preview{border-color:var(--teal);color:var(--teal)}.mixer-actions .mixer-save{border-color:var(--accent);background:var(--accent);color:var(--accent-ink);font-weight:600}.mixer-actions button:disabled{opacity:.38}@media (width<=390px){.mixer-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mixer-mode-copy{gap:3px;display:grid}.mixer-mode-copy small{text-align:start}.mixer-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mixer-select,.mixer-name{grid-template-columns:92px minmax(0,1fr)}}.research-drawer{height:min(94dvh,920px);max-height:94dvh;padding:8px 0 0;overflow:hidden}.research-drawer[open]{flex-direction:column;display:flex}.research-sheet-head{flex:none;margin:0 24px}.research-sheet-head>div{gap:2px;display:grid}.research-sheet-head span{color:var(--teal);font-size:var(--t-caption)}.research-workspace{min-height:0;padding:0 0 calc(30px + var(--safe-bottom,env(safe-area-inset-bottom)));scrollbar-width:thin;overflow:auto}.research-intro{padding:24px 0 20px}.research-intro>p{max-width:42em;color:var(--ink-2);font-size:var(--t-body);margin:0;line-height:1.7}.research-scope{border-top:1px solid rgba(var(--fg-rgb),.08);border-bottom:1px solid rgba(var(--fg-rgb),.08);grid-template-columns:.72fr .72fr 1.35fr;gap:0;margin-top:20px;display:grid}.research-scope span{border-left:1px solid rgba(var(--fg-rgb),.08);min-width:0;color:var(--ink-3);font-size:var(--t-callout);gap:3px;padding:13px 12px;display:grid}.research-scope span:first-child{border-left:0;padding-left:0}.research-scope strong{color:var(--ink-1);font-size:var(--t-body);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.research-method{background:var(--accent);border-radius:10px;margin:18px 0 8px;padding:14px 16px}.research-method b{color:var(--accent-ink);font-size:var(--t-callout);font-weight:600}.research-method p{color:var(--accent-ink);font-size:var(--t-callout);margin:6px 0 0;line-height:1.6}.research-claims{border-bottom:1px solid rgba(var(--fg-rgb),.1)}.research-claim{border-top:1px solid rgba(var(--fg-rgb),.1)}.research-claim:first-child{border-top:0}.research-claim summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:92px;list-style:none;display:grid}.research-claim summary::-webkit-details-marker{display:none}.research-claim summary>span{gap:7px;min-width:0;display:grid}.research-claim summary small{color:var(--ink-3);font-size:var(--t-callout)}.research-claim summary b{color:var(--ink-1);font-size:var(--t-body);font-weight:600;line-height:1.45}.research-claim summary em{border:1px solid rgba(var(--accent-rgb),.25);max-width:86px;color:var(--accent-text);font-size:var(--t-caption);text-align:center;border-radius:4px;padding:5px 7px;font-style:normal}.research-claim summary em[data-strength=consistent]{border-color:rgba(var(--teal-rgb),.34);color:var(--teal)}.research-claim summary em[data-strength=limited]{color:var(--amber);border-color:rgba(var(--amber-rgb),.28)}.research-claim-body{padding:0 0 22px}.research-claim-body dl{margin:0}.research-claim-body dl>div{border-top:1px solid rgba(var(--fg-rgb),.06);grid-template-columns:96px minmax(0,1fr);gap:14px;padding:11px 0;display:grid}.research-claim-body dt{color:var(--ink-3);font-size:var(--t-callout)}.research-claim-body dd{color:var(--ink-2);font-size:var(--t-callout);margin:0;line-height:1.6}.research-claim-body h3{color:var(--ink-3);font-size:var(--t-callout);margin:20px 0 6px;font-weight:600}.research-sources{display:grid}.research-sources a{border-top:1px solid rgba(var(--fg-rgb),.07);color:inherit;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 0;text-decoration:none;display:grid}.research-sources a span{gap:4px;min-width:0;display:grid}.research-sources a b{color:var(--ink-1);font-size:var(--t-callout);font-weight:600;line-height:1.45}.research-sources a small{color:var(--ink-3);font-size:var(--t-callout);line-height:1.5}.research-sources a i{color:var(--accent-text);font-size:var(--t-callout);white-space:nowrap;font-style:normal}.research-excluded{border-bottom:1px solid rgba(var(--fg-rgb),.1);padding:24px 0}.research-excluded>h2{font-size:var(--t-headline);margin:0 0 5px;font-weight:600}.research-excluded>p{color:var(--ink-3);font-size:var(--t-callout);margin:0 0 18px;line-height:1.6}.research-excluded>div{border-top:1px solid rgba(var(--fg-rgb),.08);padding:15px 0 0}.research-excluded>div>b{font-size:var(--t-callout);display:block}.research-excluded>div>small{color:var(--accent-text);font-size:var(--t-callout);margin:10px 0 3px;display:block}.research-excluded>div>p{color:var(--ink-2);font-size:var(--t-callout);margin:0;line-height:1.6}.research-rights{padding:20px 0 4px}.research-rights p{color:var(--ink-3);font-size:var(--t-caption);margin:0 0 7px;line-height:1.55}@media (width<=390px){.research-scope{grid-template-columns:.7fr .7fr 1.45fr}.research-scope span{padding-left:7px;padding-right:7px}.research-claim-body dl>div{grid-template-columns:92px minmax(0,1fr);gap:10px}.research-sources a{grid-template-columns:1fr;gap:6px}}:root{--sheet-width:480px;--sheet-edge:0px;--sheet-bg:rgba(var(--bg-rgb),.97);--sheet-border:rgba(var(--fg-rgb),.1);--sheet-line:rgba(var(--fg-rgb),.08);--sheet-ink:var(--ink-1);--sheet-muted:var(--ink-2);--sheet-accent:var(--accent-text);--sheet-pad:22px;--sheet-radius:26px;--keyboard-gap:12px;--keyboard-tuck:12px}:is(.checkin-dialog,.health-dialog,.settings-drawer,.account-dialog[data-presentation=sheet],.language-menu,.somna-picker-sheet){box-sizing:border-box;color:var(--sheet-ink);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);color-scheme:inherit;inset:auto 0 var(--sheet-edge)!important;width:min(100%, var(--sheet-width))!important;max-width:var(--sheet-width)!important;margin:auto auto var(--sheet-edge)!important;border:1px solid var(--sheet-border)!important;border-radius:var(--sheet-radius) var(--sheet-radius) 0 0!important;background:var(--sheet-bg)!important;box-shadow:0 24px 70px rgba(var(--shade-rgb),.52)!important;border-bottom:0!important}:is(.checkin-dialog,.health-dialog,.settings-drawer,.account-dialog[data-presentation=sheet],.language-menu,.somna-picker-sheet)::backdrop{background:rgba(var(--shade-rgb),.58)!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}:is(.settings-drawer,.language-menu,.health-dialog,.somna-picker-sheet){padding:0 var(--sheet-pad) calc(18px + var(--safe-bottom,env(safe-area-inset-bottom)))!important}.settings-drawer{max-height:calc(100dvh - var(--safe-top,env(safe-area-inset-top)) - 16px);overflow-y:auto;min-height:0!important}.health-dialog{max-height:calc(100dvh - var(--safe-top,env(safe-area-inset-top)) - 16px);height:auto!important;min-height:0!important}.account-dialog[data-presentation=sheet]{height:auto!important;min-height:0!important;max-height:calc(100dvh - var(--safe-top,env(safe-area-inset-top)) - 16px)!important;overflow-y:auto!important}.account-dialog.account-dialog-sheet-root .account-body{height:auto!important;overflow:visible!important}.settings-sheet-handle{display:none!important}:is(.checkin-head,.health-dialog-head,.settings-sheet-head,.account-dialog[data-presentation=sheet] .account-dialog-head,.somna-picker-bar){justify-content:space-between;align-items:center;gap:16px;display:flex;position:relative;background:0 0!important;border:0!important;min-height:76px!important;margin:0!important;padding:0!important}:is(.checkin-head,.health-dialog-head,.settings-sheet-head,.account-dialog[data-presentation=sheet] .account-dialog-head,.somna-picker-bar) :is(h2,strong){min-width:0;color:var(--sheet-ink)!important;font-size:var(--t-headline)!important;letter-spacing:0!important;text-align:left!important;margin:0!important;font-weight:600!important;line-height:1.35!important}:is(.checkin-head,.health-dialog-head,.settings-sheet-head,.account-dialog[data-presentation=sheet] .account-dialog-head)>button{min-width:36px;font:inherit;outline:0;width:36px!important;height:36px!important;color:var(--ink-2)!important;box-shadow:none!important;font-size:var(--t-display)!important;background:0 0!important;border:0!important;border-radius:0!important;flex:0 0 36px!important;padding:0!important;line-height:1!important}.checkin-head>strong{flex:1;order:1}.checkin-head>button{order:2}.account-dialog[data-presentation=sheet] .account-dialog-head{z-index:3;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:sticky;top:0;padding-inline:var(--sheet-pad)!important}.language-menu.language-menu>.settings-sheet-head{z-index:3;position:sticky;top:0;background:var(--sheet-bg)!important}.account-dialog[data-presentation=sheet] .account-dialog-head:before{display:none!important}.account-dialog[data-presentation=sheet] .account-dialog-head h2{flex:1}.account-dialog[data-presentation=sheet] #accountBack:disabled{display:none}.account-dialog[data-presentation=sheet] .account-sheet-head{justify-content:space-between!important}.account-dialog[data-presentation=sheet] .account-body{padding:0 var(--sheet-pad) calc(22px + var(--safe-bottom,env(safe-area-inset-bottom)))!important}.account-dialog.account-dialog-sheet-root .account-plans-view>h3,.account-dialog.account-dialog-sheet-root .account-body>h3:first-child{display:none}.account-dialog[data-presentation=sheet].account-dialog-plus{--plus-champagne:var(--sand);--plus-lilac:var(--accent-text);border-color:rgba(var(--sand-rgb),.24)!important;background-color:var(--bg-0)!important;background-image:repeating-linear-gradient(118deg, transparent 0 18px, rgba(var(--sand-rgb),.018) 18px 19px), linear-gradient(180deg, rgba(var(--bg-rgb),.34) 0, rgba(var(--bg-rgb),0) 42%)!important;box-shadow:inset 0 1px 0 rgba(var(--sand-rgb),.08), 0 24px 76px rgba(var(--shade-rgb),.62)!important}.account-dialog-plus .account-sheet-head{background:rgba(var(--bg-rgb),.72)!important}.account-dialog-plus .account-sheet-head h2{align-items:center;gap:10px;display:flex}.account-plus-mark{border:1px solid rgba(var(--accent-rgb),.18);background:var(--bg-0);width:48px;height:48px;box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.05), 0 0 20px rgba(var(--teal-rgb),.1), 0 0 26px rgba(var(--sand-rgb),.05);border-radius:50%;flex:0 0 48px;display:block;position:relative;overflow:hidden}.account-plus-mark canvas{filter:saturate(1.18)contrast(1.1);width:100%;height:100%;display:block}.account-dialog-plus .account-benefits td:last-child,.account-dialog-plus .account-benefits th:last-child{color:var(--plus-lilac)}.account-dialog-plus .account-plan label:has(:checked){border-color:rgba(var(--accent-rgb),.78);background:rgba(var(--accent-rgb),.08);box-shadow:inset 3px 0 0 rgba(var(--sand-rgb),.68)}.health-dialog{overflow:auto}.health-dialog-head h2{flex:1}.health-state{margin:8px 0 18px!important}.research-drawer{padding-inline:var(--sheet-pad)!important;padding-bottom:0!important}.sound-mixer-drawer{padding-inline:0!important;padding-bottom:0!important}.research-drawer .settings-sheet-head,.sound-mixer-drawer .settings-sheet-head{margin-inline:var(--sheet-pad)!important}.mixer-workspace{padding-inline:var(--sheet-pad)!important}.language-menu>[role=radiogroup]{border-top:1px solid var(--sheet-line)}.language-menu label{min-height:62px;padding:0 4px;background:0 0!important}.language-menu label:has(input:checked){color:var(--ink-1)}.wake-schedule-options,.wake-schedule-options button,.wake-plan-actions button,.sleep-feeling-field label,.mixer-choice-grid button,.mixer-mode-grid button,.mixer-select select,.mixer-name input,.mixer-actions button,.account-dialog[data-presentation=sheet] :is(input,select,.account-plan label){border-radius:8px!important}.account-dialog[data-presentation=sheet] :is(.account-primary,.account-secondary,.account-apple){border-radius:999px!important}:is(.settings-drawer,.health-dialog,.account-dialog[data-presentation=sheet],.language-menu){font-size:var(--t-body);line-height:1.7}:is(.settings-drawer,.health-dialog,.account-dialog[data-presentation=sheet],.language-menu) p{line-height:1.7}.somna-picker-sheet[open]{display:block;position:fixed}.somna-picker-bar strong{flex:1;text-align:center!important}.somna-picker-bar button{min-width:54px;min-height:44px;color:var(--sheet-accent);font:inherit;font-size:var(--t-body);background:0 0;border:0;padding:0}.somna-picker-wheels{min-height:0;display:flex;position:relative}:is(.baseline-head,.calibration-head,.nap-head){min-height:76px}.sleep-mode-head{min-height:44px}:is(.baseline-head,.calibration-head,.nap-head)>button,.sleep-mode-head>button{width:36px;height:36px;color:var(--ink-2);background:0 0;border:0;border-radius:0}#closeBaseline{border-radius:50%;width:44px;height:44px}:is(.baseline-head,.calibration-head)>span{font-size:var(--t-headline);color:var(--sheet-ink);font-weight:600}.baseline-head:not(.baseline-head-intro)>.baseline-brand{justify-content:center}@media (width<=360px){:root{--sheet-pad:18px}}html.keyboard-open :is(.checkin-dialog,.account-dialog[data-presentation=sheet],.settings-drawer,.language-menu,.somna-picker-sheet)[open]{transition:inset .25s cubic-bezier(.2,.8,.3,1),max-height .25s cubic-bezier(.2,.8,.3,1);inset:auto 0 max(0px, calc(var(--keyboard-h,0px) - var(--keyboard-tuck,0px)))!important;max-height:calc(var(--vv-h,100dvh) + var(--keyboard-tuck,0px) - max(8px, var(--safe-top,env(safe-area-inset-top))))!important;margin-bottom:0!important}html.keyboard-open :is(.settings-drawer,.language-menu,.somna-picker-sheet),html.keyboard-open .account-dialog[data-presentation=sheet] .account-body{padding-bottom:calc(var(--keyboard-gap) + var(--keyboard-tuck))!important}html.keyboard-open .checkin-shell{height:min(calc(var(--vv-h,100dvh) + var(--keyboard-tuck,0px) - max(8px, var(--safe-top,env(safe-area-inset-top)))), 780px);padding-bottom:calc(var(--keyboard-gap) + var(--keyboard-tuck));transition:height .25s cubic-bezier(.2,.8,.3,1),padding-bottom .25s cubic-bezier(.2,.8,.3,1)}html.dialog-scroll-locked{overscroll-behavior:none;overflow:hidden}dialog,dialog *{overscroll-behavior-y:contain}.tonight-melody-section .tonight-melody-row button span{box-sizing:border-box;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;text-wrap:balance;justify-content:center;align-items:flex-end;min-height:calc(2.4em + 22px);padding:14px 6px 8px;line-height:1.2;display:flex;overflow:visible}.adaptive-phase-rail button strong{white-space:nowrap;text-overflow:clip;overflow-wrap:normal;padding-right:0;line-height:1.25;overflow:visible}.tonight-melody-section{margin-top:28px}.journey-tune{margin-top:30px}.tonight-melody-row button.more-melodies{background:rgba(var(--fg-rgb),.02);border-color:var(--line);color:var(--ink-3);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.tonight-melody-row button.more-melodies:after{display:none}.tonight-melody-row .more-melodies-icon{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}.tonight-melody-section .tonight-melody-row button.more-melodies span{min-height:0;color:var(--ink-2);background:0 0;padding:0 6px;position:static}.tonight-melody-row button.more-melodies:hover{border-color:var(--ink-3)}.tonight-melody-section .tonight-melody-row button:not(.more-melodies) span{color:var(--art-ink)}.tonight-melody-section .tonight-melody-row button.active span{color:var(--art-accent)}.adaptive-phase-rail button:last-child strong{justify-self:end}.association-options.feeling-options{grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;display:grid}.association-options.feeling-options button{white-space:normal;overflow-wrap:anywhere;text-align:center;width:100%;min-width:0;line-height:1.25}.feeling-options button[aria-busy=true]{justify-content:center;align-items:center;gap:8px;display:flex}.baseline-feeling-skip{color:var(--ink-3);background:0 0;border:0;min-height:40px}.baseline-step:has(.feeling-sample) .baseline-actions p{color:var(--ink-2);font-size:14px}.baseline-feeling-confirm{justify-content:center;align-items:center;gap:8px;display:flex}.baseline-generated-print{width:min(84%,330px,max(200px,100dvh - 560px));margin:16px auto 22px}.baseline-generated-print canvas{transform:scale(1.38)}@media (height<=740px){.baseline-generated-print{width:min(78%,220px,max(160px,100dvh - 540px));margin:10px auto 14px}}.melody-grid .melody-tile{isolation:isolate;box-sizing:border-box;justify-content:flex-end;width:100%;min-width:0;min-height:156px;overflow:hidden}.melody-tile>.melody-artwork{object-fit:cover;z-index:-2;width:100%;height:100%;position:absolute;inset:0}.melody-grid .melody-tile:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#0000 15%,#0000007a 55%,#000000e0);position:absolute;inset:0}.melody-grid .melody-tile-name{color:#f2f3ed}.melody-grid .melody-tile-status,.melody-grid .melody-tile>small{color:#d8ded8}.melody-grid .melody-tile.is-selected .melody-tile-status{color:var(--accent)}.melody-grid .melody-tile-check{background:#0000008c;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.melody-grid .melody-tile-check:empty{display:none}.sound-rating{padding:16px 0 0}.sound-rating fieldset{border:0;min-width:0;margin:0;padding:0}.sound-rating button{font:inherit;cursor:pointer}.sound-rating-scores{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.sound-rating-scores button{border:1px solid var(--line);min-height:52px;color:var(--ink-2);background:0 0;border-radius:16px;font-size:22px;transition:background .18s,color .18s,border-color .18s}.sound-rating button[aria-pressed=true]{color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}.sound-rating button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sound-rating-scale{color:var(--ink-3);font-size:var(--t-caption);justify-content:space-between;margin-top:9px;display:flex}.sound-feeling-options{margin:0 0 20px}.sound-feeling-options p{color:var(--ink-2);font-size:var(--t-callout);margin:0 0 10px}.sound-feeling-options small{color:var(--ink-3);font-size:var(--t-caption);margin-top:4px;display:block}.sound-feeling-options>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.sound-feeling-options button:last-child:nth-child(odd){grid-column:1/-1}.sound-feeling-options button{text-align:center;overflow-wrap:anywhere;border:1px solid var(--line);background:rgba(var(--fg-rgb),.035);min-width:0;min-height:48px;color:var(--fg);border-color:rgba(var(--fg-rgb),.19);font-size:var(--t-callout);border-radius:999px;padding:10px 14px}.sound-rating-skip{min-height:44px;color:var(--ink-3);background:0 0;border:0;flex:none;padding:8px 0 8px 12px}.sound-rating button:disabled{opacity:.4;cursor:default}.sound-rating fieldset:disabled{opacity:1}.sound-rating>[role=alert]{color:var(--ink-2);margin-top:10px}.evolution-screen:has(.sound-rating){--sound-panel-width:min(100%, 360px, max(80px, calc(100dvh - var(--topbar-h) - var(--tabbar-h) - var(--sound-chrome))));height:calc(100dvh - var(--topbar-h));min-height:0;padding-bottom:calc(var(--tabbar-h) + 12px)}.evolution-screen:has(.sound-rating) .sound-deck{min-height:0;width:var(--sound-panel-width);flex:none;margin:auto;padding-top:8px}.evolution-screen .sound-rating{flex-shrink:0}.sound-feeling-options{margin-bottom:0}.sound-rating button.is-processing,.sound-rating button.is-processing:disabled{opacity:1;color:var(--accent-ink);background:var(--accent);border-color:var(--accent);box-shadow:0 8px 24px rgba(var(--accent-rgb),.12)}.sound-rating-scores button{place-items:center;display:grid}.sound-rating-spinner{flex:none;width:23px;height:23px;animation:.8s linear infinite sound-rating-spin}.sound-rating-skip{border-radius:999px;justify-content:center;align-items:center;gap:8px;display:inline-flex}.sound-rating-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes sound-rating-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.sound-rating-spinner{animation:none}}.sound-rating-header{justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;display:flex}.sound-rating-header p{min-width:0;color:var(--ink-1);font-size:var(--t-body);margin:0;line-height:1.4}.sound-feeling-options button{justify-content:center;align-items:center;gap:8px;transition:background .18s,color .18s,border-color .18s;display:inline-flex}.sound-rating{position:relative}.sound-rating fieldset{min-height:160px}.sound-rating-header p{line-height:22px}.sound-feeling-options>div{grid-auto-rows:minmax(48px,auto)}.sound-rating>[role=alert]{margin:2px 0 0;position:absolute;top:100%;left:0;right:0}.evolution-screen:has(.sound-rating) .sound-copy{flex-shrink:0;min-height:100px}.sound-rating-skip{justify-content:flex-end;gap:6px;width:72px;padding:8px 0}.sound-rating-skip .sound-rating-spinner{visibility:hidden;width:15px;height:15px;animation:none}.sound-rating .sound-rating-skip.is-processing,.sound-rating .sound-rating-skip.is-processing:disabled{color:var(--accent);box-shadow:none;background:0 0;border-color:#0000}.sound-rating-skip.is-processing .sound-rating-spinner{visibility:visible;animation:.8s linear infinite sound-rating-spin}@media (prefers-reduced-motion:reduce){.sound-rating-skip.is-processing .sound-rating-spinner{animation:none}}.sound-rating-header p{font-weight:400}.sound-rating-header .sound-rating-skip{width:auto;min-width:56px;min-height:28px;font-size:var(--t-caption);justify-content:center;padding:2px 8px}.sound-rating-scale{text-align:center;justify-content:center;align-items:center;gap:10px;margin-top:10px}.sound-rating-scale:before{content:"→";opacity:.6;order:1}.sound-rating-scale>:first-child{order:0}.sound-rating-scale>:last-child{order:2}.evolution-screen .sound-rating{box-sizing:border-box;flex:0 0 212px;height:212px;min-height:212px}.sound-rating fieldset{box-sizing:border-box;height:196px;min-height:196px}.sound-rating-header{flex-shrink:0}.evolution-screen:has(.sound-rating) .explore-lead{flex-shrink:0}.sound-rating-header{height:72px}.evolution-screen .sound-rating:has(>[role=alert]){flex-basis:auto;height:auto}.sound-rating>[role=alert]{margin:8px 0 0;line-height:1.5;position:static}.sound-rating-retry{border:1px solid var(--accent-line);min-height:44px;color:var(--accent);background:0 0;border-radius:12px;margin-left:12px;padding:6px 12px}.evolution-screen:has(.sound-rating) .explore-lead{padding:20px 2px 8px}.evolution-screen:has(.sound-rating) .explore-progress{margin-top:8px}.evolution-screen:has(.sound-rating) .sound-copy{flex-shrink:0;padding-bottom:6px}.evolution-screen:has(.sound-rating) .sound-copy h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.evolution-screen .sound-rating{flex-basis:168px;height:168px;min-height:168px;padding-top:8px}.sound-rating fieldset{height:160px;min-height:160px}.sound-rating-header{text-align:left;flex-direction:row;justify-content:space-between;gap:12px;height:44px;margin-bottom:12px}.sound-rating-header p{flex:1;line-height:20px}.sound-rating-header .sound-rating-skip{width:76px;min-width:76px;min-height:44px;color:var(--ink-2);background:0 0;border:0;border-radius:0;padding:0 10px;line-height:20px}.sound-feeling-options>div{gap:8px}.sound-feeling-options button{min-height:44px;padding:7px 12px}@media (height<=700px){.evolution-screen:has(.sound-rating) .explore-lead{padding-top:20px;padding-bottom:6px}.evolution-screen:has(.sound-rating) .sound-copy h3{font-size:20px}.evolution-screen:has(.sound-rating) .sound-copy p{font-size:12px;line-height:16px}.evolution-screen:has(.sound-rating) .sound-copy .sound-melody{margin-top:4px}}.sound-rating-header p,.sound-rating-header .sound-rating-skip{font-size:var(--t-caption);color:var(--ink-3);font-weight:400;line-height:20px}.evolution-screen:has(.sound-rating) .sound-rating{width:var(--sound-panel-width);align-self:center}.sound-rating-header .sound-rating-skip{justify-content:flex-end;padding-inline:0}@media (height<=700px){.sound-feeling-options button{padding:6px 8px;font-size:12px;line-height:18px}}.evolution-screen:has(.sound-rating) .sound-copy h3{margin-top:0}.evolution-screen:has(.sound-rating) .sound-copy .sound-complete-tags{overflow-wrap:anywhere;margin-top:8px;font-size:11px;line-height:16px}.sound-recipe-background{object-fit:cover;opacity:.36;filter:saturate(.6);pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;inset:0}.sound-card-meta,.sound-art{z-index:1}:root[data-theme=dusk] .sound-recipe-background{opacity:.16}.bedtime-entry{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--muted);text-align:left;font:inherit;background:0 0;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px;padding:13px 2px;display:flex}.bedtime-entry-label,.bedtime-entry-value{align-items:center;gap:8px;display:flex}.bedtime-entry-label{font-size:12px}.bedtime-entry-value small{color:var(--ink);font-variant-numeric:tabular-nums;font-size:13px}.bedtime-entry-value i{opacity:.5;font-style:normal}.bedtime-fields{padding:12px 0}.bedtime-time-field{color:var(--ink);justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.bedtime-time-field input{border:1px solid var(--line);background:var(--surface);width:120px;min-width:0;max-width:45%;color:var(--accent);font:inherit;text-align:center;font-variant-numeric:tabular-nums;border-radius:10px;padding:10px 8px;font-size:20px}.bedtime-hint{color:var(--muted);margin:12px 0 16px;font-size:12px;line-height:1.7}.bedtime-note,.bedtime-status{color:var(--muted);margin:8px 0;font-size:11px;line-height:1.65}.bedtime-status[role=alert]{color:var(--rose)}.bedtime-toggle,.bedtime-toggle>span{align-items:center;gap:8px;display:flex}.bedtime-toggle{color:var(--ink);justify-content:space-between;font-size:13px}.bedtime-toggle input{width:20px;height:20px;accent-color:var(--accent)}.bedtime-retry,.bedtime-clear{font:inherit;color:var(--accent);background:0 0;border:0;margin-right:18px;padding:8px 0;font-size:12px}.bedtime-clear{color:var(--muted)}.bedtime-drawer{padding:22px}.bedtime-done{width:100%;margin-top:14px}.sleep-time-tabs{grid-template-columns:repeat(2,1fr);margin-bottom:22px}.is-onboarding{text-align:center;margin:12px 0 18px;padding:0}.is-onboarding .bedtime-time-field{justify-content:center}.is-onboarding .bedtime-time-field input{border:0;border-bottom:1px solid var(--line);letter-spacing:-2px;background:0 0;border-radius:0;width:100%;max-width:240px;padding:18px 0;font-size:40px}.is-onboarding .bedtime-status{max-width:300px;margin:12px auto 0;font-size:12px}.is-onboarding .bedtime-retry{margin:12px 0 0}.baseline-choices.bedtime-options{gap:4px;margin-top:20px}.baseline-choices.bedtime-options button{min-height:48px;padding:8px 4px}.baseline-choices.bedtime-options strong{font-variant-numeric:tabular-nums;font-size:17px}.time-repeat-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.time-repeat-options button{min-height:44px;color:var(--ink-3);font:inherit;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 4px;font-size:13px;display:flex}.time-repeat-options button:before{content:"";box-sizing:border-box;border:1px solid var(--ink-3);border-radius:50%;flex:0 0 15px;width:15px;height:15px}.time-repeat-options button.active{color:var(--ink-1)}.time-repeat-options button.active:before{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 4px var(--surface)}.time-repeat-options button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.wake-level-field input.somian-ring-slider{appearance:none;cursor:pointer;background:0 0;border:0;width:100%;min-width:0;height:36px;margin:0;padding:0}.somian-ring-slider::-webkit-slider-runnable-track{border:1px solid rgba(var(--fg-rgb), .11);background:linear-gradient(to right, var(--accent) 0%, var(--accent) var(--slider-progress), rgba(var(--fg-rgb), .16) var(--slider-progress), rgba(var(--fg-rgb), .16) 100%);border-radius:999px;height:7px}.somian-ring-slider::-moz-range-track{border:1px solid rgba(var(--fg-rgb), .11);background:rgba(var(--fg-rgb), .16);border-radius:999px;height:7px}.somian-ring-slider::-moz-range-progress{background:var(--accent);border-radius:999px;height:7px}.somian-ring-slider::-webkit-slider-thumb{border:3px solid var(--accent);appearance:none;background:var(--bg-0);width:22px;height:22px;box-shadow:0 0 0 3px rgba(var(--accent-rgb), .13), 0 3px 9px rgba(var(--shade-rgb), .24);border-radius:50%;margin-top:-8px}.somian-ring-slider::-moz-range-thumb{border:3px solid var(--accent);background:var(--bg-0);width:16px;height:16px;box-shadow:0 0 0 3px rgba(var(--accent-rgb), .13), 0 3px 9px rgba(var(--shade-rgb), .24);border-radius:50%}.somian-ring-slider:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:999px}.language-gate{z-index:1100;color:#eef1ec;background:#090a0a;position:fixed;inset:0;overflow:auto}body:has(.language-gate) .workspace{display:none}.language-gate-inner{width:min(100%,480px);min-height:100dvh;padding:calc(max(34px, var(--safe-top,env(safe-area-inset-top))) + 22px) 24px calc(max(24px, var(--safe-bottom,env(safe-area-inset-bottom))) + 24px);flex-direction:column;margin:auto;display:flex;position:relative}.language-gate-brand{letter-spacing:.02em;align-items:center;gap:10px;font-size:16px;font-weight:600;display:flex}.language-gate-mark{background:url(/somian-somian-mark-compact.svg) 50%/contain no-repeat;width:34px;height:34px}.language-gate-content{margin:auto 0;padding:55px 0;position:relative}.language-gate h1{letter-spacing:-.02em;font:400 clamp(32px,9vw,42px)/1.2 Georgia,serif}.language-gate p{color:#a7b0ab;margin:16px 0 40px;font-size:15px}.language-gate-current{color:#eef1ec;text-align:left;background:#1f1b13;border:1px solid #6a5a3c;border-radius:18px;justify-content:space-between;align-items:center;width:100%;min-height:68px;padding:0 22px;font-size:20px;display:flex}.language-gate-current span:last-child{color:#e6c891;font-size:25px}.language-gate-options{z-index:1;background:#161717;border:1px solid #454646;border-radius:18px;max-height:min(48dvh,400px);padding:8px;position:absolute;top:calc(100% - 47px);left:0;right:0;overflow-y:auto;box-shadow:0 20px 50px #000b}.language-gate-options button{color:#eef1ec;text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:8px 14px;font-size:15px;display:flex}.language-gate-options button.selected{color:#e6c891;background:#222323}.language-gate-continue{color:#231c11;background:#e6c891;border:0;border-radius:30px;width:100%;min-height:56px;font-size:17px;font-weight:650}.language-gate :focus-visible{outline-offset:3px;outline:2px solid #e6c891}.somian-splash{z-index:9999;pointer-events:none;-webkit-user-select:none;user-select:none;background:#080d0c;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:fixed;inset:0}.somian-splash__mark{width:148px;height:148px;display:block}.somian-splash__label{letter-spacing:.34em;text-indent:.34em;color:#8fa39d;opacity:.82;font-size:13px}@media (prefers-reduced-motion:no-preference){.somian-splash__mark{animation:2.6s ease-in-out infinite somian-splash-breathe}}@keyframes somian-splash-breathe{0%,to{opacity:.72}50%{opacity:1}}
/*$vite$:1*/