.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg-primary: #1e1e34;--bg-surface: #26264a;--bg-elevated: #2e2e55;--bg-hover: #363660;--bg-panel: rgba(38, 38, 74, .94);--border: #3e3e62;--border-light: #50506e;--text-primary: #f0f0f4;--text-secondary: #b8b8d0;--text-muted: #8e8eaa;--accent: #7c3aed;--accent-hover: #6d28d9;--accent-light: rgba(124, 58, 237, .15);--success: #10b981;--error: #ef4444;--warning: #f59e0b;--blue: #3b82f6;--green: #10b981;--purple: #7c3aed;--orange: #f59e0b;--flow-background: #1e1e34;--flow-grid: #2a2a4a;--overlay: rgba(0, 0, 0, .6);--shadow: rgba(8, 10, 24, .28);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;color:var(--text-primary);background-color:var(--bg-primary)}body{overflow:hidden;height:100vh;width:100vw}#root{height:100vh;width:100vw}.app{display:flex;flex-direction:column;height:100vh;width:100vw;outline:none}.header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:8px 16px;min-height:52px;background:var(--bg-surface);border-bottom:1px solid var(--border);z-index:10}.header-left{display:flex;align-items:center;flex:1 1 360px;flex-wrap:wrap;gap:10px;min-width:0}.logo{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--text-primary);white-space:nowrap}.workflow-title-fields{display:flex;align-items:center;gap:6px;width:272px;min-width:220px}.workflow-name-input{background:var(--bg-elevated);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);padding:6px 12px;font-size:14px;width:100%;transition:border-color .2s}.workflow-description-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border:1px solid var(--border);border-radius:6px;background:var(--bg-elevated);color:var(--text-secondary);cursor:pointer;transition:background .15s,border-color .15s,color .15s}.workflow-description-button:hover,.workflow-description-button.has-description{border-color:#5eead461;background:#5eead41a;color:#5eead4}.workflow-description-button:disabled{cursor:not-allowed;opacity:.58}.workflow-name-input:focus{outline:none;border-color:var(--accent)}.workflow-name-input:disabled,.collection-select:disabled{cursor:not-allowed;opacity:.66}.workflow-description-modal-input{width:100%;min-height:150px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg-primary);color:var(--text-primary);font:inherit;font-size:13px;line-height:1.5;resize:vertical}.workflow-description-modal-input:focus{outline:none;border-color:var(--accent)}.workflow-description-modal-input::placeholder{color:var(--text-muted)}.collection-select{background:var(--bg-elevated);border:1px solid var(--border);border-radius:6px;color:var(--text-secondary);padding:5px 8px;font-size:12px;cursor:pointer;transition:border-color .2s;max-width:150px}.collection-select:focus{outline:none;border-color:var(--accent)}.collection-select option{background:var(--bg-elevated);color:var(--text-primary)}.workflow-id-badge{font-size:11px;font-family:monospace;color:var(--text-muted);background:var(--bg-primary);border:1px solid var(--border);border-radius:4px;padding:4px 8px;cursor:pointer;transition:all .12s ease}.workflow-id-badge:hover{border-color:var(--accent);color:var(--accent)}.replay-badge{font-size:11px;font-weight:600;color:var(--warning);background:#f59e0b1f;border:1px solid rgba(245,158,11,.24);border-radius:999px;padding:5px 10px;white-space:nowrap}.version-preview-badge{font-size:11px;font-weight:700;color:#5eead4;background:#5eead41a;border:1px solid rgba(94,234,212,.28);border-radius:999px;padding:5px 10px;white-space:nowrap}.header-right{display:flex;align-items:center;justify-content:flex-end;flex:2 1 720px;gap:10px;min-width:0}.header-status-slot{display:flex;flex:0 1 240px;justify-content:flex-end;margin-right:auto;min-width:0}.header-status-slot:empty{display:none}.header-action-groups{display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;flex-wrap:wrap;gap:8px 10px;min-width:0}.header-action-group{display:inline-flex;align-items:center;gap:6px;min-width:0}.header-action-group+.header-action-group{padding-left:10px;border-left:1px solid var(--border)}.header-primary-actions{gap:8px}.header-account-actions{flex:0 0 auto}.header-account-actions .theme-color-picker{margin-left:0;padding:0;border-left:0}.header .btn{min-height:32px;padding:6px 10px}.status-message{font-size:12px;padding:4px 10px;border-radius:4px;animation:fadeIn .2s ease;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-info{color:var(--blue);background:#3b82f61a}.status-success{color:var(--success);background:#10b9811a}.status-error{color:var(--error);background:#ef44441a}.status-warning{color:var(--warning);background:#f59e0b1a}@media (max-width: 1280px){.header{align-items:flex-start}.header-left,.header-right{flex-basis:100%}.header-status-slot{justify-content:flex-start}}@media (max-width: 900px){.header-right{align-items:stretch;flex-direction:column}.header-action-groups{justify-content:flex-start}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes execution-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.74);opacity:.62}}.btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:none;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease;white-space:nowrap}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-danger{background:var(--error);color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-secondary{background:var(--bg-elevated);color:var(--text-primary);border:1px solid var(--border)}.btn-secondary:hover:not(:disabled){background:var(--bg-hover);border-color:var(--border-light)}.btn-small{padding:4px 10px;font-size:12px}.btn-new{background:var(--accent);color:#fff}.btn-new:hover{background:var(--accent-hover)}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:4px;background:transparent;color:var(--text-secondary);cursor:pointer;transition:all .15s ease}.btn-icon:hover{background:var(--bg-hover);color:var(--text-primary)}.btn-delete:hover{color:var(--error);background:#ef44441a}.main-content{display:flex;flex:1;min-height:0;position:relative;overflow:hidden}.main-content.replay-mode .canvas-wrapper{flex:1 1 auto}.main-content.version-preview-mode .canvas-wrapper:after{content:"읽기 전용";position:absolute;right:12px;bottom:12px;z-index:4;padding:5px 9px;border:1px solid rgba(94,234,212,.24);border-radius:999px;background:#1e1e34d1;color:#5eead4;font-size:11px;font-weight:700;pointer-events:none}.sidebar{position:relative;width:180px;min-width:120px;max-width:360px;background:var(--bg-surface);border-right:1px solid var(--border);display:flex;flex-direction:column;overflow-y:auto}.sidebar-title{padding:12px 14px 8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-secondary)}.sidebar-nodes{padding:4px 8px;display:flex;flex-direction:column;gap:4px}.sidebar-node-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:8px;cursor:grab;transition:all .15s ease;border:1px solid transparent;-webkit-user-select:none;user-select:none}.sidebar-node-button{width:100%;background:transparent;color:inherit;font:inherit;text-align:left}.sidebar-node-item:hover,.sidebar-node-item.expanded{background:var(--bg-hover);border-color:var(--border)}.sidebar-node-item:active{cursor:grabbing;border-color:var(--node-color)}.sidebar-node-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:#7c3aed14;flex-shrink:0}.sidebar-node-info{display:flex;flex-direction:column;gap:1px;min-width:0}.sidebar-node-label{font-size:13px;font-weight:500;color:var(--text-primary)}.sidebar-node-desc{font-size:10px;color:var(--text-muted)}.sidebar-provider-group{display:flex;flex-direction:column;gap:4px}.sidebar-provider-group .sidebar-node-button,.sidebar-provider-group .sidebar-node-button:active{cursor:pointer}.sidebar-provider-group-icon{color:var(--text-primary);background:#7c3aed1a}.sidebar-provider-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--bg-surface);border:1px solid var(--border)}.sidebar-node-chevron{display:flex;align-items:center;justify-content:center;margin-left:auto;color:var(--text-muted);transition:transform .15s ease}.sidebar-node-button.expanded .sidebar-node-chevron{transform:rotate(180deg)}.sidebar-provider-picker{display:flex;flex-direction:column;gap:3px;padding:2px 0 4px 18px}.sidebar-provider-item{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:6px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:grab;transition:background .15s ease,border-color .15s ease}.sidebar-provider-item:hover{background:var(--bg-hover);border-color:var(--border)}.sidebar-provider-item:active{cursor:grabbing;border-color:var(--node-color)}.sidebar-provider-icon{width:28px;height:28px;flex:0 0 28px;border-radius:8px}.sidebar-provider-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:1px}.sidebar-provider-label{color:var(--text-primary);font-size:12px;font-weight:600;line-height:1.2}.provider-service-icon{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;flex-shrink:0}.provider-service-icon-openai{padding:1px}.canvas-wrapper{flex:1;min-width:0;position:relative;background:var(--flow-background)}.execution-status-panel{position:absolute;top:12px;left:12px;z-index:5;display:flex;align-items:center;gap:10px;max-width:min(420px,calc(100% - 24px));padding:9px 12px;background:var(--bg-panel);border:1px solid var(--border);border-radius:8px;box-shadow:0 12px 30px #0000002e;pointer-events:none}.execution-status-dot{width:9px;height:9px;border-radius:50%;flex:0 0 auto;background:var(--blue)}.execution-status-panel.running .execution-status-dot{box-shadow:0 0 0 4px #3b82f624;animation:execution-pulse 1.1s ease-in-out infinite}.execution-status-panel.success .execution-status-dot{background:var(--success)}.execution-status-panel.error .execution-status-dot{background:var(--error)}.execution-status-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.execution-status-copy span{font-size:10px;font-weight:700;color:var(--text-muted)}.execution-status-copy strong{max-width:300px;font-size:12px;line-height:1.3;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.execution-status-progress{flex:0 0 auto;margin-left:2px;padding:2px 7px;border-radius:999px;background:var(--bg-primary);color:var(--text-secondary);font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.react-flow{background:var(--flow-background)!important}.react-flow__edge-path{stroke:#64748b!important;stroke-width:2px!important;transition:stroke .15s ease,stroke-width .15s ease,opacity .15s ease}.react-flow__edge.selected .react-flow__edge-path{stroke:var(--accent)!important}.react-flow__edge.workflow-edge{pointer-events:stroke}.react-flow__edge.workflow-edge .react-flow__edge-path{stroke:#64748b!important}.react-flow__edge.workflow-edge.edge-branch-success .react-flow__edge-path{stroke:#10b981!important}.react-flow__edge.workflow-edge.edge-branch-failure .react-flow__edge-path{stroke:#ef4444!important}.react-flow__edge.workflow-edge.edge-fallback .react-flow__edge-path{stroke:#fb7185!important;stroke-dasharray:7 5}.react-flow__edge.workflow-edge.edge-focused-incoming .react-flow__edge-path{stroke:#38bdf8!important;stroke-width:3px!important}.react-flow__edge.workflow-edge.edge-focused-outgoing .react-flow__edge-path{stroke:#a78bfa!important;stroke-width:3px!important}.react-flow__edge.workflow-edge.edge-hovered .react-flow__edge-path{stroke:#f59e0b!important;stroke-width:3px!important}.react-flow__edge.workflow-edge.edge-dimmed .react-flow__edge-path{opacity:.18;stroke:#334155!important}.flow-controls{background:var(--bg-surface)!important;border:1px solid var(--border)!important;border-radius:8px!important;overflow:hidden}.flow-controls button{background:var(--bg-surface)!important;border-bottom:1px solid var(--border)!important;color:var(--text-secondary)!important;fill:var(--text-secondary)!important;width:28px!important;height:28px!important}.flow-controls button:hover{background:var(--bg-hover)!important;color:var(--text-primary)!important;fill:var(--text-primary)!important}.flow-controls button svg{fill:currentColor!important}.react-flow__minimap{background:var(--bg-surface)!important;border:1px solid var(--border)!important;border-radius:8px!important}.custom-node{min-width:200px;max-width:260px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:10px;padding:10px 12px;font-size:12px;transition:box-shadow .15s ease,border-color .15s ease;position:relative}.custom-node.selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light)}.react-flow__node.connection-node .custom-node{border-color:#94a3b8f2;box-shadow:0 0 0 2px #94a3b824}.react-flow__node.connection-source .custom-node{border-color:#f59e0be6;box-shadow:0 0 0 2px #f59e0b2e}.react-flow__node.connection-target .custom-node{border-color:#38bdf8e6;box-shadow:0 0 0 2px #38bdf82e}.react-flow__node.connection-selected .custom-node{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-light)}.react-flow__node.execution-node .custom-node{padding-right:36px}.react-flow__node.execution-waiting .custom-node{opacity:.62}.react-flow__node.execution-running .custom-node{opacity:1;border-color:var(--blue);box-shadow:0 0 0 2px #3b82f633,0 0 22px #3b82f624}.react-flow__node.execution-success .custom-node{opacity:1;border-color:#10b981d1}.react-flow__node.execution-error .custom-node{opacity:1;border-color:#ef4444e6;box-shadow:0 0 0 2px #ef444429}.react-flow__node.execution-skipped .custom-node{opacity:.78;border-color:var(--border-light)}.react-flow__node.execution-running .custom-node:after,.react-flow__node.execution-success .custom-node:after,.react-flow__node.execution-error .custom-node:after,.react-flow__node.execution-skipped .custom-node:after{position:absolute;top:10px;right:11px;width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800}.react-flow__node.execution-running .custom-node:after{content:"";border:2px solid rgba(59,130,246,.28);border-top-color:var(--blue);animation:job-spin-anim .8s linear infinite}.react-flow__node.execution-success .custom-node:after{content:"✓";background:#10b98124;color:var(--success)}.react-flow__node.execution-error .custom-node:after{content:"!";background:#ef444424;color:var(--error)}.react-flow__node.execution-skipped .custom-node:after{content:"-";background:#8e8eaa29;color:var(--text-muted)}.custom-node:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0}.text-input-node:before{background:var(--blue)}.image-input-node:before{background:var(--green)}.input-node:before{background:#0ea5e9}.llm-node:before{background:var(--purple)}.provider-node-openai:before{background:#10b981}.provider-node-gemini:before{background:#3b82f6}.provider-node-wavespeed:before{background:#0f766e}.provider-node-byteplus:before{background:#ef4444}.imageGeneration:before{background:#14b8a6}.videoGeneration:before{background:#f97316}.output-node:before{background:var(--orange)}.data-delivery-node:before{background:#10b981}.email-node:before{background:#ec4899}.python-script-node:before{background:#2563eb}.if-node:before{background:#64748b}.node-header{display:flex;align-items:center;gap:6px;margin-bottom:4px;min-width:0}.node-icon{display:flex;align-items:center;color:var(--text-secondary)}.provider-node-icon{width:18px;height:18px;justify-content:center;overflow:hidden;border-radius:5px;background:#fff;color:#0f172a}.provider-node-gemini .provider-node-icon,.provider-node-byteplus .provider-node-icon{background:#fff}.provider-node-wavespeed .provider-node-icon{background:#050b18}.node-label{flex:1 1 auto;min-width:0;font-weight:600;font-size:12px;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.react-flow__node.deployment-node .custom-node .node-header:after{content:"배포 중";flex:0 0 auto;padding:2px 6px;border:1px solid rgba(16,185,129,.42);border-radius:999px;background:#10b98124;color:var(--success);font-size:9px;font-weight:700;line-height:1.2;white-space:nowrap}.node-type-badge{font-size:10px;color:var(--text-muted);margin-left:20px}.node-meta{display:flex;align-items:center;gap:6px;margin-left:20px}.provider-badge{font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;padding:1px 5px;border-radius:3px}.provider-openai{background:#10b98126;color:var(--success)}.provider-gemini{background:#3b82f626;color:var(--blue)}.provider-wavespeed{background:#0f766e29;color:#2dd4bf}.provider-byteplus{background:#ef444429;color:#f87171}.model-name{font-size:10px;color:var(--text-secondary)}.node-kind-badge{font-size:9px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}.node-submeta{margin-top:6px;margin-left:20px;font-size:10px;color:var(--text-secondary);word-break:break-word}.node-input-slots{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px;margin-left:20px}.node-input-slot{display:inline-flex;align-items:center;max-width:100%;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:4px;background:var(--bg-primary);color:var(--text-secondary);font-size:9px;line-height:1.45}.node-input-slot.required{border-color:#f59e0b73}.node-input-slot-name{min-width:0;overflow:hidden;padding:1px 4px;text-overflow:ellipsis;white-space:nowrap}.node-input-slot-type{flex:0 0 auto;padding:1px 4px;border-left:1px solid var(--border);color:var(--text-muted);font-family:monospace}.node-result-preview{margin-top:6px;padding:6px 8px;background:#10b98114;border-radius:4px;font-size:10px;color:var(--text-secondary);line-height:1.4;word-break:break-word}.node-media-preview{margin-top:8px}.node-inline-input{width:100%;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);padding:6px 8px;font-size:11px;font-family:inherit;resize:vertical;margin-top:6px;transition:border-color .15s ease}.node-inline-input:focus{outline:none;border-color:var(--accent)}.node-inline-input::placeholder{color:var(--text-muted)}.node-json-input{min-height:116px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.45}.json-input-editor{display:flex;flex-direction:column;gap:6px}.json-input-editor.node{margin-top:6px}.json-input-editor.node .node-inline-input{margin-top:0}.json-input-tabs{display:inline-flex;align-self:flex-start;padding:2px;border:1px solid var(--border);border-radius:6px;background:var(--bg-primary);gap:2px}.json-input-tabs button{border:none;border-radius:4px;background:transparent;color:var(--text-muted);cursor:pointer;font-size:10px;font-weight:700;line-height:1;padding:5px 8px;transition:background .15s ease,color .15s ease}.json-input-tabs button:hover{color:var(--text-secondary)}.json-input-tabs button.active{background:var(--accent-light);color:var(--accent)}.json-form-editor{display:flex;flex-direction:column;gap:10px;padding:8px;border:1px solid var(--border);border-radius:6px;background:var(--bg-primary)}.json-input-editor.node .json-form-editor{max-height:260px;overflow-y:auto}.json-form-section{display:flex;flex-direction:column;gap:6px}.json-form-section+.json-form-section{padding-top:8px;border-top:1px solid var(--border)}.json-form-section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text-secondary);font-size:11px;font-weight:700}.json-form-section-actions{display:inline-flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.json-form-list{display:flex;flex-direction:column;gap:6px}.json-form-row{display:grid;gap:6px;align-items:center}.json-form-row.key-value{grid-template-columns:minmax(0,.8fr) minmax(0,1fr) auto}.json-form-image-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr) minmax(0,.7fr) auto;gap:6px;align-items:center}.json-form-editor input{min-width:0;width:100%;background:var(--bg-elevated);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-size:11px;padding:6px 8px}.json-form-editor input:focus{outline:none;border-color:var(--accent)}.json-input-editor.node .json-form-row.key-value,.json-input-editor.node .json-form-image-row{grid-template-columns:1fr}.node-inline-url{resize:none;margin-top:0}.node-image-url-list{display:flex;flex-direction:column;gap:4px;margin-top:6px}.node-image-url-row{display:flex;gap:3px;align-items:center}.node-image-url-row input{flex:1;min-width:0}.node-inline-remove{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;border-radius:4px;background:transparent;color:var(--text-muted);cursor:pointer;flex-shrink:0;transition:all .15s ease}.node-inline-remove:hover{background:#ef444426;color:var(--error)}.node-inline-add{background:transparent;border:1px dashed var(--border);border-radius:4px;color:var(--text-muted);font-size:10px;padding:3px 0;cursor:pointer;transition:all .15s ease}.node-inline-add:hover{border-color:var(--accent);color:var(--accent)}.node-count-badge{font-size:9px;background:var(--accent-light);color:var(--accent);padding:1px 5px;border-radius:8px;font-weight:600;margin-left:auto}.node-json-badge{margin-left:auto;padding:1px 5px;border-radius:4px;background:#10b9811f;color:var(--success);font-size:9px;font-weight:700;text-transform:uppercase}.node-json-badge.invalid{background:#ef44441f;color:var(--error)}.node-input-summary{display:flex;flex-direction:column;gap:7px;margin-top:8px;padding:8px;border:1px solid var(--border);border-radius:6px;background:var(--bg-primary)}.node-input-summary.invalid{border-color:#ef444442;background:#ef444414;color:var(--error);font-size:11px;font-weight:700}.node-input-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.node-input-metrics span{min-width:0;overflow:hidden;padding:3px 5px;border-radius:4px;background:var(--bg-elevated);color:var(--text-secondary);font-size:9px;font-weight:700;text-align:center;text-overflow:ellipsis;white-space:nowrap}.node-input-preview-list{display:flex;flex-direction:column;gap:4px}.node-input-preview-row{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:6px;min-width:0;align-items:center;font-size:10px;line-height:1.4}.node-input-preview-row span,.node-input-preview-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-input-preview-row span{color:var(--text-muted)}.node-input-preview-row strong{color:var(--text-primary);font-weight:600}.node-input-preview-row.option strong{color:var(--accent)}.node-input-more,.node-input-empty{color:var(--text-muted);font-size:10px;line-height:1.4}.node-image-grid{display:flex;gap:4px;margin-top:6px;flex-wrap:wrap}.node-image-item{position:relative;width:44px;height:44px}.node-image-thumb{width:44px;height:44px;object-fit:cover;border-radius:4px;border:1px solid var(--border);display:block}.node-image-index{position:absolute;bottom:-2px;left:-2px;width:14px;height:14px;border-radius:50%;background:#0ea5e9;color:#fff;font-size:8px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:1}.node-image-remove{position:absolute;top:-4px;right:-4px;width:16px;height:16px;border-radius:50%;background:var(--error);border:none;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s ease}.node-image-item:hover .node-image-remove{opacity:1}.node-upload-btn{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;margin-top:6px;padding:5px 0;background:transparent;border:1px dashed var(--border);border-radius:6px;color:var(--text-muted);font-size:10px;cursor:pointer;transition:all .15s ease}.node-upload-btn:hover{border-color:var(--accent);color:var(--accent)}.image-url-list{display:flex;flex-direction:column;gap:6px}.image-url-row{display:flex;gap:4px;align-items:center}.image-url-row input{flex:1;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);padding:7px 10px;font-size:12px;font-family:inherit;transition:border-color .15s ease}.image-url-row input:focus{outline:none;border-color:var(--accent)}.handle{width:10px!important;height:10px!important;border:2px solid var(--border-light)!important;background:var(--bg-surface)!important;transition:all .15s ease!important}.handle:hover{border-color:var(--accent)!important;background:var(--accent)!important}.handle-source{right:-5px!important}.handle-target{left:-5px!important}.handle-input-slot{background:var(--bg-primary)!important}.handle-success{border-color:#10b981b8!important}.handle-failure{border-color:#ef4444b8!important}.right-panel{position:relative;width:280px;min-width:180px;max-width:520px;background:var(--bg-surface);border-left:1px solid var(--border);display:flex;flex-direction:column;overflow:hidden}.main-content.replay-mode .right-panel{box-shadow:-16px 0 32px #00000029}@media (max-width: 1100px){.main-content.replay-mode .right-panel{position:absolute;top:0;right:0;bottom:0;z-index:8;width:min(360px,86vw)!important;max-width:none}}.right-panel-tabs{display:flex;border-bottom:1px solid var(--border);flex-shrink:0}.right-panel-tab{flex:1;padding:10px 8px;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--text-muted);font-size:12px;font-weight:500;cursor:pointer;transition:color .15s ease,border-color .15s ease,background-color .15s ease}.right-panel-tab:hover{color:var(--text);background:var(--bg-hover, rgba(0, 0, 0, .04))}.right-panel-tab.active{color:var(--text);border-bottom-color:var(--accent, #4f46e5)}.workflow-ai-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.workflow-ai-panel-header{padding:12px 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;border-bottom:1px solid var(--border);flex-shrink:0}.workflow-ai-panel-header h3{margin:0 0 2px;font-size:13px;font-weight:600;color:var(--text)}.workflow-ai-panel-meta{font-size:11px;color:var(--text-muted)}.workflow-ai-panel-messages{flex:1;min-height:0;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.workflow-ai-panel-empty{color:var(--text-muted);font-size:12px;line-height:1.6}.workflow-ai-panel-empty ul{margin:8px 0 0;padding-left:18px}.workflow-ai-panel-empty li{margin-bottom:4px}.ai-msg{display:flex;flex-direction:column;gap:6px}.ai-msg-user{align-items:flex-end}.ai-msg-assistant{align-items:flex-start}.ai-msg-bubble{padding:8px 12px;border-radius:12px;background:var(--bg-surface-alt, rgba(0, 0, 0, .04));color:var(--text);font-size:12px;line-height:1.5;max-width:90%;white-space:pre-wrap;word-break:break-word}.ai-msg-user .ai-msg-bubble{background:var(--accent, #4f46e5);color:#fff}.ai-msg-loading{font-style:italic;color:var(--text-muted)}.ai-msg-warnings{margin:0;padding-left:18px;font-size:11px;color:var(--text-muted)}.ai-plan-card{width:100%;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--bg-surface);display:flex;flex-direction:column;gap:8px}.ai-plan-card-summary{font-size:12px;font-weight:600;color:var(--text)}.ai-plan-card-empty{font-size:11px;color:var(--text-muted)}.ai-plan-card-operations{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.ai-plan-op{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;font-size:11px;align-items:baseline}.ai-plan-op-badge{display:inline-block;padding:2px 6px;border-radius:999px;background:var(--bg-surface-alt, rgba(0, 0, 0, .06));color:var(--text);font-size:10px;font-weight:600;white-space:nowrap}.ai-plan-op-add_node .ai-plan-op-badge,.ai-plan-op-add_edge .ai-plan-op-badge{background:#22c55e29;color:#15803d}.ai-plan-op-update_node .ai-plan-op-badge{background:#3b82f629;color:#1d4ed8}.ai-plan-op-delete_node .ai-plan-op-badge,.ai-plan-op-delete_edge .ai-plan-op-badge{background:#ef444429;color:#b91c1c}.ai-plan-op-target{font-weight:500;color:var(--text);word-break:break-word}.ai-plan-op-rationale{grid-column:2;color:var(--text-muted);font-size:11px}.ai-plan-card-followups{font-size:11px;color:var(--text-muted)}.ai-plan-card-followups ul{margin:4px 0 0;padding-left:16px}.ai-plan-card-warnings{margin:0;padding-left:18px;font-size:11px;color:#b45309}.ai-plan-card-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}.ai-plan-applied-pill{display:inline-block;padding:4px 10px;border-radius:999px;background:#22c55e29;color:#15803d;font-size:11px;font-weight:600}.workflow-ai-panel-error{padding:8px 12px;margin:0 12px;border-radius:6px;background:#ef44441f;color:#b91c1c;font-size:11px}.workflow-ai-panel-input{border-top:1px solid var(--border);padding:10px 12px;display:flex;flex-direction:column;gap:8px;flex-shrink:0}.workflow-ai-panel-input textarea{width:100%;min-height:60px;max-height:200px;resize:vertical;font-family:inherit;font-size:12px;line-height:1.5;padding:8px 10px;border-radius:6px;border:1px solid var(--border);background:var(--bg-input, var(--bg-surface));color:var(--text);box-sizing:border-box}.workflow-ai-panel-input-actions{display:flex;align-items:center;justify-content:space-between}.workflow-ai-panel-input-hint{font-size:11px;color:var(--text-muted)}.config-panel{flex:1;min-height:0;overflow-y:auto;transition:flex .2s ease}.right-panel.node-selected .config-panel{flex:1}.config-panel-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:160px;gap:10px;color:var(--text-muted);font-size:12px;padding:20px;text-align:center}.config-panel-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--border)}.config-panel-header h3{font-size:12px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.config-node-type{font-size:10px;color:var(--accent);background:var(--accent-light);padding:2px 6px;border-radius:4px;font-weight:500}.config-panel-body{padding:12px 14px;display:flex;flex-direction:column;gap:12px}.edge-endpoint-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.edge-endpoint-row>div{min-width:0;padding:8px;border:1px solid var(--border);border-radius:6px;background:var(--bg-primary)}.edge-endpoint-row span{display:block;margin-bottom:4px;color:var(--text-muted);font-size:10px;font-weight:700;text-transform:uppercase}.edge-endpoint-row strong{display:block;overflow:hidden;color:var(--text-primary);font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.edge-validation{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--bg-primary)}.edge-validation p{margin:0;font-size:11px;line-height:1.4;color:var(--text-secondary)}.edge-validation-ok{border-color:#10b9818c;background:#10b98114}.edge-validation-warning{border-color:#f59e0b8c;background:#f59e0b14}.edge-validation-error{border-color:#ef44448c;background:#ef444414}.edge-mapping-list{display:flex;flex-direction:column;gap:8px}.edge-mapping-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:6px;padding:8px;border:1px solid var(--border);border-radius:6px;background:var(--bg-primary)}.edge-mapping-row select,.edge-mapping-row input[type=text]{min-width:0}.edge-required-toggle{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px;color:var(--text-secondary)!important;font-size:11px!important}.edge-required-toggle input{width:auto!important}.edge-mapping-remove{justify-self:start}.edge-empty-mapping{padding:10px;border:1px dashed var(--border);border-radius:6px;color:var(--text-muted);font-size:11px;text-align:center}.config-field{display:flex;flex-direction:column;gap:4px}.config-field label{font-size:11px;font-weight:500;color:var(--text-secondary);display:flex;align-items:center;justify-content:space-between}.config-hint{font-size:10px;color:var(--text-muted);font-weight:400}.config-value{font-size:11px;color:var(--accent);font-weight:600;font-family:monospace}.config-field input[type=text],.config-field input[type=url],.config-field input[type=password],.config-field input[type=number],.config-field select,.config-field textarea{background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);padding:7px 10px;font-size:12px;font-family:inherit;transition:border-color .15s ease;width:100%;resize:vertical}.config-field input:focus,.config-field select:focus,.config-field textarea:focus{outline:none;border-color:var(--accent)}.config-field input:disabled{opacity:.8;cursor:not-allowed}.config-field-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.config-field-header label{margin-bottom:0}.config-inline-action{padding:2px 8px;border:1px solid var(--border);border-radius:4px;background:transparent;color:var(--text-secondary);font-size:11px;line-height:1.6;cursor:pointer;transition:all .15s ease}.config-inline-action:hover{border-color:var(--accent);color:var(--accent)}.config-inline-action:disabled{opacity:.45;cursor:not-allowed}.config-inline-action:disabled:hover{border-color:var(--border);color:var(--text-secondary)}.input-slots-editor{padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg-primary)}.input-slot-list{display:flex;flex-direction:column;gap:8px}.input-slot-config{display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid var(--border);border-radius:6px;background:var(--bg-surface)}.input-slot-config-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.input-slot-key{min-width:0;overflow:hidden;color:var(--text-primary);font-family:monospace;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.input-slot-type{flex:0 0 auto;color:var(--accent);font-family:monospace;font-size:10px}.input-slot-config-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.input-slot-config-grid label,.input-slot-default{display:flex!important;flex-direction:column;align-items:stretch!important;gap:4px}.input-slot-toggle{justify-content:center!important;gap:6px!important;min-height:54px}.input-slot-toggle input{width:auto!important}.input-io-editor{display:grid;grid-template-columns:1fr;gap:12px}.input-io-editor.modal-layout{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.input-io-column{display:flex;min-width:0;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg-primary)}.input-io-column-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.input-io-column-header h4{margin:0;color:var(--text-primary);font-size:12px;font-weight:700}.input-transform-toggle{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px;color:var(--text-secondary)!important;font-size:11px!important}.input-transform-toggle input{width:auto!important}.input-io-textarea{flex:1;min-height:180px}.input-io-output{flex:1;min-height:180px;margin:0;overflow:auto;padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:var(--bg-surface);color:var(--text-primary);font-family:monospace;font-size:12px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.node-io-editor .input-slots-editor,.node-io-editor .runtime-input-preview{margin:0}.node-io-middle-column{overflow:hidden}.node-io-media-output{flex:1;min-height:180px;overflow:auto}.branch-handle-summary{display:flex;flex-wrap:wrap;gap:8px}.branch-handle-summary span{padding:4px 8px;border:1px solid var(--border);border-radius:999px;background:var(--bg-surface);color:var(--text-secondary);font-size:11px;font-weight:600}.python-assist-panel{padding:12px;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;background:var(--bg-primary)}.python-assist-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.python-assist-heading{display:flex;flex-direction:column;min-width:0;gap:2px}.python-assist-title{min-width:0;color:var(--text-primary);font-weight:600}.python-assist-meta{color:var(--text-muted);font-size:10px;line-height:1.4}.python-assist-toggle{flex:0 0 auto;padding:2px 8px;border:1px solid transparent;border-radius:4px;background:var(--accent-light);color:var(--accent);font:inherit;font-size:11px;font-weight:600;line-height:1.6;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.python-assist-toggle:hover{border-color:var(--accent);background:var(--bg-hover)}.python-assist-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.python-assist-action{padding:6px 12px;border:1px solid transparent;border-radius:4px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.python-assist-action:disabled{opacity:.65;cursor:wait}.python-assist-action-primary{background:var(--accent);color:#fff}.python-assist-action-primary:hover:not(:disabled){background:var(--accent-hover)}.python-assist-action-danger{border-color:#ef44446b;background:#ef44441f;color:var(--error)}.python-assist-action-danger:hover:not(:disabled){border-color:var(--error);background:#ef44442e}.python-assist-error{margin-top:6px;color:var(--error)!important}.python-assist-status{margin-top:6px}.python-script-summary{padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg-primary)}.python-script-preview{margin:0;max-height:180px;overflow:auto;padding:10px;border:1px solid var(--border);border-radius:6px;background:var(--bg-surface);color:var(--text-primary);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.python-script-preview.empty{color:var(--text-muted)}.modal.python-editor-modal{width:min(1040px,94vw);max-width:94vw;max-height:88vh}.modal-body.python-editor-body{display:grid;grid-template-columns:minmax(260px,.82fr) minmax(420px,1.18fr);gap:16px;min-height:min(560px,64vh)}.python-editor-assistant,.python-editor-script{min-width:0;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--border);border-radius:8px;background:var(--bg-primary)}.python-editor-section-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.python-editor-section-header h4{color:var(--text-primary);font-size:13px;font-weight:700}.python-editor-section-header span{color:var(--text-muted);font-size:11px}.python-editor-prompt,.python-editor-textarea{width:100%;border:1px solid var(--border);border-radius:6px;background:var(--bg-surface);color:var(--text-primary);font:inherit;font-size:12px;line-height:1.5;padding:10px;resize:vertical}.python-editor-prompt:focus,.python-editor-textarea:focus{outline:none;border-color:var(--accent)}.python-editor-prompt{min-height:132px}.python-editor-textarea{flex:1;min-height:420px;resize:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.python-editor-error-details{border:1px solid rgba(239,68,68,.3);border-radius:6px;background:#ef444414;color:var(--text-secondary);font-size:12px}.python-editor-error-details summary{padding:8px 10px;cursor:pointer}.python-editor-error-details pre{margin:0;max-height:160px;overflow:auto;padding:0 10px 10px;color:var(--error);white-space:pre-wrap;word-break:break-word}@media (max-width: 900px){.modal-body.python-editor-body{grid-template-columns:1fr;min-height:0}.python-editor-textarea{min-height:320px}}.config-option-list{display:flex;flex-direction:column;gap:6px}.config-option-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:6px;align-items:center}.config-field select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;padding-right:28px}.config-pill{display:inline-flex;align-items:center;margin-left:8px;padding:2px 6px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.config-pill-stable{background:#10b98124;color:var(--success)}.config-pill-preview{background:#f59e0b24;color:var(--warning)}.config-pill-saved{background:#3b82f624;color:var(--blue)}.config-subtext{margin-top:6px;font-size:11px;line-height:1.45;color:var(--text-secondary)}.config-alert-field{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.config-result-section{margin-top:4px;padding-top:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}.config-result-header{display:flex;align-items:center;justify-content:space-between}.config-result-label{font-size:11px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.config-result-surface{background:var(--bg-primary);border:1px solid var(--border);border-radius:8px;padding:10px;overflow:hidden}.config-result-text{margin:0;font-size:12px;line-height:1.5;color:var(--text-primary);white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto}.config-checkbox-label{display:flex!important;align-items:center;justify-content:flex-start!important;gap:8px;cursor:pointer;font-size:13px!important}.config-checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:#ec4899;cursor:pointer}.config-slider-field{gap:8px;padding:10px 12px;border:1px solid rgba(80,80,110,.72);border-radius:8px;background:#0f172a3d}.config-slider-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.config-slider-copy{display:flex;min-width:0;flex-direction:column;gap:3px}.config-slider-copy label{justify-content:flex-start;color:var(--text-primary);font-size:12px;font-weight:600}.config-slider-copy p{margin:0;color:var(--text-muted);font-size:11px;line-height:1.4}.config-slider-value{min-width:42px;padding:3px 8px;border:1px solid rgba(124,58,237,.28);border-radius:6px;background:#7c3aed1f;text-align:center}.config-range-wrap{position:relative;height:24px}.config-range-rail{position:absolute;left:0;right:0;top:50%;height:6px;border-radius:999px;background:#50506ed1;transform:translateY(-50%);overflow:hidden;pointer-events:none}.config-range-rail span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.config-range-scale{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;color:var(--text-muted);font-size:10px;line-height:1.2}.config-range-scale span:nth-child(2){text-align:center}.config-range-scale span:last-child{text-align:right}.config-delivery-field{padding:10px 12px;border:1px solid rgba(80,80,110,.72);border-radius:8px;background:#0f172a3d}.config-switch-label{position:relative;display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;gap:10px;cursor:pointer}.config-switch-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.config-switch-control{position:relative;width:40px;height:22px;flex:0 0 40px;margin-top:1px;border:1px solid var(--border-light);border-radius:999px;background:var(--bg-primary);transition:border-color .15s ease,background .15s ease}.config-switch-control span{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--text-muted);transition:transform .15s ease,background .15s ease}.config-switch-input:checked+.config-switch-control{border-color:#10b981a6;background:#10b98133}.config-switch-input:checked+.config-switch-control span{transform:translate(18px);background:var(--success)}.config-switch-input:focus-visible+.config-switch-control{outline:2px solid rgba(124,58,237,.65);outline-offset:2px}.config-switch-content{display:flex;min-width:0;flex-direction:column;gap:3px}.config-switch-title{color:var(--text-primary);font-size:12px;font-weight:600;line-height:1.3}.config-switch-description{color:var(--text-muted);font-size:11px;font-weight:400;line-height:1.45}.node-required-mark{color:#ef4444;font-weight:700;margin-left:4px}.config-image-grid{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.config-image-item{position:relative;width:56px;height:56px}.config-image-thumb{width:56px;height:56px;object-fit:cover;border-radius:6px;border:1px solid var(--border);display:block}.config-image-index{position:absolute;bottom:-3px;left:-3px;width:16px;height:16px;border-radius:50%;background:#0ea5e9;color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center;z-index:1}.config-image-remove{position:absolute;top:-4px;right:-4px;width:18px;height:18px;border-radius:50%;background:var(--error);border:none;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s ease}.config-image-item:hover .config-image-remove{opacity:1}.config-upload-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:7px 0;background:transparent;border:1px dashed var(--border);border-radius:6px;color:var(--text-muted);font-size:12px;cursor:pointer;transition:all .15s ease}.config-upload-btn:hover{border-color:var(--accent);color:var(--accent)}.config-upload-btn:disabled{opacity:.55;cursor:not-allowed}.config-credential-create{display:flex;flex-direction:column;gap:6px;margin-top:8px}.config-error-text{color:var(--error)}.config-warning-text{color:var(--warning)}.config-json-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.config-json-copy{font-size:11px;padding:2px 8px;border:1px solid var(--border);border-radius:4px;background:transparent;color:var(--text-secondary);cursor:pointer;transition:all .12s ease}.config-json-copy:hover{border-color:var(--accent);color:var(--accent)}.config-json-status{color:var(--success);font-size:10px;font-weight:700;text-transform:uppercase}.config-json-status.invalid{color:var(--error)}.config-json-editor{width:100%;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);padding:10px 12px;font-size:12px;font-family:monospace;line-height:1.5;resize:vertical;transition:border-color .15s ease}.config-json-editor:focus{outline:none;border-color:var(--accent)}.config-field input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;z-index:1;background:transparent;border:none;padding:0;width:100%;height:24px}.config-field input[type=range]::-webkit-slider-track{height:6px;background:transparent;border-radius:3px}.config-field input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:var(--accent);cursor:pointer;margin-top:-6px;border:2px solid var(--bg-surface);box-shadow:0 0 4px #6366f180}.config-field input[type=range]::-moz-range-track{height:6px;background:transparent;border-radius:3px;border:none}.config-field input[type=range]::-moz-range-progress{height:6px;background:transparent;border-radius:3px}.config-field input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--accent);cursor:pointer;border:2px solid var(--bg-surface);box-shadow:0 0 4px #6366f180}.media-result-text{white-space:pre-wrap;word-break:break-word}.media-result{display:flex;flex-direction:column;gap:8px}.media-result.compact{gap:6px}.media-result-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--text-secondary)}.media-result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.media-result.compact .media-result-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px}.media-result-link{display:block;text-decoration:none}.media-result-image,.media-result-video{width:100%;display:block;border-radius:6px;border:1px solid var(--border);background:var(--bg-primary)}.media-result-video-wrap{display:flex;flex-direction:column;gap:6px}.media-result-download{font-size:11px;color:var(--accent);text-decoration:none}.media-result-download:hover{text-decoration:underline}.execution-node-results{padding:12px 14px}.node-result-item{background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;padding:8px 10px;margin-bottom:6px;border-left:3px solid}.node-result-item.success{border-left-color:var(--success)}.node-result-item.error{border-left-color:var(--error)}.node-result-item.pending{border-left-color:var(--border-light);opacity:.5}.node-result-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.node-result-label{font-size:11px;font-weight:600;color:var(--text-primary)}.node-result-seq{font-size:9px;font-weight:500;color:var(--text-muted);margin-left:4px}.node-result-status{font-size:10px;font-weight:600;padding:1px 6px;border-radius:3px}.node-result-status.success{background:#10b98126;color:var(--success)}.node-result-status.error{background:#ef444426;color:var(--error)}.node-result-status.pending{background:#5a5a7a26;color:var(--text-muted)}.node-result-meta-row{display:flex;align-items:center;gap:6px}.node-result-duration{font-size:9px;color:var(--text-muted)}.node-result-item.clickable{cursor:pointer;transition:background .12s ease}.node-result-item.clickable:hover{background:var(--bg-hover)}.node-result-output{font-size:11px;color:var(--text-secondary);line-height:1.4;white-space:pre-wrap;word-break:break-word;max-height:80px;overflow:hidden}.node-result-error{font-size:11px;color:var(--error);line-height:1.4;margin-top:4px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);display:flex;align-items:center;justify-content:center;z-index:1000}.result-detail-modal{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;width:90%;max-width:640px;max-height:80vh;overflow-y:auto;box-shadow:0 20px 60px #0006}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-title{display:flex;align-items:center;gap:8px}.modal-title h3{font-size:15px;font-weight:600;color:var(--text-primary)}.modal-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.modal-status-dot.success{background:var(--success)}.modal-status-dot.error{background:var(--error)}.modal-seq{font-size:12px;color:var(--text-muted)}.modal-close{background:transparent;border:none;color:var(--text-muted);cursor:pointer;padding:4px;border-radius:4px;transition:all .12s ease}.modal-close:hover{color:var(--text-primary);background:var(--bg-hover)}.modal-meta{display:flex;flex-wrap:wrap;gap:6px;padding:12px 20px;border-bottom:1px solid var(--border)}.modal-tag{font-size:11px;padding:3px 8px;border-radius:4px;background:var(--bg-primary);color:var(--text-secondary);font-weight:500}.modal-tag.tag-success{background:#10b9811f;color:var(--success)}.modal-tag.tag-error{background:#ef44441f;color:var(--error)}.modal-section{padding:14px 20px;border-bottom:1px solid var(--border)}.modal-section:last-child{border-bottom:none}.modal-section h4{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}.modal-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.modal-section-header h4{margin-bottom:0}.modal-copy-btn{font-size:11px;padding:3px 10px;border:1px solid var(--border);border-radius:4px;background:transparent;color:var(--text-secondary);cursor:pointer;transition:all .12s ease}.modal-copy-btn:hover{border-color:var(--accent);color:var(--accent)}.modal-usage{display:flex;gap:16px}.usage-item{display:flex;flex-direction:column;gap:2px}.usage-label{font-size:10px;color:var(--text-muted)}.usage-value{font-size:16px;font-weight:600;color:var(--text-primary)}.modal-error-body{font-size:13px;color:var(--error);line-height:1.5;white-space:pre-wrap}.modal-output-body{max-height:400px;overflow-y:auto}.modal-output-text{font-size:13px;color:var(--text-primary);line-height:1.6;white-space:pre-wrap;word-break:break-word;margin:0;font-family:inherit}.fullview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--bg-primary);z-index:900;display:flex;flex-direction:column}.fullview-container{display:flex;flex-direction:column;height:100%}.fullview-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid var(--border);background:var(--bg-surface);flex-shrink:0}.fullview-title{display:flex;align-items:center;gap:10px}.fullview-title h2{font-size:16px;font-weight:600;color:var(--text-primary)}.fullview-count{font-size:12px;color:var(--text-muted);font-weight:500}.fullview-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:1px solid var(--border);border-radius:6px;color:var(--text-muted);cursor:pointer;transition:all .12s ease}.fullview-close:hover{border-color:var(--text-secondary);color:var(--text-primary)}.fullview-body{flex:1;overflow-y:auto;padding:20px 24px;max-width:800px;width:100%;margin:0 auto}.fullview-final{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--border)}.fullview-final h3{font-size:12px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px}.fullview-final-item{background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;padding:14px 16px;margin-bottom:8px}.fullview-final-label{font-size:12px;font-weight:600;color:var(--text-secondary);margin-bottom:8px}.fullview-final-value{font-size:13px;color:var(--text-primary);line-height:1.6;white-space:pre-wrap;word-break:break-word}.fullview-results .node-result-item{margin-bottom:8px}.fullview-results .node-result-output{max-height:120px}.apikey-modal{max-width:560px;width:90%}.apikey-body{padding:16px 20px}.apikey-create{display:flex;gap:8px;margin-bottom:16px}.providerkey-create{display:grid;grid-template-columns:120px minmax(0,1fr) minmax(0,1.3fr) auto;gap:8px;align-items:center}.apikey-name-input{flex:1;padding:8px 12px;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-size:13px}.apikey-name-input:focus{outline:none;border-color:var(--accent)}.apikey-name-input::placeholder{color:var(--text-muted)}.apikey-create-btn{white-space:nowrap;padding:8px 16px;font-size:13px}.apikey-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.apikey-empty{text-align:center;color:var(--text-muted);font-size:13px;padding:20px}.apikey-item{display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;padding:10px 12px}.apikey-item-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.apikey-item-name{font-size:12px;font-weight:600;color:var(--text-primary)}.apikey-item-key{font-size:11px;color:var(--text-muted);font-family:monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.apikey-item-actions{display:flex;gap:6px;flex-shrink:0}.providerkey-item{align-items:flex-start}.providerkey-title{display:flex;align-items:center;gap:8px;min-width:0}.providerkey-badge{flex-shrink:0;padding:2px 6px;border-radius:4px;background:#3b82f61f;color:var(--blue);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.providerkey-meta{font-size:11px;color:var(--text-muted)}.providerkey-edit{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1fr) auto;gap:8px;align-items:center;flex:1.4}.apikey-copy-btn,.apikey-delete-btn{font-size:11px;padding:4px 10px;border-radius:4px;border:1px solid var(--border);background:transparent;cursor:pointer;transition:all .12s ease}.apikey-copy-btn{color:var(--text-secondary)}.apikey-copy-btn:hover{border-color:var(--accent);color:var(--accent)}.apikey-delete-btn{color:var(--text-muted)}.apikey-delete-btn:hover{border-color:var(--error);color:var(--error)}.apikey-usage{border-top:1px solid var(--border);padding-top:14px}.apikey-usage h4{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px}.apikey-usage-code{font-size:11px;font-family:monospace;color:var(--text-secondary);background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;padding:12px;white-space:pre-wrap;word-break:break-all;line-height:1.5;margin:0}@media (max-width: 720px){.apikey-create,.providerkey-create,.apikey-item,.providerkey-edit{display:flex;flex-direction:column;align-items:stretch}.apikey-item-actions{justify-content:flex-start}.user-select{flex:1}}.alert-email-modal{max-width:480px;width:90%}.alert-email-body{padding:16px 20px}.alert-email-desc{font-size:13px;color:var(--text-secondary);line-height:1.5;margin-bottom:16px}.alert-email-add{display:flex;gap:8px;margin-bottom:16px}.alert-email-input{flex:1;padding:8px 12px;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-size:13px}.alert-email-input:focus{outline:none;border-color:var(--accent)}.alert-email-input::placeholder{color:var(--text-muted)}.alert-email-add-btn{white-space:nowrap;padding:8px 16px;font-size:13px}.alert-email-list{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.alert-email-empty{text-align:center;color:var(--text-muted);font-size:13px;padding:20px}.alert-email-item{display:flex;align-items:center;gap:10px;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;padding:10px 12px;color:var(--text-secondary)}.alert-email-addr{flex:1;font-size:13px;color:var(--text-primary)}.alert-email-remove{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:var(--text-muted);border-radius:4px;cursor:pointer;transition:all .12s ease;flex-shrink:0}.alert-email-remove:hover{background:#ff32321a;color:var(--error)}.alert-email-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:12px;border-top:1px solid var(--border)}.alert-email-status{font-size:12px}.alert-email-status-success{color:var(--success, #10b981)}.alert-email-status-error{color:var(--error)}.workflow-list{background:var(--bg-surface);border-top:1px solid var(--border);min-height:64px;max-height:120px}.workflow-list-header{display:flex;align-items:center;justify-content:space-between;padding:6px 14px;border-bottom:1px solid var(--border)}.workflow-list-header h3{font-size:11px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.workflow-list-items{display:flex;gap:6px;padding:8px 14px;overflow-x:auto;overflow-y:hidden}.workflow-list-items::-webkit-scrollbar{height:4px}.workflow-list-items::-webkit-scrollbar-track{background:transparent}.workflow-list-items::-webkit-scrollbar-thumb{background:var(--border);border-radius:2px}.workflow-list-empty{font-size:12px;color:var(--text-muted);padding:4px 0}.workflow-list-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--border);border-radius:6px;cursor:pointer;transition:all .15s ease;white-space:nowrap;flex-shrink:0}.workflow-list-item:hover{background:var(--bg-hover);border-color:var(--border-light)}.workflow-list-item.active{border-color:var(--accent);background:var(--accent-light)}.workflow-item-info{display:flex;flex-direction:column;gap:1px}.workflow-item-name{font-size:12px;font-weight:500;color:var(--text-primary)}.workflow-item-date{font-size:10px;color:var(--text-muted)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);display:flex;align-items:center;justify-content:center;z-index:100;animation:fadeIn .15s ease}.modal{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;width:480px;max-width:90vw;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0006}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--border)}.modal-header h3{font-size:15px;font-weight:600;color:var(--text-primary)}.modal-body{padding:18px;overflow-y:auto;display:flex;flex-direction:column;gap:14px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid var(--border)}.node-detail-overlay{padding:24px}.node-detail-modal{width:min(1180px,94vw);max-width:94vw;max-height:86vh}.node-detail-modal-header{flex-shrink:0}.node-detail-actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.node-detail-title{display:flex;min-width:0;flex-direction:column;gap:3px}.node-detail-title h3{max-width:min(560px,68vw);overflow:hidden;color:var(--text-primary);font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.node-detail-title span{overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.node-detail-modal-body{flex:1;min-height:0;gap:0;overflow:hidden;padding:0}.node-detail-modal .config-panel{flex:1;min-height:0;overflow-y:auto}.node-detail-modal .config-panel-header{position:sticky;top:0;z-index:1;background:var(--bg-surface)}@media (max-width: 640px){.node-detail-overlay{padding:12px}.node-detail-modal{width:94vw;max-height:88vh}}@media (max-width: 980px){.input-io-editor.modal-layout{grid-template-columns:1fr}}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--border-light)}::selection{background:var(--accent);color:#fff}.react-flow__attribution{display:none!important}.react-flow__node{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;border-radius:0!important;cursor:pointer}.react-flow__node.selected{background:transparent!important;box-shadow:none!important;cursor:grab}.react-flow__handle.connecting{background:var(--accent)!important}.react-flow__connection-line{stroke:var(--accent)!important}.header-user{display:flex;align-items:center;gap:8px;margin-left:6px;padding-left:12px;border-left:1px solid var(--border)}.theme-color-picker{display:inline-flex;align-items:center;gap:6px;margin-left:2px;padding:4px 0 4px 10px;border-left:1px solid var(--border)}.theme-color-swatch{width:18px;height:18px;flex:0 0 18px;border:2px solid var(--swatch-border);border-radius:999px;background:linear-gradient(135deg,var(--swatch-bg) 0 49%,var(--swatch-surface) 50% 100%);cursor:pointer;transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}.theme-color-swatch:hover,.theme-color-swatch:focus-visible{border-color:var(--text-primary);transform:translateY(-1px)}.theme-color-swatch:focus-visible{outline:none}.theme-color-swatch.selected{border-color:var(--text-primary);box-shadow:0 0 0 2px var(--bg-surface),0 0 0 4px var(--accent)}.header-username{font-size:12px;color:var(--text-secondary);font-weight:500}.btn-ghost{background:transparent;border:none;color:var(--text-muted);font-size:11px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .15s ease}.btn-ghost:hover{color:var(--text-primary);background:var(--bg-hover)}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:var(--bg-primary)}.login-card{width:100%;max-width:380px;padding:40px 32px}.login-header{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:36px}.login-header h1{font-size:18px;font-weight:600;color:var(--text-primary)}.login-form h2{font-size:22px;font-weight:600;color:var(--text-primary);margin-bottom:20px}.login-copy{font-size:14px;line-height:1.6;color:var(--text-secondary);margin-bottom:20px}.login-error{background:#ef44441f;color:var(--error);padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:16px}.login-body{display:flex;flex-direction:column;gap:14px}.google-login-slot{min-height:44px;display:flex;justify-content:center}.login-note{font-size:13px;line-height:1.6;color:var(--text-muted);text-align:center}.login-field{margin-bottom:16px}.login-field label{display:block;font-size:13px;font-weight:500;color:var(--text-secondary);margin-bottom:6px}.login-field input{width:100%;padding:10px 14px;background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;color:var(--text-primary);font-size:14px;transition:border-color .15s ease}.login-password-wrapper{position:relative}.login-password-wrapper input{padding-right:42px}.login-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:none;background:transparent;color:var(--text-muted);border-radius:4px;cursor:pointer;transition:color .15s ease}.login-password-toggle:hover{color:var(--text-primary)}.login-field input:focus{outline:none;border-color:var(--accent)}.login-field input::placeholder{color:var(--text-muted)}.login-submit{width:100%;padding:11px 0;margin-top:8px;background:var(--accent);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s ease}.login-submit:hover{background:var(--accent-hover)}.login-submit:disabled{opacity:.6;cursor:not-allowed}.login-toggle{display:block;width:100%;margin-top:14px;background:none;border:none;color:var(--text-muted);font-size:13px;cursor:pointer;transition:color .15s ease}.login-toggle:hover{color:var(--accent)}.user-detail-page{min-height:100vh;background:var(--bg-primary);color:var(--text-primary)}.user-detail-header{display:flex;align-items:center;gap:16px;padding:16px 24px;border-bottom:1px solid var(--border);background:var(--bg-surface)}.user-detail-header h2{font-size:16px;font-weight:500}.user-detail-tabs{display:flex;gap:0;padding:0 24px;border-bottom:1px solid var(--border);background:var(--bg-surface)}.user-detail-tab{padding:12px 20px;background:none;border:none;border-bottom:2px solid transparent;color:var(--text-secondary);font-size:14px;cursor:pointer;transition:color .15s,border-color .15s}.user-detail-tab:hover{color:var(--text-primary)}.user-detail-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.user-detail-content{max-width:800px;margin:0 auto;padding:24px}.user-section{display:flex;flex-direction:column;gap:20px}.user-subsection{display:flex;flex-direction:column;gap:14px;padding-bottom:22px;border-bottom:1px solid var(--border)}.user-subsection:last-child{border-bottom:none}.user-subsection-header h3{margin:0 0 4px;font-size:15px;font-weight:650;color:var(--text-primary)}.user-subsection-header p{margin:0;font-size:12px;line-height:1.4;color:var(--text-muted)}.user-section-group{display:flex;flex-direction:column;gap:6px}.user-section-label{font-size:13px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.user-section-value{font-size:15px;color:var(--text-primary);padding:10px 14px;background:var(--bg-surface);border-radius:8px;border:1px solid var(--border)}.user-section-desc{font-size:13px;color:var(--text-muted)}.alert-email-input-row{display:flex;gap:8px}.user-input{flex:1;padding:8px 12px;background:var(--bg-surface);border:1px solid var(--border);border-radius:6px;color:var(--text-primary);font-size:14px;outline:none;transition:border-color .15s}.user-input:focus{border-color:var(--accent)}.user-select{flex:0 0 120px}.user-error{color:var(--error);font-size:12px;line-height:1.4;padding:8px 10px;border:1px solid rgba(239,68,68,.28);border-radius:6px;background:#ef444414}.btn-sm{padding:6px 14px;font-size:13px}.btn-danger-text{color:var(--error)}.btn-danger-text:hover{color:#dc2626}.user-empty{text-align:center;padding:40px 0;color:var(--text-muted);font-size:14px}.job-table{width:100%;border-collapse:collapse;font-size:14px}.job-table th{text-align:left;padding:10px 14px;font-size:12px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border)}.job-table td{padding:12px 14px;border-bottom:1px solid var(--border)}.job-table tbody tr:hover{background:var(--bg-hover)}.job-status{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:500}.job-status-completed{background:#10b98126;color:var(--success)}.job-status-failed{background:#ef444426;color:var(--error)}.job-status-timed_out{background:#f59e0b26;color:var(--warning)}.job-status-cancelled{background:#78789826;color:var(--text-muted)}.job-status-running{background:#3b82f626;color:var(--blue)}.job-status-pending{background:#f59e0b26;color:var(--warning)}.job-wf-id{font-size:13px;color:var(--text-secondary);background:var(--bg-surface);padding:2px 6px;border-radius:4px}.job-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px 0}.job-page-info{font-size:13px;color:var(--text-secondary)}.job-row-clickable{cursor:pointer}.job-row-clickable:hover{background:var(--bg-hover)}.job-expand-icon{transition:transform .15s;color:var(--text-muted)}.job-expand-icon.expanded{transform:rotate(90deg)}.job-detail-row td{padding:0!important;border-bottom:1px solid var(--border)}.job-detail-loading{padding:16px 20px;color:var(--text-muted);font-size:13px}.node-results{display:flex;flex-direction:column;padding:8px 16px 12px 32px;gap:4px}.node-result-item{display:flex;align-items:center;gap:10px;padding:6px 10px;border-radius:6px;font-size:13px}.node-result-item:hover{background:var(--bg-hover)}.node-result-status{width:16px;text-align:center;flex-shrink:0}.node-result-success .node-result-status{color:var(--success)}.node-result-error .node-result-status{color:var(--error)}.node-result-label{font-weight:500;color:var(--text-primary);min-width:80px}.node-result-type{color:var(--text-muted);font-size:12px;min-width:60px}.node-result-meta{color:var(--text-secondary);font-size:12px;background:var(--bg-primary);padding:1px 6px;border-radius:4px}.node-result-duration{color:var(--text-secondary);font-size:12px;margin-left:auto}.node-result-error{color:var(--error);font-size:12px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.usage-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.usage-card{padding:20px;background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;text-align:center}.usage-card-value{font-size:28px;font-weight:700;color:var(--text-primary);margin-bottom:4px}.usage-card-label{font-size:13px;color:var(--text-secondary)}.wf-list-page{display:flex;flex-direction:column;height:100vh;background:var(--bg-primary);color:var(--text-primary)}.wf-list-page-header{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 24px;border-bottom:1px solid var(--border);background:var(--bg-panel)}.wf-list-page-body{display:flex;flex:1;min-height:0;overflow:hidden}.wf-list-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.wf-list-page-toolbar h2{font-size:22px;font-weight:700;line-height:1.2}.wf-toolbar-heading{display:flex;flex-direction:column;gap:4px;min-width:0}.wf-toolbar-label{color:#5eead4;font-size:12px;font-weight:700}.wf-toolbar-count{display:inline-flex;align-items:center;height:28px;padding:0 10px;border:1px solid rgba(94,234,212,.28);border-radius:999px;background:#5eead414;color:#bffbf2;font-size:12px;font-weight:700;white-space:nowrap}.wf-list-page-actions{display:flex;gap:8px}.wf-list-empty{text-align:center;padding:80px 0;color:var(--text-muted);font-size:15px;line-height:1.8}.wf-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:14px;align-items:stretch}.wf-card{display:flex;flex-direction:column;min-height:172px;padding:16px;background:var(--bg-surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 14px 32px var(--shadow);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s}.wf-card:hover{border-color:#5eead48a;background:var(--bg-elevated);box-shadow:0 18px 40px var(--shadow);transform:translateY(-1px)}.wf-folder-card{border-color:#fbbf2452}.wf-folder-card:hover{border-color:#fbbf249e}.wf-folder-card.can-drop{border-style:dashed}.wf-folder-card.drag-over{border-color:#fbbf24eb;background:var(--bg-elevated);box-shadow:0 0 0 2px #fbbf2438,0 18px 40px var(--shadow);transform:translateY(-1px)}.wf-workflow-card{cursor:grab}.wf-workflow-card:active{cursor:grabbing}.wf-workflow-card.dragging{opacity:.54;border-color:#5eead4ad}.wf-workflow-card.moving{opacity:.58;pointer-events:none}.wf-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:38px}.wf-card-title-group{display:flex;align-items:flex-start;gap:11px;min-width:0}.wf-card-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(94,234,212,.28);border-radius:8px;background:#5eead41a;color:#5eead4}.wf-folder-icon{border-color:#fbbf2457;background:#fbbf241a;color:#fbbf24}.wf-card-name{display:-webkit-box;min-height:42px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:15px;font-weight:600;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}.wf-card-desc{display:-webkit-box;min-height:40px;margin-top:10px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;color:var(--text-secondary);line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}.wf-card-desc.is-empty{color:var(--text-muted)}.wf-card-deployment{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:24px;margin-top:10px}.wf-deployment-badge,.wf-deployment-node-count{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.wf-deployment-badge.published{border:1px solid rgba(16,185,129,.36);background:#10b98124;color:var(--success)}.wf-deployment-badge.published.dirty{border-color:#f59e0b6b;background:#f59e0b21;color:var(--warning)}.wf-deployment-badge.unpublished{border:1px solid rgba(148,163,184,.24);background:#94a3b81a;color:var(--text-muted)}.wf-deployment-node-count{background:var(--bg-elevated);color:var(--text-secondary)}.wf-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:25px;margin-top:auto;padding-top:12px;border-top:1px solid var(--border);font-size:12px;color:var(--text-muted)}.wf-card-node-count{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;background:var(--bg-elevated);color:var(--text-secondary);font-size:11px;white-space:nowrap}.wf-card-date{margin-left:auto;white-space:nowrap}.wf-card-nodes{background:var(--bg-primary);padding:2px 8px;border-radius:8px}.collection-sidebar{position:relative;width:220px;min-width:140px;max-width:480px;background:var(--bg-surface);border-right:1px solid var(--border);display:flex;flex-direction:column;overflow-y:auto}.sidebar-resize-handle{position:absolute;top:0;right:-3px;width:6px;height:100%;cursor:col-resize;z-index:10}.sidebar-resize-handle:after{content:"";position:absolute;top:0;left:2px;width:2px;height:100%;border-radius:1px;transition:background .15s}.sidebar-resize-handle:hover:after,.sidebar-resize-handle.dragging:after{background:var(--accent)}.sidebar-resize-handle.left{right:auto;left:-3px}.sidebar-resize-handle.left:after{left:2px}.collection-sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 12px}.collection-sidebar-header h3{font-size:13px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.collection-nav{display:flex;flex-direction:column;padding:0 8px 16px;gap:2px}.collection-nav-item{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border-radius:6px;border:none;background:none;color:var(--text-secondary);font-size:13px;cursor:pointer;transition:background .12s,color .12s;text-align:left;position:relative}.collection-nav-item>svg{flex-shrink:0}.collection-nav-item:hover{background:var(--bg-hover);color:var(--text-primary)}.collection-nav-item.active{background:var(--accent-light);color:var(--accent);font-weight:500}.collection-nav-item .collection-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.collection-count{font-size:11px;color:var(--text-muted);min-width:18px;text-align:right}.collection-nav-item.active .collection-count{color:var(--accent);opacity:.7}.collection-icon-wrap{position:relative;width:16px;height:16px;flex-shrink:0}.collection-icon-wrap>svg{display:block}.collection-icon-wrap .collection-toggle{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;opacity:0;background:var(--bg-surface);border-radius:3px;cursor:pointer;transition:opacity .12s}.collection-nav-item:hover .collection-icon-wrap .collection-toggle{opacity:1}.collection-nav-item.active .collection-icon-wrap .collection-toggle{background:var(--accent-light)}.collection-actions{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:flex;gap:2px;opacity:0;transition:opacity .12s}.collection-nav-item:hover .collection-actions{opacity:1}.collection-nav-item:hover .collection-count{visibility:hidden}.collection-actions .btn-icon{padding:2px}.collection-actions .btn-icon:hover{color:var(--accent)}.collection-actions .btn-collection-delete:hover{color:var(--error)}.collection-divider{height:1px;background:var(--border);margin:6px 10px}.collection-nav-item.editing{padding:4px}.collection-edit-input{width:100%;padding:5px 8px;border-radius:4px;border:1px solid var(--accent);background:var(--bg-elevated);color:var(--text-primary);font-size:13px;outline:none}.collection-badge{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;border-radius:6px;border:1px solid rgba(124,58,237,.2);background:#7c3aed1f;color:#cfc5ff;font-size:11px;cursor:pointer;transition:color .12s,background .12s,border-color .12s;max-width:136px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.collection-badge svg{flex-shrink:0}.collection-badge:hover{border-color:#7c3aed6b;background:#7c3aed33;color:var(--text-primary)}.move-modal{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;width:360px;max-height:70vh;display:flex;flex-direction:column;animation:fadeIn .15s ease}.move-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 0}.move-modal-header h3{font-size:15px;font-weight:600}.move-modal-workflow-name{padding:4px 20px 12px;font-size:12px;color:var(--text-muted);border-bottom:1px solid var(--border)}.move-modal-tree{flex:1;overflow-y:auto;padding:8px}.move-tree-item{display:flex;align-items:center;gap:6px;width:100%;padding:8px 12px;border-radius:6px;border:none;background:none;color:var(--text-secondary);font-size:13px;cursor:pointer;text-align:left;transition:background .12s,color .12s}.move-tree-item svg{flex-shrink:0}.move-tree-item:hover{background:var(--bg-hover);color:var(--text-primary)}.move-tree-item.active{background:var(--accent-light);color:var(--accent);font-weight:500}.move-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px;border-top:1px solid var(--border)}.wf-list-main{flex:1;min-width:0;overflow-y:auto;padding:28px 28px 40px;max-width:none}@keyframes job-spin-anim{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.job-spin{animation:job-spin-anim 1s linear infinite}.jhm-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--overlay);z-index:900;display:flex;align-items:center;justify-content:center}.jhm-container{background:var(--bg-surface);border:1px solid var(--border);border-radius:12px;width:96vw;max-width:1440px;height:90vh;max-height:920px;display:flex;flex-direction:column;box-shadow:0 20px 60px #0006;overflow:hidden}.jhm-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border);flex-shrink:0}.jhm-header-left{display:flex;align-items:center;gap:10px}.jhm-header-left h2{font-size:15px;font-weight:600;color:var(--text-primary)}.jhm-header-count{font-size:12px;color:var(--text-muted);font-weight:500}.jhm-header-right{display:flex;align-items:center;gap:8px}.jhm-refresh-btn,.jhm-close-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:none;border:1px solid var(--border);border-radius:6px;color:var(--text-secondary);cursor:pointer;transition:all .12s ease;outline:none}.jhm-refresh-btn:hover,.jhm-close-btn:hover{border-color:var(--border-light);color:var(--text-primary);background:var(--bg-hover)}.jhm-refresh-btn:disabled{opacity:.4;cursor:default}.jhm-body{display:flex;flex:1;min-height:0;overflow:hidden}.jhm-sidebar{width:300px;min-width:300px;border-right:1px solid var(--border);display:flex;flex-direction:column;overflow:hidden}.jhm-sidebar-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:8px;color:var(--text-muted);font-size:13px;padding:20px}.jhm-sidebar-error{padding:10px 14px;font-size:12px;color:var(--error);background:#ef444414}.jhm-job-list{flex:1;overflow-y:auto;padding:6px}.jhm-job-item{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;margin-bottom:2px;background:transparent;border:1px solid transparent;border-radius:8px;cursor:pointer;transition:all .12s ease;text-align:left;font-family:inherit;font-size:inherit;color:var(--text-primary);outline:none}.jhm-job-item:hover{background:var(--bg-hover)}.jhm-job-item.selected{background:var(--accent-light);border-color:var(--accent)}.jhm-job-icon{flex-shrink:0;display:flex}.jhm-job-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.jhm-job-date{font-size:12px;font-weight:500;color:var(--text-primary)}.jhm-job-meta{font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:6px}.jhm-job-source{font-size:10px;color:var(--text-muted);background:var(--bg-elevated);padding:0 4px;border-radius:3px}.jhm-job-badge{font-size:10px;font-weight:600;padding:2px 8px;border-radius:4px;flex-shrink:0}.jhm-job-badge.completed{background:#10b9811f;color:var(--success)}.jhm-job-badge.failed{background:#ef44441f;color:var(--error)}.jhm-job-badge.timed_out{background:#f59e0b1f;color:var(--warning)}.jhm-job-badge.cancelled{background:#7878981f;color:var(--text-muted)}.jhm-job-badge.running{background:#3b82f61f;color:var(--blue)}.jhm-job-badge.pending{background:#7878981f;color:var(--text-muted)}.jhm-pagination{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px;border-top:1px solid var(--border);flex-shrink:0}.jhm-page-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;width:26px;height:26px;background:var(--bg-elevated);border:1px solid var(--border);border-radius:4px;color:var(--text-secondary);cursor:pointer;transition:all .12s ease;outline:none}.jhm-page-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.jhm-page-btn:disabled{opacity:.3;cursor:default}.jhm-page-info{font-size:12px;color:var(--text-muted);font-weight:500;min-width:50px;text-align:center}.jhm-detail-area{flex:1;min-width:0;overflow:hidden;display:flex;flex-direction:column}.jhm-detail-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:10px;color:var(--text-muted);font-size:13px}.jhm-error-text{color:var(--error);font-size:13px}.jhm-loading-spinner{width:24px;height:24px;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:job-spin-anim .8s linear infinite}.jhm-detail{flex:1;overflow-y:auto;padding:0}.jhm-detail-summary{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;border-bottom:1px solid var(--border);background:var(--bg-elevated);gap:12px}.jhm-summary-left{display:flex;align-items:center;gap:20px;flex-wrap:wrap;flex:1;min-width:0}.jhm-summary-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.jhm-summary-item{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-secondary)}.jhm-summary-status{font-weight:600}.jhm-summary-status.completed{color:var(--success)}.jhm-summary-status.failed{color:var(--error)}.jhm-summary-status.timed_out{color:var(--warning)}.jhm-summary-status.cancelled{color:var(--text-muted)}.jhm-summary-status.running{color:var(--blue)}.jhm-summary-nodes{font-size:12px;color:var(--text-muted);background:var(--bg-primary);padding:2px 8px;border-radius:4px}.jhm-summary-pill{font-size:11px;font-weight:600;color:var(--text-secondary);background:var(--bg-primary);border:1px solid var(--border);padding:4px 8px;border-radius:999px}.jhm-summary-pill.success{color:var(--success);border-color:#10b98147;background:#10b98114}.jhm-summary-pill.error{color:var(--error);border-color:#ef44444d;background:#ef444414}.jhm-summary-pill.running{color:var(--blue);border-color:#3b82f647;background:#3b82f61a}.jhm-job-error{margin:12px 24px 0;padding:10px 14px;font-size:13px;color:var(--error);background:#ef444414;border-radius:6px}.jhm-workbench{display:grid;grid-template-columns:minmax(360px,1fr) minmax(360px,.92fr);gap:16px;align-items:start;padding:14px 24px 24px}.jhm-workbench-left,.jhm-workbench-right{min-width:0;display:flex;flex-direction:column;gap:12px}.jhm-workbench-right{position:sticky;top:0;max-height:calc(90vh - 154px);overflow-y:auto;padding-right:2px}.jhm-workbench .jhm-flow-guide,.jhm-workbench .jhm-trail,.jhm-workbench .jhm-live-empty{margin:0}.jhm-workbench-right .jhm-detail-panel{padding:0}.jhm-workbench-right .jhm-inspector{min-height:0}.jhm-flow-guide{margin:12px 24px 0;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:linear-gradient(135deg,#7c3aed1a,#0ea5e90d),var(--bg-primary)}.jhm-flow-guide-title{font-size:12px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.jhm-flow-guide-items{display:flex;flex-wrap:wrap;gap:8px}.jhm-flow-guide-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:600;border:1px solid transparent}.jhm-flow-guide-chip.input{color:#93c5fd;background:#3b82f624;border-color:#3b82f638}.jhm-flow-guide-chip.single{color:#fbbf24;background:#f59e0b24;border-color:#f59e0b38}.jhm-flow-guide-chip.replay{color:#c4b5fd;background:#7c3aed24;border-color:#7c3aed38}.jhm-flow-guide-chip.note{color:var(--text-secondary);background:#94a3b81a;border-color:#94a3b829}.jhm-flow-guide-chip.waiting{color:var(--text-muted);background:#94a3b81a;border-color:#94a3b829}.jhm-flow-guide-chip.running{color:#60a5fa;background:#3b82f61f;border-color:#3b82f638}.jhm-flow-guide-chip.result{color:var(--success);background:#10b9811f;border-color:#10b98133}.jhm-flow-guide-chip.error{color:var(--error);background:#ef44441f;border-color:#ef444433}.jhm-trail{margin:14px 24px 0;display:flex;flex-direction:column;gap:10px}.jhm-trail-header{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}.jhm-trail-title{font-size:13px;font-weight:700;color:var(--text-primary)}.jhm-trail-subtitle{font-size:11px;color:var(--text-muted)}.jhm-trail-list{display:flex;flex-direction:column;gap:8px}.jhm-trail-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:start;padding:12px 14px;border-radius:8px;border:1px solid var(--border);border-left:4px solid var(--border-light);background:var(--bg-primary);color:var(--text-primary);cursor:pointer;transition:all .15s ease;text-align:left}.jhm-trail-chip:hover{border-color:var(--border-light);background:var(--bg-elevated)}.jhm-trail-chip.selected{border-color:var(--accent);border-left-color:var(--accent);box-shadow:0 0 0 1px var(--accent-light)}.jhm-trail-chip.has-result{border-color:#14b8a66b;border-left-color:#14b8a6;background:linear-gradient(180deg,#14b8a61f,#14b8a60a),var(--bg-primary)}.jhm-trail-chip.has-result.selected{border-color:#14b8a6;border-left-color:#14b8a6;box-shadow:0 0 0 1px #14b8a63d}.jhm-trail-chip.success{border-left-color:var(--success)}.jhm-trail-chip.error{border-left-color:var(--error)}.jhm-trail-chip.running{border-color:#3b82f657;border-left-color:var(--blue);background:linear-gradient(180deg,#3b82f61a,#3b82f60a),var(--bg-primary)}.jhm-trail-chip.waiting,.jhm-trail-chip.idle{border-left-color:#94a3b842;opacity:.72}.jhm-trail-chip.skipped{border-left-color:var(--text-muted);opacity:.78}.jhm-trail-chip.has-result.error{border-color:#ef44445c;background:linear-gradient(180deg,#ef44441a,#ef44440a),var(--bg-primary)}.jhm-trail-chip-seq{display:flex;align-items:center;justify-content:center;width:36px;height:28px;border-radius:999px;border:1px solid var(--border);background:var(--bg-elevated);font-size:11px;font-weight:700;color:var(--text-secondary)}.jhm-trail-chip.success .jhm-trail-chip-seq,.jhm-trail-chip.has-result .jhm-trail-chip-seq{color:#2dd4bf;border-color:#14b8a64d;background:#14b8a61a}.jhm-trail-chip.error .jhm-trail-chip-seq{color:var(--error);border-color:#ef444442;background:#ef444414}.jhm-trail-chip.running .jhm-trail-chip-seq{color:#60a5fa;border-color:#3b82f652;background:#3b82f61a}.jhm-trail-chip.waiting .jhm-trail-chip-seq,.jhm-trail-chip.idle .jhm-trail-chip-seq{color:var(--text-muted);border-color:#94a3b829;background:#94a3b80f}.jhm-trail-chip.skipped .jhm-trail-chip-seq{color:var(--text-muted);border-color:#94a3b82e;background:#94a3b814}.jhm-trail-chip-body{min-width:0;display:flex;flex-direction:column;gap:6px}.jhm-trail-chip-main{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.jhm-trail-chip-badges{flex-shrink:0;display:inline-flex;align-items:center;gap:6px}.jhm-trail-chip-label{font-size:13px;font-weight:600;color:var(--text-primary);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jhm-trail-status{flex-shrink:0;font-size:10px;font-weight:700;padding:3px 8px;border-radius:999px;color:var(--text-secondary);background:#94a3b814;border:1px solid rgba(148,163,184,.14)}.jhm-trail-status.success{color:var(--success);background:#10b9811a;border-color:#10b9812e}.jhm-trail-status.error{color:var(--error);background:#ef44441a;border-color:#ef44442e}.jhm-trail-status.running{color:#60a5fa;background:#3b82f61a;border-color:#3b82f633}.jhm-trail-status.waiting,.jhm-trail-status.idle,.jhm-trail-status.skipped{color:var(--text-muted);background:#94a3b814;border-color:#94a3b824}.jhm-trail-chip-summary{display:block;min-width:0;font-size:12px;line-height:1.45;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jhm-trail-chip-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--text-secondary)}.jhm-trail-chip-result{font-size:10px;font-weight:700;color:#2dd4bf;background:#14b8a629;border:1px solid rgba(20,184,166,.3);border-radius:999px;padding:3px 9px}.jhm-live-empty{margin:14px 24px 0;display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px dashed rgba(59,130,246,.32);border-radius:8px;background:#3b82f60f;color:var(--text-secondary)}.jhm-live-empty>div:last-child{display:flex;flex-direction:column;gap:3px}.jhm-live-empty strong{color:var(--text-primary);font-size:13px}.jhm-live-empty span{font-size:12px}.jhm-detail-panel{padding:16px 24px 24px}.jhm-inspector-panel{min-width:0;background:var(--bg-primary);border:1px solid var(--border);border-radius:14px;overflow:hidden}.jhm-inspector-status,.jhm-inspector-chip,.jhm-attempt-chip{font-size:10px;font-weight:700;padding:3px 8px;border-radius:999px;border:1px solid transparent}.jhm-inspector-status.success,.jhm-attempt-chip.success{color:var(--success);background:#10b9811f;border-color:#10b9812e}.jhm-inspector-status.error,.jhm-attempt-chip.error{color:var(--error);background:#ef44441f;border-color:#ef44442e}.jhm-inspector-status.running,.jhm-attempt-chip.running{color:#60a5fa;background:#3b82f61f;border-color:#3b82f633}.jhm-inspector-status.waiting,.jhm-attempt-chip.waiting,.jhm-inspector-status.skipped,.jhm-attempt-chip.skipped,.jhm-inspector-status.idle{color:var(--text-muted);background:#94a3b81a;border-color:#94a3b829}.jhm-inspector-chip{color:var(--text-secondary);background:#94a3b814;border-color:#94a3b824}.jhm-inspector-chip.result{color:var(--success);background:#10b9811a;border-color:#10b9812e}.jhm-inspector{display:flex;flex-direction:column;gap:14px;padding:18px;min-height:100%}.jhm-inspector-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.jhm-inspector-header-main{min-width:0}.jhm-inspector-eyebrow{font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}.jhm-inspector-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px}.jhm-inspector-title-row h3{font-size:18px;line-height:1.2;color:var(--text-primary)}.jhm-inspector-type{font-size:11px;font-weight:700;color:var(--jhm-node-accent);background:color-mix(in srgb,var(--jhm-node-accent) 14%,transparent);border:1px solid color-mix(in srgb,var(--jhm-node-accent) 24%,transparent);padding:4px 8px;border-radius:999px}.jhm-attempt-list{display:flex;gap:8px;flex-wrap:wrap}.jhm-attempt-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:#94a3b814;color:var(--text-secondary);border-color:#94a3b829}.jhm-attempt-chip.selected{border-color:var(--accent);color:var(--accent);background:var(--accent-light)}.jhm-inspector-summary{font-size:13px;line-height:1.55;color:var(--text-secondary);padding:12px 14px;border-radius:12px;border:1px solid rgba(124,58,237,.16);background:linear-gradient(180deg,#7c3aed14,#7c3aed08)}.jhm-inspector-meta{display:flex;gap:8px;flex-wrap:wrap}.jhm-inspector-empty{min-height:240px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--text-muted);font-size:13px;border:1px dashed var(--border);border-radius:12px;background:#94a3b80a;padding:20px}.jhm-flow-error{font-size:12px;color:var(--error);padding:8px 10px;background:#ef444414;border-radius:6px;margin-bottom:8px;word-break:break-word;line-height:1.5}.jhm-flow-io-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.jhm-flow-io-grid.split{grid-template-columns:minmax(0,1fr)}.jhm-flow-io{margin-top:8px;border-radius:8px;border:1px solid;border-left:3px solid;overflow:hidden}.jhm-io-label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.03em;padding:6px 12px}.jhm-io-content{padding:10px 12px}.jhm-io-input{border-color:#0ea5e940;border-left-color:#0ea5e9;background:#0ea5e90f}.jhm-io-input .jhm-io-label{color:#38bdf8;background:#0ea5e914}.jhm-io-output{border-color:#7c3aed40;border-left-color:#7c3aed;background:#7c3aed0f}.jhm-io-output .jhm-io-label{color:#a78bfa;background:#7c3aed14}.jhm-io-single{border-color:color-mix(in srgb,var(--jhm-io-accent, var(--orange)) 26%,transparent);border-left-color:var(--jhm-io-accent, var(--orange));background:color-mix(in srgb,var(--jhm-io-accent, var(--orange)) 7%,transparent)}.jhm-io-single .jhm-io-label{color:var(--jhm-io-accent, var(--orange));background:color-mix(in srgb,var(--jhm-io-accent, var(--orange)) 10%,transparent)}.jhm-flow-output-content{background:var(--bg-surface);border:1px solid var(--border);border-radius:6px;padding:10px 12px}.jhm-node-link{font-size:12px;color:var(--accent);word-break:break-all;text-decoration:none}.jhm-node-link:hover{text-decoration:underline}.jhm-link-list{display:flex;flex-direction:column;gap:6px}.jhm-node-text{font-size:13px;color:var(--text-primary);line-height:1.6;word-break:break-word;white-space:pre-wrap}.jhm-node-json{font-size:12px;color:var(--text-secondary);white-space:pre-wrap;word-break:break-word;font-family:SF Mono,Monaco,Menlo,Consolas,monospace;line-height:1.5;margin:0}.jhm-structured-value{display:flex;flex-direction:column;gap:10px}.jhm-input-images{font-size:11px;color:var(--text-muted);margin-top:4px}.jhm-image-preview{margin-top:4px}.jhm-preview-img{max-width:100%;max-height:300px;border-radius:6px;border:1px solid var(--border);object-fit:contain;background:var(--bg-primary);cursor:pointer;transition:opacity .12s}.jhm-preview-img:hover{opacity:.85}.jhm-image-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.jhm-image-thumb{display:block}.jhm-image-thumb .jhm-preview-img{max-height:160px}.jhm-io-content .media-result-grid,.jhm-flow-output-content .media-result-grid{gap:8px}.jhm-io-content .media-result-image,.jhm-flow-output-content .media-result-image,.jhm-io-content .media-result-video,.jhm-flow-output-content .media-result-video{max-height:240px;border-radius:6px}.jhm-expandable{position:relative}.jhm-expand-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;background:none;border:none;outline:none;color:var(--accent);font-family:inherit;font-size:11px;font-weight:600;padding:4px 0;margin-top:4px;cursor:pointer;transition:color .12s}.jhm-expand-btn:hover{color:var(--accent-hover)}.jhm-download-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:5px;background:none;border:1px solid var(--border);border-radius:6px;color:var(--text-secondary);font-family:inherit;font-size:12px;font-weight:600;padding:6px 12px;cursor:pointer;transition:all .12s ease;outline:none;white-space:nowrap;flex-shrink:0}.jhm-open-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:6px;background:var(--accent);border:1px solid var(--accent);border-radius:6px;color:#fff;font-family:inherit;font-size:12px;font-weight:700;padding:6px 12px;cursor:pointer;transition:all .12s ease;outline:none;white-space:nowrap;flex-shrink:0}.jhm-open-btn:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.jhm-fresh-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:6px;background:#0ea5e91f;border:1px solid rgba(14,165,233,.24);border-radius:6px;color:#7dd3fc;font-family:inherit;font-size:12px;font-weight:700;padding:6px 12px;cursor:pointer;transition:all .12s ease;outline:none;white-space:nowrap;flex-shrink:0}.jhm-fresh-btn:hover{background:#0ea5e92e;border-color:#0ea5e952}.jhm-delete-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;gap:6px;background:none;border:1px solid rgba(239,68,68,.24);border-radius:6px;color:var(--error);font-family:inherit;font-size:12px;font-weight:700;padding:6px 12px;cursor:pointer;transition:all .12s ease;outline:none;white-space:nowrap;flex-shrink:0}.jhm-delete-btn:hover:not(:disabled){background:#ef444414;border-color:#ef44445c}.jhm-delete-btn:disabled{opacity:.45;cursor:not-allowed}.jhm-download-btn:hover{border-color:var(--success);color:var(--success);background:#10b98114}@media (max-width: 960px){.jhm-container{width:98vw;height:92vh}.jhm-body{flex-direction:column}.jhm-sidebar{width:100%;min-width:0;max-height:240px;border-right:none;border-bottom:1px solid var(--border)}.jhm-detail-summary{flex-direction:column;align-items:flex-start}.jhm-workbench{grid-template-columns:minmax(0,1fr);padding:12px 16px 20px}.jhm-workbench-right{position:static;order:-1;max-height:none;overflow:visible;padding-right:0}.jhm-trail-header{align-items:flex-start}.jhm-flow-io-grid.split{grid-template-columns:minmax(0,1fr)}}.hist-page{display:flex;flex-direction:column;height:100vh;background:var(--bg-primary);color:var(--text-primary)}.hist-page-header{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 24px;border-bottom:1px solid var(--border);background:var(--bg-panel)}.hist-page-title{margin:0;font-size:18px;font-weight:600}.hist-page-count{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:#5eead414;border:1px solid rgba(94,234,212,.28);color:#bffbf2;font-size:12px;font-weight:600}.hist-page-toolbar{display:flex;align-items:center;gap:12px;padding:12px 24px;border-bottom:1px solid var(--border);background:var(--bg-surface)}.hist-filter{display:flex;align-items:center;gap:6px}.hist-filter label{font-size:12px;color:var(--text-muted)}.hist-filter select{padding:6px 10px;background:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border);border-radius:6px;font-size:13px}.hist-page-body{display:flex;flex:1;min-height:0;overflow:hidden}.hist-list-panel{display:flex;flex-direction:column;width:360px;min-width:280px;border-right:1px solid var(--border);background:var(--bg-surface)}.hist-list-empty,.hist-list-error,.hist-detail-empty{padding:24px;text-align:center;color:var(--text-muted);font-size:14px}.hist-list-error,.hist-error-text{color:var(--error)}.hist-job-list{flex:1;overflow-y:auto;padding:8px}.hist-job-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;margin-bottom:4px;background:transparent;color:var(--text-primary);border:1px solid transparent;border-radius:6px;text-align:left;cursor:pointer;transition:background .12s,border-color .12s}.hist-job-item:hover{background:var(--bg-hover)}.hist-job-item.selected{background:var(--accent-light);border-color:var(--accent)}.hist-job-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px}.hist-job-info{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.hist-job-name{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hist-job-deleted{color:var(--text-muted);font-style:italic;font-weight:400}.hist-job-meta{font-size:11px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hist-job-badge{flex-shrink:0;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;background:var(--bg-elevated);color:var(--text-muted)}.hist-job-badge.completed{background:#10b9812e;color:#6ee7b7}.hist-job-badge.failed,.hist-job-badge.timed_out{background:#ef44442e;color:#fca5a5}.hist-job-badge.running,.hist-job-badge.pending{background:#38bdf82e;color:#7dd3fc}.hist-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;border-top:1px solid var(--border)}.hist-page-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;color:var(--text-secondary);border:1px solid var(--border);border-radius:6px;cursor:pointer}.hist-page-btn:disabled{opacity:.4;cursor:not-allowed}.hist-page-info{font-size:12px;color:var(--text-muted)}.hist-detail-panel{flex:1;overflow-y:auto;background:var(--bg-primary)}.hist-detail{padding:24px}.hist-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.hist-detail-title{display:flex;flex-direction:column;gap:6px}.hist-detail-title h3{margin:0;font-size:18px;font-weight:600}.hist-detail-status{display:inline-flex;align-items:center;gap:6px}.hist-detail-status-label{font-size:12px;font-weight:600;color:var(--text-muted)}.hist-detail-status-label.completed{color:#6ee7b7}.hist-detail-status-label.failed,.hist-detail-status-label.timed_out{color:#fca5a5}.hist-detail-status-label.running,.hist-detail-status-label.pending{color:#7dd3fc}.hist-detail-actions{display:flex;gap:8px}.hist-detail-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:16px;font-size:12px;color:var(--text-muted)}.hist-detail-error{padding:12px 14px;margin-bottom:16px;background:#ef44441f;border:1px solid rgba(239,68,68,.36);border-radius:6px;color:#fca5a5;font-size:13px}.hist-detail-section{margin:18px 0 0}.hist-detail-section h4{margin:0 0 10px;font-size:13px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.hist-detail-empty-inline{padding:12px;color:var(--text-muted);font-size:13px}.hist-node-log .jhm-workbench{grid-template-columns:minmax(320px,.95fr) minmax(380px,1.05fr);gap:12px;padding:0}.hist-node-log .jhm-workbench-left,.hist-node-log .jhm-workbench-right{min-width:0}.hist-node-log .jhm-workbench-right{position:sticky;top:12px;max-height:calc(100vh - 210px)}.hist-node-log .jhm-detail-panel{padding:0}.hist-node-log .jhm-trail{margin:0}.hist-node-log .jhm-trail-header{align-items:center}.hist-node-log .jhm-trail-chip,.hist-node-log .jhm-inspector-panel,.hist-node-log .jhm-inspector-summary,.hist-node-log .jhm-inspector-empty{border-radius:8px}.hist-node-log .jhm-trail-chip,.hist-node-log .jhm-inspector-panel{background:var(--bg-surface)}.hist-node-log .jhm-inspector{padding:14px}.hist-node-log .jhm-inspector-title-row h3{font-size:16px}.hist-node-log .jhm-preview-img{max-height:220px}.workflow-version-modal{max-width:560px}.workflow-version-list{display:flex;flex-direction:column;gap:8px}.workflow-version-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg-surface);color:inherit;cursor:pointer;text-align:left;transition:background .15s ease,border-color .15s ease,transform .15s ease}.workflow-version-row:hover,.workflow-version-row:focus-visible{border-color:var(--border-light);background:var(--bg-hover)}.workflow-version-row:focus-visible{outline:none;transform:translateY(-1px)}.workflow-version-row div{display:flex;flex-direction:column;gap:3px;min-width:0}.workflow-version-row strong{color:var(--text-primary);font-size:13px}.workflow-version-row span{color:var(--text-muted);font-size:12px}.workflow-version-published{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:var(--accent-light);color:var(--accent)!important;font-weight:700}@media (max-width: 900px){.hist-node-log .jhm-workbench{grid-template-columns:minmax(0,1fr)}.hist-node-log .jhm-workbench-right{position:static;max-height:none}.hist-page-body{flex-direction:column}.hist-list-panel{width:100%;min-width:0;max-height:40vh;border-right:none;border-bottom:1px solid var(--border)}}
