/*
 * GENERATED by Style Dictionary from design/tokens/ — do not edit.
 * Regenerate: npm --prefix studio run tokens
 * Config: design/style-dictionary.config.js
 */
:root {
  --hc-color-neutral-0: #ffffff;
  --hc-color-neutral-10: #f7f3ee;
  --hc-color-neutral-20: #ddd9d4;
  --hc-color-neutral-30: #c2beb9;
  --hc-color-neutral-40: #a4a09b;
  --hc-color-neutral-50: #87837f;
  --hc-color-neutral-60: #6b6863;
  --hc-color-neutral-70: #504d49;
  --hc-color-neutral-80: #373430;
  --hc-color-neutral-90: #201d1a;
  --hc-color-neutral-100: #000000;
  --hc-color-brand-10: #fbf3e4;
  --hc-color-brand-20: #fde5be;
  --hc-color-brand-30: #ffd78d;
  --hc-color-brand-40: #ffc95a;
  --hc-color-brand-50: #ffba04;
  --hc-color-brand-60: #cc880c;
  --hc-color-brand-70: #965a16;
  --hc-color-brand-80: #5c3317;
  --hc-color-brand-90: #271303;
  --hc-color-violet-10: #f7f1ff;
  --hc-color-violet-20: #e4cffe;
  --hc-color-violet-30: #d1aaff;
  --hc-color-violet-40: #b884f1;
  --hc-color-violet-50: #9c64d4;
  --hc-color-violet-60: #8047b5;
  --hc-color-violet-70: #632c92;
  --hc-color-violet-80: #45186b;
  --hc-color-violet-90: #290943;
  --hc-color-teal-10: #d8fcfe;
  --hc-color-teal-20: #93ebf0;
  --hc-color-teal-30: #32d7df;
  --hc-color-teal-40: #07b7be;
  --hc-color-teal-50: #01969c;
  --hc-color-teal-60: #01777c;
  --hc-color-teal-70: #01595d;
  --hc-color-teal-80: #033d3f;
  --hc-color-teal-90: #022325;
  --hc-color-orange-10: #fef1ea;
  --hc-color-orange-20: #feceb4;
  --hc-color-orange-30: #ffa674;
  --hc-color-orange-40: #ee7e34;
  --hc-color-orange-50: #cd6006;
  --hc-color-orange-60: #a44b02;
  --hc-color-orange-70: #7c3700;
  --hc-color-orange-80: #562400;
  --hc-color-orange-90: #331301;
  --hc-color-callout-10: #f0f7fe;
  --hc-color-callout-20: #c5ddef;
  --hc-color-callout-30: #95c4e3;
  --hc-color-callout-40: #58a3cc;
  --hc-color-callout-50: #1e8fbe;
  --hc-color-callout-60: #177199;
  --hc-color-callout-70: #004e6e;
  --hc-color-callout-80: #00364d;
  --hc-color-callout-90: #002330;
  --hc-color-negative-10: #fff4f3;
  --hc-color-negative-20: #f3d3cf;
  --hc-color-negative-30: #efaea9;
  --hc-color-negative-40: #f07674;
  --hc-color-negative-50: #e6223e;
  --hc-color-negative-60: #bd002c;
  --hc-color-negative-70: #900021;
  --hc-color-negative-80: #610718;
  --hc-color-negative-90: #3a0e11;
  --hc-color-success-10: #eff9f2;
  --hc-color-success-20: #c6e1cb;
  --hc-color-success-30: #96caa0;
  --hc-color-success-40: #57b06b;
  --hc-color-success-50: #209746;
  --hc-color-success-60: #137e33;
  --hc-color-success-70: #00581a;
  --hc-color-success-80: #083e10;
  --hc-color-success-90: #0f2708;
  --hc-color-gold-10: #fcefcf;
  --hc-color-gold-20: #fade94;
  --hc-color-gold-30: #f3ad3d;
  --hc-color-gold-40: #d49124;
  --hc-color-gold-50: #b2750c;
  --hc-color-gold-60: #8f5c06;
  --hc-color-gold-70: #6c4303;
  --hc-color-gold-80: #4c2d02;
  --hc-color-gold-90: #2a1804;
  --hc-color-brown-10: #fcf2e7;
  --hc-color-brown-20: #ebd6c1;
  --hc-color-brown-30: #d8b899;
  --hc-color-brown-40: #c2976e;
  --hc-color-brown-50: #ac7742;
  --hc-color-brown-60: #965a16;
  --hc-color-brown-70: #723f10;
  --hc-color-brown-80: #50280b;
  --hc-color-brown-90: #271303;
  --hc-color-brown-100: #110602;
  --hc-palette-gilt-bench: #110602;
  --hc-palette-gilt-walnut: #2a1804;
  --hc-palette-gilt-grain: #4c2d02;
  --hc-palette-gilt-brass: #f3ad3d;
  --hc-palette-gilt-brass-light: #fade94;
  --hc-palette-gilt-cream: #fcefcf;
  --hc-palette-two-tone-part: #c1c3c8;
  --hc-palette-two-tone-chrome: #4d5152;
  --hc-palette-two-tone-edge: #191919;
  --hc-palette-two-tone-signal: #e48c3c;
  --hc-palette-blueprint-ground: #002330;
  --hc-palette-blueprint-ground-raised: #00364d;
  --hc-palette-blueprint-line: #ffffff;
  --hc-palette-blueprint-pale: #95c4e3;
  --hc-palette-blueprint-vellum: #f0f7fe;
  --hc-palette-blueprint-pencil: #e48c3c;
  --hc-space-0: 0px;
  --hc-space-2: 2px;
  --hc-space-4: 4px;
  --hc-space-8: 8px;
  --hc-space-12: 12px;
  --hc-space-16: 16px;
  --hc-space-24: 24px;
  --hc-space-32: 32px;
  --hc-space-40: 40px;
  --hc-space-48: 48px;
  --hc-space-64: 64px;
  --hc-radius-0: 0px;
  --hc-radius-4: 4px;
  --hc-radius-8: 8px;
  --hc-radius-12: 12px;
  --hc-radius-full: 9999px;
  --hc-radius-control: 0px;
  --hc-radius-chip: 4px;
  --hc-radius-card: 8px;
  --hc-radius-hud: 12px;
  --hc-radius-sheet: 12px;
  --hc-border-width-1: 1px;
  --hc-border-width-2: 2px;
  --hc-border-width-3: 3px;
  --hc-border-width-hairline: 1px;
  --hc-device-iphone-375: 375px;
  --hc-device-iphone-390: 390px;
  --hc-device-iphone-430: 430px;
  --hc-font-family-sans: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-font-family-display: 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-font-family-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --hc-font-family-hero: 'Bitcount Single', 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --hc-font-weight-regular: 400;
  --hc-font-weight-medium: 500;
  --hc-font-weight-semibold: 600;
  --hc-font-weight-bold: 700;
  --hc-font-size-11: 11px;
  --hc-font-size-12: 12px;
  --hc-font-size-13: 13px;
  --hc-font-size-15: 15px;
  --hc-font-size-16: 16px;
  --hc-font-size-17: 17px;
  --hc-font-size-20: 20px;
  --hc-font-size-22: 22px;
  --hc-font-size-28: 28px;
  --hc-font-size-34: 34px;
  --hc-font-size-56: 56px;
  --hc-duration-0: 0ms;
  --hc-duration-100: 100ms;
  --hc-duration-150: 150ms;
  --hc-duration-200: 200ms;
  --hc-duration-250: 250ms;
  --hc-duration-350: 350ms;
  --hc-duration-500: 500ms;
  --hc-easing-standard: cubic-bezier(0.2, 0, 0, 1);
  --hc-easing-decelerate: cubic-bezier(0, 0, 0, 1);
  --hc-easing-accelerate: cubic-bezier(0.3, 0, 1, 1);
  --hc-easing-linear: cubic-bezier(0, 0, 1, 1);
  --hc-type-large-title-font-family: 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-large-title-font-size: 34px;
  --hc-type-large-title-font-weight: 700;
  --hc-type-large-title-line-height: 1.2059;
  --hc-type-large-title-letter-spacing: -0.5px;
  --hc-type-large-title: 700 34px/1.2059 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-title-1-font-family: 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-title-1-font-size: 28px;
  --hc-type-title-1-font-weight: 700;
  --hc-type-title-1-line-height: 1.2143;
  --hc-type-title-1-letter-spacing: -0.3px;
  --hc-type-title-1: 700 28px/1.2143 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-title-2-font-family: 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-title-2-font-size: 22px;
  --hc-type-title-2-font-weight: 600;
  --hc-type-title-2-line-height: 1.2727;
  --hc-type-title-2-letter-spacing: -0.2px;
  --hc-type-title-2: 600 22px/1.2727 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-title-3-font-family: 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-title-3-font-size: 20px;
  --hc-type-title-3-font-weight: 600;
  --hc-type-title-3-line-height: 1.25;
  --hc-type-title-3-letter-spacing: -0.1px;
  --hc-type-title-3: 600 20px/1.25 'Instrument Sans', 'SF Pro Display', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --hc-type-headline-font-family: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-headline-font-size: 17px;
  --hc-type-headline-font-weight: 600;
  --hc-type-headline-line-height: 1.2941;
  --hc-type-headline-letter-spacing: -0.43px;
  --hc-type-headline: 600 17px/1.2941 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-body-font-family: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-body-font-size: 17px;
  --hc-type-body-font-weight: 400;
  --hc-type-body-line-height: 1.2941;
  --hc-type-body-letter-spacing: -0.43px;
  --hc-type-body: 400 17px/1.2941 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-callout-font-family: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-callout-font-size: 16px;
  --hc-type-callout-font-weight: 400;
  --hc-type-callout-line-height: 1.3125;
  --hc-type-callout-letter-spacing: -0.31px;
  --hc-type-callout: 400 16px/1.3125 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-subheadline-font-family: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-subheadline-font-size: 15px;
  --hc-type-subheadline-font-weight: 400;
  --hc-type-subheadline-line-height: 1.3333;
  --hc-type-subheadline-letter-spacing: -0.23px;
  --hc-type-subheadline: 400 15px/1.3333 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-footnote-font-family: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-footnote-font-size: 13px;
  --hc-type-footnote-font-weight: 400;
  --hc-type-footnote-line-height: 1.3846;
  --hc-type-footnote-letter-spacing: -0.08px;
  --hc-type-footnote: 400 13px/1.3846 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-caption-1-font-family: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-caption-1-font-size: 12px;
  --hc-type-caption-1-font-weight: 400;
  --hc-type-caption-1-line-height: 1.3333;
  --hc-type-caption-1-letter-spacing: 0px;
  --hc-type-caption-1: 400 12px/1.3333 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-caption-2-font-family: 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-caption-2-font-size: 11px;
  --hc-type-caption-2-font-weight: 400;
  --hc-type-caption-2-line-height: 1.1818;
  --hc-type-caption-2-letter-spacing: 0.06px;
  --hc-type-caption-2: 400 11px/1.1818 'SF Pro Text', 'SF Pro', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --hc-type-numeric-field-font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --hc-type-numeric-field-font-size: 17px;
  --hc-type-numeric-field-font-weight: 400;
  --hc-type-numeric-field-line-height: 1.2941;
  --hc-type-numeric-field-letter-spacing: 0px;
  --hc-type-numeric-field: 400 17px/1.2941 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --hc-type-dimension-font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --hc-type-dimension-font-size: 15px;
  --hc-type-dimension-font-weight: 500;
  --hc-type-dimension-line-height: 1.3333;
  --hc-type-dimension-letter-spacing: 0px;
  --hc-type-dimension: 500 15px/1.3333 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --hc-type-numeric-caption-font-family: 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --hc-type-numeric-caption-font-size: 12px;
  --hc-type-numeric-caption-font-weight: 400;
  --hc-type-numeric-caption-line-height: 1.3333;
  --hc-type-numeric-caption-letter-spacing: 0px;
  --hc-type-numeric-caption: 400 12px/1.3333 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
  --hc-type-hero-numeral-font-family: 'Bitcount Single', 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --hc-type-hero-numeral-font-size: 56px;
  --hc-type-hero-numeral-font-weight: 400;
  --hc-type-hero-numeral-line-height: 1.0714;
  --hc-type-hero-numeral-letter-spacing: 0px;
  --hc-type-hero-numeral: 400 56px/1.0714 'Bitcount Single', 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --hc-layout-touch-target-min: 44px;
  --hc-layout-screen-margin: 16px;
  --hc-layout-gutter: 8px;
  --hc-layout-within: 4px;
  --hc-layout-stack-gap: 8px;
  --hc-layout-section-gap: 16px;
  --hc-layout-hud-inset: 8px;
  --hc-layout-hit-halo: 12px;
  --hc-layout-thumb-zone: 33%;
  --hc-elevation-1: 0px 0px 0px 0px #00000000;
  --hc-elevation-2: 0px 4px 12px 0px #00000029;
  --hc-material-hud-blur: 20px;
  --hc-material-hud-opacity: 0.92;
  --hc-material-sheet-blur: 30px;
  --hc-material-sheet-opacity: 0.86;
  --hc-control-size: 40px;
  --hc-control-handle: 2px;
  --hc-control-hairline: 1px;
  --hc-control-icon: 20px;
  --hc-control-icon-labelled: 16px;
  --hc-label-min: 10px;
  --hc-field-height: 56px;
  --hc-dock-height: 128px;
  --hc-motion-sheet-duration: 250ms;
  --hc-motion-sheet-duration-reduced: 150ms;
  --hc-motion-sheet-easing: cubic-bezier(0.2, 0, 0, 1);
  --hc-motion-selection-duration: 100ms;
  --hc-motion-selection-duration-reduced: 0ms;
  --hc-motion-selection-easing: cubic-bezier(0.2, 0, 0, 1);
  --hc-motion-ghost-preview-duration: 150ms;
  --hc-motion-ghost-preview-duration-reduced: 0ms;
  --hc-motion-ghost-preview-easing: cubic-bezier(0.2, 0, 0, 1);
  --hc-motion-snap-duration: 100ms;
  --hc-motion-snap-duration-reduced: 0ms;
  --hc-motion-snap-easing: cubic-bezier(0, 0, 0, 1);
  --hc-motion-toast-duration: 200ms;
  --hc-motion-toast-duration-reduced: 150ms;
  --hc-motion-toast-easing: cubic-bezier(0, 0, 0, 1);
  --hc-motion-camera-duration: 350ms;
  --hc-motion-camera-duration-reduced: 0ms;
  --hc-motion-camera-easing: cubic-bezier(0.2, 0, 0, 1);
}

