/* CAM 2026 shared base. Tenant role tokens arrive from /api/theme in Phase 2 and override the
   neutral values below. Only role tokens may colour text or fills (CLAUDE.md rule 10). */
:root {
  --brand-primary: #28164f;
  --brand-secondary: #123547;
  --accent-ink: #28164f;      /* text/link on white, >= 4.5:1 */
  --accent-fill: #28164f;     /* buttons, progress fill, >= 3:1 vs white */
  --on-accent: #ffffff;       /* text on --accent-fill, >= 4.5:1 */
  --focus-ring: #123547;
  --page-bg: #f3f6f8;
  --card-bg: #ffffff;
  --ink: #1d2a33;
  --muted: #58707e;
  --line: #d8e2e8;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--page-bg);
}
header.plate { background: var(--brand-primary); color: var(--on-accent); padding: 1rem 1.25rem; }
header.plate .wordmark { font-weight: 700; letter-spacing: 0.02em; }
main { max-width: 56rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1rem 0; }
a { color: var(--accent-ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.button { display: inline-block; background: var(--accent-fill); color: var(--on-accent); border: 0; border-radius: 8px; padding: 0.7rem 1.1rem; font-weight: 600; text-decoration: none; }
.muted { color: var(--muted); }
footer { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem 2rem; color: var(--muted); font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
