:root { --bg:#f4f5f7; --card:#fff; --text:#1d1f23; --muted:#6b7280; --accent:#2563eb; --border:#e3e5e8; --err:#dc2626; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#0f1115; --card:#181b21; --text:#e8eaed; --muted:#9aa0a8; --accent:#5b8cff; --border:#2a2e36; --err:#f87171; }
}
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; display:grid; place-items:center; padding:16px; font:15px/1.45 system-ui, -apple-system, Segoe UI, sans-serif; background:var(--bg); color:var(--text); }
.card { width:min(380px, 100%); background:var(--card); border:1px solid var(--border); border-radius:12px; padding:28px; }
h1 { font-size:22px; margin:0 0 4px; }
.sub { color:var(--muted); margin:0 0 20px; word-break:break-word; }
label { display:block; font-size:13px; color:var(--muted); margin:12px 0 4px; }
input { width:100%; padding:10px 12px; font:inherit; color:inherit; border:1px solid var(--border); border-radius:8px; background:var(--bg); }
button { width:100%; margin-top:20px; padding:11px; font:inherit; font-weight:600; border:0; border-radius:8px; background:var(--accent); color:#fff; cursor:pointer; }
button:disabled { opacity:.6; cursor:default; }
.error { color:var(--err); font-size:13px; margin-top:12px; min-height:1em; }
.hint { color:var(--muted); font-size:13px; margin:16px 0 0; text-align:center; }
a { color:var(--accent); }
