/* Generated by design/build-tokens.py from tokens.json and tokens-dark.json; edit those, then rerun. */

:root {
  color-scheme: light;
  --color-bg: #f6f5f9;
  --color-surface: #ffffff;
  --color-surface-subtle: #f0eef5;
  --color-border: #e3dfeb;
  --color-border-strong: #cec7da;
  --color-border-input: #776f87;
  --color-text: #1a1625;
  --color-text-muted: #59526a;
  --color-accent: #6a2ea3;
  --color-accent-hover: #58248a;
  --color-accent-2: #a1307c;
  --color-on-accent: #ffffff;
  --color-focus: #6a2ea3;
  --color-danger: #b3202f;
  --color-danger-surface: #fdecee;
  --color-success: #17703f;
  --color-success-surface: #e6f5ec;
  --color-warning: #855400;
  --color-warning-surface: #fdf1d6;
  --color-terminal-bg: #16131f;
  --color-terminal-text: #f3f1f7;
  --color-accent-subtle: #f3ebfb;
  --color-selection: #6a2ea3;
  --color-canvas: #fbfafd;
  --color-grid-minor: #d6cfe2;
  --color-grid-major: #ebe7f1;
  --color-flow: #17703f;
  --color-tag-1: #1f6fb2;
  --color-tag-2: #b3401c;
  --color-tag-3: #2e7d32;
  --color-tag-4: #8a5a00;
  --color-tag-5: #7b3fa0;
  --color-tag-6: #00796b;
  --color-tag-7: #c2185b;
  --color-tag-8: #5d6670;
  --color-device-router: #6a2ea3;
  --color-device-router-surface: #f1e8fa;
  --color-device-switch: #106b45;
  --color-device-switch-surface: #e2f3ea;
  --color-device-firewall: #ad3a14;
  --color-device-firewall-surface: #fcebe3;
  --color-device-wireless: #9c2b70;
  --color-device-wireless-surface: #fae6f1;
  --color-device-compute: #4a4560;
  --color-device-compute-surface: #ebe9f1;
  --color-device-container: #7f5000;
  --color-device-container-surface: #faefd9;
  --color-device-cloud: #4c5a14;
  --color-device-cloud-surface: #edf1da;
  --color-device-control: #4935b0;
  --color-device-control-surface: #ebe8fb;
  --color-device-generic: #5a5569;
  --color-device-generic-surface: #eeecf3;
  --effect-glass: rgba(255, 255, 255, .78);
  --effect-scrim: rgba(26, 22, 37, .38);
  --effect-gradient-brand: linear-gradient(135deg, #6a2ea3 0%, #a1307c 100%);
  --effect-gradient-accent: linear-gradient(180deg, #7434b0 0%, #6a2ea3 100%);
  --effect-overlay: rgba(26, 22, 37, .48);
  --font-sans: Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --text-xs: 12px;
  --line-xs: 16px;
  --weight-xs: 500;
  --text-sm: 14px;
  --line-sm: 20px;
  --weight-sm: 400;
  --text-base: 16px;
  --line-base: 24px;
  --weight-base: 400;
  --text-lg: 20px;
  --line-lg: 28px;
  --weight-lg: 600;
  --text-xl: 28px;
  --line-xl: 36px;
  --weight-xl: 700;
  --text-display: 40px;
  --line-display: 48px;
  --weight-display: 700;
  --space-0: 0px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --stroke-thin: 1px;
  --stroke-medium: 2px;
  --stroke-focus: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(26, 22, 37, .04), 0 2px 6px rgba(26, 22, 37, .05);
  --shadow-raised: 0 2px 4px rgba(26, 22, 37, .05), 0 10px 24px rgba(26, 22, 37, .09);
  --shadow-pop: 0 16px 40px rgba(26, 22, 37, .16), 0 2px 6px rgba(26, 22, 37, .06);
  --shadow-glow: 0 0 0 4px rgba(106, 46, 163, .16);
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 320ms;
  --motion-ease: cubic-bezier(.2, .7, .2, 1);
  --motion-ease-out: cubic-bezier(.16, 1, .3, 1);
  --motion-spring: cubic-bezier(.34, 1.56, .64, 1);
  --motion-flow: 1.1s;
  --motion-pulse: 1.8s;
  --layout-content-max: 1440px;
  --layout-header-height: 60px;
  --layout-sidebar-width: 264px;
  --layout-rail-width: 68px;
  --layout-inspector-width: 320px;
  --layout-pane-height: 280px;
  --layout-palette-width: 400px;
  --layout-min-viewport: 320px;
  --layout-page-title-width: 780px;
  --layout-card-min-width: 260px;
  --layout-field-max-width: 560px;
  --layout-field-min-width: 220px;
  --layout-compact-form-min-width: 200px;
  --layout-inspector-min-width: 220px;
  --layout-node-width: 112px;
  --layout-node-width-small: 88px;
  --layout-node-height: 84px;
  --layout-node-icon: 36px;
  --layout-device-tile: 44px;
  --layout-canvas-height: 440px;
  --layout-canvas-height-small: 340px;
  --layout-textarea-height: 120px;
  --layout-mobile-header-height: 48px;
  --layout-navigation-link-height: 38px;
  --layout-navigation-link-height-small: 32px;
  --layout-control-height: 40px;
  --layout-control-height-small: 32px;
  --layout-control-height-large: 48px;
  --layout-badge-height: 26px;
  --layout-toast-max-width: 420px;
  --layout-dialog-max-width: 480px;
  --layout-mobile-pill-max-width: 180px;
  --layout-compact-breakpoint: 560px;
  --layout-graphics-height: 600px;
  --layout-breakpoint-sm: 640px;
  --layout-breakpoint-md: 768px;
  --layout-breakpoint-lg: 900px;
  --layout-breakpoint-xl: 1280px;
}

/* Transitions go to 0 s, not .01 ms: transition-property defaults to "all", so any duration would make every
   style change a one-frame transition, and a layout read right after a change would see the old value. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-bg: #0f0d15;
    --color-surface: #18151f;
    --color-surface-subtle: #211d2a;
    --color-border: #2d2839;
    --color-border-strong: #3f384e;
    --color-border-input: #8b829c;
    --color-text: #f1eef6;
    --color-text-muted: #b6aec5;
    --color-accent: #c7a2f0;
    --color-accent-hover: #d8bdf6;
    --color-accent-2: #f0a3d3;
    --color-on-accent: #1a1027;
    --color-focus: #c7a2f0;
    --color-danger: #ff9ba6;
    --color-danger-surface: #3b1a21;
    --color-success: #84dba6;
    --color-success-surface: #15301f;
    --color-warning: #f3c860;
    --color-warning-surface: #392c10;
    --color-terminal-bg: #0b0910;
    --color-terminal-text: #f1eef6;
    --color-accent-subtle: #2b2040;
    --color-selection: #c7a2f0;
    --color-canvas: #13111a;
    --color-grid-minor: #3a3449;
    --color-grid-major: #1f1b29;
    --color-flow: #84dba6;
    --color-tag-1: #7cb8ef;
    --color-tag-2: #f2936f;
    --color-tag-3: #86d18f;
    --color-tag-4: #e8b650;
    --color-tag-5: #c9a0e8;
    --color-tag-6: #5fcfbf;
    --color-tag-7: #f48fb1;
    --color-tag-8: #aab4be;
    --color-device-router: #d0b0f5;
    --color-device-router-surface: #2d2042;
    --color-device-switch: #8fd9b0;
    --color-device-switch-surface: #16302a;
    --color-device-firewall: #f5a789;
    --color-device-firewall-surface: #3a2119;
    --color-device-wireless: #f1a2d0;
    --color-device-wireless-surface: #3a1b31;
    --color-device-compute: #c8c2d8;
    --color-device-compute-surface: #282533;
    --color-device-container: #efc46e;
    --color-device-container-surface: #352913;
    --color-device-cloud: #c6d68c;
    --color-device-cloud-surface: #2a2f16;
    --color-device-control: #b8aefa;
    --color-device-control-surface: #262150;
    --color-device-generic: #c2bdd0;
    --color-device-generic-surface: #282533;
    --effect-glass: rgba(24, 21, 31, .78);
    --effect-scrim: rgba(0, 0, 0, .55);
    --effect-gradient-brand: linear-gradient(135deg, #6a2ea3 0%, #a1307c 100%);
    --effect-gradient-accent: linear-gradient(180deg, #d3b3f4 0%, #c7a2f0 100%);
    --effect-overlay: rgba(0, 0, 0, .6);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
    --shadow-raised: 0 4px 10px rgba(0, 0, 0, .35), 0 14px 30px rgba(0, 0, 0, .35);
    --shadow-pop: 0 18px 44px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4);
    --shadow-glow: 0 0 0 4px rgba(199, 162, 240, .22);
  }
}
