.react-flow{--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:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--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:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--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:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--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 #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.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:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--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:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--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:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--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 #00000014;--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{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.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{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.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;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:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.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:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;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%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;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{z-index:5;margin:15px;position:absolute}.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{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.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{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.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{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;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));padding:10px;font-size:12px}.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{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.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-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.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))}:root{--bg:#0e0e10;--bg-dot:#2a2a2f;--panel:#1b1b1f;--panel-2:#232328;--panel-3:#2c2c32;--line:#303036;--line-strong:#44444c;--text:#ececf0;--text-2:#a7a7b0;--text-3:#6f6f78;--accent:#5b8cff;--accent-soft:#5b8cff29;--ok:#3ccf8e;--warn:#f2b84b;--err:#ff6b6b;--radius:12px;--radius-sm:8px;--shadow:0 12px 32px #00000073;--font:-apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:13px/1.5 var(--font);-webkit-font-smoothing:antialiased;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:not-allowed;opacity:.45}input,textarea,select{font:inherit;color:var(--text)}textarea{resize:none}:focus-visible{outline:2px solid var(--accent);outline-offset:1px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--panel-3);border-radius:4px}.btn{border-radius:var(--radius-sm);background:var(--panel-2);border:1px solid var(--line);white-space:nowrap;align-items:center;gap:6px;height:32px;padding:0 12px;display:inline-flex}.btn:hover:not(:disabled){background:var(--panel-3)}.btn.primary{background:var(--text);color:#111;border-color:#0000;font-weight:600}.btn.primary:hover:not(:disabled){background:#fff}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover:not(:disabled){background:var(--panel-2)}.btn.sm{height:26px;padding:0 8px;font-size:12px}.btn.danger{color:var(--err)}.icon-btn{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--text-2);place-items:center;display:inline-grid}.icon-btn:hover:not(:disabled),.icon-btn.on{background:var(--panel-3);color:var(--text)}.chip{background:var(--panel-2);border:1px solid var(--line);height:26px;color:var(--text-2);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:0 10px;font-size:12px;display:inline-flex}.chip:hover:not(:disabled){color:var(--text)}.chip.on{background:var(--accent-soft);border-color:var(--accent);color:var(--text)}.seg{border-radius:var(--radius-sm);background:var(--panel-2);border:1px solid var(--line);padding:2px;display:inline-flex}.seg button{height:24px;color:var(--text-2);border-radius:6px;padding:0 10px;font-size:12px}.seg button.on{background:var(--panel-3);color:var(--text)}.field-label{color:var(--text-3);margin-bottom:6px;font-size:12px}.input{border-radius:var(--radius-sm);background:var(--panel-2);border:1px solid var(--line);width:100%;height:32px;padding:0 10px}.input:focus{border-color:var(--line-strong);outline:none}.badge-soon{background:var(--panel-3);color:var(--text-3);border-radius:999px;padding:1px 6px;font-size:10px}.muted{color:var(--text-3)}.pop{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:6px}.menu-item{border-radius:var(--radius-sm);text-align:left;align-items:center;gap:10px;width:100%;padding:8px 10px;display:flex}.menu-item:hover:not(:disabled),.menu-item.active{background:var(--panel-2)}.menu-item .desc{color:var(--text-3);font-size:12px}.menu-sep{background:var(--line);height:1px;margin:6px 4px}.menu-title{color:var(--text-3);padding:6px 10px 4px;font-size:12px}.kbd{color:var(--text-3);margin-left:auto;font-size:11px}.modal-mask{z-index:100;background:#0000008c;place-items:center;display:grid;position:fixed;inset:0}.modal{background:var(--panel);border:1px solid var(--line);width:min(880px,100vw - 32px);max-height:calc(100vh - 64px);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;display:flex}.modal-head{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:16px 20px;font-size:15px;font-weight:600;display:flex}.modal-head .icon-btn{margin-left:auto}.modal-body{padding:16px 20px 20px;overflow:auto}.drawer{background:var(--panel);border:1px solid var(--line);width:340px;box-shadow:var(--shadow);z-index:40;border-radius:16px;flex-direction:column;display:flex;position:absolute;top:64px;bottom:16px}.drawer.left{left:16px}.drawer.right{right:16px}.drawer-head{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:14px 16px;font-weight:600;display:flex}.drawer-head .icon-btn{margin-left:auto}.drawer-body{flex:1;padding:12px 16px;overflow:auto}.thumb-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.thumb{aspect-ratio:9/16;border-radius:var(--radius-sm);background:var(--panel-2);border:1px solid var(--line);position:relative;overflow:hidden}.thumb img,.thumb video{object-fit:cover;width:100%;height:100%;display:block}.thumb .tag{background:#0009;border-radius:4px;padding:0 4px;font-size:10px;position:absolute;bottom:4px;left:4px}.thumb.pickable{cursor:pointer}.thumb.pickable:hover{border-color:var(--line-strong)}.thumb.picked{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.corner{z-index:30;align-items:center;gap:8px;display:flex;position:absolute}.bar{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);align-items:center;gap:2px;padding:4px;display:flex}.toasts{z-index:200;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;top:72px;left:50%;transform:translate(-50%)}.toast{border-radius:var(--radius-sm);background:var(--panel-2);border:1px solid var(--line);box-shadow:var(--shadow);padding:8px 14px}.toast.error{color:#ffd0d0;border-color:#ff6b6b80}.toast.success{border-color:#3ccf8e80}.hint{color:var(--text-2);align-items:flex-start;gap:6px;font-size:12px;display:flex}.hint.warn{color:var(--warn)}.hint.error{color:var(--err)}.react-flow{--xy-background-color:var(--bg);--xy-edge-stroke:#5a5a64;--xy-edge-stroke-selected:var(--accent);--xy-connectionline-stroke:var(--accent);--xy-minimap-background-color:var(--panel);--xy-minimap-mask-background-color:#00000080;--xy-selection-background-color:#5b8cff14;--xy-selection-border:1px solid var(--accent)}.react-flow__minimap{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.react-flow__attribution{display:none}.hand-tool .react-flow__pane{cursor:grab}.edges-hidden .react-flow__edges{opacity:0}.cnode{position:relative}.cnode-title{height:24px;color:var(--text-2);-webkit-user-select:none;user-select:none;align-items:center;gap:6px;margin-bottom:6px;font-size:12px;display:flex}.cnode-title input{background:var(--panel-2);border:1px solid var(--line-strong);border-radius:6px;height:22px;padding:0 6px}.cnode-title .status{color:var(--text-3);margin-left:auto;font-size:11px}.cnode-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;transition:border-color .12s;position:relative;overflow:hidden}.cnode:hover .cnode-card{border-color:var(--line-strong)}.cnode.selected .cnode-card{border-color:var(--text-2)}.cnode.busy .cnode-card{border-color:var(--accent)}.cnode-empty{height:100%;color:var(--text-3);flex-direction:column;justify-content:flex-end;gap:4px;padding:16px;display:flex}.cnode-empty .big-icon{color:var(--panel-3);margin:auto}.cnode-empty .try{color:var(--text-3);margin-bottom:2px;font-size:12px}.cnode-empty button{color:var(--text-2);text-align:left;border-radius:6px;align-items:center;gap:6px;padding:4px 6px;display:flex}.cnode-empty button:hover{background:var(--panel-2);color:var(--text)}.cnode-media{object-fit:cover;background:#000;width:100%;height:100%;display:block}.cnode-outputs{gap:4px;display:flex;position:absolute;bottom:8px;left:8px;right:8px;overflow-x:auto}.cnode-outputs button{background:#000;border:1px solid #fff3;border-radius:6px;flex:none;width:32px;height:44px;overflow:hidden}.cnode-outputs button.on{border-color:#fff}.cnode-outputs img{object-fit:cover;width:100%;height:100%}.cnode-progress{color:var(--text-2);background:#0e0e10d1;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex;position:absolute;inset:0}.cnode-progress .bar-track{background:var(--panel-3);border-radius:2px;width:60%;height:4px;overflow:hidden}.cnode-progress .bar-fill{background:var(--accent);height:100%;transition:width .5s}.cnode .react-flow__handle.plus{border:1px solid var(--line-strong);background:var(--panel);width:28px;height:28px;color:var(--text-2);opacity:0;border-radius:50%;place-items:center;transition:opacity .12s;display:grid}.cnode:hover .react-flow__handle.plus,.cnode.selected .react-flow__handle.plus,.react-flow__handle.plus.connectingto{opacity:1}.cnode .react-flow__handle.plus:hover{color:var(--text);border-color:var(--text-2)}.cnode .react-flow__handle-left.plus{left:-22px}.cnode .react-flow__handle-right.plus{right:-22px}.react-flow__handle.plus svg{pointer-events:none}.node-menu{z-index:20;width:240px;position:absolute;top:50%;transform:translateY(-50%)}.node-menu.right{left:calc(100% + 28px)}.node-menu.left{right:calc(100% + 28px)}.panel{background:var(--panel);border:1px solid var(--line);width:540px;box-shadow:var(--shadow);cursor:default;border-radius:16px;flex-direction:column;gap:10px;padding:12px;display:flex}.panel-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.panel-row .spacer{flex:1}.refs{flex-wrap:wrap;gap:6px;display:flex}.ref{border:1px solid var(--line);background:var(--panel-2);border-radius:8px;width:48px;height:64px;position:relative;overflow:hidden}.ref img,.ref video{object-fit:cover;width:100%;height:100%}.ref .num{text-align:center;background:#000000b3;border-radius:8px;min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:3px;left:3px}.ref .x{background:#000000b3;border-radius:8px;place-items:center;width:16px;height:16px;display:none;position:absolute;top:2px;right:2px}.ref:hover .x{display:grid}.ref.edge{border-style:dashed}.ref .ref-bar{gap:1px;height:16px;display:none;position:absolute;bottom:2px;left:2px;right:2px}.ref:hover .ref-bar{display:flex}.ref .ref-bar button{background:#000000bf;border-radius:5px;flex:1;padding:0;font-size:10px;line-height:16px}.ref .ref-bar .mk-first{flex:2}.first-slot{align-items:center;gap:8px;display:flex}.first-slot .ref.first{border-color:var(--accent,#4f8cff);border-width:2px}.first-slot .label{white-space:nowrap;font-size:12px}.prompt{position:relative}.prompt textarea{border-radius:var(--radius-sm);background:var(--panel-2);border:1px solid var(--line);width:100%;min-height:76px;padding:10px 12px;line-height:1.6}.prompt textarea:focus{border-color:var(--line-strong);outline:none}.prompt textarea.big{min-height:220px}.at-menu{z-index:5;width:220px;position:absolute;bottom:calc(100% + 4px);left:8px}.select{position:relative}.select>button{border-radius:var(--radius-sm);background:var(--panel-2);border:1px solid var(--line);white-space:nowrap;align-items:center;gap:4px;height:28px;padding:0 10px;font-size:12px;display:inline-flex}.select>button:hover:not(:disabled){background:var(--panel-3)}.select .pop{z-index:10;min-width:200px;position:absolute;bottom:calc(100% + 6px);left:0}.gen-btn{background:var(--text);color:#111;border-radius:999px;align-items:center;gap:6px;height:32px;padding:0 14px;font-weight:600;display:inline-flex}.gen-btn:hover:not(:disabled){background:#fff}.cost{color:var(--text-2);font-size:12px}.shots{border-collapse:collapse;width:100%;font-size:12px}.shots th,.shots td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:6px 8px}.shots th{color:var(--text-3);font-weight:400}.shots .dur{white-space:nowrap;color:var(--accent)}.group-frame{border:1px dashed var(--line-strong);pointer-events:none;background:#ffffff04;border-radius:20px;position:absolute}.group-frame .label{color:var(--text-3);font-size:12px;position:absolute;top:-26px;left:4px}.flow-edge-path{stroke-width:1.5px}.tl{flex-direction:column;gap:6px;display:flex}.tl-rows{flex-direction:column;gap:3px;display:flex}.tl-row{cursor:pointer;border:1px solid #0000;border-radius:6px;align-items:center;gap:5px;padding:3px 5px;font-size:12px;display:flex}.tl-row:hover{background:var(--panel-2)}.tl-row.on{border-color:var(--accent,#4f8cff)}.tl-row.bad{border-color:#e5484d}.tl-row img,.tl-thumb{object-fit:cover;background:var(--panel-2);border-radius:3px;width:22px;height:38px}.tl-idx{text-align:right;width:16px;color:var(--muted,#888)}.tl-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.tl-len{text-align:right;width:36px}.tl-num{width:62px;padding:2px 4px;font-size:12px}.icon-btn.sm{width:22px;height:22px}.tl-detail{border-top:1px solid var(--line);flex-direction:column;gap:6px;padding-top:6px;display:flex}.tl-video{align-self:center;position:relative}.tl-video video{background:#000;border-radius:6px;width:100%;height:auto;display:block}.tl-delogo{pointer-events:none;background:#f5a5242e;border:2px dashed #f5a524;position:absolute}.tl-warn{color:#f5a524}.check-flag{color:#1a1200;text-align:left;background:#f5a524eb;border-radius:6px;padding:4px 6px;font-size:11px;line-height:1.35;position:absolute;bottom:8px;left:8px;right:8px}.check-flag summary{cursor:pointer;font-weight:600}.cnode.has-checks .cnode-card{outline-offset:-2px;outline:2px solid #f5a524}.tl-sub{align-items:center;gap:4px;display:flex}.tl-sub.out{opacity:.45}.cnode-error{color:#fff;z-index:3;background:#e5484df2;border-radius:6px;padding:6px 8px;font-size:12px;line-height:1.4;position:absolute;bottom:8px;left:8px;right:8px}.cnode-error .row{justify-content:flex-end;gap:6px;margin-top:6px;display:flex}.boot{height:100%;color:var(--text-3);place-items:center;display:grid}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.logo-mark{background:var(--text);color:#111;border-radius:8px;place-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:grid}.avatar{font-weight:600}.mock-flag{z-index:30;color:var(--text-3);pointer-events:none;font-size:11px;position:fixed;bottom:22px;right:16px}.corner.bottom-center{bottom:16px;left:50%;transform:translate(-50%)}.corner.bottom-left{bottom:16px;left:16px}@media (width<=1360px){.corner.bottom-left{bottom:76px}.mock-flag{bottom:76px!important}}.login-card{border-radius:var(--radius);background:var(--panel);border:1px solid var(--line);width:320px;box-shadow:var(--shadow);color:var(--text);flex-direction:column;gap:12px;padding:28px 24px;display:flex}.login-card input{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--panel-2);height:38px;color:var(--text);padding:0 12px}.login-card .btn{justify-content:center;height:38px}.login-title{margin-bottom:4px;font-size:18px;font-weight:600}.login-err{color:#ff8a8a;font-size:13px}
