/* The portal's shared layout - the login, sign-out and venue-list pages. A venue's own page is the
   KPI Tracker exactly as approved; nothing is injected into it (its bytes are read back against
   the approved sha256). */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --muted: #6b6a66;
  --line: #d9d6cf;
  --accent: #c8862b;
  --err: #a3271b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --surface: #222220;
    --ink: #eeece7;
    --muted: #a9a7a1;
    --line: #3a3936;
    --accent: #e0a24c;
    --err: #f08a7e;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
}
h1 { font-size: 22px; font-weight: 400; margin: 0 0 8px; }
.lede { color: var(--muted); margin: 0 0 16px; }
.err { color: var(--err); margin: 0 0 12px; }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 4px; }
input {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
button {
  margin-top: 20px;
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) { button { color: var(--bg); } }
.venues { padding-left: 20px; }
.venues a, .card a { color: var(--ink); }
footer.hp { margin-top: 24px; }
.wordmark { font-weight: 100; letter-spacing: 0.2em; font-size: 12px; color: var(--muted); }
.wordmark .dot { color: var(--accent); }
