:root { color-scheme: light dark; --bg: #f5f6f8; --card: #ffffff; --text: #17191e; --muted: #5c6370; --line: #d5d9e0; --accent: #2f6fde; --on-accent: #ffffff; --error: #c22f29; }
@media (prefers-color-scheme: dark) { :root { --bg: #111318; --card: #1a1d24; --text: #e7e9ee; --muted: #99a1ad; --line: #2f343e; --accent: #5d8ff2; --on-accent: #0c0f15; --error: #ff6d64; } }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; display: grid; place-items: center; padding: 24px; background: var(--bg); color: var(--text); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { width: 100%; max-width: 360px; }
form { padding: 28px 24px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
h1 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.lede { margin: 0 0 8px; color: var(--muted); }
label { display: block; margin: 16px 0 6px; font-size: 13px; font-weight: 500; }
input { width: 100%; padding: 10px 12px; font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 8px; }
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
button { width: 100%; margin-top: 22px; padding: 10px 12px; font: inherit; font-weight: 600; color: var(--on-accent); background: var(--accent); border: 0; border-radius: 8px; cursor: pointer; }
button:disabled { opacity: 0.6; cursor: progress; }
#error { margin: 14px 0 0; color: var(--error); font-size: 13px; }