:root{--bg:#f7f8f5;--surface:#fff;--surface-2:#f0f4ee;--ink:#1b2e28;--muted:#7e8d85;--line:#e7ece6;--green:#234b3d;--green-2:#416f59;--mint:#dcefe0;--lime:#d8e9a7;--peach:#f7ce9a;--sidebar:#193b31;--shadow:0 8px 32px rgba(28,59,44,.035);--radius:18px;--font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.43}a{color:inherit}::selection{background:#c2e2c9;color:#153d2e}:focus-visible{outline:3px solid #83b993;outline-offset:3px}button,input,select,textarea{outline-offset:2px}body.dark{--bg:#111d19;--surface:#1b2a23;--surface-2:#26372d;--ink:#edf5ed;--muted:#9caf9e;--line:#34463b;--green:#b9d9bd;--green-2:#92be9d;--mint:#355341;--shadow:0 8px 32px rgba(0,0,0,.11)}body.dark .sidebar{background:#0e211a}body.dark .hero-card{background:#274e3d}body.dark .hero-card .hero-title,body.dark .hero-card .hero-sub,body.dark .hero-card .hero-kicker{color:#f0fbf0}body.dark .nav-link.active{background:rgba(255,255,255,.11)}body.dark .btn-primary{background:#bde3c2;color:#163223}body.dark input,body.dark textarea,body.dark select{color:var(--ink)}body.dark .logo-mark i{background:#fff}
svg{display:block;flex-shrink:0}.i{width:20px;height:20px;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round}.i.sm{width:16px;height:16px}.i.lg{width:24px;height:24px}
.shell{display:flex;min-height:100vh}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);color:#e6f0e5;padding:33px 20px 25px;display:flex;flex-direction:column;z-index:25}.brand{display:flex;align-items:center;gap:12px;padding:0 13px;color:#fff;text-decoration:none}.brand-name{font-size:25px;font-weight:770;letter-spacing:-1.6px}.logo-mark,.brand-symbol{display:grid;grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px);gap:4px;transform:rotate(-8deg)}.logo-mark i,.brand-symbol i{border-radius:50%;background:#e8f2e5}.logo-mark i:nth-child(2),.brand-symbol i:nth-child(2){background:#a9cea9}.logo-mark i:nth-child(3),.brand-symbol i:nth-child(3){background:#9ebf9d}.logo-mark i:nth-child(4),.brand-symbol i:nth-child(4){background:#f0c887}.brand-sub{margin:4px 13px 36px;font-size:11px;color:#9cb6aa;letter-spacing:.04em}.nav-label{font-size:10px;font-weight:800;letter-spacing:.19em;color:#77978a;padding:0 13px;margin:15px 0 10px}.nav-list{display:flex;flex-direction:column;gap:5px}.nav-link{width:100%;padding:12px 13px;display:flex;gap:13px;align-items:center;background:transparent;border:0;border-radius:11px;color:#a9c5b6;text-align:left;font-size:13px;font-weight:600;transition:.18s ease}.nav-link:hover{background:rgba(255,255,255,.08);color:#fff}.nav-link.active{background:#345749;color:#fff}.nav-link .i{width:18px;height:18px}.nav-link .count-pill{margin-left:auto;background:#f4cb8c;color:#294234;border-radius:7px;font-size:10px;padding:3px 6px}.sidebar-spacer{flex:1}.side-note{background:#2a4c3e;border:1px solid #426252;border-radius:15px;padding:17px;margin:10px 2px 20px}.side-note .spark{font-size:24px;color:#f0c887}.side-note p{font-size:13px;line-height:1.65;color:#c6d9cf;margin:10px 0 0}.side-note strong{color:#fff}.side-footer{display:flex;align-items:center;gap:10px;padding:13px 11px 0;border-top:1px solid #355448}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e3d6b5;color:#365044;font-weight:800;font-size:12px}.side-footer b{font-size:12px;color:#fff}.side-footer small{display:block;color:#8fada0;margin-top:2px;font-size:10px}.workspace{margin-left:244px;min-width:0;flex:1}.topbar{height:82px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--bg);gap:16px}.breadcrumbs{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:12px;font-weight:650}.breadcrumbs .slash{color:#c5cdc6}.breadcrumbs .current{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:10px}.today-chip{font-size:12px;font-weight:650;margin-right:14px;color:var(--muted)}.icon-btn{height:38px;width:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);transition:.2s}.icon-btn:hover{background:var(--surface-2);transform:translateY(-1px)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:11px 15px;border-radius:11px;font-size:12px;font-weight:760;white-space:nowrap;transition:transform .18s,background .18s,border-color .18s}.btn:hover{transform:translateY(-1px);border-color:#aec6b4}.btn .i{width:16px;height:16px}.btn-primary{background:#214b39;color:#fff;border-color:transparent;box-shadow:0 4px 12px rgba(24,66,43,.11)}.btn-primary:hover{background:#35674c;border-color:transparent}.btn-quiet{background:transparent}.btn-danger{color:#b94b43;border-color:#e9b5b0}.btn-sm{padding:8px 11px;font-size:11px}.main{max-width:1680px;margin:0 auto;padding:38px 48px 90px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:31px}.eyeline{font-size:11px;text-transform:uppercase;letter-spacing:.17em;font-weight:780;color:var(--green-2);margin:0 0 14px}.page-title{font-size:clamp(29px,3.2vw,43px);line-height:1.13;font-weight:760;letter-spacing:-2.1px;margin:0 0 10px}.title-serif{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;letter-spacing:-1.8px}.page-description{color:var(--muted);font-size:13px;line-height:1.7;margin:0}.page-header .page-action{align-self:center}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 282px;gap:27px;align-items:start}.primary-column{min-width:0}.rail-column{display:flex;flex-direction:column;gap:18px}.hero-card{min-height:241px;border-radius:20px;padding:32px 34px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#dcebdd;position:relative;overflow:hidden}.hero-card:before{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,255,255,.44);border-radius:50%;top:-174px;right:-75px}.hero-card:after{content:"";position:absolute;width:380px;height:380px;border:1px solid rgba(255,255,255,.4);border-radius:50%;bottom:-300px;right:-85px}.hero-copy{max-width:420px;position:relative;z-index:1}.hero-kicker{display:flex;align-items:center;gap:7px;color:#4f7c60;font-size:11px;font-weight:780;letter-spacing:.055em;margin-bottom:17px}.hero-kicker .small-dot{width:6px;height:6px;background:#5b9569;border-radius:50%}.hero-title{font-size:clamp(25px,2.5vw,35px);letter-spacing:-1.5px;line-height:1.16;font-weight:740;margin:0 0 11px;color:#214938}.hero-title em{font-family:Georgia,serif;font-weight:400}.hero-sub{font-size:12px;line-height:1.65;color:#648070;max-width:300px;margin:0}.progress-orbit{width:172px;height:172px;position:relative;flex-shrink:0;z-index:1}.progress-orbit svg{width:100%;height:100%;transform:rotate(-90deg)}.progress-orbit .track{stroke:rgba(255,255,255,.72);stroke-width:9;fill:none}.progress-orbit .fill{stroke:#3c7452;stroke-width:9;stroke-linecap:round;fill:none;transition:stroke-dashoffset .6s ease}.orbit-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#275341}.orbit-label b{font-size:36px;letter-spacing:-1.8px;font-weight:800}.orbit-label small{font-size:10px;font-weight:720;letter-spacing:.11em;text-transform:uppercase;margin-top:0}.section-row{display:flex;align-items:center;justify-content:space-between;margin:31px 0 14px;gap:10px}.section-title{font-size:17px;letter-spacing:-.55px;font-weight:780;margin:0}.section-meta{color:var(--muted);font-size:12px;margin-left:8px;font-weight:520}.section-tools{display:flex;align-items:center;gap:7px}.date-switch{display:flex;align-items:center;gap:3px}.date-switch .icon-btn{height:30px;width:30px;background:transparent;border:0}.date-switch span{min-width:75px;text-align:center;font-size:11px;font-weight:720;color:var(--muted)}.habit-stack{display:flex;flex-direction:column;gap:10px}.habit-row{border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:17px 18px;display:flex;align-items:center;gap:14px;min-height:84px;box-shadow:var(--shadow);transition:.2s}.habit-row:hover{border-color:#c7d8c8;transform:translateY(-1px)}.habit-row.completed{background:color-mix(in srgb,var(--surface) 90%,#d9ecd9)}.habit-emoji{border-radius:14px;width:47px;height:47px;display:grid;place-items:center;font-size:22px;flex-shrink:0;background:var(--emoji-bg,#ecf3e7)}.habit-row-copy{min-width:0;flex:1}.habit-name{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:780;color:var(--ink);margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.habit-detail{font-size:11px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.habit-history{display:flex;align-items:center;gap:5px;margin-right:2px}.tiny-day{display:flex;flex-direction:column;align-items:center;gap:7px}.tiny-day small{font-size:9px;color:#9ca99e;font-weight:710}.tiny-dot{width:10px;height:10px;border-radius:50%;background:var(--line);display:block}.tiny-dot.on{background:#73a783}.tiny-dot.partial{background:#b9cfa5}.tiny-dot.skip{background:#f0cb8d}.tiny-dot.off{background:transparent;border:1.5px solid var(--line)}.counter{display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:11px;padding:4px;background:var(--bg)}.counter button{height:29px;width:29px;border:none;border-radius:7px;color:var(--ink);background:var(--surface);display:grid;place-items:center}.counter button:hover{background:var(--mint)}.counter b{min-width:38px;text-align:center;font-size:12px}.check-btn{height:36px;width:36px;display:grid;place-items:center;border:1.5px solid #d5ded6;color:#9cac9e;background:var(--surface);border-radius:50%;transition:.18s}.check-btn:hover{border-color:#4a805d;color:#4a805d}.check-btn.checked{color:#fff;border-color:#417b59;background:#417b59}.row-more{width:30px;height:35px;display:grid;place-items:center;border:0;background:transparent;color:#a5b4a8;border-radius:8px}.row-more:hover{color:var(--ink);background:var(--bg)}.empty-box{background:var(--surface);border:1px dashed #c9d7cd;border-radius:16px;padding:34px;text-align:center}.empty-box .empty-emoji{font-size:32px}.empty-box h3{font-size:16px;margin:10px 0 6px}.empty-box p{color:var(--muted);font-size:12px;line-height:1.5;margin-bottom:18px}.add-row{border:1px dashed #c8d8cc;border-radius:13px;padding:14px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--green-2);background:transparent;font-size:12px;font-weight:750;margin-top:12px;width:100%}.add-row:hover{background:var(--surface-2)}.panel{border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:22px;box-shadow:var(--shadow)}.panel h3{font-size:14px;letter-spacing:-.35px;margin:0 0 15px;font-weight:770}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading .i{color:var(--muted)}.panel-sub{font-size:11px;color:var(--muted);line-height:1.6}.streak-card{background:#264b3b;color:#fff;border-color:#264b3b;position:relative;overflow:hidden}.streak-card:after{content:"✳";position:absolute;right:-10px;bottom:-38px;font-size:144px;color:rgba(255,255,255,.06)}.streak-card .panel-sub{color:#bcd6c6}.streak-big{font-size:57px;font-weight:800;letter-spacing:-3px;line-height:1;margin:10px 0 4px}.streak-big small{font-size:18px;font-weight:650;letter-spacing:0}.streak-card h3{display:flex;align-items:center;gap:7px;color:#d4e5d7}.week-dots{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:19px 0 8px}.week-bubble{display:flex;flex-direction:column;align-items:center;gap:8px}.week-bubble i{display:grid;place-items:center;width:26px;height:26px;font-style:normal;border-radius:50%;background:var(--surface-2);color:var(--green-2);font-size:11px}.week-bubble i.hit{background:#8fc49b;color:#fff}.week-bubble i.today{outline:2px solid #accfb6;outline-offset:3px}.week-bubble small{font-size:9px;color:var(--muted)}.quote-card{background:#fff1db;border-color:#faead0;color:#604b2e}.quote-card .quote-mark{font-family:Georgia,serif;font-size:34px;line-height:1;color:#dca961}.quote-text{font-family:Georgia,serif;font-size:20px;line-height:1.45;margin:5px 0 15px;letter-spacing:-.45px}.quote-author{font-size:10px;font-weight:800;letter-spacing:.12em;color:#b88a51;text-transform:uppercase}.mini-stat-row{display:flex;justify-content:space-between;align-items:baseline;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.mini-stat-row b{font-size:15px}.mini-stat-row span{color:var(--muted)}.mini-stat-row:first-of-type{border-top:0}
.content-tabs,.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{border:1px solid var(--line);background:var(--surface);padding:9px 13px;border-radius:10px;font-size:11px;font-weight:720;color:var(--muted)}.chip.active{background:#24513e;border-color:#24513e;color:white}.searchbar{height:43px;display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:0 13px;color:var(--muted);min-width:200px}.searchbar input{border:0!important;padding:0!important;outline:none!important;background:transparent!important;min-width:0;width:100%;font-size:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px;flex-wrap:wrap}.list-heading{display:flex;align-items:center;gap:10px;margin:28px 0 13px}.list-heading h3{font-size:13px;margin:0}.list-heading span{color:var(--muted);font-size:11px}.habit-row-wide{display:grid;grid-template-columns:minmax(190px,1fr) 200px 98px 74px;gap:18px;align-items:center}.habit-row-wide .habit-identity{display:flex;align-items:center;gap:13px;min-width:0}.wide-progress{height:7px;border-radius:20px;background:var(--surface-2);overflow:hidden;margin-top:7px}.wide-progress span{height:100%;background:#6c9d79;border-radius:20px;display:block}.mini-metric{font-size:11px;color:var(--muted)}.mini-metric strong{display:block;color:var(--ink);font-size:17px;margin-bottom:3px}.habit-actions{display:flex;gap:5px;justify-content:end}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.calendar-main{padding:25px}.calendar-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px}.calendar-header h2{margin:0;font-size:21px;letter-spacing:-.7px}.calendar-headings,.calendar-cells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-headings{margin-bottom:9px}.calendar-headings span{text-align:center;font-size:10px;font-weight:780;color:var(--muted);padding:9px 0}.day-cell{min-height:89px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:10px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:var(--ink);text-align:left}.day-cell.other{opacity:.31}.day-cell.future{opacity:.4}.day-cell:hover{border-color:#85b394}.day-cell.selected{border-color:#4a9463;box-shadow:0 0 0 2px #a5cdb0}.day-cell.today span:first-child{background:#29563e;color:#fff;width:25px;height:25px;border-radius:50%;display:grid;place-items:center}.day-cell span:first-child{font-size:11px;font-weight:740}.day-dots{display:flex;gap:3px;flex-wrap:wrap;margin-top:auto}.day-dots i{height:7px;width:7px;border-radius:50%;background:var(--line)}.day-dots i.hit{background:#74ae87}.day-dots i.partial{background:#d5c38a}.calendar-legend{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px;margin-top:17px}.legend-dot{display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--mint)}.legend-dot.full{background:#75aa86}.day-summary{position:sticky;top:18px}.day-summary h2{font-size:23px;margin:0 0 6px}.day-summary-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.day-summary-row .status{margin-left:auto;font-size:11px;font-weight:800;color:#5e9a72}.day-summary-row .status.miss{color:#c1c9c0}.day-summary-row .status.skip{color:#c09b61}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.kpi{min-height:125px;padding:22px}.kpi-label{color:var(--muted);font-size:11px;font-weight:720}.kpi-value{font-size:37px;letter-spacing:-1.6px;font-weight:780;margin:13px 0 5px}.kpi-foot{font-size:11px;color:var(--muted)}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:22px}.analytics-grid .panel{padding:25px}.chart-legend{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:10px}.chart-legend i{height:8px;width:8px;border-radius:50%;background:#78ad86}.chart-bars{height:215px;display:flex;gap:9px;align-items:flex-end;padding:18px 5px 0;border-bottom:1px solid var(--line)}.bar-group{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:9px;min-width:0}.bar-vertical{height:var(--height);width:min(100%,24px);min-height:2px;border-radius:6px 6px 3px 3px;background:#75a889;transition:height .35s}.bar-group:nth-child(3n) .bar-vertical{background:#b7d1af}.bar-group:nth-child(5n) .bar-vertical{background:#acd1ae}.bar-group small{font-size:9px;color:var(--muted);height:16px}.leaderboard{display:flex;flex-direction:column}.leader{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line)}.leader:first-child{border-top:0}.leader .rank{color:var(--muted);font-size:11px;font-weight:800;width:15px}.leader .habit-emoji{width:37px;height:37px;border-radius:11px;font-size:18px}.leader .leader-copy{min-width:0;flex:1}.leader .leader-copy strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader .leader-copy small{font-size:10px;color:var(--muted)}.leader .score{font-size:14px;font-weight:800}.breakdown{margin-top:12px}.breakdown-row{margin-bottom:16px}.breakdown-label{display:flex;justify-content:space-between;font-size:11px;font-weight:690;margin-bottom:7px}.breakdown-label span:last-child{color:var(--muted)}
.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.week-column{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px;min-height:340px}.week-col-head{text-align:center;border-bottom:1px solid var(--line);padding:8px 0 14px;margin-bottom:12px}.week-col-head b{display:block;font-size:24px;letter-spacing:-1px}.week-col-head small{font-size:10px;color:var(--muted);font-weight:700}.week-column.today{border-color:#94bb9c}.week-task{padding:10px 9px;border:1px solid var(--line);background:var(--bg);border-radius:10px;margin:8px 0;display:flex;gap:8px;align-items:flex-start;cursor:pointer;transition:.2s}.week-task:hover{border-color:#8ab499}.week-task.done{opacity:.62}.week-task .emoji{font-size:15px}.week-task b{font-size:10px;font-weight:740;line-height:1.45;overflow-wrap:anywhere}.week-task small{display:block;font-size:9px;margin-top:4px;color:var(--muted)}.week-task .tick{margin-left:auto;color:#4b9462;font-size:12px}.week-empty{font-size:10px;color:#b7c4b9;text-align:center;padding:15px 0}
.focus-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:24px}.focus-stage{background:#214739;border-radius:22px;color:white;min-height:490px;padding:40px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;position:relative;overflow:hidden}.focus-stage:before,.focus-stage:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;border:1px solid rgba(255,255,255,.1)}.focus-stage:before{top:-180px;left:-130px}.focus-stage:after{bottom:-180px;right:-130px}.focus-timer{font-size:clamp(62px,7vw,103px);font-weight:760;letter-spacing:-5px;font-variant-numeric:tabular-nums;margin:31px 0 8px}.focus-stage .focus-tag{font-size:11px;color:#bed9c8;letter-spacing:.13em;text-transform:uppercase;font-weight:750}.focus-stage p{font-size:12px;color:#bdd3c5}.timer-controls{display:flex;gap:9px;margin-top:23px}.timer-controls .btn{padding:13px 24px}.focus-stage .btn-primary{background:#d4e4b2;color:#203d2d}.focus-presets{display:flex;gap:8px;justify-content:center;margin-top:27px;flex-wrap:wrap}.preset{border:1px solid rgba(255,255,255,.23);color:#d7e8dc;background:transparent;border-radius:20px;font-size:11px;padding:8px 13px}.preset.active{background:#e0eddf;color:#214937}.focus-side{display:flex;flex-direction:column;gap:18px}.focus-side .panel{padding:25px}.focus-log{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.focus-log:first-child{border-top:0}.focus-log strong{display:block;font-size:12px}.focus-log small{color:var(--muted);font-size:10px}.focus-log span:last-child{margin-left:auto;font-size:12px;font-weight:780}
.journal-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.journal-card{padding:30px}.journal-card h2{font-size:22px;letter-spacing:-.7px;margin:0 0 7px}.mood-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:18px 0 29px}.mood-btn{border:1px solid var(--line);background:var(--bg);padding:15px 5px;border-radius:13px;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--muted);font-size:10px;font-weight:750}.mood-btn span{font-size:24px}.mood-btn.selected{border-color:#7cad8b;background:var(--mint);color:var(--ink)}.field-group{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field-group label,.form-label{font-size:11px;font-weight:800;color:var(--ink)}.field-group small{font-size:10px;color:var(--muted)}input,textarea,select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);outline:none;font-size:12px}input:focus,textarea:focus,select:focus{border-color:#86b89a;box-shadow:0 0 0 3px rgba(135,180,147,.13)}textarea{min-height:135px;resize:vertical;line-height:1.7}.journal-history{display:flex;flex-direction:column;gap:9px}.journal-entry{width:100%;text-align:left;padding:13px;background:var(--bg);border:1px solid var(--line);border-radius:12px;color:var(--ink)}.journal-entry b{font-size:11px}.journal-entry small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:7px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.settings-card{padding:26px;margin-bottom:18px}.settings-card h3{margin:0 0 6px;font-size:16px}.settings-card p{font-size:11px;color:var(--muted);line-height:1.6;margin:0 0 23px}.settings-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 0;border-top:1px solid var(--line)}.settings-line strong{display:block;font-size:12px}.settings-line small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.settings-line select,.settings-line input{max-width:190px}.settings-card .settings-line:first-of-type{border-top:0}.info-points{font-size:11px;color:var(--muted);line-height:1.8;padding-left:17px}
.modal-backdrop{position:fixed;inset:0;background:rgba(17,34,24,.5);backdrop-filter:blur(5px);z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(100%,560px);max-height:min(92vh,830px);overflow:auto;background:var(--surface);color:var(--ink);border-radius:20px;box-shadow:0 25px 85px #0617104a}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:25px 28px 18px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:21px;letter-spacing:-.8px;margin:0 0 5px}.modal-header p{font-size:11px;color:var(--muted);margin:0}.modal-body{padding:24px 28px 5px}.modal-footer{padding:20px 28px 25px;display:flex;align-items:center;justify-content:space-between;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{margin-bottom:17px}.field label{font-size:11px;font-weight:760;display:block;margin-bottom:7px}.field-hint{font-size:10px;color:var(--muted);line-height:1.6;margin-top:6px}.field textarea{min-height:72px}.weekday-picker{display:flex;gap:7px;flex-wrap:wrap}.weekday-pill{height:35px;min-width:35px;border:1px solid var(--line);background:var(--bg);color:var(--muted);border-radius:10px;font-size:11px;font-weight:750}.weekday-pill.selected{background:#276047;border-color:#276047;color:#fff}.color-picker{display:flex;flex-wrap:wrap;gap:8px}.color-circle{height:27px;width:27px;border:2px solid transparent;border-radius:50%;background:var(--swatch);outline:1px solid #0000000d}.color-circle.selected{outline:2px solid var(--green);outline-offset:3px}.modal .danger-link{border:0;background:transparent;color:#bd5d55;font-size:11px;font-weight:750;padding:6px 0}.popover-actions{position:absolute;right:15px;top:58px;z-index:10;min-width:160px;background:var(--surface);border:1px solid var(--line);border-radius:11px;box-shadow:0 12px 36px #183d2533;padding:6px}.popover-actions button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:transparent;padding:10px;border-radius:7px;color:var(--ink);font-size:11px}.popover-actions button:hover{background:var(--bg)}.habit-row{position:relative}
/* Raise the parent card as a whole, so sibling card stacking contexts cannot cover its menu. */
.habit-row.menu-open{z-index:20}

#toast-root{position:fixed;right:25px;bottom:28px;z-index:150;display:flex;flex-direction:column;gap:9px;pointer-events:none}.toast{display:flex;align-items:center;gap:9px;background:#213f32;color:white;box-shadow:0 8px 28px #0e2b1f26;padding:13px 17px;border-radius:12px;font-size:12px;font-weight:650;animation:toastin .22s ease;max-width:340px}.toast .i{width:17px;height:17px;color:#addab8}@keyframes toastin{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}.mobile-nav{display:none}.mobile-add{display:none}.small-muted{font-size:11px;color:var(--muted)}.text-right{text-align:right}.mb-0{margin-bottom:0!important}.mt-0{margin-top:0!important}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.w-full{width:100%}.text-success{color:#4e9470}.text-danger{color:#b95950}.inline-btn{border:0;background:transparent;color:var(--green-2);padding:2px;font-size:11px;font-weight:750}.divider{border:0;border-top:1px solid var(--line);margin:19px 0}.boot{height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#345647;gap:10px;font-size:12px}.boot .brand-symbol{grid-template-columns:repeat(2,13px);grid-template-rows:repeat(2,13px)}.no-results{color:var(--muted);font-size:12px;padding:14px 0}.category-tag{display:inline-block;border-radius:6px;background:var(--surface-2);padding:3px 7px;color:var(--green-2);font-size:9px;font-weight:750}.context-actions{display:flex;align-items:center;gap:8px}.progress-line{height:8px;width:100%;background:var(--surface-2);border-radius:9px;overflow:hidden}.progress-line>i{display:block;height:100%;border-radius:9px;background:#79af87}.goal-note{font-size:10px;color:var(--muted);margin-top:8px}.fineprint{font-size:10px;color:var(--muted);line-height:1.6}
@media(max-width:1280px){.sidebar{width:210px}.workspace{margin-left:210px}.main{padding:34px 30px 75px}.topbar{padding:0 30px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 248px;gap:19px}.habit-history{display:none}.hero-card{padding:27px}.progress-orbit{width:142px;height:142px}.habit-row-wide{grid-template-columns:minmax(155px,1fr) 145px 65px 65px;gap:8px}.week-grid{gap:7px}.week-column{padding:8px}}
@media(max-width:1050px){.dashboard-grid,.calendar-layout,.journal-layout,.settings-layout{grid-template-columns:1fr}.rail-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.streak-card{min-height:230px}.calendar-main{overflow:auto}.calendar-cells{min-width:630px}.calendar-headings{min-width:630px}.day-summary{position:static}.analytics-grid{grid-template-columns:1fr}.week-grid{overflow-x:auto;grid-template-columns:repeat(7,minmax(135px,1fr));padding-bottom:6px}.focus-layout{grid-template-columns:1fr}.focus-side{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:65px;padding:0 19px}.topbar .breadcrumbs{font-size:11px}.topbar .today-chip{display:none}.topbar .add-desktop{display:none}.top-actions{gap:7px}.main{padding:27px 18px 112px}.page-header{margin-bottom:24px;align-items:flex-start}.page-title{letter-spacing:-1.4px;font-size:34px}.page-description{font-size:12px}.page-header .page-action{display:none}.hero-card{min-height:216px;padding:25px 22px}.hero-title{font-size:28px}.hero-kicker{margin-bottom:12px}.hero-sub{font-size:11px}.progress-orbit{width:128px;height:128px}.orbit-label b{font-size:27px}.orbit-label small{font-size:9px}.dashboard-grid{gap:8px}.habit-row{padding:13px 12px;gap:10px}.habit-emoji{width:42px;height:42px;font-size:20px}.section-row{margin-top:26px}.habit-detail{max-width:240px}.rail-column{grid-template-columns:1fr 1fr;gap:12px}.panel{padding:17px}.streak-big{font-size:40px}.quote-text{font-size:17px}.mobile-nav{display:flex;position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--line);z-index:60;align-items:center;justify-content:space-around;padding:8px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 22px #0000000b}.mobile-nav button{background:transparent;border:0;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;font-weight:700;min-width:50px;padding:5px 6px}.mobile-nav button.active{color:var(--green-2)}.mobile-nav .i{width:19px;height:19px}.mobile-add{display:grid;place-items:center;position:fixed;right:19px;bottom:90px;z-index:65;background:#2c5c43;color:#fff;border:0;border-radius:17px;width:52px;height:52px;box-shadow:0 8px 20px #183d2a44}.mobile-add .i{width:22px;height:22px}.habit-row-wide{grid-template-columns:minmax(0,1fr) 70px 64px;gap:8px}.habit-row-wide .wide-progress-wrap{display:none}.calendar-layout{gap:16px}.calendar-main{padding:18px 12px}.calendar-cells,.calendar-headings{min-width:0;gap:4px}.day-cell{min-height:67px;padding:7px;border-radius:9px}.day-dots{gap:2px}.day-dots i{width:5px;height:5px}.calendar-header h2{font-size:18px}.kpi-grid{grid-template-columns:1fr 1fr;gap:10px}.kpi{min-height:108px;padding:16px}.kpi-value{font-size:30px}.focus-stage{min-height:430px;padding:25px}.focus-side{grid-template-columns:1fr}.mood-row{gap:5px}.mood-btn{padding:12px 2px;font-size:9px}.mood-btn span{font-size:20px}#toast-root{bottom:88px;right:15px}.settings-line{align-items:flex-start}.settings-line select{max-width:150px}.modal{max-height:94vh}.modal-header{padding:22px 20px 16px}.modal-body{padding:20px 20px 3px}.modal-footer{padding:16px 20px 22px}}
@media(max-width:430px){.hero-card{gap:7px}.hero-title{font-size:25px}.hero-copy{max-width:210px}.progress-orbit{width:106px;height:106px}.hero-sub{max-width:220px}.orbit-label b{font-size:24px}.rail-column{grid-template-columns:1fr}.habit-detail{max-width:160px}.counter b{min-width:27px;font-size:11px}.counter button{height:26px;width:26px}.check-btn{height:34px;width:34px}.row-more{width:24px}.habit-row-wide{grid-template-columns:minmax(0,1fr) 56px}.habit-row-wide .mini-metric{display:none}.form-grid{grid-template-columns:1fr}.calendar-cells,.calendar-headings{gap:3px}.day-cell{min-height:62px;padding:5px}.day-cell span:first-child{font-size:10px}.day-dots i{width:4px;height:4px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.mobile-more{display:none}
@media(max-width:760px){.mobile-more{display:flex;flex-direction:column;position:fixed;bottom:76px;right:13px;width:197px;background:var(--surface);border:1px solid var(--line);box-shadow:0 14px 45px #0e221d2a;padding:7px;border-radius:14px;z-index:67}.mobile-more button{display:flex;gap:10px;align-items:center;border:0;border-radius:9px;background:transparent;color:var(--ink);font-size:12px;font-weight:690;text-align:left;padding:12px}.mobile-more button:hover{background:var(--surface-2)}}

.demo-hint{display:flex;align-items:center;gap:8px;padding:12px 16px;margin:-13px 0 20px;border-radius:12px;background:#fff3d8;border:1px solid #f5e5c5;color:#886d39;font-size:11px;font-weight:650}.demo-hint button{background:transparent;border:0;color:#806136;font-weight:800;text-decoration:underline;text-underline-offset:3px;padding:0}@media(max-width:760px){.demo-hint{margin:-5px 0 18px;flex-wrap:wrap;line-height:1.6}}
