:root{--bg:#0b1120;--surface:#111827;--surface-elevated:#1e293b;--border:#1f2937;--border-strong:#334155;--text:#e2e8f0;--text-h:#f8fafc;--text-muted:#94a3b8;--accent:#3b82f6;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--heading:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:16px/1.5 var(--sans);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}#root{text-align:left;background:var(--bg);width:100%;min-height:100svh;color:var(--text);flex-direction:column;display:flex}body{background:var(--bg);color:var(--text);margin:0}h1,h2,h3{font-family:var(--heading);color:var(--text-h);font-weight:600}h1{letter-spacing:-.5px;margin:0 0 12px;font-size:32px;line-height:1.25}h2{margin:0 0 8px;font-size:20px;line-height:1.25}p{margin:0}input,select,textarea{color:#f1f5f9;background-color:#0f172a;border:1px solid #334155;font-family:inherit}select option{color:#f1f5f9;background-color:#0f172a}.react-flow__controls{overflow:hidden;border:1px solid #334155!important;border-radius:8px!important;box-shadow:0 2px 8px #0006!important}.react-flow__controls-button{color:#e2e8f0!important;fill:#e2e8f0!important;background:#1e293b!important;border-bottom:1px solid #334155!important}.react-flow__controls-button:hover{background:#334155!important}.react-flow__minimap{background:#0f172a!important;border:1px solid #334155!important;border-radius:8px!important}.dark-modal input,.dark-modal select,.dark-modal textarea{color:#f1f5f9!important;background-color:#0f172a!important;border-color:#334155!important}.dark-modal label{color:#94a3b8!important}.table-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}@media (width<=768px){.app-main{padding:12px!important}.tree-title{font-size:20px!important}.tree-subtitle{font-size:12px!important}.tree-toolbar button,.tree-toolbar a{min-height:36px;padding:8px 10px!important;font-size:12px!important}}@media (width<=640px){.react-flow__minimap{display:none!important}.tree-legend{max-width:calc(100% - 140px);gap:8px!important;padding:6px 8px!important;font-size:11px!important}}@media (width<=540px){.dark-modal,.responsive-modal{max-height:92dvh!important;padding:16px!important}.form-grid-2,.form-grid-3,.dark-modal form>div[style*=grid-template-columns]{grid-template-columns:1fr!important}.mobile-stack{flex-direction:column!important;align-items:stretch!important}}@layer xyflow{.react-flow{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--xy-edge-stroke-default:var(--lightningcss-light,#b1b1b7)var(--lightningcss-dark,#3e3e3e);--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:var(--lightningcss-light,#555)var(--lightningcss-dark,#727272);--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:var(--lightningcss-light,#ffffff80)var(--lightningcss-dark,#96969640);--xy-minimap-background-color-default:var(--lightningcss-light,#fff)var(--lightningcss-dark,#141414);--xy-minimap-mask-background-color-default:var(--lightningcss-light,#f0f0f099)var(--lightningcss-dark,#3c3c3c99);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:var(--lightningcss-light,#e2e2e2)var(--lightningcss-dark,#2b2b2b);--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:var(--lightningcss-light,#0000)var(--lightningcss-dark,#141414);--xy-background-pattern-dots-color-default:var(--lightningcss-light,#91919a)var(--lightningcss-dark,#555);--xy-background-pattern-lines-color-default:var(--lightningcss-light,#eee)var(--lightningcss-dark,#333);--xy-background-pattern-cross-color-default:var(--lightningcss-light,#e2e2e2)var(--lightningcss-dark,#333);background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:var(--lightningcss-light,canvastext)var(--lightningcss-dark,#f8f8f8);--xy-node-border-default:1px solid var(--lightningcss-light,#1a192b)var(--lightningcss-dark,#3c3c3c);--xy-node-background-color-default:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1e1e1e);--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px var(--lightningcss-light,#00000014)var(--lightningcss-dark,#ffffff14);--xy-node-boxshadow-selected-default:0 0 0 .5px var(--lightningcss-light,#1a192b)var(--lightningcss-dark,#999);--xy-node-border-radius-default:3px;--xy-handle-background-color-default:var(--lightningcss-light,#1a192b)var(--lightningcss-dark,#bebebe);--xy-handle-border-color-default:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1e1e1e);--xy-selection-background-color-default:var(--lightningcss-light,#0059dc14)var(--lightningcss-dark,#c8c8dc14);--xy-selection-border-default:1px dotted var(--lightningcss-light,#0059dccc)var(--lightningcss-dark,#c8c8dccc);--xy-controls-button-background-color-default:var(--lightningcss-light,#fefefe)var(--lightningcss-dark,#2b2b2b);--xy-controls-button-background-color-hover-default:var(--lightningcss-light,#f4f4f4)var(--lightningcss-dark,#3e3e3e);--xy-controls-button-color-default:var(--lightningcss-light,canvastext)var(--lightningcss-dark,#f8f8f8);--xy-controls-button-color-hover-default:var(--lightningcss-light,canvastext)var(--lightningcss-dark,#fff);--xy-controls-button-border-color-default:var(--lightningcss-light,#eee)var(--lightningcss-dark,#5b5b5b);--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:var(--lightningcss-light,#fff)var(--lightningcss-dark,#141414);--xy-edge-label-color-default:var(--lightningcss-light,canvastext)var(--lightningcss-dark,#f8f8f8);--xy-resize-background-color-default:#3367d9;direction:ltr}@media (prefers-color-scheme:dark){.react-flow{--lightningcss-light: ;--lightningcss-dark:initial}}[data-theme=dark] .react-flow,.dark .react-flow{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=light] .react-flow,.light .react-flow{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.react-flow.dark{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.react-flow.light{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.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:before{content:"";position:absolute;inset:0}.react-flow__pane.draggable:before{cursor:grab}.react-flow__pane.dragging:before{cursor:grabbing}.react-flow__pane.selection,.react-flow__pane.selection:before{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))}}
