@keyframes pulse-border{0%,to{box-shadow:0 0 0 0 color-mix(in srgb,var(--token-color-node-execution-running-border)42%,transparent)}50%{box-shadow:0 0 0 10px color-mix(in srgb,var(--token-color-node-execution-running-border)0%,transparent)}}@keyframes glow{0%,to{box-shadow:0 16px 36px color-mix(in srgb,var(--token-neutral-n900)34%,transparent),0 0 28px color-mix(in srgb,var(--token-color-node-execution-running-border)24%,transparent)}50%{box-shadow:0 18px 42px color-mix(in srgb,var(--token-neutral-n900)38%,transparent),0 0 38px color-mix(in srgb,var(--token-color-node-execution-running-border)34%,transparent)}}@keyframes flow{0%{stroke-dashoffset:20px}to{stroke-dashoffset:0}}@keyframes particle-flow{0%{offset-distance:0%;opacity:0}10%{opacity:1}90%{opacity:1}to{offset-distance:100%;opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.workflow-canvas-theme-scope{--token-color-canvas-surface:#050505;--token-color-canvas-pattern:#1e1f26;--token-color-node-surface:#12131a;--token-color-node-border:#3a494b;--token-color-node-title-foreground:#e1fdff;--token-color-node-subtitle-foreground:#849495;--token-color-node-preview-surface:#12131a;--token-color-node-preview-border:#3a494b;--token-color-edge-stroke:#00f2ff;--token-color-edge-stroke-disabled:#3a494b;--workflow-edge-stroke-default:var(--token-color-edge-stroke);--token-color-shell-surface:#050505;--token-color-shell-text-primary:#e2e1eb;--token-color-shell-text-secondary:#849495;--token-color-form-field-surface:#1e1f26;--token-color-form-field-border:#3a494b;--token-color-card-surface:#12131a;--token-color-card-border:#3a494b;--token-color-node-category-entries:#00f2ff;--token-color-node-category-processes:#00f2ff;--token-color-node-category-actions:#ff24e4;--token-color-node-category-outputs:#00f2ff;--token-color-node-category-control:#ff24e4;--token-color-node-category-notifications:#ff24e4;--token-color-node-category-canvas:#00f2ff}[data-theme=dark] .workflow-canvas-theme-scope,.ctx-dark .workflow-canvas-theme-scope{--token-color-canvas-surface:#050505;--token-color-canvas-pattern:#1e1f26;--token-color-node-surface:#12131a;--token-color-node-border:#3a494b;--token-color-node-title-foreground:#e1fdff;--token-color-node-subtitle-foreground:#849495;--token-color-node-preview-surface:#12131a;--token-color-node-preview-border:#3a494b;--token-color-edge-stroke:#00f2ff;--token-color-edge-stroke-disabled:#3a494b;--workflow-edge-stroke-default:var(--token-color-edge-stroke);--token-color-shell-surface:#050505;--token-color-shell-text-primary:#e2e1eb;--token-color-shell-text-secondary:#849495;--token-color-form-field-surface:#1e1f26;--token-color-form-field-border:#3a494b;--token-color-card-surface:#12131a;--token-color-card-border:#3a494b}.ctx-light .workflow-canvas-theme-scope{--token-color-canvas-surface:#050505;--token-color-canvas-pattern:#1e1f26;--token-color-node-surface:#12131a;--token-color-node-border:#3a494b;--token-color-node-title-foreground:#e1fdff;--token-color-node-subtitle-foreground:#849495;--token-color-node-preview-surface:#12131a;--token-color-node-preview-border:#3a494b;--token-color-edge-stroke:#00f2ff;--token-color-edge-stroke-disabled:#3a494b;--workflow-edge-stroke-default:var(--token-color-edge-stroke)}.workflow-builder-shell{--workflow-shell-surface:#1e1e1e;--workflow-shell-border:#2a2a2a;--workflow-canvas-surface:#121212;--workflow-card-surface:#333;--workflow-card-border:#4a4a4a;--workflow-segmented-surface:var(--workflow-card-surface);--token-color-canvas-surface:var(--workflow-canvas-surface);--token-color-canvas-pattern:#3a3a3a;--token-color-shell-surface:var(--workflow-shell-surface);--token-color-shell-surface-primary:var(--workflow-shell-surface);--token-color-shell-surface-raised:var(--workflow-card-surface);--token-color-shell-border:var(--workflow-shell-border);--token-color-shell-divider:var(--workflow-shell-border);--token-color-shell-divider-subtle:var(--workflow-shell-border);--token-color-shell-text-primary:#f5f5f5;--token-color-shell-text-secondary:#b7b7b7;--token-color-shell-text-tertiary:#7d7d7d;--token-color-card-surface:var(--workflow-card-surface);--token-color-card-panel-surface:var(--workflow-shell-surface);--token-color-card-border:var(--workflow-card-border);--token-color-node-surface:var(--workflow-card-surface);--token-color-node-border:#555;--token-color-node-title-foreground:#f5f5f5;--token-color-node-subtitle-foreground:#d3d3d3;--token-color-node-preview-surface:#242424;--token-color-node-preview-border:var(--workflow-card-border);--token-color-form-field-surface:var(--workflow-card-surface);--token-color-form-field-border:var(--workflow-card-border);--token-color-form-input-foreground:#f5f5f5;--token-color-form-placeholder-foreground:#d7d7d7;--token-color-overlay-surface:var(--workflow-card-surface);--token-color-overlay-panel-surface:var(--workflow-shell-surface);--token-color-overlay-border:var(--workflow-shell-border);--token-color-overlay-border-glass:color-mix(in srgb,var(--workflow-shell-border)72%,transparent);--token-color-interactive-overlay-hover:rgba(255,255,255,.07);--token-color-interactive-overlay-pressed:rgba(255,255,255,.11);--token-color-action-chip-background:#333;--token-color-action-chip-background-hover:#3d3d3d;--token-color-action-chip-background-pressed:#262626;--token-color-action-chip-border:#4a4a4a;--token-color-action-chip-foreground:#f5f5f5;--token-color-action-cta-secondary-background:#f5f5f5;--token-color-action-cta-secondary-border:#f5f5f5;--token-color-action-cta-secondary-foreground:#0f0f0f;--token-color-action-cta-secondary-hover:#fff;--token-color-action-cta-secondary-pressed:#dedede;--token-color-tab-indicator:#f5f5f5;--token-color-node-category-agents:#8b5cf6}.workflow-builder-shell .workflow-canvas-theme-scope{--token-color-canvas-surface:var(--workflow-canvas-surface);--token-color-canvas-pattern:#3a3a3a;--token-color-node-surface:var(--workflow-card-surface);--token-color-node-border:#555;--token-color-node-title-foreground:#f5f5f5;--token-color-node-subtitle-foreground:#d3d3d3;--token-color-node-preview-surface:#242424;--token-color-node-preview-border:var(--workflow-card-border);--token-color-edge-stroke:#707070;--token-color-edge-stroke-disabled:#464646;--workflow-edge-stroke-default:var(--token-color-edge-stroke)}[data-theme=light] .workflow-builder-shell,.light .workflow-builder-shell{--workflow-shell-surface:var(--token-neutral-n50,#f7f7f7);--workflow-shell-border:var(--token-neutral-n200,#dedede);--workflow-canvas-surface:var(--token-neutral-n75,#f5f5f5);--workflow-card-surface:var(--token-neutral-white,#fff);--workflow-card-border:var(--token-neutral-n200,#dedede);--workflow-segmented-surface:var(--token-neutral-n100,#ededed);--token-color-canvas-surface:var(--workflow-canvas-surface);--token-color-canvas-pattern:var(--token-neutral-n300,#c8c8c8);--token-color-shell-surface:var(--workflow-shell-surface);--token-color-shell-surface-primary:var(--workflow-shell-surface);--token-color-shell-surface-raised:var(--workflow-card-surface);--token-color-shell-border:var(--workflow-shell-border);--token-color-shell-divider:var(--workflow-shell-border);--token-color-shell-divider-subtle:var(--workflow-shell-border);--token-color-shell-text-primary:var(--token-neutral-n900,#111);--token-color-shell-text-secondary:var(--token-neutral-n600,#5f5f5f);--token-color-shell-text-tertiary:var(--token-neutral-n500,#7a7a7a);--token-color-card-surface:var(--workflow-card-surface);--token-color-card-panel-surface:var(--token-neutral-n100,#ededed);--token-color-card-border:var(--workflow-card-border);--token-color-node-surface:var(--workflow-card-surface);--token-color-node-border:var(--workflow-card-border);--token-color-node-title-foreground:var(--token-neutral-n900,#111);--token-color-node-subtitle-foreground:var(--token-neutral-n600,#5f5f5f);--token-color-node-preview-surface:var(--token-neutral-n100,#ededed);--token-color-node-preview-border:var(--workflow-card-border);--token-color-form-field-surface:var(--workflow-card-surface);--token-color-form-field-border:var(--workflow-card-border);--token-color-form-input-foreground:var(--token-neutral-n900,#111);--token-color-form-placeholder-foreground:var(--token-neutral-n500,#7a7a7a);--token-color-overlay-surface:var(--workflow-card-surface);--token-color-overlay-panel-surface:var(--workflow-shell-surface);--token-color-overlay-border:var(--workflow-shell-border);--token-color-overlay-border-glass:color-mix(in srgb,var(--workflow-shell-border)72%,transparent);--token-color-interactive-overlay-hover:rgba(0,0,0,.06);--token-color-interactive-overlay-pressed:rgba(0,0,0,.1);--token-color-action-chip-background:var(--workflow-card-surface);--token-color-action-chip-background-hover:var(--token-neutral-n100,#ededed);--token-color-action-chip-background-pressed:var(--token-neutral-n200,#dedede);--token-color-action-chip-border:var(--workflow-card-border);--token-color-action-chip-foreground:var(--token-neutral-n900,#111);--token-color-action-cta-secondary-background:var(--workflow-card-surface);--token-color-action-cta-secondary-border:var(--workflow-card-border);--token-color-action-cta-secondary-foreground:var(--token-neutral-n900,#111);--token-color-action-cta-secondary-hover:var(--token-neutral-n100,#ededed);--token-color-action-cta-secondary-pressed:var(--token-neutral-n200,#dedede);--token-color-tab-indicator:var(--token-neutral-n900,#111);--token-color-node-category-agents:var(--token-palette-plum-500,#8b5cf6)}[data-theme=light] .workflow-builder-shell .workflow-canvas-theme-scope,.light .workflow-builder-shell .workflow-canvas-theme-scope{--token-color-canvas-surface:var(--workflow-canvas-surface);--token-color-canvas-pattern:var(--token-neutral-n300,#c8c8c8);--token-color-node-surface:var(--workflow-card-surface);--token-color-node-border:var(--workflow-card-border);--token-color-node-title-foreground:var(--token-neutral-n900,#111);--token-color-node-subtitle-foreground:var(--token-neutral-n600,#5f5f5f);--token-color-node-preview-surface:var(--token-neutral-n100,#ededed);--token-color-node-preview-border:var(--workflow-card-border);--token-color-edge-stroke:var(--token-neutral-n400,#b5b5b5);--token-color-edge-stroke-disabled:var(--token-neutral-n300,#c8c8c8);--workflow-edge-stroke-default:var(--token-color-edge-stroke)}.workflow-node-palette-scope{--workflow-node-surface:var(--token-color-node-surface);--workflow-node-border:var(--token-color-node-border);--workflow-node-title:var(--token-color-node-title-foreground);--workflow-node-subtitle:var(--token-color-node-subtitle-foreground);--workflow-canvas-surface:var(--token-color-canvas-surface)}.workflow-palette-card{background:var(--token-color-card-surface);border-color:var(--token-color-card-border)}.workflow-palette-card:hover{background:color-mix(in srgb,var(--token-color-card-surface)88%,var(--token-color-shell-text-primary)12%);border-color:color-mix(in srgb,var(--token-color-card-border)72%,var(--token-color-shell-text-primary)28%)}.workflow-builder-shell .node-palette-segmented{border-color:var(--workflow-card-border);background:var(--workflow-segmented-surface,var(--workflow-card-surface));box-shadow:none}.workflow-builder-shell .node-palette-segmented [role=tab]{letter-spacing:0}.workflow-builder-shell .node-palette-segmented [role=tab][aria-selected=true]{background:var(--token-color-action-cta-secondary-background);color:var(--token-color-action-cta-secondary-foreground)!important}.workflow-builder-shell .node-palette-segmented [role=tab][aria-selected=true] *{color:var(--token-color-action-cta-secondary-foreground)!important}.workflow-builder-shell .node-palette-segmented [role=tab][aria-selected=false],.workflow-builder-shell .node-palette-segmented [role=tab][aria-selected=false] *{color:var(--token-color-shell-text-primary)}.workflow-node{transition:all .3s cubic-bezier(.4,0,.2,1)}.workflow-node-shell{--workflow-node-surface:#12131a;--workflow-node-border:#3a494b;--workflow-node-title:#e1fdff;--workflow-node-subtitle:#849495;--workflow-canvas-surface:#050505;--workflow-node-elevation-shadow:0 18px 42px rgba(0,0,0,.8);--workflow-node-accent-glow:0 0 30px rgba(0,242,255,.15);color:#e1fdff;background:#12131a;border-color:#3a494b;box-shadow:0 0 20px rgba(0,0,0,.6)}[data-theme=dark] .workflow-node-shell,.ctx-dark .workflow-node-shell{--workflow-node-surface:#12131a;--workflow-node-border:#3a494b;--workflow-node-title:#e1fdff;--workflow-node-subtitle:#849495;--workflow-canvas-surface:#050505;--workflow-node-elevation-shadow:0 18px 42px rgba(0,0,0,.8);--workflow-node-accent-glow:0 0 34px rgba(0,242,255,.2);color:#e1fdff;background:#12131a;border-color:#3a494b}.ctx-light .workflow-node-shell{--workflow-node-surface:#12131a;--workflow-node-border:#3a494b;--workflow-node-title:#e1fdff;--workflow-node-subtitle:#849495;--workflow-canvas-surface:#050505;--workflow-node-elevation-shadow:0 18px 42px rgba(0,0,0,.8);--workflow-node-accent-glow:0 0 30px rgba(0,242,255,.15);color:#e1fdff;background:#12131a;border-color:#3a494b}.workflow-node-shell:hover{border-color:color-mix(in srgb,var(--token-color-feedback-negative-border)76%,var(--workflow-node-border))}.workflow-node-shell-running{border-color:var(--token-color-node-execution-running-border);box-shadow:var(--workflow-node-elevation-shadow),0 0 34px color-mix(in srgb,var(--token-color-node-execution-running-border)26%,transparent)}.workflow-node-shell-success{border-color:var(--token-color-node-execution-success-border);box-shadow:var(--workflow-node-elevation-shadow),0 0 28px color-mix(in srgb,var(--token-color-node-execution-success-border)20%,transparent)}.workflow-node-shell-error{border-color:var(--token-color-node-execution-failed-border);box-shadow:var(--workflow-node-elevation-shadow),0 0 34px color-mix(in srgb,var(--token-color-node-execution-failed-border)28%,transparent)}.workflow-node-shell-waiting{border-color:var(--token-color-node-execution-partial-border);box-shadow:var(--workflow-node-elevation-shadow),0 0 32px color-mix(in srgb,var(--token-color-node-execution-partial-border)26%,transparent)}.workflow-node-shell-skipped{border-color:var(--token-color-edge-stroke-disabled);opacity:.65;border-style:dashed}.workflow-node-shell-selected{box-shadow:0 0 0 4px color-mix(in srgb,var(--node-category-accent,var(--token-color-node-border-selected))24%,transparent),var(--workflow-node-elevation-shadow),0 0 34px color-mix(in srgb,var(--node-category-accent,var(--token-color-node-border-selected))22%,transparent);border-color:var(--node-category-accent,var(--token-color-node-border-selected))!important}.workflow-node-shell-disabled{box-shadow:var(--token-shadow-node);filter:grayscale(.35);opacity:.5;border-style:dashed}.workflow-node-shell-icon{background:color-mix(in srgb,var(--node-category-accent,var(--token-color-feedback-negative-border))12%,var(--workflow-node-surface));border-color:color-mix(in srgb,var(--node-category-accent,var(--token-color-feedback-negative-border))70%,var(--workflow-node-border));color:var(--node-category-accent,var(--workflow-node-title));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--token-neutral-white)8%,transparent)}.workflow-node-shell-action{background:color-mix(in srgb,var(--token-color-shell-text-primary)10%,var(--workflow-node-surface));border-color:color-mix(in srgb,var(--workflow-node-border)70%,transparent);color:var(--token-color-shell-text-secondary);box-shadow:var(--token-shadow-sm)}.workflow-node-shell-action:hover{background:color-mix(in srgb,var(--token-color-shell-text-primary)16%,var(--workflow-node-surface));border-color:color-mix(in srgb,var(--token-color-shell-text-primary)22%,var(--workflow-node-border));color:var(--token-color-shell-text-primary)}.workflow-node-shell-field{background:color-mix(in srgb,var(--workflow-node-surface)82%,var(--workflow-canvas-surface)18%);border-color:color-mix(in srgb,var(--workflow-node-border)75%,transparent)}.workflow-node-shell-port{border:3px solid var(--workflow-canvas-surface);box-shadow:0 8px 20px color-mix(in srgb,var(--token-neutral-n900)30%,transparent),0 0 0 4px color-mix(in srgb,var(--token-color-feedback-negative-border)36%,transparent)}.workflow-node-shell-port-default{background:var(--token-neutral-white);color:var(--token-neutral-n900)}.workflow-node-shell-port-success{background:var(--token-color-node-execution-success-border);color:var(--token-neutral-white);box-shadow:0 8px 20px color-mix(in srgb,var(--token-neutral-n900)30%,transparent),0 0 0 4px color-mix(in srgb,var(--token-color-node-execution-success-border)36%,transparent)}.workflow-node-shell-port-danger{background:var(--token-color-node-execution-failed-border);color:var(--token-neutral-white);box-shadow:0 8px 20px color-mix(in srgb,var(--token-neutral-n900)30%,transparent),0 0 0 4px color-mix(in srgb,var(--token-color-node-execution-failed-border)36%,transparent)}.workflow-connection-badge{background:var(--token-neutral-white);border-color:color-mix(in srgb,var(--token-color-feedback-negative-border)38%,var(--token-color-canvas-surface));color:var(--token-neutral-n900);box-shadow:0 0 0 3px color-mix(in srgb,var(--token-color-feedback-negative-border)18%,transparent),0 8px 18px color-mix(in srgb,var(--token-neutral-n900)22%,transparent)}.workflow-node-running{animation:2s ease-in-out infinite pulse-border,2s ease-in-out infinite glow;border-color:var(--token-color-node-execution-running-border)!important}.workflow-node-success{border-color:var(--token-color-node-execution-success-border)!important}.workflow-node-error{border-color:var(--token-color-node-execution-failed-border)!important}.workflow-node-waiting{border-color:var(--token-color-node-execution-partial-border)!important}.workflow-edge-animating{stroke:var(--token-color-node-execution-running-border);stroke-width:2px;stroke-dasharray:5 5;animation:1s linear infinite flow}.workflow-edge-completed{stroke:var(--token-color-node-execution-success-border);stroke-width:2px}.workflow-edge-idle{stroke:var(--token-color-edge-stroke);stroke-width:1.5px}.edge-particle{offset-path:path(var(--edge-path));animation:1.5s ease-in-out particle-flow}.node-spinner{animation:1s linear infinite spin}@keyframes fade-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.status-badge{animation:.3s ease-out fade-in}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}.workflow-node-processing{background:linear-gradient(90deg,color-mix(in srgb,var(--token-color-node-execution-running-border)5%,transparent)0%,color-mix(in srgb,var(--token-color-node-execution-running-border)15%,transparent)50%,color-mix(in srgb,var(--token-color-node-execution-running-border)5%,transparent)100%);background-size:1000px 100%;animation:2s infinite shimmer}@keyframes node-shake{0%,to{transform:translate(0)}15%{transform:translate(-4px)}30%{transform:translate(4px)}45%{transform:translate(-3px)}60%{transform:translate(3px)}75%{transform:translate(-1px)}}.workflow-node-just-failed{animation:.45s ease-in-out node-shake}@keyframes checkmark-pop{0%{opacity:0;transform:scale(.4)}60%{opacity:1;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.workflow-node-checkmark-pop{animation:.45s cubic-bezier(.22,1,.36,1) checkmark-pop}@keyframes timer-reveal{0%{opacity:0;transform:translateY(4px)scale(.85)}60%{opacity:1;transform:translateY(-1px)scale(1.06)}to{opacity:1;transform:translateY(0)scale(1)}}.workflow-node-timer-reveal{animation:.5s cubic-bezier(.22,1,.36,1) timer-reveal}.workflow-node-timer-glow-primary{text-shadow:0 0 6px color-mix(in srgb,var(--token-color-node-execution-running-border)55%,transparent),0 0 12px color-mix(in srgb,var(--token-color-node-execution-running-border)25%,transparent)}.workflow-node-timer-glow-primary svg{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--token-color-node-execution-running-border)65%,transparent))}.workflow-node-timer-glow-emerald{text-shadow:0 0 6px color-mix(in srgb,var(--token-color-node-execution-success-border)55%,transparent),0 0 12px color-mix(in srgb,var(--token-color-node-execution-success-border)25%,transparent)}.workflow-node-timer-glow-emerald svg{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--token-color-node-execution-success-border)65%,transparent))}.workflow-node-timer-glow-rose{text-shadow:0 0 6px color-mix(in srgb,var(--token-color-node-execution-failed-border)55%,transparent),0 0 12px color-mix(in srgb,var(--token-color-node-execution-failed-border)25%,transparent)}.workflow-node-timer-glow-rose svg{filter:drop-shadow(0 0 4px color-mix(in srgb,var(--token-color-node-execution-failed-border)65%,transparent))}@keyframes node-progress-slide{0%{transform:translate(-100%)}to{transform:translate(100%)}}.workflow-node-progress-bar{animation:1.4s ease-in-out infinite node-progress-slide}.canvas-spotlight .workflow-node:not(.workflow-node-running):not(.workflow-node-success):not(.workflow-node-error){opacity:.3;filter:saturate(.4)}.workflow-node-success:not(:hover){filter:saturate(.9)}
