/* The demos' shared look, atlas-voice-assistant's Tailwind theme spelled out:
   Gemini blue, the decision model green, warnings amber. Each page adds its own layout. */
:root {
  --canvas: #09090b; --stage: #0c0c0e; --panel: #111113; --panel-hover: #16161a; --line: #27272a;
  --accent: #3b82f6; --accent-ink: #60a5fa; --live: #10b981; --live-ink: #34d399;
  --warn: #f59e0b; --warn-ink: #fbbf24; --danger: #ef4444; --danger-ink: #f87171;
  --z200: #e4e4e7; --z300: #d4d4d8; --z400: #a1a1aa; --z500: #71717a; --z600: #52525b; --z700: #3f3f46;
  --sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--z200);
  font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, select, input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.caps { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--z500); }
.empty { font: italic 10px/1.6 var(--mono); color: var(--z600); margin: 0; }
.err { color: var(--danger-ink); font-size: 12px; }

/* The access key gate, built by common.js the first time the server asks for a key. */
dialog.gate { width: min(384px, calc(100vw - 32px)); padding: 32px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--panel); color: var(--z200); }
dialog.gate::backdrop { background: var(--canvas); }
.gate header { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 24px; }
.gate header div { width: 48px; height: 48px; border-radius: 12px; background: rgba(59,130,246,.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; }
.gate h1 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.gate p { margin: 0; font-size: 12px; color: var(--z500); }
.gate input { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--canvas);
  color: var(--z200); font: 14px var(--mono); outline: none; }
.gate input:focus { border-color: var(--accent); }
.gate button { width: 100%; margin-top: 16px; padding: 12px; border: 0; border-radius: 12px; background: var(--accent);
  color: #fff; cursor: pointer; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.gate button:hover { background: #2563eb; }
