/* Colour tokens (dark only), resets and base typography.
   Stylesheets are linked in a fixed order in index.html — later
   files rely on overriding earlier ones, so keep that order. */

:root {
  /* The whole app is dark, always, whatever the browser or OS is set to.
     Same palette as the public site and Home: teal on green-black.
     Elevation is carried by borders, so --shadow is flat. */
  color-scheme: dark;
  --bg: #071817;
  --panel: #0c2321;
  --panel-alt: #112c2a;
  --ink: #eef6f5;
  --ink-soft: #b3cbc8;
  --ink-faint: #8ea9a6;
  --border: #1e3d3a;
  --brand: #4fc0b8;
  --brand-ink: #6fd6cc;
  --brand-bg: #12322f;
  --on-brand: #04211f;
  --critical: #f2938b;
  --critical-bg: rgba(242, 147, 139, 0.1);
  --critical-border: rgba(242, 147, 139, 0.34);
  --warning: #e8b968;
  --warning-bg: rgba(232, 185, 104, 0.1);
  --warning-border: rgba(232, 185, 104, 0.34);
  --ok: #59c69a;
  --ok-bg: rgba(89, 198, 154, 0.1);
  --ok-border: rgba(89, 198, 154, 0.3);
  --shadow: none;
  --radius: 14px;
}

/* A dropdown's open list is drawn by the browser, not the page. Where a
   <select> has a see-through background, Windows paints that list white
   while the text stays light, so give the options a colour of their own. */
select option,
select optgroup {
  background-color: var(--panel);
  color: var(--ink);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: 48px;
  width: 100%;
}
.mono { font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace; }