/* Mode: Dark */
:root,
[data-theme="dark"] {
  --hc-color-surface-base: #000000;
  --hc-color-surface-canvas: #000000;
  --hc-color-surface-raised: #201d1a;
  --hc-color-surface-control: #373430;
  --hc-color-surface-pressed: #504d49;
  --hc-color-surface-scrim: rgba(0, 0, 0, 0.6392156862745098);
  --hc-color-text-primary: #f7f3ee;
  --hc-color-text-secondary: #c2beb9;
  --hc-color-text-tertiary: #a4a09b;
  --hc-color-text-disabled: #6b6863;
  --hc-color-border-subtle: #373430;
  --hc-color-border-strong: #87837f;
  --hc-color-ui-selected: #f7f3ee;
  --hc-color-accent-fill: #ffba04;
  --hc-color-accent-fill-pressed: #ffc95a;
  --hc-color-accent-on: #201d1a;
  --hc-color-accent-text: #ffc95a;
  --hc-color-accent-focus: #ffba04;
  --hc-color-action-primary-fill: #ddd9d4;
  --hc-color-action-primary-fill-pressed: #c2beb9;
  --hc-color-action-primary-label: #373430;
  --hc-color-action-secondary-fill: #373430;
  --hc-color-action-secondary-fill-pressed: #504d49;
  --hc-color-action-secondary-label: #f7f3ee;
  --hc-color-action-destructive-label: #efaea9;
  --hc-color-selection-stroke: #ffba04;
  --hc-color-selection-fill: rgba(255, 186, 4, 0.23921568627450981);
  --hc-color-selection-hover: #ffd78d;
  --hc-color-sketch-geometry: #ddd9d4;
  --hc-color-sketch-construction: #a4a09b;
  --hc-color-sketch-dimension: #f7f3ee;
  --hc-color-sketch-plane: #87837f;
  --hc-color-model-body: #6b6863;
  --hc-color-model-edge: #f7f3ee;
  --hc-color-model-ghost: rgba(247, 243, 238, 0.23921568627450981);
  --hc-color-constraint-under: #58a3cc;
  --hc-color-constraint-fully: #f7f3ee;
  --hc-color-constraint-over: #f07674;
  --hc-color-constraint-conflict: #efaea9;
  --hc-color-constraint-driven: #a4a09b;
  --hc-color-continuity-g0: #9c64d4;
  --hc-color-continuity-g1: #b884f1;
  --hc-color-continuity-g2: #d1aaff;
  --hc-color-continuity-g3: #e4cffe;
  --hc-color-curvature-neg-4: #00364d;
  --hc-color-curvature-neg-3: #177199;
  --hc-color-curvature-neg-2: #58a3cc;
  --hc-color-curvature-neg-1: #c5ddef;
  --hc-color-curvature-zero: #f7f3ee;
  --hc-color-curvature-pos-1: #feceb4;
  --hc-color-curvature-pos-2: #ee7e34;
  --hc-color-curvature-pos-3: #a44b02;
  --hc-color-curvature-pos-4: #562400;
  --hc-color-curvature-seq-1: #290943;
  --hc-color-curvature-seq-2: #45186b;
  --hc-color-curvature-seq-3: #632c92;
  --hc-color-curvature-seq-4: #8047b5;
  --hc-color-curvature-seq-5: #01969c;
  --hc-color-curvature-seq-6: #07b7be;
  --hc-color-curvature-seq-7: #32d7df;
  --hc-color-curvature-seq-8: #93ebf0;
  --hc-color-curvature-seq-9: #d8fcfe;
  --hc-color-curvature-within: #a4a09b;
  --hc-color-curvature-over: #f07674;
  --hc-color-analysis-pass: #57b06b;
  --hc-color-analysis-warn: #f7f3ee;
  --hc-color-analysis-fail: #f07674;
  --hc-color-analysis-comb: #f7f3ee;
  --hc-color-analysis-comb-u: #b884f1;
  --hc-color-analysis-comb-v: #07b7be;
  --hc-color-analysis-zebra-dark: #000000;
  --hc-color-analysis-zebra-light: #ffffff;
  --hc-color-analysis-legend-surface: #201d1a;
  --hc-color-analysis-deviation: #f7f3ee;
  --hc-color-analysis-tolerance: #87837f;
  --hc-color-feedback-error: #f07674;
  --hc-color-feedback-error-surface: #201d1a;
  --hc-color-feedback-warning: #f3d3cf;
  --hc-color-feedback-warning-surface: #201d1a;
  --hc-color-feedback-success: #f7f3ee;
  --hc-color-feedback-success-surface: #201d1a;
  --hc-color-feedback-info: #ddd9d4;
  --hc-color-feedback-info-surface: #201d1a;
  color-scheme: dark;
  --hc-color-scheme: dark;
}

