/* Console styles: one file, system fonts, no third-party resources. */
:root {
  color-scheme: light dark;
  --background: #f6f7f9;
  --surface: #ffffff;
  --text: #16202a;
  --muted: #566372;
  --line: #cdd5de;
  --accent: #0b5cad;
  --accent-text: #ffffff;
  --danger: #a4161a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #11161c;
    --surface: #1a222b;
    --text: #e8edf2;
    --muted: #a3b0be;
    --line: #34414f;
    --accent: #6cb0f5;
    --accent-text: #08121d;
    --danger: #ff8a8d;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main {
  max-width: 28rem;
  margin: 8vh auto 0;
  padding: 0 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
}
h1 { font-size: 1.4rem; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
input[type="email"], input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--background);
  color: var(--text);
  font: inherit;
}
input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
button {
  margin-top: 1rem;
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.error { color: var(--danger); font-weight: 600; }
code, .secret {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}
a { color: var(--accent); }
