:root { color-scheme: light; --ink:#15332f; --muted:#647c74; --green:#0e7469; --mint:#e7f4ee; --line:#dfe9e4; --bg:#eff5f0; --white:#fff; }
* { box-sizing:border-box; }
html { min-height:100%; background:var(--bg); }
body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; color:var(--ink); background:radial-gradient(circle at top right,#d7eee4,transparent 38%),var(--bg); }
button,input { font:inherit; }
button { cursor:pointer; }
button:focus-visible,input:focus-visible { outline:3px solid #5fbc9f; outline-offset:2px; }
.shell { max-width:660px; margin:0 auto; padding:25px 18px max(28px,env(safe-area-inset-bottom)); }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:5px 2px 28px; }
.brand { font-weight:750; font-size:19px; display:flex; align-items:center; gap:9px; }
.brand-mark { display:grid; place-items:center; height:31px; width:31px; border-radius:10px; background:#165e51; color:#fff; font-weight:850; }
.tag { font-size:11px; letter-spacing:.02em; background:#e3f3e9; color:#317566; padding:7px 10px; border-radius:99px; font-weight:650; }
.hero { padding:8px 6px 28px; }
.eyebrow { color:var(--green); font-size:13px; font-weight:750; letter-spacing:.12em; }
h1 { margin:12px 0 25px; font-size:clamp(35px,7.4vw,49px); line-height:1.27; letter-spacing:-.055em; font-weight:820; }
h1 span { color:#439781; }
.meter { height:9px; border-radius:10px; background:#d4e4db; overflow:hidden; }
.meter-fill { height:100%; width:0%; background:linear-gradient(90deg,#167669,#59b796); border-radius:10px; transition:width .25s ease; }
.summary { margin:10px 0 0; font-size:13px; color:var(--muted); }
.task-card { padding:22px 18px 13px; border-radius:24px; background:#fff; box-shadow:0 12px 40px #15332f0b; }
.section-head { display:flex; align-items:baseline; justify-content:space-between; margin:0 3px 17px; }
h2 { margin:0; font-size:20px; }
.task-count { color:var(--muted); font-size:13px; }
.add-form { display:flex; gap:8px; padding:5px; background:#f1f6f3; border:1px solid #e6ede9; border-radius:14px; }
.add-form input { flex:1; width:0; min-height:41px; border:0; padding:0 9px; outline:none; background:transparent; font-size:15px; color:var(--ink); }
.add-form input::placeholder { color:#97aba1; }
.add-form button { border:0; border-radius:10px; padding:0 15px; background:#186c61; color:white; font-weight:700; white-space:nowrap; }
.add-form button span { font-size:20px; vertical-align:-1px; }
.filters { display:flex; gap:8px; padding:20px 0 8px; }
.filter { padding:8px 13px; border-radius:99px; border:0; background:transparent; color:#7a9187; font-size:13px; font-weight:700; }
.filter.active { background:#e6f3eb; color:#1c7061; }
.task-list { list-style:none; margin:0; padding:0; min-height:100px; }
.task-item { display:flex; align-items:center; gap:12px; min-height:61px; border-bottom:1px solid #edf1ee; }
.task-item:last-child { border-bottom:0; }
.task-check { appearance:none; display:grid; place-items:center; width:23px; height:23px; flex:0 0 23px; border:2px solid #b6cbc0; border-radius:8px; margin:0 0 0 3px; background:#fff; }
.task-check:checked { background:#2d9480; border-color:#2d9480; }
.task-check:checked::before { content:'✓'; color:white; font-size:15px; font-weight:800; }
.task-text { flex:1; font-size:15px; overflow-wrap:anywhere; padding:13px 0; line-height:1.4; }
.task-item.done .task-text { color:#9aaea4; text-decoration:line-through; }
.delete { border:0; background:transparent; color:#b5c4bb; font-size:24px; line-height:1; padding:10px 5px; }
.delete:hover { color:#bf554d; }
.empty { padding:33px 4px; color:#80978b; text-align:center; font-size:14px; }
.footer-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:13px 2px 0; font-size:12px; color:#91a79c; border-top:1px solid #edf1ee; }
.text-button { border:0; background:transparent; padding:6px 0; font-size:12px; color:#1d8070; white-space:nowrap; }
.text-button:disabled { opacity:.4; cursor:default; }
.install-card { display:flex; gap:13px; align-items:flex-start; margin-top:18px; padding:17px; border:1px solid #d9e6dd; border-radius:17px; background:#e5f1e9; }
.install-icon { border-radius:11px; background:white; color:#328672; font-size:22px; font-weight:700; min-width:41px; height:41px; display:grid; place-items:center; }
.install-card strong { font-size:14px; }
.install-card p { margin:4px 0 0; color:#5c7e6f; line-height:1.6; font-size:12px; }
footer { text-align:center; padding:24px 0 0; font-size:11px; color:#96a99e; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
@media (max-width:360px) { .shell {padding-left:12px;padding-right:12px;} .task-card {padding-left:13px;padding-right:13px;} .tag {font-size:10px;} .filter {padding-left:9px;padding-right:9px;} }
