:root {
  --ground: #eef1f0; --panel: #ffffff; --ink: #1c2a2e; --muted: #5d6c70;
  --line: #c9d2d1; --accent: #1f5f8b; --accent-ink: #ffffff; --crit: #b23232;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141b1d; --panel: #1b2427; --ink: #e4ebec; --muted: #97a6a9;
    --line: #34444a; --accent: #7ab6dd; --accent-ink: #0f1a1f; --crit: #f08080;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; display: grid; place-items: center; padding: 1.5rem;
  background: var(--ground); color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.5;
}
.card {
  width: min(24rem, 100%); background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 2rem;
}
h1 { margin: 0 0 .5rem; font-size: 1.375rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1.25rem; color: var(--muted); }
label { display: block; margin-bottom: .375rem; font-size: .875rem; font-weight: 600; }
input {
  width: 100%; padding: .625rem .75rem; margin-bottom: 1rem; font: inherit;
  color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 6px;
}
input:focus-visible, button:focus-visible, .link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button {
  width: 100%; padding: .65rem 1rem; font: inherit; font-weight: 600; cursor: pointer;
  color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 6px;
}
button:disabled { opacity: .6; cursor: default; }
.note { margin: 1.25rem 0 0; color: var(--ink); }
.error { margin: 1rem 0 0; color: var(--crit); }
.link { color: var(--accent); }
[hidden] { display: none !important; }
