/* AMD Equity Research Dashboard, per-dashboard theme (color/font tokens).
   Loaded AFTER /assets/css/01..07. Edit AMD's palette and typeface here only.
   Brand accent: AMD corporate red. The true brand red is #ED1C24, but white
   button text on it only clears ~4.0:1, so --accent is nudged darker to
   #D71920 (white text passes 5.19:1). --accent-bright keeps the true #ED1C24
   for non-text bright highlights. */
:root{
  color-scheme:light;
  --bg:#F6F3E9; --panel:#FFFFFF; --ink:#2E3018; --muted:#5A5A50; --line:#E4DFCF;
  --accent:#D71920; --accent-soft:#FBE2E3; --accent-deep:#9e0a12; --accent-bright:#ED1C24;
  --green:#1f6e3a;  --green-soft:#e3f1e8;
  --red:#a82323;    --red-soft:#fae3e3;
  --amber:#a86b00;  --amber-soft:#fbeed3;
  --chip:#EFEBDC;   --blue:#1f4e79; --teal:#2c7873;
  --font-serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  /* Chart palette, primary set to AMD red; secondary/warm/cool drawn from the
     existing token palette (--blue/--amber/--teal) so charts read AMD-red-primary.
     Single source of colour truth: editing a token re-colours the matching series. */
  --chart-primary:#D71920;
  --chart-secondary:#1f4e79;
  --chart-warm:#a86b00;
  --chart-cool:#2c7873;
  --chart-positive:#1f6e3a;
  --chart-negative:#a82323;
  --chart-neutral:#5b6470;
  --chart-fill-alpha:0.12;
}
/* Dark-mode accents: AMD red is too saturated against dark panels, lift to a
   brighter red. Near-black button text passes 5.88:1 via the shared --on-accent. */
body.dark{
  --bg:#16130E; --panel:#211C15; --ink:#F2EFE3; --muted:#A8A192; --line:#322B20; --chip:#2A241B;
  --accent:#ff5a5f;
  --accent-soft:#3a1a1c;
  --accent-deep:#c5121a;
  --accent-bright:#ff9da0;
}
