.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:#ffffff80;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:#0059dc14;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%}:root{--brand-green: #22c55e;--bg-gray: #f8fafc;--border: #e2e8f0;--text-dark: #1e293b;--text-muted: #64748b}*{box-sizing:border-box;font-family:Inter,system-ui,sans-serif}html,body,#root{width:100%;height:100%;margin:0;padding:0;background-color:#fff;overflow:hidden}.logo-img-sm{width:28px;height:28px;object-fit:contain}.logo-img-lg{width:64px;height:64px;object-fit:contain;margin-bottom:20px}.react-flow__node{border:none!important;box-shadow:none!important;background:transparent!important}.custom-node-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:300px;box-shadow:0 10px 15px -3px #0000000d;display:flex;flex-direction:column;pointer-events:all;overflow:hidden}.node-header{padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.node-header-title{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;color:#1e293b}.node-sub-info{padding:8px 16px;background:#eff6ff;font-size:11px;color:#1e40af;border-bottom:1px solid #dbeafe}.node-content{padding:16px;display:flex;flex-direction:column;gap:12px}.node-input-group{display:flex;flex-direction:column;gap:6px}.node-label-small{font-size:10px;color:#64748b;font-weight:700;text-transform:uppercase;letter-spacing:.025em}.node-input{width:100%;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;background:#fff;color:#1e293b;outline:none;transition:border-color .2s}.node-input:focus{border-color:#3b82f6}textarea.node-input{resize:vertical;min-height:60px}.input-with-icon{position:relative;display:flex;align-items:center}.icon-sub-btn{position:absolute;right:10px;background:none;border:none;color:#94a3b8;cursor:pointer;display:flex}.file-upload-dashed{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;border:2px dashed #e2e8f0;border-radius:12px;background:#f8fafc;cursor:pointer;color:#64748b;font-size:13px}.file-upload-dashed:hover{border-color:#22c55e;background:#f0fdf4;color:#166534}.file-box-active{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;color:#166534;font-weight:600;font-size:13px}.trash-ico{cursor:pointer;color:#94a3b8}.trash-ico:hover{color:#ef4444}.node-footer-status{padding:8px 16px;text-align:right;font-size:11px;font-weight:700;background:#fafafa}.node-field-mock{padding:10px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#94a3b8;font-size:12px}.custom-handle{width:10px!important;height:10px!important;background:#fff!important;border:2px solid #cbd5e1!important;border-radius:50%!important;z-index:100}.react-flow__handle-right{right:-5px!important}.react-flow__handle-left{left:-5px!important}.handle-query{border-color:#f97316!important}.handle-context{border-color:#3b82f6!important}.handle-output{border-color:#22c55e!important}.text-orange{color:#f97316}.text-purple{color:#8b5cf6}.text-blue{color:#3b82f6}.react-flow__edge{cursor:pointer}.react-flow__edge.selected .react-flow__edge-path{stroke:#22c55e!important;stroke-width:4}.node-header-actions{display:flex;align-items:center;gap:10px}.node-trash-icon{color:#94a3b8;cursor:pointer;transition:color .2s}.node-trash-icon:hover{color:#ef4444}.chat-backdrop{position:fixed;inset:0;background:#0006;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:9999}.chat-window{width:90%;max-width:900px;height:80vh;background:#fff;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.chat-win-header{padding:16px 24px;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;align-items:center}.chat-brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:15px}.chat-win-body{flex:1;overflow-y:auto;padding:40px}.chat-empty-msg{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.logo-sq-lg{width:64px;height:64px;background:#22c55e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;margin-bottom:20px}.chat-msg-list{display:flex;flex-direction:column;gap:32px}.chat-line{display:flex;gap:20px;align-items:flex-start}.chat-av{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px}.chat-av.assistant{background:#22c55e;color:#fff;font-weight:700}.chat-av.user{background:#dbeafe;color:#1e40af}.chat-bubble-text{font-size:15px;line-height:1.6;color:#334155}.chat-win-footer{padding:24px 40px 40px}.chat-input-bar{display:flex;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px}.chat-input-bar input{flex:1;border:none;outline:none;font-size:14px}.send-btn.active{color:#22c55e;cursor:pointer}.canvas-root{flex:1;position:relative;height:100vh;background:#f8fafc}.canvas-header-actions{position:absolute;top:12px;right:24px;display:flex;align-items:center;gap:16px;z-index:50}.btn-save-workflow{background:#fff;border:1px solid var(--border);border-radius:8px;padding:8px 16px;font-weight:600;display:flex;align-items:center;gap:8px;cursor:pointer}.user-av-circle{width:32px;height:32px;background:#c7d2fe;border-radius:50%;color:#4338ca;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.zoom-pill{position:absolute;bottom:24px;left:50%;transform:translate(-50%);background:#fff;border:1px solid var(--border);border-radius:12px;height:48px;display:flex;align-items:center;padding:0 16px;gap:12px;box-shadow:0 10px 15px -3px #0000001a;z-index:100}.zoom-pill button{background:none;border:none;color:var(--text-muted);cursor:pointer;display:flex;align-items:center}.sep{width:1px;height:24px;background:var(--border)}.zoom-val{font-size:14px;font-weight:600;color:var(--text-dark);display:flex;align-items:center;gap:4px;min-width:65px}.canvas-empty-state{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none}.empty-ico-box{width:80px;height:80px;border-radius:50%;background:#fff;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;box-shadow:0 4px 6px -1px #0000000d}.mock-node-rect{width:40px;height:40px;border:2px dashed var(--brand-green);border-radius:8px;position:relative}.ptr-ico{position:absolute;bottom:-10px;right:-10px;color:var(--brand-green);fill:#fff}.fab-run-stack{position:absolute;bottom:100px;right:24px;width:56px;height:56px;background:#bbf7d0;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;box-shadow:0 4px 6px #0000001a;z-index:10;color:#166534}.sidebar{width:280px;height:100vh;border-right:1px solid var(--border);display:flex;flex-direction:column;background:#fff}.sidebar-header{height:64px;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;padding:0 16px;gap:8px;cursor:pointer;font-weight:700;font-size:14px}.logo-sm{width:24px;height:24px;background:var(--brand-green);color:#fff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.sidebar-actions{padding:16px}.btn-chat-ai-top{padding:12px;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;cursor:pointer;color:var(--text-dark)}.btn-chat-ai-top:hover{background:#f8fafc}.sidebar-stack-info{padding:12px 16px;margin:0 16px 16px;border:1px solid var(--border);border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:600;cursor:pointer}.sidebar-body{flex:1;padding:0 16px}.sidebar-label{font-size:11px;text-transform:uppercase;color:var(--text-muted);font-weight:700;margin-bottom:12px;display:block}.drag-list{display:flex;flex-direction:column;gap:10px}.drag-item{padding:12px 14px;border:1px solid var(--border);border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-size:13px;cursor:grab;background:#fff}.drag-item-left{display:flex;align-items:center;gap:6px}.icon-wrap{color:var(--text-muted);display:flex}.dash-wrapper{background:#f8fafc;min-height:100vh;width:100%}.dash-header{height:64px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.dash-brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:16px;color:var(--text-dark)}.dash-logo-circle{width:32px;height:32px;background:var(--brand-green);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center}.user-av{width:32px;height:32px;background:#c7d2fe;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#4338ca}.dash-body{padding:40px 80px;max-width:1400px;margin:0 auto}.dash-title-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px}.dash-title-section h1{font-size:28px;font-weight:700;margin:0;color:var(--text-dark)}.btn-add{background:var(--primary-green);color:#fff;background-color:green;border:none;padding:10px 20px;border-radius:8px;display:flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}.stacks-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}.stack-card{background:#fff;border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;height:200px}.stack-card-content{padding:24px;flex:1}.stack-card-content h3{margin:0 0 8px;font-size:18px;color:var(--text-dark)}.stack-card-content p{margin:0;font-size:14px;color:var(--text-muted);line-height:1.5}.stack-card-footer{padding:16px 24px;border-top:1px solid #f1f5f9;display:flex;justify-content:flex-end}.btn-edit{background:#fff;border:1px solid var(--border);border-radius:6px;padding:8px 16px;font-size:13px;font-weight:600;display:flex;align-items:center;gap:6px;cursor:pointer;color:var(--text-dark)}.dash-empty-container{display:flex;justify-content:center;padding-top:80px}.dash-empty-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:60px;text-align:center;max-width:540px;box-shadow:0 4px 6px -1px #0000000d}.dash-empty-card h2{font-size:24px;margin-bottom:12px}.dash-empty-card p{color:var(--text-muted);margin-bottom:30px;line-height:1.6}.btn-add-large{background:var(--primary-green);color:#fff;border:none;padding:14px 28px;border-radius:8px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:10px}.app-viewport{width:100vw;height:100vh}.builder-viewport{display:flex;width:100vw;height:100vh;overflow:hidden}.m-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:9999}.m-card{background:#fff;width:480px;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a}.m-header{padding:16px 24px;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;align-items:center}.m-header h3{margin:0;font-size:16px;font-weight:700;color:#1e293b}.m-close{color:#94a3b8;cursor:pointer}.m-body{padding:24px;display:flex;flex-direction:column;gap:20px}.m-field{display:flex;flex-direction:column;gap:8px}.m-field label{font-size:13px;font-weight:600;color:#475569}.m-field input,.m-field textarea{padding:10px;border:1px solid #e2e8f0;border-radius:6px;outline:none;font-size:14px}.m-footer{padding:16px 24px;border-top:1px solid #f1f5f9;display:flex;justify-content:flex-end;gap:12px}.btn-sec{background:none;border:none;font-weight:600;cursor:pointer;color:#64748b}.btn-pri{background:#166534;color:#fff;border:none;padding:10px 24px;border-radius:6px;font-weight:600;cursor:pointer}
