/* THE one place for colors and fonts. A recolor or a font change is an edit to THIS file only (the name/wordmark is in brand.js, the favicon is favicon.svg).
   Every page loads brand.css before styles.css. Light theme = :root, dark theme = html[data-theme="dark"] (dark is the default).
   Not yet routed through tokens: some literal colors inside styles.css, shell.css, report.js (the printed report) and favicon.svg. See docs/DESIGN.md. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
:root { --font-body: 'Inter', system-ui, sans-serif; --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif; --intro-bg: #04070B; }
html[data-theme="light"] { --intro-bg: #EDF3F8; }
:root {
  --bg: #D6E4F0;
  --text: #1E3A4A;
  --label: #5B7F9A;
  --card: #FFFFFF;
  --accent: #4A90B8;
  --accent-dark: #3a7aa0;
  --tint-1: #F4F8FB;   /* faintest blue, table hover / quiet fills */
  --tint-2: #E8F0F7;   /* soft blue, chips and active rows */
  --line: #E3ECF4;     /* hairlines */
  --line-strong: #CBDCEA;
  --danger: #A94B4B;   /* functional only: error messages */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(30,58,74,.04), 0 6px 20px -12px rgba(30,58,74,.14);
  --ease: 180ms cubic-bezier(.2,.7,.2,1);
  /* surface tokens (light values reproduce the original look exactly) */
  --navy: #1E3A4A;            /* brand navy, constant in both themes */
  --link: #3a7aa0;
  --topbar-bg: #1E3A4A;
  --primary-bg: #1E3A4A;      /* the one emphasised KPI tile */
  --input-bg: #FFFFFF;
  --quiet-bg: rgba(255,255,255,.62);
  --chip-bg: rgba(255,255,255,.7);
  --danger-bg: #F7ECEC;
  --side-w: 300px;
  color-scheme: light;
}
/* Dark theme: the same brand blues, on deep-navy surfaces. Background < card < tint steps give the depth. */
html[data-theme="dark"] {
  --bg: #04070B;          /* near-black with a blue tint */
  --text: #FFFFFF;
  --label: #AEC2D1;
  --card:#0F1F2D;
  --accent: #4A90B8;
  --accent-dark: #3a7aa0;
  --link: #8CC8EA;
  --tint-1:#15293A;
  --tint-2:#1D3649;
  --line:#1F3548;
  --line-strong:#2E4A60;
  --danger: #F0A3A3;
  --danger-bg: #2A1719;
  --topbar-bg:#1E3A4A;
  --primary-bg:#1B4A66;
  --input-bg:#0A1621;
  --quiet-bg: rgba(255,255,255,.04);
  --chip-bg: rgba(255,255,255,.06);
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 10px 26px -16px rgba(0,0,0,.9);
  color-scheme: dark;
}
