/* Mancubus Lab design tokens. Generated by tokens.cjs from palette.cjs: edit those, not this file.
 *
 * Dark is the default. Set data-theme="light" on <html> for the light palette, or data-theme="auto"
 * to follow the system setting. The --brand-* colours are the same in both themes.
 */
:root {
  color-scheme: dark;
  --brand-orange: #ff681c;
  --brand-charcoal: #15171a;
  --brand-white: #ffffff;
  --brand-ember-ink: #bc440a;
  --brand-ember-light: #ff9b5f;
  --bg: #15171a;
  --bg-top: #111315;
  --bg-bottom: #101214;
  --panel: #1d2024;
  --panel-raised: #24282e;
  --ink: #ffffff;
  --ink-muted: #b9c0c9;
  --ink-soft: #8a929e;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #ff681c;
  --accent-text: #ff9b5f;
  --on-accent: #15171a;
  --success: #3db55a;
  --warning: #f0a030;
  --danger: #f2555a;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f4f1;
  --bg-top: #fbfaf8;
  --bg-bottom: #efece8;
  --panel: #ffffff;
  --panel-raised: #f1eee9;
  --ink: #15171a;
  --ink-muted: #4c535d;
  --ink-soft: #646b76;
  --line: rgba(21, 23, 26, 0.12);
  --accent: #ff681c;
  --accent-text: #bc440a;
  --on-accent: #15171a;
  --success: #1e7a34;
  --warning: #9a5a00;
  --danger: #c42b30;
}

@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    color-scheme: light;
    --bg: #f6f4f1;
    --bg-top: #fbfaf8;
    --bg-bottom: #efece8;
    --panel: #ffffff;
    --panel-raised: #f1eee9;
    --ink: #15171a;
    --ink-muted: #4c535d;
    --ink-soft: #646b76;
    --line: rgba(21, 23, 26, 0.12);
    --accent: #ff681c;
    --accent-text: #bc440a;
    --on-accent: #15171a;
    --success: #1e7a34;
    --warning: #9a5a00;
    --danger: #c42b30;
  }
}
