:root{color:#242829;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;--bg:#f5f5f7;--surface:#fff;--surface-2:#eeeef1;--text:#242829;--muted:#74797d;--line:#e7e8eb;--green:#276d53;--green-soft:#e8f0eb;--hero:#eaf1ed;--hero-text:#264d3d;--shadow:0 3px 14px #20293004;--nav:#ffffffc7;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f5f5f7;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;touch-action:manipulation;background:0 0;border:0}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:4px;outline:3px solid #3478f6}button,select,input{transition:background .15s,color .15s,box-shadow .15s,transform .15s}button:active:not(:disabled){transform:scale(.97)}h1,h2,h3,p{margin:0}h1{letter-spacing:-.055em;font-size:clamp(2rem,3.1vw,2.85rem);font-weight:680;line-height:1.12}h2{letter-spacing:-.025em;font-size:1.18rem;font-weight:650}h3{letter-spacing:-.02em;font-size:1.1rem;font-weight:620;line-height:1.4}.muted{color:var(--muted);font-size:1rem;line-height:1.65}.eyebrow{letter-spacing:.115em;color:var(--muted);font-size:.72rem;font-weight:650;line-height:1.6}.app-shell{min-height:100dvh;display:flex}.sidebar{border-right:1px solid var(--line);background:var(--surface);z-index:30;flex-direction:column;width:236px;padding:42px 21px 0;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.06em;align-items:center;gap:9px;font-size:2rem;font-weight:730;line-height:1;display:flex}.brand-period{color:#38936e;margin-left:-8px}.brand-button{padding:0 11px}.brand-mark{background:var(--green);color:#fff;border-radius:12px;place-items:center;width:35px;height:35px;display:grid}.sidebar-label{letter-spacing:.13em;color:var(--muted);margin:51px 15px 16px;font-size:.66rem;font-weight:600}.sidebar nav{flex-direction:column;gap:7px;display:flex}.nav-item{width:100%;color:var(--muted);text-align:left;border-radius:11px;align-items:center;gap:12px;padding:13px 16px;font-size:.94rem;font-weight:520;display:flex}.nav-item svg{flex-shrink:0}.nav-item:hover{background:var(--bg)}.nav-item.active{background:var(--green-soft);color:var(--green);font-weight:640}.sidebar-note{border-top:1px solid var(--line);color:var(--muted);margin:50px 13px 25px;padding-top:30px}.note-spark{color:#8aa192}.sidebar-note p{margin-top:12px;font-size:.81rem;line-height:1.8}.sidebar-note strong{color:var(--text);font-weight:500}.sidebar-bottom{margin-top:auto}.profile{border-top:1px solid var(--line);align-items:center;gap:10px;margin:20px -21px 0;padding:23px 17px;display:flex}.profile>div{flex:1;min-width:0}.profile strong{white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;display:block;overflow:hidden}.profile div>span{color:var(--muted);margin-top:5px;font-size:.67rem;display:block}.avatar{background:var(--green-soft);width:34px;height:34px;color:var(--green);border-radius:50%;flex-shrink:0;place-items:center;font-size:.9rem;font-weight:600;display:grid}.main{flex:1;min-width:0;max-width:1640px;margin-left:236px;padding:0 clamp(24px,4.4vw,76px)}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;height:102px;margin-bottom:43px;display:flex}.topbar>p{color:var(--muted);font-size:.83rem}.topbar-actions{align-items:center;gap:14px;display:flex}.sync-state{color:#81978a;align-items:center;gap:7px;font-size:.72rem;display:flex}.sync-state.offline{color:#b3853a}.page-heading{justify-content:space-between;align-items:center;gap:25px;margin-bottom:34px;display:flex}.page-heading h1{margin-top:8px}.page-heading .muted{margin-top:12px;font-size:.96rem}.primary,.secondary{white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:12px 18px;font-size:.85rem;font-weight:570;text-decoration:none;display:inline-flex}.primary{background:var(--green);color:#fff;box-shadow:0 2px 4px #153e1f0a}.primary:hover{background:#1c5c44}.secondary{background:var(--surface);color:var(--text);border:1px solid var(--line)}.secondary:hover{background:var(--surface-2)}.full{width:100%}.icon-button{width:36px;height:36px;color:var(--muted);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;display:inline-flex}.icon-button:hover{background:var(--surface-2);color:var(--text)}.today-hero{background:var(--hero);color:var(--hero-text);border-radius:21px;justify-content:space-between;align-items:center;gap:24px;min-height:232px;padding:34px 38px;display:flex;overflow:hidden}.hero-kicker{letter-spacing:.1em;color:var(--hero-text);align-items:center;gap:8px;font-size:.65rem;font-weight:650;display:flex}.tiny-sun{place-items:center;display:grid}.today-hero h2{letter-spacing:-.04em;margin-top:17px;font-size:clamp(1.3rem,2.2vw,1.8rem)}.today-hero p{opacity:.75;margin-top:10px;font-size:.87rem;line-height:1.6}.hero-chips{gap:20px;margin-top:26px;display:flex}.hero-chips>span{opacity:.83;align-items:center;gap:6px;font-size:.73rem;display:flex}.progress-ring{flex-shrink:0;width:160px;height:160px;position:relative}.progress-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.progress-ring circle{fill:none;stroke-width:10px}.ring-track{stroke:color-mix(in srgb, var(--green) 10%, transparent)}.ring-value{stroke:var(--green);stroke-linecap:round}.progress-ring>div{flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.progress-ring strong{letter-spacing:-.07em;font-size:2.8rem;font-weight:620}.progress-ring small{letter-spacing:0;margin-left:3px;font-size:1.3rem;font-weight:500}.progress-ring div>span{opacity:.75;margin-top:2px;font-size:.7rem}.section-heading{justify-content:space-between;align-items:center;gap:15px;min-height:24px;margin:34px 0 20px;display:flex}.section-heading>span{color:var(--muted);font-size:.76rem}.section-heading h2{align-items:center;gap:10px;display:flex}.week-strip{border:1px solid var(--line);background:var(--surface);border-radius:15px;align-items:center;gap:7px;margin-bottom:24px;padding:6px;display:flex}.week-strip>button{border-radius:10px;flex-direction:column;flex:1;align-items:center;gap:7px;min-height:79px;padding:10px 4px;display:flex}.week-strip>button:hover{background:var(--bg)}.week-strip>button.selected{background:var(--green-soft);color:var(--green)}.week-strip button>span:first-child{color:var(--muted);font-size:.71rem}.week-strip button strong{font-size:.94rem;font-weight:620}.week-dot{background:var(--green);border-radius:50%;width:4px;height:4px}.week-strip .back-today{flex:.8;justify-content:center;font-size:.7rem}.habit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.habit-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:17px;padding:23px 24px 18px;position:relative;overflow:hidden}.habit-card.done{background:color-mix(in srgb, var(--accent) 4%, var(--surface));border-color:color-mix(in srgb, var(--accent) 24%, var(--line))}.habit-card-top{align-items:center;gap:10px;margin-bottom:17px;display:flex}.habit-icon{background:color-mix(in srgb, var(--accent) 11%, var(--surface));width:43px;height:43px;color:var(--accent);border-radius:13px;flex-shrink:0;place-items:center;display:grid}.period-label{color:var(--muted);background:var(--bg);border-radius:6px;margin-left:auto;padding:5px 9px;font-size:.68rem}.card-edit{opacity:.6;width:27px;height:27px;padding:5px}.habit-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-top:8px;font-size:.75rem;display:flex}.streak{white-space:nowrap;color:var(--muted);align-items:center;gap:4px;font-size:.71rem;display:inline-flex}.streak svg{color:#d39a5a}.habit-card-controls{justify-content:space-between;align-items:center;min-height:38px;margin-top:24px;display:flex}.value-display{align-items:baseline;gap:7px;display:flex}.value-display strong{letter-spacing:-.05em;font-size:1.6rem;font-weight:640}.value-display span{color:var(--muted);font-size:.73rem}.stepper{gap:7px;display:flex}.stepper>button{background:var(--bg);width:34px;height:34px;color:var(--muted);border-radius:9px;place-items:center;display:grid}.stepper>button:last-child{background:color-mix(in srgb, var(--accent) 12%, var(--surface));color:var(--accent)}.habit-progress{background:var(--surface-2);border-radius:3px;height:4px;margin-top:17px;overflow:hidden}.habit-progress>span{background:var(--accent);border-radius:3px;height:100%;display:block}.check-button{width:100%;color:var(--muted);text-align:left;align-items:center;gap:10px;padding:0;font-size:.81rem;display:flex}.check-circle{border:1.5px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;width:29px;height:29px;display:grid}.checked{color:var(--accent)}.checked .check-circle{border-color:var(--accent);background:var(--accent);color:#fff}.timer-start{color:var(--muted);align-items:center;gap:6px;margin-top:13px;padding:4px 0;font-size:.7rem;display:flex}.timer-start:hover{color:var(--accent)}.gentle-footer{color:var(--muted);justify-content:center;align-items:center;gap:10px;margin:36px 0 10px;display:flex}.gentle-footer p{font-size:.71rem}.gentle-footer>span{background:var(--line);width:35px;height:1px}.main-footer{color:var(--muted);justify-content:space-between;gap:20px;margin:42px 0 28px;font-size:.68rem;display:flex}.mobile-nav,.mobile-brand,.mobile-settings{display:none}.empty-state{background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:22px;padding:65px 25px}.empty-symbol{background:var(--green-soft);width:78px;height:78px;color:var(--green);border-radius:24px;place-items:center;margin:0 auto 25px;display:grid}.empty-state h2{letter-spacing:-.045em;margin:12px 0;font-size:1.75rem}.empty-state>p:not(.eyebrow){color:var(--muted);font-size:.94rem;line-height:1.8}.empty-actions{justify-content:center;gap:12px;margin-top:28px;display:flex}.starter-preview{color:var(--muted);justify-content:center;align-items:center;gap:24px;margin-top:45px;display:flex}.starter-preview>span{align-items:center;gap:7px;font-size:.75rem;display:flex}.quiet-empty{text-align:center;color:var(--muted);padding:50px 20px}.quiet-empty h3{color:var(--text);margin:16px 0 8px}.quiet-empty p{font-size:.9rem}.count-badge{background:var(--surface-2);color:var(--muted);border-radius:6px;padding:3px 7px;font-size:.72rem}.habit-list{border:1px solid var(--line);background:var(--surface);border-radius:17px;overflow:hidden}.habit-row{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding:23px;display:flex}.habit-row:last-child{border:0}.habit-row-name{flex:1;min-width:0}.habit-row-name strong{font-size:.9rem;font-weight:590;display:block}.habit-row-name>span{color:var(--muted);margin-top:6px;font-size:.73rem;line-height:1.6;display:block}.mini-heatmap{grid-template-columns:repeat(10,7px);gap:3px;display:grid}.mini-heatmap>span{background:var(--surface-2);border-radius:2px;height:7px}.row-actions{gap:2px;display:flex}.archived{opacity:.7}.panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:18px;margin:24px 0;padding:27px}.panel>.section-heading:first-child{margin-top:0}.year-controls{align-items:center;gap:12px;display:flex}.year-controls h2{text-align:center;min-width:55px;font-size:1.45rem}.year-scroll{padding-bottom:5px;overflow-x:auto}.year-wall{min-width:570px;padding:10px 0}.year-numbers,.month-row{grid-template-columns:43px repeat(31,minmax(9px,1fr));align-items:center;gap:5px;margin:6px 0;display:grid}.year-numbers{margin-bottom:13px}.year-numbers>span{color:var(--muted);text-align:center;font-size:.6rem}.month-name{color:var(--muted);font-size:.7rem}.year-cell{aspect-ratio:1;background:var(--surface-2);border-radius:3px;padding:0}.year-cell:hover{outline:2px solid var(--green);outline-offset:1px}.year-cell.future{opacity:.35}.invisible{visibility:hidden}.heatmap-caption{color:var(--muted);justify-content:space-between;gap:20px;margin-top:19px;font-size:.67rem;display:flex}.heatmap-caption>div{align-items:center;gap:4px;display:flex}.heatmap-caption>div>span{background:var(--surface-2);border-radius:2px;width:11px;height:11px}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0;display:grid}.stat-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:25px 23px}.stat-card>span{color:var(--muted);font-size:.78rem;display:block}.stat-card>strong{letter-spacing:-.055em;margin:15px 0 9px;font-size:2.1rem;font-weight:620;display:block}.stat-card>p{color:var(--muted);font-size:.69rem;line-height:1.6}.month-stats{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;padding-top:10px;display:grid}.month-stats>div{flex-direction:column;align-items:center;gap:12px;display:flex}.month-stats>div>span{color:var(--muted);font-size:.68rem}.month-stats strong{color:var(--muted);font-size:.65rem;font-weight:500}.month-bar{background:var(--bg);border-radius:5px;align-items:flex-end;width:100%;max-width:26px;height:110px;display:flex;overflow:hidden}.month-bar>span{background:var(--green);border-radius:5px;width:100%;min-height:0;display:block}.period-control{max-width:320px;margin:15px 0 26px}.segmented{background:var(--surface-2);border-radius:10px;gap:2px;padding:4px;display:flex}.segmented>button{color:var(--muted);border-radius:7px;flex:1;padding:9px 12px;font-size:.78rem;font-weight:550}.segmented>button.selected{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #00000010}.trend-chart{border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), var(--line) 25%);align-items:stretch;gap:clamp(1px,.5vw,7px);height:190px;padding-top:15px;display:flex}.trend-column{flex:1;align-items:flex-end;min-width:0;display:flex}.trend-column>span{background:var(--green);opacity:.75;border-radius:3px 3px 0 0;width:100%;min-height:2px;display:block}.trend-column:hover>span{opacity:1}.chart-axis{color:var(--muted);justify-content:space-between;margin-top:11px;font-size:.69rem;display:flex}.insights-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.insights-grid>.panel{margin-top:0}.weekday-chart{justify-content:space-between;gap:13px;margin-top:35px;display:flex}.weekday-chart>div{flex-direction:column;flex:1;align-items:center;gap:12px;display:flex}.weekday-chart strong{color:var(--muted);font-size:.63rem;font-weight:500}.weekday-chart>div>div{background:var(--bg);border-radius:5px;align-items:flex-end;width:100%;max-width:26px;height:140px;display:flex;overflow:hidden}.weekday-chart>div>div>span{background:#98b7a6;border-radius:5px;width:100%;display:block}.weekday-chart>div>span{color:var(--muted);font-size:.68rem}.habit-ranking{align-items:center;gap:11px;margin:24px 0;display:flex}.habit-ranking .habit-icon{border-radius:10px;width:33px;height:33px}.habit-ranking>div{flex:1;min-width:0}.habit-ranking strong{white-space:nowrap;text-overflow:ellipsis;font-size:.76rem;font-weight:550;display:block;overflow:hidden}.habit-ranking>span:last-child{color:var(--muted);font-size:.69rem}.ranking-track{background:var(--bg);border-radius:3px;height:4px;margin-top:9px;overflow:hidden}.ranking-track>span{height:100%;display:block}.settings-stack{max-width:800px}.settings-stack .panel{padding:28px 30px}.settings-stack .panel>.muted{margin-bottom:20px;font-size:.86rem}form{flex-direction:column;gap:20px;display:flex}label{color:var(--text);flex-direction:column;gap:8px;font-size:.8rem;font-weight:550;line-height:1.4;display:flex}input:not([type=checkbox]),select{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--text);border-radius:9px;width:100%;min-width:0;padding:10px 12px;font-size:.88rem}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none' stroke='%2374797d' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:35px}.page-heading>select{width:auto;max-width:230px;font-size:.8rem}.form-columns{grid-template-columns:1fr 1fr;gap:18px;display:grid}.field-help{color:var(--muted);margin-top:10px;font-size:.74rem;line-height:1.7}.form-end{justify-content:flex-end;margin-top:5px;display:flex}.settings-divider{background:var(--line);height:1px;margin:8px 0}.toggle-label{flex-direction:row;align-items:center;gap:12px;display:flex}.toggle-label input{width:19px;height:19px;accent-color:var(--green)}.button-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.file-button{cursor:pointer;flex-direction:row;position:relative}.file-button>input{opacity:0;height:1px;position:absolute;width:1px!important;min-height:0!important;padding:0!important}.file-button:focus-within{outline-offset:4px;outline:3px solid #3478f6}.account-list{flex-direction:column;gap:15px;margin:20px 0 28px;display:flex}.account-list>div{align-items:center;gap:12px;display:flex}.account-list strong{font-size:.84rem;font-weight:550}.account-list>div>span:last-child{color:var(--muted);margin-left:auto;font-size:.72rem}.logout-button{color:var(--muted);align-items:center;gap:10px;padding:15px 5px;font-size:.83rem;display:flex}.logout-button:hover{color:#c05858}dialog{border:1px solid var(--line);background:var(--surface);width:calc(100% - 32px);max-width:540px;max-height:90dvh;color:var(--text);overscroll-behavior:contain;border-radius:22px;padding:26px;box-shadow:0 35px 100px #0003}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1a252a50}.modal-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px;display:flex}.modal-header h2{font-size:1.25rem}.form-preview{background:var(--bg);border-radius:14px;align-items:center;gap:12px;padding:17px;font-size:.9rem;font-weight:550;display:flex}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:10px;padding:0;font-size:.8rem;font-weight:550}.habit-form{gap:22px}.habit-form .field-help{margin-top:-12px}.day-picker{gap:7px;display:flex}.day-picker>button{background:var(--bg);border-radius:9px;flex:1;min-height:39px;font-size:.76rem}.day-picker>button.selected{background:var(--green-soft);color:var(--green)}.appearance-picker{flex-direction:column;gap:15px;display:flex}.color-picker,.icon-picker{flex-wrap:wrap;gap:9px;display:flex}.color-picker button{color:#fff;border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.icon-picker button{border:1px solid var(--line);width:37px;height:37px;color:var(--muted);border-radius:9px;place-items:center;display:grid}.icon-picker button.selected{border-color:var(--green);color:var(--green);background:var(--green-soft)}.modal-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:10px;padding-top:22px;display:flex}.toast{background:var(--text);width:max-content;max-width:min(620px,100vw - 32px);color:var(--surface);z-index:100;border-radius:13px;align-items:center;gap:12px;padding:15px 20px;font-size:.85rem;line-height:1.5;display:flex;position:fixed;bottom:30px;left:calc(50% + 100px);transform:translate(-50%);box-shadow:0 8px 40px #0002}.toast .icon-button{color:inherit}.focus-timer{border:1px solid var(--line);background:var(--surface);z-index:60;border-radius:17px;align-items:center;gap:15px;max-width:calc(100vw - 32px);padding:17px 20px;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 10px 60px #0002}.focus-icon{color:var(--green)}.focus-timer>div{flex-direction:column;gap:6px;display:flex}.focus-timer strong{font-size:.83rem}.focus-timer>div>span{color:var(--muted);font-size:.68rem}.focus-timer output{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:1.45rem}.login-page{background:var(--surface);grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.login-card{flex-direction:column;justify-content:center;max-width:720px;padding:70px clamp(30px,7vw,110px);display:flex}.login-card .brand{margin-bottom:65px}.login-card h1{letter-spacing:-.05em;margin:13px 0 17px;font-size:clamp(2rem,3.3vw,3.1rem);line-height:1.18}.login-card>.muted{margin-bottom:37px;font-size:.94rem}.login-card form{max-width:370px}.footnote{color:var(--muted);max-width:340px;margin-top:25px;font-size:.72rem;line-height:1.7}.login-art{background:#e1ece5;place-items:center;display:grid;position:relative;overflow:hidden}.login-art>span{color:#fff;z-index:2;background:#306b50;border-radius:39px;place-items:center;width:128px;height:128px;display:grid;transform:rotate(-10deg);box-shadow:0 25px 65px #31574025}.login-art>span svg{transform:rotate(10deg)}.orbit{border:1px solid #86a49250;border-radius:50%;width:360px;height:360px;position:absolute}.orbit-two{width:590px;height:590px}.orbit-three{width:830px;height:830px}.orbit-one:after,.orbit-two:after,.orbit-three:after{content:"";background:#8faf9c;border-radius:50%;width:13px;height:13px;position:absolute;top:15%;left:15%}.orbit-two:after{background:#c0cdb2;width:18px;height:18px;top:84%;left:84%}.orbit-three:after{background:#73a58c;top:50%;left:99%}.error{color:#bd4949;font-size:.82rem;line-height:1.5}.loading{min-height:100dvh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:20px;font-size:.9rem;display:flex}.loading .brand-mark{border-radius:18px;width:56px;height:56px}:root[data-theme=dark]{--bg:#151719;--surface:#1d2023;--surface-2:#2a2e31;--text:#e9edef;--muted:#a0a8ab;--line:#303539;--green:#80bfa0;--green-soft:#283d32;--hero:#263d31;--hero-text:#deeee3;--nav:#1d2023d9;color:var(--text);background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=dark] .primary{color:#fff;background:#568f70}:root[data-theme=dark] .login-art{background:#20372b}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#151719;--surface:#1d2023;--surface-2:#2a2e31;--text:#e9edef;--muted:#a0a8ab;--line:#303539;--green:#80bfa0;--green-soft:#283d32;--hero:#263d31;--hero-text:#deeee3;--nav:#1d2023d9;color:var(--text);background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root:not([data-theme=light]) .primary{color:#fff;background:#568f70}:root:not([data-theme=light]) .login-art{background:#20372b}}@media (width>=1600px){.main{margin-right:auto}.habit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=1150px){.sidebar{width:209px;padding-left:15px;padding-right:15px}.main{margin-left:209px;padding:0 30px}.profile{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:10px}.profile div>span{font-size:.62rem}.mini-heatmap{display:none}.habit-row{gap:11px;padding:19px}.today-hero{padding:30px}.hero-chips{flex-wrap:wrap;gap:12px}.hero-chips>span{font-size:.66rem}.progress-ring{width:140px;height:140px}.habit-card{padding:20px}.insights-grid{gap:16px}.panel{padding:22px}}@media (width<=850px){.sidebar{width:185px}.main{margin-left:185px;padding:0 24px}.sidebar-label{margin-top:38px}.profile{flex-wrap:wrap}.profile div>span{display:none}.profile .icon-button{width:26px;margin-left:auto}.page-heading{align-items:flex-start;gap:15px}.page-heading>.primary{margin-top:25px;padding:11px 13px;font-size:.75rem}.page-heading>.primary svg{width:16px}.today-hero{padding:27px 24px}.progress-ring{width:120px;height:120px}.progress-ring strong{font-size:2rem}.progress-ring small{font-size:1.1rem}.hero-chips>span:last-child{display:none}.habit-grid{gap:13px}.habit-card{padding:17px}.habit-meta{flex-wrap:wrap}.habit-card h3{font-size:1rem}.period-label{padding:4px 6px;font-size:.61rem}.habit-icon{border-radius:11px;width:37px;height:37px}.card-edit{display:none}.check-button{gap:7px;font-size:.72rem}.value-display{gap:5px}.value-display span{font-size:.64rem}.stepper{gap:4px}.stepper>button{width:29px;height:29px}.stats-grid{gap:11px}.stat-card{padding:20px 15px}.stat-card>span{font-size:.7rem}.stat-card>strong{font-size:1.8rem}.stat-card>p{font-size:.64rem}.insights-grid{grid-template-columns:1fr}.month-stats{gap:6px}.habit-row .streak{display:none}.row-actions{flex-direction:column}.row-actions .icon-button{width:29px;height:29px}.heatmap-caption{font-size:.6rem}.settings-stack .panel{padding:23px}.login-page{grid-template-columns:.7fr 1fr}.login-card{padding:50px 35px}.login-card .brand{margin-bottom:45px}}@media (width<=680px){.sidebar{display:none}.main{margin-left:0;padding:0 20px 85px}.topbar{gap:12px;height:76px;margin-bottom:30px}.topbar>p{display:none}.mobile-brand{letter-spacing:-.07em;color:var(--green);font-size:1.7rem;font-weight:730;display:block}.mobile-settings{display:inline-flex}.sync-state{font-size:.66rem}.topbar-actions{gap:10px}.page-heading{flex-wrap:wrap;align-items:center;margin-bottom:26px}.page-heading h1{font-size:2.15rem}.eyebrow{letter-spacing:.095em;font-size:.62rem}.page-heading .muted{margin-top:9px;font-size:.86rem}.page-heading>.primary{margin-top:0;padding:10px 12px;font-size:.75rem}.page-heading>.primary>span{display:none}.page-heading>select{max-width:180px;font-size:.73rem}.today-hero{border-radius:18px;gap:10px;min-height:200px;padding:26px 23px}.today-hero h2{max-width:220px;margin-top:15px;font-size:1.35rem;line-height:1.25}.today-hero p{max-width:195px;font-size:.76rem;line-height:1.6}.hero-kicker{letter-spacing:.07em;gap:6px;font-size:.55rem}.hero-kicker svg{width:14px}.hero-chips{margin-top:19px}.hero-chips>span{font-size:.64rem}.progress-ring{width:110px;height:110px}.progress-ring strong{font-size:2rem}.progress-ring div>span{font-size:.6rem}.section-heading{margin-top:28px;margin-bottom:16px}.section-heading h2{font-size:1.06rem}.section-heading>span{font-size:.66rem}.week-strip{gap:2px;margin-bottom:19px}.week-strip>button{gap:7px;min-height:72px;padding:9px 2px}.week-strip button>span:first-child{font-size:.63rem}.habit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.habit-card{border-radius:14px;padding:16px 14px}.habit-card-top{gap:4px;margin-bottom:13px}.period-label{font-size:.56rem}.habit-icon{border-radius:10px;width:34px;height:34px}.habit-icon svg{width:21px}.habit-card h3{min-height:2.5em;font-size:.93rem;line-height:1.35}.habit-meta{gap:6px;font-size:.65rem}.habit-meta .streak{font-size:.6rem}.habit-card-controls{flex-wrap:wrap;gap:8px;margin-top:17px}.value-display strong{font-size:1.35rem}.value-display{width:100%}.value-display span{font-size:.66rem}.stepper{margin-left:auto}.stepper>button{width:34px;height:34px}.check-button{flex-direction:column;align-items:flex-start;gap:8px;min-height:66px;font-size:.68rem;line-height:1.5}.check-circle{width:30px;height:30px}.habit-progress{margin-top:14px}.timer-start{gap:4px;font-size:.6rem;line-height:1.4}.gentle-footer{gap:7px;margin-top:28px}.gentle-footer p{font-size:.61rem}.gentle-footer>span{width:10px}.mobile-nav{border-top:1px solid var(--line);background:var(--nav);-webkit-backdrop-filter:blur(22px)saturate(1.6);backdrop-filter:blur(22px)saturate(1.6);padding:10px 8px calc(10px + env(safe-area-inset-bottom));z-index:50;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav>button{color:var(--muted);flex-direction:column;flex:1;align-items:center;gap:6px;min-height:40px;font-size:.6rem;display:flex}.mobile-nav>button.active{color:var(--green)}.main-footer{margin:30px 0 15px;font-size:.6rem}.empty-state{padding:42px 18px}.empty-state h2{font-size:1.45rem}.empty-state>p:not(.eyebrow){font-size:.82rem}.empty-actions{flex-direction:column;align-items:stretch;padding:0 15px}.starter-preview{flex-wrap:wrap;gap:13px;margin-top:30px}.starter-preview>span{gap:5px;font-size:.66rem}.starter-preview svg{width:15px}.habit-row{gap:12px;padding:18px 14px}.habit-row-name strong{font-size:.82rem}.habit-row-name>span{font-size:.63rem}.row-actions{flex-flow:wrap;gap:0;max-width:58px}.row-actions .icon-button{width:29px;height:32px}.habit-row .secondary{white-space:normal;max-width:105px;padding:8px;font-size:.65rem;line-height:1.5}.habit-row .secondary svg{display:none}.count-badge{font-size:.65rem}.panel{border-radius:15px;margin:19px 0;padding:21px 17px}.year-panel .section-heading{flex-wrap:wrap}.year-controls h2{font-size:1.3rem}.heatmap-caption{align-items:flex-start;gap:10px;line-height:1.5}.heatmap-caption>span{max-width:110px}.stats-grid{gap:9px;margin:19px 0}.stat-card{border-radius:13px;padding:18px 12px}.stat-card>span{min-height:2.8em;font-size:.65rem;line-height:1.5}.stat-card>strong{margin-top:10px;font-size:1.65rem}.stat-card>p{font-size:.59rem}.month-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:23px 7px}.month-bar{max-width:20px;height:75px}.month-stats>div>span,.month-stats strong{font-size:.62rem}.period-control{max-width:100%}.trend-chart{height:160px}.chart-axis{font-size:.62rem}.weekday-chart{gap:15px}.weekday-chart>div>div{height:110px}.settings-stack .panel{padding:23px 19px}.settings-stack .panel>.muted{font-size:.8rem}.form-columns{gap:15px}.settings-stack .form-columns{grid-template-columns:1fr}.settings-stack .section-heading>span{font-size:.65rem}.field-help{font-size:.7rem}.button-row{gap:10px}.button-row .primary,.button-row .secondary{font-size:.76rem}.account-list>div>span:last-child{font-size:.62rem}.toast{bottom:calc(87px + env(safe-area-inset-bottom));padding:13px 16px;font-size:.78rem;left:50%}.focus-timer{bottom:calc(84px + env(safe-area-inset-bottom));gap:10px;max-width:none;padding:13px;left:14px;right:14px}.focus-timer>div{flex:1;min-width:0}.focus-timer strong{text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.focus-timer>div>span{font-size:.59rem}.focus-timer output{font-size:1.2rem}.focus-icon{display:none}.focus-timer .primary{padding:8px;font-size:.65rem}.focus-timer .primary svg{display:none}dialog{border-radius:20px;max-height:92dvh;padding:23px 20px}dialog .modal-header h2{font-size:1.1rem}.habit-form{gap:20px}.modal-footer{gap:8px}.modal-footer .primary,.modal-footer .secondary{padding:11px 13px;font-size:.74rem}.login-page{background:var(--surface);display:block}.login-art{height:24dvh;min-height:150px;max-height:240px}.login-art>span{border-radius:23px;width:75px;height:75px}.login-art>span svg{width:30px}.orbit-one{width:200px;height:200px}.orbit-two{width:380px;height:380px}.orbit-three{width:550px;height:550px}.login-card{padding:30px 28px 50px}.login-card .brand{margin-bottom:35px;font-size:1.7rem}.login-card h1{font-size:2rem;line-height:1.2}.login-card>.muted{margin-bottom:26px;font-size:.85rem}.login-card form{max-width:none}.footnote{font-size:.68rem}.profile .icon-button{display:none}}@media (width<=365px){.main{padding-left:15px;padding-right:15px}.today-hero{padding:23px 18px}.progress-ring{width:90px;height:90px}.today-hero h2{font-size:1.15rem}.today-hero p{font-size:.7rem}.hero-kicker{font-size:.49rem}.habit-grid{grid-template-columns:1fr}.habit-card h3{min-height:0}.habit-card-top{margin-bottom:15px}.habit-card-controls{flex-wrap:nowrap}.value-display{width:auto}.check-button{flex-direction:row;align-items:center;min-height:34px}.habit-card{padding:20px}.card-edit{display:flex}.stats-grid{grid-template-columns:1fr}.stat-card>span{min-height:0}.stat-card{padding:20px}.form-columns{grid-template-columns:1fr}.day-picker{gap:4px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}label,legend{font-size:.875rem}.nav-item{font-size:.94rem}.primary,.secondary,.habit-meta,.value-display span,.check-button,.period-label,.timer-start,.week-strip button>span:first-child,.habit-row-name>span,.stat-card>span,.weekday-chart>div>span,.settings-stack .panel>.muted{font-size:.875rem}.field-help,.habit-meta .streak,.section-heading>span,.sync-state,.hero-chips>span,.footnote{font-size:.8125rem}.habit-row-name strong{font-size:1rem}.mobile-nav>button{font-size:.75rem}@media (width<=680px){.habit-grid{grid-template-columns:1fr}.habit-card{padding:23px}.habit-card h3{min-height:0;font-size:1.125rem}.habit-icon{border-radius:13px;width:42px;height:42px}.period-label{font-size:.8125rem}.card-edit{width:34px;height:34px;display:flex}.habit-card-controls{flex-wrap:nowrap;min-height:38px}.value-display{width:auto}.value-display strong{font-size:1.65rem}.check-button{flex-direction:row;align-items:center;gap:12px;min-height:38px}.habit-meta{flex-wrap:wrap}.habit-meta,.value-display span,.check-button,.timer-start{font-size:.875rem}.habit-meta .streak,.stats-grid .stat-card>span{font-size:.8125rem}.stats-grid .stat-card>p{font-size:.75rem}.stats-grid{grid-template-columns:1fr}.stat-card{padding:20px 23px}.stat-card>span{min-height:0}.stat-card>strong{font-size:2rem}.week-strip button>span:first-child{font-size:.8125rem}.page-heading>.primary{font-size:.875rem}.settings-stack .field-help{font-size:.8125rem}.button-row .primary,.button-row .secondary{font-size:.875rem}.sidebar-note,.habit-row-name>span,.habit-row .secondary,.starter-preview>span{font-size:.8125rem}.hero-chips>span{font-size:.75rem}.today-hero{padding:25px 22px}.progress-ring{width:100px;height:100px}.modal-footer .primary,.modal-footer .secondary{font-size:.8125rem}}
