/*  YOWO AI design tokens. Generated by scripts/build-tokens.mjs. Do not edit; edit tokens/ and rebuild. */
/* 用法 Usage: <link rel="stylesheet" href="yowo.css">, then put data-theme="swiss-paper" (or another theme) on <html> or any section.
   Themes: mono-black, swiss-paper, muted-orange, bauhaus-blue, ochre, black-mountain. Apps: data-theme="light" (= swiss-paper) or "dark" (= mono-black). */

:root {
  --yowo-color-ink: #141414;
  --yowo-color-black: #0E0E0D;
  --yowo-color-black-surface: #1A1A18;
  --yowo-color-black-line: #2E2D2A;
  --yowo-color-black-muted: #8A867D;
  --yowo-color-paper: #EDE8DC;
  --yowo-color-paper-surface: #F6F2E9;
  --yowo-color-paper-line: #CFC8B8;
  --yowo-color-paper-muted: #6A665D;
  --yowo-color-orange: #C9633A;
  --yowo-color-orange-surface: #BD5C35;
  --yowo-color-orange-line: #B35532;
  --yowo-color-blue: #26407F;
  --yowo-color-blue-surface: #213872;
  --yowo-color-blue-line: #3A538F;
  --yowo-color-blue-muted: #A9B3CF;
  --yowo-color-gold: #DFA23D;
  --yowo-color-ochre: #DCA542;
  --yowo-color-ochre-surface: #E4B55E;
  --yowo-color-ochre-line: #C4903A;
  --yowo-color-ochre-muted: #4F3A11;
  --yowo-color-mountain: #27302E;
  --yowo-color-mountain-surface: #2F3936;
  --yowo-color-mountain-line: #3A4542;
  --yowo-color-mountain-muted: #97A09A;
  --yowo-color-status-success-on-light: #2F6B4F;
  --yowo-color-status-warning-on-light: #8A5A0B;
  --yowo-color-status-error-on-light: #A8341F;
  --yowo-color-status-running-on-light: #26407F;
  --yowo-color-status-success-on-dark: #7FB596;
  --yowo-color-status-warning-on-dark: #DCA542;
  --yowo-color-status-error-on-dark: #E0705C;
  --yowo-color-status-running-on-dark: #8FA3D6;
  --yowo-font-family-sans: "Manrope", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --yowo-font-family-mono: "Recursive", "Noto Sans SC", ui-monospace, monospace;
  --yowo-font-family-cjk: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --yowo-font-weight-regular: 400;
  --yowo-font-weight-medium: 500;
  --yowo-font-weight-semibold: 600;
  --yowo-font-weight-bold: 700;
  --yowo-font-weight-extrabold: 800;
  --yowo-font-weight-black: 900;
  --yowo-font-mono-variation: "MONO" 1, "CASL" 0;
  --yowo-angle-slash: 17.76;
  --yowo-motion-ease-swing: cubic-bezier(0.22, 1, 0.36, 1);
  --yowo-motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --yowo-motion-duration-fast: 120ms;
  --yowo-motion-duration-base: 240ms;
  --yowo-motion-duration-slow: 480ms;
  --yowo-motion-duration-sting: 5300ms;
  --yowo-radius-none: 0px;
  --yowo-radius-icon: 17.857%;
  --yowo-radius-full: 9999px;
  --yowo-space-0: 0px;
  --yowo-space-1: 4px;
  --yowo-space-2: 8px;
  --yowo-space-3: 12px;
  --yowo-space-4: 16px;
  --yowo-space-5: 20px;
  --yowo-space-6: 24px;
  --yowo-space-8: 32px;
  --yowo-space-10: 40px;
  --yowo-space-12: 48px;
  --yowo-space-16: 64px;
  --yowo-space-20: 80px;
  --yowo-space-24: 96px;
  --yowo-space-30: 120px;
  --yowo-space-40: 160px;
  --yowo-color-orange-muted: #4E2412;
  --yowo-film-title-safe: 0.1;
  --yowo-film-logo-width-16x9: 0.5;
  --yowo-film-logo-width-9x16: 0.72;
  --yowo-type-display-xl-size: 128px;
  --yowo-type-display-xl-line-height: 0.88;
  --yowo-type-display-xl-tracking: -0.03em;
  --yowo-type-display-xl-weight: 800;
  --yowo-type-display-l-size: 100px;
  --yowo-type-display-l-line-height: 0.9;
  --yowo-type-display-l-tracking: -0.025em;
  --yowo-type-display-l-weight: 800;
  --yowo-type-display-m-size: 80px;
  --yowo-type-display-m-line-height: 0.92;
  --yowo-type-display-m-tracking: -0.02em;
  --yowo-type-display-m-weight: 800;
  --yowo-type-title-l-size: 64px;
  --yowo-type-title-l-line-height: 0.95;
  --yowo-type-title-l-tracking: -0.015em;
  --yowo-type-title-l-weight: 700;
  --yowo-type-title-m-size: 50px;
  --yowo-type-title-m-line-height: 1;
  --yowo-type-title-m-tracking: -0.01em;
  --yowo-type-title-m-weight: 700;
  --yowo-type-title-s-size: 40px;
  --yowo-type-title-s-line-height: 1;
  --yowo-type-title-s-tracking: -0.01em;
  --yowo-type-title-s-weight: 700;
  --yowo-type-heading-l-size: 32px;
  --yowo-type-heading-l-line-height: 1.1;
  --yowo-type-heading-l-tracking: -0.005em;
  --yowo-type-heading-l-weight: 600;
  --yowo-type-heading-m-size: 25px;
  --yowo-type-heading-m-line-height: 1.2;
  --yowo-type-heading-m-tracking: 0em;
  --yowo-type-heading-m-weight: 600;
  --yowo-type-heading-s-size: 20px;
  --yowo-type-heading-s-line-height: 1.25;
  --yowo-type-heading-s-tracking: 0em;
  --yowo-type-heading-s-weight: 600;
  --yowo-type-body-size: 16px;
  --yowo-type-body-line-height: 1.5;
  --yowo-type-body-tracking: 0em;
  --yowo-type-body-weight: 400;
  --yowo-type-body-s-size: 14px;
  --yowo-type-body-s-line-height: 1.45;
  --yowo-type-body-s-tracking: 0em;
  --yowo-type-body-s-weight: 400;
  --yowo-type-label-size: 12px;
  --yowo-type-label-line-height: 1.3;
  --yowo-type-label-tracking: 0.08em;
  --yowo-type-label-weight: 600;
  --yowo-type-label-s-size: 10px;
  --yowo-type-label-s-line-height: 1.4;
  --yowo-type-label-s-tracking: 0.08em;
  --yowo-type-label-s-weight: 400;
}

