@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-ext-wght-normal-hICkpzq7.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-cyrillic-wght-normal-mKek_fSS.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-ext-wght-normal-B-I5lbAQ.woff2)format("woff2-variations");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:Golos Text Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/golos-text-latin-wght-normal-BS5oQT7X.woff2)format("woff2-variations");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(--canvas);font-synthesis:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#333;--green:#3eb48a;--green-dark:#50c79b;--green-muted:#409376;--green-soft:#3eb48a1a;--green-subtle:#3eb48a33;--text:#fff;--muted:#ccc;--subtle:#b5b5b5;--line:#535353;--paper:#393939;--surface:#2c2c2c;--raised:#424242;--ink:#152b22;--danger:#ffb7af;--danger-line:#80504b;--danger-surface:#4a3130;--danger-solid:#b34f46;--danger-hover:#c35c52;font-family:Golos Text Variable,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}body{background:var(--canvas);margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex="-1"]:focus-visible{outline:3px solid var(--green);outline-offset:3px}button{touch-action:manipulation}svg{flex-shrink:0}h1,h2,h3,h4,p{margin:0}button{border:0}input,select,textarea{color:var(--text)}::selection{background:#3eb48a55}html{scroll-behavior:smooth}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{min-height:100dvh}.sidebar{background:var(--surface);border-right:1px solid var(--line);z-index:5;flex-direction:column;width:232px;padding:42px 24px 24px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-2px;align-items:center;width:max-content;font-size:36px;font-weight:600;display:flex}.brand-icon{background:var(--green);width:44px;height:44px;color:var(--ink);border-radius:15px;justify-content:center;align-items:center;margin-right:11px;display:flex;position:relative}.brand-icon svg{transform:rotate(-14deg)}.brand-icon>span{background:var(--text);border-radius:50%;width:4px;height:4px;position:absolute;top:9px;right:9px}.brand-period{color:var(--green)}.brand-subtitle{color:var(--muted);letter-spacing:.2px;margin:12px 0 57px 2px;font-size:11px}.nav-label{letter-spacing:1.6px;color:var(--subtle);margin:0 12px 15px;font-size:9px;font-weight:500}.sidebar nav{gap:8px;display:grid}.nav-item{text-align:left;color:var(--muted);background:0 0;border-radius:9px;align-items:center;gap:12px;width:100%;min-height:46px;padding:13px;font-size:12px;display:flex}.nav-item.active{background:var(--green-soft);color:var(--green);font-weight:500}.nav-item:not(:disabled):hover{background:var(--raised)}.nav-dot{background:var(--green);border-radius:50%;width:5px;height:5px;margin-left:auto}.sidebar-note{color:var(--muted);margin-top:auto;padding:40px 12px 32px}.sidebar-note p{color:var(--muted);margin:15px 0 16px;font-size:14px;line-height:1.8}.sidebar-note>span{color:var(--subtle);font-size:9px}.sidebar-bottom{border-top:1px solid var(--line);color:var(--subtle);align-items:center;gap:7px;padding:22px 7px 2px;font-size:9px;display:flex}.status-dot{background:var(--green);border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.main-content{max-width:1520px;margin-left:232px;padding:0 48px}.topline{border-bottom:1px solid var(--line);letter-spacing:1.4px;height:74px;color:var(--subtle);justify-content:space-between;align-items:center;font-size:9px;display:flex}.topline>span:first-child{align-items:center;gap:8px;display:flex}.today-date{letter-spacing:0;color:var(--subtle);align-items:center;gap:8px;font-size:11px;display:flex}.page-header{justify-content:space-between;align-items:center;gap:20px;margin:37px 0 36px;display:flex}.page-header h1{letter-spacing:-1.5px;font-family:Georgia,Times New Roman,serif;font-size:42px;font-weight:400;line-height:1.2}.heading-dot{color:var(--green)}.page-header p{color:var(--muted);margin-top:12px;font-size:12px}.header-actions{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.button{white-space:normal;overflow-wrap:anywhere;text-align:center;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:0;max-width:100%;min-height:44px;padding:12px 17px;font-size:11px;font-weight:500;line-height:1.5;transition:background .15s,border-color .15s,transform .15s;display:inline-flex}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{color:var(--ink);background:var(--green);box-shadow:0 2px 3px #0003}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{border-color:var(--line);color:var(--text);background:0 0}.button.secondary:hover:not(:disabled){background:var(--raised);border-color:var(--line)}.button.secondary svg,.button.text-button svg{color:var(--green)}.button.small{min-height:36px;padding:9px 12px;font-size:11px}.button.text-button{color:var(--green);background:0 0}.button.text-button:hover{background:var(--raised)}.button.danger{color:var(--text);background:var(--danger-solid)}.button.danger:hover:not(:disabled){background:var(--danger-hover)}.mobile-brand,.mobile-bottom{display:none}.overview-caption{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.overview-caption h2{color:var(--text);font-size:12px;font-weight:500}.overview-caption>span{color:var(--subtle);font-size:10px}.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;display:grid}.stat-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;min-height:170px;padding:20px 22px 19px;position:relative;overflow:hidden}.stat-top{color:var(--muted);justify-content:space-between;align-items:center;gap:5px;font-size:11px;display:flex}.stat-icon{border-radius:10px;justify-content:center;align-items:center;width:33px;height:33px;display:flex}.sage,.sand,.lavender{background:var(--green-soft);color:var(--green)}.stat-value{letter-spacing:-1.1px;white-space:nowrap;margin-top:14px;font-size:30px;font-weight:450;line-height:1.3;display:block}.stat-value small{color:var(--muted);letter-spacing:0;font-size:16px;font-weight:400}.stat-card p{color:var(--subtle);z-index:1;margin-top:10px;font-size:10px;position:relative}.stat-decoration{opacity:.65;align-items:flex-end;gap:5px;width:88px;height:38px;display:flex;position:absolute;bottom:0;right:20px}.stat-decoration i{background:var(--green-subtle);border-radius:3px 3px 0 0;width:6px;display:block}.stat-orbit{color:var(--green-subtle);opacity:.75;position:absolute;bottom:12px;right:14px;transform:rotate(-13deg)}.wellbeing-dots{gap:4px;margin-top:12px;display:flex}.wellbeing-dots i{background:var(--line);border-radius:4px;flex:1;height:4px}.wellbeing-dots .filled{background:var(--green)}.middle-grid{grid-template-columns:minmax(0,1.9fr) minmax(225px,1fr);gap:20px;margin-top:24px;display:grid}.week-card{border:1px solid var(--line);background:var(--paper);border-radius:12px;min-width:0;padding:24px 25px 19px}.card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.eyebrow{letter-spacing:1.8px;color:var(--green);font-size:8px;font-weight:500}.card-heading h2{letter-spacing:-.4px;margin-top:8px;font-size:17px;font-weight:500}.chart-range{white-space:nowrap;color:var(--subtle);margin-top:13px;font-size:9px}.chart{height:175px;margin-top:25px;display:flex}.chart-scale{width:28px;color:var(--subtle);flex-direction:column;flex-shrink:0;justify-content:space-between;padding:0 0 41px;font-size:9px;display:flex}.chart-columns{background:repeating-linear-gradient(to bottom, transparent 0, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) 50%);background-repeat:no-repeat;background-size:100% calc(100% - 42px);flex:1;justify-content:space-around;min-width:0;display:flex;position:relative}.chart-column{flex-direction:column;flex:1;align-items:center;min-width:0;display:flex}.bar-space{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:130px;display:flex;position:relative}.bar{background:var(--green-muted);z-index:1;border-radius:5px 5px 1px 1px;width:50%;max-width:32px;min-height:2px;display:block}.chart-column.today .bar{background:var(--green)}.bar-empty{background:var(--line);border-radius:5px;width:24px;height:4px;margin-bottom:1px;display:block}.bar-value{color:var(--green);margin-bottom:5px;font-size:9px;display:none;position:absolute;bottom:calc(100% + 4px)}.day-name{color:var(--subtle);margin-top:12px;font-size:10px}.day-number{color:var(--subtle);margin-top:3px;font-size:9px}.today .day-name{color:var(--green);font-weight:600}.chart-legend{color:var(--subtle);justify-content:center;align-items:center;gap:6px;margin-top:12px;font-size:9px;display:flex}.legend-dot{background:var(--green-muted);border-radius:2px;width:6px;height:6px}.legend-extra{color:var(--subtle)}.reflection-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;align-items:flex-start;padding:31px 26px 25px;display:flex;position:relative;overflow:hidden}.reflection-card .eyebrow{letter-spacing:1.7px;color:var(--green);z-index:1;font-size:8px}.reflection-card h2{letter-spacing:-.5px;color:var(--text);z-index:1;margin:16px 0 13px;font:400 28px/1.25 Georgia,Times New Roman,serif}.reflection-card p{color:var(--muted);z-index:1;max-width:210px;font-size:10px;line-height:1.9;position:relative}.reflection-link{color:var(--green);background:0 0;align-items:center;gap:10px;min-height:40px;margin-top:auto;padding:20px 0 0;font-size:10px;font-weight:500;display:flex}.reflection-link:hover:not(:disabled){color:var(--green)}.reflection-moon{width:125px;height:125px;color:var(--green);opacity:.15;position:absolute;top:20px;right:-10px;transform:rotate(-9deg)}.reflection-moon>svg:first-child{fill:var(--green);position:absolute;top:20px;right:14px}.sparkle-one{color:var(--green);position:absolute;top:16px;left:17px}.sparkle-two{font-size:17px;font-weight:300;position:absolute;top:74px;left:18px}.orbit{border:1px solid var(--line);border-radius:50%;position:absolute;inset:2px;transform:rotate(-30deg)scaleX(1.2)}.history-section{margin-top:35px;scroll-margin-top:24px}.history-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.history-heading h2{letter-spacing:-.5px;align-items:center;gap:9px;font-size:19px;font-weight:500;display:flex}.count-badge{background:var(--green-soft);min-width:21px;height:21px;color:var(--green);letter-spacing:0;border-radius:6px;justify-content:center;align-items:center;padding:0 6px;font-size:10px;font-weight:500;display:inline-flex}.history-heading p{color:var(--muted);margin-top:8px;font-size:10px}.history-filters{align-items:center;gap:9px;display:flex}.search-field,.month-select{color:var(--muted);border:1px solid var(--line);background:var(--surface);border-radius:7px;align-items:center;gap:8px;min-height:37px;padding:0 11px;display:flex}.search-field{width:175px}.search-field input{background:0 0;border:0;width:100%;min-width:0;padding:10px 0;font-size:10px;outline:none!important}.search-field input::placeholder{color:var(--muted)}.search-field button{color:var(--green);background:0 0;justify-content:center;align-items:center;min-width:20px;padding:0;display:flex}.month-select select{appearance:none;color:var(--text);background:0 0;border:0;outline:none;min-width:74px;max-width:148px;padding:10px 0;font-size:10px}.history-list{border:1px solid var(--line);background:var(--paper);border-radius:12px;overflow:hidden}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:240px;padding:37px 22px 33px;display:flex}.empty-icon{background:var(--green-soft);width:60px;height:60px;color:var(--green);border-radius:20px;justify-content:center;align-items:center;margin-bottom:18px;display:flex;position:relative}.empty-icon>span{background:var(--paper);border:1px solid var(--line);border-radius:7px;justify-content:center;align-items:center;width:20px;height:20px;display:flex;position:absolute;top:-2px;right:1px}.empty-state h3{letter-spacing:-.2px;font-size:15px;font-weight:500}.empty-state p{color:var(--muted);margin-top:10px;font-size:11px;line-height:1.9}.empty-state .button{min-height:37px;margin-top:20px;padding:9px 14px;font-size:10px}.empty-state>svg{color:var(--green);margin-bottom:14px}.error-state p{color:var(--danger);overflow-wrap:anywhere;max-width:500px}.loading-state{color:var(--green);flex-direction:column;align-items:center;gap:15px;padding:80px 20px;font-size:12px;display:flex}.history-table-head{background:var(--surface);border-bottom:1px solid var(--line);letter-spacing:.8px;color:var(--subtle);grid-template-columns:minmax(0,1fr) 136px 103px 119px;gap:10px;padding:17px 48px 15px 25px;font-size:8px;display:grid}.history-row+.history-row{border-top:1px solid var(--line)}.history-summary{background:var(--paper);text-align:left;grid-template-columns:39px minmax(140px,1fr) 136px 103px 91px 18px;align-items:center;gap:10px;width:100%;padding:19px 22px;display:grid}.history-summary:hover{background:var(--raised)}.history-moon{background:var(--green-soft);width:35px;height:35px;color:var(--green);border-radius:10px;justify-content:center;align-items:center;display:flex}.history-date{min-width:0}.history-date>strong{font-size:12px;font-weight:500;display:block}.history-year{color:var(--subtle);font-size:10px;font-weight:400}.history-date>small{color:var(--subtle);margin-top:6px;font-size:10px;display:block}.history-date>small>span{white-space:nowrap;font-size:9px}.history-duration{letter-spacing:-.2px;font-size:13px;font-weight:500}.history-caffeine{color:var(--green);align-items:center;gap:5px;font-size:12px;display:flex}.history-caffeine small{font-size:9px}.wellbeing-badge{color:var(--green);align-items:center;gap:5px;font-size:12px;display:flex}.wellbeing-badge small{color:var(--subtle);font-size:9px}.row-chevron{color:var(--subtle);transition:transform .2s}.expanded .row-chevron{transform:rotate(180deg)}.history-details{background:var(--surface);border-top:1px solid var(--line);padding:0 25px 22px 71px}.detail-chips{flex-wrap:wrap;gap:9px;padding-top:17px;display:flex}.detail-chips>span{background:var(--green-soft);color:var(--green);border-radius:6px;align-items:center;gap:5px;padding:7px 9px;font-size:10px;display:flex}.detail-group{margin-top:18px}.detail-group h4{color:var(--muted);margin-bottom:10px;font-size:10px;font-weight:500}.detail-group p{justify-content:space-between;align-items:center;gap:15px;margin-top:8px;font-size:12px;display:flex}.detail-group p>span{overflow-wrap:anywhere;min-width:0}.detail-group small{color:var(--subtle);margin-top:4px;font-size:9px;display:block}.detail-group strong{white-space:nowrap;color:var(--green);font-size:11px;font-weight:500}.entry-notes{border-top:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);margin-top:18px;padding-top:14px;font-size:12px;line-height:1.8}.detail-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;display:flex}.delete-entry{margin-left:auto}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;margin:0 0 28px;display:grid}.quick-actions .button{min-height:50px;font-size:13px}.quick-actions>p{color:var(--muted);grid-column:1/-1;font-size:12px;line-height:1.7}.daytime-section{border:1px solid var(--line);background:var(--paper);border-radius:12px;min-width:0;margin:28px 0;padding:22px}.daytime-section>h2{letter-spacing:-.5px;font-size:19px;font-weight:500}.daytime-section>p{color:var(--muted);overflow-wrap:anywhere;margin-top:9px;font-size:13px;line-height:1.7}.daytime-item{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;min-width:0;padding:16px 0;display:flex}.daytime-item:first-child{border-top:0}.daytime-item>div{min-width:0}.daytime-item>div:first-child{flex:230px}.daytime-item h3,.daytime-item strong{overflow-wrap:anywhere;font-size:14px;font-weight:500;line-height:1.5}.daytime-item p,.daytime-item small{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.7}.daytime-item p{margin-top:4px}.activity-actions{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.daytime-item .activity-actions{flex:0 auto;max-width:100%}.activity-actions .button{min-height:44px;font-size:12px}.saved-drinks{margin-top:22px}.saved-drinks>h3{margin-bottom:0;font-size:14px}.saved-drinks .daytime-item{flex-wrap:nowrap}.saved-drinks .icon-button{flex-shrink:0;min-width:44px;min-height:44px}.icon-button{min-width:36px;min-height:36px;color:var(--green);background:0 0;border-radius:8px;justify-content:center;align-items:center;display:flex}.icon-button:hover{background:var(--raised)}.danger-icon{color:var(--danger)}.danger-icon:hover{color:var(--danger);background:var(--danger-surface)}.page-footer{color:var(--subtle);justify-content:space-between;align-items:center;padding:27px 0 30px;font-size:11px;display:flex}.page-footer>span:first-child{font-weight:500}.page-footer>span>span{color:var(--subtle);margin-left:8px;font-size:9px;font-weight:400}.page-footer>span:last-child{color:var(--subtle);align-items:center;gap:6px;font-size:9px;display:flex}.dialog-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:50;background:#0009;justify-content:center;align-items:center;padding:24px;animation:.15s ease-out fade-in;display:flex;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.dialog{background:var(--paper);border-radius:19px;flex-direction:column;width:690px;min-width:0;max-width:100%;min-height:0;max-height:calc(100dvh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 90px #0003}.dialog-header{border-bottom:1px solid var(--line);background:var(--paper);flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:27px 31px 23px;display:flex}.dialog-header>div{overflow-wrap:anywhere;min-width:0}.dialog-header h2{letter-spacing:-.6px;margin-top:7px;font:400 29px/1.25 Georgia,Times New Roman,serif}.dialog-header p{color:var(--muted);margin-top:10px;font-size:11px}.close-button{flex-shrink:0;margin-top:1px;margin-right:-8px}.entry-form{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex}.form-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;scrollbar-gutter:stable;flex:auto;min-width:0;min-height:0;padding:24px 31px;scroll-padding-block:20px;overflow-y:auto}fieldset{border:0;min-width:0;margin:0;padding:0}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.form-section>.field+.field{margin-top:17px}.field>span{color:var(--text);flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;font-weight:500;display:flex}.field em{color:var(--subtle);font-size:10px;font-style:normal;font-weight:400}.field input,.field textarea{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:100%;min-width:0;max-width:100%;min-height:45px;padding:12px 11px;font-size:14px;display:block;box-shadow:0 1px 2px #0003}.field input:is([type=date],[type=time],[type=datetime-local]){appearance:none;text-align:left;inline-size:100%;min-inline-size:0;max-inline-size:100%}.field input::-webkit-date-and-time-value{text-align:left;min-height:1.5em}.field input::-webkit-datetime-edit{min-width:0;padding:0}.field input::placeholder,.field textarea::placeholder{color:var(--muted);font-size:12px}.field input:focus,.field textarea:focus{border-color:var(--green)}.field input:disabled{background:var(--surface);color:var(--muted);opacity:1}.field small{color:var(--subtle);overflow-wrap:anywhere;font-size:10px;line-height:1.6}.date-field{max-width:100%}.date-field input{max-width:230px}.form-section{border-top:1px solid var(--line);margin-top:25px;padding-top:24px}fieldset>.form-section:first-child{border-top:0;margin-top:0;padding-top:0}.form-section h3{letter-spacing:-.3px;color:var(--text);align-items:center;gap:9px;margin-bottom:18px;font-size:15px;font-weight:500;display:flex}.form-section h3 svg{color:var(--green)}.field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;min-width:0;display:grid}.duration-preview{background:var(--green-soft);color:var(--green);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:12px 0 19px;padding:13px 15px;font-size:11px;display:flex}.duration-preview>span{align-items:center;gap:8px;display:flex}.duration-preview strong{color:var(--green);font-size:12px;font-weight:500}.wellbeing-field{margin-top:25px;margin-bottom:22px}.wellbeing-field>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:13px;display:flex}.wellbeing-field label{color:var(--text);font-size:11px;font-weight:500}.wellbeing-field>div>span{color:var(--green);align-items:center;gap:5px;display:flex}.wellbeing-field strong{color:var(--green);font-size:19px;font-weight:500}.wellbeing-field small{color:var(--subtle);font-size:11px}.wellbeing-field input[type=range]{width:100%;accent-color:var(--green);cursor:pointer;height:22px;margin:0}.range-labels{color:var(--subtle);justify-content:space-between;margin-top:6px;font-size:9px;display:flex}.toggle-row{text-align:left;border-top:1px solid var(--line);background:0 0;align-items:center;gap:12px;width:100%;min-height:65px;padding:12px 0;display:flex}.toggle-icon{color:var(--green);justify-content:center;align-items:center;width:33px;display:flex}.toggle-label{overflow-wrap:anywhere;flex:1;min-width:0}.toggle-label strong{color:var(--text);font-size:11px;font-weight:500;display:block}.toggle-label small{color:var(--subtle);margin-top:5px;font-size:9px;display:block}.switch{background:var(--line);border-radius:14px;flex-shrink:0;align-items:center;width:36px;height:22px;padding:3px;transition:background .15s;display:flex}.switch>span{background:var(--text);border-radius:50%;width:16px;height:16px;transition:transform .15s;box-shadow:0 1px 3px #0003}.switch.on{background:var(--green)}.switch.on>span{background:var(--ink);transform:translate(14px)}.section-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.section-title-row h3{margin-bottom:0}.small-total{color:var(--green);font-size:10px}.field-hint{color:var(--subtle);margin:9px 0 14px;font-size:10px;line-height:1.7}.form-section>h3+.field-hint{margin-top:-9px}.preset-row{flex-wrap:wrap;gap:7px;display:flex}.preset{border:1px solid var(--line);background:var(--paper);min-height:34px;color:var(--text);overflow-wrap:anywhere;border-radius:6px;align-items:center;gap:4px;min-width:0;max-width:100%;padding:9px 10px;font-size:10px;display:flex}.preset:hover{background:var(--raised)}.preset-hint{color:var(--subtle);margin:9px 0 15px;font-size:9px;line-height:1.6}.repeater-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:0;margin:12px 0;padding:14px}.repeater-header{color:var(--green);justify-content:space-between;align-items:center;margin:-5px -4px 10px 0;font-size:10px;font-weight:500;display:flex}.repeater-header .icon-button{min-width:30px;min-height:30px}.repeater-card .field-grid{margin-top:12px}.repeater-card .field-grid:first-of-type{margin-top:0}.add-row{border:1px dashed var(--line);width:100%;min-height:42px;color:var(--green);background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:7px;margin-top:12px;font-size:11px;display:flex}.add-row:hover{background:var(--raised)}.field textarea{resize:vertical;min-height:100px;line-height:1.7}.notes-section{margin-bottom:6px}.dialog-footer{background:var(--paper);border-top:1px solid var(--line);flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:11px;min-width:0;padding:17px 31px;display:flex}.dialog-footer .button{min-height:44px;font-size:12px}.error-message{background:var(--danger-surface);color:var(--danger);border:1px solid var(--danger-line);overflow-wrap:anywhere;border-radius:9px;margin-bottom:20px;padding:13px 15px;font-size:12px;line-height:1.7}.dialog-small{width:440px}.dialog-small .dialog-header{border-bottom:0;padding-bottom:10px}.confirm-content{overscroll-behavior:contain;min-width:0;min-height:0;padding:7px 31px 27px;overflow-y:auto}.confirm-content>p{color:var(--muted);font-size:12px;line-height:1.9}.confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.toast{z-index:100;background:var(--green);color:var(--ink);border-radius:11px;align-items:center;gap:11px;max-width:calc(100% - 32px);padding:14px 15px;font-size:12px;line-height:1.6;animation:.2s ease-out fade-in;display:flex;position:fixed;bottom:27px;left:50%;transform:translate(-50%);box-shadow:0 5px 25px #0003}.toast-error{background:var(--danger-surface);color:var(--danger)}.toast>button{color:var(--text);background:0 0;justify-content:center;align-items:center;min-width:26px;min-height:26px;margin-left:5px;display:flex}.toast>span{overflow-wrap:anywhere}@media (width>=1700px){.main-content{max-width:1370px;margin-left:auto;margin-right:auto;transform:translate(100px)}.sidebar{width:252px;padding-left:32px;padding-right:32px}}@media (width<=1250px){.sidebar{width:205px;padding-left:18px;padding-right:18px}.main-content{margin-left:205px;padding:0 30px}.page-header h1{font-size:37px}.header-actions .button{padding:11px 13px;font-size:10px}.stat-card{min-height:161px;padding:17px}.stat-value{font-size:26px}.middle-grid{grid-template-columns:minmax(0,1.8fr) minmax(210px,1fr);gap:16px}.reflection-card{padding:27px 21px 22px}.reflection-moon{right:-40px}.history-summary{grid-template-columns:34px minmax(110px,1fr) 115px 78px 76px 16px;gap:9px;padding:18px 17px}.history-table-head{grid-template-columns:minmax(0,1fr) 115px 78px 101px;gap:9px;padding-left:20px;padding-right:17px}.history-date>small>span{margin-top:3px;display:block}.search-field{width:145px}.history-heading{gap:12px}.history-filters{gap:6px}.search-field,.month-select{padding:0 9px}.history-heading h2{font-size:17px}.history-details{padding-left:60px}}@media (width<=1000px){.sidebar{width:184px;padding-left:13px;padding-right:13px}.brand{margin-left:8px;font-size:31px}.brand-icon{border-radius:12px;width:38px;height:38px}.brand-subtitle{margin-left:8px;font-size:10px}.nav-item{gap:9px;padding-left:10px;font-size:11px}.nav-label{letter-spacing:1px;font-size:8px}.main-content{margin-left:184px;padding:0 24px}.topline{letter-spacing:.8px;font-size:8px}.today-date{font-size:9px}.page-header{flex-wrap:wrap;margin-top:30px;margin-bottom:28px}.header-actions{width:100%}.page-header h1{font-size:39px}.header-actions .primary{margin-left:auto}.middle-grid{grid-template-columns:1fr}.reflection-card{display:none}.stat-card{min-height:155px;padding:15px}.stat-top{font-size:10px}.stat-icon{border-radius:8px;width:28px;height:28px}.stat-icon svg{width:16px}.stat-value{margin-top:15px;font-size:23px}.stat-value small{font-size:13px}.stat-card p{font-size:8px}.stat-decoration{opacity:.4;right:10px}.history-heading{flex-wrap:wrap}.history-filters{width:100%}.search-field{flex:1}.history-summary{grid-template-columns:34px minmax(105px,1fr) 112px 65px 64px 14px;gap:8px;font-size:11px}.history-table-head{grid-template-columns:minmax(0,1fr) 112px 65px 86px;gap:8px;font-size:7px}.history-duration,.history-date>strong{font-size:11px}.history-year{display:none}.history-caffeine,.wellbeing-badge{font-size:10px}.history-caffeine svg,.wellbeing-badge svg{width:13px}.wellbeing-badge small{font-size:8px}.history-date>small{font-size:9px}.history-section{margin-top:29px}.card-heading h2{font-size:18px}}@media (width<=760px){.sidebar{display:none}.main-content{margin-left:0;padding:0 25px}.topline{height:53px}.page-header{flex-wrap:nowrap;margin:28px 0}.header-actions{width:auto}.header-actions .primary{margin-left:0}.page-header h1{font-size:35px}.page-header p{font-size:11px}.header-actions .button{font-size:10px}.header-actions .export-button{padding:10px}.export-button>span{display:none}.stat-value{font-size:27px}.stat-card{min-height:160px;padding:19px}.stat-top{font-size:11px}.stat-icon{width:30px;height:30px}.stat-card p{font-size:9px}.history-heading{flex-wrap:nowrap}.history-filters{width:auto}.search-field{flex:none;width:150px}.history-heading p{font-size:9px}.history-summary{grid-template-columns:36px minmax(110px,1fr) 120px 77px 73px 16px;gap:8px}.history-table-head{grid-template-columns:minmax(0,1fr) 120px 77px 97px}.history-duration,.history-date>strong{font-size:12px}.history-date>small>span{display:inline}.history-caffeine,.wellbeing-badge{font-size:11px}.history-caffeine svg,.wellbeing-badge svg{width:15px}.chart{height:174px}}@media (width<=640px){.main-content{padding:0 18px}.topline{border-bottom:0;justify-content:center;height:39px}.topline>span:first-child{letter-spacing:1.15px;font-size:12px}.today-date{display:none}.page-header{align-items:center;gap:10px;margin:10px 0 27px}.mobile-brand{letter-spacing:-.5px;color:var(--green);align-items:center;gap:5px;margin-bottom:14px;font-size:13px;font-weight:500;display:flex}.mobile-brand svg{width:16px}.page-header h1{letter-spacing:-1.1px;font-size:35px}.page-header p{letter-spacing:-.1px;margin-top:9px;font-size:12px}.header-actions{align-self:center;margin-top:20px}.header-actions .button{background:var(--raised);border-radius:9px;width:39px;height:39px;min-height:39px;padding:0}.header-actions .desktop-add{display:none}.overview-caption{margin-bottom:12px}.overview-caption h2,.overview-caption>span{font-size:12px}.stat-grid{gap:8px}.stat-card{border-radius:11px;min-height:141px;padding:12px 11px 13px}.stat-top{white-space:normal;flex-direction:column-reverse;align-items:flex-start;gap:11px;font-size:12px;line-height:1.4;display:flex}.stat-icon{border-radius:8px;width:28px;height:28px}.stat-icon svg{width:16px}.stat-value{letter-spacing:-.8px;margin-top:10px;font-size:21px}.stat-value small{font-size:12px}.stat-card p{letter-spacing:-.15px;max-width:82px;margin-top:7px;font-size:12px;line-height:1.6}.stat-decoration,.stat-orbit{display:none}.wellbeing-dots{gap:2px;margin-top:9px}.wellbeing-dots i{height:3px}.middle-grid{gap:0;margin-top:18px}.week-card{border-radius:11px;padding:20px 16px 17px}.eyebrow{letter-spacing:1.5px;font-size:12px}.card-heading{align-items:center;gap:5px}.card-heading h2{margin-top:7px;font-size:17px}.chart-range{margin-top:13px;font-size:12px}.chart{height:161px;margin-top:24px}.chart-scale{width:24px;padding-bottom:39px;font-size:12px}.bar-space{height:120px}.bar{max-width:27px}.bar-empty{width:19px}.day-name{margin-top:11px;font-size:12px}.day-number{font-size:12px}.chart-legend{gap:5px;margin-top:9px;font-size:12px}.history-section{margin-top:27px;scroll-margin-top:15px}.history-heading{margin-bottom:14px;display:block}.history-heading h2{font-size:19px}.history-heading p{margin-top:7px;font-size:12px}.history-filters{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:18px;display:grid}.search-field{width:auto;min-height:40px}.search-field input{font-size:16px}.month-select{min-height:40px}.month-select select{min-width:73px;max-width:128px;padding:11px 0;font-size:16px}.search-field>svg,.month-select>svg{width:15px}.history-list{border-radius:11px}.empty-state{min-height:249px;padding:28px 12px 29px}.empty-state h3{font-size:15px}.empty-state p{font-size:12px}.empty-state .button{min-height:40px;font-size:12px}.empty-icon{border-radius:17px;width:53px;height:53px;margin-bottom:16px}.empty-icon>svg{width:27px}.history-table-head{display:none}.history-summary{grid-template-rows:auto auto;grid-template-columns:33px minmax(0,1fr) auto 14px;gap:8px 10px;padding:17px 14px}.history-moon{grid-area:1/1/3;width:32px;height:35px}.history-moon>svg{width:18px}.history-date{grid-area:1/2}.history-date>strong{font-size:12px}.history-date>small{margin-top:5px;font-size:12px;line-height:1.5}.history-date>small>span{margin-top:1px;font-size:12px;display:block}.history-duration{text-align:right;grid-area:1/3;align-self:start;margin-top:1px;font-size:12px}.history-caffeine{grid-area:2/2;gap:4px;font-size:12px}.history-caffeine svg{width:12px;height:12px}.history-caffeine small{font-size:12px}.wellbeing-badge{grid-area:2/3;justify-content:flex-end;font-size:12px}.wellbeing-badge svg{width:13px;height:13px}.wellbeing-badge small{font-size:12px}.row-chevron{grid-area:1/4/3;width:13px}.history-details{padding:0 15px 18px}.detail-chips{gap:6px;padding-top:13px}.detail-chips>span{padding:6px 8px;font-size:12px}.detail-chips>span svg{width:12px}.detail-group p{font-size:12px;line-height:1.6}.entry-notes{font-size:12px}.page-footer{align-items:flex-start;gap:10px;padding:22px 0 113px}.page-footer>span>span{margin:5px 0 0;font-size:12px;line-height:1.6;display:block}.page-footer>span:last-child{margin-top:1px;font-size:12px}.mobile-bottom{padding:12px 18px calc(12px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);z-index:20;background:#333333f2;display:block;position:fixed;bottom:0;left:0;right:0}.mobile-bottom .button{border-radius:10px;width:100%;min-height:48px;font-size:13px}.dialog-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;top:var(--dialog-viewport-top,0px);height:var(--dialog-viewport-height,100dvh);align-items:flex-end;padding:0;bottom:auto}.dialog{width:100%;height:100%;max-height:100%;padding-top:env(safe-area-inset-top);border-radius:0}.dialog-header{padding:21px 20px 19px}.dialog-header h2{margin-top:7px;font-size:27px}.dialog-header p{margin-top:9px;font-size:12px;line-height:1.7}.dialog-header .eyebrow{font-size:12px}.close-button{min-width:40px;min-height:40px;margin-right:-7px}.entry-form{flex:1}.form-scroll{flex:1;min-height:0;max-height:none;padding:20px}.field input,.field textarea{min-height:48px;padding:12px 10px;font-size:16px}.field input[type=datetime-local]{width:100%;min-width:0;font-size:16px}.field input::placeholder,.field textarea::placeholder{font-size:16px}.field>span{gap:5px;font-size:12px}.field small{font-size:12px}.field-grid{gap:10px}.secondary-fields{grid-template-columns:1fr}.secondary-fields .field input[type=datetime-local]{font-size:16px}.field em{font-size:12px}.form-section{margin-top:23px;padding-top:22px}.form-section h3{margin-bottom:17px;font-size:14px}.form-section h3 svg{width:18px}.duration-preview{margin-bottom:19px;padding:13px 11px;font-size:12px}.duration-preview strong,.wellbeing-field label{font-size:12px}.wellbeing-field{margin-top:23px;margin-bottom:20px}.wellbeing-field input[type=range]{height:28px}.toggle-row{min-height:67px}.toggle-label strong,.toggle-label small{font-size:12px}.switch{width:40px;height:24px}.switch>span{width:18px;height:18px}.switch.on>span{background:var(--ink);transform:translate(16px)}.preset{min-height:38px;padding:10px;font-size:12px}.preset-hint,.field-hint{font-size:12px}.repeater-card{padding:13px 11px}.repeater-card .field-grid{grid-template-columns:1fr}.repeater-card .field input[type=datetime-local]{font-size:16px}.add-row{min-height:46px;font-size:12px}.dialog-footer{padding:13px 20px calc(13px + env(safe-area-inset-bottom));gap:10px}.dialog-footer .button{min-height:47px;font-size:12px}.dialog-footer .primary{flex:1}.dialog-footer .secondary{min-width:80px}.notes-section{margin-bottom:4px}.field textarea{font-size:16px}.dialog-small{width:100%;height:auto;max-height:90%;padding-bottom:env(safe-area-inset-bottom);border-radius:19px 19px 0 0}.dialog-small .dialog-header{padding:24px 23px 13px}.confirm-content{padding:2px 23px 25px}.confirm-content>p{font-size:12px}.confirm-actions .button{min-height:44px;font-size:12px}.toast{bottom:calc(87px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100% - 28px);padding:12px 13px;font-size:12px}.error-message{font-size:12px}.date-field input{max-width:100%}.search-field input:focus{font-size:16px}.quick-actions{grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:24px}.quick-actions .button{text-align:left;justify-content:flex-start;min-height:48px;padding-inline:15px}.daytime-section{margin:24px 0;padding:18px 16px}.daytime-item{flex-direction:column;align-items:flex-start;gap:12px}.daytime-item .activity-actions{width:100%}.daytime-item .activity-actions .button{flex:110px}.daytime-item>div:first-child{flex-basis:auto;width:100%}.saved-drinks .daytime-item{flex-direction:row}}@media (width<=420px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card:last-child{grid-column:1/-1}}@media (width<=370px){.main-content{padding:0 13px}.stat-card{padding:11px 9px}.stat-value{font-size:18px}.stat-value small,.stat-top{font-size:12px}.page-header h1{font-size:32px}.chart-range,.chart-legend{font-size:12px}.month-select select{max-width:105px}.field-grid{grid-template-columns:1fr}.field input[type=datetime-local]{font-size:16px}.overview-caption h2{font-size:12px}.history-summary{gap:8px;padding:16px 11px}.history-duration,.history-date>strong{font-size:12px}}.pwa-install-button,.pwa-ios-install summary{color:var(--green);cursor:pointer;background:0 0;align-items:center;gap:7px;min-height:44px;padding:8px 0;font-size:12px;line-height:1.5;display:flex}.page-footer{flex-wrap:wrap;gap:12px 20px}.pwa-ios-install{max-width:340px}.pwa-ios-install summary{list-style:none}.pwa-ios-install summary::-webkit-details-marker{display:none}.pwa-ios-install p{color:var(--muted);padding:0 0 8px;font-size:12px;line-height:1.8}.pwa-update{left:50%;bottom:max(24px, env(safe-area-inset-bottom));z-index:60;border:1px solid var(--green-muted);background:var(--surface);border-radius:16px;align-items:center;gap:14px;width:min(600px,100% - 32px);padding:18px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 36px #0006}.pwa-update>svg{color:var(--green)}.pwa-update>div{flex:1}.pwa-update strong{font-size:13px}.pwa-update p{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6}.pwa-update>.icon-button{flex-shrink:0;min-width:44px;min-height:44px}@media (width<=640px){.pwa-update{bottom:calc(90px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:10px}.pwa-update>div{flex-basis:calc(100% - 44px)}.pwa-update>.button{flex:1}}@media (display-mode:standalone){.app-shell{padding-top:env(safe-area-inset-top)}.auth-page{padding-top:max(24px, env(safe-area-inset-top));padding-bottom:max(24px, env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (width<=640px){.field-grid{grid-template-columns:1fr}.field input[type=datetime-local]{font-size:16px}.field>span,.field small,.field-hint{font-size:12px}.toggle-label strong{font-size:13px}.toggle-label small,.wellbeing-field label,.range-labels,.preset-hint{font-size:12px}.preset{min-height:42px;font-size:12px}.form-section h3{font-size:16px}.small-total{font-size:12px}.stat-card:first-child .stat-value{white-space:normal;font-size:18px;line-height:1.4}.overview-caption h2,.overview-caption>span{font-size:12px}.stat-top{font-size:12px;line-height:1.4}.stat-card p,.chart-range,.chart-legend,.chart-scale,.day-name,.day-number,.history-date>strong,.history-date>small,.history-date>small>span,.history-caffeine{font-size:12px}.history-duration{font-size:13px}.empty-state p,.empty-state .button{font-size:12px}.month-select select{font-size:16px}.history-heading p,.page-header p,.dialog-header p,.add-row{font-size:12px}}.account-menu{letter-spacing:0;justify-content:flex-end;align-items:center;gap:12px;min-width:0;display:flex}.account-name{text-overflow:ellipsis;white-space:nowrap;max-width:160px;color:var(--text);font-size:12px;overflow:hidden}.account-name svg{vertical-align:-3px;color:var(--green);margin-right:6px}.logout-button{border:1px solid var(--line);min-height:40px;color:var(--muted);background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:9px 11px;font-size:12px;display:inline-flex}.logout-button svg{color:var(--green)}.logout-button:hover:not(:disabled){background:var(--raised)}.mobile-account-row{align-items:center;gap:10px;display:flex}.auth-page{background:var(--canvas);place-items:center;min-height:100dvh;padding:40px 24px;display:grid}.auth-panel{border:1px solid var(--line);background:var(--paper);border-radius:22px;width:min(100%,440px);padding:38px;box-shadow:0 20px 70px #0000001a}.auth-brand{letter-spacing:-1.8px;align-items:center;width:max-content;margin-bottom:38px;font-size:35px;font-weight:600;display:flex}.auth-brand>svg{color:var(--green);margin-right:10px}.auth-eyebrow{color:var(--green);letter-spacing:1.5px;text-transform:uppercase;margin-bottom:12px;font-size:12px;font-weight:500}.auth-heading{letter-spacing:-.8px;font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:400;line-height:1.2}.auth-description{color:var(--muted);margin-top:13px;font-size:14px;line-height:1.7}.auth-form{gap:20px;margin-top:28px;display:grid}.auth-form .field>span{font-size:13px}.auth-form .field input{min-height:50px;font-size:16px}.auth-password-wrap{width:100%;display:flex;position:relative}.auth-password-wrap input{padding-right:50px}.password-toggle{width:44px;height:44px;color:var(--green);background:0 0;border-radius:7px;justify-content:center;align-items:center;display:flex;position:absolute;top:3px;right:3px}.password-toggle:hover{background:var(--raised)}.auth-error{border:1px solid var(--danger-line);background:var(--danger-surface);color:var(--danger);border-radius:9px;padding:12px 14px;font-size:13px;line-height:1.65}.auth-form .error-message{margin-bottom:0}.auth-submit{width:100%;min-height:50px;margin-top:2px;font-size:14px}.auth-panel>.auth-submit{margin-top:24px}.auth-footnote{color:var(--subtle);margin-top:24px;font-size:12px;line-height:1.75}.auth-footnote svg{vertical-align:-2px;color:var(--green);margin-right:6px}.auth-loading{color:var(--green);flex-direction:column;align-items:center;gap:16px;font-size:14px;display:flex}.auth-loading p{color:var(--muted)}@media (width<=760px){.topline{justify-content:space-between;gap:14px;height:auto;min-height:64px}.topline>span:first-child{letter-spacing:0;font-size:12px;line-height:1.5}.account-menu{gap:8px}.account-name{max-width:100px}.logout-button{min-width:44px;min-height:44px;padding:10px}.topline .today-date{display:none}}@media (width<=640px){.topline>span:first-child{display:none}.account-menu{justify-content:space-between;width:100%}.account-name{max-width:min(65%,220px)}.auth-page{padding:24px 18px}.auth-panel{border-radius:18px;padding:29px 24px}.auth-brand{margin-bottom:32px}.auth-heading{font-size:32px}.stat-card p{max-width:none}.overview-caption{align-items:flex-start;gap:12px}.overview-caption>span{text-align:right}.history-filters{grid-template-columns:minmax(0,1fr)}.month-select select{flex:1;width:100%;max-width:none}.search-field,.month-select{min-height:46px}.chart-legend{flex-wrap:wrap;line-height:1.5}.card-heading{flex-wrap:wrap;gap:0 12px}.chart-range{margin-top:8px}.stat-top{min-height:55px}.detail-actions{flex-wrap:wrap}}@media (width<=370px){.auth-panel{padding:26px 20px}}
