:root {
  /* Ulla UI · Paper (light) */
  --gray-1: #FFFFFF;
  --gray-2: #FAFAFB;
  --gray-3: #F4F4F6;
  --gray-4: #EDEDF0;
  --gray-5: #E6E6EA;
  --gray-6: #DEDDE3;
  --gray-7: #D2D1D9;
  --gray-8: #BCBBC6;
  --gray-9: #8B8996;
  --gray-10: #7F7D8A;
  --gray-11: #636270;
  --gray-12: #141319;
  --accent-1: #FDFCFF;
  --accent-2: #F8F6FE;
  --accent-3: #F0ECFD;
  --accent-4: #E6DFFB;
  --accent-5: #DACFF8;
  --accent-6: #C9BAF3;
  --accent-7: #B19EEB;
  --accent-8: #8F75DF;
  --accent-9: #3505B2;
  --accent-10: #2C0396;
  --accent-11: #4B26C4;
  --accent-12: #1E0B5C;
  --bg-app: #FAFAFB;
  --bg: #FFFFFF;
  --bg-subtle: #FAFAFB;
  --surface: #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-sunken: #F4F4F6;
  --fill: #F4F4F6;
  --fill-hover: #EDEDF0;
  --fill-active: #E6E6EA;
  --border-subtle: #E6E6EA;
  --border: #DEDDE3;
  --border-strong: #D2D1D9;
  --border-control: #8B8996;
  --text: #141319;
  --text-muted: #636270;
  --text-subtle: #7F7D8A;
  --text-disabled: #BCBBC6;
  --text-on-accent: #FFFFFF;
  --accent: #3505B2;
  --accent-hover: #2C0396;
  --accent-active: #2C0396;
  --accent-subtle: #F0ECFD;
  --accent-subtle-hover: #E6DFFB;
  --accent-border: #B19EEB;
  --accent-text: #4B26C4;
  --focus: #3505B2;
  --frame: #3505B2;
  --selection: #E6DFFB;
  --overlay: rgba(17,14,27,.40);
  --success-subtle: #E7F3F0;
  --success-border: #9CCFC1;
  --success: #2C685B;
  --success-text: #23574C;
  --success-on: #FFFFFF;
  --warning-subtle: #F6EFE2;
  --warning-border: #D9BF8C;
  --warning: #694C15;
  --warning-text: #694C15;
  --warning-on: #FFFFFF;
  --danger-subtle: #F9E8F0;
  --danger-border: #E3A6C4;
  --danger: #951D5C;
  --danger-text: #951D5C;
  --danger-on: #FFFFFF;
  --info-subtle: #E8F2F8;
  --info-border: #A5CBE0;
  --info: #397CA2;
  --info-text: #2D6687;
  --info-on: #FFFFFF;
  --chart-1: #3505B2;
  --chart-2: #215177;
  --chart-3: #2C685B;
  --chart-4: #694C15;
  --chart-5: #951D5C;
  --chart-6: #397CA2;
  --chart-grid: #E6E6EA;
  --chart-axis: #636270;
  --chart-baseline: #BCBBC6;
  --shadow-1: 0 1px 2px rgba(17,14,27,.06);
  --shadow-2: 0 2px 4px rgba(17,14,27,.05), 0 6px 16px rgba(17,14,27,.08);
  --shadow-3: 0 4px 8px rgba(17,14,27,.06), 0 16px 40px rgba(17,14,27,.14);
  --shadow-4: 0 8px 16px rgba(17,14,27,.08), 0 28px 64px rgba(17,14,27,.20);
  --highlight: inset 0 0 0 0 transparent;
  --font-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --frame-width: 5px;
  --space-0: 0;
  --space-0-5: 2px;
  --space-1: 4px;
  --space-1-5: 6px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --control-xs: 24px;
  --control-sm: 28px;
  --control-md: 32px;
  --control-lg: 40px;
  --control-xl: 48px;
  --row-compact: 32px;
  --row-default: 40px;
  --row-comfortable: 48px;
  --dur-instant: 100ms;
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-slow: 280ms;
  --ease-standard: cubic-bezier(.2,0,0,1);
  --ease-enter: cubic-bezier(0,0,.2,1);
  --ease-exit: cubic-bezier(.4,0,1,1);
  --z-sticky: 10;
  --z-dropdown: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-tooltip: 500;
}
[data-theme="night"] {
  /* Ulla UI · Night (dark) */
  --gray-1: #0B0914;
  --gray-2: #110E1B;
  --gray-3: #171421;
  --gray-4: #1C1927;
  --gray-5: #221E2F;
  --gray-6: #2A2638;
  --gray-7: #353046;
  --gray-8: #4A445E;
  --gray-9: #6E6883;
  --gray-10: #7B758F;
  --gray-11: #A7A2B8;
  --gray-12: #E8E4F3;
  --accent-1: #130F22;
  --accent-2: #19132E;
  --accent-3: #241A48;
  --accent-4: #2C1F5C;
  --accent-5: #35266D;
  --accent-6: #3F3080;
  --accent-7: #4D3D9B;
  --accent-8: #6150C2;
  --accent-9: #8B6EF7;
  --accent-10: #9B82F8;
  --accent-11: #B3A1FB;
  --accent-12: #E3DCFD;
  --bg-app: #0B0914;
  --bg: #110E1B;
  --bg-subtle: #171421;
  --surface: #171421;
  --surface-raised: #1C1927;
  --surface-sunken: #0B0914;
  --fill: #1C1927;
  --fill-hover: #221E2F;
  --fill-active: #2A2638;
  --border-subtle: #221E2F;
  --border: #2A2638;
  --border-strong: #353046;
  --border-control: #6E6883;
  --text: #E8E4F3;
  --text-muted: #A7A2B8;
  --text-subtle: #7B758F;
  --text-disabled: #4A445E;
  --text-on-accent: #110E1B;
  --accent: #8B6EF7;
  --accent-hover: #9B82F8;
  --accent-active: #6150C2;
  --accent-subtle: #241A48;
  --accent-subtle-hover: #2C1F5C;
  --accent-border: #4D3D9B;
  --accent-text: #B3A1FB;
  --focus: #9B82F8;
  --frame: #8B6EF7;
  --selection: #2C1F5C;
  --overlay: rgba(5,4,10,.66);
  --success-subtle: #12302B;
  --success-border: #2A6B5E;
  --success: #61CDB6;
  --success-text: #7FDBC6;
  --success-on: #110E1B;
  --warning-subtle: #33270F;
  --warning-border: #7A5A1F;
  --warning: #EFB253;
  --warning-text: #F3C478;
  --warning-on: #110E1B;
  --danger-subtle: #3A1029;
  --danger-border: #8A2A5E;
  --danger: #E23A92;
  --danger-text: #F07AB5;
  --danger-on: #110E1B;
  --info-subtle: #12283A;
  --info-border: #2F6688;
  --info: #79C1E8;
  --info-text: #9BD2F0;
  --info-on: #110E1B;
  --chart-1: #8B6EF7;
  --chart-2: #55A9DD;
  --chart-3: #61CDB6;
  --chart-4: #EFB253;
  --chart-5: #E23A92;
  --chart-6: #79C1E8;
  --chart-grid: #221E2F;
  --chart-axis: #A7A2B8;
  --chart-baseline: #4A445E;
  --shadow-1: 0 1px 2px rgba(0,0,0,.40);
  --shadow-2: 0 2px 4px rgba(0,0,0,.35), 0 8px 20px rgba(0,0,0,.45);
  --shadow-3: 0 4px 8px rgba(0,0,0,.40), 0 20px 48px rgba(0,0,0,.55);
  --shadow-4: 0 8px 16px rgba(0,0,0,.45), 0 32px 72px rgba(0,0,0,.65);
  --highlight: inset 0 1px 0 rgba(255,255,255,.05);
}