/* Mode: Dark · High contrast */
[data-theme="dark"][data-contrast="more"] {
  --hc-color-surface-base: #000000;
  --hc-color-surface-canvas: #000000;
  --hc-color-surface-raised: #201d1a;
  --hc-color-surface-control: #373430;
  --hc-color-surface-pressed: #504d49;
  --hc-color-surface-scrim: rgba(0, 0, 0, 0.6392156862745098);
  --hc-color-text-primary: #f7f3ee;
  --hc-color-text-secondary: #f7f3ee;
  --hc-color-text-tertiary: #ddd9d4;
  --hc-color-text-disabled: #6b6863;
  --hc-color-border-subtle: #6b6863;
  --hc-color-border-strong: #c2beb9;
  --hc-color-ui-selected: #f7f3ee;
  --hc-color-accent-fill: #ffba04;
  --hc-color-accent-fill-pressed: #ffc95a;
  --hc-color-accent-on: #201d1a;
  --hc-color-accent-text: #ffd78d;
  --hc-color-accent-focus: #ffba04;
  --hc-color-action-primary-fill: #ddd9d4;
  --hc-color-action-primary-fill-pressed: #f7f3ee;
  --hc-color-action-primary-label: #373430;
  --hc-color-action-secondary-fill: #373430;
  --hc-color-action-secondary-fill-pressed: #201d1a;
  --hc-color-action-secondary-label: #f7f3ee;
  --hc-color-action-destructive-label: #f3d3cf;
  --hc-color-selection-stroke: #ffba04;
  --hc-color-selection-fill: rgba(255, 186, 4, 0.23921568627450981);
  --hc-color-selection-hover: #fde5be;
  --hc-color-sketch-geometry: #f7f3ee;
  --hc-color-sketch-construction: #c2beb9;
  --hc-color-sketch-dimension: #f7f3ee;
  --hc-color-sketch-plane: #c2beb9;
  --hc-color-model-body: #6b6863;
  --hc-color-model-edge: #ffffff;
  --hc-color-model-ghost: rgba(255, 255, 255, 0.3215686274509804);
  --hc-color-constraint-under: #95c4e3;
  --hc-color-constraint-fully: #f7f3ee;
  --hc-color-constraint-over: #efaea9;
  --hc-color-constraint-conflict: #f3d3cf;
  --hc-color-constraint-driven: #ddd9d4;
  --hc-color-continuity-g0: #d1aaff;
  --hc-color-continuity-g1: #e4cffe;
  --hc-color-continuity-g2: #f7f1ff;
  --hc-color-continuity-g3: #ffffff;
  --hc-color-curvature-neg-4: #00364d;
  --hc-color-curvature-neg-3: #177199;
  --hc-color-curvature-neg-2: #58a3cc;
  --hc-color-curvature-neg-1: #c5ddef;
  --hc-color-curvature-zero: #f7f3ee;
  --hc-color-curvature-pos-1: #feceb4;
  --hc-color-curvature-pos-2: #ee7e34;
  --hc-color-curvature-pos-3: #a44b02;
  --hc-color-curvature-pos-4: #562400;
  --hc-color-curvature-seq-1: #290943;
  --hc-color-curvature-seq-2: #45186b;
  --hc-color-curvature-seq-3: #632c92;
  --hc-color-curvature-seq-4: #8047b5;
  --hc-color-curvature-seq-5: #01969c;
  --hc-color-curvature-seq-6: #07b7be;
  --hc-color-curvature-seq-7: #32d7df;
  --hc-color-curvature-seq-8: #93ebf0;
  --hc-color-curvature-seq-9: #d8fcfe;
  --hc-color-curvature-within: #a4a09b;
  --hc-color-curvature-over: #f07674;
  --hc-color-analysis-pass: #96caa0;
  --hc-color-analysis-warn: #f7f3ee;
  --hc-color-analysis-fail: #efaea9;
  --hc-color-analysis-comb: #f7f3ee;
  --hc-color-analysis-comb-u: #d1aaff;
  --hc-color-analysis-comb-v: #32d7df;
  --hc-color-analysis-zebra-dark: #000000;
  --hc-color-analysis-zebra-light: #ffffff;
  --hc-color-analysis-legend-surface: #201d1a;
  --hc-color-analysis-deviation: #f7f3ee;
  --hc-color-analysis-tolerance: #c2beb9;
  --hc-color-feedback-error: #efaea9;
  --hc-color-feedback-error-surface: #201d1a;
  --hc-color-feedback-warning: #fff4f3;
  --hc-color-feedback-warning-surface: #201d1a;
  --hc-color-feedback-success: #f7f3ee;
  --hc-color-feedback-success-surface: #201d1a;
  --hc-color-feedback-info: #f7f3ee;
  --hc-color-feedback-info-surface: #201d1a;
  color-scheme: dark;
  --hc-color-scheme: dark;
}

