/*
 * Genesis Mesh colour tokens, generated from devtools/brand/tokens.json by
 * `python3 brand.py sync`. Do not edit this copy: change tokens.json and sync.
 *
 * Dark is the default. Light applies to any element with data-theme="light",
 * and to data-theme="auto" when the system prefers light.
 */

:root {
  /* Surfaces */
  --gm-bg: #070807;
  --gm-surface: #0d0f0c;
  --gm-surface-raised: #131611;
  /* Lines: dividers, and the 3:1 border of a control */
  --gm-line: #23261f;
  --gm-line-strong: #676d60;
  /* Text (faint: placeholders, disabled and decorative text only) */
  --gm-text: #f8fafc;
  --gm-text-soft: #d4d4d8;
  --gm-text-muted: #a1a1aa;
  --gm-text-faint: #71717a;
  /* Accent: accent fills (on-accent is the text on it); accent-ink is the accent as text, links and borders */
  --gm-accent: #d9ff61;
  --gm-accent-ink: #d9ff61;
  --gm-accent-strong: #557000;
  --gm-accent-soft: rgb(217 255 97 / 0.1);
  --gm-on-accent: #0b0d0a;
  /* States: never the accent, so an action never reads as a state */
  --gm-info: #7cb8ff;
  --gm-ok: #6ee7b7;
  --gm-warn: #facc15;
  --gm-danger: #f87171;
  --gm-shadow: rgb(0 0 0 / 0.3);
  /* Graphs: the categories after the accent (series 1), never states */
  --gm-series-2: #63caff;
  --gm-series-3: #b593ff;
  /* The wordmark's dot, and nothing else */
  --gm-brand-red: #ed1c24;
  color-scheme: dark;
}

[data-theme="light"] {
  /* Surfaces */
  --gm-bg: #f4f5ef;
  --gm-surface: #ffffff;
  --gm-surface-raised: #fafbf6;
  /* Lines: dividers, and the 3:1 border of a control */
  --gm-line: #dfe2d6;
  --gm-line-strong: #8a8f80;
  /* Text (faint: placeholders, disabled and decorative text only) */
  --gm-text: #0b0d0a;
  --gm-text-soft: #3d4139;
  --gm-text-muted: #565b51;
  --gm-text-faint: #6f746a;
  /* Accent: accent fills (on-accent is the text on it); accent-ink is the accent as text, links and borders */
  --gm-accent: #d9ff61;
  --gm-accent-ink: #4d6600;
  --gm-accent-strong: #557000;
  --gm-accent-soft: rgb(85 112 0 / 0.1);
  --gm-on-accent: #0b0d0a;
  /* States: never the accent, so an action never reads as a state */
  --gm-info: #1d4ed8;
  --gm-ok: #047857;
  --gm-warn: #854d0e;
  --gm-danger: #b42318;
  --gm-shadow: rgb(16 24 32 / 0.08);
  /* Graphs: the categories after the accent (series 1), never states */
  --gm-series-2: #0369a1;
  --gm-series-3: #6d28d9;
  /* The wordmark's dot, and nothing else */
  --gm-brand-red: #ed1c24;
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  [data-theme="auto"] {
    /* Surfaces */
    --gm-bg: #f4f5ef;
    --gm-surface: #ffffff;
    --gm-surface-raised: #fafbf6;
    /* Lines: dividers, and the 3:1 border of a control */
    --gm-line: #dfe2d6;
    --gm-line-strong: #8a8f80;
    /* Text (faint: placeholders, disabled and decorative text only) */
    --gm-text: #0b0d0a;
    --gm-text-soft: #3d4139;
    --gm-text-muted: #565b51;
    --gm-text-faint: #6f746a;
    /* Accent: accent fills (on-accent is the text on it); accent-ink is the accent as text, links and borders */
    --gm-accent: #d9ff61;
    --gm-accent-ink: #4d6600;
    --gm-accent-strong: #557000;
    --gm-accent-soft: rgb(85 112 0 / 0.1);
    --gm-on-accent: #0b0d0a;
    /* States: never the accent, so an action never reads as a state */
    --gm-info: #1d4ed8;
    --gm-ok: #047857;
    --gm-warn: #854d0e;
    --gm-danger: #b42318;
    --gm-shadow: rgb(16 24 32 / 0.08);
    /* Graphs: the categories after the accent (series 1), never states */
    --gm-series-2: #0369a1;
    --gm-series-3: #6d28d9;
    /* The wordmark's dot, and nothing else */
    --gm-brand-red: #ed1c24;
    color-scheme: light;
  }
}
