:root {
  --color-bg: #161826;
  --color-surface: #232532;
  --color-surface-raised: #292b39;
  --color-surface-selected: #302d47;
  --color-text: #e9e9ed;
  --color-neutral-200: #d9dbea;
  --color-neutral-300: #cfd3e5;
  --color-neutral-400: #aeb2c5;
  --color-neutral-500: #9397ab;
  --color-neutral-600: #74788c;
  --color-neutral-700: #595d6c;
  --color-brand-purple: #9184d9;
  --color-accent: #9184d9;
  --color-on-accent: #161826;
  --color-accent-soft: rgb(145 132 217 / 14%);
  --color-divider: rgb(233 233 237 / 16%);
  --color-divider-soft: rgb(233 233 237 / 8%);
  --color-positive: #70c79a;
  --color-error: #ef8791;
  --color-search-match: #ffe066;
  --color-search-match-active: #ffb000;
  --color-search-match-text: #1f2328;
  --color-syntax-key: #d9dbea;
  --color-syntax-string: #d7b985;
  --color-syntax-number: #80cdb0;
  --color-syntax-literal: #a99ce8;
  --color-syntax-invalid: #ef8791;
  --editor-guide: rgb(147 151 171 / 24%);
  --font-body: "Inter Variable", Inter, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --space-1: 2.8px;
  --space-2: 5.6px;
  --space-3: 8.4px;
  --space-4: 11.2px;
  --space-5: 16.8px;
  --space-6: 22.4px;
  --space-border: 1px;
  --space-pane-inline: calc(var(--space-4) + var(--space-1));
  --space-control-block: var(--space-1);
  --space-control-inline: var(--space-3);
  --space-row-block: var(--space-2);
  --space-filter-block: calc(var(--space-2) + var(--space-1) / 2);
  --font-size-compact: 10.5px;
  --font-size-label: 11px;
  --font-size-control: 11.5px;
  --font-size-code: 12.5px;
  --font-size-body: 13px;
  --font-size-brand: 14px;
  --line-height-code: 1.65;
  --line-height-copy: 1.5;
  --line-height-card: 1.45;
  --font-weight-emphasis: 550;
  --tracking-brand: 0.01em;
  --tracking-label: 0.08em;
  --tracking-rail: 0.1em;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-control: 5px;
  --focus-ring: 0 0 0 2px var(--color-accent);
  --focus-outline-width: 2px;
  --focus-outline-offset: 2px;
  --rail-width: 34px;
  --shell-header-size: 48px;
  --mode-switcher-size: 46px;
  --pane-toolbar-size: 44px;
  --header-height: var(--shell-header-size);
  --toolbar-height: var(--pane-toolbar-size);
  --status-height: 30px;
  --brand-mark-size: 20px;
  --dot-size: 5px;
  --icon-control-size: 28px;
  --control-height: 26px;
  --toolbar-action-gap: var(--space-control-block);
  --toolbar-action-size: var(--control-height);
  --toolbar-icon-size: 16px;
  --toolbar-inline-padding: var(--space-pane-inline);
  --toolbar-divider-height: 16px;
  --gutter-width: 46px;
  --page-min-width: 320px;
  --pane-min-inline: 280px;
  --pane-min-width: var(--pane-min-inline);
  --tablet-pane-min-width: 180px;
  --mobile-input-height: 360px;
  --mobile-output-height: 320px;
  --virtual-row-height: 24px;
  --tree-indent-step: 14px;
  --pane-divider-size: 8px;
  --layer-fullscreen: 20;
  --motion-reduced-duration: 0.01ms;
}

:root[data-appearance="light"],
[data-appearance="light"] {
  --color-bg: #f6f8fa;
  --color-surface: #ffffff;
  --color-surface-raised: #f3f4f6;
  --color-surface-selected: #eeeafd;
  --color-text: #1f2328;
  --color-neutral-200: #1f2328;
  --color-neutral-300: #1f2328;
  --color-neutral-400: #59636e;
  --color-neutral-500: #59636e;
  --color-neutral-600: #59636e;
  --color-neutral-700: #8c959f;
  --color-brand-purple: #9184d9;
  --color-accent: #7564d8;
  --color-on-accent: #ffffff;
  --color-accent-soft: rgb(117 100 216 / 13%);
  --color-divider: #d0d7de;
  --color-divider-soft: rgb(208 215 222 / 48%);
  --color-positive: #287a50;
  --color-error: #b42332;
  --color-search-match: #ffe066;
  --color-search-match-active: #ffb000;
  --color-search-match-text: #1f2328;
  --color-syntax-key: #343742;
  --color-syntax-string: #885a1f;
  --color-syntax-number: #1b7457;
  --color-syntax-literal: #5f4e9d;
  --color-syntax-invalid: #b42332;
}

:root[data-appearance="dark"],
[data-appearance="dark"] {
  --color-bg: #0d1117;
  --color-surface: #161b22;
  --color-surface-raised: #21262d;
  --color-surface-selected: #2d2946;
  --color-text: #e6edf3;
  --color-neutral-300: #c9d1d9;
  --color-neutral-500: #8b949e;
  --color-neutral-700: #484f58;
  --color-brand-purple: #9184d9;
  --color-accent: #a99ce8;
  --color-on-accent: #0d1117;
  --color-accent-soft: rgb(169 156 232 / 14%);
  --color-search-match: #ffe066;
  --color-search-match-active: #ffb000;
  --color-search-match-text: #1f2328;
  --color-divider: rgb(240 246 252 / 16%);
  --color-divider-soft: rgb(240 246 252 / 8%);
}
