:root{color-scheme:light;--ink:#172f2a;--green:#164c3c;--green2:#2c8062;--cream:#f6f7f3;--line:#e1e8e0;--muted:#6b7c72;--gold:#dcac55}*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--cream)}body{margin:0;color:var(--ink)}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #80b79f;outline-offset:2px}.app-shell{max-width:580px;margin:auto;background:#fff;min-height:100vh;box-shadow:0 0 30px #1431280b}.topbar{padding:22px 22px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px}.brand-symbol{height:39px;width:39px;background:var(--green);color:#fff;border-radius:12px;display:grid;place-items:center;font-size:27px;font-weight:800}.brand-name{font-size:13px;letter-spacing:2px;font-weight:900}.brand-sub{font-size:10px;color:var(--muted);margin-top:3px}.icon-button{border:0;background:#eff4ef;color:var(--green);border-radius:11px;width:38px;height:38px;font-size:20px}.welcome{padding:28px 22px 22px;background:linear-gradient(135deg,#f7f8f2,#e8f1e9)}.eyebrow,.overline{font-size:10px;letter-spacing:1.6px;font-weight:900;color:var(--green2)}.eyebrow{display:flex;gap:10px;align-items:center}.eyebrow span{letter-spacing:.5px;color:#fff;background:var(--green2);padding:4px 7px;border-radius:5px;font-size:9px}h1{margin:13px 0 8px;line-height:1.1;letter-spacing:-1.4px;font-size:clamp(31px,8vw,42px)}h1 em{color:var(--green2);font-style:normal}.welcome p{color:#68786e;font-size:13px;line-height:1.5;margin:0;max-width:360px}.hero-card{margin:18px 18px 8px;border-radius:17px;background:#103b30;color:white;padding:20px}.hero-line,.hero-bottom{display:flex;justify-content:space-between;align-items:center;gap:9px}.hero-line{font-weight:800;font-size:14px}.hero-line span:last-child{color:#b7e5ca}.bar{height:10px;margin:17px 0 12px;background:#366558;border-radius:30px;overflow:hidden}.bar-fill{width:0;height:100%;background:#81d3a2;border-radius:30px;transition:width .3s}.hero-bottom{font-size:10px;color:#cadbd2}.tabs{margin:16px 18px 0;background:#f0f4ef;padding:5px;display:grid;grid-template-columns:repeat(3,1fr);border-radius:12px}.tab{border:0;border-radius:9px;padding:12px 5px;font-size:12px;background:transparent;color:#64766b;font-weight:750}.tab.active{background:white;color:#174a3b;box-shadow:0 2px 6px #0a352315}.view{display:none;padding:25px 18px 32px}.view.active{display:block}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:16px}h2{font-size:23px;letter-spacing:-.6px;margin:6px 0 0}h3{margin:0 0 12px;font-size:16px}.count-pill{font-size:12px;background:#e2f2e6;color:#1b6544;padding:7px 11px;border-radius:30px;font-weight:800}.day-switch{display:flex;align-items:center;justify-content:space-between;padding:0 4px 15px;font-weight:800}.day-switch button{background:#f0f5ef;border:0;border-radius:10px;width:37px;height:33px;font-size:23px;color:var(--green)}.tasks{display:flex;flex-direction:column;gap:11px}.task{display:flex;align-items:flex-start;gap:13px;padding:16px 13px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}.task:has(input:checked){background:#f0f8f1;border-color:#a6d7b7}.task input{width:21px;height:21px;flex-shrink:0;accent-color:var(--green2);margin:1px 0 0}.task-copy{display:flex;flex-direction:column;gap:5px;line-height:1.35}.task-title{font-size:14px;font-weight:800}.task-desc{font-size:12px;color:var(--muted)}.task:has(input:checked) .task-title{text-decoration:line-through;text-decoration-color:#7db48d;color:#678175}.category{font-size:9px;color:#1e7650;font-weight:850;letter-spacing:1px}.note{margin-top:20px;background:#f6f3ea;border-left:4px solid var(--gold);padding:13px 14px;border-radius:5px;font-size:12px;line-height:1.6;color:#5a594b}.muted{color:var(--muted);line-height:1.5}.small{font-size:12px}.calendar-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.calendar-day{aspect-ratio:1;background:#f3f5f1;border:1px solid var(--line);border-radius:13px;font-weight:800;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.calendar-day small{font-weight:500;font-size:9px;color:var(--muted)}.calendar-day.done{background:#e0f3e4;border-color:#91d4a6;color:#206e46}.calendar-day.partial{background:#fff3d9;border-color:#e7cd85}.calendar-day.selected{outline:3px solid var(--green)}.legend{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:17px;font-size:11px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:5px}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#e8ece8}.dot.green{background:#80c995}.dot.gold{background:#e9c677}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat,.panel{border:1px solid var(--line);border-radius:13px;padding:17px}.stat small{font-size:11px;color:var(--muted);display:block;margin-bottom:9px}.stat strong{font-size:22px}.panel{margin-top:14px}.panel label,dialog label:not(.file-label){display:block;color:#42574a;font-size:12px;font-weight:700;margin-bottom:14px}input:not([type=checkbox]):not([type=file]){display:block;width:100%;padding:12px;border:1px solid #d6e1d7;border-radius:8px;background:#fff;color:var(--ink);margin-top:6px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary{background:var(--green);color:#fff;border:none;border-radius:10px;padding:13px 15px;width:100%;font-weight:800}.secondary{background:#f0f4ef;color:var(--green);border:1px solid #d9e7dc;border-radius:9px;padding:11px 12px;text-align:center;font-weight:750;font-size:12px}.history-item,.week-item{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:11px 0;gap:10px;font-size:13px}.history-item:last-child,.week-item:last-child{border-bottom:0}.history-item small{color:var(--muted);font-size:11px}.week-item span{font-size:12px;color:var(--muted);text-align:right}footer{text-align:center;padding:20px;font-size:9px;font-weight:850;letter-spacing:1.2px;color:#8da196;border-top:1px solid var(--line)}footer span{color:#c7d1c8}dialog{width:min(92vw,450px);border:none;border-radius:19px;padding:23px;box-shadow:0 20px 75px #0b322b55;color:var(--ink)}dialog::backdrop{background:#051c16ad}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}.file-label{cursor:pointer}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#14382f;color:#fff;border-radius:11px;padding:12px 18px;font-size:13px;max-width:90vw;display:none;z-index:20}@media(min-width:580px){.app-shell{margin:15px auto;min-height:calc(100vh - 30px);border-radius:20px;overflow:hidden}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
