/* @ndb/ds tokens: every color, font and shadow of the design system.
   Light by default; dark with data-theme="dark" on <html> (theme.js keeps
   the choice per browser). From design/index.html. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --page: #ffffff;
  --soft: #f6f6f9;
  --ink: #0f141a;
  --ink-2: #424650;
  --muted: #656871;
  --faint: #8c8c94;
  --line: #e1e1e6;
  --line-2: #c6c6cd;
  --input: #8c8c94;
  --link: #c4036a;
  --accent: #e0047a;
  --accent-wash: #fdf0f6;
  --accent-line: #f7b6d6;
  --brand: #f0047f;
  --ok: #00802f;
  --warn: #855900;
  --warn-wash: #fffce6;
  --bad: #db0000;
  --bad-wash: #fff5f5;
  --info-wash: #f0f6ff;
  --code-bg: #f6f6f9;
  --ed-bg: #0f1115;
  --ed-ink: #e6e7ec;
  --ed-dim: #6b6f7b;
  --ed-key: #9fc4ff;
  --ed-str: #ffd28a;
  --ed-num: #b4f0a7;
  --ed-method: #ff7ab8;
  --chart-1: #3c4bd6;
  --chart-2: #c33d69;
  --chart-3: #2ea597;
  --chart-4: #8456ce;
  --chart-grid: #ebebf0;
  --panel: #ffffff;
  --sel-line: #006ce0;
  --sel-wash: #f0fbff;
  --primary-bg: #0f141a;
  --primary-ink: #ffffff;
  --primary-hover: #2a2f38;
  --primary-split: rgba(255, 255, 255, 0.4);
  --acct-bg: #fde7f2;
  --acct-ink: #a3024f;
  --code-k: #b0035c;
  --code-s: #1d4ed8;
  --ed-area: #eceef1;
  --ed-gut: #ffffff;
  --ed-gut-ink: #69707d;
  --tk-m: #c4036a;
  --tk-k: #00726b;
  --tk-s: #017d1a;
  --tk-n: #a8510b;
  --tk-b: #8a3ffc;
  --shadow: 0 1px 1px rgba(0, 7, 22, 0.06), 0 1px 4px rgba(0, 7, 22, 0.05);
  --font: "Noto Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f141a; --page: #0f141a; --soft: #1b232d; --panel: #161d26;
  --ink: #dedee3; --ink-2: #c6c6cd; --muted: #a4a4ad; --faint: #8c8c94;
  --line: #2b3440; --line-2: #424650; --input: #656871;
  --link: #ff6eb4; --accent: #ff4fa6; --accent-wash: #2e1022; --accent-line: #6b1d47;
  --ok: #2bb534; --warn: #fbd332; --warn-wash: #2a240d; --bad: #ff7a7a; --bad-wash: #2d1111; --info-wash: #0f1d33;
  --code-bg: #10161e; --chart-1: #8a96ff; --chart-2: #f0788f; --chart-3: #48c9b0; --chart-4: #a783e1; --chart-grid: #2b3440;
  --sel-line: #42b4ff; --sel-wash: #0c2236; --primary-bg: #ff4fa6; --primary-ink: #0f141a; --primary-hover: #ff7dbd; --primary-split: rgba(15, 20, 26, 0.35);
  --acct-bg: #3a1229; --acct-ink: #ff8cc6; --code-k: #ff7ab8; --code-s: #8fb8ff;
  --ed-area: #10161e; --ed-gut: #161d26; --ed-gut-ink: #6b7280;
  --tk-m: #ff7ab8; --tk-k: #5fd3c3; --tk-s: #8fe388; --tk-n: #ffb86b; --tk-b: #c4a7ff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
