@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-tight-cyrillic-ext-400-normal-CKO3cWyd.woff2)format("woff2"),url(/assets/inter-tight-cyrillic-ext-400-normal-DiHHcP5k.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-tight-cyrillic-400-normal-G7BuwYWK.woff2)format("woff2"),url(/assets/inter-tight-cyrillic-400-normal-DPRou3KO.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-tight-greek-ext-400-normal-C3GMUg_S.woff2)format("woff2"),url(/assets/inter-tight-greek-ext-400-normal-DMqR5RoS.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-tight-greek-400-normal-Br_GQm5W.woff2)format("woff2"),url(/assets/inter-tight-greek-400-normal-BLLSFQTx.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-tight-vietnamese-400-normal-CqzIqjuX.woff2)format("woff2"),url(/assets/inter-tight-vietnamese-400-normal-kSDs3Vd1.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-tight-latin-ext-400-normal-DN7wyBvd.woff2)format("woff2"),url(/assets/inter-tight-latin-ext-400-normal-BQQeeQrv.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-tight-latin-400-normal-iW8qmuJY.woff2)format("woff2"),url(/assets/inter-tight-latin-400-normal-BLrFJfvD.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-tight-cyrillic-ext-600-normal-B4SKDMEv.woff2)format("woff2"),url(/assets/inter-tight-cyrillic-ext-600-normal-_3ga77Eo.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-tight-cyrillic-600-normal-BERwQ0yl.woff2)format("woff2"),url(/assets/inter-tight-cyrillic-600-normal-BeTasGgk.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-tight-greek-ext-600-normal-CiDI6ET5.woff2)format("woff2"),url(/assets/inter-tight-greek-ext-600-normal-5gKW7MDU.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-tight-greek-600-normal-BIqmcc-q.woff2)format("woff2"),url(/assets/inter-tight-greek-600-normal-67HAlfW-.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-tight-vietnamese-600-normal-FGgebaLI.woff2)format("woff2"),url(/assets/inter-tight-vietnamese-600-normal-BCXZ1BbA.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-tight-latin-ext-600-normal-BgMgWFts.woff2)format("woff2"),url(/assets/inter-tight-latin-ext-600-normal-BvYdOF2O.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Tight;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-tight-latin-600-normal-BgSTtRxb.woff2)format("woff2"),url(/assets/inter-tight-latin-600-normal-D7bG6gX1.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:var(--text);background:var(--background);--background:#f7f7f7;--surface:#fff;--surface-muted:#f3efef;--surface-raised:#fff;--card:var(--surface);--text:#1e1e1e;--text-muted:#6f6b6b;--muted:var(--text-muted);--text-on-solid:#fff;--text-on-accent:#1e1e1e;--accent:#fbbab6;--accent-hover:#f9aaa5;--accent-pressed:#ed918c;--border:#ded9d9;--border-subtle:#ece9ea;--focus:#80514e;--danger:#9b3e48;--danger-solid:#9b3e48;--success:#337a55;--warning:#a36a20;--warning-surface:#fff1d8;--danger-surface:#fbf3f3;--overlay:#1e1e1e80;--chart-grid:#eee;--chart-line:#b4436a;--chart-dot:#fff;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--radius-sm:6px;--radius-control:10px;--radius-card:14px;--radius:var(--radius-control);--control-sm:32px;--control-md:40px;--control-lg:48px;--shadow-sm:0 2px 8px #2813130a;--shadow-md:0 12px 35px #28131324;--z-dropdown:20;--z-overlay:100;--z-toast:200;--motion-fast:.14s ease;--motion-normal:.22s ease;--density:1;--miniapp-height:100dvh;--miniapp-stable-height:100dvh;--miniapp-system-top:0px;--miniapp-system-right:0px;--miniapp-system-bottom:0px;--miniapp-system-left:0px;--miniapp-content-top:0px;--miniapp-content-right:0px;--miniapp-content-bottom:0px;--miniapp-content-left:0px;--miniapp-safe-top:calc(max(env(safe-area-inset-top,0px),var(--miniapp-system-top)) + var(--miniapp-content-top));--miniapp-safe-right:calc(max(env(safe-area-inset-right,0px),var(--miniapp-system-right)) + var(--miniapp-content-right));--miniapp-safe-bottom:calc(max(env(safe-area-inset-bottom,0px),var(--miniapp-system-bottom)) + var(--miniapp-content-bottom));--miniapp-safe-left:calc(max(env(safe-area-inset-left,0px),var(--miniapp-system-left)) + var(--miniapp-content-left));font-family:Inter Tight,sans-serif;font-size:14px}:root[data-theme=dark]{--background:#121113;--surface:#1c191d;--surface-muted:#282329;--surface-raised:#242025;--card:var(--surface);--text:#f4eff3;--text-muted:#b9adb5;--muted:var(--text-muted);--text-on-accent:#241b1e;--accent:#d98591;--accent-hover:#e298a3;--accent-pressed:#efadb6;--border:#4a4148;--border-subtle:#373037;--focus:#f2a6b3;--danger:#f18c98;--danger-solid:#9f3f4d;--success:#72c99a;--warning:#e5b56e;--warning-surface:#3a2d1e;--danger-surface:#3a2529;--overlay:#000a;--chart-grid:#403840;--chart-line:#ef91ae;--chart-dot:#1c191d;--shadow-sm:0 2px 8px #0004;--shadow-md:0 12px 35px #0008}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:3px}:focus-visible{outline:2px solid var(--focus)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}.shell{min-height:100vh}.navigation{z-index:20;background:#fff;flex-direction:column;justify-content:center;align-items:center;gap:14px;width:64px;padding:12px;display:flex;position:fixed;inset:0 auto 0 0}.logo{background:var(--accent);border-radius:10px;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:12px}.logo svg{width:20px}.navigation a{border-radius:10px;place-items:center;width:40px;height:40px;text-decoration:none;display:grid}.navigation a:hover{color:#d65d78}.navigation a.active{background:var(--accent);color:#1e1e1e}.navigation svg{width:20px}.navigation span{display:none}.content{min-width:0;margin-left:64px;padding:20px 20px 40px}.pageHeader{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.pageHeader h1{margin:0;font-size:22px}.pageHeader p,.monthTitle span,.settingsCard p{color:var(--muted);margin:4px 0 0}.yearPicker{align-items:center;gap:6px;display:flex}.yearPicker button,.yearPicker select,.iconButton{background:#fff;border:0;border-radius:10px;height:40px}.yearPicker button{width:40px}.yearPicker svg,.iconButton svg{width:18px}.yearPicker select{padding:0 14px;font-size:18px;font-weight:600}.warning,.errorBlock,.notice{background:#fff1d8;border-radius:10px;margin:0 0 16px;padding:14px}.months{flex-direction:column;gap:20px;display:flex}.monthHeader{background:#fff;border-radius:10px;align-items:center;gap:18px;min-width:0;padding:14px;display:flex}.monthTitle{align-items:center;gap:10px;min-width:max-content;display:flex}.monthTitle h2{text-transform:capitalize;margin:0;font-size:18px}.moodButton{background:var(--accent);border:0;border-radius:10px;width:44px;height:44px;font-size:22px}.monthStates{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.smallChip{overflow-wrap:anywhere;background:#f7f7f7;border-radius:999px;padding:5px 8px}.weekGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.weekCard{text-align:left;background:#fff;border:0;border-radius:10px;min-height:150px;padding:14px;transition:transform .15s,box-shadow .15s}.weekCard:hover{transform:translateY(-1px);box-shadow:0 5px 18px #0000000d}.weekCardTop{color:var(--muted);justify-content:space-between;gap:8px;font-size:12px;display:flex}.weekCardTop strong{color:var(--text)}.weekEmoji{align-items:center;gap:4px;min-height:40px;font-size:22px;display:flex}.addAffordance{color:var(--muted);align-items:center;gap:4px;font-size:14px;display:flex}.addAffordance svg{width:16px}.eventPreview{white-space:nowrap;text-overflow:ellipsis;margin-top:5px;overflow:hidden}.more{color:var(--muted);font-size:12px}.popover{z-index:50;background:#fff;border-radius:10px;padding:14px;box-shadow:0 10px 40px #0002}.moodScale{gap:4px;display:flex}.moodScale button{background:#f7f7f7;border:0;border-radius:8px;width:40px;height:40px}.textButton{background:0 0;border:0;margin-top:8px;text-decoration:underline}.dialogOverlay{z-index:40;background:#1e1e1e80;position:fixed;inset:0}.weekDialog,.formDialog{z-index:41;background:#f7f7f7;border-radius:12px;width:min(960px,100vw - 48px);max-height:calc(100dvh - 48px);padding:8px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 70px #0003}.editorHeader{justify-content:space-between;align-items:center;padding:8px;display:flex}.editorHeader h2{margin:0}.editorHeader p{color:var(--muted);margin:3px 0}.iconButton{width:40px}.editorColumns{grid-template-columns:1fr 2fr;gap:8px;height:min(650px,100dvh - 135px);display:grid}.eventPanel,.statePanel{background:#fff;border-radius:10px;min-height:0;padding:14px}.eventPanel{flex-direction:column;display:flex}.eventList{flex:1;overflow:auto}.eventRow{gap:5px;margin-bottom:8px;display:flex}.eventRow textarea{resize:vertical;border:1px solid #ddd;border-radius:8px;flex:1;min-height:55px;padding:8px}.eventRow button{background:0 0;border:0;width:44px}.eventRow svg{width:17px}.eventComposer{border-top:1px solid #eee;gap:6px;padding-top:10px;display:grid}.eventComposer textarea{resize:none;border:1px solid #ddd;border-radius:8px;min-height:70px;padding:9px}.eventComposer button,.settingsCard button,.button{background:var(--accent);border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 14px;text-decoration:none;display:inline-flex}.statePanel{overflow:auto}.statePanel h3,.stateGroupRows h3{text-transform:uppercase;color:var(--muted);margin:14px 0 7px;font-size:12px}.statePanel h3:first-child{margin-top:0}.stateChips{flex-wrap:wrap;gap:6px;display:flex}.stateChips button{background:#f7f7f7;border:0;border-radius:999px;min-height:44px;padding:7px 11px}.stateChips button.selected{color:#fff;background:#1e1e1e}.mobileTabs{display:none}.settingsCard{background:#fff;border-radius:10px;padding:18px}.settingsCard h2{margin:0 0 12px}.sectionHeading{justify-content:space-between;align-items:start;gap:15px;display:flex}.sectionHeading svg,.settingsState svg{width:16px}.settingsState{border-top:1px solid #eee;grid-template-columns:1fr 180px auto;align-items:center;min-height:52px;display:grid}.settingsState>div{gap:5px;display:flex}.settingsState button{background:#f7f7f7;width:40px;padding:0}.dateRange,.buttonRow{flex-wrap:wrap;gap:10px;margin:12px 0;display:flex}.settingsCard label{gap:5px;margin:10px 0;display:grid}.settingsCard input,.settingsCard select,.formDialog input,.formDialog select{border:1px solid #ddd;border-radius:8px;height:44px;padding:0 10px}.fileLabel input{padding:8px}.dangerButton{color:#6d2329;margin-top:16px;background:#f3dddd!important}.formDialog{width:min(480px,100vw - 24px);padding:20px}.formDialog h2{margin-top:0}.dialogClose{background:0 0;border:0;position:absolute;top:12px;right:12px}.dialogClose svg{width:20px}.formDialog fieldset{border:0;margin:12px 0;padding:0}.formDialog .radio{grid-template-columns:auto 1fr;align-items:center;display:flex}.formDialog .radio input{height:auto}.primaryButton{background:var(--accent);border:0;border-radius:9px;justify-content:center;align-items:center;min-height:44px;padding:0 18px;text-decoration:none;display:inline-flex}.login,.center{place-items:center;min-height:100vh;padding:20px;display:grid}.loginCard{text-align:center;background:#fff;border-radius:14px;width:min(420px,100%);padding:28px}.loginLogo{background:var(--accent);border-radius:12px;place-items:center;width:52px;height:52px;margin:auto;display:grid}.loginCard .notice{text-align:left;margin:20px 0}.loginCard .primaryButton{width:100%}.centerBlock{background:#fff;border-radius:10px;margin-bottom:12px;padding:16px}@media (width<=1199px){.weekGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=767px){.content{padding:12px 12px calc(86px + env(safe-area-inset-bottom));margin-left:0}.navigation{width:auto;height:calc(64px + env(safe-area-inset-bottom));padding:6px 10px env(safe-area-inset-bottom);border-top:1px solid #eee;flex-direction:row;justify-content:space-around;inset:auto 0 0}.navigation .logo{display:none}.navigation a{flex-direction:column;gap:2px;width:auto;min-width:72px;height:52px;font-size:11px;display:flex}.navigation span{display:block}.pageHeader{align-items:flex-start;gap:10px}.pageHeader p{font-size:12px}.weekGrid{grid-template-columns:1fr}.monthHeader{flex-direction:column;align-items:flex-start}.weekCard{min-height:135px}.weekDialog{border-radius:0;width:100%;height:100dvh;max-height:none;padding:6px;inset:0;transform:none}.editorColumns{height:calc(100dvh - 124px);display:block}.editorColumns>section{height:100%}.mobileTabs{grid-template-columns:1fr 1fr;gap:5px;padding:0 8px 8px;display:grid}.mobileTabs button{background:#fff;border:0;border-radius:8px;height:44px}.mobileTabs button.active{background:var(--accent)}.mobileHidden{display:none}.eventComposer{padding-bottom:max(6px,env(safe-area-inset-bottom))}.settingsState{grid-template-columns:1fr auto}.settingsState>span:nth-child(2){color:var(--muted);grid-row:2;font-size:12px}.settingsState>div{grid-area:1/2/3}.sectionHeading{flex-direction:column}.formDialog{max-height:calc(100dvh - 24px);overflow:auto}}@media (width<=340px){.content{padding-inline:8px}.navigation a{min-width:64px}.yearPicker select{padding:0 6px}.weekCard{padding:11px}}.settingsSections,.settingsCard{min-width:0}.settingsCard input,.settingsCard select{min-width:0;max-width:100%}.settingsCard,.button{overflow-wrap:anywhere}.suggestions{flex-wrap:wrap;gap:5px;display:flex}.suggestions button{text-align:left;background:#f7f7f7!important;min-height:36px!important}.demoBanner{z-index:30;color:#6b5224;background:#fff1d8;border-radius:999px;width:max-content;max-width:100%;margin:0 auto 12px;padding:7px 12px;font-size:12px;position:sticky;top:8px;box-shadow:0 3px 12px #0001}.navigation a{color:#a3a3a3;background:#f7f7f7}.navigation a:hover{color:#eb7297;background:#f7f7f7}.navigation a.active,.navigation a.active:hover{background:var(--accent);color:var(--text)}.yearPicker>button svg{width:16px;height:16px}.yearPicker .yearSelect{justify-content:space-between;align-items:center;gap:12px;width:auto;min-width:96px;padding:0 12px;font-size:18px;font-weight:600;display:flex}.yearSelect svg{flex:none;width:16px;height:16px}.yearSelect:focus,.yearSelect:focus-visible{outline:0}.yearDropdown{z-index:50;width:var(--radix-popover-trigger-width);background:#fff;border-radius:6px;padding:4px 0;box-shadow:0 10px 40px #0002}.yearOption{text-align:left;background:#fff;border:0;width:100%;height:40px;padding:0 12px;font-size:18px;font-weight:600;display:block}.yearOption[aria-selected=true]{color:#1e1e1e80}.yearOption:hover,.yearOption[aria-selected=true]:hover{color:#eb7297;background:#fff}.yearOption:focus-visible{color:#eb7297;outline:0}.moodButton{background:#f7f7f7}.moodPopover{border-radius:8px;padding:24px}.moodPopoverHeader{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.moodPopoverHeader strong{font-size:16px}.resetMoodButton{color:#7b7b7b;background:0 0;border:0;place-items:center;width:24px;height:24px;padding:0;display:grid}.resetMoodButton:hover:not(:disabled){color:#1e1e1e}.moodScale button{border-radius:8px;width:48px;height:48px;font-size:24px;position:relative}.moodScale button.active{background:var(--accent)}.autoMoodMarker{background:#1e1e1e;border-radius:50%;width:4px;height:4px;position:absolute;top:4px;right:4px}.monthHeader{align-items:flex-start;padding:12px}.monthTitle{flex:0 0 350px;align-items:center;gap:14px}.monthTitle span.empty{opacity:.5}.moodButton{place-items:center;width:44px;height:44px;display:grid}.moodButton img{width:24px;height:24px}.monthStates{flex:1;justify-content:flex-end;gap:4px}.moodPopover{padding:12px;position:relative}.moodPopoverHeader{margin-bottom:16px}.resetMoodButton{width:16px;height:16px;position:absolute;top:6px;right:6px}.resetMoodButton svg{width:16px;height:16px}.moodScale{gap:4px}.weekGrid{align-items:stretch}.weekGrid.weeks-4{grid-template-columns:repeat(4,minmax(0,1fr))}.weekGrid.weeks-5{grid-template-columns:repeat(5,minmax(0,1fr))}.weekCard{cursor:pointer;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:16px;height:100%;min-height:0;padding:12px;display:flex;overflow:hidden}.weekCard[aria-disabled=true]{cursor:not-allowed;opacity:.5}.weekPeriod{color:#7b7b7b80;font-size:14px;line-height:20px}.weekStateTiles{align-items:flex-start;gap:4px;width:100%;min-width:0;display:flex;overflow:hidden}.weekStateTiles.expanded{flex-wrap:wrap;overflow:visible}.weekMoodTile,.emptyMoodTile{background:#f7f7f7;border-radius:8px;flex:0 0 44px;place-items:center;width:44px;height:44px;font-size:24px;line-height:1;display:grid}.emptyMoodTile img{width:24px;height:24px}.moreStates{width:22px;height:44px;color:var(--muted);background:linear-gradient(90deg,#f7f7f7 0%,#fff 100%);border:0;border-radius:8px 0 0 8px;flex:0 0 22px;padding:0;font-size:12px}.weekEvents{gap:8px;margin:0;padding:0;list-style:none;display:grid}.weekEvents li{overflow-wrap:anywhere;align-items:flex-start;gap:8px;font-size:16px;line-height:22px;display:flex}.weekEvents img{flex:none;width:20px;height:20px;margin-top:1px}.weekCard.empty{justify-content:center}.weekEmptyState{align-items:center;gap:14px;display:flex}.weekDialog{width:min(1120px,100vw - 48px);height:min(700px,100dvh - 48px);max-height:700px;box-shadow:none;background:0 0;border-radius:0;padding:0}.editorColumns{grid-template-columns:400px minmax(0,1fr);gap:8px;height:100%}.eventPanel,.statePanel{background:#fff;border-radius:12px}.eventPanel{flex-direction:column;width:400px;min-height:0;padding:20px;display:flex}.eventPanelHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.eventPanelHeader h2{margin:0;font-size:18px;line-height:24px}.eventPanelHeader h2 span:last-child{color:#7b7b7b80;font-weight:400}.dialogCloseButton{background:0 0;border:0;flex:none;width:20px;height:20px;padding:0}.dialogCloseButton svg{width:20px;height:20px}.saveError{color:var(--danger);margin:8px 0 0;font-size:12px}.eventList{flex-direction:column;flex:1;gap:10px;min-height:0;margin:20px -14px 0 0;padding-right:8px;display:flex;overflow-y:auto}.eventRow{background:#f7f7f7;border-radius:8px;align-items:flex-start;gap:10px;margin:0;padding:12px;display:flex}.eventRow textarea{resize:none;field-sizing:content;background:0 0;border:0;border-radius:0;width:100%;min-height:24px;padding:0;font-size:16px;line-height:24px;overflow:hidden}.eventRow textarea:focus{outline:0}.eventRow .deleteEventButton{opacity:0;background:0 0;border:0;flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0}.eventRow:hover .deleteEventButton,.deleteEventButton:focus-visible{opacity:.5}.eventRow .deleteEventButton:hover{opacity:1}.deleteEventButton img{width:20px;height:20px;display:block}.eventComposer{border:0;flex:none;gap:8px;margin-top:20px;padding:0;display:grid}.eventComposerField{background:#f7f7f7;border-radius:8px;align-items:flex-start;gap:10px;padding:12px;display:flex}.eventComposerField textarea{resize:none;field-sizing:content;scrollbar-width:none;background:0 0;border:0;border-radius:0;width:100%;min-height:24px;max-height:120px;padding:0;font-size:16px;line-height:24px;overflow-y:auto}.eventComposerField textarea::-webkit-scrollbar{display:none}.eventComposerField textarea:focus{outline:0}.eventComposerField textarea::placeholder{color:#7b7b7b80;opacity:1}.eventComposerField button{background:0 0;border:0;flex:0 0 20px;width:20px;height:20px;min-height:20px;padding:0}.eventComposerField button img{width:20px;height:20px;display:block}.statePanel{min-height:0;padding:20px 6px 20px 20px;overflow:hidden}.stateGroups{height:100%;padding-right:8px;overflow-y:auto}.stateGroup h3{text-transform:uppercase;color:var(--muted);margin:0 0 10px;font-size:14px;line-height:18px}.stateGroup+.stateGroup{border-top:2px solid #f7f7f7;margin-top:16px;padding-top:16px}.stateChips{gap:6px}.stateChips button{justify-content:center;align-items:center;height:32px;min-height:32px;padding:4px 10px;line-height:20px;display:inline-flex}.eventList,.stateGroups{scrollbar-width:thin;scrollbar-color:#f7f7f7 transparent}.eventList:hover,.stateGroups:hover{scrollbar-color:#7b7b7b4d transparent}.eventList::-webkit-scrollbar{width:6px}.stateGroups::-webkit-scrollbar{width:6px}.eventList::-webkit-scrollbar-track{background:0 0}.stateGroups::-webkit-scrollbar-track{background:0 0}.eventList::-webkit-scrollbar-thumb{background:#f7f7f7;border-radius:999px}.stateGroups::-webkit-scrollbar-thumb{background:#f7f7f7;border-radius:999px}.eventList:hover::-webkit-scrollbar-thumb{background:#7b7b7b4d}.stateGroups:hover::-webkit-scrollbar-thumb{background:#7b7b7b4d}.srOnly{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=767px){.monthTitle{flex-basis:auto;width:100%}.monthStates{justify-content:flex-start}.weekGrid.weeks-4,.weekGrid.weeks-5{grid-template-columns:1fr}.weekDialog{width:100%;height:100dvh;max-height:none;padding:6px;inset:0}.editorColumns{height:calc(100dvh - 62px);display:block}.eventPanel,.statePanel{width:100%;height:100%}.editorColumns>.mobileHidden{display:none}}.telegramMiniApp,.telegramMiniApp body,.telegramMiniApp #root,.telegramMiniApp .shell{min-height:var(--miniapp-stable-height)}.telegramMiniApp .navigation{top:var(--miniapp-safe-top);bottom:var(--miniapp-safe-bottom)}.telegramMiniApp .content{padding-top:calc(20px + var(--miniapp-safe-top));padding-right:calc(20px + var(--miniapp-safe-right));padding-left:calc(20px + var(--miniapp-safe-left))}.telegramMiniApp .miniAppStatus{min-height:var(--miniapp-height);padding:var(--miniapp-safe-top) var(--miniapp-safe-right) var(--miniapp-safe-bottom) var(--miniapp-safe-left);text-align:center;place-content:center;display:grid}.telegramMiniApp .dialogOverlay{top:var(--miniapp-safe-top);right:var(--miniapp-safe-right);bottom:auto;left:var(--miniapp-safe-left);height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom))}.telegramMiniApp .weekDialog{top:calc(var(--miniapp-safe-top) + (var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom))/2);left:calc(var(--miniapp-safe-left) + (100vw - var(--miniapp-safe-left) - var(--miniapp-safe-right))/2);width:min(1120px,calc(100vw - var(--miniapp-safe-left) - var(--miniapp-safe-right) - 48px));height:min(700px,calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom) - 48px));max-height:min(700px,calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom) - 48px));flex-direction:column;display:flex}.telegramMiniApp .editorColumns{flex:1;height:auto;min-height:0}.telegramMiniApp .formDialog{top:calc(var(--miniapp-safe-top) + (var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom))/2);left:calc(var(--miniapp-safe-left) + (100vw - var(--miniapp-safe-left) - var(--miniapp-safe-right))/2);width:min(480px,calc(100vw - var(--miniapp-safe-left) - var(--miniapp-safe-right) - 24px));max-height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom) - 24px);overflow:auto}@media (width<=767px){.telegramMiniApp .content{padding:calc(12px + var(--miniapp-safe-top)) calc(12px + var(--miniapp-safe-right)) calc(86px + var(--miniapp-safe-bottom)) calc(12px + var(--miniapp-safe-left))}.telegramMiniApp .navigation{top:calc(var(--miniapp-height) - 64px - var(--miniapp-safe-bottom));right:var(--miniapp-safe-right);bottom:auto;left:var(--miniapp-safe-left);width:auto;height:64px;padding:6px 10px}.telegramMiniApp .weekDialog{top:var(--miniapp-safe-top);right:var(--miniapp-safe-right);bottom:auto;left:var(--miniapp-safe-left);width:calc(100% - var(--miniapp-safe-left) - var(--miniapp-safe-right));height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom));max-height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom));flex-direction:column;display:flex}.telegramMiniApp .mobileTabs{flex:none}.telegramMiniApp .editorColumns{flex:1;height:auto;min-height:0}.telegramMiniApp .eventPanel,.telegramMiniApp .statePanel{min-height:0}}.weekGrid.weekGridPreview,.weekGrid.weekGridPreview.weeks-4,.weekGrid.weekGridPreview.weeks-5{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.weekPreviewCard{background:#fff;border:1px solid #e3e5e8;border-radius:16px;flex-direction:column;min-width:0;height:100%;display:flex;container-type:inline-size}.weekPreviewJournal{flex-direction:column;flex:1;gap:12px;min-width:0;padding:20px;display:flex}.weekPreviewHealth{background:#fafbfc;border-top:1px solid #e3e5e8;border-radius:0 0 16px 16px;gap:12px;min-width:0;padding:16px 20px;display:grid}.weekPreviewHeader{align-items:center;gap:16px;min-width:0;display:flex}.weekPreviewMood{background:#f3f4f6;border-radius:12px;flex:0 0 56px;place-items:center;width:56px;height:56px;font-size:30px;line-height:1;display:grid}.weekPreviewMood img{width:30px;height:30px}.weekPreviewHeading{gap:2px;min-width:0;display:grid}.weekPreviewHeading strong{font-size:18px;line-height:24px}.weekPreviewPeriod{color:#5f6368;font-size:14px;line-height:20px}.weekPreviewMoodLabel{color:#5f6368;font-size:12px;line-height:16px}.weekPreviewCycle{color:#5f6368;margin:0;font-size:12px;line-height:18px}.weekPreviewStateTags{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.weekPreviewStateTag{overflow-wrap:anywhere;background:#f3f4f6;border-radius:999px;max-width:100%;padding:6px 10px;font-size:14px;line-height:20px}.weekPreviewSection{min-width:0}.weekPreviewHealth>.weekPreviewSection+.weekPreviewSection{border-top:1px solid #e3e5e8;padding-top:12px}.weekPreviewSection>h3,.weekPreviewSectionHeading h3{margin:0;font-size:14px;line-height:20px}.weekPreviewSectionHeading{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.weekPreviewSectionEdit{color:#4f555c;background:#fff;border:1px solid #dfe2e6;border-radius:8px;flex:none;min-height:32px;padding:4px 10px;font-size:12px;line-height:20px}.weekPreviewSectionEdit:hover:not(:disabled){color:#1e1e1e;border-color:#9299a2}.weekPreviewSleepLegend{color:#4f555c;flex-wrap:wrap;gap:6px 12px;margin-top:4px;font-size:12px;line-height:16px;display:flex}.weekPreviewSleepLegend span{align-items:center;gap:6px;display:flex}.weekPreviewSleepLegend i{border-radius:3px;width:12px;height:12px}.weekPreviewLegendMain{background:#879cb8}.weekPreviewLegendNap{background:#cbb4d8}.weekPreviewSleepChart{width:100%;height:154px;margin-top:4px;display:block;overflow:visible}.weekPreviewSleepAxis line{stroke:#e2e5e8;stroke-width:1px}.weekPreviewSleepAxis text,.weekPreviewSleepAxisUnit{fill:#60666d;text-anchor:end;font-size:12px}.weekPreviewSleepAxisUnit{text-anchor:start}.weekPreviewSleepMain{fill:#879cb8}.weekPreviewSleepNap{fill:#cbb4d8}.weekPreviewSleepMissing{stroke:#858b92;stroke-width:2px;stroke-dasharray:4 3}.weekPreviewSleepFocus{fill:#0000;stroke:#0000;stroke-width:2px}.weekPreviewSleepDay{cursor:help}.weekPreviewSleepDay:focus{outline:none}.weekPreviewSleepDay:focus-visible .weekPreviewSleepFocus{stroke:#1e1e1e}.weekPreviewSleepTotal,.weekPreviewSleepDayName{fill:#30343a;text-anchor:middle;font-size:12px;font-weight:600}.weekPreviewSleepDate{fill:#60666d;text-anchor:middle;font-size:12px}.weekPreviewSleepTooltip{pointer-events:none;display:none}.weekPreviewSleepTooltip rect{fill:#262a2f;filter:drop-shadow(0 3px 6px #0003)}.weekPreviewSleepTooltip text{fill:#fff;font-size:12px}.weekPreviewSleepDay:hover .weekPreviewSleepTooltip,.weekPreviewSleepDay:focus .weekPreviewSleepTooltip{display:block}.weekPreviewEmptyNote{color:#5f6368;margin:4px 0 0;font-size:12px;line-height:18px}.weekPreviewSleepFeatures{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.weekPreviewSleepFeatures>span{color:#5f6368;font-size:12px;line-height:16px}.weekPreviewMedicationDayLabels,.weekPreviewMedicationDays{grid-template-columns:repeat(7,28px);gap:6px;display:grid}.weekPreviewMedicationDayLabels{text-align:center;color:#5f6368;grid-column:2;margin:0;font-size:12px;line-height:16px}.weekPreviewMedications{gap:10px;margin-top:6px;display:grid}.weekPreviewMedication{grid-template-columns:minmax(0,1fr) 232px;align-items:center;gap:4px 12px;min-width:0;display:grid}.weekPreviewMedicationInfo{grid-row:1/3;gap:2px;min-width:0;display:grid}.weekPreviewMedicationDays{grid-column:2;position:relative}.weekPreviewMedicationInfo strong{overflow-wrap:anywhere;font-size:14px;line-height:20px}.weekPreviewMedicationInfo span{color:#5f6368;overflow-wrap:anywhere;font-size:12px;line-height:16px}.weekPreviewDose{cursor:help;border:1px solid #0000;border-radius:6px;place-items:center;width:28px;height:28px;font-size:12px;font-weight:600;line-height:1;display:grid}.weekPreviewDose:focus-visible{outline-offset:2px;outline:2px solid #1e1e1e}.weekPreviewDose-taken{color:#235c38;background:#dcefe3}.weekPreviewDose-partial{background:linear-gradient(to top,#ead7a8 var(--week-preview-dose),#f7f7f7 var(--week-preview-dose));color:#554117;border-color:#c7a85f}.weekPreviewDose-missed{color:#8a3038;background:#f8e4e4}.weekPreviewDose-unmarked{color:#60666d;background:#fff;border-color:#afb4ba}.weekPreviewMedicationTooltip{z-index:4;color:#fff;text-align:left;overflow-wrap:anywhere;pointer-events:none;visibility:hidden;background:#262a2f;border-radius:7px;width:100%;padding:8px;font-size:12px;font-weight:400;line-height:16px;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 3px 8px #0003}.weekPreviewDose:hover .weekPreviewMedicationTooltip,.weekPreviewDose:focus .weekPreviewMedicationTooltip{visibility:visible}.weekPreviewEvents{gap:8px;margin:0;padding:0;list-style:none;display:grid}.weekPreviewEvents li{overflow-wrap:anywhere;align-items:flex-start;gap:8px;font-size:14px;line-height:20px;display:flex}.weekPreviewEvents img{flex:none;width:18px;height:18px;margin-top:1px}@container (width<=460px){.weekPreviewMedication{grid-template-columns:minmax(0,1fr);gap:4px}.weekPreviewMedicationInfo{grid-row:auto}.weekPreviewMedicationDayLabels,.weekPreviewMedicationDays{grid-column:1;width:232px;max-width:100%}}@media (width<=767px){.weekGrid.weekGridPreview,.weekGrid.weekGridPreview.weeks-4,.weekGrid.weekGridPreview.weeks-5{grid-template-columns:1fr}.weekPreviewJournal{padding:16px}.weekPreviewHealth{padding:12px 16px}}body{background:var(--background);color:var(--text)}.navigation,.yearPicker button,.yearPicker select,.iconButton,.monthHeader,.weekCard,.popover,.eventPanel,.statePanel,.settingsCard,.loginCard,.centerBlock,.yearDropdown,.yearOption,.mobileTabs button,.weekPreviewCard,.weekPreviewSectionEdit,.weekPreviewDose-unmarked{background:var(--surface)}.smallChip,.moodScale button,.stateChips button,.settingsState button,.navigation a,.moodButton,.weekMoodTile,.emptyMoodTile,.eventRow,.eventComposerField,.weekPreviewMood,.weekPreviewStateTag{background:var(--surface-muted)}.suggestions button{background:var(--surface-muted)!important}.navigation a.active,.navigation a.active:hover,.moodScale button.active,.mobileTabs button.active{background:var(--accent);color:var(--text-on-accent)}.stateChips button.selected{background:var(--text);color:var(--surface)}.recharts-default-tooltip{background:var(--surface)!important;border-color:var(--border)!important;color:var(--text)!important}.recharts-tooltip-label,.recharts-tooltip-item{color:var(--text)!important}.weekDialog,.formDialog{background:var(--background)}.eventRow textarea,.eventComposer textarea,.settingsCard input,.settingsCard select,.formDialog input,.formDialog select{background:var(--surface);border-color:var(--border)}.eventComposer,.settingsState,.navigation,.weekPreviewCard,.weekPreviewHealth>.weekPreviewSection+.weekPreviewSection{border-color:var(--border-subtle)}.logo,.eventComposer button,.primaryButton{color:var(--text-on-accent)}.dialogOverlay{background:var(--overlay)}.warning,.errorBlock,.notice,.demoBanner{background:var(--warning-surface)}.weekPreviewHealth{background:var(--surface-raised);border-color:var(--border)}.weekPreviewPeriod,.weekPreviewMoodLabel,.weekPreviewCycle,.weekPreviewSleepLegend,.weekPreviewEmptyNote,.weekPreviewSleepFeatures>span,.weekPreviewMedicationDayLabels,.weekPreviewMedicationInfo span{color:var(--text-muted)}.weekPreviewSleepAxis line{stroke:var(--chart-grid)}.weekPreviewSleepAxis text,.weekPreviewSleepAxisUnit,.weekPreviewSleepDate{fill:var(--text-muted)}.weekPreviewSleepTotal,.weekPreviewSleepDayName{fill:var(--text)}.yearSelect{border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);min-width:96px;height:40px;color:var(--text);justify-content:space-between;align-items:center;gap:12px;padding:0 12px;font-size:18px;font-weight:600;display:inline-flex}.yearSelect:hover:not(:disabled){border-color:var(--accent-pressed);background:var(--surface-raised)}.yearSelect:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.yearDropdown{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md)}.yearOption{background:var(--surface);color:var(--text)}.yearOption[aria-selected=true]{background:var(--surface);color:var(--text-muted);font-weight:700}.yearOption:hover,.yearOption[aria-selected=true]:hover,.yearOption:focus-visible{background:var(--surface);color:#eb7297}.settingsCard button[role=switch]{border:1px solid var(--border)!important;background:var(--surface-muted)!important;border-radius:999px!important;width:48px!important;height:28px!important;min-height:28px!important;padding:0!important}.settingsCard button[role=switch][data-state=checked]{background:var(--accent)!important}.supportPage,.privacyPage{width:min(960px,100%);margin:0 auto}.supportHero{border-radius:var(--radius-card);background:linear-gradient(135deg,var(--surface),var(--surface-muted));justify-content:space-between;gap:24px;padding:28px;display:flex}.supportHero>svg{width:56px;height:56px;color:var(--focus);flex:none}.backLink,.supportFooter a,.privacyPage footer a{text-underline-offset:3px}.eyebrow{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin:18px 0 4px;font-size:12px;font-weight:600}.supportHero h1,.privacyPage h1{margin:0;font-size:clamp(28px,5vw,42px);line-height:1.08}.supportHero p:last-child,.privacyPage header>p:last-child{max-width:680px;color:var(--text-muted);font-size:16px;line-height:1.5}.urgentCard,.supportCard,.supportPlan,.privacyGrid section{background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--radius-card);box-shadow:var(--shadow-sm)}.urgentCard{border-left:4px solid var(--warning);gap:16px;margin-top:16px;padding:20px;display:flex}.urgentCard h2,.supportCard h2,.supportPlan h2,.privacyGrid h2{margin:0 0 8px}.urgentCard p,.supportCard p,.supportPlanHeader p,.privacyGrid p{color:var(--text-muted);margin:6px 0;line-height:1.5}.supportIcon{background:var(--warning-surface);border-radius:50%;flex:none;place-items:center;width:40px;height:40px;display:grid}.supportIcon svg{width:20px}.supportOptions{grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;display:grid}.supportCard{padding:20px}.supportAction{align-items:center;gap:8px;min-height:40px;margin-top:12px;font-weight:600;display:inline-flex}.supportAction svg{width:16px}.supportPlan{margin-top:16px;padding:24px}.supportPlanHeader{justify-content:space-between;gap:16px;display:flex}.localBadge{background:var(--surface-muted);border-radius:999px;height:max-content;padding:5px 9px;font-size:12px}.supportFormGrid{grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;display:grid}.supportFormGrid label{gap:7px;font-weight:600;display:grid}.supportFormGrid input,.supportFormGrid textarea{width:100%;max-width:100%}.supportWide{grid-column:1/-1}.supportStorageNote{font-size:12px}.supportFormActions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.supportFormActions span{color:var(--text-muted);font-size:12px}.supportStatus{min-height:20px;color:var(--success);margin:8px 0 0}.supportFooter{text-align:center}.privacyPage{padding:40px 20px}.privacyGrid{grid-template-columns:1fr 1fr;gap:12px;margin:28px 0;display:grid}.privacyGrid section{padding:20px}.privacyPage footer{border-top:1px solid var(--border);color:var(--text-muted);padding:20px}.medicationDisclaimer{border-left:3px solid var(--border);background:var(--surface-muted);border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--text-muted);padding:10px 12px;font-size:12px;line-height:1.45}.supportNavLink{color:var(--text-muted)!important}@media (width<=767px){.supportHero{padding:20px}.supportHero>svg{display:none}.supportOptions,.supportFormGrid,.privacyGrid{grid-template-columns:1fr}.supportWide{grid-column:auto}.supportPlan{padding:18px}.supportPlanHeader{align-items:flex-start}.privacyPage{padding:24px 12px}.navigation a{min-width:60px}.navigation .supportNavLink{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.medicationDisclaimerCompact{margin:6px 0;padding:6px 8px;font-size:11px;line-height:1.35}.dailyMedicationFooter>.medicationDisclaimer{flex:1 0 100%}@media (width<=767px){.navigation .supportNavLink{display:flex}.navigation .uiKitNavLink{display:none}.navigation a{min-width:64px}}@media (width>=768px){.navigation a:not(.uiKitNavLink){position:relative}.navigation a:not(.uiKitNavLink)>span{z-index:1;border:1px solid var(--border);background:var(--surface-raised);width:max-content;max-width:180px;box-shadow:var(--shadow-sm);color:var(--text);opacity:0;pointer-events:none;transition:opacity var(--motion-fast),transform var(--motion-fast);border-radius:8px;padding:7px 10px;font-size:13px;line-height:1.2;display:block;position:absolute;top:50%;left:52px;transform:translate(-4px,-50%)}.navigation a:not(.uiKitNavLink):is(:hover,:focus-visible)>span{opacity:1;transform:translateY(-50%)}}.authPage{background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--accent) 22%,transparent),transparent 42%);place-items:center;min-height:100dvh;padding:32px 20px;display:grid}.authCard{width:min(440px,100%);padding:32px;animation:.36s cubic-bezier(.2,.8,.2,1) both auth-enter}.authBrand{justify-content:center;align-items:center;gap:10px;font-size:18px;font-weight:600;display:flex}.authLogo{background:var(--accent);width:38px;height:38px;color:var(--text-on-accent);border-radius:11px;place-items:center;display:grid}.authLogo svg{width:19px}.authHeader{text-align:center;margin:24px 0}.authHeader h1{margin:0;font-size:28px;line-height:34px}.authHeader p{max-width:34ch;color:var(--text-muted);margin:8px auto 0;font-size:15px;line-height:21px}.authForm{gap:16px;display:grid}.authForm>button{width:100%}.authFormAside{text-align:right;margin-top:-4px}.authLink{color:var(--text);-webkit-text-decoration-color:var(--accent-pressed);text-decoration-color:var(--accent-pressed);text-underline-offset:3px;font-weight:600;text-decoration-thickness:2px}.authLink:hover{color:var(--accent-pressed)}.telegramAuthButton{width:100%;min-height:48px;color:#fff!important;background:#2aabee!important;border:0!important;text-decoration:none!important}.telegramAuthButton:hover{background:#159bdc!important}.telegramAuthButton svg{width:18px}.authDivider{color:var(--text-muted);align-items:center;gap:12px;margin:20px 0;font-size:12px;display:flex}.authDivider:before,.authDivider:after{content:"";background:var(--border-subtle);flex:1;height:1px}.authFooter{border-top:1px solid var(--border-subtle);text-align:center;margin-top:24px;padding-top:20px}.authFooter p{margin:0}.devLogin{text-align:center;margin-top:12px}.authSuccess{border-radius:var(--radius-control);background:var(--surface-muted);text-align:center;margin-bottom:20px;padding:20px}.authSuccess svg{width:36px;height:36px;color:var(--success)}.authSuccess p{color:var(--text-muted);margin:10px 0 0;line-height:20px}@keyframes auth-enter{0%{opacity:0;transform:translateY(10px)scale(.99)}to{opacity:1;transform:none}}@media (width<=520px){.authPage{background:var(--background);padding:12px}.authCard{padding:24px 18px}.authHeader{margin:20px 0}.authHeader h1{font-size:24px;line-height:30px}}@media (prefers-reduced-motion:reduce){.authCard{animation:none}}.settingsPage{max-width:1120px;margin:0 auto}.settingsPageHeader{margin-bottom:24px}.settingsPageHeader p{font-size:14px}.settingsSections{gap:16px;max-width:none;display:grid}.settingsCard{background:var(--card);border-radius:14px;min-width:0;padding:24px;box-shadow:0 1px 2px #1e1e1e0a}.settingsCardHeader{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.settingsCardHeader h2{margin:0;font-size:20px;line-height:28px}.settingsCardHeader p,.accountGroupHeading p,.transferPanelHeader p{color:var(--muted);margin:3px 0 0;line-height:20px}.settingsPrimaryButton,.settingsSecondaryButton,.settingsDangerButton{border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 14px;font-weight:600;line-height:20px;text-decoration:none;display:inline-flex}.settingsPrimaryButton{background:var(--accent);border:0}.settingsSecondaryButton{background:#fff;border:1px solid #e2dfe0}.settingsDangerButton{color:var(--danger);background:#fff;border:1px solid #ead4d6}.settingsPrimaryButton svg{width:17px;height:17px}.settingsTextLink{color:var(--muted);text-underline-offset:3px;margin-top:4px;display:inline-block}.settingsStatus{color:var(--muted);background:#f7f7f7;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.settingsStatus button{background:#fff;border:1px solid #ddd;border-radius:8px;min-height:36px;padding:0 12px}.settingsStatusError{color:var(--danger);background:#fbf3f3}.settingsEmpty{text-align:center;border:1px dashed #ddd;border-radius:12px;justify-items:center;gap:6px;padding:34px 16px;display:grid}.settingsEmpty>span{font-size:30px}.settingsEmpty p{color:var(--muted);margin:0 0 10px}.stateGroupsList{gap:22px;display:grid}.settingsStateGroup h3{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px;font-size:12px;line-height:18px}.settingsStateRows{border:1px solid #ece9ea;border-radius:11px;overflow:hidden}.settingsState{grid-template-columns:minmax(180px,1fr) minmax(150px,auto) auto;align-items:center;gap:14px;min-height:58px;padding:8px 10px 8px 14px;display:grid}.settingsState+.settingsState{border-top:1px solid #ece9ea}.settingsStateIdentity{overflow-wrap:anywhere;align-items:center;gap:10px;min-width:0;font-weight:600;display:flex}.settingsStateEmoji{background:#f7f7f7;border-radius:8px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:20px;display:grid}.scoreBadge{color:var(--muted);white-space:nowrap;background:#f7f7f7;border-radius:999px;justify-self:start;align-items:center;gap:6px;padding:4px 9px 4px 5px;font-size:12px;display:inline-flex}.scoreBadgeValue{min-width:23px;height:23px;color:var(--text);background:#e8e5e6;border-radius:999px;place-items:center;padding:0 4px;font-weight:600;display:grid}.scoreBadge-1,.scoreBadge-2{background:#f7eeee}.scoreBadge--1,.scoreBadge--2{background:#eef3f6}.settingsStateActions{gap:4px;display:flex}.settingsIconButton{place-items:center;width:38px;height:38px;background:#fff!important;border:1px solid #ece9ea!important;border-radius:8px!important;padding:0!important;display:grid!important}.settingsIconButton svg{width:16px;height:16px}.settingsDeleteButton{color:var(--danger)}.accountGroups{border:1px solid #ece9ea;border-radius:12px;overflow:hidden}.accountGroup{padding:20px}.accountGroup+.accountGroup{border-top:1px solid #ece9ea}.accountGroupHeading{margin-bottom:16px}.accountGroupHeading h3,.transferPanelHeader h3{margin:0;font-size:16px;line-height:22px}.accountFields{grid-template-columns:minmax(220px,1fr) minmax(320px,1.5fr);align-items:start;gap:20px;display:grid}.accountFields>label,.reminderFields label,.dateRange label,.settingsDialogBody>label,.stateNameGrid label{color:var(--muted);gap:6px;font-size:13px;display:grid}.settingsCard input:not([type=checkbox]):not([type=radio]):not([type=range]),.settingsCard select,.settingsDialog input:not([type=radio]),.settingsDialog select{background:#fff;border:1px solid #dcd9da;border-radius:8px;width:100%;height:42px;padding:0 11px}.settingsHint{color:var(--muted);font-size:12px;line-height:18px;margin:10px 0 0!important}.settingsSwitch{align-items:center;width:max-content;max-width:100%;font-weight:600;gap:9px!important;margin:0!important;display:flex!important}.settingsSwitch input{width:18px;height:18px;margin:0}.reminderFields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.accountActions{justify-content:space-between;align-items:center;gap:20px;display:flex}.accountActions .accountGroupHeading{margin:0}.accountActionButtons{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.accountSaveError{background:#fbf3f3;border-radius:9px;margin:0 0 16px;padding:12px}.sleepNormControl{background:#fcfbfb;border:1px solid #e8e4e5;border-radius:10px;max-width:none;margin:0;padding:16px}.sleepNormControl header{justify-content:space-between;align-items:flex-start;display:flex}.sleepNormControl h3{margin:0 0 3px;font-size:14px}.sleepNormControl output{font-variant-numeric:tabular-nums;font-size:24px;font-weight:600;line-height:1.3;display:block}.sleepNormControl>p{margin:6px 0 4px;line-height:1.45}.sleepNormControl .sleepDurationRange{width:100%}.sleepNormControl .sleepDurationActions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.sleepNormControl .sleepDurationActions button{background:#f3eff0;border:0;border-radius:8px;min-height:38px}.sleepNormScale{color:var(--muted);justify-content:space-between;margin:-3px 5px 8px;font-size:11px;display:flex}.sleepNormControl small{color:var(--muted);margin-top:10px;line-height:1.4;display:block}.transferGrid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.transferPanel{border:1px solid #ece9ea;border-radius:12px;min-width:0;padding:18px}.transferPanelHeader{align-items:flex-start;gap:11px;min-height:62px;display:flex}.transferPanelHeader>svg{width:20px;height:20px;color:var(--muted);flex:none;margin-top:1px}.dateRange{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 12px;display:grid}.buttonRow{flex-wrap:wrap;gap:8px;margin:12px 0 0;display:flex}.fileChooser{cursor:pointer;align-items:center;gap:10px!important;margin:16px 0 0!important;display:flex!important}.fileChooser:focus-within .settingsSecondaryButton{outline:2px solid var(--focus);outline-offset:2px}.fileName{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.importPreview{background:#f7f7f7;border-radius:10px;margin-top:14px;padding:14px}.importPreview dl{grid-template-columns:repeat(3,1fr);gap:5px;margin:12px 0;display:grid}.importPreview dl div{text-align:center;background:#fff;border-radius:8px;padding:8px}.importPreview dt{color:var(--muted);font-size:11px}.importPreview dd{margin:2px 0 0;font-size:18px;font-weight:600}.importPreview p{margin:10px 0}.importPreview ul{color:var(--danger);margin:8px 0 0;padding-left:20px}.importConflict{color:var(--danger)}.settingsDialog{width:min(520px,100vw - 32px);background:#fff!important;border-radius:14px!important;padding:0!important;overflow:hidden!important}.settingsDialog form{flex-direction:column;max-height:calc(100dvh - 32px);display:flex}.settingsDialogHeader{border-bottom:1px solid #ece9ea;flex:none;padding:20px 52px 16px 20px;position:relative}.settingsDialogHeader h2{margin:0;font-size:20px}.settingsDialogHeader p{color:var(--muted);margin:4px 0 0;line-height:20px}.settingsDialog .dialogClose{background:#f7f7f7;border:0;border-radius:8px;place-items:center;width:34px;height:34px;padding:0;display:grid;top:17px;right:17px}.settingsDialogBody{gap:16px;padding:20px;display:grid;overflow-y:auto}.stateNameGrid{grid-template-columns:90px 1fr;gap:10px;display:grid}.emojiInput{text-align:center;font-size:22px}.scoreFieldset{border:0;min-width:0;margin:0;padding:0}.scoreFieldset legend{color:var(--muted);margin-bottom:8px;font-size:13px}.scoreRadios{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.scoreRadio{text-align:center;cursor:pointer;background:#fff;border:1px solid #e5e2e3;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:68px;padding:7px 3px;color:var(--muted)!important;gap:2px!important;margin:0!important;font-size:11px!important;display:flex!important}.scoreRadio:has(input:checked){background:#f7f7f7;border-color:#1e1e1e;box-shadow:inset 0 0 0 1px #1e1e1e;color:var(--text)!important}.scoreRadio:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}.scoreRadioValue{color:var(--text);font-size:18px;font-weight:600}.settingsDialogFooter{border-top:1px solid #ece9ea;flex:none;justify-content:flex-end;gap:8px;padding:14px 20px;display:flex}@media (width<=767px){.settingsPage{padding-top:2px}.settingsPageHeader{margin-bottom:16px}.settingsCard{border-radius:12px;padding:18px 14px}.settingsCardHeader{gap:12px}.settingsCardHeader .settingsPrimaryButton{padding:0 11px}.settingsState{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:9px 8px 9px 10px}.scoreBadge{grid-column:1;margin-left:44px}.settingsStateActions{grid-area:1/2/3}.accountFields,.reminderFields,.transferGrid{grid-template-columns:1fr}.accountGroup{padding:16px 14px}.accountActions{flex-direction:column;align-items:stretch}.accountActionButtons{justify-content:stretch}.accountActionButtons>*{flex:1}.sleepNormControl{padding:14px}.transferPanel{padding:15px}.transferPanelHeader{min-height:0}.settingsDialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.settingsDialog form{max-height:calc(100dvh - 16px)}.settingsDialogHeader{padding:16px 48px 14px 16px}.settingsDialogBody{padding:16px}.settingsDialogFooter{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.scoreRadios{gap:4px}.scoreRadio{font-size:10px!important}.stateNameGrid{grid-template-columns:76px 1fr}.fileChooser{flex-direction:column;align-items:flex-start}.fileName{max-width:100%}}.telegramMiniApp .settingsDialog{top:calc(var(--miniapp-safe-top) + (var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom))/2);left:calc(var(--miniapp-safe-left) + (100vw - var(--miniapp-safe-left) - var(--miniapp-safe-right))/2);width:min(520px,calc(100vw - var(--miniapp-safe-left) - var(--miniapp-safe-right) - 24px));max-height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom) - 24px)}.telegramMiniApp .settingsDialog form{max-height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom) - 24px)}@media (width<=767px){.telegramMiniApp .settingsDialog{width:calc(100vw - var(--miniapp-safe-left) - var(--miniapp-safe-right) - 12px);max-height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom) - 12px)}.telegramMiniApp .settingsDialog form{max-height:calc(var(--miniapp-height) - var(--miniapp-safe-top) - var(--miniapp-safe-bottom) - 12px)}}.settingsCard label{margin:0}.settingsCard .settingsPrimaryButton{background:var(--accent);border:0}.settingsCard .settingsSecondaryButton{background:#fff;border:1px solid #e2dfe0}.settingsCard .settingsDangerButton{color:var(--danger);background:#fff;border:1px solid #ead4d6}.settingsDialog .scoreFieldset{border:0;margin:0;padding:0}.settingsCard .fileChooser input.srOnly{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.settingsDialog .scoreRadio{position:relative}.settingsDialog .scoreRadio input.srOnly{z-index:1;clip:auto;opacity:0;white-space:normal;cursor:pointer;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0;overflow:visible}.settingsSecondaryButton,.settingsDangerButton,.settingsStatus button,.settingsIconButton,.settingsCard input:not([type=checkbox]):not([type=radio]):not([type=range]),.settingsCard select,.settingsDialog input:not([type=radio]),.settingsDialog select,.settingsDialog,.scoreRadio,.importPreview dl div{background:var(--surface)!important;border-color:var(--border)!important}.settingsStatus,.settingsStateEmoji,.scoreBadge,.sleepNormControl,.sleepNormControl .sleepDurationActions button,.importPreview,.settingsDialog .dialogClose{background:var(--surface-muted)}.scoreRadio:has(input:checked){background:var(--surface-muted)}.settingsStateRows,.settingsState+.settingsState,.accountGroups,.accountGroup+.accountGroup,.transferPanel,.settingsDialogHeader,.settingsDialogFooter{border-color:var(--border-subtle)}.settingsPrimaryButton{color:var(--text-on-accent)}.settingsStatusError,.accountSaveError{background:var(--danger-surface)}.appearanceSettingsCard .settingsCardHeader{margin-bottom:12px}.scoreBadgeValue{background:var(--surface-raised);color:var(--text);border:1px solid var(--border)}.scoreBadge-1,.scoreBadge-2{background:var(--danger-surface);color:var(--text)}.scoreBadge--1,.scoreBadge--2{background:var(--surface-raised);color:var(--text)}.reminderFields [role=combobox],.settingsDialogBody [role=combobox]{width:100%}.settingsToggleRow{justify-content:space-between;align-items:center;gap:24px;min-width:0;display:flex}.settingsToggleRow .settingsCardHeader,.settingsToggleRow .accountGroupHeading{min-width:0;margin-bottom:0}.settingsToggleRow>label{white-space:nowrap;flex-direction:row-reverse;flex:none;align-items:center;line-height:20px;gap:10px!important;margin:0!important;display:flex!important}@media (width<=600px){.settingsToggleRow{flex-direction:column;align-items:flex-start;gap:12px}}.securityCard .settingsCardHeader>svg{width:24px;height:24px;color:var(--text-muted);flex:none}.securityCard>[role=alert],.securityCard>[role=status]{margin-bottom:16px}.securityForm{gap:18px;display:grid}.securityFields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;display:grid}.securityForm>.settingsPrimaryButton{justify-self:start}.securityIntro{background:var(--surface-muted);border-radius:10px;align-items:flex-start;gap:10px;padding:14px;display:flex}.securityIntro svg{flex:none;width:20px}.securityIntro p{margin:0;line-height:20px}.securityPending{justify-content:space-between;align-items:center;gap:16px;display:flex}.securityIdentity{align-items:center;gap:12px;min-width:0;display:flex}.securityIdentity>div{gap:3px;min-width:0;display:grid}.securityIdentity strong{overflow-wrap:anywhere}.securityIdentity span:last-child{color:var(--text-muted);font-size:12px}.securityIcon{background:var(--surface-muted);width:40px;height:40px;color:var(--warning);border-radius:10px;flex:none;place-items:center;display:grid}.securityIcon svg{width:19px}.securityIconSuccess{color:var(--success)}.securityPendingSection{gap:16px;display:grid}.securityPendingActions{flex-wrap:wrap;gap:8px;display:flex}.securityEmailForm{align-items:end;gap:12px;display:flex}.securityEmailForm>div{flex:1;min-width:0}.securityEmailForm>button{flex:none}.securityCard .passwordWrap input{padding-right:48px}@media (width<=767px){.securityFields{grid-template-columns:1fr}.securityForm>.settingsPrimaryButton{width:100%}.securityPending{flex-direction:column;align-items:stretch}.securityPendingActions,.securityEmailForm{grid-template-columns:1fr;display:grid}.securityPendingActions>button,.securityEmailForm>button{width:100%}}.reminderPrivacy{background:var(--surface-muted);border-radius:10px;margin-top:16px;padding:14px 16px;line-height:20px}.reminderPrivacy strong{margin-bottom:3px;display:block}.reminderPrivacy p{color:var(--text-muted);margin:0;font-size:13px}.reminderPause{border:1px solid var(--border);background:var(--surface-raised);border-radius:9px;margin:16px 0 0;padding:10px 14px;font-size:13px}.reminderPanel{gap:20px;margin-top:18px;display:grid}.reminderPanel fieldset{border:0;min-width:0;margin:0;padding:0}.reminderPanel legend{margin-bottom:8px;font-size:14px;font-weight:600}.fieldsetHint{color:var(--text-muted);margin:-4px 0 10px;font-size:12px}.reminderChoices,.toneChoices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.reminderChoices label,.toneChoices label{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:9px;align-items:center;min-height:48px;padding:10px 12px;color:var(--text)!important;gap:9px!important;font-size:14px!important;display:flex!important}:is(.reminderChoices label:has(input:checked),.toneChoices label:has(input:checked)){border-color:var(--text);background:var(--surface-muted)}:is(.reminderChoices label:has(input:focus-visible),.toneChoices label:has(input:focus-visible),.weekdayPicker label:has(input:focus-visible)){outline:2px solid var(--focus);outline-offset:2px}.reminderChoices input,.toneChoices input{flex:none;width:18px;height:18px}.toneChoices label{min-width:0;min-height:76px;padding:14px 16px;transition:border-color .15s,background-color .15s;gap:12px!important}.toneChoices label:has(input:checked){border-color:var(--text);background:var(--surface-muted)}.toneChoices input{accent-color:var(--text);cursor:pointer;margin:0}.toneChoices label>span{gap:3px;min-width:0;line-height:1.35;display:grid}.toneChoices strong{font-size:14px;font-weight:600}.toneChoices small{color:var(--text-muted);font-size:12px;line-height:1.4}.weekdayPicker{grid-template-columns:repeat(7,minmax(44px,1fr));gap:6px;display:grid}.weekdayPicker label{cursor:pointer;min-width:0;min-height:44px;position:relative}.weekdayPicker input{opacity:0;position:absolute}.weekdayPicker span{border:1px solid var(--border);background:var(--surface);border-radius:9px;place-items:center;height:44px;font-size:13px;font-weight:600;display:grid}.weekdayPicker input:checked+span{border-color:var(--text);background:var(--text);color:var(--surface)}.quietFields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.fieldError{color:var(--danger);margin:7px 0 0;font-size:12px}@media (width<=600px){.reminderChoices,.toneChoices,.quietFields{grid-template-columns:1fr}.weekdayPicker{gap:4px}.weekdayPicker span{font-size:12px}.reminderPrivacy{padding:13px}.reminderPanel{gap:18px}}@media (prefers-reduced-motion:no-preference){.reminderPanel{animation:.18s cubic-bezier(.2,.8,.2,1) reminderReveal}@keyframes reminderReveal{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}}.settingsStateGroup{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-raised);overflow:hidden}.settingsStateGroup+.settingsStateGroup{margin-top:8px}.settingsStateGroup>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 12px;font-size:13px;font-weight:600;list-style:none;display:flex}.settingsStateGroup>summary::-webkit-details-marker{display:none}.settingsStateGroup>summary:after{content:"›";color:var(--text-muted);transition:transform var(--motion-fast);margin-left:4px;font-size:20px;line-height:1;transform:rotate(90deg)}.settingsStateGroup[open]>summary:after{transform:rotate(-90deg)}.settingsStateGroup>summary small{background:var(--surface-muted);color:var(--text-muted);border-radius:999px;margin-left:auto;padding:3px 7px;font-weight:500}.settingsStateGroup>.settingsStateRows{padding:0 8px 8px}@media (width<=767px){.settingsStateGroup>summary{min-height:52px;padding-inline:14px}.settingsStateGroup>.settingsStateRows{padding:0 6px 6px}}.onboardingPage{background:radial-gradient(circle at 50% 0,var(--danger-surface),transparent 45%),var(--background);place-items:center;min-height:100dvh;padding:32px 16px;display:grid}.onboardingCard{border:1px solid var(--border-subtle);background:var(--surface);width:min(720px,100%);min-width:0;box-shadow:var(--shadow-md);border-radius:20px;padding:28px}.onboardingHeader{align-items:flex-start;gap:16px;display:flex}.onboardingMark{background:var(--accent);width:48px;height:48px;color:var(--text-on-accent);border-radius:14px;flex:none;place-items:center;font-size:22px;display:grid}.onboardingHeader h1{margin:2px 0 6px;font-size:28px;line-height:1.15}.onboardingHeader p{color:var(--text-muted);margin:0;line-height:1.5}.onboardingHeader .onboardingStep{color:var(--danger);text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:600}.onboardingProgress{grid-template-columns:repeat(3,1fr);gap:6px;margin:24px 0;display:grid}.onboardingProgress i{background:var(--surface-muted);border-radius:999px;height:4px}.onboardingProgress i.active{background:var(--accent-pressed)}.onboardingBody{min-width:0;min-height:300px}.profileFieldset,.reportForm fieldset{border:0;min-width:0;margin:0;padding:0}.profileFieldset+.profileFieldset{border-top:1px solid var(--border-subtle);margin-top:24px;padding-top:24px}.profileFieldset legend,.reportForm legend{width:100%;margin-bottom:4px;font-size:17px;font-weight:600}.profileFieldset legend span{float:right;color:var(--text-muted);font-size:13px}.profileHint{color:var(--text-muted);margin:4px 0 14px;line-height:1.5}.choiceGrid{flex-wrap:wrap;gap:8px;display:flex}.choiceGrid button{min-height:44px;padding:8px 14px}.choiceGrid button[data-state=on]{background:var(--accent);border-color:var(--accent-pressed);color:var(--text-on-accent)}.privacyNote,.privacyExplanation{background:var(--surface-muted);color:var(--text-muted);border-radius:12px;margin-top:20px;padding:14px 16px;line-height:1.55}.privacyExplanation h2{color:var(--text);margin:0 0 6px;font-size:17px}.privacyExplanation p{margin:4px 0}.profileSearch{color:var(--text-muted);gap:7px;margin:14px 0;font-size:13px;display:grid}.profileSearch input{width:100%;min-height:44px}.stateChoiceGrid{max-height:240px;padding:2px;overflow-y:auto}.profileSwitches{gap:12px;margin-top:14px;display:grid}.profileSwitches label{min-height:44px}.profileSummary{grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 0;display:grid}.profileSummary div{background:var(--surface-muted);border-radius:12px;min-width:0;padding:14px}.profileSummary dt{color:var(--text-muted);font-size:12px}.profileSummary dd{overflow-wrap:anywhere;margin:5px 0 0}.onboardingActions{border-top:1px solid var(--border-subtle);justify-content:flex-end;gap:8px;margin-top:24px;padding-top:18px;display:flex}.onboardingActions button{min-width:112px;min-height:44px}.profileSettingsForm{gap:24px;display:grid}.profileSettingsActions{justify-content:flex-end;gap:8px;display:flex}.profileSettingsSummary p{color:var(--text);margin:0}.clinicianReportLink{margin:-8px 0 18px}.deleteAccountCard{border:1px solid color-mix(in srgb,var(--danger) 25%,transparent)}.deleteAccountCard>button{margin-top:16px}.deleteDialogBody{gap:10px;margin:18px 0;display:grid}.deleteDialogBody label{font-weight:600}.deleteDialogBody input{min-height:44px}.deleteDialogBody p{color:var(--text-muted);margin:0;font-size:12px}.contextChips{border:0;margin:0 0 18px;padding:0}.contextChips legend{margin-bottom:8px;font-size:13px;font-weight:600}.contextTag{border:1px solid var(--border)}.weeklyReviewLink{background:var(--accent);min-height:44px;color:var(--text-on-accent);border-radius:9px;justify-content:center;align-items:center;margin-top:10px;font-weight:600;text-decoration:none;display:flex}.statePreferenceList{gap:8px;display:grid}.statePreferenceRow{border:1px solid var(--border-subtle);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:8px;display:flex}.statePreferenceRow>div{align-items:center;gap:8px;display:flex}.stateVisibilityButton{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);border-radius:9px;padding:0 12px}.reviewPage,.reportPage{width:min(900px,100%);margin:0 auto;padding-bottom:40px}.reviewHeader,.reportHeader{margin-bottom:20px}.reviewHeader a,.reportHeader a{text-underline-offset:3px;color:var(--text-muted)}.reviewHeader h1,.reportHeader h1{margin:12px 0 4px;font-size:28px}.reviewHeader p,.reportHeader p{color:var(--text-muted);margin:0}.reviewSummary,.reflectionForm,.reportForm,.reportPreview,.reportMethod{background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px;padding:22px}.reviewSummary h2,.reflectionForm h2,.reportPreview h2,.reportMethod h2{margin:0 0 14px}.reviewMetrics{grid-template-columns:1fr 1fr;gap:10px;display:grid}.reviewMetrics div{background:var(--surface-muted);border-radius:10px;gap:4px;padding:14px;display:grid}.reviewMetrics strong{font-size:22px}.reviewMetrics span{color:var(--text-muted);font-size:12px}.reviewSummary dl{gap:8px;margin:16px 0;display:grid}.reviewSummary dl div{grid-template-columns:150px 1fr;gap:10px;display:grid}.reviewSummary dt{color:var(--text-muted)}.reviewSummary dd{overflow-wrap:anywhere;margin:0}.causalityNote{border-top:1px solid var(--border-subtle);margin:14px 0 0;padding-top:14px;font-weight:600}.reflectionForm{gap:16px;margin-top:12px;display:grid}.reflectionForm>p{color:var(--text-muted);margin:-8px 0 0}.reflectionForm label{gap:7px;font-weight:600;display:grid}.reflectionForm textarea{resize:vertical;min-height:110px}.reflectionActions{justify-content:space-between;align-items:center;gap:12px;display:flex}.reflectionActions span{color:var(--text-muted);font-size:12px}.reportGrid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:12px;display:grid}.reportForm{gap:24px;display:grid}.reportForm fieldset+fieldset{border-top:1px solid var(--border-subtle);padding-top:20px}.reportDates{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.reportDates label{color:var(--text-muted);gap:6px;display:grid}.reportDates button{width:100%;min-height:44px}.reportChecks{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.reportChecks label{min-height:44px}.fieldError{color:var(--danger);font-size:12px}.reportPreview h3{color:var(--text-muted);margin:18px 0 6px;font-size:13px}.reportPreview ul{gap:5px;margin:0;padding-left:20px;display:grid}.excludedList{color:var(--text-muted)}.reportMethod{margin-top:12px}.reportMethod p{color:var(--text-muted);margin:0;line-height:1.6}@media (width<=600px){.onboardingPage{padding:0;display:block}.onboardingCard{min-height:100dvh;box-shadow:none;border:0;border-radius:0;padding:20px 14px}.onboardingHeader h1{font-size:23px}.onboardingMark{width:40px;height:40px}.onboardingBody{min-height:0}.profileSummary,.reviewMetrics,.reportDates,.reportChecks{grid-template-columns:1fr}.onboardingActions{padding:12px 14px max(12px,env(safe-area-inset-bottom));background:var(--surface);margin-inline:-14px;position:sticky;bottom:0}.onboardingActions button,.profileSettingsActions button{flex:1}.reviewPage,.reportPage{padding-bottom:20px}.reviewSummary,.reflectionForm,.reportForm,.reportPreview,.reportMethod{padding:16px}.reviewSummary dl div{grid-template-columns:1fr;gap:3px}.reflectionActions{flex-direction:column;align-items:stretch}.reflectionActions button{width:100%}.reportGrid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.onboardingPage *,.reviewPage *,.reportPage *{transition:none!important;animation:none!important}}
