:root { color-scheme: light dark; --bg: #f2f4f8; --card: #fff; --text: #16181d; --muted: #5f6673; --line: #dfe3ea; --accent: #1f6feb; --err: #c0392b; }
@media (prefers-color-scheme: dark) { :root { --bg: #0b0d12; --card: #15181f; --text: #eef0f4; --muted: #a3aab7; --line: #2a2f39; --accent: #5aa7ff; --err: #ff7b6b; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--bg); color: var(--text); font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: 0 20px 50px rgba(10, 20, 40, .12); }
.logo { width: 44px; height: 44px; display: block; margin-bottom: 14px; }
h1 { font-size: 22px; margin: 0 0 18px; letter-spacing: -.01em; }
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
label[hidden] { display: none; }
input { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 10px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
button { width: 100%; margin-top: 6px; padding: 12px; font: inherit; font-weight: 600; color: #fff; background: var(--accent); border: 0; border-radius: 10px; cursor: pointer; }
button:disabled { opacity: .6; cursor: default; }
.err { color: var(--err); font-size: 14px; margin: 0 0 14px; }
.note { font-size: 15px; margin: 0 0 14px; }
.agree { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.agree input { display: block; flex: none; width: 18px; height: 18px; margin: 1px 0 0; }
.agree a, .links a { color: var(--accent); }
button.quiet { margin-top: 0; padding: 8px; font-weight: 500; color: var(--accent); background: none; }
.links { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; font-size: 14px; }
.links:empty { display: none; }
