/* The server-rendered pages: sign-in, refusal. Same tokens as the console (frontend/src/tokens.css). */
:root {
  --bg: #f6f5f2; --surface: #ffffff; --ink: #16181d; --muted: #5b606b; --rule: #dcd9d2;
  --accent: #c2410c; --accent-ink: #ffffff; --focus: #1d4ed8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111317; --surface: #191c21; --ink: #eceae6; --muted: #9ba0aa; --rule: #2a2d33;
          --accent: #ff8a4c; --accent-ink: #1a0d05; --focus: #93b4ff; }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.plain {
  min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex; align-items: center; justify-content: center; padding: 32px 16px;
}
.plain-wrap { width: 100%; max-width: 440px; }
.mark { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.name { font-weight: 700; letter-spacing: 0.02em; font-size: 18px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 28px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
.lede { color: var(--muted); margin: 0 0 22px; }
.fine { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.stack { display: grid; gap: 10px; }
label { font-weight: 600; font-size: 14px; }
.slug-field { display: flex; align-items: stretch; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--bg); }
.slug-field:focus-within { outline: 2px solid var(--focus); outline-offset: 1px; }
.slug-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); padding: 11px 12px; font: inherit; outline: none; }
.slug-field .suffix { display: flex; align-items: center; padding: 0 12px; color: var(--muted); border-left: 1px solid var(--rule); font-size: 14px; }
button.primary, a.button {
  display: inline-block; text-align: center; margin-top: 6px; border: 0; border-radius: 10px; padding: 12px 16px;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
button.primary:focus-visible, a.button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
code { font-size: 0.92em; }
