.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%}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1e293b}.app{display:flex;flex-direction:column;height:100vh}.topbar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#0f172a;color:#fff}.topbar .spacer{flex:1}.flow-name{background:#1e293b;border:1px solid #334155;color:#fff;border-radius:6px;padding:6px 10px;font-size:14px}.spec-meta{font-size:12px;color:#94a3b8}.btn{background:#1e293b;border:1px solid #334155;color:#fff;padding:7px 12px;border-radius:6px;font-size:13px;cursor:pointer}.btn.primary{background:#2563eb;border-color:#2563eb}.btn:hover{filter:brightness(1.1)}.error-bar{background:#fee2e2;color:#991b1b;padding:8px 16px;font-size:13px}.layout{display:flex;flex:1;min-height:0}.palette{width:300px;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;background:#f8fafc}.palette-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px 4px}.palette-header h2{font-size:15px;margin:0}.palette-header button{background:#e2e8f0;border:none;border-radius:6px;padding:4px 8px;cursor:pointer;font-size:12px}.palette-search{margin:8px 14px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px}.palette-hint{margin:0 14px 8px;font-size:12px;color:#64748b}.palette-list{overflow-y:auto;padding:0 10px 14px;flex:1}.palette-item{display:flex;gap:8px;align-items:flex-start;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:8px;margin-bottom:6px;cursor:grab}.palette-item:hover{border-color:#94a3b8}.method-badge{color:#fff;font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;min-width:46px;text-align:center}.palette-item-body{display:flex;flex-direction:column;gap:2px;min-width:0}.palette-item-body code{font-size:12px;word-break:break-all}.palette-item-body small{color:#64748b;font-size:11px}.canvas{flex:1;min-width:0}.sidebar-right{width:280px;border-left:1px solid #e2e8f0;background:#f8fafc;overflow-y:auto}.variables{padding:14px}.variables-header{display:flex;align-items:center;justify-content:space-between}.variables-header h3{margin:0;font-size:15px}.variables-header button{background:#2563eb;color:#fff;border:none;border-radius:6px;padding:4px 8px;cursor:pointer;font-size:12px}.variable-row{display:flex;gap:6px;margin-bottom:6px}.var-key,.var-val{border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px;font-size:12px;width:100%}.var-key{flex:0 0 45%;font-family:monospace}.var-del{background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;color:#dc2626;padding:0 8px}.muted{color:#94a3b8;font-size:13px;padding:8px 4px}.muted2{color:#94a3b8;font-size:11px}.api-node{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;width:220px;font-size:12px;box-shadow:0 1px 2px #0000000f}.api-node.selected{border-color:#2563eb;box-shadow:0 0 0 2px #bfdbfe}.api-node-head{display:flex;align-items:center;justify-content:space-between}.api-node-path{display:block;margin-top:4px;word-break:break-all}.api-node-saveas{margin-top:4px;color:#16a34a;font-size:11px}.api-node-conn{margin-top:4px;color:#2563eb;font-size:11px}.cfg-check{color:#16a34a;font-weight:700}.nodeconfig{padding:14px}.nodeconfig-header{display:flex;align-items:center;justify-content:space-between}.nodeconfig-header h3{margin:0;font-size:15px}.close-x{background:none;border:none;cursor:pointer;font-size:14px;color:#64748b}.nodeconfig-title{display:flex;align-items:center;gap:6px;margin:8px 0}.nodeconfig-title code{font-size:12px;word-break:break-all}.method-badge-sm{background:#334155;color:#fff;font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px}.nodeconfig-summary{font-size:12px;color:#64748b;margin:0 0 8px}.var-hint{font-size:11px;color:#64748b;margin:0 0 10px}.var-hint code{background:#eef2ff;padding:1px 4px;border-radius:4px;margin-right:4px}.nodeconfig section{border-top:1px solid #e2e8f0;padding-top:10px;margin-top:10px}.nodeconfig h4{margin:0 0 6px;font-size:13px}.field{display:flex;flex-direction:column;gap:3px;margin-bottom:8px}.field span{font-size:12px}.field input,.body-raw{border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px;font-size:12px;width:100%;font-family:inherit}.body-raw{font-family:monospace;resize:vertical}.req{color:#dc2626;font-style:normal;margin-left:2px}.delete-node{margin-top:16px;width:100%;background:#fff;color:#dc2626;border:1px solid #fecaca;border-radius:6px;padding:8px;cursor:pointer;font-size:13px}.delete-node:hover{background:#fef2f2}.auth-wrap{display:flex;align-items:center;justify-content:center;height:100vh;background:#0f172a}.auth-card{background:#fff;border-radius:12px;padding:32px;width:360px;max-width:90vw;box-shadow:0 10px 30px #0000004d;display:flex;flex-direction:column}.auth-card h1{font-size:20px;margin:0}.auth-sub{color:#64748b;font-size:14px;margin:4px 0 18px}.auth-error{background:#fee2e2;color:#991b1b;border-radius:6px;padding:8px 10px;font-size:13px;margin-bottom:10px}.auth-submit{margin-top:8px;padding:10px;font-size:14px}.auth-switch{font-size:13px;color:#64748b;margin:14px 0 0;text-align:center}.linklike{background:none;border:none;color:#2563eb;cursor:pointer;font-size:13px;padding:0;text-decoration:underline}.user-chip{font-size:12px;color:#cbd5e1;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flows-menu{position:relative;display:flex;gap:8px}.dropdown{position:absolute;top:110%;left:0;z-index:20;background:#fff;color:#1e293b;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0000002e;min-width:260px;max-height:320px;overflow-y:auto;padding:4px}.dropdown-empty{padding:12px;color:#94a3b8;font-size:13px}.dropdown-item{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:6px;cursor:pointer}.dropdown-item:hover{background:#f1f5f9}.dd-main{display:flex;flex-direction:column;gap:2px;min-width:0}.dd-name{font-size:13px;font-weight:500}.dd-del{background:none;border:none;color:#dc2626;cursor:pointer;font-size:13px;padding:2px 6px}.body-head{display:flex;align-items:center;justify-content:space-between}.rawtoggle{font-size:11px;color:#475569;display:flex;align-items:center;gap:4px;cursor:pointer}.btn.run{background:#16a34a;border-color:#16a34a}.btn.danger{background:#dc2626;border-color:#dc2626;color:#fff}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;z-index:100;overflow-y:auto}.run-panel{background:#fff;color:#1e293b;border-radius:12px;padding:22px;width:640px;max-width:100%;box-shadow:0 20px 50px #00000059}.run-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.run-head h3{margin:0;font-size:17px}.run-conn-row{display:flex;gap:10px}.run-conn-row .field{flex:1}.dryrun-toggle{display:flex;align-items:center;gap:8px;margin:14px 0;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:10px 12px;font-size:13px;cursor:pointer}.dryrun-toggle.live{background:#fef2f2;border-color:#fecaca;color:#991b1b}.run-go{width:100%;padding:10px;font-size:14px}.run-results{margin-top:16px}.run-results h4{margin:0 0 8px;font-size:14px}.run-step{border:1px solid #e2e8f0;border-left-width:3px;border-radius:8px;padding:10px;margin-bottom:8px}.run-step.ok{border-left-color:#16a34a}.run-step.fail{border-left-color:#dc2626}.run-step-head{display:flex;align-items:center;gap:8px}.run-url{font-size:12px;word-break:break-all;flex:1}.run-status{font-size:12px;font-weight:700;color:#475569}.run-body,.run-response{background:#f8fafc;border-radius:6px;padding:8px;margin:6px 0 0;font-size:11px;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.run-error{color:#991b1b;font-size:12px;margin-top:6px}.step-run{width:100%;margin-top:4px}.field select,.nodeconfig select{border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px;font-size:12px;width:100%;background:#fff}.conn-panel{background:#fff;color:#1e293b;border-radius:12px;padding:22px;width:600px;max-width:100%;box-shadow:0 20px 50px #00000059}.conn-list{margin-bottom:16px}.conn-item{display:flex;align-items:center;justify-content:space-between;border:1px solid #e2e8f0;border-radius:8px;padding:10px;margin-bottom:6px}.conn-actions{display:flex;align-items:center;gap:8px}.btn.small{padding:4px 8px;font-size:12px;background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}.conn-form{border-top:1px solid #e2e8f0;padding-top:14px}.conn-form h4{margin:0 0 10px;font-size:14px}.conn-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
