*{box-sizing:border-box;margin:0;padding:0}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#111827;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;width:100vw;height:100vh;overflow:hidden}#root{width:100%;height:100%;margin:0;padding:0}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f3f4f6}::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#9ca3af}button:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}button{font-family:inherit}.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%}.text-node{min-width:200px;background:#fff;border:1px solid #d1d5db;border-radius:8px;box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.text-node:hover{box-shadow:0 4px 6px #0000001a}.text-node.selected{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.node-header{display:flex;align-items:center;gap:8px;padding:10px 12px;background:linear-gradient(135deg,#b4f8c8,#a0e7e5);border-radius:8px 8px 0 0;border-bottom:1px solid #d1d5db}.node-icon{font-size:16px;line-height:1}.node-title{font-size:13px;font-weight:600;color:#1f2937}.node-body{padding:12px}.node-text{margin:0;font-size:13px;color:#4b5563;line-height:1.5;word-break:break-word;white-space:pre-wrap;min-height:20px}.node-handle{width:10px;height:10px;background:#3b82f6;border:2px solid white;border-radius:50%;transition:all .2s ease}.node-handle:hover{width:14px;height:14px;background:#2563eb;box-shadow:0 0 0 4px #3b82f633}.target-handle{left:-5px}.source-handle{right:-5px}.text-node:hover .node-handle{background:#2563eb;box-shadow:0 0 0 2px #3b82f633}.nodes-panel{width:280px;background:#fff;border-left:1px solid #e5e7eb;display:flex;flex-direction:column;box-shadow:-2px 0 8px #0000000d;overflow-y:auto}.panel-header{padding:20px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.panel-title{margin:0 0 4px;font-size:18px;font-weight:700;color:#111827}.panel-subtitle{margin:0;font-size:13px;color:#6b7280}.nodes-grid{padding:16px;display:flex;flex-direction:column;gap:12px}.draggable-node{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:2px solid #e5e7eb;border-radius:10px;cursor:grab;transition:all .2s ease}.draggable-node:hover{border-color:#3b82f6;background:#f0f9ff;transform:translateY(-2px);box-shadow:0 4px 8px #3b82f626}.draggable-node:active{cursor:grabbing;transform:translateY(0);box-shadow:0 2px 4px #3b82f633}.node-icon-large{font-size:28px;line-height:1;flex-shrink:0}.node-info{flex:1;min-width:0}.node-label{font-size:15px;font-weight:600;color:#111827;margin-bottom:2px}.node-description{font-size:12px;color:#6b7280}.panel-help{padding:16px;margin-top:auto;border-top:1px solid #e5e7eb;background:#fffbeb}.panel-help p{margin:0;font-size:12px;color:#92400e;line-height:1.5}@media (max-width: 768px){.nodes-panel{width:240px}.draggable-node{padding:12px}.node-icon-large{font-size:24px}}.settings-panel{width:280px;background:#fff;border-left:1px solid #e5e7eb;display:flex;flex-direction:column;box-shadow:-2px 0 8px #0000000d;overflow-y:auto}.panel-header{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.back-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:18px;cursor:pointer;transition:all .2s ease;color:#6b7280}.back-button:hover{background:#f3f4f6;border-color:#d1d5db;color:#111827}.back-button:active{transform:scale(.95)}.settings-content{padding:20px;flex:1}.form-group{margin-bottom:20px}.form-label{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:#374151}.form-textarea{width:100%;padding:10px 12px;font-size:14px;font-family:inherit;line-height:1.5;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;resize:vertical;transition:all .2s ease;box-sizing:border-box}.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-textarea::placeholder{color:#9ca3af}.settings-help{padding:12px;background:#f0f9ff;border-radius:6px;border:1px solid #bfdbfe}.settings-help p{margin:0;font-size:12px;color:#1e40af;line-height:1.5}@media (max-width: 768px){.settings-panel{width:240px}.settings-content{padding:16px}}.save-button{position:fixed;top:20px;right:300px;padding:10px 24px;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #3b82f64d;z-index:10}.save-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666;background:linear-gradient(135deg,#2563eb,#1d4ed8)}.save-button:active{transform:translateY(0);box-shadow:0 2px 6px #3b82f64d}.notification{position:fixed;top:80px;right:300px;display:flex;align-items:center;gap:10px;padding:14px 20px;border-radius:8px;box-shadow:0 4px 12px #00000026;animation:slideIn .3s ease;z-index:20;max-width:400px}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.notification.success{background:#10b981;color:#fff}.notification.error{background:#ef4444;color:#fff}.notification-icon{font-size:18px;font-weight:700;line-height:1}.notification-message{font-size:14px;font-weight:500;line-height:1.4}@media (max-width: 768px){.save-button{right:260px;padding:8px 18px;font-size:13px}.notification{right:260px;top:70px;max-width:300px;padding:12px 16px}.notification-message{font-size:13px}}@media (max-width: 640px){.save-button{right:20px;left:20px;top:10px}.notification{right:20px;left:20px;top:60px}}.flow-builder{display:flex;width:100vw;height:100vh;background:#f3f4f6;overflow:hidden}.flow-canvas{flex:1;position:relative;background:linear-gradient(180deg,#f9fafb,#f3f4f6)}.react-flow{background:transparent}.react-flow__attribution{background:#fffc;padding:4px 8px;border-radius:4px;font-size:10px}.react-flow__controls{box-shadow:0 2px 8px #0000001a;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.react-flow__controls-button{background:#fff;border-bottom:1px solid #e5e7eb;transition:all .2s ease}.react-flow__controls-button:hover{background:#f3f4f6}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__edge-path{stroke:#94a3b8;stroke-width:2}.react-flow__edge.selected .react-flow__edge-path{stroke:#3b82f6;stroke-width:2.5}.react-flow__connection-path{stroke:#3b82f6;stroke-width:2}.react-flow__background{background-color:transparent}.react-flow__selection{background:#3b82f614;border:1px solid #3b82f6}@media (max-width: 640px){.flow-builder{flex-direction:column}.flow-canvas{height:60vh}}.app{width:100%;height:100vh;overflow:hidden}body{margin:0;padding:0}#root{width:100%;height:100vh;margin:0;padding:0}
