/* The new design for the SPA screens: admin panel, tickets, verify and reset pages.
   It overrides style.css, so the markup and the logic of app.js stay untouched. */
:root {
  color-scheme: light;
  --bg: #ebebe9; --panel: #f5f5f3; --raised: #fbfbfa; --text: #0d0d0d; --muted: #5c5c58; --line: #cdcdc9;
  --accent: #7c5cff; --accent-text: #ffffff; --ok: #1e9a52; --warn: #b26a00; --bad: #d43a2a;
  --warn-bg: #fff4e0; --bad-bg: #fdecea; --ok-bg: #e6f7ee;
  --sans: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0c0c0d; --panel: #131315; --raised: #18181a; --text: #f1f1ee; --muted: #a2a29d; --line: #2b2b2f;
    --accent: #9783ff; --accent-text: #0c0c0d; --ok: #4ade80; --warn: #ffb224; --bad: #ff7b72;
    --warn-bg: #2e2208; --bad-bg: #331614; --ok-bg: #10291a;
  }
}

body { font: 14px/1.6 var(--mono); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(22px, 2.4vw, 30px); }
h3 { color: var(--text); font-weight: 600; }
a { color: var(--accent); }

.top { border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 16px; }
nav a:not(.button) { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
main { max-width: 76rem; }
.bottom { font-size: 12px; }

.panel { border-radius: 0; }
.stat { border-radius: 0; }
.notice { border-radius: 0; border: 1px solid currentColor; }
.notice.bad, .notice.warn, .notice.ok { background: transparent; }
.secret { border-radius: 0; }

input, select, textarea { border-radius: 0 !important; background: var(--raised) !important; }

button, .button {
  font: 700 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em;
  border-radius: 0; padding: 12px 16px;
  border: 1px solid var(--text); background: var(--text); color: var(--bg);
}
button:hover, .button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
button.quiet { background: transparent; color: var(--text); border-color: var(--line); }
button.quiet:hover { background: transparent; border-color: var(--text); color: var(--text); }
button.danger { background: transparent; color: var(--bad); border-color: var(--bad); }
button.danger:hover { background: var(--bad); color: #fff; }
.button.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button.ghost:hover { background: var(--text); color: var(--bg); }

.chip { border-radius: 0; text-transform: uppercase; font-size: 10px; letter-spacing: .05em; }
th { font: 600 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
td { font-size: 13px; }
td button { padding: 6px 10px; font-size: 10px; }
.tabs a:not(.button) { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.eyebrow { font: 600 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.check { font-size: 13px; }
