/* SEGO PAI tokens. APPROVED by Michael 2026-12-04 for colors and the shared guide.
   Based on gateway-src/public/app.css. Light bg, card, focus, line and dark card
   already match the Dec 2 locked AskBoard guide values. Changes vs app.css are marked NEW. */
:root{
  --bg:#FFFFFF; --ink:#191411; --secondary:#4A423B; --muted:#6B625A;
  --line:#E4DCCF;            /* decorative dividers and card edges only (1.36:1) */
  --control-border:#8C8378;  /* NEW: inputs, checkboxes, any border that must be seen (3.73:1) */
  --card:#FAF7F2;
  --focus:#8A6B2C;           /* gold-deep: focus ring, gold text, links, PAI in wordmark (4.98:1) */
  --gold:#B8964F;            /* FILL ONLY: button fill, dot, rules. Never text, never sole focus cue (2.79:1) */
  --on-gold:#191411;         /* NEW name: text on --gold fill (6.54:1) */
  --page-max:1260px;            /* website page max. Decided by CTO 2026-12-04; CTO reports Michael delegated this */
  --reading-max:680px;         /* website reading column. Desktop diff and evidence views may use full width */
  --serif:"Newsreader",Georgia,serif;
  --sans:"DM Sans",system-ui,"Helvetica Neue",Arial,sans-serif;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#0B0907; --ink:#FAF6EF; --secondary:#D8D0C4; --muted:#AEA498;
  --line:#2E2721;
  --control-border:#776D62;  /* NEW (3.93:1 on bg, 3.68:1 on card) */
  --card:#16120E;
  --focus:#B8964F;           /* on dark, plain gold is safe for text and focus (7.11:1) */
  --gold:#B8964F; --on-gold:#191411;
}}
