:root{--bg:#f6f7f8;--card:#fff;--text:#17191c;--muted:#6f7782;--line:#e6e8eb;--accent:#111;--danger:#a82828;--ok:#1f6a43;--radius:16px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}.topbar{height:62px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:10}.user{font-size:14px}.muted,small{color:var(--muted)}.container{max-width:760px;margin:0 auto;padding:28px 20px 95px}.pagehead{margin-bottom:28px}.pagehead h1{font-size:30px;margin:12px 0 4px}.pagehead select,.search input{width:100%;max-width:420px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff;font:inherit}.back{font-size:14px;color:var(--muted)}h2{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#59606b;margin:28px 0 10px}.todo-grid{display:flex;gap:12px;flex-wrap:wrap}.todo{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:120px;padding:20px;display:flex;flex-direction:column;align-items:center}.todo strong{font-size:28px}.todo span{font-size:14px;margin-top:4px}.list{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.list-row{padding:17px 18px;display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--line)}.list-row:last-child{border-bottom:0}.list-row div{display:flex;flex-direction:column;gap:4px}.list-row small{display:block}.list-row.link:hover{background:#fafafa}.bottomnav{position:fixed;bottom:0;left:0;right:0;height:66px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:center;gap:36px;align-items:center;z-index:20}.bottomnav a{font-size:14px}.addbtn{width:42px;height:42px;border:0;border-radius:50%;background:#111;color:white;font-size:25px;opacity:.35}.auth-card{max-width:430px;margin:8vh auto;padding:30px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 35px rgba(0,0,0,.05)}.brandmark{width:48px;height:48px;border-radius:14px;background:#111;color:#fff;display:grid;place-items:center;font-weight:800}.auth-card h1{margin-bottom:4px}.auth-card form{display:flex;flex-direction:column;gap:16px;margin-top:24px}label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600}input,select,textarea{border:1px solid #d9dde2;border-radius:11px;padding:12px 13px;font:inherit;background:#fff}.button{display:inline-flex;justify-content:center;align-items:center;border-radius:11px;padding:12px 16px;border:1px solid var(--line);font-weight:700;cursor:pointer}.button.primary{background:#111;color:#fff;border-color:#111}.alert{border-radius:12px;padding:12px 14px;margin:16px 0}.alert.error{background:#fff0f0;color:var(--danger)}.alert.success{background:#edf8f2;color:var(--ok)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.empty{padding:25px;border:1px dashed #cfd4da;border-radius:16px;color:var(--muted);background:#fff}@media(max-width:640px){.topbar{padding:0 16px}.topbar .muted{display:none}.container{padding:22px 14px 92px}.bottomnav{gap:20px}.bottomnav a{font-size:12px}.grid2{grid-template-columns:1fr}.auth-card{margin:5vh 12px}.pagehead h1{font-size:27px}}
