/* The admin sign-in page (public before sign-in, so plain CSS next to login.html): the same flat look as the page. */
:root {
  color-scheme: light dark;
  --bg: #f5f6f8; --surface: #ffffff; --line: #e4e7ec; --text: #101828; --muted: #667085; --accent: #2563eb;
  --red: #dc2626; --red-soft: #fef3f2;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1115; --surface: #171a20; --line: #2a2f39; --text: #e8eaee; --muted: #8c94a3; --accent: #5b8def; --red: #f26b6b; --red-soft: #2e1717; }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  display: grid; place-items: center; min-height: 100vh; padding: 16px;
  font: 400 14px/1.5 Inter, 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif; color: var(--text); background: var(--bg);
}
.login { width: min(400px, 100%); padding: 28px 26px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.brand { margin: 0; font-size: 18px; font-weight: 650; }
.brand span { font-weight: 400; color: var(--muted); }
.hint { margin: 8px 0 18px; color: var(--muted); }
.hint.small { margin: 16px 0 0; font-size: 12.5px; }
.go { display: block; padding: 10px 16px; text-align: center; font-weight: 500; text-decoration: none; color: #fff; border-radius: 6px; background: var(--accent); }
.go:hover, .go:focus-visible { background: color-mix(in srgb, var(--accent) 88%, #000); outline: none; }
.msg { margin: 0 0 14px; padding: 9px 12px; border-radius: 6px; color: var(--red); background: var(--red-soft); }
.msg[hidden] { display: none; }
