/* Theme: aluminium extrusion. Light industrial greys; Pro Sicht green leads,
   steel blue and hot-metal amber support. Keep colours as hex. */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  color-scheme: light;

  --bg: #f5f7f8;
  --bg-2: #e9eef1;
  --panel: #ffffff;
  --line: rgb(22 33 43 / .12);
  --shadow: 0 18px 48px rgb(22 40 55 / .10);

  /* text (contrast on --bg: fg ~15, fg-soft ~8, muted ~5.4) */
  --fg: #16212b;
  --fg-soft: #36444f;
  --muted: #5b6670;

  /* accents (on --bg: accent ~4.9, accent-2 ~6.4, accent-3 ~5.6) */
  --accent: #0f7a63;
  --on-accent: #ffffff;
  --accent-2: #1f5f8f;
  --accent-3: #a8561a;

  /* sim-only material tones */
  --metal: #aeb9c2;
  --metal-hi: #dfe5ea;

  --good: #1d7f52;
  --warn: #9a6200;
  --bad: #c23838;

  --font-display: 'Chakra Petch', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --title-weight: 700;
  --title-tracking: -.015em;

  --radius: 14px;
  --term-bg: #fbfcfd;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101418;
  --bg-2: #171c21;
  --panel: #1c2228;
  --line: rgb(230 236 240 / .12);
  --shadow: 0 24px 64px rgb(0 0 0 / .35);
  --fg: #e8edf0;
  --fg-soft: #b7c1c8;
  --muted: #8a959d;
  --accent: #3fc9a4;
  --on-accent: #06201a;
  --accent-2: #7cc4ff;
  --accent-3: #f0a868;
  --metal: #5d6973;
  --metal-hi: #8794a0;
  --good: #5fd39a;
  --warn: #ffcf5c;
  --bad: #ff6b6b;
  --term-bg: #0c0f12;
}