/* Mode: Light */
[data-theme="light"] {
  --hc-color-surface-base: #f7f3ee;
  --hc-color-surface-canvas: #f7f3ee;
  --hc-color-surface-raised: #ffffff;
  --hc-color-surface-control: #f7f3ee;
  --hc-color-surface-pressed: #ddd9d4;
  --hc-color-surface-scrim: rgba(0, 0, 0, 0.3215686274509804);
  --hc-color-text-primary: #201d1a;
  --hc-color-text-secondary: #504d49;
  --hc-color-text-tertiary: #6b6863;
  --hc-color-text-disabled: #a4a09b;
  --hc-color-border-subtle: #ddd9d4;
  --hc-color-border-strong: #6b6863;
  --hc-color-ui-selected: #201d1a;
  --hc-color-accent-fill: #ffba04;
  --hc-color-accent-fill-pressed: #cc880c;
  --hc-color-accent-on: #201d1a;
  --hc-color-accent-text: #965a16;
  --hc-color-accent-focus: #965a16;
  --hc-color-action-primary-fill: #201d1a;
  --hc-color-action-primary-fill-pressed: #504d49;
  --hc-color-action-primary-label: #f7f3ee;
  --hc-color-action-secondary-fill: #ddd9d4;
  --hc-color-action-secondary-fill-pressed: #f7f3ee;
  --hc-color-action-secondary-label: #201d1a;
  --hc-color-action-destructive-label: #bd002c;
  --hc-color-selection-stroke: #965a16;
  --hc-color-selection-fill: rgba(255, 186, 4, 0.3215686274509804);
  --hc-color-selection-hover: #965a16;
  --hc-color-sketch-geometry: #373430;
  --hc-color-sketch-construction: #6b6863;
  --hc-color-sketch-dimension: #201d1a;
  --hc-color-sketch-plane: #6b6863;
  --hc-color-model-body: #c2beb9;
  --hc-color-model-edge: #201d1a;
  --hc-color-model-ghost: rgba(32, 29, 26, 0.23921568627450981);
  --hc-color-constraint-under: #177199;
  --hc-color-constraint-fully: #201d1a;
  --hc-color-constraint-over: #bd002c;
  --hc-color-constraint-conflict: #900021;
  --hc-color-constraint-driven: #6b6863;
  --hc-color-continuity-g0: #9c64d4;
  --hc-color-continuity-g1: #8047b5;
  --hc-color-continuity-g2: #632c92;
  --hc-color-continuity-g3: #45186b;
  --hc-color-curvature-neg-4: #00364d;
  --hc-color-curvature-neg-3: #177199;
  --hc-color-curvature-neg-2: #58a3cc;
  --hc-color-curvature-neg-1: #c5ddef;
  --hc-color-curvature-zero: #f7f3ee;
  --hc-color-curvature-pos-1: #feceb4;
  --hc-color-curvature-pos-2: #ee7e34;
  --hc-color-curvature-pos-3: #a44b02;
  --hc-color-curvature-pos-4: #562400;
  --hc-color-curvature-seq-1: #290943;
  --hc-color-curvature-seq-2: #45186b;
  --hc-color-curvature-seq-3: #632c92;
  --hc-color-curvature-seq-4: #8047b5;
  --hc-color-curvature-seq-5: #01969c;
  --hc-color-curvature-seq-6: #07b7be;
  --hc-color-curvature-seq-7: #32d7df;
  --hc-color-curvature-seq-8: #93ebf0;
  --hc-color-curvature-seq-9: #d8fcfe;
  --hc-color-curvature-within: #a4a09b;
  --hc-color-curvature-over: #f07674;
  --hc-color-analysis-pass: #137e33;
  --hc-color-analysis-warn: #201d1a;
  --hc-color-analysis-fail: #bd002c;
  --hc-color-analysis-comb: #201d1a;
  --hc-color-analysis-comb-u: #8047b5;
  --hc-color-analysis-comb-v: #01777c;
  --hc-color-analysis-zebra-dark: #000000;
  --hc-color-analysis-zebra-light: #ffffff;
  --hc-color-analysis-legend-surface: #ffffff;
  --hc-color-analysis-deviation: #201d1a;
  --hc-color-analysis-tolerance: #6b6863;
  --hc-color-feedback-error: #bd002c;
  --hc-color-feedback-error-surface: #ffffff;
  --hc-color-feedback-warning: #e6223e;
  --hc-color-feedback-warning-surface: #ffffff;
  --hc-color-feedback-success: #201d1a;
  --hc-color-feedback-success-surface: #ffffff;
  --hc-color-feedback-info: #373430;
  --hc-color-feedback-info-surface: #ffffff;
  color-scheme: light;
  --hc-color-scheme: light;
}

