:root { color-scheme: light dark; --bg: #f4f5f7; --card: #ffffff; --ink: #1c2430; --muted: #5b6675; --line: #d5dae1; --accent: #1f6feb; --accent-ink: #ffffff; --alert-bg: #fdecec; --alert-ink: #8a1c1c; }
@media (prefers-color-scheme: dark) { :root { --bg: #12161c; --card: #1b212a; --ink: #e8ecf1; --muted: #9aa5b4; --line: #2e3744; --accent: #4c8dff; --accent-ink: #0b1220; --alert-bg: #3a1d1d; --alert-ink: #ffb4b4; } }
* { 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(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.card { width: 100%; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.brand { margin: 0 0 20px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
h1 { margin: 0 0 4px; font-size: 1.5rem; }
.muted { margin: 0 0 20px; color: var(--muted); }
.account { margin: 0 0 16px; font-weight: 600; overflow-wrap: anywhere; }
label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 0.9rem; }
input[type=email], input[type=password], select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); font: inherit; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, a.button { display: block; width: 100%; margin-top: 20px; padding: 11px 14px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
button.link { margin-top: 14px; padding: 6px; background: none; color: var(--accent); font-weight: 400; }
.alert { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: var(--alert-bg); color: var(--alert-ink); }
.products a.button { margin-top: 12px; }