/* Generated by scripts/build_ui_tokens.py. Edit design/ui-tokens.json. */
:root {
  --canvas: #F7F8FA;
  --library-row: #E1E7EF;
  --surface: #FFFFFF;
  --surface-subtle: #F2F4F7;
  --surface-hover: #EDEEF1;
  --surface-selected: #EAF0FB;
  --rail-active: #EDF1F6;
  --text-primary: #1D2430;
  --text-secondary: #4B5565;
  --text-muted: #596579;
  --text-faint: #606C7E;
  --border-default: #DCE2EA;
  --border-strong: #C7D0DD;
  --border-control: #8190A4;
  --action-primary: #202936;
  --action-on-primary: #FFFFFF;
  --accent-default: #315FAB;
  --accent-subtle: #EAF0FB;
  --status-success: #2D6B4A;
  --status-success-bg: #EAF5ED;
  --status-warning: #785100;
  --status-warning-bg: #FFF4DA;
  --status-danger: #AD3B46;
  --status-danger-bg: #FCECEF;
  --icon-blue: #3B78E7;
  --icon-green: #249A68;
  --icon-amber: #EDB13D;
  --icon-red: #DB574D;
  --icon-violet: #7863CE;
  --avatar-ink: #29384B;
  --avatar-skin: #F0C5A4;
  --avatar-paper: #F9F8F2;
  --avatar-blue: #6485AF;
  --avatar-green: #6F9584;
  --avatar-ochre: #B59670;
  --overlay-scrim: #000000;
  --editor-palette-gray: #606C7F;
  --editor-palette-red: #B23E49;
  --editor-palette-orange: #99511D;
  --editor-palette-yellow: #805F00;
  --editor-palette-green: #22734D;
  --editor-palette-blue: #315FAB;
  --editor-palette-purple: #7757BA;
  --editor-palette-bg-neutral: #F2F4F7;
  --editor-palette-bg-gray: #E4E7EC;
  --editor-palette-bg-red: #FCE6E8;
  --editor-palette-bg-orange: #FBE7D6;
  --editor-palette-bg-yellow: #FFF5D2;
  --editor-palette-bg-green: #DDF2E4;
  --editor-palette-bg-blue: #E1EAFB;
  --editor-palette-bg-purple: #ECE4FA;
  --editor-palette-bg-gray-strong: #D1D6DE;
  --editor-palette-bg-red-strong: #F7BFC4;
  --editor-palette-bg-orange-strong: #F8CCAA;
  --editor-palette-bg-yellow-strong: #FFE890;
  --editor-palette-bg-green-strong: #B7E5C5;
  --editor-palette-bg-blue-strong: #B8CDF7;
  --editor-palette-bg-purple-strong: #D1BAF4;
  --canvas-transparent: #F7F8FA00;
  --effect-shadow-soft: #0000000A;
  --effect-shadow: #00000012;
  --conversation-process-duration-text: #8E8F90;
  --conversation-process-duration-divider: #EDEDED;
  --theme-light-canvas: #F7F8FA;
  --theme-light-library-row: #E1E7EF;
  --theme-light-surface: #FFFFFF;
  --theme-light-surface-subtle: #F2F4F7;
  --theme-light-surface-hover: #EDEEF1;
  --theme-light-surface-selected: #EAF0FB;
  --theme-light-rail-active: #EDF1F6;
  --theme-light-text-primary: #1D2430;
  --theme-light-text-secondary: #4B5565;
  --theme-light-text-muted: #596579;
  --theme-light-text-faint: #606C7E;
  --theme-light-border-default: #DCE2EA;
  --theme-light-border-strong: #C7D0DD;
  --theme-light-border-control: #8190A4;
  --theme-light-action-primary: #202936;
  --theme-light-action-on-primary: #FFFFFF;
  --theme-light-accent-default: #315FAB;
  --theme-light-accent-subtle: #EAF0FB;
  --theme-light-status-success: #2D6B4A;
  --theme-light-status-success-bg: #EAF5ED;
  --theme-light-status-warning: #785100;
  --theme-light-status-warning-bg: #FFF4DA;
  --theme-light-status-danger: #AD3B46;
  --theme-light-status-danger-bg: #FCECEF;
  --theme-light-icon-blue: #3B78E7;
  --theme-light-icon-green: #249A68;
  --theme-light-icon-amber: #EDB13D;
  --theme-light-icon-red: #DB574D;
  --theme-light-icon-violet: #7863CE;
  --theme-light-avatar-ink: #29384B;
  --theme-light-avatar-skin: #F0C5A4;
  --theme-light-avatar-paper: #F9F8F2;
  --theme-light-avatar-blue: #6485AF;
  --theme-light-avatar-green: #6F9584;
  --theme-light-avatar-ochre: #B59670;
  --theme-light-overlay-scrim: #000000;
  --theme-light-editor-palette-gray: #606C7F;
  --theme-light-editor-palette-red: #B23E49;
  --theme-light-editor-palette-orange: #99511D;
  --theme-light-editor-palette-yellow: #805F00;
  --theme-light-editor-palette-green: #22734D;
  --theme-light-editor-palette-blue: #315FAB;
  --theme-light-editor-palette-purple: #7757BA;
  --theme-light-editor-palette-bg-neutral: #F2F4F7;
  --theme-light-editor-palette-bg-gray: #E4E7EC;
  --theme-light-editor-palette-bg-red: #FCE6E8;
  --theme-light-editor-palette-bg-orange: #FBE7D6;
  --theme-light-editor-palette-bg-yellow: #FFF5D2;
  --theme-light-editor-palette-bg-green: #DDF2E4;
  --theme-light-editor-palette-bg-blue: #E1EAFB;
  --theme-light-editor-palette-bg-purple: #ECE4FA;
  --theme-light-editor-palette-bg-gray-strong: #D1D6DE;
  --theme-light-editor-palette-bg-red-strong: #F7BFC4;
  --theme-light-editor-palette-bg-orange-strong: #F8CCAA;
  --theme-light-editor-palette-bg-yellow-strong: #FFE890;
  --theme-light-editor-palette-bg-green-strong: #B7E5C5;
  --theme-light-editor-palette-bg-blue-strong: #B8CDF7;
  --theme-light-editor-palette-bg-purple-strong: #D1BAF4;
  --theme-light-canvas-transparent: #F7F8FA00;
  --theme-light-effect-shadow-soft: #0000000A;
  --theme-light-effect-shadow: #00000012;
  --theme-light-conversation-process-duration-text: #8E8F90;
  --theme-light-conversation-process-duration-divider: #EDEDED;
  --theme-dark-canvas: #111214;
  --theme-dark-library-row: #292C31;
  --theme-dark-surface: #151719;
  --theme-dark-surface-subtle: #1D1F22;
  --theme-dark-surface-hover: #27292D;
  --theme-dark-surface-selected: #30343B;
  --theme-dark-rail-active: #23262A;
  --theme-dark-text-primary: #F2F3F5;
  --theme-dark-text-secondary: #C9CCD1;
  --theme-dark-text-muted: #A1A5AD;
  --theme-dark-text-faint: #969BA3;
  --theme-dark-border-default: #2C2F34;
  --theme-dark-border-strong: #41464E;
  --theme-dark-border-control: #69727E;
  --theme-dark-action-primary: #E9EBEF;
  --theme-dark-action-on-primary: #151719;
  --theme-dark-accent-default: #D8DADF;
  --theme-dark-accent-subtle: #25282D;
  --theme-dark-status-success: #7FD7A2;
  --theme-dark-status-success-bg: #1E3A2C;
  --theme-dark-status-warning: #F1C978;
  --theme-dark-status-warning-bg: #463618;
  --theme-dark-status-danger: #F29AA3;
  --theme-dark-status-danger-bg: #4A252D;
  --theme-dark-icon-blue: #80AAFF;
  --theme-dark-icon-green: #62C99B;
  --theme-dark-icon-amber: #F1C360;
  --theme-dark-icon-red: #F27C72;
  --theme-dark-icon-violet: #AF9BEF;
  --theme-dark-avatar-ink: #29384B;
  --theme-dark-avatar-skin: #F0C5A4;
  --theme-dark-avatar-paper: #F9F8F2;
  --theme-dark-avatar-blue: #6485AF;
  --theme-dark-avatar-green: #6F9584;
  --theme-dark-avatar-ochre: #B59670;
  --theme-dark-overlay-scrim: #000000;
  --theme-dark-editor-palette-gray: #A7ACB4;
  --theme-dark-editor-palette-red: #E56F79;
  --theme-dark-editor-palette-orange: #E87928;
  --theme-dark-editor-palette-yellow: #C39730;
  --theme-dark-editor-palette-green: #36A873;
  --theme-dark-editor-palette-blue: #6F99E0;
  --theme-dark-editor-palette-purple: #A486D9;
  --theme-dark-editor-palette-bg-neutral: #202226;
  --theme-dark-editor-palette-bg-gray: #292C31;
  --theme-dark-editor-palette-bg-red: #422930;
  --theme-dark-editor-palette-bg-orange: #453426;
  --theme-dark-editor-palette-bg-yellow: #464023;
  --theme-dark-editor-palette-bg-green: #243F33;
  --theme-dark-editor-palette-bg-blue: #283958;
  --theme-dark-editor-palette-bg-purple: #39304D;
  --theme-dark-editor-palette-bg-gray-strong: #41464E;
  --theme-dark-editor-palette-bg-red-strong: #65343D;
  --theme-dark-editor-palette-bg-orange-strong: #69442B;
  --theme-dark-editor-palette-bg-yellow-strong: #655A2B;
  --theme-dark-editor-palette-bg-green-strong: #2F5E45;
  --theme-dark-editor-palette-bg-blue-strong: #36547B;
  --theme-dark-editor-palette-bg-purple-strong: #554170;
  --theme-dark-canvas-transparent: #11121400;
  --theme-dark-effect-shadow-soft: #00000033;
  --theme-dark-effect-shadow: #0000004D;
  --theme-dark-conversation-process-duration-text: #929395;
  --theme-dark-conversation-process-duration-divider: #2C2F34;
  --bg: var(--canvas);
  --panel: var(--surface);
  --card-hover: var(--surface-subtle);
  --hover: var(--surface-hover);
  --card-sel: var(--surface-selected);
  --ink: var(--text-primary);
  --ink2: var(--text-secondary);
  --sub: var(--text-muted);
  --faint: var(--text-faint);
  --line: var(--border-default);
  --line2: var(--border-strong);
  --primary: var(--action-primary);
  --on-primary: var(--action-on-primary);
  --link: var(--accent-default);
  --accent-weak: var(--accent-subtle);
  --ok: var(--status-success);
  --ok-weak: var(--status-success-bg);
  --run: var(--status-warning);
  --run-weak: var(--status-warning-bg);
  --block: var(--status-danger);
  --block-weak: var(--status-danger-bg);
  --rail: var(--canvas);
  --col-bg: var(--canvas);
  --primary-ink: var(--action-primary);
  --accent: var(--action-primary);
  --accent-ink: var(--action-primary);
  --accent-solid: var(--action-primary);
  --accent-solid-ink: var(--action-primary);
  --on-accent: var(--action-on-primary);
  --accent-line: var(--accent-default);
  --control-focus: var(--accent-default);
  --control-bg: var(--surface);
  --control-bg-hover: var(--surface-subtle);
  --control-bg-soft: var(--canvas);
  --control-bg-active: var(--rail-active);
  --control-border: var(--border-control);
  --control-border-hover: var(--border-strong);
  --dialog-bg: var(--surface);
  --dialog-field-bg: var(--surface);
  --dialog-field-bg-focus: var(--surface);
  --floating-bg: var(--surface);
  --topbar: var(--surface);
  --rail-label: var(--text-muted);
  --status-running: var(--status-success);
  --status-attention: var(--status-warning);
  --status-queued: var(--text-muted);
  --status-paused: var(--text-muted);
  --status-idle: var(--text-faint);
  --muted: var(--status-queued);
  --pipeline-running-dot: var(--status-running);
  --avatar-bg: var(--accent-subtle);
  --avatar-line: var(--border-default);
  --avatar-ink: var(--text-secondary);
  --dot: var(--border-strong);
  --success: var(--status-success);
  --danger: var(--status-danger);
  --rail-width: 280px;
  --window-tabs-h: 34px;
  --workspace-head-h: 48px;
  --workspace-head-pad: 16px;
  --workspace-head-gap: 12px;
  --drawer-width: 360px;
  --rail-mode-h: 35px;
  --rail-row-h: 32px;
  --employee-row-h: 58px;
  --employee-row-gap: 2px;
  --employee-avatar-size: 36px;
  --rail-account-h: 58px;
  --list-content-max: 1080px;
  --list-page-top: 58px;
  --list-page-side: 40px;
  --list-page-bottom: 96px;
  --list-title-size: calc(28px * var(--interface-font-scale,1));
  --list-title-line: calc(40px * var(--interface-font-scale,1));
  --list-description-size: calc(14px * var(--interface-font-scale,1));
  --list-description-line: calc(21px * var(--interface-font-scale,1));
  --list-description-gap: 3px;
  --list-page-narrow-top: 34px;
  --list-page-narrow-side: 24px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s7: 32px;
  --r: 12px;
  --r-sm: 9px;
  --r-xs: 6px;
  --pipeline-head-h: var(--workspace-head-h);
  --conversation-main-head-h: var(--workspace-head-h);
  --compact-card-h: 44px;
  --ui: "Hanken Grotesk", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --link-hover: color-mix(in srgb, var(--link) 84%, var(--ink));
  --floating-shadow: 0 6px 20px var(--effect-shadow), 0 1px 3px var(--effect-shadow-soft);
  --sh-sm: 0 1px 2px var(--effect-shadow-soft);
  --sh: 0 1px 2px var(--effect-shadow-soft), 0 6px 16px var(--effect-shadow);
  --sh-lg: 0 2px 4px var(--effect-shadow-soft), 0 16px 40px var(--effect-shadow);
  --gridline: color-mix(in srgb, var(--ink) 5%, transparent);
  --scrim: color-mix(in srgb, var(--overlay-scrim) 42%, transparent);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms;
  --ease: cubic-bezier(.2,.8,.2,1); --ease-in-out: cubic-bezier(.4,0,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --canvas: #111214;
  --library-row: #292C31;
  --surface: #151719;
  --surface-subtle: #1D1F22;
  --surface-hover: #27292D;
  --surface-selected: #30343B;
  --rail-active: #23262A;
  --text-primary: #F2F3F5;
  --text-secondary: #C9CCD1;
  --text-muted: #A1A5AD;
  --text-faint: #969BA3;
  --border-default: #2C2F34;
  --border-strong: #41464E;
  --border-control: #69727E;
  --action-primary: #E9EBEF;
  --action-on-primary: #151719;
  --accent-default: #D8DADF;
  --accent-subtle: #25282D;
  --status-success: #7FD7A2;
  --status-success-bg: #1E3A2C;
  --status-warning: #F1C978;
  --status-warning-bg: #463618;
  --status-danger: #F29AA3;
  --status-danger-bg: #4A252D;
  --icon-blue: #80AAFF;
  --icon-green: #62C99B;
  --icon-amber: #F1C360;
  --icon-red: #F27C72;
  --icon-violet: #AF9BEF;
  --avatar-ink: #29384B;
  --avatar-skin: #F0C5A4;
  --avatar-paper: #F9F8F2;
  --avatar-blue: #6485AF;
  --avatar-green: #6F9584;
  --avatar-ochre: #B59670;
  --overlay-scrim: #000000;
  --editor-palette-gray: #A7ACB4;
  --editor-palette-red: #E56F79;
  --editor-palette-orange: #E87928;
  --editor-palette-yellow: #C39730;
  --editor-palette-green: #36A873;
  --editor-palette-blue: #6F99E0;
  --editor-palette-purple: #A486D9;
  --editor-palette-bg-neutral: #202226;
  --editor-palette-bg-gray: #292C31;
  --editor-palette-bg-red: #422930;
  --editor-palette-bg-orange: #453426;
  --editor-palette-bg-yellow: #464023;
  --editor-palette-bg-green: #243F33;
  --editor-palette-bg-blue: #283958;
  --editor-palette-bg-purple: #39304D;
  --editor-palette-bg-gray-strong: #41464E;
  --editor-palette-bg-red-strong: #65343D;
  --editor-palette-bg-orange-strong: #69442B;
  --editor-palette-bg-yellow-strong: #655A2B;
  --editor-palette-bg-green-strong: #2F5E45;
  --editor-palette-bg-blue-strong: #36547B;
  --editor-palette-bg-purple-strong: #554170;
  --canvas-transparent: #11121400;
  --effect-shadow-soft: #00000033;
  --effect-shadow: #0000004D;
  --conversation-process-duration-text: #929395;
  --conversation-process-duration-divider: #2C2F34;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #111214;
  --library-row: #292C31;
  --surface: #151719;
  --surface-subtle: #1D1F22;
  --surface-hover: #27292D;
  --surface-selected: #30343B;
  --rail-active: #23262A;
  --text-primary: #F2F3F5;
  --text-secondary: #C9CCD1;
  --text-muted: #A1A5AD;
  --text-faint: #969BA3;
  --border-default: #2C2F34;
  --border-strong: #41464E;
  --border-control: #69727E;
  --action-primary: #E9EBEF;
  --action-on-primary: #151719;
  --accent-default: #D8DADF;
  --accent-subtle: #25282D;
  --status-success: #7FD7A2;
  --status-success-bg: #1E3A2C;
  --status-warning: #F1C978;
  --status-warning-bg: #463618;
  --status-danger: #F29AA3;
  --status-danger-bg: #4A252D;
  --icon-blue: #80AAFF;
  --icon-green: #62C99B;
  --icon-amber: #F1C360;
  --icon-red: #F27C72;
  --icon-violet: #AF9BEF;
  --avatar-ink: #29384B;
  --avatar-skin: #F0C5A4;
  --avatar-paper: #F9F8F2;
  --avatar-blue: #6485AF;
  --avatar-green: #6F9584;
  --avatar-ochre: #B59670;
  --overlay-scrim: #000000;
  --editor-palette-gray: #A7ACB4;
  --editor-palette-red: #E56F79;
  --editor-palette-orange: #E87928;
  --editor-palette-yellow: #C39730;
  --editor-palette-green: #36A873;
  --editor-palette-blue: #6F99E0;
  --editor-palette-purple: #A486D9;
  --editor-palette-bg-neutral: #202226;
  --editor-palette-bg-gray: #292C31;
  --editor-palette-bg-red: #422930;
  --editor-palette-bg-orange: #453426;
  --editor-palette-bg-yellow: #464023;
  --editor-palette-bg-green: #243F33;
  --editor-palette-bg-blue: #283958;
  --editor-palette-bg-purple: #39304D;
  --editor-palette-bg-gray-strong: #41464E;
  --editor-palette-bg-red-strong: #65343D;
  --editor-palette-bg-orange-strong: #69442B;
  --editor-palette-bg-yellow-strong: #655A2B;
  --editor-palette-bg-green-strong: #2F5E45;
  --editor-palette-bg-blue-strong: #36547B;
  --editor-palette-bg-purple-strong: #554170;
  --canvas-transparent: #11121400;
  --effect-shadow-soft: #00000033;
  --effect-shadow: #0000004D;
  --conversation-process-duration-text: #929395;
  --conversation-process-duration-divider: #2C2F34;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
