:root { --bg:#f6f5f1; --panel:#ffffff; --ink:#1d1c1a; --muted:#6b6860; --line:#d9d6cd; --accent:#2f5d50; --on-accent:#ffffff; --danger:#a3322b; color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#171614; --panel:#201f1c; --ink:#ecebe6; --muted:#a09c92; --line:#3a3833; --accent:#8fc7b3; --on-accent:#10201b; --danger:#f0968f; }
}
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; display:grid; place-items:center; padding:16px; background:var(--bg); color:var(--ink); font:16px/1.5 system-ui, sans-serif; }
main { width:100%; max-width:22rem; }
h1 { font-size:1.6rem; line-height:1.2; margin:0 0 1.2rem; }
form { display:grid; gap:0.4rem; padding:1.25rem; background:var(--panel); border:1px solid var(--line); border-radius:12px; }
label { font-size:0.875rem; color:var(--muted); margin-top:0.5rem; }
input { font:inherit; padding:0.6rem 0.7rem; border:1px solid var(--line); border-radius:8px; background:var(--bg); color:var(--ink); }
input:focus-visible, button:focus-visible, a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
button[type=submit] { margin-top:1rem; font:inherit; font-weight:600; padding:0.65rem; border:0; border-radius:8px; background:var(--accent); color:var(--on-accent); cursor:pointer; }
button[disabled] { opacity:0.6; cursor:default; }
.link { font:inherit; background:none; border:0; padding:0; color:var(--accent); text-decoration:underline; cursor:pointer; }
#error { color:var(--danger); margin:0.5rem 0 0; font-size:0.9rem; }
p { margin:1rem 0 0; font-size:0.9rem; color:var(--muted); }
a { color:var(--accent); }
