/* Helix design-system foundation — tokens, reset, and the zoom scale. The UI shell layer lives in
   app.css. Zoom (S/M/L) works by changing the root font-size; everything in app.css is sized in rem,
   so one control scales text AND spacing together (the User-Banner zoom control persists the choice). */
:root {
  /* surfaces */
  --bg: #0b0e14;
  --bg-elev: #0f141d;
  --surface: #131823;
  --surface-2: #1a2130;
  --border: #232a39;
  --border-strong: #2e3850;
  /* text */
  --text: #e6e9ef;
  --muted: #8b95a7;
  --faint: #5d6679;
  /* brand + status */
  --primary: #4f7cff;
  --primary-ink: #ffffff;
  --primary-soft: #1c2740;
  --ok: #3fb98a;
  --warn: #e0a23c;
  --danger: #e0556b;
  --ok-soft: #14271f;
  --warn-soft: #2a2213;
  --danger-soft: #2a1620;
  /* shape + motion */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  font-size: 16px; /* zoom anchor (M) */
}
:root[data-zoom="s"] { font-size: 14px; }
:root[data-zoom="m"] { font-size: 16px; }
:root[data-zoom="l"] { font-size: 18px; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd { font-family: var(--mono); font-size: .85em; background: #0007; padding: .1em .4em; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.25; }
input, select, textarea, button { font: inherit; color: inherit; }
::placeholder { color: var(--faint); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
