:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;color:#1e293b;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden}#root{width:100vw;height:100vh}.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%}*{margin:0;padding:0;box-sizing:border-box}.app{width:100vw;height:100vh;display:flex;flex-direction:column;overflow:hidden}.app-header{background:#fff;color:#1e293b;padding:.5rem 2rem;box-shadow:0 2px 8px #00000014;border-bottom:1px solid #e2e8f0}.header-content{display:flex;align-items:center;justify-content:space-between;gap:1rem}.header-left{display:flex;align-items:center;gap:1rem}.header-right{display:flex;align-items:center;gap:.75rem}.header-logo{height:40px;width:auto}.header-text{display:flex;flex-direction:column}.app-header h1{margin:0;font-size:1.2rem;font-weight:700;line-height:1.2;color:#0f172a;letter-spacing:.05em}.app-header p{margin:.125rem 0 0;font-size:.75rem;color:#64748b}.app-header a{color:#3b82f6;text-decoration:none;font-weight:500}.app-header a:hover{text-decoration:underline}.workflow-editor{flex:1;display:flex;overflow:hidden}.sidebar{width:300px;background:#f8fafc;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.75rem;padding:1rem;overflow-y:auto}.sidebar-section{background:#fff;padding:.875rem;border-radius:0;box-shadow:0 1px 3px #0000001a}.sidebar-section h3{font-size:.9rem;color:#1e293b;margin-bottom:.625rem;padding-bottom:.375rem;border-bottom:2px solid #e2e8f0}.sidebar-section.compact{padding:.5rem .75rem}.sidebar-section.compact h3{font-size:.75rem;margin-bottom:.375rem}.mode-indicator{padding:.375rem .5rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:0}.mode-indicator strong{display:block;color:#0369a1;font-size:.7rem;font-family:Monaco,Menlo,Consolas,monospace}.mode-indicator p{margin:0;font-size:.65rem;color:#0c4a6e}.about-info{font-size:.65rem;color:#64748b;line-height:1.4;font-family:Monaco,Menlo,Consolas,monospace}.about-info p{margin:.25rem 0}.about-info a{color:#3b82f6;text-decoration:none}.about-info a:hover{text-decoration:underline}.node-palette{display:grid;grid-template-columns:1fr 1fr;gap:.375rem}.palette-item{display:flex;align-items:center;gap:.5rem;padding:.5rem .625rem;background:#f1f5f9;border:2px dashed #cbd5e1;border-radius:0;cursor:grab;transition:all .2s;font-size:.8rem}.palette-item:hover{background:#eff6ff;border-color:#3b82f6;transform:translate(4px)}.palette-item:active{cursor:grabbing}.palette-icon{flex-shrink:0}.workflows-section{display:flex;flex-direction:column;min-height:300px;max-height:500px;overflow:hidden}.workflows-scroll-container{overflow-y:auto;overflow-x:hidden;padding-right:.25rem}.workflows-scroll-container::-webkit-scrollbar{width:6px}.workflows-scroll-container::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.workflows-scroll-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.workflows-scroll-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.workflow-group{margin-bottom:1.25rem}.workflow-group:last-child{margin-bottom:.5rem}.workflow-group-header{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem;padding-left:.5rem;padding-bottom:.25rem;border-left:3px solid;font-family:Monaco,Menlo,Consolas,monospace}.template-list{list-style:none;display:flex;flex-direction:column;gap:.375rem;margin-bottom:.5rem}.template-item{padding:.5rem .625rem;background:#f8fafc;border-left:3px solid;border-right:2px solid transparent;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;border-radius:0;cursor:pointer;transition:all .2s;margin-left:.5rem}.template-item:hover{background:#fff;border-right-color:currentColor;transform:translate(4px);box-shadow:0 2px 4px #0000000d}.template-name{font-weight:600;font-size:.8rem;color:#1e293b;margin-bottom:.125rem}.template-desc{font-size:.75rem;color:#64748b;line-height:1.3}.control-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.375rem}.control-buttons .btn-full-width{grid-column:1 / -1}.btn{display:flex;align-items:center;justify-content:center;gap:.25rem;padding:.5rem;border:none;border-radius:0;cursor:pointer;font-weight:600;font-size:.75rem;transition:all .2s;white-space:nowrap}.btn-success{background:#10b981;color:#fff}.btn-success:hover:not(:disabled){background:#059669;transform:translateY(-2px);box-shadow:0 4px 8px #10b9814d}.btn-primary{background:#3b82f6;color:#fff;padding:.5rem 1rem;border:none;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary:hover{background:#2563eb;box-shadow:0 2px 8px #3b82f64d}.btn-secondary{background:#64748b;color:#fff}.btn-secondary:hover{background:#475569}.btn-icon{background:transparent;color:#64748b;border:1px solid #e2e8f0;padding:.25rem .5rem;font-size:.75rem;border-radius:0;transition:all .2s}.btn-icon:hover{background:#eff6ff;color:#2563eb;border-color:#3b82f6}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover{background:#dc2626}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.canvas-container{flex:1;position:relative;background:#fff}.start-node,.agent-node,.end-node,.file-input-node{background:#fff;border-radius:0;box-shadow:0 2px 8px #0000001a;width:280px;transition:width .3s ease;overflow:hidden;box-sizing:border-box}.end-node.result-expanded{width:600px}.end-node .result-content-wrapper{width:100%}.end-node .result-content-scroll{scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}.end-node .result-content-scroll::-webkit-scrollbar{width:8px}.end-node .result-content-scroll::-webkit-scrollbar-track{background:#f8fafc}.end-node .result-content-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.end-node .result-content-scroll::-webkit-scrollbar-thumb:hover{background:#94a3b8}.end-node .result-content-scroll .markdown-content{max-width:100%;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.end-node .result-content-scroll .markdown-content *{max-width:100%}.end-node .result-content-scroll .markdown-content img{max-width:100%;height:auto;display:block}.end-node .result-content-scroll .markdown-content pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.end-node .result-content-scroll .markdown-content table{display:block;max-width:100%;overflow-x:auto}.agent-node.settings-open,.file-input-node.settings-open{width:500px}.start-node.selected,.agent-node.selected,.end-node.selected{box-shadow:0 4px 12px #3b82f64d;border:2px solid #3b82f6}.node-header{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:0;font-weight:600;color:#fff}.node-header.start{background:#06b6d4}.node-header.agent{background:#3b82f6;position:relative}.node-header.end{background:#06b6d4}.node-header.user-input{background:#8b5cf6}.settings-btn{margin-left:auto;background:#fff3;border:none;border-radius:0;padding:.25rem .5rem;cursor:pointer;color:#fff;transition:background .2s}.settings-btn:hover{background:#ffffff4d}.node-body{padding:1rem;width:100%;box-sizing:border-box;overflow:hidden}.node-label{color:#64748b;font-size:.9rem}.node-info{display:flex;flex-direction:column;gap:.5rem}.info-row{display:flex;justify-content:space-between;font-size:.85rem}.info-label{color:#64748b;font-weight:500}.info-value{color:#1e293b;font-family:monospace}.node-settings{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.settings-field{margin-bottom:.75rem}.settings-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}.parameters-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.parameter-field{display:flex;flex-direction:column;gap:.25rem}.parameter-field label{font-size:.85rem;font-weight:500;color:#475569}.parameter-field input[type=text],.parameter-field input[type=number]{padding:.4rem .6rem;border:1px solid #cbd5e1;border-radius:4px;font-size:.85rem;background:#fff;transition:border-color .2s}.parameter-field input[type=text]:focus,.parameter-field input[type=number]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.parameter-field input[type=checkbox]{width:18px;height:18px;cursor:pointer}.settings-field label{display:block;font-size:.85rem;font-weight:500;color:#475569;margin-bottom:.25rem}.settings-field input,.settings-field textarea{width:100%;padding:.5rem;border:1px solid #cbd5e1;border-radius:0;font-size:.85rem;font-family:monospace;resize:vertical}.settings-field input:focus,.settings-field textarea:focus{outline:none;border-color:#3b82f6}.node-label-input{background:#fffffff2;border:1px solid rgba(255,255,255,.8);border-radius:0;padding:.25rem .5rem;color:#1e293b;font-size:.9rem;font-weight:600;min-width:100px}.node-label-input:focus{outline:none;border-color:#fff}.info-select,.info-input{background:#fff;border:1px solid #cbd5e1;border-radius:0;padding:.25rem .5rem;font-size:.85rem;color:#1e293b;font-family:inherit;cursor:pointer;transition:border-color .2s}.info-select{max-width:150px}.info-input{max-width:60px;text-align:right}.info-select:focus,.info-input:focus{outline:none;border-color:#3b82f6}.info-select:hover,.info-input:hover{border-color:#94a3b8}.prompt-textarea{font-family:Courier New,monospace;font-size:.85rem;line-height:1.5;min-height:300px;max-height:400px;overflow-y:auto;resize:vertical}.info-row-grid{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.5rem}.info-col{display:flex;align-items:center;gap:.375rem}.info-col .info-label{font-size:.8rem;color:#64748b;white-space:nowrap;min-width:fit-content}.info-col .info-input{flex:1;min-width:0}.agent-results-section{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.results-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.5rem}.results-toggle-btn{display:flex;align-items:center;gap:.375rem;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:0;padding:.375rem .75rem;cursor:pointer;font-size:.85rem;font-weight:500;color:#475569;transition:all .2s;flex:1}.results-toggle-btn:hover{background:#e0e7ff;border-color:#818cf8;color:#4f46e5}.results-modal-btn{display:flex;align-items:center;justify-content:center;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:0;padding:.375rem .5rem;cursor:pointer;color:#64748b;transition:all .2s}.results-modal-btn:hover{background:#dbeafe;border-color:#60a5fa;color:#2563eb}.results-content{margin-top:.5rem;padding:.75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:0;max-height:400px;overflow-y:auto;overflow-x:hidden;font-size:.85rem;position:relative;-webkit-overflow-scrolling:touch;cursor:default}.results-content::-webkit-scrollbar{width:8px}.results-content::-webkit-scrollbar-track{background:#f1f5f9}.results-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.results-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.results-content .markdown-content{max-width:100%;overflow-wrap:break-word;word-wrap:break-word}.results-content .markdown-content *{max-width:100%}.results-content .markdown-content pre{max-width:100%;overflow-x:auto;font-size:.75rem}.agent-result-modal-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:#0009;padding:1.5rem;overflow:hidden}.agent-result-modal{max-width:1600px;width:96vw;height:94vh;max-height:94vh;background:#fff;border-radius:0;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;overflow:hidden;pointer-events:auto}.agent-result-body{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;position:relative;-webkit-overflow-scrolling:touch;cursor:default}.agent-result-body::-webkit-scrollbar{width:10px}.agent-result-body::-webkit-scrollbar-track{background:#f8fafc}.agent-result-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:5px}.agent-result-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.agent-result-content{padding:1.5rem;background:#f8fafc;border-radius:0;min-height:100%;pointer-events:auto}.agent-result-content .markdown-content{max-width:100%;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.agent-result-content .markdown-content *{max-width:100%}.agent-result-content .markdown-content img{max-width:100%;height:auto;display:block}.agent-result-content .markdown-content pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.agent-result-content .markdown-content table{display:block;max-width:100%;overflow-x:auto}.agent-meta{display:flex;align-items:center;gap:.5rem;margin-top:.25rem}.end-result-modal-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:#0009;padding:1.5rem;overflow:hidden}.end-result-modal{max-width:1600px;width:96vw;height:94vh;max-height:94vh;background:#fff;border-radius:0;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;overflow:hidden;pointer-events:auto}.end-result-body{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;position:relative;-webkit-overflow-scrolling:touch;cursor:default}.end-result-body::-webkit-scrollbar{width:10px}.end-result-body::-webkit-scrollbar-track{background:#f8fafc}.end-result-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:5px}.end-result-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.end-result-content{padding:1.5rem;background:#f8fafc;border-radius:0;min-height:100%;pointer-events:auto}.end-result-content .markdown-content{max-width:100%;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.end-result-content .markdown-content *{max-width:100%}.end-result-content .markdown-content img{max-width:100%;height:auto;display:block}.end-result-content .markdown-content pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.end-result-content .markdown-content table{display:block;max-width:100%;overflow-x:auto}.result-meta{display:flex;align-items:center;gap:.5rem;margin-top:.25rem}.output-input{font-family:Courier New,monospace}.user-input-area{margin-top:.75rem;width:100%}.user-input-textarea{width:100%;padding:.75rem;border:1px solid #cbd5e1;border-radius:0;font-size:.85rem;font-family:inherit;resize:vertical;min-height:120px;box-sizing:border-box;line-height:1.5}.user-input-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.user-input-textarea::placeholder{color:#94a3b8}.handle{width:12px;height:12px;background:#3b82f6;border:2px solid white;border-radius:0}.handle:hover{background:#2563eb}.react-flow__node{border-radius:0}.react-flow__edge-path{stroke:#94a3b8;stroke-width:2}.react-flow__edge.selected .react-flow__edge-path{stroke:#3b82f6;stroke-width:3}.react-flow__controls{box-shadow:0 2px 8px #0000001a;border-radius:0;overflow:hidden}.react-flow__minimap{border-radius:0;box-shadow:0 2px 8px #0000001a;overflow:hidden}.react-flow__attribution{display:none}.canvas-container{position:relative}@media(max-width:1024px){.sidebar{width:250px}}@media(max-width:768px){.app-header h1{font-size:1.3rem}.sidebar{width:100%;max-height:30vh;border-right:none;border-bottom:1px solid #e2e8f0}.workflow-editor{flex-direction:column}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1.5rem;overflow:hidden}.modal-container{background:#fff;border-radius:0;box-shadow:0 20px 25px -5px #0000001a;max-width:1400px;width:95vw;max-height:92vh;display:flex;flex-direction:column;overflow:hidden;pointer-events:auto}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e2e8f0}.modal-header h2{margin:0;font-size:1.5rem;color:#1e293b}.close-btn{background:none;border:none;cursor:pointer;color:#64748b;padding:.5rem;border-radius:0;transition:all .2s}.close-btn:hover:not(:disabled){background:#eff6ff;color:#2563eb}.close-btn:disabled{opacity:.5;cursor:not-allowed}.modal-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem;min-height:0;position:relative;-webkit-overflow-scrolling:touch}.modal-body::-webkit-scrollbar{width:10px}.modal-body::-webkit-scrollbar-track{background:#f8fafc}.modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:5px}.modal-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-footer{padding:1.5rem;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:.75rem}.execution-section{background:#f8fafc;padding:1.25rem;border-radius:0;border:1px solid #e2e8f0}.execution-section h3{margin:0 0 1rem;font-size:1.1rem;color:#1e293b}.execution-input{width:100%;padding:.75rem;border:2px solid #cbd5e1;border-radius:0;font-size:.95rem;font-family:inherit;resize:vertical;transition:border-color .2s}.execution-input:focus{outline:none;border-color:#3b82f6}.execution-input:disabled{background:#f1f5f9;cursor:not-allowed}.execution-steps{display:flex;flex-direction:column;gap:1rem}.execution-step{background:#fff;padding:1rem;border-radius:0;border:2px solid #e2e8f0;transition:all .3s}.execution-step.running{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.execution-step.completed{border-color:#10b981;background:#f0fdf4}.execution-step.failed{border-color:#ef4444;background:#fef2f2}.step-header{display:flex;align-items:center;gap:.75rem;font-weight:600;color:#1e293b}.step-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.status-dot{width:8px;height:8px;border-radius:0;background:#cbd5e1}.status-dot.pending{background:#cbd5e1}.spinner{animation:spin 1s linear infinite;color:#3b82f6}.success-icon{color:#10b981}.error-icon{color:#ef4444}.step-content{margin-top:.75rem;padding-left:2rem}.loading-bar{width:100%;height:4px;background:#e2e8f0;border-radius:0;overflow:hidden;margin-bottom:.5rem}.loading-progress{height:100%;background:#3b82f6;animation:loading 1.5s ease-in-out infinite}@keyframes loading{0%{width:0%;margin-left:0%}50%{width:75%;margin-left:0%}to{width:0%;margin-left:100%}}.step-message{font-size:.9rem;color:#64748b;margin:0}.output-box,.error-box{padding:.75rem;border-radius:0;font-size:.9rem;max-height:600px;overflow-y:auto;overflow-x:hidden;position:relative;-webkit-overflow-scrolling:touch;cursor:default}.output-box::-webkit-scrollbar,.error-box::-webkit-scrollbar{width:8px}.output-box::-webkit-scrollbar-track,.error-box::-webkit-scrollbar-track{background:#f8fafc}.output-box::-webkit-scrollbar-thumb,.error-box::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.output-box::-webkit-scrollbar-thumb:hover,.error-box::-webkit-scrollbar-thumb:hover{background:#94a3b8}.output-box{background:#f0f9ff;border:1px solid #3b82f6}.output-box strong{color:#2563eb;display:block;margin-bottom:.5rem}.output-box pre{margin:0;white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Menlo,monospace;font-size:.85rem;color:#0c4a6e}.image-output-container{margin-top:.75rem}.image-preview-wrapper{position:relative;display:inline-block;max-width:100%;border-radius:.5rem;overflow:hidden;box-shadow:0 4px 12px #00000026;cursor:pointer;transition:transform .2s}.image-preview-wrapper:hover{transform:scale(1.02)}.image-preview-wrapper:hover .image-overlay-actions{opacity:1}.execution-modal-image{display:block;max-width:100%;height:auto;border-radius:.5rem}.image-overlay-actions{position:absolute;top:.5rem;right:.5rem;display:flex;gap:.5rem;opacity:0;transition:opacity .2s}.image-overlay-btn{padding:.5rem;background:#000000b3;border:none;border-radius:.375rem;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.image-overlay-btn:hover{background:#000000e6}.revised-prompt-execution{margin-top:.75rem;padding:.75rem;background:#fff;border-radius:.375rem;border:1px solid #e2e8f0;font-size:.875rem}.revised-prompt-execution strong{display:block;color:#475569;margin-bottom:.5rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.revised-prompt-execution p{margin:0;color:#64748b;line-height:1.5}.fullscreen-image-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000000f2;z-index:10000;display:flex;align-items:center;justify-content:center;padding:2rem;cursor:zoom-out;animation:fadeIn .2s ease-in-out}.fullscreen-image{max-width:100%;max-height:100%;object-fit:contain;border-radius:.5rem;box-shadow:0 20px 60px #00000080;cursor:default}.fullscreen-close-btn{position:absolute;top:1rem;right:1rem;padding:.75rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:10001}.fullscreen-close-btn:hover{background:#fff3;border-color:#ffffff4d}.fullscreen-prompt-overlay{position:absolute;bottom:2rem;left:50%;transform:translate(-50%);max-width:600px;width:90%;padding:1rem 1.5rem;background:#000000d9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:.5rem;color:#fff;font-size:.875rem;line-height:1.6;box-shadow:0 10px 40px #0000004d;z-index:10001}.fullscreen-prompt-overlay strong{display:block;color:#fbbf24;margin-bottom:.5rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.fullscreen-prompt-overlay p{margin:0;color:#ffffffe6}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.error-box{background:#fef2f2;border:1px solid #fecaca}.error-box strong{color:#991b1b;display:block;margin-bottom:.5rem}.error-box p{margin:0;color:#7f1d1d}.final-output{display:flex;flex-direction:column;gap:1rem}.output-item{background:#fff;padding:1rem;border-radius:0;border:1px solid #e2e8f0}.output-item strong{display:block;color:#1e293b;margin-bottom:.5rem}.output-item pre{margin:0;white-space:pre-wrap;word-wrap:break-word;font-family:Monaco,Menlo,monospace;font-size:.9rem;color:#475569;background:#f8fafc;padding:.75rem;border-radius:0}.node-header.file-input{background:#8b5cf6}.node-header.image-generation{background:#ec4899}.label-with-toggle{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.label-with-toggle label{margin:0}.prompt-mode-toggle{display:flex;align-items:center;gap:.5rem}.toggle-label{font-size:.75rem;color:#64748b;font-weight:500;min-width:45px;text-align:right}.toggle-switch{position:relative;display:inline-block;width:42px;height:22px;margin:0}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;inset:0;background-color:#cbd5e1;transition:.3s;border-radius:22px}.toggle-slider:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%;box-shadow:0 2px 4px #0003}.toggle-switch input:checked+.toggle-slider{background-color:#ec4899}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.toggle-switch:hover .toggle-slider{background-color:#94a3b8}.toggle-switch input:checked:hover+.toggle-slider{background-color:#db2777}.image-results-section{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.results-label{font-size:.875rem;font-weight:600;color:#475569;display:flex;align-items:center;gap:.5rem}.image-actions{display:flex;gap:.5rem;align-items:center}.image-action-btn{padding:.375rem .5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.25rem;cursor:pointer;display:flex;align-items:center;gap:.25rem;color:#64748b;font-size:.75rem;transition:all .2s;position:relative}.image-action-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;color:#475569}.image-action-btn:disabled{opacity:.5;cursor:not-allowed}.image-action-btn .copy-status{color:#10b981;font-weight:600;margin-left:.25rem}.collapse-toggle{display:flex;align-items:center;gap:.5rem;background:none;border:none;padding:0;cursor:pointer;color:#475569;font-size:.875rem;font-weight:600;transition:color .2s}.collapse-toggle:hover{color:#1e293b}.prompt-text-section{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.prompt-text-content{margin-top:.5rem;padding:.75rem;background:#f8fafc;border-radius:.25rem;font-size:.85rem;line-height:1.6;color:#475569}.prompt-text-content p{margin:0}.image-content{margin-top:.75rem;padding:.75rem;background:#f8fafc;border-radius:.375rem}.generated-image{width:100%;height:auto;border-radius:.375rem;box-shadow:0 4px 6px #0000001a;display:block}.revised-prompt{margin-top:.75rem;padding:.75rem;background:#fff;border-radius:.375rem;border:1px solid #e2e8f0;font-size:.8rem}.revised-prompt strong{display:block;color:#475569;margin-bottom:.375rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.revised-prompt p{margin:0;color:#64748b;line-height:1.5}.file-drop-zone{margin-top:.75rem;padding:1.5rem;border:2px dashed #cbd5e1;border-radius:0;background:#f8fafc;transition:all .2s;cursor:pointer;min-height:120px;display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;overflow:hidden}.file-drop-zone:hover{border-color:#8b5cf6;background:#faf5ff}.file-drop-zone.dragging{border-color:#8b5cf6;background:#f3e8ff;border-style:solid;box-shadow:0 0 0 4px #8b5cf61a}.file-drop-zone.has-file{border-style:solid;border-color:#10b981;background:#f0fdf4}.drop-zone-content{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center;width:100%;box-sizing:border-box;overflow:hidden}.drop-zone-content svg{color:#3b82f6}.file-drop-zone.has-file .drop-zone-content svg{color:#10b981}.drop-zone-content span{font-size:.9rem;color:#64748b}.drop-zone-content .filename{font-weight:600;color:#1e293b;font-size:1rem}.drop-zone-content .file-hint{font-size:.85rem;color:#94a3b8}.drop-zone-content .file-info{font-size:.8rem;color:#94a3b8}.text-preview{margin-top:.5rem;padding:.75rem;background:#fff;border-radius:0;font-size:.85rem;color:#475569;font-family:Monaco,Menlo,monospace;text-align:left;width:100%;max-height:100px;overflow:hidden;line-height:1.5;box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word}.file-preview-container{margin-top:.75rem;width:100%;max-height:400px;overflow-y:auto;overflow-x:auto;box-sizing:border-box}.file-preview-excel,.file-preview-csv{width:100%}.excel-sheet{margin-bottom:1.5rem}.excel-sheet-title{font-size:.9rem;font-weight:600;color:#1e293b;margin-bottom:.5rem;padding-bottom:.25rem;border-bottom:1px solid #e2e8f0}.excel-empty{font-size:.85rem;color:#94a3b8;font-style:italic;margin:.5rem 0}.excel-table-wrapper,.csv-table-wrapper{overflow-x:auto;border:1px solid #e2e8f0}.excel-table,.csv-table{width:100%;border-collapse:collapse;font-size:.8rem;background:#fff}.excel-table thead,.csv-table thead{background:#f8fafc}.excel-table th,.csv-table th{padding:.5rem;text-align:left;font-weight:600;color:#1e293b;border-bottom:2px solid #e2e8f0;border-right:1px solid #e2e8f0;white-space:nowrap}.excel-table th:last-child,.csv-table th:last-child{border-right:none}.excel-table td,.csv-table td{padding:.5rem;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9;color:#475569}.excel-table td:last-child,.csv-table td:last-child{border-right:none}.excel-table tbody tr:hover,.csv-table tbody tr:hover{background:#f8fafc}.excel-more,.csv-more{font-size:.75rem;color:#94a3b8;text-align:center;padding:.5rem;margin:0;font-style:italic}.file-preview-markdown,.markdown-content{padding:.75rem;background:#fff;border:1px solid #e2e8f0;font-size:.9rem;line-height:1.6;color:#1e293b}.file-preview-markdown h1,.file-preview-markdown h2,.file-preview-markdown h3,.file-preview-markdown h4,.file-preview-markdown h5,.file-preview-markdown h6,.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{margin-top:1rem;margin-bottom:.5rem;font-weight:600;color:#1e293b}.file-preview-markdown h1,.markdown-content h1{font-size:1.5rem;border-bottom:2px solid #e2e8f0;padding-bottom:.5rem}.file-preview-markdown h2,.markdown-content h2{font-size:1.25rem;border-bottom:1px solid #e2e8f0;padding-bottom:.25rem}.file-preview-markdown h3,.markdown-content h3{font-size:1.1rem}.file-preview-markdown p,.markdown-content p{margin:.75rem 0}.file-preview-markdown ul,.file-preview-markdown ol,.markdown-content ul,.markdown-content ol{margin:.75rem 0;padding-left:1.5rem}.file-preview-markdown li,.markdown-content li{margin:.25rem 0}.file-preview-markdown code,.markdown-content code{background:#f1f5f9;padding:.125rem .25rem;border-radius:0;font-family:Monaco,Menlo,monospace;font-size:.85em;color:#dc2626}.file-preview-markdown pre,.markdown-content pre{background:#f8fafc;border:1px solid #e2e8f0;padding:.75rem;overflow-x:auto;margin:.75rem 0}.file-preview-markdown pre code,.markdown-content pre code{background:transparent;padding:0;color:inherit}.file-preview-markdown blockquote,.markdown-content blockquote{border-left:4px solid #3b82f6;padding-left:1rem;margin:.75rem 0;color:#64748b;font-style:italic}.file-preview-markdown table,.markdown-content table{width:100%;border-collapse:collapse;margin:.75rem 0}.file-preview-markdown table th,.file-preview-markdown table td,.markdown-content table th,.markdown-content table td{padding:.5rem;border:1px solid #e2e8f0}.file-preview-markdown table th,.markdown-content table th{background:#f8fafc;font-weight:600}.file-preview-code{margin-top:.5rem;border:1px solid #e2e8f0;overflow:hidden}.file-preview-doc{padding:.75rem;background:#fff;border:1px solid #e2e8f0;font-size:.9rem;line-height:1.6;color:#1e293b}.file-preview-doc .doc-heading{margin-top:1rem;margin-bottom:.5rem;font-weight:600;color:#1e293b}.file-preview-doc .doc-paragraph{margin:.75rem 0}.file-preview-doc .doc-list{margin:.75rem 0;padding-left:1.5rem}.file-preview-doc .doc-list li{margin:.25rem 0}.file-preview-text{margin-top:.5rem;padding:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:0;font-size:.85rem;color:#475569;font-family:Monaco,Menlo,monospace;max-height:300px;overflow-y:auto}.file-preview-text pre{margin:0;white-space:pre-wrap;word-wrap:break-word}.image-preview{margin-top:.5rem;width:100%;max-width:100%;max-height:200px;border-radius:0;object-fit:contain;background:#fff;border:1px solid #e2e8f0;box-sizing:border-box}.file-button{display:inline-block;margin-top:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #cbd5e1;border-radius:0;font-size:.85rem;color:#475569;cursor:pointer;transition:all .2s}.file-button:hover{background:#eff6ff;border-color:#3b82f6;color:#2563eb}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.workflow-header{position:absolute;top:1rem;right:1rem;z-index:10;background:#fff;padding:.5rem 1rem;border-radius:.375rem;box-shadow:0 2px 8px #0000001a}.auto-save-indicator{display:flex;align-items:center;gap:.75rem;font-size:.875rem}.save-status{display:flex;align-items:center;gap:.5rem;color:#64748b}.save-status.saving{color:#3b82f6}.save-status.saved{color:#10b981}.force-save-btn{padding:.25rem .5rem;background:transparent;border:1px solid #e2e8f0;border-radius:.25rem;cursor:pointer;display:flex;align-items:center;color:#64748b;transition:all .2s}.force-save-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#475569}.note-node{background:linear-gradient(135deg,#fff9c4,#fff59d);border:2px solid #F9A825;border-radius:.5rem;box-shadow:0 4px 12px #00000026;min-width:250px;padding:1rem;position:relative;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.note-node.selected{box-shadow:0 0 0 2px #f57f17,0 4px 12px #0003}.note-node.collapsed{min-height:auto}.note-node:before{content:"";position:absolute;top:0;right:0;width:0;height:0;border-style:solid;border-width:0 20px 20px 0;border-color:transparent #F57F17 transparent transparent;border-radius:0 .5rem 0 0}.note-node-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;cursor:pointer;-webkit-user-select:none;user-select:none}.note-node-header svg{color:#f57f17;flex-shrink:0}.note-node-title{flex:1;font-weight:600;font-size:1rem;color:#f57f17;cursor:text}.note-node-title-input{flex:1;padding:.25rem;border:1px solid #F9A825;border-radius:.25rem;background:#fff;font-size:1rem;font-weight:600;color:#f57f17}.note-collapse-btn{padding:.25rem;background:transparent;border:none;cursor:pointer;display:flex;align-items:center;color:#f57f17;transition:all .2s;border-radius:.25rem}.note-collapse-btn:hover{background:#f57f171a}.note-node-body{margin-top:.5rem}.note-node-description{font-size:.875rem;line-height:1.6;color:#5d4037;white-space:pre-wrap;word-wrap:break-word;min-height:80px;cursor:text;padding:.5rem;border-radius:.25rem;transition:background .2s}.note-node-description:hover{background:#ffffff80}.note-node-description-input{width:100%;padding:.5rem;border:1px solid #F9A825;border-radius:.25rem;background:#fff;font-size:.875rem;line-height:1.6;color:#5d4037;font-family:inherit;resize:vertical}.note-node-resizer-line{border-color:#f9a825!important}.note-node-resizer-handle{background:#f9a825!important}.execution-item{padding:.5rem;background:#f8fafc;border-radius:0;border:1px solid #e2e8f0;transition:all .2s;display:flex;flex-direction:column;gap:.375rem}.execution-item:hover{background:#f1f5f9;border-color:#cbd5e1}.execution-item-content{display:flex;align-items:flex-start;gap:.375rem}.execution-status-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}.btn-icon{padding:.25rem .5rem;background:transparent;border:1px solid #e2e8f0;border-radius:.25rem;cursor:pointer;display:flex;align-items:center;color:#64748b;transition:all .2s}.btn-icon:hover{background:#f8fafc;border-color:#cbd5e1;color:#475569}.btn-icon.danger:hover{background:#fef2f2;border-color:#fecaca;color:#dc2626}.btn-sm{font-size:.75rem;padding:.5rem .75rem;display:flex;align-items:center;gap:.5rem;justify-content:center}.execution-detail-overlay{z-index:1000}.execution-detail-modal{width:96vw;max-width:1600px;height:92vh;max-height:none;display:flex;flex-direction:column;overflow:hidden;pointer-events:auto}.execution-detail-header{padding:1.5rem;border-bottom:2px solid #e2e8f0}.header-content{flex:1}.header-title{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}.header-title h2{margin:0;font-size:1.25rem;color:#1e293b}.execution-badges{display:flex;gap:.5rem}.badge{display:flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:500}.badge-success{background:#dcfce7;color:#166534}.badge-error{background:#fee2e2;color:#991b1b}.badge-info{background:#dbeafe;color:#1e40af}.header-meta{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b}.execution-tabs{display:flex;border-bottom:1px solid #e2e8f0;background:#f8fafc}.execution-tabs .tab{padding:.75rem 1.5rem;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;font-size:.875rem;font-weight:500;color:#64748b;transition:all .2s}.execution-tabs .tab:hover{color:#475569;background:#00000005}.execution-tabs .tab.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#fff}.execution-detail-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:1.5rem;background:#fff;min-height:0;position:relative;-webkit-overflow-scrolling:touch;cursor:default}.execution-detail-body::-webkit-scrollbar{width:10px}.execution-detail-body::-webkit-scrollbar-track{background:#f8fafc}.execution-detail-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:5px}.execution-detail-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.tab-content{height:100%}.final-result-display{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.375rem;padding:1.5rem;max-height:70vh;overflow-y:auto;overflow-x:hidden;position:relative;-webkit-overflow-scrolling:touch;cursor:default}.final-result-display::-webkit-scrollbar{width:10px}.final-result-display::-webkit-scrollbar-track{background:#f1f5f9}.final-result-display::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:5px}.final-result-display::-webkit-scrollbar-thumb:hover{background:#94a3b8}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#94a3b8;gap:.5rem}.steps-accordion{display:flex;flex-direction:column;gap:.5rem}.step-accordion-item{border:1px solid #e2e8f0;border-radius:.375rem;overflow:hidden}.step-accordion-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#f8fafc;cursor:pointer;transition:background .2s;font-size:.875rem;font-weight:500;color:#1e293b}.step-accordion-header:hover{background:#f1f5f9}.step-accordion-content{padding:1rem;background:#fff;border-top:1px solid #e2e8f0;max-height:500px;overflow-y:auto;overflow-x:hidden;position:relative;-webkit-overflow-scrolling:touch;cursor:default}.step-accordion-content::-webkit-scrollbar{width:8px}.step-accordion-content::-webkit-scrollbar-track{background:#f8fafc}.step-accordion-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.step-accordion-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.step-output{margin-bottom:1rem}.step-output strong{color:#1e293b;font-size:.875rem}.step-error{background:#fef2f2;border:1px solid #fecaca;border-radius:.25rem;padding:.75rem;color:#991b1b}.step-error strong{display:block;margin-bottom:.5rem}.workflow-config-display{display:flex;flex-direction:column;gap:1.5rem}.config-section h4{font-size:.875rem;font-weight:600;color:#1e293b;margin-bottom:.75rem}.node-list,.edge-list{display:flex;flex-direction:column;gap:.5rem}.node-item,.edge-item{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.25rem;font-size:.875rem}.node-type-badge{background:#3b82f6;color:#fff;padding:.125rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:500}.edge-item span{color:#64748b}.edge-item span:nth-child(2){color:#94a3b8;font-weight:600}.execution-history{background:#fff;border:1px solid #e2e8f0;border-radius:.375rem;overflow:hidden}.history-header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;transition:background .2s}.history-header:hover{background:#f1f5f9}.history-header h3{font-size:.9rem;font-weight:600;color:#1e293b}.history-count-badge{background:#3b82f6;color:#fff;font-size:.75rem;padding:.125rem .5rem;border-radius:1rem;font-weight:600}.history-content{padding:.75rem}.history-filter{margin-bottom:.75rem}.execution-filter-select{width:100%;padding:.5rem;border:1px solid #e2e8f0;border-radius:.25rem;background:#fff;font-size:.875rem;color:#475569;cursor:pointer}.history-loading{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:2rem;color:#94a3b8}.history-empty{display:flex;flex-direction:column;align-items:center;padding:2rem 1rem;text-align:center;color:#64748b}.history-empty p{margin:.25rem 0}.execution-list{display:flex;flex-direction:column;gap:.5rem;max-height:400px;overflow-y:auto}.execution-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border:1px solid #e2e8f0;border-radius:.25rem;transition:all .2s}.execution-item:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.execution-item-header{display:flex;align-items:flex-start;gap:.5rem;flex:1;min-width:0}.execution-status-icon{flex-shrink:0;margin-top:.125rem}.execution-item-info{flex:1;min-width:0}.execution-workflow-name{font-weight:600;font-size:.75rem;color:#1e293b;margin-bottom:.125rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Monaco,Menlo,Consolas,monospace}.execution-meta{display:flex;align-items:center;gap:.25rem;font-size:.65rem;color:#64748b;font-family:Monaco,Menlo,Consolas,monospace}.execution-item-actions{display:flex;gap:.25rem;justify-content:flex-end;margin-top:-.125rem}.execution-status-badge{padding:.0625rem .25rem;background:#e0f2fe;color:#0369a1;border-radius:.125rem;font-weight:500}.btn-icon-sm{padding:.25rem;background:#fff;border:1px solid #cbd5e1;border-radius:.25rem;cursor:pointer;transition:all .15s;display:flex;align-items:center;justify-content:center;color:#64748b}.btn-icon-sm:hover{background:#f1f5f9;border-color:#94a3b8;color:#475569}.btn-icon-sm.danger:hover{background:#fee;border-color:#fca5a5;color:#dc2626}.sidebar-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;border:none;border-radius:0;cursor:pointer;font-weight:600;font-size:.875rem;transition:all .2s;background:#3b82f6;color:#fff}.sidebar-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d}.sidebar-button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.modal-content{background:#fff;border-radius:.5rem;box-shadow:0 20px 25px -5px #0003;max-width:600px;width:90vw;max-height:85vh;display:flex;flex-direction:column;overflow:hidden}.modal-close{background:transparent;border:none;cursor:pointer;color:#64748b;padding:.5rem;border-radius:.25rem;transition:all .2s;display:flex;align-items:center}.modal-close:hover{background:#f1f5f9;color:#475569}.alert{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:.375rem;font-size:.875rem;margin-bottom:1rem}.alert-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.alert-warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}.share-generating{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3rem 2rem}.share-generating p{color:#64748b;font-size:.875rem}.share-info{margin-bottom:1.5rem}.share-description{color:#475569;font-size:.875rem;margin-bottom:1rem}.share-method{background:#f8fafc;padding:.75rem 1rem;border-radius:.375rem;border:1px solid #e2e8f0}.share-method .badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:600;margin-bottom:.5rem}.badge-blue{background:#dbeafe;color:#1e40af}.badge-purple{background:#ede9fe;color:#6b21a8}.share-method-desc{font-size:.8rem;color:#64748b;margin:0}.share-url-container{display:flex;gap:.5rem;margin-bottom:1.5rem}.share-url-input{flex:1;padding:.75rem;border:2px solid #cbd5e1;border-radius:.375rem;font-size:.875rem;font-family:monospace;color:#475569;background:#f8fafc}.share-url-input:focus{outline:none;border-color:#3b82f6;background:#fff}.share-copy-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:#3b82f6;color:#fff;border:none;border-radius:.375rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s;white-space:nowrap}.share-copy-button:hover{background:#2563eb}.share-copy-button.copied{background:#10b981}.share-privacy{background:#fffbeb;border:1px solid #fde68a;border-radius:.375rem;padding:1rem;margin-bottom:1rem}.privacy-notice{font-size:.8rem;color:#92400e;margin:0;line-height:1.5}.privacy-notice strong{font-weight:600}.share-stats{display:flex;gap:1.5rem;padding:1rem;background:#f8fafc;border-radius:.375rem;border:1px solid #e2e8f0}.stat{display:flex;flex-direction:column;gap:.25rem}.stat-label{font-size:.75rem;color:#94a3b8;font-weight:500}.stat-value{font-size:1rem;color:#1e293b;font-weight:600}.button-secondary{padding:.625rem 1.25rem;background:#64748b;color:#fff;border:none;border-radius:.375rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s}.button-secondary:hover{background:#475569}.loading-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.loading-content{background:#fff;padding:2rem 3rem;border-radius:.5rem;display:flex;flex-direction:column;align-items:center;gap:1rem;box-shadow:0 20px 25px -5px #0003}.loading-content p{font-size:1rem;color:#475569;margin:0}.error-banner{position:fixed;top:1rem;right:1rem;left:1rem;background:#fee2e2;border:2px solid #fecaca;border-radius:.5rem;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;z-index:9998;box-shadow:0 10px 15px -3px #0000001a}.error-banner p{color:#991b1b;margin:0;font-weight:500}.error-banner button{padding:.5rem 1rem;background:#dc2626;color:#fff;border:none;border-radius:.375rem;font-weight:600;cursor:pointer;transition:background .2s}.error-banner button:hover{background:#b91c1c}.settings-modal{max-width:700px}.settings-modal-large{max-width:900px;max-height:90vh}.settings-section{margin-bottom:1.5rem}.settings-section h3{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.settings-description{font-size:.875rem;color:#64748b;margin-bottom:1.5rem;line-height:1.5}.api-key-fields{display:flex;flex-direction:column;gap:1.25rem}.api-key-field{display:flex;flex-direction:column;gap:.5rem}.api-key-field label{display:flex;flex-direction:column;gap:.125rem}.api-key-field label strong{font-size:.875rem;color:#1e293b}.key-hint{font-size:.75rem;color:#94a3b8;font-weight:400}.key-input-wrapper{display:flex;gap:.5rem;align-items:center}.key-input{flex:1;padding:.625rem;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.875rem;font-family:monospace;color:#475569;background:#fff}.key-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.key-toggle{padding:.625rem;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:.375rem;cursor:pointer;font-size:1rem;transition:all .2s;min-width:40px}.key-toggle:hover{background:#e2e8f0}.settings-note{margin-top:1.5rem;padding:1rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:.375rem;font-size:.8rem;color:#0c4a6e;line-height:1.5}.settings-note strong{font-weight:600}.settings-tabs{display:flex;gap:.5rem;padding:0 1.5rem;border-bottom:1px solid #e2e8f0;background:#f8fafc}.settings-tab{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:transparent;border:none;border-bottom:2px solid transparent;color:#64748b;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.settings-tab:hover{color:#1e293b;background:#ffffff80}.settings-tab.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#fff}.profile-photo-section{display:flex;flex-direction:column;align-items:center;margin:1.5rem 0 2rem}.profile-photo-section-centered{display:flex;flex-direction:column;align-items:center;margin:0 0 2rem;padding:1.5rem 0;border-bottom:1px solid #e2e8f0}.profile-photo-container{position:relative;width:120px;height:120px;margin-bottom:.75rem}.profile-photo,.profile-photo-placeholder{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #e2e8f0}.profile-photo-placeholder{display:flex;align-items:center;justify-content:center;background:#f1f5f9;color:#94a3b8}.profile-photo-upload{position:absolute;bottom:0;right:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#1e293b;color:#fff;border:3px solid white;border-radius:50%;cursor:pointer;transition:all .2s}.profile-photo-upload:hover{background:#0f172a;transform:scale(1.05)}.profile-photo-upload-overlay{position:absolute;bottom:0;right:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#1e293b;color:#fff;border:3px solid white;border-radius:50%;cursor:pointer;transition:all .2s}.profile-photo-upload-overlay:hover{background:#0f172a;transform:scale(1.05)}.photo-hint{font-size:.75rem;color:#94a3b8;text-align:center}.form-field{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.form-field label{font-size:.875rem;font-weight:500;color:#475569}.form-input{padding:.625rem;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.875rem;color:#1e293b;background:#fff;transition:all .2s}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-input::placeholder{color:#94a3b8}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.api-keys-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #e2e8f0}.api-keys-section h4{font-size:.95rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.subscription-section{margin-top:2rem}.subscription-section h4{font-size:.95rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.plan-card{padding:1.5rem;border:2px solid #e2e8f0;border-radius:.5rem;background:#fff}.plan-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.plan-header h5{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0}.plan-badge{padding:.25rem .75rem;background:#dcfce7;color:#166534;border-radius:9999px;font-size:.75rem;font-weight:600}.plan-description{color:#64748b;font-size:.875rem;margin-bottom:1rem}.plan-features{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.plan-features li{font-size:.875rem;color:#475569;padding-left:.25rem}.mcp-servers-list{display:flex;flex-direction:column;gap:1rem}.mcp-server-card{padding:1.25rem;border:2px solid #e2e8f0;border-radius:.5rem;background:#fff;transition:all .2s}.mcp-server-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0000000d}.mcp-server-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.mcp-server-title{display:flex;align-items:center;gap:.75rem}.mcp-server-toggle{width:20px;height:20px;cursor:pointer}.mcp-server-title h4{font-size:1rem;font-weight:600;color:#1e293b;margin:0}.mcp-status{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600}.mcp-status.enabled{background:#dcfce7;color:#166534}.mcp-status.disabled{background:#f1f5f9;color:#64748b}.mcp-server-config{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.75rem}.mcp-server-name-input{font-size:1rem;font-weight:600;color:#1e293b;border:1px solid transparent;background:transparent;padding:.25rem .5rem;border-radius:.25rem;transition:all .2s}.mcp-server-name-input:hover{border-color:#cbd5e1;background:#f8fafc}.mcp-server-name-input:focus{outline:none;border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61a}.mcp-remove-btn{padding:.375rem;background:transparent;border:1px solid #cbd5e1;border-radius:.375rem;color:#ef4444;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.mcp-remove-btn:hover{background:#fee2e2;border-color:#ef4444}.sidebar-footer{margin-top:auto}.system-info-modal{max-width:700px;max-height:85vh}.system-info-body{max-height:calc(85vh - 140px);overflow-y:auto}.info-section{margin-bottom:1.75rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.info-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.info-section h3{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:.75rem}.info-section p{font-size:.875rem;color:#475569;line-height:1.6;margin-bottom:.75rem}.info-section p:last-child{margin-bottom:0}.tech-detail{font-size:.8rem;color:#64748b;line-height:1.7;font-family:Monaco,Menlo,Consolas,monospace;background:#f8fafc;padding:.75rem;border-radius:.375rem;border-left:3px solid #3b82f6}.tech-detail strong{color:#1e293b;font-weight:600}.info-note{display:flex;align-items:flex-start;gap:.5rem;padding:.625rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:.375rem;margin-top:.75rem;font-size:.75rem;color:#0c4a6e;line-height:1.5}.info-note svg{flex-shrink:0;margin-top:.125rem}.info-button{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;background:#e0f2fe;border:1px solid #bae6fd;border-radius:50%;cursor:pointer;transition:all .2s;color:#0369a1;vertical-align:middle}.info-button:hover{background:#bae6fd;border-color:#7dd3fc;transform:scale(1.1)}.profile-fab-button{width:36px;height:36px;border-radius:50%;border:2px solid #cbd5e1;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0;overflow:hidden;color:#64748b}.profile-fab-button:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f633}.profile-fab-photo{width:100%;height:100%;object-fit:cover;border-radius:50%}.profile-fab-initials{font-size:.75rem;font-weight:600;color:#64748b;font-family:Monaco,Menlo,Consolas,monospace}.profile-modal{max-width:550px}.profile-photo-section{display:flex;justify-content:center;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #e2e8f0}.profile-photo-upload{display:flex;flex-direction:column;align-items:center;gap:.75rem}.profile-photo-preview{width:100px;height:100px;border-radius:50%;object-fit:cover;border:3px solid #e2e8f0}.profile-photo-placeholder{width:100px;height:100px;border-radius:50%;border:3px dashed #cbd5e1;display:flex;align-items:center;justify-content:center;color:#94a3b8;background:#f8fafc}.photo-upload-btn{padding:.5rem 1rem;background:#fff;border:1px solid #cbd5e1;border-radius:.375rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#475569;transition:all .2s}.photo-upload-btn:hover{background:#f1f5f9;border-color:#94a3b8}.profile-form{display:flex;flex-direction:column;gap:1rem}.profile-name-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.profile-input{width:100%;padding:.625rem;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.875rem;color:#475569}.profile-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.profile-textarea{width:100%;padding:.625rem;border:1px solid #cbd5e1;border-radius:.375rem;font-size:.875rem;color:#475569;font-family:inherit;resize:vertical;min-height:120px}.profile-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.profile-note{margin-top:.5rem;padding:.75rem;background:#f0f9ff;border:1px solid #bae6fd;border-radius:.375rem;font-size:.75rem;color:#0c4a6e;line-height:1.5}.profile-note strong{font-weight:600}.info-select optgroup{font-weight:700;font-size:.8rem;color:#1e293b;background:#f8fafc;padding-top:.25rem;margin-top:.25rem}.info-select option{padding:.25rem .5rem;font-size:.8rem}.info-select option:disabled{color:#cbd5e1;font-size:.7rem;text-align:center}.llm-profile-card{margin-bottom:2rem;padding:1.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;box-shadow:0 1px 3px #0000000d}.llm-profile-card h4{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:.5rem}.llm-profile-description{font-size:.875rem;color:#64748b;margin-bottom:1.5rem;line-height:1.5}.form-hint{font-size:.75rem;color:#94a3b8;margin-top:.25rem;font-style:italic}.token-slider{-webkit-appearance:none;appearance:none;width:100%;height:6px;background:#e2e8f0;border-radius:3px;outline:none;cursor:pointer}.token-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#3b82f6;border-radius:50%;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a}.token-slider::-webkit-slider-thumb:hover{background:#2563eb;transform:scale(1.1);box-shadow:0 2px 8px #3b82f64d}.token-slider::-moz-range-thumb{width:20px;height:20px;background:#3b82f6;border-radius:50%;border:none;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a}.token-slider::-moz-range-thumb:hover{background:#2563eb;transform:scale(1.1);box-shadow:0 2px 8px #3b82f64d}.token-adjust-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:.375rem;color:#475569;font-size:1.125rem;font-weight:600;cursor:pointer;transition:all .2s;flex-shrink:0}.token-adjust-btn:hover{background:#e2e8f0;border-color:#94a3b8;color:#1e293b}.token-adjust-btn:active{transform:scale(.95)}
