/*
 * Global UI Kit tokens — shared by every prototype.
 * Names mirror the Figma variables. Light is the default; dark follows the OS
 * unless a page sets <html data-theme="light|dark">.
 * Merged from the Inbox, Dropdown and Select prototypes.
 */
:root{
  --color-semantic-bg-base:#eceaf1;
  --color-semantic-bg-surface-primary:#fcfbfe;
  --color-semantic-bg-surface-secondary:#f4f2f8;
  --color-semantic-bg-surface-highlight:#ffffff;
  --color-semantic-bg-surface-highlight-hover:#fcfbfe;
  --color-semantic-bg-surface-tertiary:rgba(255,255,255,0);
  --color-semantic-bg-surface-tertiary-hover:rgba(0,0,0,.05);
  --color-semantic-bg-surface-tertiary-active:rgba(0,0,0,.08);
  --color-semantic-bg-fill-primary:#6257f4;
  --color-semantic-bg-fill-primary-hover:#584def;
  --color-semantic-bg-fill-primary-pressed:#3c3faa;
  --color-semantic-bg-fill-primary-disabled:#eceaf1;
  --color-semantic-bg-fill-tertiary:rgba(255,255,255,0);
  --color-semantic-bg-fill-tertiary-hover:rgba(0,0,0,.05);
  --color-semantic-bg-fill-tertiary-pressed:rgba(0,0,0,.08);
  --color-semantic-bg-fill-tertiary-disabled:rgba(255,255,255,0);
  --color-semantic-bg-fill-secondary:rgba(255,255,255,0);
  --color-semantic-bg-fill-secondary-hover:rgba(0,0,0,.05);
  --color-semantic-bg-fill-secondary-pressed:rgba(0,0,0,.08);
  --color-semantic-bg-fill-secondary-disabled:#eceaf1;
  --color-semantic-bg-fill-danger:#eb150f;
  --color-semantic-bg-fill-danger-hover:#d01501;
  --color-semantic-bg-fill-danger-pressed:#9e0f00;
  --color-semantic-bg-fill-danger-disabled:#ffe7e6;
  --color-semantic-icon-danger:#eb150f;
  --color-semantic-border-disabled-secondary:rgba(0,0,0,.05);
  --color-semantic-text-primary:#15131b;
  --color-semantic-text-secondary:#332c3a;
  --color-semantic-text-tertiary:#656972;
  --color-semantic-text-placeholder:#8d919b;
  --color-semantic-text-interactive:#584def;
  --color-semantic-text-inverse:#ffffff;
  --color-semantic-text-on-bg-fill:#ffffff;
  --color-semantic-tab-text-selected:#101128;
  --color-semantic-tab-text-unsel:#656972;
  --color-semantic-icon-primary:#332c3a;
  --color-semantic-icon-secondary:#656972;
  --color-semantic-icon-tertiary:#8d919b;
  --color-semantic-icon-info:#6257f4;
  --color-semantic-icon-disabled:#a9abb2;
  --color-semantic-icon-success:#2d8643;
  --color-semantic-icon-on-bg-fill:#ffffff;
  --color-semantic-border-secondary:#d8d6db;
  --color-semantic-border-tertiary:#eceaf1;
  --color-semantic-border-inverse:#ffffff;
  --color-semantic-border-focus:#6257f4;
  --color-semantic-border-alpha:rgba(0,0,0,.08);
  --color-semantic-input-hover:rgba(0,0,0,.08);
  --color-semantic-input-inverse:rgba(255,255,255,.2);
  --color-semantic-cell-bg-selected:#f5f6fe;
  --color-semantic-cell-border-selected:#94a2ff;
  --color-semantic-accent-gray-surface:rgba(0,0,0,.05);
  --color-semantic-accent-orange-surface-hover:#ffcab2; /* Figma: color-semantic/accent/orange/surface-hover */
  --color-semantic-accent-gray-text-primary:#504c57;
  --color-semantic-accent-red-surface:#ffe7e6;
  --color-semantic-accent-red-text-primary:#d01501;
  --color-semantic-accent-green-surface:#d7f4e7;
  --color-semantic-accent-green-text-primary:#25793a;
  --color-semantic-accent-blue-text-primary:#584def;
  /* Figma: color-semantic/accent/blue/surface-hover. Light value only: dark value not looked up yet. */
  --color-semantic-accent-blue-surface-hover:#cad1fc;
  /* Figma: color-semantic/tooltip/* (tooltip-small). Light values only: dark not looked up yet. */
  --color-semantic-tooltip-bg:#15131b;
  --color-semantic-tooltip-text:#ffffff;
  --color-semantic-tooltip-border:rgba(255,255,255,0);
  /* Figma: color-semantic/tooltip/button-secondary-* (.tooltip-button secondary). Light values only: dark not looked up yet. */
  --color-semantic-tooltip-button-secondary-hover:rgba(255,255,255,.12);
  --color-semantic-tooltip-button-secondary-pressed:rgba(255,255,255,.16);
  --color-semantic-tooltip-button-secondary-disabled:rgba(255,255,255,.05);
  /* Figma: color-semantic/bg/fill/loading, icon/inverse, text/on-bg-fill-inverse-disabled (global-banner). Light values only: dark not looked up yet. */
  --color-semantic-bg-fill-loading:#727683;
  --color-semantic-icon-inverse:#fcfbfe;
  --color-semantic-text-on-bg-fill-inverse-disabled:#8d919b;
  /* Figma: color-semantic/accent/*/highlight (inbox icon colours). Light values only: dark not looked up yet. */
  --color-semantic-accent-gray-highlight:#504c57;
  --color-semantic-accent-orange-highlight:#f36416;
  --color-semantic-accent-red-highlight:#eb150f;
  --color-semantic-accent-green-highlight:#2d8643;
  --color-semantic-accent-yellow-highlight:#d5a401;
  --color-semantic-accent-blue-highlight:#6257f4;
  --color-semantic-accent-blue-text-secondary:#7989f7;
  --color-semantic-accent-green-text-secondary:#3ba554;
  --color-semantic-accent-red-text-secondary:#fc4f4a;
  --color-semantic-accent-purple-text-secondary:#b679f2;
  --accent-color-highlight:#504c57;
  --numerical-spacing-050:2px;
  --numerical-spacing-100:4px;
  --numerical-spacing-150:6px;
  --numerical-spacing-200:8px;
  --numerical-spacing-300:12px;
  --numerical-spacing-400:16px;
  --numerical-space-350:14px; /* Figma: numerical/space/350 (used by P3 convo cell) */
  --numerical-spacing-500:20px;
  --numerical-spacing-600:24px;
  --numerical-border-radius-100:4px;
  --numerical-border-radius-150:6px;
  --numerical-border-radius-200:8px;
  --numerical-border-radius-250:10px;
  --font-size-smallest:10px;
  --font-size-small:12px;
  --font-size-small2:13px;
  --font-size-medium:14px;
  --font-size-large1:16px;
  --font-lineHeight-150:12px;
  --font-lineHeight-200:16px;
  --font-lineHeight-225:18px;
  --font-lineHeight-250:20px;
  --font-lineHeight-300:24px;
  --font-letterSpacing-normal:0;
  --font-letterSpacing-dense:-.2px;
  /* Figma stores font/weight/* as style names ("Medium", "Semibold"); the text styles map them to 500 and 600. */
  --font-weight-regular:400;
  --font-weight-medium:500;
  --font-family-inter:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; /* Figma: font/family/inter ("Inter"), with base.css's fallbacks */
  --font-weight-semibold:600;
  --elevation-1:0 2px 8px rgba(0,0,0,.09);
  --color-semantic-text-disabled:#a9abb2;
  --color-semantic-text-danger:#d01501;
  --color-semantic-border-primary:#8d919b;
  --color-semantic-input-textField-active:#ffffff;
  --accent-color-surface:rgba(0,0,0,.05);
  /* Figma: accent-color/surface-hover (pill hover). Gray mode, so it follows accent/gray/surface-hover in dark too. */
  --accent-color-surface-hover:var(--color-semantic-accent-gray-surface-hover);
  --numerical-spacing-800:32px;
  --font-size-large2:18px;
  --font-letterSpacing-denser:-.4px;
  --color-semantic-text-on-bg-fill-filtered:#584def;
  --color-semantic-input-default:rgba(0,0,0,.05);
  --color-semantic-input-error:#ffe7e6;
  --color-semantic-input-error-hover:#fdcac3;
  --color-semantic-input-disabled:rgba(255,255,255,0);
  --color-semantic-border-danger:#eb150f;
  --color-semantic-bg-surface-overlay:rgba(0,0,0,.4);
  --color-semantic-input-selected:rgba(0,0,0,.12);
  --color-semantic-input-filtered:#e6e9fe;
  --color-semantic-input-filtered-hover:#cad1fc;
  --numerical-border-radius-300:12px;
  --numerical-spacing-0:0px;
  --numerical-spacing-1000:40px;
  --numerical-spacing-1200:48px;
  --numerical-border-radius-0:0px;
  --numerical-border-radius-050:2px;
  --numerical-border-radius-400:16px;
  --numerical-border-radius-500:20px;
  --numerical-border-radius-750:30px;
  --numerical-border-radius-full:999px;
  --numerical-border-width-0:0px;
  --numerical-border-width-025:1px;
  --numerical-border-width-050:2px;
  --numerical-border-width-100:4px;
  /* Avatar (Figma: 🟣 avatar). accent-color/text-primary aliases accent/gray/text-primary in the gray mode. */
  --accent-color-text-primary:var(--color-semantic-accent-gray-text-primary);
  --font-size-huge:24px;
  --font-lineHeight-350:28px;
  --font-lineHeight-400:32px;
  --font-size-huge2:28px; /* Figma: font/size/huge2 (display-bold) */
  --font-weight-bold:700; /* Figma: font/weight/bold ("Bold") */
  /* code-format text style: Figma sets "Suisse Int'l Mono" directly (no font/family variable).
     It isn't a web font here, so the monospace fallbacks render until it's licensed and loaded. */
  --font-family-code:"Suisse Int'l Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  /* avatar-status only: Figma binds the dot to primitives (same value in every mode).
     Agreed exception to the semantic-only rule; don't use these anywhere else. */
  --color-primitive-green-500:#3ba554;
  --color-primitive-yellow-500:#bd8728;
  --color-primitive-red-600:#eb150f;
  --elevation-2:0 3px 10px rgba(0,0,0,.10);
  --elevation-3:0 1px 3px rgba(0,0,0,.15);
  --elevation-4:0 2px 4px rgba(0,0,0,.20);
  /* Not from Figma: layered shadow from stevehay.es/playground (layers at .04, offset and blur doubling). Added on request.
     Trimmed for less spread below: no 128px layer, and the two largest layers drop by half their blur. */
  --elevation-steve-hayes:inset 0 1px 0 rgba(0,0,0,.04),0 1px 1px rgba(0,0,0,.04),0 2px 2px rgba(0,0,0,.04),0 4px 4px rgba(0,0,0,.04),0 8px 8px rgba(0,0,0,.04),0 16px 16px rgba(0,0,0,.04),0 16px 32px rgba(0,0,0,.04),0 32px 64px rgba(0,0,0,.04);
  /* —— Global UI Kit › Front Global colour variables, ingested in full (light mode). Names mirror Figma. —— */
  --color-semantic-input-inverse-hover:rgba(255,255,255,.8);
  --color-semantic-bg-base-secondary:#f4f2f8;
  --color-semantic-border-focus-inverse:rgba(0,0,0,.2);
  --color-semantic-border-brand:#a53eef;
  --color-semantic-border-warning:#bd8728;
  --color-semantic-border-disabled:rgba(255,255,255,0);
  --color-semantic-bg-base-inverse:#15131b;
  --color-semantic-bg-surface-primary-hover:#f4f2f8;
  --color-semantic-bg-surface-primary-active:#f4f2f8;
  --color-semantic-bg-surface-secondary-hover:#eceaf1;
  --color-semantic-bg-surface-lowlight-hover:rgba(0,0,0,.03);
  --color-semantic-bg-surface-inverse:#15131b;
  --color-semantic-bg-surface-info:#e6e9fe;
  --color-semantic-bg-surface-info-secondary:#f5f6fe;
  --color-semantic-bg-surface-info-hover:#cad1fc;
  --color-semantic-bg-surface-success:#d7f4e7;
  --color-semantic-bg-surface-success-secondary:#f3fcf8;
  --color-semantic-bg-surface-success-hover:#ade1c0;
  --color-semantic-bg-surface-warning:#f8eec3;
  --color-semantic-bg-surface-warning-secondary:#fefbf1;
  --color-semantic-bg-surface-warning-hover:#face47;
  --color-semantic-bg-surface-danger:#ffe7e6;
  --color-semantic-bg-surface-danger-secondary:#fef7f5;
  --color-semantic-bg-surface-danger-hover:#fdcac3;
  --color-semantic-bg-surface-brand:#f4e8fd;
  --color-semantic-bg-surface-brand-secondary:#fbf5ff;
  --color-semantic-bg-surface-brand-hover:#dacbf1;
  --color-semantic-bg-fill-success:#2d8643;
  --color-semantic-bg-fill-success-hover:#25793a;
  --color-semantic-bg-fill-success-pressed:#245632;
  --color-semantic-bg-fill-success-disabled:#d7f4e7;
  --color-semantic-bg-fill-warning:#face47;
  --color-semantic-bg-fill-warning-hover:#d5a401;
  --color-semantic-bg-fill-warning-pressed:#bd8728;
  --color-semantic-bg-fill-brand:#a53eef;
  --color-semantic-bg-fill-brand-hover:#9820ee;
  --color-semantic-bg-fill-brand-pressed:#7322a5;
  --color-semantic-bg-fill-brand-disabled:#f4e8fd;
  --color-semantic-bg-fill-inverse:#332c3a;
  --color-semantic-bg-fill-loading-progress:#504c57;
  --color-semantic-bg-fill-highlight:#fbf440;
  --color-semantic-bg-fill-highlight-secondary:#ffcab2;
  --color-semantic-bg-fill-highlight-secondary-active:#f6844c;
  --color-semantic-bg-fill-highlight-comment:rgba(243,100,22,.2);
  --color-semantic-icon-brand:#a53eef;
  --color-semantic-icon-warning:#d5a401;
  --color-semantic-icon-on-bg-fill-inverse:#0b0910;
  --color-semantic-accent-blue-surface:#e6e9fe;
  --color-semantic-accent-red-surface-hover:#fdcac3;
  --color-semantic-accent-yellow-text-primary:#906213;
  --color-semantic-accent-yellow-text-secondary:#d5a401;
  --color-semantic-accent-yellow-surface:#f8eec3;
  --color-semantic-accent-yellow-surface-hover:#face47;
  --color-semantic-accent-orange-text-primary:#b84300;
  --color-semantic-accent-orange-text-secondary:#f36416;
  --color-semantic-accent-orange-surface:#ffe9e0;
  --color-semantic-accent-teal-text-primary:#00758a;
  --color-semantic-accent-teal-text-secondary:#1f9fb2;
  --color-semantic-accent-teal-highlight:#007f8f;
  --color-semantic-accent-teal-surface:#cdf3f9;
  --color-semantic-accent-teal-surface-hover:#99dfea;
  --color-semantic-accent-green-surface-hover:#ade1c0;
  --color-semantic-accent-purple-text-primary:#9820ee;
  --color-semantic-accent-purple-highlight:#a53eef;
  --color-semantic-accent-purple-surface:#f4e8fd;
  --color-semantic-accent-purple-surface-hover:#dacbf1;
  --color-semantic-accent-magenta-text-primary:#c01695;
  --color-semantic-accent-magenta-text-secondary:#f561c8;
  --color-semantic-accent-magenta-highlight:#e231b6;
  --color-semantic-accent-magenta-surface:#fbeaf6;
  --color-semantic-accent-magenta-surface-hover:#f3c9e7;
  --color-semantic-accent-gray-text-secondary:#8d919b;
  --color-semantic-accent-gray-surface-hover:rgba(0,0,0,.08);
  --color-semantic-text-inverse-secondary:#eceaf1;
  --color-semantic-text-warning:#9d6c01;
  --color-semantic-text-success:#2d8643;
  --color-semantic-text-brand:#9820ee;
  --color-semantic-text-brand-secondary:#492858;
  --color-semantic-text-on-bg-fill-inverse:#15131b;
  --color-semantic-text-on-bg-fill-disabled:#a9abb2;
  --color-semantic-text-interactive-hover:#3c3faa;
  --color-primitive-alpha-transparent:rgba(255,255,255,0);
  --color-primitive-alpha-black-black-50:rgba(0,0,0,.03);
  --color-primitive-alpha-black-black-100:rgba(0,0,0,.05);
  --color-primitive-alpha-black-black-200:rgba(0,0,0,.08);
  --color-primitive-alpha-black-black-300:rgba(0,0,0,.12);
  --color-primitive-alpha-black-black-400:rgba(0,0,0,.16);
  --color-primitive-alpha-black-black-500:rgba(0,0,0,.2);
  --color-primitive-alpha-black-black-1000:rgba(0,0,0,.4);
  --color-primitive-alpha-black-black-1500:rgba(0,0,0,.6);
  --color-primitive-alpha-black-black-2000:rgba(0,0,0,.8);
  --color-primitive-gray-black:#0b0910;
  --color-primitive-gray-1050:#110f15;
  --color-primitive-gray-1000:#15131b;
  --color-primitive-gray-950:#221e29;
  --color-primitive-gray-900:#332c3a;
  --color-primitive-gray-800:#504c57;
  --color-primitive-gray-700:#656972;
  --color-primitive-gray-600:#727683;
  --color-primitive-gray-500:#8d919b;
  --color-primitive-gray-400:#a9abb2;
  --color-primitive-gray-300:#d8d6db;
  --color-primitive-gray-200:#eceaf1;
  --color-primitive-gray-100:#f4f2f8;
  --color-primitive-gray-50:#fcfbfe;
  --color-primitive-gray-white:#ffffff;
  --color-primitive-purple-1000:#24172c;
  --color-primitive-purple-900:#492858;
  --color-primitive-purple-800:#7322a5;
  --color-primitive-purple-700:#9820ee;
  --color-primitive-purple-600:#a53eef;
  --color-primitive-purple-500:#b679f2;
  --color-primitive-purple-400:#cfb6ec;
  --color-primitive-purple-300:#dacbf1;
  --color-primitive-purple-200:#f4e8fd;
  --color-primitive-purple-100:#fbf5ff;
  --color-primitive-purple-50:#fdfaff;
  --color-primitive-blurple-1000:#101128;
  --color-primitive-blue-1000:#001b38;
  --color-primitive-blue-900:#22244f;
  --color-primitive-blue-800:#325385;
  --color-primitive-blue-700:#1665d5;
  --color-primitive-blue-600:#2e70ea;
  --color-primitive-blue-500:#5d90ef;
  --color-primitive-blue-400:#79a7f6;
  --color-primitive-blue-300:#c5d5fc;
  --color-primitive-blue-200:#e6eefe;
  --color-primitive-blue-100:#f5f8fe;
  --color-primitive-blurple-900:#20224b;
  --color-primitive-blurple-800:#3c3faa;
  --color-primitive-blurple-700:#584def;
  --color-primitive-blurple-600:#6257f4;
  --color-primitive-blurple-500:#7989f7;
  --color-primitive-blurple-400:#94a2ff;
  --color-primitive-blurple-300:#cad1fc;
  --color-primitive-blurple-200:#e6e9fe;
  --color-primitive-blurple-100:#f5f6fe;
  --color-primitive-teal-1000:#001f24;
  --color-primitive-teal-900:#003a42;
  --color-primitive-teal-800:#005661;
  --color-primitive-teal-700:#00758a;
  --color-primitive-teal-600:#007f8f;
  --color-primitive-teal-500:#1f9fb2;
  --color-primitive-teal-400:#22b6d3;
  --color-primitive-teal-300:#99dfea;
  --color-primitive-teal-200:#cdf3f9;
  --color-primitive-teal-100:#f0fdff;
  --color-primitive-green-1000:#092011;
  --color-primitive-green-900:#153722;
  --color-primitive-green-800:#245632;
  --color-primitive-green-700:#25793a;
  --color-primitive-green-600:#2d8643;
  --color-primitive-green-400:#5bb97d;
  --color-primitive-green-300:#ade1c0;
  --color-primitive-green-200:#d7f4e7;
  --color-primitive-green-100:#f3fcf8;
  --color-primitive-yellow-1000:#291600;
  --color-primitive-yellow-900:#422e00;
  --color-primitive-yellow-800:#65470b;
  --color-primitive-yellow-700:#906213;
  --color-primitive-yellow-600:#9d6c01;
  --color-primitive-yellow-400:#d5a401;
  --color-primitive-yellow-300:#face47;
  --color-primitive-yellow-200:#f8eec3;
  --color-primitive-yellow-100:#fefbf1;
  --color-primitive-yellow-highlight:#fbf440;
  --color-primitive-orange-1000:#301303;
  --color-primitive-orange-900:#572300;
  --color-primitive-orange-800:#8a3000;
  --color-primitive-orange-700:#b84300;
  --color-primitive-orange-600:#d14900;
  --color-primitive-orange-500:#f36416;
  --color-primitive-orange-400:#f6844c;
  --color-primitive-orange-300:#ffcab2;
  --color-primitive-orange-200:#ffe9e0;
  --color-primitive-orange-100:#fff7f5;
  --color-primitive-red-1000:#3d0200;
  --color-primitive-red-900:#660c05;
  --color-primitive-red-800:#9e0f00;
  --color-primitive-red-700:#d01501;
  --color-primitive-red-500:#fc4f4a;
  --color-primitive-red-400:#ff7c75;
  --color-primitive-red-300:#fdcac3;
  --color-primitive-red-200:#ffe7e6;
  --color-primitive-red-100:#fef7f5;
  --color-primitive-magenta-1000:#390528;
  --color-primitive-magenta-900:#561a45;
  --color-primitive-magenta-800:#8e1a71;
  --color-primitive-magenta-700:#c01695;
  --color-primitive-magenta-600:#e231b6;
  --color-primitive-magenta-500:#f561c8;
  --color-primitive-magenta-400:#edb0df;
  --color-primitive-magenta-300:#f3c9e7;
  --color-primitive-magenta-200:#fbeaf6;
  --color-primitive-magenta-100:#fdf6fc;
  --color-semantic-tooltip-bg-education:#101128;
  --color-semantic-tooltip-border-education:rgba(255,255,255,0);
  --color-semantic-tooltip-icon:#ffffff;
  --color-semantic-tooltip-text-secondary:#a9abb2;
  --color-semantic-tooltip-button:#15131b;
  --color-semantic-tooltip-button-border:#727683;
  --color-semantic-tooltip-button-hover:rgba(255,255,255,.12);
  --color-semantic-tooltip-button-pressed:rgba(255,255,255,.16);
  --color-semantic-tooltip-button-disabled:rgba(255,255,255,.05);
  --color-semantic-tab-text-unselected:#656972;
  --color-semantic-tab-text-hover:#15131b;
  --color-semantic-tab-border-selected:#101128;
  --color-semantic-tab-border-unselelected:rgba(255,255,255,0);
  --color-semantic-tab-border-hover:rgba(255,255,255,0);
  --color-primitive-alpha-white-white-50:rgba(255,255,255,.03);
  --color-primitive-alpha-white-white-100:rgba(255,255,255,.05);
  --color-primitive-alpha-white-white-200:rgba(255,255,255,.08);
  --color-primitive-alpha-white-white-300:rgba(255,255,255,.12);
  --color-primitive-alpha-white-white-400:rgba(255,255,255,.16);
  --color-primitive-alpha-white-white-500:rgba(255,255,255,.2);
  --color-primitive-alpha-white-white-1000:rgba(255,255,255,.4);
  --color-primitive-alpha-white-white-1500:rgba(255,255,255,.6);
  --color-primitive-alpha-white-white-2000:rgba(255,255,255,.8);
  --color-semantic-toggle-on:#6257f4;
  --color-semantic-toggle-off:#656972;
  --color-semantic-toggle-Color:#ffffff;
  --color-semantic-toggle-on-disabled:#cad1fc;
  --color-semantic-toggle-off-disabled:#d8d6db;
  --color-semantic-cell-bg:rgba(255,255,255,0);
  --color-semantic-cell-bg-hover:#eceaf1;
  --color-semantic-text-code:#d01501;
  --color-semantic-accent-inverse-text-primary:#ffffff;
  --color-semantic-accent-inverse-text-secondary:#eceaf1;
  --color-semantic-accent-inverse-highlight:#ffffff;
  --color-semantic-accent-inverse-surface:rgba(0,0,0,.6);
  --color-semantic-accent-inverse-surface-hover:rgba(0,0,0,.8);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --color-semantic-bg-base:#0b0910;
    --color-semantic-bg-surface-primary:#15131b;
    --color-semantic-bg-surface-secondary:#110f15;
    --color-semantic-bg-surface-highlight:#221e29;
    --color-semantic-bg-surface-highlight-hover:#332c3a;
    --color-semantic-bg-surface-tertiary:rgba(0,0,0,0);
    --color-semantic-bg-surface-tertiary-hover:rgba(255,255,255,.05);
    --color-semantic-bg-surface-tertiary-active:rgba(255,255,255,.08);
    --color-semantic-bg-fill-primary:#584def;
    --color-semantic-bg-fill-primary-hover:#6257f4;
    --color-semantic-bg-fill-primary-pressed:#7989f7;
    --color-semantic-bg-fill-primary-disabled:#504c57;
    --color-semantic-bg-fill-tertiary:rgba(0,0,0,0);
    --color-semantic-bg-fill-tertiary-hover:rgba(255,255,255,.05);
    --color-semantic-bg-fill-tertiary-pressed:rgba(255,255,255,.08);
    --color-semantic-bg-fill-tertiary-disabled:rgba(0,0,0,0);
    --color-semantic-bg-fill-secondary:rgba(0,0,0,0);
    --color-semantic-bg-fill-secondary-hover:rgba(255,255,255,.05);
    --color-semantic-bg-fill-secondary-pressed:rgba(255,255,255,.08);
    --color-semantic-bg-fill-secondary-disabled:#504c57;
    --color-semantic-bg-fill-danger:#eb150f;
    --color-semantic-bg-fill-danger-hover:#eb150f;
    --color-semantic-bg-fill-danger-pressed:#fc4f4a;
    --color-semantic-bg-fill-danger-disabled:#660c05;
    --color-semantic-icon-danger:#fc4f4a;
    --color-semantic-border-disabled-secondary:rgba(255,255,255,.05);
    --color-semantic-text-primary:#f4f2f8;
    --color-semantic-text-secondary:#d8d6db;
    --color-semantic-text-tertiary:#a9abb2;
    --color-semantic-text-placeholder:#727683;
    --color-semantic-text-interactive:#7989f7;
    --color-semantic-text-inverse:#0b0910;
    --color-semantic-tab-text-selected:#f5f6fe;
    --color-semantic-tab-text-unsel:#a9abb2;
    --color-semantic-icon-primary:#eceaf1;
    --color-semantic-icon-secondary:#d8d6db;
    --color-semantic-icon-info:#7989f7;
    --color-semantic-icon-disabled:#656972;
    --color-semantic-icon-success:#3ba554;
    --color-semantic-border-secondary:#504c57;
    --color-semantic-border-tertiary:#332c3a;
    --color-semantic-border-inverse:#0b0910;
    --color-semantic-border-alpha:rgba(255,255,255,.08);
    --color-semantic-input-hover:rgba(255,255,255,.12);
    --color-semantic-input-inverse:rgba(255,255,255,.05);
    --color-semantic-cell-bg-selected:#221e29;
    --color-semantic-cell-border-selected:#6257f4;
    --color-semantic-accent-gray-surface:rgba(255,255,255,.08);
    --color-semantic-accent-orange-surface-hover:#8a3000; /* Figma: color-semantic/accent/orange/surface-hover */
    --color-semantic-accent-gray-text-primary:#a9abb2;
    --color-semantic-accent-red-surface:#660c05;
    --color-semantic-accent-red-text-primary:#ff7c75;
    --color-semantic-accent-green-surface:#153722;
    --color-semantic-accent-green-text-primary:#5bb97d;
    --color-semantic-accent-blue-text-primary:#94a2ff;
    --accent-color-highlight:#8d919b;
    --color-semantic-text-disabled:#656972;
    --color-semantic-text-danger:#fc4f4a;
    --color-semantic-border-primary:#656972;
    --color-semantic-input-textField-active:#15131b;
    --accent-color-surface:rgba(255,255,255,.08);
    --color-semantic-text-on-bg-fill-filtered:#6257f4;
    --color-semantic-input-default:rgba(255,255,255,.08);
    --color-semantic-input-error:#660c05;
    --color-semantic-input-error-hover:#9e0f00;
    --color-semantic-input-disabled:rgba(0,0,0,0);
    --color-semantic-border-danger:#eb150f;
    --color-semantic-bg-surface-overlay:rgba(0,0,0,.8);
    --color-semantic-input-selected:rgba(255,255,255,.12);
    --color-semantic-input-filtered:#20224b;
    --color-semantic-input-filtered-hover:#3c3faa;
    /* —— Global UI Kit › Front Global, dark mode —— */
    --color-semantic-input-inverse-hover:rgba(255,255,255,.08);
    --color-semantic-bg-base-secondary:rgba(255,255,255,.08);
    --color-semantic-border-focus-inverse:rgba(255,255,255,.2);
    --color-semantic-border-warning:#d5a401;
    --color-semantic-border-disabled:rgba(0,0,0,0);
    --color-semantic-bg-base-inverse:#eceaf1;
    --color-semantic-bg-surface-primary-hover:#221e29;
    --color-semantic-bg-surface-primary-active:#332c3a;
    --color-semantic-bg-surface-secondary-hover:#221e29;
    --color-semantic-bg-surface-lowlight-hover:rgba(255,255,255,.03);
    --color-semantic-bg-surface-inverse:#eceaf1;
    --color-semantic-bg-surface-info:#20224b;
    --color-semantic-bg-surface-info-secondary:#101128;
    --color-semantic-bg-surface-info-hover:#3c3faa;
    --color-semantic-bg-surface-success:#153722;
    --color-semantic-bg-surface-success-secondary:#092011;
    --color-semantic-bg-surface-success-hover:#245632;
    --color-semantic-bg-surface-warning:#473200;
    --color-semantic-bg-surface-warning-secondary:#291600;
    --color-semantic-bg-surface-warning-hover:#65470b;
    --color-semantic-bg-surface-danger:#572300;
    --color-semantic-bg-surface-danger-secondary:#301303;
    --color-semantic-bg-surface-danger-hover:#9e0f00;
    --color-semantic-bg-surface-brand:#492858;
    --color-semantic-bg-surface-brand-secondary:#24172c;
    --color-semantic-bg-surface-brand-hover:#7322a5;
    --color-semantic-bg-fill-success-disabled:#153722;
    --color-semantic-bg-fill-brand-disabled:#492858;
    --color-semantic-bg-fill-inverse:#eceaf1;
    --color-semantic-bg-fill-loading:#656972;
    --color-semantic-bg-fill-loading-progress:#8d919b;
    --color-semantic-bg-fill-highlight-secondary:#8a3000;
    --color-semantic-bg-fill-highlight-secondary-active:#b84300;
    --color-semantic-icon-inverse:#332c3a;
    --color-semantic-icon-brand:#b679f2;
    --color-semantic-accent-blue-highlight:#7989f7;
    --color-semantic-accent-blue-surface:#20224b;
    --color-semantic-accent-blue-surface-hover:#3c3faa;
    --color-semantic-accent-red-highlight:#fc4f4a;
    --color-semantic-accent-red-surface-hover:#9e0f00;
    --color-semantic-accent-yellow-text-primary:#d5a401;
    --color-semantic-accent-yellow-text-secondary:#bd8728;
    --color-semantic-accent-yellow-surface:#473200;
    --color-semantic-accent-yellow-surface-hover:#65470b;
    --color-semantic-accent-orange-text-primary:#f6844c;
    --color-semantic-accent-orange-surface:#572300;
    --color-semantic-accent-teal-text-primary:#22b6d3;
    --color-semantic-accent-teal-highlight:#1f9fb2;
    --color-semantic-accent-teal-surface:#003a42;
    --color-semantic-accent-teal-surface-hover:#005661;
    --color-semantic-accent-green-highlight:#3ba554;
    --color-semantic-accent-green-surface-hover:#245632;
    --color-semantic-accent-purple-text-primary:#cfb6ec;
    --color-semantic-accent-purple-highlight:#b679f2;
    --color-semantic-accent-purple-surface:#492858;
    --color-semantic-accent-purple-surface-hover:#7322a5;
    --color-semantic-accent-magenta-text-primary:#edb0df;
    --color-semantic-accent-magenta-highlight:#f561c8;
    --color-semantic-accent-magenta-surface:#561a45;
    --color-semantic-accent-magenta-surface-hover:#8e1a71;
    --color-semantic-accent-gray-highlight:#8d919b;
    --color-semantic-accent-gray-surface-hover:rgba(255,255,255,.12);
    --color-semantic-text-inverse-secondary:#332c3a;
    --color-semantic-text-warning:#bd8728;
    --color-semantic-text-success:#3ba554;
    --color-semantic-text-brand:#b679f2;
    --color-semantic-text-brand-secondary:#cfb6ec;
    --color-semantic-text-on-bg-fill-disabled:#727683;
    --color-semantic-text-on-bg-fill-inverse-disabled:#727683;
    --color-semantic-text-interactive-hover:#6257f4;
    --color-primitive-alpha-transparent:rgba(0,0,0,0);
    --color-primitive-teal-1000:#003a42;
    --color-primitive-yellow-900:#473200;
    --color-primitive-magenta-700:#ca1c9e;
    --color-semantic-tooltip-bg-education:#332c3a;
    --color-semantic-tooltip-border:#332c3a;
    --color-semantic-tooltip-border-education:#504c57;
    --color-semantic-tab-text-unselected:#a9abb2;
    --color-semantic-tab-text-hover:#f5f6fe;
    --color-semantic-tab-border-selected:#f5f6fe;
    --color-semantic-tab-border-unselelected:rgba(0,0,0,0);
    --color-semantic-tab-border-hover:rgba(0,0,0,0);
    --color-semantic-toggle-on:#7989f7;
    --color-semantic-toggle-off:#727683;
    --color-semantic-toggle-on-disabled:#584def;
    --color-semantic-toggle-off-disabled:#656972;
    --color-semantic-cell-bg:rgba(0,0,0,0);
    --color-semantic-cell-bg-hover:#221e29;
    --color-semantic-text-code:#fc4f4a;
    --color-semantic-accent-inverse-text-primary:#0b0910;
    --color-semantic-accent-inverse-text-secondary:#504c57;
    --color-semantic-accent-inverse-highlight:#0b0910;
    --color-semantic-accent-inverse-surface:rgba(255,255,255,.6);
    --color-semantic-accent-inverse-surface-hover:rgba(255,255,255,.8);
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --color-semantic-bg-base:#0b0910;
  --color-semantic-bg-surface-primary:#15131b;
  --color-semantic-bg-surface-secondary:#110f15;
  --color-semantic-bg-surface-highlight:#221e29;
  --color-semantic-bg-surface-highlight-hover:#332c3a;
  --color-semantic-bg-surface-tertiary:rgba(0,0,0,0);
  --color-semantic-bg-surface-tertiary-hover:rgba(255,255,255,.05);
  --color-semantic-bg-surface-tertiary-active:rgba(255,255,255,.08);
  --color-semantic-bg-fill-primary:#584def;
  --color-semantic-bg-fill-primary-hover:#6257f4;
  --color-semantic-bg-fill-primary-pressed:#7989f7;
  --color-semantic-bg-fill-primary-disabled:#504c57;
  --color-semantic-bg-fill-tertiary:rgba(0,0,0,0);
  --color-semantic-bg-fill-tertiary-hover:rgba(255,255,255,.05);
  --color-semantic-bg-fill-tertiary-pressed:rgba(255,255,255,.08);
  --color-semantic-bg-fill-tertiary-disabled:rgba(0,0,0,0);
  --color-semantic-bg-fill-secondary:rgba(0,0,0,0);
  --color-semantic-bg-fill-secondary-hover:rgba(255,255,255,.05);
  --color-semantic-bg-fill-secondary-pressed:rgba(255,255,255,.08);
  --color-semantic-bg-fill-secondary-disabled:#504c57;
  --color-semantic-bg-fill-danger:#eb150f;
  --color-semantic-bg-fill-danger-hover:#eb150f;
  --color-semantic-bg-fill-danger-pressed:#fc4f4a;
  --color-semantic-bg-fill-danger-disabled:#660c05;
  --color-semantic-icon-danger:#fc4f4a;
  --color-semantic-border-disabled-secondary:rgba(255,255,255,.05);
  --color-semantic-text-primary:#f4f2f8;
  --color-semantic-text-secondary:#d8d6db;
  --color-semantic-text-tertiary:#a9abb2;
  --color-semantic-text-placeholder:#727683;
  --color-semantic-text-interactive:#7989f7;
  --color-semantic-text-inverse:#0b0910;
  --color-semantic-tab-text-selected:#f5f6fe;
  --color-semantic-tab-text-unsel:#a9abb2;
  --color-semantic-icon-primary:#eceaf1;
  --color-semantic-icon-secondary:#d8d6db;
  --color-semantic-icon-info:#7989f7;
  --color-semantic-icon-disabled:#656972;
  --color-semantic-icon-success:#3ba554;
  --color-semantic-border-secondary:#504c57;
  --color-semantic-border-tertiary:#332c3a;
  --color-semantic-border-inverse:#0b0910;
  --color-semantic-border-alpha:rgba(255,255,255,.08);
  --color-semantic-input-hover:rgba(255,255,255,.12);
  --color-semantic-input-inverse:rgba(255,255,255,.05);
  --color-semantic-cell-bg-selected:#221e29;
  --color-semantic-cell-border-selected:#6257f4;
  --color-semantic-accent-gray-surface:rgba(255,255,255,.08);
  --color-semantic-accent-orange-surface-hover:#8a3000; /* Figma: color-semantic/accent/orange/surface-hover */
  --color-semantic-accent-gray-text-primary:#a9abb2;
  --color-semantic-accent-red-surface:#660c05;
  --color-semantic-accent-red-text-primary:#ff7c75;
  --color-semantic-accent-green-surface:#153722;
  --color-semantic-accent-green-text-primary:#5bb97d;
  --color-semantic-accent-blue-text-primary:#94a2ff;
  --accent-color-highlight:#8d919b;
  --color-semantic-text-disabled:#656972;
  --color-semantic-text-danger:#fc4f4a;
  --color-semantic-border-primary:#656972;
  --color-semantic-input-textField-active:#15131b;
  --accent-color-surface:rgba(255,255,255,.08);
  --color-semantic-text-on-bg-fill-filtered:#6257f4;
  --color-semantic-input-default:rgba(255,255,255,.08);
  --color-semantic-input-error:#660c05;
  --color-semantic-input-error-hover:#9e0f00;
  --color-semantic-input-disabled:rgba(0,0,0,0);
  --color-semantic-border-danger:#eb150f;
  --color-semantic-bg-surface-overlay:rgba(0,0,0,.8);
  --color-semantic-input-selected:rgba(255,255,255,.12);
  --color-semantic-input-filtered:#20224b;
  --color-semantic-input-filtered-hover:#3c3faa;
  /* —— Global UI Kit › Front Global, dark mode —— */
  --color-semantic-input-inverse-hover:rgba(255,255,255,.08);
  --color-semantic-bg-base-secondary:rgba(255,255,255,.08);
  --color-semantic-border-focus-inverse:rgba(255,255,255,.2);
  --color-semantic-border-warning:#d5a401;
  --color-semantic-border-disabled:rgba(0,0,0,0);
  --color-semantic-bg-base-inverse:#eceaf1;
  --color-semantic-bg-surface-primary-hover:#221e29;
  --color-semantic-bg-surface-primary-active:#332c3a;
  --color-semantic-bg-surface-secondary-hover:#221e29;
  --color-semantic-bg-surface-lowlight-hover:rgba(255,255,255,.03);
  --color-semantic-bg-surface-inverse:#eceaf1;
  --color-semantic-bg-surface-info:#20224b;
  --color-semantic-bg-surface-info-secondary:#101128;
  --color-semantic-bg-surface-info-hover:#3c3faa;
  --color-semantic-bg-surface-success:#153722;
  --color-semantic-bg-surface-success-secondary:#092011;
  --color-semantic-bg-surface-success-hover:#245632;
  --color-semantic-bg-surface-warning:#473200;
  --color-semantic-bg-surface-warning-secondary:#291600;
  --color-semantic-bg-surface-warning-hover:#65470b;
  --color-semantic-bg-surface-danger:#572300;
  --color-semantic-bg-surface-danger-secondary:#301303;
  --color-semantic-bg-surface-danger-hover:#9e0f00;
  --color-semantic-bg-surface-brand:#492858;
  --color-semantic-bg-surface-brand-secondary:#24172c;
  --color-semantic-bg-surface-brand-hover:#7322a5;
  --color-semantic-bg-fill-success-disabled:#153722;
  --color-semantic-bg-fill-brand-disabled:#492858;
  --color-semantic-bg-fill-inverse:#eceaf1;
  --color-semantic-bg-fill-loading:#656972;
  --color-semantic-bg-fill-loading-progress:#8d919b;
  --color-semantic-bg-fill-highlight-secondary:#8a3000;
  --color-semantic-bg-fill-highlight-secondary-active:#b84300;
  --color-semantic-icon-inverse:#332c3a;
  --color-semantic-icon-brand:#b679f2;
  --color-semantic-accent-blue-highlight:#7989f7;
  --color-semantic-accent-blue-surface:#20224b;
  --color-semantic-accent-blue-surface-hover:#3c3faa;
  --color-semantic-accent-red-highlight:#fc4f4a;
  --color-semantic-accent-red-surface-hover:#9e0f00;
  --color-semantic-accent-yellow-text-primary:#d5a401;
  --color-semantic-accent-yellow-text-secondary:#bd8728;
  --color-semantic-accent-yellow-surface:#473200;
  --color-semantic-accent-yellow-surface-hover:#65470b;
  --color-semantic-accent-orange-text-primary:#f6844c;
  --color-semantic-accent-orange-surface:#572300;
  --color-semantic-accent-teal-text-primary:#22b6d3;
  --color-semantic-accent-teal-highlight:#1f9fb2;
  --color-semantic-accent-teal-surface:#003a42;
  --color-semantic-accent-teal-surface-hover:#005661;
  --color-semantic-accent-green-highlight:#3ba554;
  --color-semantic-accent-green-surface-hover:#245632;
  --color-semantic-accent-purple-text-primary:#cfb6ec;
  --color-semantic-accent-purple-highlight:#b679f2;
  --color-semantic-accent-purple-surface:#492858;
  --color-semantic-accent-purple-surface-hover:#7322a5;
  --color-semantic-accent-magenta-text-primary:#edb0df;
  --color-semantic-accent-magenta-highlight:#f561c8;
  --color-semantic-accent-magenta-surface:#561a45;
  --color-semantic-accent-magenta-surface-hover:#8e1a71;
  --color-semantic-accent-gray-highlight:#8d919b;
  --color-semantic-accent-gray-surface-hover:rgba(255,255,255,.12);
  --color-semantic-text-inverse-secondary:#332c3a;
  --color-semantic-text-warning:#bd8728;
  --color-semantic-text-success:#3ba554;
  --color-semantic-text-brand:#b679f2;
  --color-semantic-text-brand-secondary:#cfb6ec;
  --color-semantic-text-on-bg-fill-disabled:#727683;
  --color-semantic-text-on-bg-fill-inverse-disabled:#727683;
  --color-semantic-text-interactive-hover:#6257f4;
  --color-primitive-alpha-transparent:rgba(0,0,0,0);
  --color-primitive-teal-1000:#003a42;
  --color-primitive-yellow-900:#473200;
  --color-primitive-magenta-700:#ca1c9e;
  --color-semantic-tooltip-bg-education:#332c3a;
  --color-semantic-tooltip-border:#332c3a;
  --color-semantic-tooltip-border-education:#504c57;
  --color-semantic-tab-text-unselected:#a9abb2;
  --color-semantic-tab-text-hover:#f5f6fe;
  --color-semantic-tab-border-selected:#f5f6fe;
  --color-semantic-tab-border-unselelected:rgba(0,0,0,0);
  --color-semantic-tab-border-hover:rgba(0,0,0,0);
  --color-semantic-toggle-on:#7989f7;
  --color-semantic-toggle-off:#727683;
  --color-semantic-toggle-on-disabled:#584def;
  --color-semantic-toggle-off-disabled:#656972;
  --color-semantic-cell-bg:rgba(0,0,0,0);
  --color-semantic-cell-bg-hover:#221e29;
  --color-semantic-text-code:#fc4f4a;
  --color-semantic-accent-inverse-text-primary:#0b0910;
  --color-semantic-accent-inverse-text-secondary:#504c57;
  --color-semantic-accent-inverse-highlight:#0b0910;
  --color-semantic-accent-inverse-surface:rgba(255,255,255,.6);
  --color-semantic-accent-inverse-surface-hover:rgba(255,255,255,.8);
}
