.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.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__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.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.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.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-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.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:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.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-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.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{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.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:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.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.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.fe-value{cursor:pointer}.fe-value[data-active]{outline:1px solid var(--accent);outline-offset:-1px;background:color-mix(in srgb, var(--accent) 14%, transparent);cursor:text;border-radius:3px}.model-bar{border-bottom:1px solid var(--border);background:var(--social-bg);scrollbar-width:none;align-items:center;gap:6px;height:36px;padding:0 10px;font-size:13px;display:flex;overflow:auto hidden}.model-bar::-webkit-scrollbar{display:none}.model-bar-title{color:var(--accent);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;max-width:260px;font-weight:600;display:inline-flex;overflow:hidden}.model-bar-title.is-muted{color:var(--text);opacity:.7;font-weight:500}.model-bar-close{width:20px;height:20px;color:var(--accent);opacity:.7;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.model-bar-close:hover{opacity:1;background:color-mix(in srgb, var(--accent) 18%, transparent)}.model-bar-sep{background:var(--border);width:1px;height:18px;margin:0 2px}.model-tool{white-space:nowrap;height:24px;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:3px;flex:none;align-items:center;gap:5px;padding:0 8px;font-size:13px;display:inline-flex}.model-tool:hover{background:var(--bg);border-color:var(--border)}.model-tool:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.model-tool.is-run{color:var(--accent);font-weight:600}.model-tool.is-run:hover{background:var(--bg);border-color:var(--accent-border)}.model-tool:disabled{opacity:.55;cursor:default}.model-tool.is-drawing{background:var(--accent-bg);border-color:var(--accent-border);color:var(--accent)}.model-tool.is-drawing:hover{background:var(--accent-bg);border-color:var(--accent-border)}.model-scenario{background:var(--bg);height:24px;color:var(--text);border:1px solid var(--border);border-radius:3px;padding:0 4px;font-size:12px}.draw-split{align-items:center;display:inline-flex;position:relative}.draw-split .draw-main{border-top-right-radius:0;border-bottom-right-radius:0}.draw-split .draw-caret{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px;padding:0 4px}.draw-split .draw-caret.active{background:var(--bg);border-color:var(--border)}.draw-menu{z-index:1000;background:var(--bg);border:1px solid var(--border);border-radius:4px;flex-direction:column;gap:1px;min-width:148px;padding:4px;display:flex;position:fixed;box-shadow:0 4px 12px #0000002e}.draw-item{text-align:left;width:100%;height:26px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:3px;align-items:center;gap:6px;padding:0 8px;font-size:13px;display:inline-flex}.draw-item:hover{background:var(--social-bg)}.draw-item.is-sel{color:var(--accent);font-weight:600}.draw-item-gap{width:13px}.model-bar-status{align-items:center;margin-left:auto;display:inline-flex}.model-status{cursor:pointer;border:1px solid #0000;border-radius:10px;padding:2px 10px;font-size:11px;font-weight:600}.model-status.is-running{background:var(--accent-bg);border-color:var(--accent-border);color:var(--accent)}.model-status.is-ok{color:#34d399;background:#34d3992e}.model-status.is-bad{background:color-mix(in srgb, var(--danger) 20%, transparent);color:var(--danger)}.model-status:hover{filter:brightness(1.1)}.model-dirty{color:var(--danger);align-self:center;padding:0 2px;font-size:16px;font-weight:800;line-height:1}.model-bar.is-result{background:color-mix(in srgb, var(--accent) 7%, var(--social-bg));box-shadow:inset 3px 0 0 var(--accent)}.model-bar.is-result .model-bar-title{color:var(--accent)}.model-result-failed{color:var(--danger);font-weight:600}.model-tool.is-exit{color:var(--text);border-color:var(--border)}.model-tool.is-exit:hover{background:var(--bg);border-color:var(--accent-border)}.model-units-select{height:24px;color:var(--text);background:var(--bg);border:1px solid var(--border);cursor:pointer;border-radius:3px;padding:0 6px;font-size:12px}.model-units-select:hover{border-color:var(--accent,#6366f1)}.model-units-select:focus-visible{border-color:var(--accent,#6366f1);outline:none}.result-empty{color:var(--text);opacity:.7;text-align:center;padding:10px 0;font-size:12px}.result-readout-row{justify-content:space-between;align-items:baseline;gap:8px;padding:1px 0;font-size:12px;display:flex}.result-readout-label{color:var(--text);opacity:.75}.result-readout-value{font-variant-numeric:tabular-nums;color:var(--text-h);font-weight:600}.lg-select{margin-bottom:8px}.lg-chart{width:100%;height:auto;display:block}.lg-axis{fill:var(--text);opacity:.6;font-size:8px}.lg-axis-unit{opacity:.85;font-weight:600}.lg-frame{stroke:var(--border);stroke-width:1px}.lg-line{stroke:var(--accent);stroke-width:1.5px}.lg-cursor{stroke:var(--text);stroke-width:1px;stroke-dasharray:2 2;opacity:.5}.lg-dot{fill:var(--accent)}.model-attr{flex-direction:column;height:100%;min-height:0;display:flex;overflow-y:auto}.model-attr-head{border-bottom:1px solid var(--border);background:var(--bg);z-index:1;justify-content:space-between;align-items:flex-start;gap:8px;padding:10px 12px;display:flex;position:sticky;top:0}.model-attr-id{flex-direction:column;gap:2px;min-width:0;display:flex}.model-attr-name{color:var(--text-h);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:600;overflow:hidden}.model-attr-type{color:var(--text);opacity:.7;text-transform:capitalize;font-size:11px}.model-attr-head-actions{flex:none;align-items:center;gap:2px;display:inline-flex}.model-attr-head-actions button{width:26px;height:26px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.model-attr-head-actions button:hover{background:var(--social-bg)}.model-attr-head-actions button.is-danger:hover{color:var(--danger)}.model-attr-section{border-bottom:1px solid var(--border)}.model-attr-section-head{background:var(--social-bg);width:100%;color:var(--text-h);cursor:pointer;text-align:left;border:none;align-items:center;gap:6px;padding:8px 12px;font-size:13px;font-weight:600;display:flex}.model-attr-section-head:hover{background:var(--border)}.model-attr-fields{flex-direction:column;gap:6px;padding:6px 12px 10px;display:flex}.model-attr-row{grid-template-columns:1fr 1.1fr;align-items:center;gap:8px;display:grid}.model-attr-namefield{border-bottom:1px solid var(--border);grid-template-columns:1fr 1.1fr;align-items:center;gap:8px;padding:8px 12px;display:grid}.model-attr-namefield .model-attr-label{color:var(--text-h);font-weight:600}.model-attr-label{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.model-attr-unit{opacity:.6}.model-attr-input{box-sizing:border-box;background:var(--bg);width:100%;color:var(--text-h);border:1px solid var(--border);border-radius:4px;padding:4px 8px;font-size:13px}.model-attr-value{box-sizing:border-box;width:100%;color:var(--text-h);white-space:nowrap;text-overflow:ellipsis;border:1px solid #0000;border-radius:4px;padding:4px 8px;font-size:13px;display:block;overflow:hidden}.model-attr-input:focus{border-color:var(--accent);outline:none}.model-attr-input:disabled{opacity:.7;cursor:default}.model-attr-input.is-mismatch{border-color:var(--danger)}.model-attr-create-ref{text-align:left;color:var(--text);background:var(--accent-bg);border:1px solid var(--border);cursor:pointer;border-radius:3px;grid-column:2;justify-self:stretch;padding:3px 8px;font-size:12px}.model-attr-create-ref:hover{border-color:var(--accent);color:var(--text-h)}.model-attr-check{width:16px;height:16px;accent-color:var(--accent)}.model-attr--embedded{height:auto;overflow:visible}.model-attr--embedded .model-attr-head{position:static}.model-attr-mixed{flex-direction:column;gap:4px;min-width:0;display:flex}.model-attr-name svg{vertical-align:-2px;margin-right:4px}.type-band{border-bottom:1px solid var(--border)}.type-band-head{background:var(--social-bg);border-left:3px solid var(--accent);align-items:center;gap:4px;display:flex}.type-band-toggle{min-width:0;color:var(--text-h);cursor:pointer;text-align:left;background:0 0;border:none;flex:auto;align-items:center;gap:6px;padding:9px 10px;font-size:13px;font-weight:700;display:flex}.type-band-toggle:hover{background:var(--border)}.type-band-label{text-overflow:ellipsis;white-space:nowrap;flex:none;overflow:hidden}.type-band-nav{align-items:center;gap:3px;min-width:0;display:inline-flex}.type-band-step{width:18px;height:18px;color:var(--text);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.type-band-step:hover{background:var(--bg);color:var(--text-h)}.type-band-pos{font-variant-numeric:tabular-nums;color:var(--text);opacity:.8;font-size:11px;font-weight:600}.type-band-name{color:var(--accent);text-overflow:ellipsis;white-space:nowrap;margin-left:4px;font-size:12px;font-weight:600;overflow:hidden}.type-band-count{color:var(--text);opacity:.7;font-size:11px;font-weight:500}.type-band-actions{flex:none;align-items:center;gap:2px;padding-right:8px;display:inline-flex}.type-band-actions button{width:24px;height:24px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:0;display:inline-flex}.type-band-actions button:hover{background:var(--bg)}.type-band-actions button.is-danger:hover{color:var(--danger)}.type-band-body{border-left:3px solid var(--border);margin-left:5px;padding-left:12px}.type-band-body .model-attr-section{border-bottom:none}.type-band-body .model-attr-section+.model-attr-section{border-top:1px solid var(--border)}.type-band-body .model-attr-section-head{background:var(--bg);font-size:12px;font-weight:600}.type-band-body .model-attr-section-head:hover{background:var(--social-bg)}.demand-cat-row{grid-template-columns:1.1fr 1fr auto;gap:4px}.demand-cat-row .model-attr-input{min-width:0}.demand-cat-remove{cursor:pointer;color:var(--text-dim,#888);background:0 0;border:none;align-items:center;padding:2px;display:inline-flex}.demand-cat-remove:hover{color:var(--danger,#c33)}.demand-cat-add{cursor:pointer;color:var(--text-dim,#888);background:0 0;border:none;align-items:center;gap:4px;margin-top:2px;padding:2px 6px;font-size:12px;display:inline-flex}.demand-cat-add:hover{color:var(--text,#ddd)}.demand-cat-mode{color:var(--text-dim,#9a9a9a);white-space:nowrap;background:#8080801f;border-radius:8px;flex:none;padding:3px 6px;font-size:10px;line-height:1}.demand-cat-mode.is-tagged{color:var(--accent,#4ea1ff);background:#4ea1ff1f}.demand-cat-units{color:var(--text-dim,#9a9a9a);margin-left:6px;font-size:10px;font-weight:400}.swmm-report{flex-direction:column;width:760px;max-width:92vw;height:70vh;max-height:80vh;display:flex}.swmm-report-head{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:12px 16px;display:flex}.swmm-report-title{color:var(--text-h);font-weight:600}.swmm-report-exit{color:#34d399;background:#34d39933;border-radius:10px;padding:1px 8px;font-size:11px}.swmm-report-exit.is-bad{background:color-mix(in srgb, var(--danger) 22%, transparent);color:var(--danger)}.swmm-report-body{font-family:var(--mono);color:var(--text);white-space:pre;flex:auto;margin:0;padding:12px 16px;font-size:11px;line-height:1.5;overflow:auto}.swmm-report-foot{border-top:1px solid var(--border);justify-content:flex-end;padding:10px 16px;display:flex}.swmm-report-close{border:1px solid var(--border);background:var(--bg);color:var(--text);cursor:pointer;border-radius:4px;padding:6px 16px;font-size:13px}.swmm-report-close:hover{background:var(--social-bg)}.sim-log{flex-direction:column;height:100%;min-height:0;display:flex}.sim-log-bar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:4px 10px;font-size:12px;display:flex}.sim-log-count{color:var(--text)}.sim-log-clear-all{border:1px solid var(--border);background:var(--bg);color:var(--text);cursor:pointer;border-radius:3px;align-items:center;gap:4px;padding:2px 8px;font-size:12px;display:inline-flex}.sim-log-clear-all:hover{background:var(--social-bg)}.sim-log-rows{flex:auto;min-height:0;overflow-y:auto}.sim-run{border-bottom:1px solid var(--border);align-items:center;gap:10px;height:26px;padding:0 10px;font-size:12px;display:flex}.sim-run:hover{background:var(--social-bg)}.sim-run-status{flex:none;display:inline-flex}.sim-ok{color:#34d399}.sim-bad{color:var(--danger)}.sim-spin{color:var(--accent);animation:.9s linear infinite sim-spin}@keyframes sim-spin{to{transform:rotate(360deg)}}.sim-run-time{font-family:var(--mono);color:var(--text);opacity:.7;flex:none}.sim-run-label{text-overflow:ellipsis;white-space:nowrap;max-width:220px;color:var(--text-h);flex:none;font-weight:600;overflow:hidden}.sim-run-scenario{font-family:var(--mono);border:1px solid var(--border);color:var(--text);opacity:.85;white-space:nowrap;border-radius:3px;flex:none;padding:1px 6px;font-size:11px}.sim-run-meta{min-width:0;font-family:var(--mono);color:var(--text);flex:auto}.sim-run-msg{color:var(--danger)}.sim-run-done{opacity:.85}.sim-run-progress{background:var(--social-bg);vertical-align:middle;border-radius:7px;width:180px;max-width:40%;height:14px;display:inline-block;position:relative;overflow:hidden}.sim-run-progress-fill{background:var(--accent-bg);border-right:1px solid var(--accent);transition:width .15s linear;position:absolute;inset:0 auto 0 0}.sim-run-progress-text{color:var(--accent);justify-content:center;align-items:center;font-size:10px;display:flex;position:absolute;inset:0}.sim-run-actions{flex:none;align-items:center;gap:6px;margin-left:auto;display:inline-flex}.sim-run-report{border:1px solid var(--border);background:var(--bg);color:var(--text);cursor:pointer;border-radius:3px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;display:inline-flex}.sim-run-report:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--accent)}.sim-run-remove{color:var(--text);opacity:.6;cursor:pointer;background:0 0;border:none;border-radius:3px;padding:2px;display:inline-flex}.sim-run-remove:hover{opacity:1;background:var(--social-bg)}.timeslider{z-index:5;background:color-mix(in srgb, var(--panel,#1b1d22) 92%, transparent);border:1px solid var(--border);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);max-width:min(680px,84%);color:var(--text);border-radius:8px;align-items:center;gap:7px;padding:5px 10px;font-size:12px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #00000047}.timeslider-btn{background:var(--bg);border:1px solid var(--border);width:26px;height:24px;color:var(--text);cursor:pointer;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.timeslider-btn:hover{background:var(--social-bg)}.timeslider-btn.is-play{background:var(--accent);border-color:var(--accent);color:#fff}.timeslider-range{min-width:160px;accent-color:var(--accent);cursor:pointer;flex:220px}.timeslider-label{font-family:var(--mono);white-space:nowrap;opacity:.85;text-align:right;min-width:120px;font-size:11px}
