/* Circuit design tokens — generated from tokens.json. Themes: dark, light (default: dark).
   Switch theme with <html data-theme="light">. */
:root, [data-theme="dark"] {
  --page: #0f1215;
  --page-trace: #1c2228;
  --surface: #171b1f;
  --raised: #20262b;
  --sunk: #0b0d10;
  --line: #2b3238;
  --line-strong: #6b7680;
  --ink: #eef1ec;
  --ink-soft: #a3adb5;
  --spark: #ffd21a;
  --spark-ink: #121417;
  --current: #3dd6ee;
  --live: #d08a52;
  --neutral: #6ea6ff;
  --earth: #4fca72;
  --alarm: #d9301f;
  --alarm-text: #ff7a68;
  --on-alarm: #ffffff;
  --shadow-rocker: 0 4px 0 #050607;
  --shadow-rocker-press: 0 1px 0 #050607;
  --shadow-card: inset 0 1px 0 #ffffff0d, 0 1px 0 #000000, 0 16px 32px -20px #000000;
  --shadow-float: 0 18px 40px -16px #000000e6;
  --shadow-modal: 0 40px 80px -24px #000000;
  --shadow-well: inset 0 2px 3px #00000099;
  color-scheme: dark;
}
[data-theme="light"] {
  --page: #eeede6;
  --page-trace: #dcdfd8;
  --surface: #ffffff;
  --raised: #f6f6f1;
  --sunk: #e4e5df;
  --line: #d6d8d1;
  --line-strong: #7a838a;
  --ink: #13171b;
  --ink-soft: #4f585f;
  --spark: #ffcf0f;
  --spark-ink: #13171b;
  --current: #00758a;
  --live: #8a4d1f;
  --neutral: #2353b8;
  --earth: #1d7a3c;
  --alarm: #c4261a;
  --alarm-text: #b3200f;
  --on-alarm: #ffffff;
  --shadow-rocker: 0 4px 0 #9a9f99;
  --shadow-rocker-press: 0 1px 0 #9a9f99;
  --shadow-card: inset 0 1px 0 #ffffff, 0 1px 0 #c9ccc4, 0 14px 28px -20px #2a312f59;
  --shadow-float: 0 18px 36px -18px #2a312f80;
  --shadow-modal: 0 36px 72px -28px #2a312f99;
  --shadow-well: inset 0 2px 3px #2a312f26;
  color-scheme: light;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --dur-flick: 90ms;
  --dur-snap: 170ms;
  --dur-quick: 220ms;
  --dur-energise: 520ms;
  --dur-flow: 900ms;
  --dur-pulse: 2400ms;
  --ease-snap: cubic-bezier(.3, 1.55, .5, 1);
  --ease-rocker: cubic-bezier(.2, .8, .3, 1);
  --ease-press: cubic-bezier(.4, 0, .6, 1);
  --ease-current: cubic-bezier(.65, 0, .25, 1);
  --ease-out: cubic-bezier(.4, 0, 1, 1);
  --font-display: "Saira", "Bahnschrift", "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Rethink Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --type-display-family: var(--font-display);
  --type-display-size: 64px;
  --type-display-line: 60px;
  --type-display-weight: 800;
  --type-display-tracking: -0.01em;
  --type-title-family: var(--font-display);
  --type-title-size: 36px;
  --type-title-line: 40px;
  --type-title-weight: 700;
  --type-title-tracking: -0.005em;
  --type-heading-family: var(--font-display);
  --type-heading-size: 21px;
  --type-heading-line: 26px;
  --type-heading-weight: 700;
  --type-readout-family: var(--font-display);
  --type-readout-size: 30px;
  --type-readout-line: 32px;
  --type-readout-weight: 600;
  --type-label-family: var(--font-display);
  --type-label-size: 13px;
  --type-label-line: 16px;
  --type-label-weight: 600;
  --type-label-tracking: 0.09em;
  --type-body-family: var(--font-body);
  --type-body-size: 16px;
  --type-body-line: 24px;
  --type-body-weight: 400;
  --type-small-family: var(--font-body);
  --type-small-size: 14px;
  --type-small-line: 20px;
  --type-small-weight: 400;
  --type-strong-family: var(--font-body);
  --type-strong-size: 16px;
  --type-strong-line: 24px;
  --type-strong-weight: 650;
}
/* Type styles as utility classes (optional) */
.type-display { font-family: var(--type-display-family); font-size: var(--type-display-size); line-height: var(--type-display-line); font-weight: var(--type-display-weight); letter-spacing: var(--type-display-tracking); }
.type-title { font-family: var(--type-title-family); font-size: var(--type-title-size); line-height: var(--type-title-line); font-weight: var(--type-title-weight); letter-spacing: var(--type-title-tracking); }
.type-heading { font-family: var(--type-heading-family); font-size: var(--type-heading-size); line-height: var(--type-heading-line); font-weight: var(--type-heading-weight); }
.type-readout { font-family: var(--type-readout-family); font-size: var(--type-readout-size); line-height: var(--type-readout-line); font-weight: var(--type-readout-weight); }
.type-label { font-family: var(--type-label-family); font-size: var(--type-label-size); line-height: var(--type-label-line); font-weight: var(--type-label-weight); letter-spacing: var(--type-label-tracking); }
.type-body { font-family: var(--type-body-family); font-size: var(--type-body-size); line-height: var(--type-body-line); font-weight: var(--type-body-weight); }
.type-small { font-family: var(--type-small-family); font-size: var(--type-small-size); line-height: var(--type-small-line); font-weight: var(--type-small-weight); }
.type-strong { font-family: var(--type-strong-family); font-size: var(--type-strong-size); line-height: var(--type-strong-line); font-weight: var(--type-strong-weight); }
