/* MSFT Equity Research Dashboard, per-dashboard theme (color/font tokens).
   Loaded AFTER /assets/css/01..07. Edit MSFT's palette and typeface here only.
   Brand: Microsoft Azure blue, distinct from green/red used by other dashes. */
:root{
  --bg:#F6F3E9; --panel:#FFFFFF; --ink:#2E3018; --muted:#5A5A50; --line:#E4DFCF; --chip:#EFEBDC;
  --accent:#0078D4; --accent-soft:#D7DDE4; --accent-deep:#005A9E; --accent-bright:#50A7E8;
  --green:#1f7a4d;  --green-soft:#e9f3ea;
  --red:#b3261e;    --red-soft:#fbecea;
  --amber:#b4690e;  --amber-soft:#fbf2e3;
  --teal:#0e7490;   --teal-soft:#e3f1f5;
  --blue:#1d4ed8;
  --font-serif:Georgia,'Times New Roman',serif;
  --font-sans:'Inter','Helvetica Neue',Arial,sans-serif;
  --font-mono:'Inter','Helvetica Neue',Arial,sans-serif;

  /* Chart palette, read by getChartPalette() and merged into dashboard.js's `colors`.
     Values are IDENTICAL to MSFT's previous hardcoded chart literals (pure refactor). */
  --chart-primary:#0078D4;
  --chart-secondary:#0078D4;
  --chart-warm:#b4690e;
  --chart-cool:#0e7490;
  --chart-positive:#1f7a4d;
  --chart-negative:#b3261e;
  --chart-neutral:#56514a;
  --chart-fill-alpha:0.12;
}
body.dark{
  --bg:#16130E; --panel:#211C15; --ink:#F2EFE3; --muted:#A8A192; --line:#322B20; --chip:#2A241B;
  --accent:#50A7E8; --accent-soft:#1E2D39;
  --green:#5fcf95;  --green-soft:#16291f;
  --red:#f08a82;    --red-soft:#2a1614;
  --amber:#e0a350;  --amber-soft:#2a2110;
  --teal:#5bd0e0;   --teal-soft:#0c2630;
  --blue:#7ba6ff;
  --accent-deep:#003E73;
  --accent-bright:#A8D4F5;
}
/* Mid-size header breakpoints, keep ribbon readable at 1040-1200px. */
@media (max-width: 1200px) {
  header.top { gap: 8px 14px; }
  .ribbon { gap: 10px; }
  .stamp { font-size: 11px; }
  .ribbon .kv:nth-child(n+6) { display: none; } /* drop Base PT */
}
@media (max-width: 1040px) {
  .ribbon .kv:nth-child(n+5) { display: none; } /* also drop EV/Sales */
}
