body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.react-flow{direction:ltr}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{cursor:grab;z-index:1}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:grabbing}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.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{overflow:visible;pointer-events:none}.react-flow__connection-path,.react-flow__edge-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{cursor:pointer;pointer-events:visibleStroke}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray: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;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;cursor:grab;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;user-select:none}.react-flow__node.dragging{cursor:grabbing}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{background:#1a192b;border:1px solid #fff;border-radius:100%;height:6px;min-height:5px;min-width:5px;pointer-events:none;position:absolute;width:6px}.react-flow__handle.connectionindicator{cursor:crosshair;pointer-events:all}.react-flow__handle-bottom{bottom:-4px;left:50%;top:auto;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{left:-4px;top:50%;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{margin:15px;position:absolute;z-index:5}.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:translateX(-50%)}.react-flow__attribution{background:#ffffff80;font-size:10px;margin:0;padding:2px 3px}.react-flow__attribution a{color:#999;text-decoration:none}.react-flow__edgelabel-renderer{height:100%;pointer-events:none;position:absolute;-webkit-user-select:none;user-select:none;width:100%}.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-group,.react-flow__node-input,.react-flow__node-output{background-color:#fff;border:1px solid #1a192b;border-radius:3px;color:#222;font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.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-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.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{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 #0059dccc}.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{align-items:center;background:#fefefe;border:none;border-bottom:1px solid #eee;box-sizing:initial;cursor:pointer;display:flex;height:16px;justify-content:center;padding:5px;-webkit-user-select:none;user-select:none;width:16px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{max-height:12px;max-width:12px;width:100%}.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.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:#3367d9;border:1px solid #fff;border-radius:1px;height:4px;transform:translate(-50%,-50%);width:4px}.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.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border:0 solid #3367d9}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{height:100%;top:0;transform:translate(-50%);width:1px}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;left:0;transform:translateY(-50%);width:100%}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.brick-node{background:#fff;border:2px solid #cbd5e1;border-radius:8px;box-shadow:0 2px 4px #0000001a;min-height:80px;min-width:160px;padding:12px;position:relative;transition:all .2s ease}.brick-node:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-1px)}.brick-node.selected{border-width:3px;box-shadow:0 4px 12px #0003}.brick-node-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;gap:8px;margin-bottom:8px;padding-bottom:6px}.brick-icon{font-size:16px}.brick-type{color:#334155;font-size:12px;font-weight:600}.brick-node-content{color:#64748b;font-size:10px}.brick-property{display:flex;justify-content:space-between;margin-bottom:2px}.property-key{font-weight:500}.property-value{font-weight:400;max-width:60px;overflow:hidden;text-overflow:ellipsis}.brick-handle{border:2px solid #fff!important;border-radius:50%!important;box-shadow:0 1px 3px #0003!important;height:8px!important;width:8px!important}.brick-handle:hover{transform:scale(1.2)}.brick-palette{background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;width:280px}.palette-header{align-items:center;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:16px}.palette-header h3{color:#1e293b;font-size:16px;font-weight:600;margin:0}.header-buttons{display:flex;gap:8px}.clear-button,.template-button{background:#fff;border:1px solid #e2e8f0;border-radius:4px;cursor:pointer;font-size:14px;padding:6px 8px;transition:all .2s ease}.clear-button:hover,.template-button:hover{background:#f1f5f9;border-color:#cbd5e1}.category-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;flex-wrap:wrap;gap:4px;padding:8px}.category-tab{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;display:flex;flex:1 1;font-size:12px;gap:4px;min-width:0;padding:6px 10px;transition:all .2s ease}.category-tab:hover{background:#f1f5f9;border-color:#cbd5e1}.category-tab.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.category-icon{font-size:14px}.category-label{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brick-list{flex:1 1;overflow-y:auto;padding:8px}.brick-item{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;display:flex;gap:12px;margin-bottom:4px;padding:10px 12px;transition:all .2s ease;-webkit-user-select:none;user-select:none}.brick-item:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateX(2px)}.brick-item:active{background:#f1f5f9;transform:translateX(0)}.brick-item-icon{font-size:18px;min-width:24px;text-align:center}.brick-item-label{color:#334155;flex:1 1;font-size:13px;font-weight:500}.brick-list::-webkit-scrollbar{width:6px}.brick-list::-webkit-scrollbar-track{background:#f1f5f9}.brick-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.brick-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.template-list{flex:1 1;overflow-y:auto;padding:8px}.template-list h4{color:#374151;font-size:14px;font-weight:600;margin:0 0 12px;padding:0 4px}.template-item{background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;margin-bottom:8px;padding:12px;transition:all .2s ease}.template-item:hover{background:#f8fafc;border-color:#cbd5e1;transform:translateX(2px)}.template-name{color:#1e293b;font-size:14px;font-weight:600;margin-bottom:4px}.template-description{color:#64748b;font-size:12px;line-height:1.4}.brick-canvas-container{background:#f8f9fa;display:flex;height:100vh}.brick-canvas{flex:1 1;position:relative}.react-flow__node{cursor:pointer}.react-flow__edge-path{stroke:#64748b;stroke-width:2}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}@keyframes dashdraw{to{stroke-dashoffset:-10}}.property-editor{gap:16px}.property-editor,.property-field{display:flex;flex-direction:column}.property-field{gap:6px}.property-label{color:#374151;font-size:12px;font-weight:500;text-transform:capitalize}.property-input input[type=number],.property-input input[type=text],.property-input select,.property-input textarea{background:#fff;border:1px solid #d1d5db;border-radius:6px;box-sizing:border-box;font-size:13px;padding:8px 12px;transition:border-color .2s ease;width:100%}.property-input input[type=number]:focus,.property-input input[type=text]:focus,.property-input select:focus,.property-input textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.property-input textarea{font-family:inherit;resize:vertical}.checkbox-label{align-items:center;cursor:pointer;display:flex;position:relative;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{height:0;opacity:0;position:absolute;width:0}.checkmark{align-items:center;background:#fff;border:2px solid #d1d5db;border-radius:4px;display:flex;height:18px;justify-content:center;transition:all .2s ease;width:18px}.checkbox-label input[type=checkbox]:checked+.checkmark{background:#3b82f6;border-color:#3b82f6}.checkbox-label input[type=checkbox]:checked+.checkmark:after{color:#fff;content:"✓";font-size:12px;font-weight:700}.checkbox-label:hover .checkmark{border-color:#9ca3af}.checkbox-label input[type=checkbox]:checked:hover+.checkmark{background:#2563eb;border-color:#2563eb}.property-input input[type=number]{-moz-appearance:textfield}.property-input input[type=number]::-webkit-inner-spin-button,.property-input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.property-input select{cursor:pointer}.property-input select option{padding:4px 8px}.inspector-panel{background:#fff;border-left:1px solid #e2e8f0;display:flex;flex-direction:column;height:100vh;overflow:hidden;width:320px}.inspector-panel.collapsed{width:40px}.inspector-header{align-items:center;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:16px}.inspector-header h3{color:#1e293b;font-size:16px;font-weight:600;margin:0}.inspector-content{flex:1 1;overflow-y:auto;padding:16px}.inspector-empty{align-items:center;display:flex;flex:1 1;justify-content:center}.empty-state{color:#64748b;text-align:center}.empty-state p{font-size:14px;margin:0}.brick-info{border-bottom:1px solid #f1f5f9;margin-bottom:24px;padding-bottom:16px}.brick-title{align-items:center;display:flex;gap:8px;margin-bottom:8px}.brick-icon{font-size:20px}.brick-name{color:#1e293b;font-size:16px;font-weight:600}.brick-category{color:#64748b;font-size:12px;font-weight:500;text-transform:uppercase}.inspector-section{margin-bottom:24px}.inspector-section h4{color:#374151;font-size:14px;font-weight:600;margin:0 0 12px}.io-list{space-y:8px}.io-item{align-items:center;background:#f8fafc;border-radius:6px;display:flex;justify-content:space-between;margin-bottom:8px;padding:8px 12px}.io-info{display:flex;flex-direction:column;gap:2px}.io-name{color:#1e293b;font-size:13px;font-weight:500}.io-type{color:#64748b;font-size:11px;text-transform:uppercase}.io-status{font-size:12px}.io-status.connected{color:#10b981}.io-status.disconnected{color:#9ca3af}.io-value{background:#f1f5f9;border-radius:4px;color:#374151;font-family:monospace;font-size:12px;max-width:80px;overflow:hidden;padding:2px 6px;text-overflow:ellipsis}.inspector-actions{border-top:1px solid #f1f5f9;margin-top:24px;padding-top:16px}.delete-button{background:#fee2e2;border:1px solid #fecaca;border-radius:6px;color:#dc2626;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:all .2s ease;width:100%}.delete-button:hover{background:#fecaca;border-color:#f87171}.inspector-content::-webkit-scrollbar{width:6px}.inspector-content::-webkit-scrollbar-track{background:#f1f5f9}.inspector-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.inspector-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.scenario-builder{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.parameter-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-bottom:16px}.parameter-group{display:flex;flex-direction:column;gap:4px}.parameter-group label{color:#374151;font-size:11px;font-weight:500;text-transform:uppercase}.parameter-group input{background:#fff;border:1px solid #d1d5db;border-radius:4px;font-size:12px;padding:6px 8px;transition:border-color .2s ease}.parameter-group input:focus{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a;outline:none}.scenario-preview{border-top:1px solid #e2e8f0;padding-top:12px}.scenario-preview h5{color:#374151;font-size:12px;font-weight:600;margin:0 0 8px}.preview-stats{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.stat{background:#fff;border:1px solid #e2e8f0;border-radius:4px;display:flex;flex-direction:column;gap:2px;padding:6px 8px}.stat-label{color:#64748b;font-size:10px;text-transform:uppercase}.stat-value{color:#1e293b;font-size:12px;font-weight:600}.simulation-panel{background:#fff;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;height:300px;transition:height .3s ease}.simulation-panel.collapsed{height:40px}.simulation-header{align-items:center;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;min-height:40px;padding:12px 16px}.simulation-header h3{color:#1e293b;font-size:16px;font-weight:600;margin:0}.toggle-button{background:none;border:none;border-radius:4px;color:#64748b;cursor:pointer;font-size:14px;padding:4px;transition:all .2s ease}.toggle-button:hover{background:#e2e8f0;color:#1e293b}.simulation-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex}.tab{background:none;border:none;color:#64748b;cursor:pointer;flex:1 1;font-size:13px;font-weight:500;padding:8px 16px;transition:all .2s ease}.tab:hover{background:#f1f5f9;color:#374151}.tab.active{background:#fff;border-bottom:2px solid #3b82f6;color:#1e293b}.simulation-content{flex:1 1;overflow-y:auto;padding:16px}.scenario-section{margin-bottom:20px}.scenario-section h4{color:#374151;font-size:14px;font-weight:600;margin:0 0 12px}.scenario-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin-bottom:16px}.scenario-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;padding:12px;text-align:center;transition:all .2s ease}.scenario-card:hover{border-color:#cbd5e1;box-shadow:0 2px 4px #0000000d}.scenario-card.selected{background:#eff6ff;border-color:#3b82f6;box-shadow:0 2px 8px #3b82f626}.scenario-icon{font-size:20px;margin-bottom:4px}.scenario-name{color:#1e293b;font-size:12px;font-weight:600;margin-bottom:4px}.scenario-details{color:#64748b;display:flex;font-size:10px;justify-content:space-between}.simulation-controls{display:flex;flex-direction:column;gap:8px}.run-button{align-items:center;background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;justify-content:center;padding:10px 20px;transition:all .2s ease}.run-button:hover:not(:disabled){background:#2563eb}.run-button:disabled{background:#9ca3af;cursor:not-allowed}.spinner{animation:spin 1s linear infinite;display:inline-block}.warning{color:#f59e0b;font-size:12px;margin:0;text-align:center}.results-content{display:flex;flex-direction:column;gap:12px}.results-content h4{color:#374151;font-size:14px;font-weight:600;margin:0 0 8px}.result-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.result-header{color:#1e293b;margin-bottom:8px}.result-metrics{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr}.metric{align-items:center;display:flex;font-size:12px;justify-content:space-between}.metric-label{color:#64748b}.empty-results{align-items:center;color:#64748b;display:flex;flex-direction:column;height:120px;justify-content:center;text-align:center}.empty-icon{font-size:32px;margin-bottom:8px}.empty-results p{font-size:14px;margin:0}.empty-subtitle{font-size:12px!important}.simulation-content::-webkit-scrollbar{width:4px}.simulation-content::-webkit-scrollbar-track{background:#f1f5f9}.simulation-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.simulation-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.payoff-chart{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;height:100%;overflow:hidden}.chart-container{flex:1 1;min-height:300px;position:relative}.chart-empty,.chart-loading{align-items:center;color:#64748b;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center}.loading-spinner{animation:spin 1s linear infinite;font-size:32px;margin-bottom:16px}.empty-icon{font-size:48px;margin-bottom:16px}.chart-empty p,.chart-loading p{font-size:16px;font-weight:500;margin:0}.empty-subtitle{color:#9ca3af!important;font-size:14px!important;font-weight:400!important;margin-top:8px!important}.chart-summary{background:#f8fafc;border-top:1px solid #e2e8f0;padding:16px}.summary-metrics{display:flex;gap:16px;overflow-x:auto}.metric-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;min-width:200px;padding:12px}.metric-label{color:#374151;font-size:12px;font-weight:600;margin-bottom:8px;text-align:center}.metric-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr}.metric-item{display:flex;flex-direction:column;gap:2px;text-align:center}.metric-title{color:#64748b;font-size:10px;font-weight:500;text-transform:uppercase}.metric-value{color:#1e293b;font-size:12px;font-weight:600}.metric-value.positive{color:#10b981}.metric-value.negative{color:#ef4444}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.summary-metrics::-webkit-scrollbar{height:4px}.summary-metrics::-webkit-scrollbar-track{background:#f1f5f9}.summary-metrics::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.summary-metrics::-webkit-scrollbar-thumb:hover{background:#94a3b8}.app{background:#f8fafc;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;height:100vh}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e2e8f0;color:#fff;padding:16px 24px}.app-header h1{font-size:24px;font-weight:700;margin:0 0 4px}.app-subtitle{font-size:14px;font-weight:400;margin:0;opacity:.9}.app-content{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.main-section{display:flex;flex:1 1;min-height:0}.canvas-section{flex:1 1;min-width:0}.inspector-section{flex-shrink:0}.bottom-section{border-top:1px solid #e2e8f0;display:flex;height:300px}.chart-section{background:#f8fafc;flex:1 1;min-width:0;padding:16px}.simulation-section{flex-shrink:0;width:400px}
/*# sourceMappingURL=main.4e2b3066.css.map*/