*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:16px;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#0b1120;color:#cbd5e1;line-height:1.5}#root{width:100%;height:100%}:root{--bg-primary: #0b1120;--bg-surface: #111a2d;--bg-elevated: #0e1728;--bg-hover: #18243a;--bg-overlay: rgba(0,0,0,.6);--border-default: #26344d;--border-subtle: #1b2940;--border-focus: #38bdf8;--text-primary: #f8fafc;--text-body: #cbd5e1;--text-muted: #94a3b8;--text-subtle: #64748b;--text-inverse: #ffffff;--accent: #0ea5e9;--accent-hover: #38bdf8;--accent-muted: rgba(14,165,233,.12);--accent-glow: rgba(14,165,233,.24);--success: #22c55e;--warning: #f59e0b;--danger: #ef4444;--info: #06b6d4;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;--radius-xl: 18px;--shadow-card: 0 1px 2px rgba(0,0,0,.18), 0 8px 24px rgba(0,0,0,.14);--shadow-popover: 0 12px 32px rgba(0,0,0,.32);--shadow-modal: 0 24px 64px rgba(0,0,0,.42);--shadow-glow-blue: 0 2px 12px rgba(14,165,233,.28)}button,input,textarea,select{font:inherit}button{min-height:36px}button:disabled{cursor:not-allowed}input,textarea,select{accent-color:var(--accent)}input::placeholder,textarea::placeholder{color:var(--text-subtle);opacity:1}.auth-page{background:var(--bg-primary)}.auth-card{background:var(--bg-surface);border:1px solid var(--border-default);box-shadow:var(--shadow-modal)}.auth-input:hover{border-color:#3a4d6c!important}.auth-input:focus{border-color:var(--border-focus)!important;box-shadow:0 0 0 3px var(--accent-muted)}.button-primary{background:var(--accent)!important;box-shadow:none!important;transition:background .18s ease-out,transform .18s ease-out,box-shadow .18s ease-out!important}.button-primary:hover:not(:disabled){background:var(--accent-hover)!important;transform:translateY(-1px);box-shadow:var(--shadow-glow-blue)!important}.button-secondary{transition:background .18s ease-out,border-color .18s ease-out!important}.button-secondary:hover{background:var(--bg-hover)!important;border-color:#3a4d6c!important}.app-icon-button{transition:background .18s ease-out,color .18s ease-out,border-color .18s ease-out!important}.app-icon-button:hover{background:var(--bg-hover)!important;color:var(--text-primary)!important;border-color:#3a4d6c!important}@media(max-width:720px){html,body{overflow:auto}.auth-card{padding:28px!important}}.react-flow__node{cursor:default!important}.react-flow__edge-path{stroke-width:2.5;stroke:#475569;transition:stroke .3s,stroke-width .3s}.react-flow__edge.active .react-flow__edge-path{stroke:#60a5fa;stroke-width:4;filter:drop-shadow(0 0 6px rgba(96,165,250,.5))}.react-flow__edge.completed .react-flow__edge-path{stroke:#22c55e;stroke-width:3}.react-flow__attribution{display:none!important}.react-flow__node .react-flow__handle{width:12px!important;height:12px!important;background:#1e293b!important;border:2px solid #94a3b8!important;box-shadow:0 0 6px #0009!important;transition:all .15s!important;z-index:2!important}.react-flow__node .react-flow__handle:hover{border-color:#38bdf8!important;background:#0ea5e9!important;box-shadow:0 0 10px #0ea5e966!important;transform:scale(1.4)!important}.react-flow__node .react-flow__handle-left{left:-6px!important}.react-flow__node .react-flow__handle-right{right:-6px!important}.react-flow__node .react-flow__handle-top{top:-6px!important}.react-flow__node .react-flow__handle-bottom{bottom:-6px!important}@keyframes pulse-glow{0%,to{box-shadow:0 0 8px #60a5fa4d}50%{box-shadow:0 0 20px #60a5fa99}}.node-active{animation:pulse-glow 1.5s ease-in-out infinite;z-index:10!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#334155;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#475569}:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.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%}
