@font-face{font-family:Geist;src:url('fonts/Geist.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--bg:#f5f6f4;--surface:#fff;--surface2:#f0f2ef;--ink:#202721;--muted:#68736a;--border:#e2e7e1;--accent:#30764d;--tint:#e7f1e9;--on-accent:#fff;--danger:#a63535;--shadow:0 4px 24px #162b1610;color-scheme:light;font-family:Geist,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.55}
html[data-theme=dark]{--bg:#141916;--surface:#1b221d;--surface2:#232c25;--ink:#e8eee8;--muted:#a0ada2;--border:#323d34;--accent:#a3d4ae;--tint:#283d2e;--on-accent:#17241a;--danger:#f0a5a5;--shadow:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,4vw,38px);letter-spacing:-.045em;font-weight:600;line-height:1.2}h2{font-size:18px;letter-spacing:-.025em;font-weight:600}h3{font-size:16px;font-weight:600}p{line-height:1.6}small,.fine{font-size:12px;color:var(--muted);line-height:1.6}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.14em;color:var(--muted);margin-bottom:12px}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.icon.small{width:16px;height:16px}html[data-theme=dark] .icon{filter:invert(1)}.brand{display:flex;align-items:center;gap:12px;font-weight:650;letter-spacing:-.04em;font-size:19px}.brand img{border-radius:10px}.skip{position:fixed;top:-70px;left:15px;padding:10px;background:var(--surface);z-index:100}.skip:focus{top:10px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);padding:11px 17px;min-height:44px;border-radius:8px;font-size:13px;font-weight:600;background:var(--surface);transition:background .15s,transform .15s}.button:active{transform:scale(.98)}.button:hover{background:var(--surface2)}.button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.button.primary:hover{opacity:.9}.button.secondary{background:var(--surface2)}.button.danger{color:var(--danger)}.button .icon{width:16px;height:16px}.button.primary .icon{filter:brightness(0) invert(1)}html[data-theme=dark] .button.primary .icon{filter:none}.wide{width:100%}.icon-button{background:none;border:0;display:inline-flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;border-radius:8px}.icon-button:hover{background:var(--surface2)}.text-link{color:var(--accent);font-size:13px;font-weight:550}.text-button{border:0;background:none;color:var(--accent);font-size:13px;font-weight:550;min-height:44px;padding:8px 0}.badge{display:inline-flex;align-items:center;gap:6px;font-size:10px;letter-spacing:.045em;font-weight:600;background:var(--surface2);padding:4px 8px;border-radius:5px;color:var(--muted)}.badge.good{color:var(--accent);background:var(--tint)}.badge.behind{color:var(--danger)}
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:30px 20px 22px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:10}.sidebar .brand{padding:0 8px}.sidebar nav{margin:40px 0;display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500;padding:12px 15px;border-radius:8px;color:var(--muted)}.nav-link:hover{background:var(--surface2);color:var(--ink)}.nav-link.active{background:var(--tint);color:var(--accent)}.nav-link.active .icon{opacity:.8}.sidebar-foot{margin-top:auto;border-top:1px solid var(--border);padding:20px 8px 0}.user-row{display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--tint);color:var(--accent);font-size:12px;font-weight:650;flex-shrink:0}.user-row strong{font-size:12px;display:block}.user-row small{font-size:10px}.workspace{margin-left:232px}.topbar{height:80px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:var(--bg)}.crumb{font-size:12px;color:var(--muted)}.crumb span{margin:0 10px;color:var(--border)}.topbar-actions{display:flex;align-items:center;gap:15px}.today-date{font-size:12px;color:var(--muted)}.online-dot{font-size:11px;color:var(--muted)}.online-dot:before{content:'';display:inline-block;width:6px;height:6px;margin-right:6px;background:var(--accent);border-radius:100%}.main-content{max-width:1240px;margin:auto;padding:38px 42px 55px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{margin-top:8px;font-size:13px;color:var(--muted)}.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.lock-select{font-size:12px;padding:8px 28px 8px 10px;border-radius:8px;max-width:220px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-heading .muted{font-size:12px}.lock-banner{display:grid;grid-template-columns:1fr 170px;gap:25px;padding:27px 30px;margin-bottom:24px}.lock-banner h2{font-size:25px;letter-spacing:-.04em}.lock-meta{display:flex;gap:12px;align-items:center;margin-top:7px;color:var(--muted);font-size:12px}.lock-banner p{font-size:13px;color:var(--muted);margin-top:22px;max-width:660px}.lock-progress{display:flex;align-items:center;justify-content:center;flex-direction:column;border-left:1px solid var(--border)}.day-number{font-size:52px;font-weight:550;line-height:1.1;letter-spacing:-.07em;font-variant-numeric:tabular-nums}.day-number small{font-size:14px;letter-spacing:0}.lock-progress .progress{margin-top:14px;width:110px}.progress{height:5px;overflow:hidden;background:var(--surface2);border-radius:5px}.progress>span{display:block;height:100%;background:var(--accent);border-radius:5px;max-width:100%}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{padding:19px 21px}.metric-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.metric-label .icon{opacity:.65;width:17px;height:17px}.metric-value{font-size:30px;letter-spacing:-.04em;margin-top:10px;font-weight:550;font-variant-numeric:tabular-nums}.metric-value small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:3px}.metric-sub{font-size:10px;color:var(--muted);margin-top:3px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px}.dashboard-grid .panel{min-width:0}.habit-row{display:flex;align-items:center;gap:12px;min-height:67px;border-bottom:1px solid var(--border)}.habit-row:last-child{border-bottom:0}.habit-check{display:grid;place-items:center;width:44px;height:44px;background:none;border:0;flex-shrink:0}.habit-check span{display:grid;place-items:center;width:23px;height:23px;border:1.5px solid var(--border);border-radius:6px}.habit-check.done span{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.habit-check.done .icon{filter:brightness(0) invert(1);width:14px;height:14px}html[data-theme=dark] .habit-check.done .icon{filter:none}.habit-name{font-size:13px;font-weight:500;flex:1}.habit-row.is-done .habit-name{color:var(--muted)}.streak{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);white-space:nowrap}.streak .icon{width:14px;height:14px}.goal-row{padding:17px 0;border-bottom:1px solid var(--border)}.goal-row:last-child{border:0;padding-bottom:0}.goal-top{display:flex;justify-content:space-between;gap:10px;margin-bottom:9px}.goal-top strong{font-size:13px;font-weight:550}.goal-foot{display:flex;justify-content:space-between;gap:10px;margin-top:9px;color:var(--muted);font-size:10px}.goal-row .progress{height:4px}.week-bars{display:grid;grid-template-columns:repeat(7,1fr);gap:12px;align-items:end;height:125px;margin-top:18px}.week-col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:8px;font-size:10px;color:var(--muted)}.week-bar-track{height:88px;width:100%;max-width:28px;display:flex;align-items:flex-end;position:relative;background:var(--surface2);border-radius:4px}.week-bar{width:100%;min-height:3px;background:var(--accent);opacity:.6;border-radius:4px}.week-col.today .week-bar{opacity:1}.week-col.today{color:var(--accent);font-weight:650}.weekly-caption{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font-size:11px;color:var(--muted)}.note-panel{margin-top:22px}.note-panel h2{margin-bottom:10px}.note-panel p{font-size:13px;color:var(--muted)}.note-panel .button{margin-top:18px}.empty{padding:36px 16px;text-align:center;color:var(--muted);font-size:13px}.empty .icon{width:32px;height:32px;opacity:.6;margin-bottom:10px}.empty h3{color:var(--ink);margin-bottom:7px}.empty p{max-width:340px;margin:auto}.empty .button{margin-top:18px}.empty.workspace-empty{text-align:left;padding:55px 35px}.empty.workspace-empty h2{font-size:28px;margin-bottom:12px}.empty.workspace-empty p{margin:0;max-width:450px}.sub-heading{margin:28px 0 15px;display:flex;align-items:center;justify-content:space-between}.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.goal-card .goal-top strong{font-size:18px}.goal-card .goal-value{font-size:32px;font-weight:550;letter-spacing:-.04em;margin:18px 0 14px}.goal-card .goal-value small{font-size:12px;color:var(--muted);letter-spacing:0}.goal-card .progress{height:6px}.goal-card .goal-foot{font-size:12px}.card-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:15px}.card-actions .button{padding:8px 12px;font-size:12px}.split-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px}.entry{padding:18px 0;border-bottom:1px solid var(--border)}.entry:last-child{border:0}.entry-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.entry-head strong{font-size:13px}.entry p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.entry small{display:block;margin-top:8px}.entry .label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin:15px 0 5px}.calendar-months{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.month-title{font-size:13px;font-weight:600;margin-bottom:13px}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday{text-align:center;font-size:9px;color:var(--muted);margin-bottom:4px}.day-cell{aspect-ratio:1;border:1px solid transparent;border-radius:5px;background:var(--surface2);color:var(--muted);font-size:10px;display:grid;place-items:center;padding:0;min-width:0}.day-cell.level-1{background:var(--tint);color:var(--accent)}.day-cell.level-2{background:color-mix(in srgb,var(--accent) 45%,var(--surface));color:var(--ink)}.day-cell.level-3{background:var(--accent);color:var(--on-accent)}.day-cell.is-today{outline:2px solid var(--accent);outline-offset:1px}.day-cell.future{opacity:.45}.day-cell.outside{background:none;color:var(--border)}.legend{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin-top:28px;justify-content:flex-end}.legend i{width:12px;height:12px;border-radius:3px;background:var(--surface2)}.legend i:nth-of-type(2){background:var(--tint)}.legend i:nth-of-type(3){background:color-mix(in srgb,var(--accent) 45%,var(--surface))}.legend i:nth-of-type(4){background:var(--accent)}.kill-row{display:flex;align-items:flex-start;gap:16px;padding:19px 0;border-bottom:1px solid var(--border)}.kill-row:last-child{border:0}.kill-symbol{display:grid;place-items:center;background:var(--surface2);width:38px;height:38px;border-radius:9px;flex-shrink:0}.kill-text{flex:1}.kill-text h3{font-size:14px}.kill-text p{font-size:12px;margin-top:4px;color:var(--muted)}.account-card .user-row{margin-bottom:22px}.account-card .user-row strong{font-size:18px}.account-card .avatar{width:45px;height:45px;font-size:15px}.account-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px 0;border-block:1px solid var(--border);margin:20px 0}.account-metrics strong{font-size:25px;letter-spacing:-.04em;display:block}.account-metrics small{font-size:10px}.shared-notice{margin-bottom:22px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.account-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.settings-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.settings-grid>.panel{align-self:start}.settings-grid h2{margin-bottom:15px}.settings-grid .panel+.panel{margin-top:0}.settings-stack{display:flex;flex-direction:column;gap:22px}.notice{padding:15px 17px;border:1px solid var(--border);background:var(--tint);border-radius:8px;font-size:12px;margin-bottom:20px}.notice.error{color:var(--danger);background:var(--surface)}.history-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--border)}.history-row:last-child{border:0}.history-row h3{margin-bottom:5px}.history-row p{font-size:12px;color:var(--muted)}.more-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.more-link{display:flex;align-items:center;gap:14px;padding:23px 18px;font-size:13px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.more-link .icon{width:23px;height:23px}.more-link span{margin-left:auto;color:var(--muted)}
label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:550;margin-bottom:17px}input,select,textarea{background:var(--surface);border:1px solid var(--border);color:var(--ink);border-radius:7px;padding:11px 12px;min-height:44px;width:100%;font-size:14px}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{resize:vertical;min-height:105px;line-height:1.6}label small{font-weight:400}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--accent)}.check-label{flex-direction:row;align-items:center;gap:10px;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-error{color:var(--danger);font-size:12px;margin-bottom:12px;white-space:pre-wrap}.field-note{font-size:11px;color:var(--muted);margin:-8px 0 18px}.date-select{max-width:190px}.form-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}fieldset{border:0;padding:0;margin:30px 0}legend{font-size:12px;font-weight:600;margin-bottom:18px}dialog{width:min(520px,calc(100% - 28px));max-height:90dvh;border:1px solid var(--border);padding:26px;border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}dialog::backdrop{background:#0b160f80}dialog .modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}dialog h2{font-size:23px}.modal-intro{font-size:12px;color:var(--muted);margin-bottom:23px}.modal-day-habits{margin-bottom:20px}.modal-day-habits .habit-row{min-height:54px}#toast{position:fixed;bottom:25px;left:calc(50% + 110px);transform:translateX(-50%);max-width:calc(100% - 40px);background:var(--ink);color:var(--bg);padding:12px 20px;font-size:12px;border-radius:9px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}.setup-body,.auth-body{background:var(--bg)}.setup{max-width:580px;margin:50px auto;padding:0 25px 50px}.setup .brand{margin-bottom:50px}.setup h1{font-size:39px;line-height:1.2;margin-bottom:16px}.setup>.muted{font-size:14px;margin-bottom:24px}.setup form>p.fine{margin-top:18px}.setup .text-link{display:inline-block;margin-bottom:35px}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#253e2e;color:#ecf4ed;padding:65px;display:flex;flex-direction:column;justify-content:space-between}.auth-story .brand{color:#fff}.auth-story .brand img{width:44px;height:44px}.auth-story h1{font-size:clamp(40px,5vw,66px);max-width:500px;line-height:1.03;font-weight:500;letter-spacing:-.06em}.auth-story .story-bottom{max-width:430px}.auth-story p{color:#b9cbbb;font-size:15px;max-width:320px;margin-top:25px}.auth-story .eyebrow{color:#b9cbbb;margin-bottom:20px;font-size:10px}.story-mark{display:flex;gap:5px;margin-top:45px}.story-mark i{height:7px;width:7px;background:#7b9f85;border-radius:2px}.story-mark i:nth-child(3n){background:#405b47}.auth-form{display:flex;align-items:center;justify-content:center;padding:35px}.auth-form>div{width:100%;max-width:360px}.auth-form h1{font-size:30px;margin-bottom:10px}.auth-form p{color:var(--muted);font-size:13px;margin-bottom:30px}.auth-form .fine{margin-top:22px;font-size:11px}.loading-screen{display:flex;min-height:100dvh;align-items:center;justify-content:center;flex-direction:column;gap:20px}.loading-screen p{color:var(--muted);font-size:13px}.bottom-nav,.mobile-brand{display:none}.inline-hint{font-size:12px;color:var(--muted);padding:16px 0}.section-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:11px;color:var(--muted)}.offline-banner{background:var(--tint);padding:12px;text-align:center;font-size:12px}.skeleton{animation:pulse 1.3s ease-in-out infinite}@keyframes pulse{50%{opacity:.5}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(min-width:1500px){.main-content{padding-top:48px}.dashboard-grid{gap:25px}.panel{padding:28px}}
@media(max-width:1100px){.sidebar{width:200px;padding-inline:14px}.workspace{margin-left:200px}.main-content{padding:28px}.topbar{padding:0 28px}.calendar-months{grid-template-columns:repeat(2,1fr)}.metrics{gap:10px}.metric{padding:16px}.metric-label{font-size:10px}.dashboard-grid{grid-template-columns:1fr 1fr}.day-number{font-size:45px}.settings-grid{grid-template-columns:1fr}#toast{left:calc(50% + 100px)}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:65px;padding:0 20px}.crumb{display:none}.mobile-brand{display:flex;font-size:16px}.mobile-brand img{width:30px;height:30px}.today-date,.online-dot{display:none}.topbar-actions{gap:6px}.main-content{padding:26px 20px 110px}.page-heading{gap:10px;margin-bottom:22px}.page-heading h1{font-size:29px}.page-heading p{font-size:12px}.heading-actions .button{padding:10px;font-size:11px}.lock-select{max-width:135px;font-size:11px;padding-left:8px}.lock-banner{padding:22px;grid-template-columns:1fr 100px;gap:15px;margin-bottom:16px}.lock-banner h2{font-size:21px}.lock-banner p{grid-column:1/-1;font-size:12px;margin-top:8px}.lock-meta{font-size:10px;gap:7px;flex-wrap:wrap}.lock-progress{grid-column:2;grid-row:1}.lock-progress .progress{width:70px}.day-number{font-size:39px}.lock-banner .banner-main{grid-column:1}.metrics{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:17px}.metric{padding:17px}.metric-value{font-size:28px;margin-top:7px}.metric-label{font-size:11px}.metric-sub{font-size:10px}.dashboard-grid,.split-grid,.goal-grid,.account-grid{grid-template-columns:1fr;gap:17px}.panel{padding:20px}.dashboard-grid>.dashboard-column{display:contents}.note-panel{margin-top:0}.dashboard-grid .panel{margin-bottom:0}.goal-top strong{font-size:13px}.goal-grid{gap:15px}.calendar-months{gap:28px 20px}.month-grid{gap:4px}.day-cell{font-size:9px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);background:var(--surface);border-top:1px solid var(--border);padding:8px 6px max(10px,env(safe-area-inset-bottom));z-index:20}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px;color:var(--muted);min-height:43px}.bottom-nav a.active{color:var(--accent);font-weight:650}.bottom-nav .icon{width:21px;height:21px}.bottom-nav a.active .icon{opacity:1}.bottom-nav a .icon{opacity:.65}#toast{bottom:calc(88px + env(safe-area-inset-bottom));left:50%;width:max-content;max-width:calc(100% - 35px)}.auth-shell{grid-template-columns:1fr}.auth-story{padding:30px;min-height:290px;gap:45px}.auth-story h1{font-size:39px;max-width:340px}.auth-story p{font-size:12px;max-width:290px;margin-top:14px}.auth-story .story-mark{display:none}.auth-story .brand{font-size:16px}.auth-story .brand img{width:32px;height:32px}.auth-story .eyebrow{margin-bottom:15px}.auth-form{padding:35px 27px 60px}.auth-form>div{max-width:420px}.setup{margin:28px auto}.setup .brand{margin-bottom:35px}.setup h1{font-size:32px}.history-row{align-items:flex-start}.form-grid{gap:10px}.goal-card .goal-value{font-size:29px}.empty.workspace-empty{padding:35px 22px}.empty.workspace-empty h2{font-size:24px}.page-heading .heading-actions{justify-content:flex-end}.section-footer{font-size:10px}.settings-grid{gap:16px}input,select,textarea{font-size:16px}.lock-select{font-size:12px}.account-metrics strong{font-size:24px}}
@media(max-width:390px){.main-content{padding-inline:15px}.calendar-months{grid-template-columns:1fr}.lock-banner{padding:18px;grid-template-columns:1fr 75px}.lock-progress .progress{width:55px}.metric-label{font-size:10px}.heading-actions .lock-select{max-width:110px}.more-link{padding:20px 14px;font-size:12px}}
@media(max-width:760px){.calendar-months{grid-template-columns:1fr;gap:30px}.month-grid{gap:6px}.day-cell{font-size:12px;min-height:35px}.weekday{font-size:10px}.month-title{font-size:15px}.lock-select{min-width:120px}.metrics .metric{padding:13px 16px}.metric-value{font-size:27px}.lock-banner{gap:12px}.lock-banner p{margin-top:0}.habit-name{overflow-wrap:anywhere}.goal-top strong{overflow-wrap:anywhere}.goal-top .badge{flex-shrink:0}.page-heading h1{overflow-wrap:anywhere}.entry p,.kill-text{overflow-wrap:anywhere}}
.day-cell.future{opacity:1;color:var(--muted)}
@media(max-width:480px){.more-grid{grid-template-columns:1fr}.more-link{padding:20px}.more-link .icon{margin-right:4px}}