/* Mode: Light · High contrast */
[data-theme="light"][data-contrast="more"] {
  --hc-color-surface-base: #f7f3ee;
  --hc-color-surface-canvas: #ffffff;
  --hc-color-surface-raised: #ffffff;
  --hc-color-surface-control: #f7f3ee;
  --hc-color-surface-pressed: #ddd9d4;
  --hc-color-surface-scrim: rgba(0, 0, 0, 0.3215686274509804);
  --hc-color-text-primary: #000000;
  --hc-color-text-secondary: #373430;
  --hc-color-text-tertiary: #504d49;
  --hc-color-text-disabled: #a4a09b;
  --hc-color-border-subtle: #a4a09b;
  --hc-color-border-strong: #504d49;
  --hc-color-ui-selected: #000000;
  --hc-color-accent-fill: #ffba04;
  --hc-color-accent-fill-pressed: #ffc95a;
  --hc-color-accent-on: #201d1a;
  --hc-color-accent-text: #5c3317;
  --hc-color-accent-focus: #5c3317;
  --hc-color-action-primary-fill: #000000;
  --hc-color-action-primary-fill-pressed: #373430;
  --hc-color-action-primary-label: #f7f3ee;
  --hc-color-action-secondary-fill: #ddd9d4;
  --hc-color-action-secondary-fill-pressed: #f7f3ee;
  --hc-color-action-secondary-label: #201d1a;
  --hc-color-action-destructive-label: #900021;
  --hc-color-selection-stroke: #5c3317;
  --hc-color-selection-fill: rgba(255, 186, 4, 0.3215686274509804);
  --hc-color-selection-hover: #5c3317;
  --hc-color-sketch-geometry: #000000;
  --hc-color-sketch-construction: #504d49;
  --hc-color-sketch-dimension: #000000;
  --hc-color-sketch-plane: #504d49;
  --hc-color-model-body: #c2beb9;
  --hc-color-model-edge: #000000;
  --hc-color-model-ghost: rgba(0, 0, 0, 0.3215686274509804);
  --hc-color-constraint-under: #004e6e;
  --hc-color-constraint-fully: #000000;
  --hc-color-constraint-over: #900021;
  --hc-color-constraint-conflict: #610718;
  --hc-color-constraint-driven: #504d49;
  --hc-color-continuity-g0: #8047b5;
  --hc-color-continuity-g1: #632c92;
  --hc-color-continuity-g2: #45186b;
  --hc-color-continuity-g3: #290943;
  --hc-color-curvature-neg-4: #00364d;
  --hc-color-curvature-neg-3: #177199;
  --hc-color-curvature-neg-2: #58a3cc;
  --hc-color-curvature-neg-1: #c5ddef;
  --hc-color-curvature-zero: #f7f3ee;
  --hc-color-curvature-pos-1: #feceb4;
  --hc-color-curvature-pos-2: #ee7e34;
  --hc-color-curvature-pos-3: #a44b02;
  --hc-color-curvature-pos-4: #562400;
  --hc-color-curvature-seq-1: #290943;
  --hc-color-curvature-seq-2: #45186b;
  --hc-color-curvature-seq-3: #632c92;
  --hc-color-curvature-seq-4: #8047b5;
  --hc-color-curvature-seq-5: #01969c;
  --hc-color-curvature-seq-6: #07b7be;
  --hc-color-curvature-seq-7: #32d7df;
  --hc-color-curvature-seq-8: #93ebf0;
  --hc-color-curvature-seq-9: #d8fcfe;
  --hc-color-curvature-within: #a4a09b;
  --hc-color-curvature-over: #f07674;
  --hc-color-analysis-pass: #00581a;
  --hc-color-analysis-warn: #000000;
  --hc-color-analysis-fail: #900021;
  --hc-color-analysis-comb: #000000;
  --hc-color-analysis-comb-u: #632c92;
  --hc-color-analysis-comb-v: #01595d;
  --hc-color-analysis-zebra-dark: #000000;
  --hc-color-analysis-zebra-light: #ffffff;
  --hc-color-analysis-legend-surface: #ffffff;
  --hc-color-analysis-deviation: #000000;
  --hc-color-analysis-tolerance: #504d49;
  --hc-color-feedback-error: #610718;
  --hc-color-feedback-error-surface: #ffffff;
  --hc-color-feedback-warning: #900021;
  --hc-color-feedback-warning-surface: #ffffff;
  --hc-color-feedback-success: #000000;
  --hc-color-feedback-success-surface: #ffffff;
  --hc-color-feedback-info: #000000;
  --hc-color-feedback-info-surface: #ffffff;
  color-scheme: light;
  --hc-color-scheme: light;
}