:root, [data-theme="swiss-paper"], [data-theme="light"] {
  --yowo-bg: #EDE8DC;
  --yowo-fg: #141414;
  --yowo-accent: #C9633A;
  --yowo-on-accent: #EDE8DC;
  --yowo-muted: #6A665D;
  --yowo-line: #CFC8B8;
  --yowo-surface: #F6F2E9;
  --yowo-border-strong: #6A665D;
  --yowo-focus: #141414;
  --yowo-status-success: #2F6B4F;
  --yowo-status-warning: #8A5A0B;
  --yowo-status-error: #A8341F;
  --yowo-status-running: #26407F;
  color-scheme: light;
}
[data-theme="mono-black"], [data-theme="dark"] {
  --yowo-bg: #0E0E0D;
  --yowo-fg: #EDE8DC;
  --yowo-accent: #EDE8DC;
  --yowo-on-accent: #0E0E0D;
  --yowo-muted: #8A867D;
  --yowo-line: #2E2D2A;
  --yowo-surface: #1A1A18;
  --yowo-border-strong: #8A867D;
  --yowo-focus: #EDE8DC;
  --yowo-status-success: #7FB596;
  --yowo-status-warning: #DCA542;
  --yowo-status-error: #E0705C;
  --yowo-status-running: #8FA3D6;
  color-scheme: dark;
}
[data-theme="muted-orange"] {
  --yowo-bg: #C9633A;
  --yowo-fg: #141414;
  --yowo-accent: #EDE8DC;
  --yowo-on-accent: #C9633A;
  --yowo-muted: #4E2412;
  --yowo-line: #B35532;
  --yowo-surface: #BD5C35;
  --yowo-border-strong: #4E2412;
  --yowo-focus: #141414;
  --yowo-status-success: #2F6B4F;
  --yowo-status-warning: #8A5A0B;
  --yowo-status-error: #A8341F;
  --yowo-status-running: #26407F;
  color-scheme: light;
}
[data-theme="bauhaus-blue"] {
  --yowo-bg: #26407F;
  --yowo-fg: #EDE8DC;
  --yowo-accent: #DFA23D;
  --yowo-on-accent: #26407F;
  --yowo-muted: #A9B3CF;
  --yowo-line: #3A538F;
  --yowo-surface: #213872;
  --yowo-border-strong: #A9B3CF;
  --yowo-focus: #EDE8DC;
  --yowo-status-success: #7FB596;
  --yowo-status-warning: #DCA542;
  --yowo-status-error: #E0705C;
  --yowo-status-running: #8FA3D6;
  color-scheme: dark;
}
[data-theme="ochre"] {
  --yowo-bg: #DCA542;
  --yowo-fg: #141414;
  --yowo-accent: #26407F;
  --yowo-on-accent: #EDE8DC;
  --yowo-muted: #4F3A11;
  --yowo-line: #C4903A;
  --yowo-surface: #E4B55E;
  --yowo-border-strong: #4F3A11;
  --yowo-focus: #141414;
  --yowo-status-success: #2F6B4F;
  --yowo-status-warning: #8A5A0B;
  --yowo-status-error: #A8341F;
  --yowo-status-running: #26407F;
  color-scheme: light;
}
[data-theme="black-mountain"] {
  --yowo-bg: #27302E;
  --yowo-fg: #EDE8DC;
  --yowo-accent: #C9633A;
  --yowo-on-accent: #EDE8DC;
  --yowo-muted: #97A09A;
  --yowo-line: #3A4542;
  --yowo-surface: #2F3936;
  --yowo-border-strong: #97A09A;
  --yowo-focus: #EDE8DC;
  --yowo-status-success: #7FB596;
  --yowo-status-warning: #DCA542;
  --yowo-status-error: #E0705C;
  --yowo-status-running: #8FA3D6;
  color-scheme: dark;
}
[data-theme] { background-color: var(--yowo-bg); color: var(--yowo-fg); }

