/* SMTC Equity Research Dashboard, per-dashboard theme (color/font tokens).
   Loaded AFTER /assets/css/01..07. Edit Semtech's palette and typeface here only.
   Accent: deep teal-green (#115e59), Semtech's brand family, chosen to be visually
   distinct from every accent already in registry.js, including the nearby dark
   teals MRVL #0d7b8a, PLTR #0E6E85, BESI #0e6f7c and the greens GEV #0e7c4a,
   IONQ #1f7a4d, SMCI #2d8a3a. Dark enough that white-on-accent text keeps ~7.5:1
   contrast, so no other tokens change. */
:root{
  color-scheme:light;
  --bg:#F6F3E9; --panel:#FFFFFF; --ink:#2E3018; --muted:#5A5A50; --line:#E4DFCF;
  --accent:#115e59; --accent-soft:#D9E8E6; --accent-deep:#0A3B38; --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). --chart-primary tracks the
     accent so editing the token re-colours the matching chart series. The bespoke
     `palette` array and `ink` stay in dashboard.js. */
  --chart-primary:#115e59;
  --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 accent: the deep teal is too dark against dark panels, lift to a brighter emerald-teal. */
body.dark{
  --bg:#16130E; --panel:#211C15; --ink:#F2EFE3; --muted:#A8A192; --line:#322B20; --chip:#2A241B;
  --accent:#47c7ac;
  --accent-soft:#17322F;
  --accent-deep:#06201E;
  --accent-bright:#f0c969;
}