/* System preference before data-theme is set */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --hc-color-surface-base: #f7f3ee;
    --hc-color-surface-canvas: #f7f3ee;
    --hc-color-surface-raised: #ffffff;
    --hc-color-surface-control: #f7f3ee;
    --hc-color-surface-pressed: #ddd9d4;
    --hc-color-surface-scrim: rgba(0, 0, 0, 0.3215686274509804);
    --hc-color-text-primary: #201d1a;
    --hc-color-text-secondary: #504d49;
    --hc-color-text-tertiary: #6b6863;
    --hc-color-text-disabled: #a4a09b;
    --hc-color-border-subtle: #ddd9d4;
    --hc-color-border-strong: #6b6863;
    --hc-color-ui-selected: #201d1a;
    --hc-color-accent-fill: #ffba04;
    --hc-color-accent-fill-pressed: #cc880c;
    --hc-color-accent-on: #201d1a;
    --hc-color-accent-text: #965a16;
    --hc-color-accent-focus: #965a16;
    --hc-color-action-primary-fill: #201d1a;
    --hc-color-action-primary-fill-pressed: #504d49;
    --hc-color-action-primary-label: #f7f3ee;
    --hc-color-action-secondary-fill: #ddd9d4;
    --hc-color-action-secondary-fill-pressed: #f7f3ee;
    --hc-color-action-secondary-label: #201d1a;
    --hc-color-action-destructive-label: #bd002c;
    --hc-color-selection-stroke: #965a16;
    --hc-color-selection-fill: rgba(255, 186, 4, 0.3215686274509804);
    --hc-color-selection-hover: #965a16;
    --hc-color-sketch-geometry: #373430;
    --hc-color-sketch-construction: #6b6863;
    --hc-color-sketch-dimension: #201d1a;
    --hc-color-sketch-plane: #6b6863;
    --hc-color-model-body: #c2beb9;
    --hc-color-model-edge: #201d1a;
    --hc-color-model-ghost: rgba(32, 29, 26, 0.23921568627450981);
    --hc-color-constraint-under: #177199;
    --hc-color-constraint-fully: #201d1a;
    --hc-color-constraint-over: #bd002c;
    --hc-color-constraint-conflict: #900021;
    --hc-color-constraint-driven: #6b6863;
    --hc-color-continuity-g0: #9c64d4;
    --hc-color-continuity-g1: #8047b5;
    --hc-color-continuity-g2: #632c92;
    --hc-color-continuity-g3: #45186b;
    --hc-color-curvature-neg-4: #00364d;
    --hc-color-curvature-neg-3: #177199;
    --hc-color-curvature-neg-2: #58a3cc;
    --hc-color-curvature-neg-1: #c5ddef;
    --hc-color-curvature-zero: #f7f3ee;
    --hc-color-curvature-pos-1: #feceb4;
    --hc-color-curvature-pos-2: #ee7e34;
    --hc-color-curvature-pos-3: #a44b02;
    --hc-color-curvature-pos-4: #562400;
    --hc-color-curvature-seq-1: #290943;
    --hc-color-curvature-seq-2: #45186b;
    --hc-color-curvature-seq-3: #632c92;
    --hc-color-curvature-seq-4: #8047b5;
    --hc-color-curvature-seq-5: #01969c;
    --hc-color-curvature-seq-6: #07b7be;
    --hc-color-curvature-seq-7: #32d7df;
    --hc-color-curvature-seq-8: #93ebf0;
    --hc-color-curvature-seq-9: #d8fcfe;
    --hc-color-curvature-within: #a4a09b;
    --hc-color-curvature-over: #f07674;
    --hc-color-analysis-pass: #137e33;
    --hc-color-analysis-warn: #201d1a;
    --hc-color-analysis-fail: #bd002c;
    --hc-color-analysis-comb: #201d1a;
    --hc-color-analysis-comb-u: #8047b5;
    --hc-color-analysis-comb-v: #01777c;
    --hc-color-analysis-zebra-dark: #000000;
    --hc-color-analysis-zebra-light: #ffffff;
    --hc-color-analysis-legend-surface: #ffffff;
    --hc-color-analysis-deviation: #201d1a;
    --hc-color-analysis-tolerance: #6b6863;
    --hc-color-feedback-error: #bd002c;
    --hc-color-feedback-error-surface: #ffffff;
    --hc-color-feedback-warning: #e6223e;
    --hc-color-feedback-warning-surface: #ffffff;
    --hc-color-feedback-success: #201d1a;
    --hc-color-feedback-success-surface: #ffffff;
    --hc-color-feedback-info: #373430;
    --hc-color-feedback-info-surface: #ffffff;
    color-scheme: light;
    --hc-color-scheme: light;
  }
}

/* Reduced motion: movement becomes an instant change or a short cross-fade */
@media (prefers-reduced-motion: reduce) {
  :root {
    --hc-motion-sheet-duration: 150ms;
    --hc-motion-selection-duration: 0ms;
    --hc-motion-ghost-preview-duration: 0ms;
    --hc-motion-snap-duration: 0ms;
    --hc-motion-toast-duration: 150ms;
    --hc-motion-camera-duration: 0ms;
  }
}
