@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(../media/c3cb240f9c892514-s.3z_x6eowsw16y.woff2)format("woff2");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:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(../media/5c285b27cdda1fe8-s.p.2_mbdogr7ni8i.woff2)format("woff2");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:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(../media/c3cb240f9c892514-s.3z_x6eowsw16y.woff2)format("woff2");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:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(../media/5c285b27cdda1fe8-s.p.2_mbdogr7ni8i.woff2)format("woff2");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:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(../media/c3cb240f9c892514-s.3z_x6eowsw16y.woff2)format("woff2");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:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(../media/5c285b27cdda1fe8-s.p.2_mbdogr7ni8i.woff2)format("woff2");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:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(../media/c3cb240f9c892514-s.3z_x6eowsw16y.woff2)format("woff2");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:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(../media/5c285b27cdda1fe8-s.p.2_mbdogr7ni8i.woff2)format("woff2");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:DM Sans Fallback;src:local(Arial);ascent-override:94.9%;descent-override:29.66%;line-gap-override:0.0%;size-adjust:104.53%}.dm_sans_f65b9734-module__rAqehG__className{font-family:DM Sans,DM Sans Fallback;font-style:normal}.dm_sans_f65b9734-module__rAqehG__variable{--font-dm-sans:"DM Sans", "DM Sans Fallback"}
:root{--navy:#101b40;--muted:#75809d;--violet:#7554e8;--blue:#3378e8;--border:#e9ebf4;--bg:#f6f7fb;--shadow:0 12px 35px #231d5012}*{box-sizing:border-box}body{color:var(--navy);background:var(--bg);font-family:var(--font-dm-sans), Arial, sans-serif;margin:0}button,input,textarea,select{font:inherit}button{color:inherit}.app-shell{gap:20px;min-height:100vh;padding:18px;display:flex}.sidebar{border:1px solid var(--border);width:224px;box-shadow:var(--shadow);background:#fff;border-radius:24px;flex-direction:column;flex:0 0 224px;padding:24px 16px 16px;display:flex}.brand{align-items:center;gap:10px;padding:0 8px 30px;display:flex}.brand-mark{background:linear-gradient(145deg,#336fe7,#8a45df);border-radius:15px;width:43px;height:43px;padding:8px;box-shadow:0 7px 17px #7159e538}.brand-mark svg{fill:none;stroke:#fff;stroke-width:2.7px;stroke-linecap:round;stroke-linejoin:round;width:100%}.brand strong{letter-spacing:-1.2px;font-size:20px;line-height:1;display:block}.brand strong span{font-weight:400}.brand small{color:#7a55df;letter-spacing:1.25px;font-size:7px;font-weight:700}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#76819a;cursor:pointer;background:0 0;border:0;border-radius:13px;align-items:center;gap:13px;height:47px;padding:0 15px;font-weight:500;display:flex}.sidebar nav button.active{color:#5a47d6;background:#f0edff;font-weight:700}.theme-toggle{border-top:1px solid var(--border);margin-top:12px}.nav-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.profile{background:#f8f8fc;border-radius:15px;align-items:center;gap:10px;margin-top:auto;padding:12px;display:flex}.profile .avatar{color:#fff;background:linear-gradient(145deg,#302966,#7b58e8);border-radius:50%;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.profile div:nth-child(2){flex:1}.profile strong,.profile small{font-size:12px;display:block}.profile small{color:var(--muted);margin-top:2px}.content{flex:1;min-width:0;max-width:1420px;margin:auto;padding:16px 14px}header{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}header h1{letter-spacing:-1.2px;margin:3px 0 5px;font-size:clamp(25px,2.2vw,34px)}header h1 span{color:#ffbc47;font-size:22px}header p:not(.eyebrow){color:var(--muted);margin:0;font-size:14px}.eyebrow{color:#9087b0;letter-spacing:1.6px;margin:0 0 5px;font-size:10px;font-weight:700}.add-primary,.save-entry{color:#fff;cursor:pointer;background:linear-gradient(120deg,#356fe9,#8151e2);border:0;border-radius:12px;padding:13px 19px;font-weight:700;box-shadow:0 8px 18px #654ee635}.quick-grid{grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px;display:grid}.quick-card{border:1px solid var(--border);text-align:left;cursor:pointer;background:#fff;border-radius:16px;align-items:center;gap:11px;min-width:0;padding:15px;transition:all .18s;display:flex;box-shadow:0 7px 22px #28244c0b}.quick-card:hover{box-shadow:var(--shadow);border-color:#dcd6fa;transform:translateY(-2px)}.quick-card>span:nth-child(2){flex:1;min-width:0}.quick-card strong,.quick-card small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.quick-card strong{font-size:13px}.quick-card small{color:var(--muted);margin-top:4px;font-size:10px}.quick-card b{color:#b6b1c8;font-size:20px}.type-icon{color:#fff;background:linear-gradient(135deg,#6268ea,#8f4edf);border-radius:11px;flex:0 0 37px;place-items:center;height:37px;display:grid}.dashboard-grid{grid-template-columns:1.15fr .85fr .72fr;gap:18px;margin-top:18px;display:grid}.dashboard-grid>.stats-panel:only-child{grid-column:1/-1}.panel{border:1px solid var(--border);background:#fff;border-radius:18px;min-width:0;padding:20px;box-shadow:0 8px 26px #2d27530b}.panel-head{justify-content:space-between;align-items:start;display:flex}.panel h2{letter-spacing:-.3px;margin:0;font-size:17px}.panel-head button{color:#aaa5b9;cursor:pointer;background:0 0;border:0}.timeline-panel{grid-row:span 2}.timeline-list{margin-top:14px}.timeline-row{grid-template-columns:50px 28px 1fr auto auto;align-items:center;gap:8px;min-height:68px;display:grid;position:relative}.timeline-row:not(:last-child):after{content:"";background:#e9e7f1;width:1px;position:absolute;top:47px;bottom:-20px;left:70px}.timeline-row time{color:#69728e;font-size:11px;font-weight:600;line-height:1.25}.timeline-row time span{color:var(--muted);font-size:9px;font-weight:500;display:block}.dot{z-index:1;border-radius:50%;place-items:center;width:25px;height:25px;font-size:10px;display:grid}.timeline-row div strong,.timeline-row div small,.timeline-row div em{display:block}.timeline-row div em{color:#8b73d7;font-size:9px;font-style:normal}.timeline-row div strong{margin:2px 0;font-size:12px}.timeline-row div small{color:var(--muted);font-size:10px}.score{color:#624dd8;background:#eeebff;border-radius:8px;padding:6px 8px;font-size:10px}.entry-actions{opacity:.7;align-items:center;gap:3px;transition:opacity .15s;display:flex!important}.entry-actions button{color:#777f95;cursor:pointer;background:0 0;border:0}.entry-actions .edit{font-size:10px;font-weight:700}.entry-actions .delete{font-size:17px}.timeline-row:hover .entry-actions,.entry-actions:focus-within{opacity:1}.empty{color:var(--muted);text-align:center;padding:40px 10px;font-size:13px}.trend-panel{grid-column:span 2}.trend-pill{color:#279e70;background:#e7f8f1;border-radius:8px;padding:6px 8px;font-size:10px;font-weight:700}.chart{background:repeating-linear-gradient(#0000 0 44px,#eff0f6 45px);height:190px;margin-top:12px;padding-left:24px;position:relative}.chart svg{width:100%;height:155px;overflow:visible}.chart .area{fill:url(#fill)}.chart .line{fill:none;stroke:#6354e8;stroke-width:3px}.chart circle{fill:#fff;stroke:#6354e8;stroke-width:3px}.axis-label{color:#9aa0b4;font-size:9px;position:absolute;left:1px}.a8{top:4px}.a4{top:77px}.a0{top:148px}.days{color:#9299ad;justify-content:space-between;padding:0 4px;font-size:9px;display:flex}.insight-panel{color:#fff;background:linear-gradient(145deg,#1a1c48,#4e36a7);min-height:170px;position:relative;overflow:hidden}.insight-panel .eyebrow{color:#bdb3ed}.insight-panel>p:not(.eyebrow){color:#d8d3ee;max-width:75%;font-size:11px;line-height:1.6}.insight-art{opacity:.25;font-size:48px;position:absolute;bottom:2px;right:20px;transform:rotate(-12deg)}.insight-art span{font-size:25px}.stats-panel{grid-column:span 1}.stats{text-align:center;justify-content:space-around;align-items:center;gap:6px;height:calc(100% - 20px);display:flex}.stats>div:not(:last-child){border-right:1px solid var(--border);padding-right:16px}.stats strong,.stats span{display:block}.stats strong{letter-spacing:-1px;font-size:27px}.stats strong small{color:var(--muted);font-size:11px}.stats span{color:var(--muted);margin-top:4px;font-size:9px}.modal-backdrop{z-index:10;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#10133275;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;width:min(440px,100%);padding:30px;animation:.2s ease-out pop;position:relative;box-shadow:0 25px 70px #17102d4d}@keyframes pop{0%{opacity:0;transform:translateY(8px)scale(.98)}}.modal-close{color:#8e94a8;cursor:pointer;background:0 0;border:0;font-size:25px;position:absolute;top:13px;right:15px}.modal>.type-icon{margin-bottom:16px}.modal h2{margin:0 0 22px;font-size:25px}.voice-entry{color:#5543c7;text-align:left;cursor:pointer;background:#f7f5ff;border:1px solid #dcd8f6;border-radius:13px;align-items:center;gap:12px;width:100%;padding:12px;transition:all .18s;display:flex}.voice-entry svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;flex:0 0 25px;width:25px;height:25px}.voice-entry span,.voice-entry strong,.voice-entry small{display:block}.voice-entry strong{font-size:12px}.voice-entry small{color:#817a9e;margin-top:3px;font-size:9px}.voice-entry.listening{color:#d7426c;background:#fff1f5;border-color:#f3a9bd;box-shadow:0 0 0 4px #ed5d8314}.voice-entry.listening svg{animation:1s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.7;transform:scale(1.15)}}.speech-message{color:#716b88;margin:8px 2px 0;font-size:10px;line-height:1.4}.modal label{color:#66708a;margin-top:15px;font-size:11px;font-weight:700;display:block}.modal input,.modal textarea,.modal select{width:100%;color:var(--navy);resize:vertical;background:#fff;border:1px solid #e1e3ed;border-radius:10px;outline:none;margin-top:7px;padding:11px 12px}.activity-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.calculated-duration{color:#66708a;background:#f3f5ff;border-radius:10px;margin:10px 0 0;padding:10px 12px;font-size:12px}.calculated-duration strong{color:var(--navy)}.optional{float:right;color:#aaaebe;font-size:9px;font-weight:400}.input-with-unit{position:relative}.input-with-unit input{padding-right:38px}.input-with-unit span{color:#9298aa;font-size:10px;font-weight:500;position:absolute;top:19px;right:12px}.range-label{float:right;color:#aaaebe;font-weight:400}.save-entry{width:100%;margin-top:22px}.entry-picker{width:min(500px,100%)}.entry-picker h2{margin-bottom:6px}.entry-picker-hint{color:var(--muted);margin:0 0 20px;font-size:13px}.entry-picker-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.entry-picker-option{border:1px solid var(--border);cursor:pointer;text-align:left;background:#fff;border-radius:14px;align-items:center;gap:12px;min-height:64px;padding:12px 14px;font-weight:700;transition:all .18s;display:flex}.entry-picker-option:hover,.entry-picker-option:focus-visible{background:#faf9ff;border-color:#cfc7f5;outline:none;transform:translateY(-1px);box-shadow:0 7px 18px #28244c14}.entry-picker-option:last-child:nth-child(odd){grid-column:1/-1}@media (max-width:1100px){.quick-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.timeline-panel{grid-row:span 1}.trend-panel,.stats-panel{grid-column:span 1}}@media (max-width:760px){.app-shell{padding:0;display:block}.sidebar{z-index:5;border-radius:18px 18px 0 0;width:auto;height:67px;padding:8px;display:block;position:fixed;bottom:0;left:0;right:0}.brand,.profile{display:none}.sidebar nav{justify-content:space-around;display:flex}.sidebar nav button{justify-content:center;width:48px;height:48px;padding:0}.sidebar nav button span{display:none}.content{padding:22px 14px 90px}header{align-items:end}header .eyebrow{display:none}header h1{font-size:23px}header p:not(.eyebrow){font-size:11px}.add-primary{width:44px;height:44px;padding:0;font-size:0}.add-primary:first-letter{font-size:20px}.quick-grid{padding-bottom:5px;display:flex;overflow-x:auto}.quick-card{min-width:155px}.dashboard-grid{grid-template-columns:1fr}.trend-panel,.stats-panel{grid-column:auto}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--navy:#f4f1ff;--muted:#969db1;--violet:#8c68ee;--blue:#5a9ff5;--border:#252c3d;--bg:#090e1b;--surface:#0e1422;--surface-raised:#131a2a;--surface-hover:#182035;--shadow:0 18px 45px #0000004d}body{background:radial-gradient(circle at 68% -15%, #171532 0, transparent 31%), var(--bg)}.sidebar{background:#0c1220}.brand small{color:#a587ff}.sidebar nav button{color:#a3a9b9}.sidebar nav button.active{color:#fff;background:linear-gradient(100deg,#51349a,#7049bd);box-shadow:0 8px 24px #5f3eb536}.sidebar nav button:hover{color:#c5b5ff;background:#191d35}.profile{background:#121928;border:1px solid #20283a}.eyebrow{color:#a18fc6}.quick-card{background:linear-gradient(145deg,#121928,#0e1421);box-shadow:0 7px 22px #00000029}.quick-card:hover{background:var(--surface-hover);border-color:#55417e}.quick-card b{color:#626a80}.food .type-icon,.dot.food{color:#fff;background:#d99116}.medication .type-icon,.dot.medication{color:#fff;background:#e8782a}.supplement .type-icon,.dot.supplement{color:#fff;background:#3f83cc}.note .type-icon,.dot.note{color:#fff;background:#4388d3}.symptom .type-icon,.dot.symptom{color:#fff;background:#e94f70}.activity .type-icon,.dot.activity{color:#fff;background:#40a353}.sleep .type-icon,.dot.sleep{color:#fff;background:#7655dc}.panel{background:linear-gradient(145deg,#111827,#0d1320);box-shadow:0 8px 26px #00000029}.panel-head button{color:#858da1}.timeline-row:not(:last-child):after{background:#2c3347}.timeline-row time{color:#929aae}.timeline-row div em{color:#aa8cff}.score{color:#c7b7ff;background:#282044}.entry-actions button{color:#9ba3b7}.trend-pill{color:#65d4a5;background:#16352d}.chart{background:repeating-linear-gradient(#0000 0 44px,#222a3c 45px)}.chart .line{stroke:#9876f4}.chart circle{fill:#111827;stroke:#9876f4}.axis-label,.days{color:#838b9f}.insight-panel{background:linear-gradient(145deg,#211b48,#52369b)}.modal-backdrop{background:#02050cc2}.modal{background:#111827;border:1px solid #2a3246;box-shadow:0 25px 70px #0009}.modal-close{color:#a3aabd}.voice-entry{color:#b9a5ff;background:#17142a;border-color:#3a3158}.voice-entry:hover{background:#201a39;border-color:#765ed0}.voice-entry small{color:#9c94b2}.voice-entry.listening{color:#ff7597;background:#2b1520;border-color:#8a3e55}.speech-message{color:#aaa2bb}.modal label{color:#aeb5c7}.modal input,.modal textarea,.modal select{color:var(--navy);background:#0c1220;border-color:#30394d}.modal input:focus,.modal textarea:focus,.modal select:focus{border-color:#8c68ee;box-shadow:0 0 0 3px #8c68ee26}.modal input::placeholder,.modal textarea::placeholder{color:#626b80}.calculated-duration{color:#aeb5c7;background:#171d30}.optional,.range-label,.input-with-unit span{color:#7f879a}.entry-picker-option{background:#0d1422}.entry-picker-option:hover,.entry-picker-option:focus-visible{background:#19172c;border-color:#66518f;box-shadow:0 7px 18px #0003}body.light-theme{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--navy:#101b40;--muted:#75809d;--border:#e9ebf4;--bg:#f6f7fb;--surface-raised:#fff;--surface-hover:#f8f8fc;--shadow:0 12px 35px #231d5012;background:var(--bg)}body.light-theme .sidebar{background:#fff}body.light-theme .brand small{color:#7a55df}body.light-theme .sidebar nav button{color:#76819a}body.light-theme .sidebar nav button.active{color:#5a47d6;box-shadow:none;background:#f0edff}body.light-theme .sidebar nav button:hover{color:#5a47d6;background:#f6f4ff}body.light-theme .profile{background:#f8f8fc;border-color:#0000}body.light-theme .eyebrow{color:#9087b0}body.light-theme .quick-card,body.light-theme .panel{background:#fff}body.light-theme .quick-card:hover{background:#fff;border-color:#dcd6fa}body.light-theme .quick-card b{color:#b6b1c8}body.light-theme .food .type-icon,body.light-theme .dot.food{color:#23ae78;background:#dff8ee}body.light-theme .medication .type-icon,body.light-theme .dot.medication{color:#7658df;background:#eee8ff}body.light-theme .supplement .type-icon,body.light-theme .dot.supplement{color:#3486d8;background:#e8f5ff}body.light-theme .note .type-icon,body.light-theme .dot.note{color:#e7a431;background:#fff2d9}body.light-theme .symptom .type-icon,body.light-theme .dot.symptom{color:#ed5d83;background:#ffe7ee}body.light-theme .activity .type-icon,body.light-theme .dot.activity{color:#159d91;background:#e5f8f5}body.light-theme .sleep .type-icon,body.light-theme .dot.sleep{color:#586bd8;background:#e9edff}body.light-theme .timeline-row:not(:last-child):after{background:#e9e7f1}body.light-theme .timeline-row time{color:#69728e}body.light-theme .timeline-row div em{color:#8b73d7}body.light-theme .score{color:#624dd8;background:#eeebff}body.light-theme .trend-pill{color:#279e70;background:#e7f8f1}body.light-theme .chart{background:repeating-linear-gradient(#0000 0 44px,#eff0f6 45px)}body.light-theme .chart circle{fill:#fff}body.light-theme .modal{background:#fff;border-color:#0000}body.light-theme .voice-entry{color:#5543c7;background:#f7f5ff;border-color:#dcd8f6}body.light-theme .modal label{color:#66708a}body.light-theme .modal input,body.light-theme .modal textarea,body.light-theme .modal select{color:var(--navy);background:#fff;border-color:#e1e3ed}body.light-theme .calculated-duration{color:#66708a;background:#f3f5ff}body.light-theme .entry-picker-option{background:#fff}.settings-page-content{max-width:1100px}.settings-page-header{margin-bottom:18px}.demo-data-panel{justify-content:space-between;align-items:center;gap:30px;padding:24px;display:flex}.demo-data-copy h2{margin:0;font-size:20px}.demo-data-copy>p:last-of-type{max-width:580px;color:var(--muted);margin:7px 0 13px;font-size:13px;line-height:1.55}.demo-data-status{color:var(--muted);align-items:center;gap:7px;font-size:11px;font-weight:600;display:inline-flex}.demo-data-status:before{content:"";background:#626b80;border-radius:50%;width:7px;height:7px}.demo-data-status.active{color:#5ed1a0}.demo-data-status.active:before{background:#34d399;box-shadow:0 0 0 3px #34d39920}.demo-data-actions{flex:none;gap:9px;display:flex}.demo-data-actions button,.demo-confirmation-actions button{cursor:pointer;border-radius:10px;padding:11px 15px;font-size:12px;font-weight:700}.demo-data-generate,.demo-confirmation-generate{color:#fff;background:linear-gradient(120deg,#356fe9,#8151e2);border:0;box-shadow:0 8px 18px #654ee635}.demo-data-delete,.demo-confirmation-delete{color:#ff879f;background:#28141d;border:1px solid #773849}.demo-data-actions button:disabled{opacity:.42;cursor:not-allowed}.demo-data-confirmation h2{margin-bottom:9px}.demo-data-confirmation>p:not(.eyebrow){color:var(--muted);margin:0;font-size:13px;line-height:1.55}.demo-confirmation-actions{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}.demo-confirmation-cancel{border:1px solid var(--border);color:var(--navy);background:var(--surface-raised)}.settings-loading{min-height:190px}body.light-theme .demo-data-status.active{color:#21845e}body.light-theme .demo-data-delete,body.light-theme .demo-confirmation-delete{color:#bd3653;background:#fff4f6;border-color:#f3c8d1}body.light-theme .demo-confirmation-cancel{color:var(--navy);background:var(--surface-raised)}@media (max-width:760px){.demo-data-panel{flex-direction:column;align-items:stretch;gap:20px}.demo-data-actions{flex-direction:column}.theme-toggle{border-top:0;margin-top:0}}.interactive-timeline{margin-bottom:18px;padding:0;overflow:visible}.timeline-toolbar{justify-content:space-between;align-items:center;gap:20px;padding:20px;display:flex}.timeline-toolbar h2{margin:0 0 3px;font-size:24px}.timeline-toolbar p:not(.eyebrow){color:var(--muted);margin:0;font-size:12px}.timeline-controls{align-items:center;gap:7px;display:flex}.timeline-controls>button,.zoom-controls button{border:1px solid var(--border);height:36px;color:var(--navy);background:var(--surface-raised);cursor:pointer;border-radius:9px;padding:0 12px}.timeline-controls>button:hover,.timeline-controls>button.active,.zoom-controls button:hover{background:#282044;border-color:#7357c8}.zoom-controls{border:1px solid var(--border);border-radius:9px;align-items:center;display:inline-flex;overflow:hidden}.zoom-controls button{border:0;border-radius:0;font-size:18px}.zoom-controls small{text-align:center;min-width:38px;color:var(--muted);font-size:10px}.timeline-filters{opacity:0;border-top:1px solid #0000;gap:8px;max-height:0;padding:0 18px;transition:all .2s;display:flex;overflow:hidden}.timeline-filters.open{opacity:1;border-color:var(--border);max-height:80px;padding:10px 18px;overflow-x:auto}.timeline-filters button{height:34px;color:var(--muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:9px;flex:none;align-items:center;gap:7px;padding:0 10px;font-size:11px;display:flex}.timeline-filters button.selected{color:var(--navy);background:var(--surface-raised)}.timeline-filters button:not(.selected){opacity:.48}.timeline-filters b{color:#a88cff}.mini-type{color:#fff;border-radius:7px;place-items:center;width:22px;height:22px;font-size:11px;display:grid}.timeline-filters .symptom .mini-type,.mini-type.symptom{background:#e94f70}.timeline-filters .food .mini-type,.mini-type.food{background:#d99116}.timeline-filters .medication .mini-type,.mini-type.medication{background:#e8782a}.timeline-filters .supplement .mini-type,.mini-type.supplement{background:#3f83cc}.timeline-filters .activity .mini-type,.mini-type.activity{background:#40a353}.timeline-filters .sleep .mini-type,.mini-type.sleep{background:#7655dc}.timeline-filters .note .mini-type,.mini-type.note{background:#4388d3}.timeline-viewport{border-block:1px solid var(--border);cursor:grab;scrollbar-width:thin;scrollbar-color:#594388 transparent;overscroll-behavior-x:contain;height:390px;position:relative;overflow:auto hidden}.timeline-viewport:active{cursor:grabbing}.timeline-canvas{background:repeating-linear-gradient(90deg,#0000 0 calc(25% - 1px),#747c9712 25%);min-width:100%;height:100%;position:relative}.timeline-axis{background:#495169;height:1px;position:absolute;top:108px;left:0;right:0}.timeline-tick{background:#596176;width:1px;height:14px;position:absolute;top:101px}.timeline-tick span{color:#a2a9ba;white-space:nowrap;font-size:10px;position:absolute;top:-26px;left:0;transform:translate(-50%)}.timeline-day-marker{color:#ddd8eb;white-space:nowrap;font-size:10px;font-weight:700;position:absolute;top:42px;transform:translate(7px)}.duration-wrap{z-index:2;min-width:18px;height:27px;position:absolute}.duration-range{color:#fff;cursor:pointer;white-space:nowrap;text-align:left;border:1px solid;border-radius:7px;align-items:center;gap:8px;width:100%;height:100%;padding:0 10px;display:flex;overflow:hidden}.duration-range.sleep{background:linear-gradient(90deg,#49368a99,#704fc099);border-color:#8263df}.duration-range.activity{background:linear-gradient(90deg,#245f3899,#36864d99);border-color:#4da760}.duration-range span{flex:none}.duration-range strong{font-size:10px}.duration-range small{opacity:.8;font-size:9px}.timeline-event-wrap{z-index:4;width:34px;height:34px;position:absolute;transform:translate(-17px)}.timeline-event{z-index:2;color:#fff;cursor:pointer;border:2px solid #111827;border-radius:50%;width:34px;height:34px;position:relative;box-shadow:0 5px 12px #0006}.timeline-event.symptom{background:#e94f70}.timeline-event.food{background:#d99116}.timeline-event.medication{background:#e8782a}.timeline-event.supplement{background:#3f83cc}.timeline-event.activity{background:#40a353}.timeline-event.sleep{background:#7655dc}.timeline-event.note{background:#4388d3}.event-connector{opacity:.6;background:currentColor;width:1px;height:19px;position:absolute;bottom:32px;left:16px}.timeline-event-wrap.lane-1 .event-connector{height:67px}.timeline-event-wrap.lane-2 .event-connector{height:115px}.timeline-event-wrap.lane-3 .event-connector{height:163px}.timeline-popover{z-index:12;width:245px;color:var(--navy);opacity:0;visibility:hidden;pointer-events:none;background:#101725f5;border:1px solid #343d52;border-radius:12px;padding:13px;transition:all .15s;position:absolute;bottom:45px;left:50%;transform:translate(-50%,6px);box-shadow:0 16px 35px #0009}.timeline-popover.visible{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%)}.timeline-floating-popover{z-index:100;width:min(260px,100vw - 24px);position:fixed;bottom:auto;transform:none}.timeline-floating-popover.below,.timeline-floating-popover.above{transform:none}.duration-popover{bottom:36px;left:0;transform:translateY(6px)}.duration-popover.visible{transform:translateY(0)}.timeline-popover-head{grid-template-columns:28px 1fr auto;align-items:center;gap:8px;display:grid}.timeline-popover-head strong,.timeline-popover-head small{display:block}.timeline-popover-head strong{font-size:12px}.timeline-popover-head small,.timeline-popover>small{color:var(--muted);font-size:9px}.timeline-popover time{color:#b9bfd0;font-size:10px}.timeline-popover p{margin:10px 0 0;font-size:11px}.timeline-popover .event-notes{color:#c5c9d4;line-height:1.45}.timeline-popover-actions{gap:7px;margin-top:11px;display:flex}.timeline-popover-actions button{color:#c6b7fa;cursor:pointer;background:#1a2131;border:1px solid #394158;border-radius:6px;padding:5px 9px;font-size:9px}.now-indicator{z-index:3;pointer-events:none;background:#9d71f4;width:1px;position:absolute;top:54px;bottom:0;box-shadow:0 0 10px #9d71f4}.now-indicator span{color:#fff;background:#7655dc;border-radius:6px;padding:4px 7px;font-size:10px;position:absolute;top:0;left:50%;transform:translate(-50%,-50%)}.timeline-help{color:var(--muted);text-align:right;margin:0;padding:10px 18px;font-size:9px}body.light-theme .timeline-controls>button,body.light-theme .zoom-controls button,body.light-theme .timeline-filters button.selected{background:#fff}body.light-theme .timeline-popover{color:var(--navy);background:#fff;border-color:#dedbea;box-shadow:0 16px 35px #332a5a26}body.light-theme .timeline-popover .event-notes{color:#5f6880}body.light-theme .timeline-popover-actions button{color:#5a47d6;background:#f5f3ff;border-color:#ded8fa}body.light-theme .timeline-event{border-color:#fff}.timeline-page-content{max-width:1520px}.timeline-page-header{margin-bottom:18px}@media (max-width:760px){.timeline-toolbar{align-items:flex-start;padding:15px}.timeline-toolbar h2{font-size:20px}.timeline-toolbar>div:first-child p:not(.eyebrow){display:none}.timeline-controls{flex-wrap:wrap;justify-content:flex-end}.timeline-controls>button{height:32px;padding:0 8px;font-size:10px}.timeline-controls>button:nth-child(2),.timeline-controls>button:nth-child(3){display:none}.zoom-controls button{height:30px}.timeline-filters{grid-template-columns:repeat(4,max-content);display:grid}.timeline-filters.open{max-height:105px}.timeline-filters button{justify-content:center;width:35px;padding:0;font-size:0}.timeline-filters button b{display:none}.timeline-viewport{cursor:auto;overscroll-behavior-y:contain;height:570px;overflow:hidden auto}.timeline-canvas{background:repeating-linear-gradient(#0000 0 calc(25% - 1px),#747c9712 25%);width:100%;min-height:100%}.timeline-axis{width:1px;height:auto;inset:0 auto 0 51px}.timeline-tick{width:13px;height:1px;top:auto;left:45px}.timeline-tick span{top:-7px;left:-9px;transform:translate(-100%)}.timeline-day-marker{top:5px;left:39px;transform:translate(-100%)}.duration-wrap{width:calc(100vw - 125px);min-height:24px}.duration-range{flex-wrap:wrap;align-items:flex-start;min-height:24px;padding:7px 9px}.duration-range small{width:100%;margin-left:19px}.timeline-event-wrap{transform:translateY(-17px)}.event-connector{width:20px;height:1px;inset:16px 32px auto auto}.timeline-event-wrap.lane-1 .event-connector{width:64px;height:1px}.timeline-event-wrap.lane-2 .event-connector{width:108px;height:1px}.timeline-event-wrap.lane-3 .event-connector{width:152px;height:1px}.timeline-popover{z-index:20;width:auto;position:fixed;bottom:82px;left:14px;right:14px;transform:translateY(6px)}.timeline-popover.visible{transform:translateY(0)}.now-indicator{width:auto;height:1px;top:auto;left:0;right:0}.now-indicator span{top:50%;left:50px;transform:translate(-50%,-50%)}.timeline-help{text-align:center}.timeline-floating-popover{width:auto;bottom:82px;right:12px;top:auto!important;left:12px!important;transform:none!important}}:root{--chart-grid:#252d40;--chart-grid-strong:#343d52;--chart-cursor:#68718a;--chart-point-ring:#111827}.charts-page-content{max-width:1520px}.charts-page-header{margin-bottom:18px}.charts-stack{gap:18px;display:grid}.charts-layout{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:18px;display:grid}.severity-main,.sleep-main,.symptom-context{padding:22px}.severity-head{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.severity-head .eyebrow,.symptom-context .eyebrow{margin:0 0 5px}.severity-head h2,.sleep-main h2,.symptom-context h2{letter-spacing:-.45px;margin:0;font-size:20px}.severity-head>div:first-child>p:last-child,.context-heading p,.sleep-main .severity-head>div:first-child>p:last-child{color:var(--muted);margin:6px 0 0;font-size:12px}.range-tabs{border:1px solid var(--border);background:#0b111e;border-radius:11px;gap:3px;padding:3px;display:flex}.range-tabs button{min-width:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 8px;font-size:11px;font-weight:600}.range-tabs button:hover,.range-tabs button.active{color:#fff;background:#6848bc}.symptom-selector{grid-template-columns:minmax(180px,260px) auto;gap:10px;margin-top:22px;display:grid}.symptom-search-wrap{position:relative}.symptom-search-wrap svg{fill:none;width:16px;stroke:var(--muted);stroke-width:2px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.symptom-search-wrap input{width:100%;height:39px;color:var(--navy);background:#0c1220;border:1px solid #30394d;border-radius:10px;outline:none;padding:0 12px 0 37px}.symptom-search-wrap input:focus{border-color:#8c68ee;box-shadow:0 0 0 3px #8c68ee26}.clear-symptoms{color:#aa91f4;cursor:pointer;background:0 0;border:0;align-self:center;font-size:11px}.symptom-options{grid-column:1/-1;gap:7px;min-height:32px;padding-bottom:3px;display:flex;overflow-x:auto}.symptom-options button{color:#abb2c4;cursor:pointer;background:#121928;border:1px solid #30384a;border-radius:999px;flex:none;align-items:center;gap:7px;padding:6px 8px 6px 11px;font-size:11px;display:flex}.symptom-options button.selected{color:#fff;background:#312657;border-color:#7658d4}.symptom-options small{color:#aeb4c5;background:#242c3e;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:9px;display:grid}.symptom-options p{color:var(--muted);margin:4px 0;font-size:11px}.series-legend{color:#aab1c1;flex-wrap:wrap;gap:7px 15px;min-height:23px;margin-top:16px;font-size:10px;display:flex}.series-legend span{align-items:center;gap:6px;display:flex}.series-legend i{border-radius:50%;width:8px;height:8px}.severity-chart{width:100%;height:clamp(310px,43vw,480px);min-height:310px;margin-top:2px;position:relative}.sleep-chart{width:100%;height:clamp(280px,34vw,390px);min-height:280px;position:relative}.sleep-quality-legend{margin-top:20px}.sleep-quality-legend i{border-radius:3px;width:10px;height:10px}.sleep-bar{cursor:pointer;outline:none}.sleep-bar rect{transition:filter .15s,stroke-width .15s}.sleep-bar:hover rect,.sleep-bar:focus rect{filter:brightness(1.14);stroke:var(--chart-point-ring);stroke-width:2px}.sleep-tooltip-floating{max-width:min(310px,100% - 20px)}.sleep-tooltip-floating.left{transform:translateY(calc(-100% - 12px))}.sleep-tooltip-floating.right{transform:translate(-100%,calc(-100% - 12px))}.sleep-tooltip{min-width:240px}.sleep-tooltip dl,.sleep-tooltip p{margin:0}.sleep-tooltip dl{gap:4px;display:grid}.sleep-tooltip dl>div{justify-content:space-between;gap:18px;display:flex}.sleep-tooltip dt{color:var(--muted)}.sleep-tooltip dd{color:#c7b6ff;text-align:right;margin:0}.sleep-tooltip p{color:#b8bfce;border-top:1px solid #30384b;max-width:280px;padding-top:7px;line-height:1.45}.sleep-chart-empty{min-height:300px}.severity-points,.severity-points *{cursor:pointer}.severity-tooltip{color:var(--navy);background:#0e1524f2;border:1px solid #363f55;border-radius:10px;gap:3px;padding:10px 12px;font-size:11px;display:grid;box-shadow:0 12px 28px #0008}.severity-tooltip-floating{z-index:4;pointer-events:none;position:absolute;transform:translate(-50%,calc(-100% - 12px))}.severity-tooltip-floating .severity-tooltip{box-shadow:none;border:0;padding:0}.sleep-tooltip-floating .sleep-tooltip{padding:12px 14px}.severity-observation:focus{outline:none}.severity-observation:focus circle:last-child{stroke:#fff;stroke-width:3px}.severity-tooltip span{color:#c7b6ff}.severity-tooltip time{color:var(--muted);font-size:10px}.chart-instruction,.single-observation-note{color:var(--muted);text-align:right;margin:2px 5px 0;font-size:10px}.single-observation-note{text-align:left;background:#151b2b;border:1px solid #32394b;border-radius:9px;padding:9px 12px}.chart-empty{text-align:center;align-content:center;justify-items:center;min-height:360px;display:grid}.chart-empty>span{color:#8266d6;font-size:52px}.chart-empty h3{margin:5px 0;font-size:16px}.chart-empty p,.context-empty{max-width:330px;color:var(--muted);margin:0;font-size:12px;line-height:1.55}.symptom-context{min-height:220px;position:sticky;top:18px}.context-heading{justify-content:space-between;gap:15px;display:flex}.context-heading>strong{color:#c8b6ff;font-size:26px}.context-heading>strong small{color:var(--muted);font-size:11px}.selected-symptom-details{color:#c5cad6;background:#171e2f;border-radius:9px;margin:14px 0 0;padding:10px 12px;font-size:11px;line-height:1.5}.context-caption{color:#a9afc0;letter-spacing:.5px;text-transform:uppercase;margin:20px 0 11px;font-size:10px;font-weight:700}.context-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.context-list li{grid-template-columns:30px 1fr;gap:9px;padding:9px 0;display:grid;position:relative}.context-list li:not(:last-child):after{content:"";background:#252d3f;height:1px;position:absolute;bottom:0;left:39px;right:0}.context-type{color:#fff;background:#252d40;border-radius:9px;place-items:center;width:28px;height:28px;font-size:12px;display:grid}.context-row-head{justify-content:space-between;gap:8px;display:flex}.context-row-head strong{font-size:11px}.context-row-head time,.context-list small{color:var(--muted);font-size:9px}.context-list li p{color:#b7bdca;margin:5px 0 0;font-size:10px;line-height:1.4}.chart-loading{min-height:500px}body.light-theme{--chart-grid:#ececf3;--chart-grid-strong:#d9dce8;--chart-cursor:#9fa6ba;--chart-point-ring:#fff}body.light-theme .range-tabs,body.light-theme .symptom-search-wrap input,body.light-theme .symptom-options button{background:#fff}body.light-theme .symptom-search-wrap input{border-color:#dfe2ec}body.light-theme .symptom-options button{color:#68718a;border-color:#e0e2ec}body.light-theme .symptom-options button.selected{color:#5843ca;background:#f0edff;border-color:#d7d0fb}body.light-theme .symptom-options small{color:#6e7690;background:#f0f1f6}body.light-theme .severity-tooltip{background:#fff;border-color:#e0e1eb;box-shadow:0 12px 28px #31295a26}body.light-theme .severity-tooltip span,body.light-theme .sleep-tooltip dd{color:#654fd3}body.light-theme .sleep-tooltip p{color:#5f6880;border-color:#e5e5ed}body.light-theme .single-observation-note,body.light-theme .selected-symptom-details{color:#5f6880;background:#f6f6fb;border-color:#e5e5ed}body.light-theme .context-list li:not(:last-child):after{background:#ebebf1}body.light-theme .context-list li p{color:#68718a}@media (max-width:1050px){.charts-layout{grid-template-columns:1fr}.symptom-context{position:static}}@media (max-width:760px){.severity-main,.sleep-main,.symptom-context{padding:16px}.severity-head{display:grid}.range-tabs{width:100%;overflow-x:auto}.range-tabs button{flex:1 0 40px}.symptom-selector{grid-template-columns:1fr auto;margin-top:16px}.severity-chart{height:340px}.sleep-chart{height:310px}}.app-body{flex-direction:column;flex:1;min-width:0;min-height:calc(100vh - 36px);display:flex}.content{width:100%}.app-footer{border-top:1px solid var(--border);width:calc(100% - 28px);max-width:1420px;color:var(--muted);align-items:center;gap:24px;margin:auto auto 0;padding:18px 2px 4px;font-size:11px;display:flex}.footer-identity,.footer-links{align-items:center;display:flex}.footer-identity{white-space:nowrap;gap:7px}.footer-identity strong{color:var(--navy);letter-spacing:-.2px;font-size:12px}.footer-identity span[aria-hidden=true]{color:#555e73}.footer-links{gap:18px}.footer-links button,.footer-links a{width:auto;height:auto;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:0;padding:2px 0;font-weight:500;line-height:1.4;text-decoration:none}.footer-links button:hover,.footer-links a:hover{color:#baf;background:0 0}.footer-links button:focus-visible,.footer-links a:focus-visible,.about-dialog-done:focus-visible,.about-dialog .modal-close:focus-visible{outline:2px solid var(--violet);outline-offset:4px}.footer-secondary-link{opacity:.76}.footer-copyright{white-space:nowrap;margin-left:auto}.about-dialog{max-height:min(650px,100vh - 40px);color:var(--navy);border:1px solid #2a3246;margin:auto;overflow-y:auto}.about-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#02050cc2}.about-dialog h2{margin-bottom:14px}.about-dialog-copy{gap:12px;display:grid}.about-dialog-copy p{color:#b2b8c8;margin:0;font-size:13px;line-height:1.62}.about-dialog-copy .about-disclaimer{border-top:1px solid var(--border);color:#929aae;margin-top:3px;padding-top:14px;font-size:12px}.about-dialog-done{color:#c8bcf7;cursor:pointer;background:#19172c;border:1px solid #3a3158;border-radius:11px;width:100%;margin-top:22px;padding:11px 16px;font-weight:700}.about-dialog-done:hover{background:#211d38;border-color:#765ed0}body.light-theme .footer-links button:hover,body.light-theme .footer-links a:hover{color:#5a47d6}body.light-theme .about-dialog{border-color:#0000}body.light-theme .about-dialog-copy p{color:#626c86}body.light-theme .about-dialog-copy .about-disclaimer{color:#75809d}body.light-theme .about-dialog-done{color:#5843ca;background:#f7f5ff;border-color:#dcd6fa}body.light-theme .about-dialog-done:hover{background:#f0edff;border-color:#bdb0f4}@media (max-width:760px){.app-body{min-height:100vh}.content{padding-bottom:24px}.app-footer{flex-wrap:wrap;gap:9px 18px;width:calc(100% - 28px);margin-bottom:76px;padding:17px 0 0}.footer-links{margin-left:auto}.footer-copyright{width:100%;margin-left:0}.about-dialog{width:min(440px,100% - 28px);padding:26px 22px 22px}}@media (max-width:400px){.footer-identity,.footer-links{width:100%}.footer-links{margin-left:0}}
