/* NVDA Equity Research Dashboard, per-dashboard theme (color/font tokens).
   Loaded AFTER /assets/css/01..07.
   Accent: editorial NVIDIA green, darker than the brand #76b900 to read as a
   distinct dashboard accent in side-by-side library views (SMCI is emerald
   #2d8a3a and IONQ is forest #2c7873). #5a8f0a sits half a tone darker than
   the NVIDIA brand without losing the brand association, appropriate for
   the capstone Buy in the AI compute silicon category. */
:root{
  color-scheme:light;
  --bg:#F6F3E9; --panel:#FFFFFF; --ink:#2E3018; --muted:#5A5A50; --line:#E4DFCF;
  --accent:#5a8f0a; --on-accent:#15171a; --accent-soft:#D7E3CF; --accent-deep:#3d6107; --accent-bright:#76b900;
  --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, read by assets/js/charts-core.js#getChartPalette() and merged into
     dashboard.js's `colors` (the 7 scalar chart colours). Values are IDENTICAL to NVDA's
     previous hardcoded chart literals, so this is a pure refactor (single source of colour
     truth): editing a token now re-colours the matching chart series. The bespoke 7-colour
     `palette` array (palette[1] = #76b900 NVIDIA brand green) stays in dashboard.js. */
  --chart-primary:#5a8f0a;
  --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: lift to the NVIDIA brand green for stronger legibility against
   dark panels, the #76b900 is the iconic brand color and reads beautifully
   on near-black backgrounds. */
body.dark{
  --bg:#16130E; --panel:#211C15; --ink:#F2EFE3; --muted:#A8A192; --line:#322B20; --chip:#2A241B;
  --accent:#9dd13a;
  --accent-soft:#29331F;
  --accent-deep:#0e1604;
  --accent-bright:#bef47a;
}
