/*
 * Per-instance theme. Override this file (volume-mount in Docker, or THEME_PATH
 * env var) to rebrand every artifact rendered by this server — no code changes.
 * Only CSS custom properties belong here; templates consume them via Tailwind
 * theme tokens defined in src/templates/tailwind.css.
 */
:root {
  --ap-brand: #4f46e5;
  --ap-brand-fg: #ffffff;
  --ap-surface: #ffffff;
  --ap-surface-alt: #f4f4f5;
  --ap-ink: #18181b;
  --ap-ink-muted: #52525b;
  --ap-accent: #0ea5e9;
  --ap-font-body: ui-sans-serif, system-ui, sans-serif;
  --ap-font-heading: ui-sans-serif, system-ui, sans-serif;
  --ap-radius-card: 0.75rem;
  /* Categorical palette: card accents, chart series, quiz breakdowns.
     Overridden per artifact when the LLM picks a named scheme. */
  --ap-c1: #4f46e5;
  --ap-c2: #0ea5e9;
  --ap-c3: #10b981;
  --ap-c4: #f59e0b;
  --ap-c5: #ec4899;
  --ap-c6: #8b5cf6;
  /* Optional logo shown in the artifact page header; empty hides it. */
  --ap-logo-url: url('');
}

@media (prefers-color-scheme: dark) {
  :root {
    --ap-surface: #18181b;
    --ap-surface-alt: #27272a;
    --ap-ink: #fafafa;
    --ap-ink-muted: #a1a1aa;
  }
}
