:root{color:#17372a;font-synthesis:none;background:#f5f8f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}.app{min-height:100vh;padding-bottom:64px}.topbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffed;border-bottom:1px solid #dfe9e2;justify-content:space-between;align-items:center;gap:24px;padding:14px max(20px,50vw - 560px);display:flex;position:sticky;top:0}.brand{letter-spacing:-.03em;align-items:center;gap:10px;font-size:1.18rem;text-decoration:none;display:inline-flex}.brand span{color:#fff;background:#16794b;border-radius:13px;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 8px 20px #16794b33}.topbar nav{align-items:center;gap:7px;display:flex}.topbar nav a,.nav-button{color:#587065;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:6px;padding:9px 12px;text-decoration:none;display:inline-flex}.topbar nav a.active{color:#11643d;background:#eaf6ee;font-weight:700}.page{width:min(1120px,100% - 32px);margin:0 auto;padding:38px 0}.page.narrow{width:min(760px,100% - 32px)}.hero{color:#fff;background:radial-gradient(circle at 85% 15%,#67bd80 0,#0000 28%),linear-gradient(135deg,#125d3a,#218657);border-radius:30px;justify-content:space-between;align-items:center;gap:30px;padding:38px;display:flex;box-shadow:0 20px 45px #1b6c4530}.hero h1,.page h1{letter-spacing:-.055em;margin:6px 0;font-size:clamp(2rem,5vw,3.35rem);line-height:1.03}.hero p{color:#dcf6e5;margin:8px 0 0}.eyebrow{color:#16794b;letter-spacing:.12em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:800}.hero .eyebrow{color:#c7f3d5}.progress-ring{border:9px solid #ffffff35;border-top-color:#fff;border-radius:50%;flex:0 0 112px;align-content:center;place-items:center;height:112px;display:grid}.progress-ring strong{font-size:1.45rem}.progress-ring span{color:#d8f3e1;font-size:.73rem}.section-title{justify-content:space-between;align-items:end;gap:20px;margin:38px 0 18px;display:flex}.section-title h2,.modal h2{letter-spacing:-.035em;margin:0;font-size:1.65rem}.section-title p{color:#6d8076;margin:5px 0 0}.primary{color:#fff;cursor:pointer;background:#16794b;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 18px;font-weight:750;display:inline-flex;box-shadow:0 8px 18px #16794b25}.primary:hover{background:#10683f}.primary:disabled{opacity:.6;cursor:wait}.primary.compact{white-space:nowrap;min-height:42px}.habit-list{gap:13px;display:grid}.habit-card{background:#fff;border:1px solid #dfe9e2;border-radius:22px;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:19px;display:grid;position:relative;box-shadow:0 8px 25px #234c3620}.habit-card.done{background:#f8fdf9;border-color:#9bd4af}.habit-icon{color:#16794b;background:#eaf6ee;border-radius:17px;place-items:center;width:52px;height:52px;display:grid}.habit-copy h3{margin:0;font-size:1.05rem}.habit-copy p{color:#708278;margin:4px 0;font-size:.9rem}.habit-copy span{color:#16794b;font-size:.78rem;font-weight:700}.check-button{color:#0000;cursor:pointer;background:#fff;border:2px solid #a8b9af;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.check-button.checked{color:#fff;background:#16794b;border-color:#16794b}.archive{color:#8ba096;opacity:0;cursor:pointer;background:0 0;border:0;position:absolute;top:8px;right:8px}.habit-card:hover .archive,.archive:focus{opacity:1}.counter{align-items:center;gap:9px;display:flex}.counter button{color:#16794b;cursor:pointer;background:#fff;border:1px solid #cddbd1;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.counter svg{width:17px}.counter strong{text-align:center;min-width:24px}.empty{color:#668075;text-align:center;background:#fbfdfb;border:1px dashed #bdd0c3;border-radius:25px;align-content:center;place-items:center;gap:10px;min-height:270px;display:grid}.empty h3,.empty p{margin:0}.empty svg{color:#48a76d}.panel,.auth-card,.modal{background:#fff;border:1px solid #dde8e0;border-radius:26px;padding:30px;box-shadow:0 18px 55px #244c3719}.panel{margin-top:25px}.auth-page{background:radial-gradient(circle at 15% 15%,#dff4e6,#0000 32%),#f6f9f6;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{width:min(460px,100%)}.auth-card.wide{width:min(680px,100%)}.auth-card .brand{margin-bottom:32px}.auth-card h1{letter-spacing:-.045em;margin:8px 0;font-size:2.1rem}.muted{color:#718078}.auth-footer{color:#687a70;text-align:center;margin:23px 0 0}.auth-footer a{color:#16794b;font-weight:700}.stack{gap:17px;margin-top:25px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:17px;display:grid}.full{grid-column:1/-1}.form-grid>.full label{display:grid}label{color:#40584c;gap:7px;font-size:.86rem;font-weight:700;display:grid}input,textarea,select{color:#17372a;background:#fff;border:1px solid #ccd9d0;border-radius:12px;outline:none;width:100%;padding:12px 13px}input:focus,textarea:focus,select:focus{border-color:#25915b;box-shadow:0 0 0 4px #2d9a6117}textarea{resize:vertical;min-height:80px}label small{color:#c43c3c}.alert{border-radius:13px;margin:16px 0;padding:12px 14px;font-size:.88rem}.alert.error{color:#992f2f;background:#fdecec}.alert.success{color:#176239;background:#e9f8ee}.alert.warning{color:#745516;background:#fff7db}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#102d20aa;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{width:min(560px,100%);max-height:calc(100vh - 36px);position:relative;overflow:auto}.close{cursor:pointer;background:#eff5f1;border:0;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:18px;right:18px}.week-days{border:0;gap:7px;padding:0;display:flex}.week-days legend{color:#40584c;margin-bottom:8px;font-size:.86rem;font-weight:700}.week-days button{cursor:pointer;background:#fff;border:1px solid #cbd9d0;border-radius:50%;width:38px;height:38px}.week-days button.selected{color:#fff;background:#16794b;border-color:#16794b}.offline-banner{z-index:40;color:#fff;background:#33483e;border-radius:12px;padding:10px 14px;font-size:.8rem;position:fixed;bottom:16px;right:16px;box-shadow:0 8px 25px #0003}.update-toast{z-index:70;color:#fff;background:#17372a;border-radius:15px;align-items:center;gap:10px;width:min(520px,100% - 32px);padding:13px 15px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #0004}.update-toast span{flex:1}.update-toast button{color:#17372a;background:#fff;border:0;border-radius:9px;padding:8px 10px;font-weight:700}.update-toast .quiet{color:#dceae1;background:0 0}footer{color:#829188;text-align:center;margin-top:30px;font-size:.78rem}.center-page{color:#16794b;place-items:center;min-height:100vh;display:grid}@media (width<=680px){.topbar{padding:11px 16px}.topbar nav a{padding:9px}.topbar nav a:not(.active),.nav-button{font-size:0}.hero{align-items:flex-start;padding:27px 23px}.progress-ring{border-width:7px;flex-basis:82px;height:82px}.progress-ring strong{font-size:1rem}.progress-ring span{display:none}.section-title{align-items:center}.section-title p{display:none}.habit-card{gap:11px;padding:15px}.habit-icon{width:43px;height:43px}.habit-copy p{display:none}.archive{opacity:1}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.auth-card,.panel,.modal{padding:23px}.counter{gap:4px}.counter button{width:34px;height:34px}}
