/* SPCX (SpaceX) Equity Research Dashboard - per-dashboard theme (an "orbital blue" identity for
   the launch + Starlink franchise). Loaded AFTER /assets/css/01..07. Edit SpaceX's palette here only.
   Accent: a vivid rocket blue - distinct from CRWV royal blue (#1d4ed8) and ZS sky-blue (#0075c9),
   leaning brighter/cleaner. Dark accent (light blue) uses near-black foreground per the
   contrast-aware --on-accent convention; light accent (deep blue) uses white. */
:root{
  color-scheme:light;
  --bg:#F5F6FA; --panel:#FFFFFF; --ink:#1B2233; --muted:#586074; --line:#E1E4EC;
  --accent:#2F6FED; --on-accent:#FFFFFF; --accent-soft:#E4ECFC; --accent-deep:#1E4FB8; --accent-bright:#5B8DFF;
  --green:#1f8a4d;  --green-soft:#e2f3e9;
  --red:#c0392b;    --red-soft:#fae4e2;
  --amber:#a86b00;  --amber-soft:#fbeed3;
  --chip:#EDF0F6;   --blue:#1E4FB8; --teal:#0e8fa8;
  --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`. Rocket-blue primary + slate/plasma-cyan/mars-rust secondaries so
     the 2-3 series per chart stay legible in both modes. */
  --chart-primary:#2F6FED;
  --chart-secondary:#5B6470;
  --chart-warm:#C2410C;
  --chart-cool:#0e8fa8;
  --chart-positive:#1f8a4d;
  --chart-negative:#c0392b;
  --chart-neutral:#8A8FA0;
  --chart-fill-alpha:0.14;
}
/* Dark-mode: standard dark surfaces; the accent lifts to a lighter blue for legibility on dark
   panels, so the on-accent foreground flips to near-black (per the a11y convention). */
body.dark{
  --bg:#0C1017; --panel:#141A25; --ink:#EEF1F7; --muted:#9AA3B5; --line:#26303F; --chip:#1B2330;
  --accent:#6F9BFF;
  --on-accent:#0D1220;
  --accent-soft:#182437;
  --accent-deep:#2F6FED;
  --accent-bright:#9DBBFF;
  --teal:#3fc0d6;
  --chart-primary:#6F9BFF;
  --chart-cool:#3fc0d6;
}