/* Component tokens re-resolve inside every themed container. 组件令牌在每个主题容器内重新取值。 */
:root, [data-theme] {
  --yowo-component-button-primary-bg: var(--yowo-fg);
  --yowo-component-button-primary-fg: var(--yowo-bg);
  --yowo-component-button-secondary-border: var(--yowo-border-strong);
  --yowo-component-button-radius: var(--yowo-radius-none);
  --yowo-component-button-height: var(--yowo-space-10);
  --yowo-component-button-padding-x: var(--yowo-space-5);
  --yowo-component-input-bg: var(--yowo-surface);
  --yowo-component-input-border: var(--yowo-border-strong);
  --yowo-component-input-height: var(--yowo-space-10);
  --yowo-component-card-bg: var(--yowo-surface);
  --yowo-component-card-border: var(--yowo-line);
  --yowo-component-card-padding: var(--yowo-space-6);
  --yowo-component-yww-node-bg: var(--yowo-surface);
  --yowo-component-yww-node-border: var(--yowo-border-strong);
  --yowo-component-yww-node-header-label: var(--yowo-muted);
  --yowo-component-yww-node-port: var(--yowo-fg);
  --yowo-component-yww-node-width: 240px;
}

/* Type styles 字体样式: class="yowo-type-<name>". Labels are uppercase Recursive Mono Linear. */
.yowo-type-display-xl { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-display-xl-size); line-height: var(--yowo-type-display-xl-line-height); letter-spacing: var(--yowo-type-display-xl-tracking); font-weight: var(--yowo-type-display-xl-weight); }
.yowo-type-display-xl:lang(zh) { font-weight: 900; letter-spacing: 0; }
.yowo-type-display-l { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-display-l-size); line-height: var(--yowo-type-display-l-line-height); letter-spacing: var(--yowo-type-display-l-tracking); font-weight: var(--yowo-type-display-l-weight); }
.yowo-type-display-l:lang(zh) { font-weight: 900; letter-spacing: 0; }
.yowo-type-display-m { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-display-m-size); line-height: var(--yowo-type-display-m-line-height); letter-spacing: var(--yowo-type-display-m-tracking); font-weight: var(--yowo-type-display-m-weight); }
.yowo-type-display-m:lang(zh) { font-weight: 900; letter-spacing: 0; }
.yowo-type-title-l { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-title-l-size); line-height: var(--yowo-type-title-l-line-height); letter-spacing: var(--yowo-type-title-l-tracking); font-weight: var(--yowo-type-title-l-weight); }
.yowo-type-title-l:lang(zh) { font-weight: 700; letter-spacing: 0; }
.yowo-type-title-m { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-title-m-size); line-height: var(--yowo-type-title-m-line-height); letter-spacing: var(--yowo-type-title-m-tracking); font-weight: var(--yowo-type-title-m-weight); }
.yowo-type-title-m:lang(zh) { font-weight: 700; letter-spacing: 0; }
.yowo-type-title-s { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-title-s-size); line-height: var(--yowo-type-title-s-line-height); letter-spacing: var(--yowo-type-title-s-tracking); font-weight: var(--yowo-type-title-s-weight); }
.yowo-type-title-s:lang(zh) { font-weight: 700; letter-spacing: 0; }
.yowo-type-heading-l { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-heading-l-size); line-height: var(--yowo-type-heading-l-line-height); letter-spacing: var(--yowo-type-heading-l-tracking); font-weight: var(--yowo-type-heading-l-weight); }
.yowo-type-heading-l:lang(zh) { font-weight: 700; letter-spacing: 0; }
.yowo-type-heading-m { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-heading-m-size); line-height: var(--yowo-type-heading-m-line-height); letter-spacing: var(--yowo-type-heading-m-tracking); font-weight: var(--yowo-type-heading-m-weight); }
.yowo-type-heading-m:lang(zh) { font-weight: 700; letter-spacing: 0; }
.yowo-type-heading-s { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-heading-s-size); line-height: var(--yowo-type-heading-s-line-height); letter-spacing: var(--yowo-type-heading-s-tracking); font-weight: var(--yowo-type-heading-s-weight); }
.yowo-type-heading-s:lang(zh) { font-weight: 500; letter-spacing: 0; }
.yowo-type-body { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-body-size); line-height: var(--yowo-type-body-line-height); letter-spacing: var(--yowo-type-body-tracking); font-weight: var(--yowo-type-body-weight); }
.yowo-type-body-s { font-family: var(--yowo-font-family-sans); font-size: var(--yowo-type-body-s-size); line-height: var(--yowo-type-body-s-line-height); letter-spacing: var(--yowo-type-body-s-tracking); font-weight: var(--yowo-type-body-s-weight); }
.yowo-type-label { font-family: var(--yowo-font-family-mono); font-size: var(--yowo-type-label-size); line-height: var(--yowo-type-label-line-height); letter-spacing: var(--yowo-type-label-tracking); font-weight: var(--yowo-type-label-weight); text-transform: uppercase; font-variation-settings: var(--yowo-font-mono-variation); }
.yowo-type-label:lang(zh) { font-weight: 500; letter-spacing: 0.04em; }
.yowo-type-label-s { font-family: var(--yowo-font-family-mono); font-size: var(--yowo-type-label-s-size); line-height: var(--yowo-type-label-s-line-height); letter-spacing: var(--yowo-type-label-s-tracking); font-weight: var(--yowo-type-label-s-weight); text-transform: uppercase; font-variation-settings: var(--yowo-font-mono-variation); }
.yowo-type-label-s:lang(zh) { font-weight: 500; letter-spacing: 0.04em; }

/* Reduced motion: keep state changes, drop movement. 减少动态：保留状态变化，去掉位移。 */
@media (prefers-reduced-motion: reduce) {
  :root { --yowo-motion-duration-fast: 0ms; --yowo-motion-duration-base: 0ms; --yowo-motion-duration-slow: 0ms; }
}
