:root { --bg: #f4f5f7; --panel: #fff; --ink: #1a1d21; --muted: #5f6873; --line: #d5d9df; --accent: #1c5fb8; --bad: #b3261e; }
@media (prefers-color-scheme: dark) { :root { --bg: #15181c; --panel: #1f2329; --ink: #e8eaed; --muted: #a0a8b2; --line: #363c44; --accent: #7fb0f0; --bad: #f2867e; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--bg); color: var(--ink); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
form { width: 100%; max-width: 340px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
h1 { margin: 0 0 18px; font-size: 19px; font-weight: 600; }
label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
input { width: 100%; padding: 9px 10px; font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 6px; }
p { min-height: 20px; margin: 8px 0; color: var(--bad); font-size: 13px; }
button { width: 100%; padding: 9px; font: inherit; font-weight: 600; color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer; }
@media (prefers-color-scheme: dark) { button { color: #10151b; } }
