/* Generated from design/ui-tokens.json. Opt-in only. Never overrides legacy variables. */
:where([data-sb-tokens]) {
  --sb-radius-s: 8px;
  --sb-radius-m: 12px;
  --sb-radius-l: 16px;
  --sb-radius-xl: 20px;
  --sb-radius-pill: 999px;
  --sb-space-4: 4px;
  --sb-space-8: 8px;
  --sb-space-12: 12px;
  --sb-space-16: 16px;
  --sb-space-24: 24px;
  --sb-space-32: 32px;
  --sb-size-icon-s: 16px;
  --sb-size-icon-m: 20px;
  --sb-size-icon-l: 24px;
  --sb-size-control-compact: 34px;
  --sb-size-control-default: 40px;
  --sb-size-target-touch: 44px;
  --sb-type-family-ui: 'Inter', 'Noto Sans TC', system-ui, sans-serif;
  --sb-type-family-code: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --sb-type-caption: 12px;
  --sb-type-body: 14px;
  --sb-type-label: 13px;
  --sb-type-heading-s: 18px;
  --sb-type-heading-m: 24px;
  --sb-type-heading-l: 32px;
  --sb-type-weight-body: 400;
  --sb-type-weight-label: 600;
  --sb-type-weight-heading: 700;
  --sb-type-line-body: 1.6;
  --sb-type-line-label: 1.4;
  --sb-type-line-heading: 1.2;
  --sb-border-width: 1px;
  --sb-border-width-strong: 2px;
  --sb-border-focus-width: 2px;
  --sb-border-focus-offset: 3px;
  --sb-motion-duration-fast: 120ms;
  --sb-motion-duration-ui: 240ms;
  --sb-motion-duration-ui-exit: 160ms;
  --sb-motion-duration-panel: 300ms;
  --sb-motion-duration-panel-exit: 210ms;
  --sb-motion-duration-modal: 280ms;
  --sb-motion-duration-modal-exit: 180ms;
  --sb-motion-duration-restore: 120ms;
  --sb-motion-ease-enter: cubic-bezier(.16,1,.3,1);
  --sb-motion-ease-exit: cubic-bezier(.4,0,1,1);
  --sb-motion-ease-feedback: cubic-bezier(.2,0,0,1);
  --sb-motion-ease-physical: cubic-bezier(.2,.85,.25,1);
  --sb-motion-delay-surface: 0ms;
  --sb-motion-delay-highlight: 30ms;
  --sb-motion-delay-primary: 75ms;
  --sb-motion-delay-support: 110ms;
  --sb-motion-press-scale: .97;
  --sb-motion-distance-ui: 8px;
  --sb-surface-radius: var(--sb-radius-l);
  --sb-surface-floating-radius: var(--sb-radius-xl);
  --sb-surface-glass-radius: var(--sb-radius-xl);
  --sb-surface-floating-blur: 12px;
  --sb-surface-glass-blur: 8px;
  --sb-surface-saturation: 112%;
  --sb-color-canvas: #f4f4f5;
  --sb-color-surface: #fafafa;
  --sb-color-surface-raised: #ffffff;
  --sb-color-floating: rgba(248,250,252,.88);
  --sb-color-glass-tint: rgba(248,250,252,.60);
  --sb-color-text: #18181b;
  --sb-color-text-muted: #52525b;
  --sb-color-text-subtle: #6b6b75;
  --sb-color-border: #d4d4d8;
  --sb-color-border-strong: #71717a;
  --sb-color-accent: #3f3f46;
  --sb-color-accent-hover: #27272a;
  --sb-color-on-accent: #ffffff;
  --sb-color-focus-ring: #475569;
  --sb-color-success: #15803d;
  --sb-color-success-surface: #dcfce7;
  --sb-color-warning: #854d0e;
  --sb-color-warning-surface: #fef9c3;
  --sb-color-danger: #b91c1c;
  --sb-color-danger-surface: #fee2e2;
  --sb-color-hover: rgba(63,63,70,.06);
  --sb-color-pressed: rgba(63,63,70,.12);
  --sb-color-selected: rgba(63,63,70,.10);
  --sb-color-disabled-text: #71717a;
  --sb-color-disabled-surface: #e4e4e7;
  --sb-shadow-surface: 0 2px 6px rgba(15,23,42,.06);
  --sb-shadow-floating: 0 12px 28px -12px rgba(15,23,42,.24);
  --sb-shadow-glass: 0 18px 36px -16px rgba(15,23,42,.28), inset 0 1px rgba(255,255,255,.65);
  --sb-shadow-pressed: inset 0 1px 3px rgba(15,23,42,.14);
}
:where([data-sb-tokens][data-sb-theme="dark"]) {
  --sb-color-canvas: #121214;
  --sb-color-surface: #18181b;
  --sb-color-surface-raised: #27272a;
  --sb-color-floating: rgba(20,20,23,.90);
  --sb-color-glass-tint: rgba(24,24,27,.64);
  --sb-color-text: #f4f4f5;
  --sb-color-text-muted: #d4d4d8;
  --sb-color-text-subtle: #a1a1aa;
  --sb-color-border: #3f3f46;
  --sb-color-border-strong: #a1a1aa;
  --sb-color-accent: #e4e4e7;
  --sb-color-accent-hover: #d4d4d8;
  --sb-color-on-accent: #18181b;
  --sb-color-focus-ring: #e4e4e7;
  --sb-color-success: #4ade80;
  --sb-color-success-surface: #123322;
  --sb-color-warning: #facc15;
  --sb-color-warning-surface: #382d0e;
  --sb-color-danger: #f87171;
  --sb-color-danger-surface: #3a171c;
  --sb-color-hover: rgba(228,228,231,.07);
  --sb-color-pressed: rgba(228,228,231,.14);
  --sb-color-selected: rgba(228,228,231,.12);
  --sb-color-disabled-text: #a1a1aa;
  --sb-color-disabled-surface: #27272a;
  --sb-shadow-surface: 0 2px 8px rgba(0,0,0,.18);
  --sb-shadow-floating: 0 14px 32px -12px rgba(0,0,0,.48);
  --sb-shadow-glass: 0 20px 40px -16px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.16);
  --sb-shadow-pressed: inset 0 1px 4px rgba(0,0,0,.3);
}
@media (prefers-reduced-motion: reduce) {
  :where([data-sb-tokens]) {
    --sb-motion-duration-fast: 0ms;
    --sb-motion-duration-ui: 0ms;
    --sb-motion-duration-ui-exit: 0ms;
    --sb-motion-duration-panel: 0ms;
    --sb-motion-duration-panel-exit: 0ms;
    --sb-motion-duration-modal: 0ms;
    --sb-motion-duration-modal-exit: 0ms;
    --sb-motion-duration-restore: 0ms;
    --sb-motion-delay-surface: 0ms;
    --sb-motion-delay-highlight: 0ms;
    --sb-motion-delay-primary: 0ms;
    --sb-motion-delay-support: 0ms;
    --sb-motion-press-scale: 1;
    --sb-motion-distance-ui: 0px;
  }
}
