/* CRDO Equity Research Dashboard, per-dashboard theme (copper accent for the AEC connectivity identity).
   Loaded AFTER /assets/css/01..07. Edit Credo's palette and typeface here only.
   Accent: copper, evokes Credo's AEC (Active Electrical Cable) connectivity identity,
   distinct from MRVL teal, NTNX navy, IONQ forest green, and SMCI emerald. */
:root{
  color-scheme:light;
  --bg:#F6F3E9; --panel:#FFFFFF; --ink:#2E3018; --muted:#5A5A50; --line:#E4DFCF;
  --accent:#b87333; --on-accent:#15171a; --accent-soft:#EEE2CB; --accent-deep:#7a4d22; --accent-bright:#f0c969;
  --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 CRDO'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 `palette`
     array and `ink` stay in dashboard.js. */
  --chart-primary:#b87333;
  --chart-secondary:#1f4e79;
  --chart-warm:#a86b00;
  --chart-cool:#2c7873;
  --chart-positive:#1f6e3a;
  --chart-negative:#a82323;
  --chart-neutral:#7a6e60;
  --chart-fill-alpha:0.12;
}
/* Dark-mode accent: deep copper too muted against dark panels, lift to brighter shade. */
body.dark{
  --bg:#16130E; --panel:#211C15; --ink:#F2EFE3; --muted:#A8A192; --line:#322B20; --chip:#2A241B;
  --accent:#d4955a;
  --accent-soft:#322A24;
  --accent-deep:#7a4d22;
  --accent-bright:#f0c969;
}
