.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.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 .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation: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:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;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:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:rgba(255,255,255,.5);padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@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}.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-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.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:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.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{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.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:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform: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:#3367d9;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%}*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #F1F5F9;--surface: #FFFFFF;--surface-hover: #F8FAFC;--surface-active: #F1F5F9;--border: #E2E8F0;--border-light: #F1F5F9;--text-primary: #0F172A;--text-secondary: #475569;--text-muted: #94A3B8;--accent: #6366F1;--accent-hover: #4F46E5;--accent-light: #EEF2FF;--accent-text: #4338CA;--accent-border: #C7D2FE;--green: #059669;--green-light: #ECFDF5;--red: #DC2626;--red-light: #FEF2F2;--amber: #D97706;--amber-light: #FFFBEB;--node-input: #7C3AED;--node-process: #6366F1;--node-output: #059669;--node-filter: #D97706;--node-danger: #DC2626;--node-logic: #DB2777;--node-data: #0891B2;--node-sort: #0284C7;--node-split: #EA580C;--node-merge: #7C3AED;--radius-xs: 4px;--radius-sm: 6px;--radius: 10px;--radius-lg: 14px;--radius-xl: 20px;--radius-full: 9999px;--shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);--shadow-sm: 0 1px 3px rgba(15, 23, 42, .06);--shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .06), 0 2px 4px -2px rgba(15, 23, 42, .04);--shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, .07), 0 4px 6px -4px rgba(15, 23, 42, .04);--font-sans: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "JetBrains Mono", "Fira Code", monospace;--transition: .15s ease}html,body,#root{height:100%;width:100%;overflow:hidden}body{font-family:var(--font-sans);background:var(--bg);color:var(--text-primary);-webkit-font-smoothing:antialiased}.app{display:flex;flex-direction:column;height:100vh;background:var(--bg)}.header{height:56px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 20px;z-index:100;flex-shrink:0}.logo{display:flex;align-items:center;gap:10px}.logo-icon{width:32px;height:32px;background:var(--accent);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;color:#fff}.logo-text{font-size:16px;font-weight:600;color:var(--text-primary);letter-spacing:-.02em}.header-actions{display:flex;gap:8px}.btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:var(--radius);font-size:13px;font-weight:500;font-family:var(--font-sans);cursor:pointer;transition:all var(--transition);border:none;white-space:nowrap}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover);box-shadow:var(--shadow-sm)}.btn-primary:disabled{opacity:.4;cursor:not-allowed}.btn-secondary{background:var(--surface);color:var(--text-secondary);border:1px solid var(--border)}.btn-secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--text-muted)}.btn-secondary:disabled{opacity:.4;cursor:not-allowed}.btn-danger{background:var(--red-light);color:var(--red);border:1px solid transparent}.btn-danger:hover{background:var(--red);color:#fff}.btn-sm{padding:5px 10px;font-size:12px}.btn-ghost{background:transparent;color:var(--text-secondary);border:none;padding:6px;border-radius:var(--radius-sm)}.btn-ghost:hover{background:var(--surface-active)}.main-content{display:flex;flex:1;overflow:hidden}.sidebar{width:272px;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;transition:width .25s cubic-bezier(.4,0,.2,1);flex-shrink:0}.sidebar.collapsed{width:48px}.sidebar.collapsed .sidebar-content{display:none}.sidebar-section{border-bottom:1px solid var(--border-light)}.sidebar-header{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none}.sidebar-title{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em}.sidebar-toggle{width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:var(--radius-sm);transition:all var(--transition);color:var(--text-muted);border:none;background:transparent}.sidebar-toggle:hover{background:var(--surface-active);color:var(--text-secondary)}.sidebar-content{padding:0 12px 14px}.upload-area{border:1.5px dashed var(--border);border-radius:var(--radius);padding:10px 12px;text-align:center;cursor:pointer;transition:all var(--transition)}.upload-area:hover{border-color:var(--accent-border);background:var(--accent-light)}.upload-icon{color:var(--text-muted);margin-bottom:2px}.upload-text{font-size:12px;font-weight:500;color:var(--text-secondary)}.upload-hint{font-size:10px;color:var(--text-muted);margin-top:1px}.file-list{display:flex;flex-direction:column;gap:4px;max-height:180px;overflow-y:auto;margin-top:12px}.file-item{display:flex;align-items:center;gap:8px;padding:8px 10px;background:var(--surface-hover);border-radius:var(--radius);cursor:pointer;transition:all var(--transition);border:1px solid transparent}.file-item:hover{border-color:var(--border)}.file-item.active{background:var(--accent-light);border-color:var(--accent-border)}.file-icon{color:var(--green);flex-shrink:0}.file-name{flex:1;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text-primary)}.file-remove{color:var(--text-muted);cursor:pointer;opacity:0;transition:all var(--transition);display:flex;align-items:center;padding:2px;border-radius:var(--radius-xs);border:none;background:transparent}.file-item:hover .file-remove{opacity:1}.file-remove:hover{color:var(--red);background:var(--red-light)}.column-preview{margin-top:10px}.column-preview-title{font-size:11px;font-weight:500;color:var(--text-muted);margin-bottom:6px}.column-tags{display:flex;flex-wrap:wrap;gap:4px;max-height:96px;overflow-y:auto;padding:8px;background:var(--surface-hover);border-radius:var(--radius);border:1px solid var(--border-light)}.column-tag{padding:3px 8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-full);font-size:11px;color:var(--text-secondary);font-weight:400}.node-library{display:flex;flex-direction:column;gap:12px}.node-category{margin-bottom:4px}.node-category-title{font-size:11px;font-weight:600;color:var(--text-muted);margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.node-items{display:grid;grid-template-columns:1fr 1fr;gap:4px}.node-item{display:flex;align-items:center;gap:6px;padding:7px 8px;background:var(--surface-hover);border-radius:var(--radius);font-size:11px;font-weight:500;cursor:grab;transition:all var(--transition);border:1px solid transparent;color:var(--text-secondary);-webkit-user-select:none;user-select:none}.node-item:hover{border-color:var(--border);background:var(--surface);box-shadow:var(--shadow-xs);color:var(--text-primary)}.node-item:active{cursor:grabbing}.node-item-icon{flex-shrink:0;color:var(--text-muted)}.flow-container{flex:1;position:relative;background:var(--bg)}.react-flow{background:transparent}.custom-node{width:176px;min-height:72px;background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-sm);overflow:hidden;transition:all var(--transition)}.custom-node:hover{box-shadow:var(--shadow-md);border-color:var(--accent-border)}.custom-node.selected{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light),var(--shadow-md)}.custom-node-header{padding:8px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--border-light)}.custom-node-icon{width:26px;height:26px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.custom-node-title{font-size:12px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-node-body{padding:8px 12px;cursor:pointer}.custom-node-input{padding:6px 8px;background:var(--surface-hover);border-radius:var(--radius-sm);font-size:10px;font-weight:400;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.react-flow__node{cursor:default}.react-flow__handle{width:10px;height:10px;background:var(--surface);border:2px solid var(--text-muted);transition:all var(--transition)}.react-flow__handle:hover{background:var(--accent);border-color:var(--accent);transform:scale(1.2)}.react-flow__edge-path{stroke:var(--border);stroke-width:1.5}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:hover .react-flow__edge-path{stroke:var(--accent);stroke-width:2}.react-flow__background{background:transparent}.react-flow__controls{border-radius:var(--radius)!important;border:1px solid var(--border)!important;box-shadow:var(--shadow-sm)!important;overflow:hidden}.react-flow__controls button{background:var(--surface)!important;border-bottom:1px solid var(--border-light)!important;color:var(--text-secondary)!important;width:28px!important;height:28px!important}.react-flow__controls button:hover{background:var(--surface-hover)!important}.react-flow__controls button svg{fill:var(--text-secondary)!important}.react-flow__controls button:after{content:none!important}.react-flow__controls button[title]:before{content:attr(title);position:absolute;right:110%;top:50%;transform:translateY(-50%);background:var(--text-primary);color:var(--surface);font-size:11px;padding:3px 8px;border-radius:var(--radius-xs);white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s;font-family:var(--font-sans)}.react-flow__controls button:hover[title]:before{opacity:1}.react-flow__minimap{border-radius:var(--radius)!important;border:1px solid var(--border)!important;box-shadow:var(--shadow-sm)!important;overflow:hidden;background:var(--surface)!important}.bottom-panel{height:280px;background:var(--surface);border-top:1px solid var(--border);display:flex;flex-direction:column;transition:height .25s cubic-bezier(.4,0,.2,1);flex-shrink:0}.bottom-panel.collapsed{height:42px}.panel-header{height:42px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none;flex-shrink:0;border-bottom:1px solid var(--border-light)}.panel-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--text-primary)}.panel-title .panel-icon{color:var(--text-muted)}.panel-actions{display:flex;align-items:center;gap:4px}.panel-content{flex:1;overflow:hidden}.code-editor{height:100%}.config-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,.3);display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.config-panel{width:480px;max-height:78vh;background:var(--surface);border-radius:var(--radius-xl);border:1px solid var(--border);box-shadow:var(--shadow-lg);overflow:hidden;display:flex;flex-direction:column}.config-header{padding:16px 20px;border-bottom:1px solid var(--border-light);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.config-title{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px}.config-title .config-icon{width:28px;height:28px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center}.config-close{width:28px;height:28px;border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all var(--transition);background:transparent;border:none;color:var(--text-muted)}.config-close:hover{background:var(--surface-active);color:var(--text-primary)}.config-body{padding:18px 20px;overflow-y:auto;flex:1}.config-field{margin-bottom:14px}.config-label{display:block;font-size:12px;font-weight:500;margin-bottom:6px;color:var(--text-secondary)}.config-input{width:100%;padding:8px 12px;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-primary);font-size:13px;font-family:var(--font-sans);transition:all var(--transition)}.config-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.config-input::placeholder{color:var(--text-muted)}.config-select{width:100%;padding:8px 30px 8px 12px;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-primary);font-size:13px;font-family:var(--font-sans);cursor:pointer;transition:all var(--transition);-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' 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 10px center}.config-select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.config-textarea{width:100%;min-height:72px;padding:8px 12px;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-primary);font-size:13px;font-family:var(--font-mono);resize:vertical;transition:all var(--transition)}.config-textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.checkbox-group{display:flex;flex-direction:column;gap:2px;max-height:140px;overflow-y:auto;padding:6px;background:var(--surface-hover);border-radius:var(--radius);border:1px solid var(--border-light)}.checkbox-item{display:flex;align-items:center;gap:8px;cursor:pointer;padding:5px 6px;border-radius:var(--radius-xs);transition:background var(--transition)}.checkbox-item:hover{background:var(--surface-active)}.checkbox-item.select-all-item{border-bottom:1px solid var(--border-light);padding-bottom:6px;margin-bottom:2px}.checkbox-item input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent);cursor:pointer;border-radius:3px}.checkbox-item span{font-size:12px;color:var(--text-secondary);font-weight:400}.config-info{padding:10px 14px;background:var(--accent-light);border:1px solid var(--accent-border);border-radius:var(--radius);font-size:12px;color:var(--accent-text);line-height:1.6;white-space:pre-line}.config-footer{padding:14px 20px;border-top:1px solid var(--border-light);display:flex;justify-content:flex-end;gap:8px;flex-shrink:0}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.code-preview{height:100%;overflow:auto;padding:12px 16px;margin:0;background:#1E1E2E;color:#cdd6f4;font-family:var(--font-mono);font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word}.code-preview code{font-family:inherit}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-in{animation:fadeIn .2s ease}.spin{animation:spin 1s linear infinite}
