.react-flow{direction:ltr;--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: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--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: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--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: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--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 rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.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: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--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: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--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: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--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 rgba(0, 0, 0, .08);--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{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.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{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.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;-moz-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:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.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:default}.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:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;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%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;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{position:absolute;z-index:5;margin:15px}.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{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@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;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.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{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.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{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;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))}.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{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));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:var(--xy-resize-background-color, var(--xy-resize-background-color-default));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%}.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))}*{box-sizing:border-box}:root{--bg: #f8fafc;--text: #0f172a;--muted-text: #334155;--text-muted: #64748b;--surface: #ffffff;--surface-soft: #f8fafc;--surface-strong: #e2e8f0;--border: #cbd5e1;--border-soft: #f1f5f9;--border-hover: #94a3b8;--primary: #3b82f6;--primary-soft: rgba(59, 130, 246, .1);--shadow: 0 1px 3px rgba(15, 23, 42, .08);--shadow-hover: 0 8px 20px rgba(15, 23, 42, .14);--handle-border: #94a3b8;--status-checking: #94a3b8;--status-healthy: #22c55e;--status-unhealthy: #ef4444}:root[data-theme=dark]{--bg: #0b1220;--text: #e2e8f0;--muted-text: #94a3b8;--text-muted: #64748b;--surface: #111827;--surface-soft: #0f172a;--surface-strong: #1e293b;--border: #334155;--border-soft: #1e293b;--border-hover: #475569;--primary: #3b82f6;--primary-soft: rgba(59, 130, 246, .1);--shadow: 0 1px 4px rgba(2, 6, 23, .6);--shadow-hover: 0 8px 24px rgba(2, 6, 23, .75);--handle-border: #64748b;--status-checking: #94a3b8;--status-healthy: #22c55e;--status-unhealthy: #ef4444}html,body,#root{width:100%;height:100%}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}main{max-width:720px;margin:72px auto;padding:24px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}h1{margin:0 0 12px}p{margin:8px 0}.app-shell{width:100%;height:100%}.app-content{width:100%;height:calc(100vh - 64px);position:relative;display:flex;overflow:hidden}.app-topbar{height:64px;padding:0 16px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:space-between}.app-brand{display:flex;align-items:center}.app-title{font-size:20px;font-weight:800;color:var(--text);letter-spacing:.2px}.app-search{position:relative;flex:1;max-width:420px;margin:0 32px;display:flex;align-items:center}.app-search__icon{position:absolute;left:14px;display:flex;align-items:center;justify-content:center;color:var(--muted-text);pointer-events:none;transition:color .2s ease}.app-search:focus-within .app-search__icon{color:var(--text)}.app-search__input{width:100%;height:42px;padding:0 40px;border:1px solid var(--border);border-radius:21px;background:var(--surface-soft);color:var(--text);font-size:14px;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}.app-search__input::placeholder{color:var(--muted-text)}.app-search__input:hover{border-color:var(--handle-border);background:var(--surface)}.app-search__input:focus{border-color:var(--handle-border);box-shadow:0 0 0 3px #64748b26;background:var(--surface)}.app-search__input::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.app-search__clear{position:absolute;right:12px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:none;border-radius:50%;background:var(--surface-strong);color:var(--muted-text);cursor:pointer;transition:background-color .15s ease,color .15s ease}.app-search__clear:hover{background:var(--border);color:var(--text)}.app-search__shortcut{position:absolute;right:12px;display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted-text);font-size:12px;font-weight:700;line-height:1;pointer-events:none}.app-search__dropdown{position:absolute;top:100%;left:0;right:0;background:var(--surface);border:1px solid var(--border);border-top:none;border-radius:0 0 12px 12px;box-shadow:var(--shadow-hover);max-height:300px;overflow-y:auto;z-index:1000;margin-top:-1px}.app-search__dropdown-item{padding:12px 16px;cursor:pointer;border-bottom:1px solid var(--border-soft);transition:all .15s ease;position:relative}.app-search__dropdown-item:last-child{border-bottom:none}.app-search__dropdown-item:hover{background:var(--surface-soft)}.app-search__dropdown-item--selected{background:linear-gradient(135deg,#3b82f61a,#3b82f60d);border-left:3px solid #3b82f6;padding-left:13px}.app-search__dropdown-item--selected:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:#3b82f614;pointer-events:none}.app-search__dropdown-item-title{font-size:14px;font-weight:500;color:var(--text);line-height:1.4;position:relative;z-index:1}.app-search__dropdown-item--selected .app-search__dropdown-item-title{color:#3b82f6;font-weight:600}.app-search__dropdown-item-id{font-size:12px;color:var(--muted-text);margin-top:2px;font-family:SF Mono,Monaco,Inconsolata,Fira Code,monospace;position:relative;z-index:1}.app-search__dropdown-item--selected .app-search__dropdown-item-id{color:#3b82f6cc}.app-search{position:relative;z-index:100}.app-actions{display:flex;align-items:center;gap:12px}.app-actions__group{display:flex;align-items:center;gap:8px}.app-actions__divider{width:1px;height:24px;background:var(--border)}.topbar-action-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted-text);cursor:pointer;transition:all .2s ease}.topbar-action-button:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft);box-shadow:var(--shadow-hover)}.topbar-action-button:active{transform:translateY(1px);box-shadow:var(--shadow)}.topbar-action-button.is-active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.export-menu-wrapper{position:relative}.export-menu{position:absolute;top:100%;right:0;min-width:170px;padding-top:6px;z-index:1000}.export-menu__dropdown{background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-hover);overflow:hidden;animation:exportMenuIn .12s ease-out}@keyframes exportMenuIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.export-menu__item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:none;background:none;cursor:pointer;transition:background .12s ease;text-align:left}.export-menu__item:hover{background:var(--primary-soft)}.export-menu__item+.export-menu__item{border-top:1px solid var(--border-soft)}.export-menu__ext{font-size:13px;font-weight:700;color:var(--text);min-width:36px}.export-menu__desc{font-size:12px;color:var(--muted-text)}.has-tooltip{position:relative}.has-tooltip:after{content:attr(data-tooltip);position:absolute;bottom:-36px;left:50%;transform:translate(-50%) translateY(4px);padding:5px 10px;border-radius:6px;background:var(--surface-strong);color:var(--text);font-size:12px;font-weight:500;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s ease,transform .15s ease;border:1px solid var(--border);box-shadow:var(--shadow);z-index:1000}.has-tooltip:hover:after{opacity:1;transform:translate(-50%) translateY(0)}.minimap-toggle-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted-text);cursor:pointer;transition:all .2s ease}.minimap-toggle-button:hover,.minimap-toggle-button.is-active{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.recommendations-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted-text);cursor:pointer;transition:all .2s ease}.recommendations-button:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft);box-shadow:var(--shadow-hover)}.recommendations-button:active{transform:translateY(1px);box-shadow:var(--shadow)}.theme-toggle-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);border-radius:6px;background:var(--surface);cursor:pointer;transition:all .2s ease;color:var(--muted-text)}.theme-toggle-btn:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.app-status{display:flex;align-items:center;gap:8px}.status-dot{width:10px;height:10px;border-radius:9999px;background:var(--status-checking)}.status-dot--checking{background:var(--status-checking)}.status-dot--healthy{background:var(--status-healthy)}.status-dot--unhealthy{background:var(--status-unhealthy)}.status-text{font-size:13px;font-weight:600;color:var(--muted-text)}.status-dot,.status-text{transition:color .2s ease,background-color .2s ease}.toolbar-btn{border:1px solid #cbd5e1;background:#f8fafc;color:#0f172a;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:600;cursor:pointer}.toolbar-btn:hover{background:#f1f5f9}.schema-group-container{position:relative;width:100%;height:100%;pointer-events:none}.schema-group-label{position:absolute;top:8px;right:12px;background:#fffffff2;color:var(--text);font-size:12px;font-weight:600;padding:4px 8px;border-radius:4px;border:1px solid var(--border-soft);box-shadow:0 1px 3px #0000001a;text-transform:uppercase;letter-spacing:.5px;z-index:1;pointer-events:auto}:root[data-theme=dark] .schema-group-label{background:#111827f2;border-color:var(--border);box-shadow:0 1px 3px #0000004d}.erd-node{min-width:240px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow);cursor:grab;transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease}.erd-node:hover{border-color:var(--handle-border);box-shadow:var(--shadow-hover)}.erd-node:active{cursor:grabbing}@keyframes searchHighlight{0%,to{box-shadow:var(--shadow);border-color:var(--border);transform:scale(1)}50%{box-shadow:0 0 0 3px #3b82f666,var(--shadow-hover);border-color:#3b82f6;transform:scale(1.02)}}.erd-node--highlighted{animation:searchHighlight 1s ease-in-out 1;border-color:#3b82f6;z-index:50}.erd-node__header{padding:10px 12px;font-size:14px;font-weight:700;color:var(--text);background:var(--surface-strong);text-transform:lowercase;display:flex;justify-content:space-between}.erd-node__header__recommendation_count{display:flex;align-items:center;gap:6px}.erd-node__header__recommendation_count_item{min-width:20px;height:20px;padding:0 6px;font-size:12px;font-weight:700;border-radius:8px;border:1px solid var(--status-checking);color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.erd-node__header__recommendation_count_item:hover{transform:scale(1.05)}.erd-node__header__recommendation_count_item--error{background:#ef44441a;color:#dc2626;border-color:#ef444466}.erd-node__header__recommendation_count_item--warning{background:#f59e0b1a;color:#d97706;border-color:#f59e0b66}.erd-node__header__recommendation_count_item--info{background:#3b82f61a;color:#2563eb;border-color:#3b82f666}.erd-node__body{padding:6px 10px}.erd-node__column{position:relative;display:flex;align-items:center;gap:12px;padding:6px 14px;border-bottom:1px solid var(--border-soft)}.erd-node__column-key{display:inline-block;width:2.2em;text-align:center;font-size:12px;font-weight:700;color:var(--status-healthy);background:var(--surface-strong);border-radius:6px;margin-right:6px;letter-spacing:.5px;box-shadow:0 1px 2px #22c55e14;padding:1px 0;border:1px solid var(--status-healthy);text-transform:uppercase}.erd-node__column-key:empty{background:none;border:none;box-shadow:none}.erd-node__column-key.fk{color:var(--status-checking);border-color:var(--status-checking);background:var(--surface-soft);box-shadow:0 1px 2px #94a3b814}.erd-node__column-key:contains("FK"){color:var(--status-checking);border-color:var(--status-checking)}.erd-node__column:last-child{border-bottom:none}.erd-node__column-name{font-size:13px;font-weight:600;color:var(--text)}.erd-node__column-type{font-size:12px;color:var(--muted-text);margin-left:auto;text-align:right;min-width:80px}.erd-node__handle{width:8px;height:8px;border:none;background:transparent;box-shadow:none;pointer-events:none}.graph-container{width:100%;flex:1;height:100%;min-height:420px;margin:0 auto}.recommendations-sidebar{width:360px;min-width:320px;height:100%;border-left:1px solid var(--border);background:var(--surface);box-shadow:-8px 0 20px #0f172a14;display:flex;flex-direction:column}.recommendations-sidebar__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 14px 12px;border-bottom:1px solid var(--border-soft)}.recommendations-sidebar__title{font-size:15px;font-weight:800;color:var(--text)}.recommendations-sidebar__subtitle{margin-top:2px;font-size:12px;color:var(--muted-text);font-family:SF Mono,Monaco,Inconsolata,Fira Code,monospace}.recommendations-sidebar__close{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted-text);border-radius:8px;width:28px;height:28px;font-size:16px;line-height:1;cursor:pointer}.recommendations-sidebar__close:hover{color:var(--text);background:var(--surface-strong)}.recommendations-sidebar__content{flex:1;overflow-y:auto;padding:12px}.recommendations-sidebar__state{border:1px dashed var(--border);background:var(--surface-soft);border-radius:12px;padding:16px;font-size:13px;color:var(--muted-text)}.recommendations-sidebar__state--error{border-color:#ef444466;background:#ef444414;color:#dc2626}.recommendation-tiles{display:grid;gap:10px}.recommendation-tile{border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface-soft)}.recommendation-tile__meta{display:flex;align-items:center;gap:8px;margin-bottom:8px}.recommendation-tile__badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase}.recommendation-tile__badge--error{background:#ef444424;color:#dc2626}.recommendation-tile__badge--warning{background:#f59e0b29;color:#b45309}.recommendation-tile__badge--info{background:#3b82f624;color:#1d4ed8}.recommendation-tile__rule{font-size:13px;font-weight:700;color:var(--text)}.recommendation-tile__info{font-size:12px;color:var(--muted-text);display:grid;gap:4px}.recommendation-tile__description{margin:10px 0 0;font-size:13px;color:var(--text);line-height:1.4}.react-flow__controls{box-shadow:var(--shadow);border:1px solid var(--border);border-radius:10px;overflow:hidden}.react-flow__controls-button{background:var(--surface)!important;color:var(--text)!important;border-bottom:1px solid var(--border)!important}.react-flow__controls-button:last-child{border-bottom:none!important}.react-flow__controls-button:hover{background:var(--surface-soft)!important}.react-flow__controls-button svg{fill:currentColor}.react-flow__panel{color:var(--text)}.react-flow__edge-text{fill:var(--text)}.react-flow__edge-textbg{fill:var(--surface)}.react-flow__minimap{background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:12px!important;box-shadow:var(--shadow)!important;overflow:hidden}.react-flow__minimap-mask{fill:var(--bg);opacity:.7}.react-flow__minimap-node{fill:var(--surface-strong);stroke:var(--border)!important;rx:4;ry:4}.recommendations-sidebar.enhanced{min-width:320px;max-width:800px;background:var(--surface);border-left:1px solid var(--border);box-shadow:-8px 0 20px #0f172a14;display:flex;flex-direction:column;animation:slideInSidebar .3s ease-out;position:relative}@keyframes slideInSidebar{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutSidebar{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}.recommendations-sidebar.enhanced.closing{animation:slideOutSidebar .25s ease-in;animation-fill-mode:forwards}.sidebar-resize-handle{position:absolute;top:0;left:-4px;width:8px;height:100%;cursor:col-resize;z-index:10;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease;opacity:0;animation:fadeInResizeHandle .2s ease-out .4s forwards}@keyframes fadeInResizeHandle{0%{opacity:0}to{opacity:1}}.sidebar-resize-handle:hover,.sidebar-resize-handle--active{background:#3b82f61a}.sidebar-resize-handle__grip{width:2px;height:32px;background:var(--border);border-radius:1px;transition:background-color .2s ease}.sidebar-resize-handle:hover .sidebar-resize-handle__grip,.sidebar-resize-handle--active .sidebar-resize-handle__grip{background:var(--primary)}.recommendations-sidebar.enhanced .recommendations-sidebar__header{padding:16px 20px;border-bottom:1px solid var(--border-soft);background:var(--surface);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10}.recommendations-sidebar__title-section{flex:1}.recommendations-sidebar.enhanced .recommendations-sidebar__title{font-size:16px;font-weight:700;color:var(--text);margin:0;line-height:1.2}.table-identifier{font-family:var(--font-mono, "SF Mono", Consolas, monospace);font-size:11px;color:var(--text-muted);background:var(--surface-soft);padding:2px 6px;border-radius:4px;border:1px solid var(--border)}.recommendations-sidebar.enhanced .recommendations-sidebar__close{width:32px;height:32px;border:none;background:none;color:var(--text-muted);border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.recommendations-sidebar.enhanced .recommendations-sidebar__close:hover{background:var(--surface-soft);color:var(--text)}.recommendations-sidebar.enhanced .recommendations-sidebar__close:active{transform:scale(.95)}.recommendations-sidebar.enhanced .recommendations-sidebar__content{flex:1;overflow:hidden;display:flex;flex-direction:column;min-height:0}.recommendations-sidebar__loading{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 20px}.recommendations-sidebar__error{margin:16px 20px}.recommendations-stats{padding:16px 20px;border-bottom:1px solid var(--border-soft);background:var(--surface)}.recommendations-stats__summary{margin-bottom:12px}.recommendations-stats__total{font-size:14px;font-weight:600;color:var(--text);margin:0}.recommendations-stats__filters{display:flex;gap:6px;flex-wrap:wrap}.recommendations-stats__filter{padding:6px 10px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:16px;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;gap:4px}.recommendations-stats__filter:hover{background:var(--surface-soft);border-color:var(--border-hover)}.recommendations-stats__filter.active{background:var(--primary);color:#fff;border-color:var(--primary)}.recommendations-stats__filter--error.active{background:#ef4444;border-color:#ef4444}.recommendations-stats__filter--warning.active{background:#f59e0b;border-color:#f59e0b}.recommendations-stats__filter--info.active{background:#3b82f6;border-color:#3b82f6}.recommendations-stats__filter-icon{font-size:10px}.statistics-tiles{padding:16px 20px;border-bottom:1px solid var(--border-soft);background:var(--surface)}.statistics-tiles__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}@media (max-width: 500px){.statistics-tiles__grid{grid-template-columns:1fr 1fr}}.statistics-tile{padding:12px;background:var(--surface-soft);border:1px solid var(--border-soft);border-radius:8px;transition:all .2s ease}.statistics-tile:hover{background:var(--surface);border-color:var(--border);box-shadow:var(--shadow)}.statistics-tile__header{display:flex;align-items:center;gap:6px;margin-bottom:8px}.statistics-tile__icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;color:var(--text-muted)}.statistics-tile__label{font-size:12px;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.025em}.statistics-tile__content{display:flex;flex-direction:column;gap:2px}.statistics-tile__value{font-size:24px;font-weight:700;line-height:1}.statistics-tile__subtitle{font-size:11px;color:var(--text-muted);font-weight:500}.statistics-tile--score .statistics-tile__icon{color:#8b5cf6}.statistics-tile--total .statistics-tile__icon{color:var(--text-muted)}.statistics-tile--error .statistics-tile__icon{color:#ef4444}.statistics-tile--warning .statistics-tile__icon{color:#f59e0b}.statistics-tile--info .statistics-tile__icon{color:#3b82f6}:root[data-theme=dark] .statistics-tile{background:var(--surface-strong)}:root[data-theme=dark] .statistics-tile:hover{background:var(--surface)}.recommendations-controls{padding:12px 20px;border-bottom:1px solid var(--border-soft);display:flex;gap:8px;align-items:center}.recommendations-search{flex:1}.recommendations-search__wrapper{position:relative;display:flex;align-items:center}.recommendations-search__icon{position:absolute;left:10px;color:var(--text-muted);z-index:1}.recommendations-search__input{width:100%;padding:8px 12px 8px 32px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font-size:13px;outline:none;transition:all .15s ease}.recommendations-search__input:focus{border-color:var(--primary);box-shadow:0 0 0 2px #3b82f61a}.recommendations-search__input::placeholder{color:var(--text-muted)}.recommendations-search__clear{position:absolute;right:8px;width:20px;height:20px;border:none;background:none;color:var(--text-muted);cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.recommendations-search__clear:hover{background:var(--surface-soft);color:var(--text)}.recommendation-sort,.recommendations-filter{min-width:120px}.recommendations-filter__select{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font-size:12px;cursor:pointer;outline:none;transition:all .15s ease}.recommendations-filter__select:focus{border-color:var(--primary);box-shadow:0 0 0 2px #3b82f61a}.recommendations-filter__select:hover{border-color:var(--border-hover);background:var(--surface-soft)}.recommendations-sort__select{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font-size:12px;cursor:pointer;outline:none;transition:all .15s ease}.recommendations-sort__select:focus{border-color:var(--primary)}.recommendations-list{flex:1;overflow-y:scroll;padding:16px 20px;display:flex;flex-direction:column;gap:12px}.recommendation-card{border:1px solid var(--border);border-radius:8px;background:var(--surface);transition:all .2s ease;position:relative}.recommendation-card:hover{border-color:var(--border-hover);box-shadow:0 2px 8px #0f172a0f}.recommendation-card.expanded{border-color:var(--primary);box-shadow:0 4px 12px #0f172a1a}.recommendation-card__header{padding:12px 16px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .15s ease}.recommendation-card__header:hover{background:var(--surface-soft)}.recommendation-card__header:focus{outline:2px solid var(--primary);outline-offset:-2px}.recommendation-card__meta{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.recommendation-card__badge{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:12px;font-size:10px;font-weight:600;border:1px solid;flex-shrink:0}.recommendation-card__badge-icon{font-size:10px}.recommendation-card__rule{font-size:13px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recommendation-card__context{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.recommendation-card__table-context{font-size:12px;font-weight:500;color:var(--text-muted);font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.recommendation-card__column-context{color:var(--primary);font-weight:700}.recommendation-card__title-section{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.recommendation-card__table-info{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text-muted);margin-top:2px}.recommendation-card__table-name{font-weight:500;color:var(--primary);background:var(--primary-soft);padding:1px 6px;border-radius:4px;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}.recommendation-card__column-name{color:var(--text-muted);font-style:italic}.recommendation-card__actions{display:flex;align-items:center;gap:4px;margin-left:8px}.recommendation-card__view-table,.recommendation-card__dismiss,.recommendation-card__toggle{width:24px;height:24px;border:none;background:none;color:var(--text-muted);border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.recommendation-card__view-table:hover{background:var(--primary-soft);color:var(--primary)}.recommendation-card__dismiss:hover,.recommendation-card__toggle:hover{background:var(--surface-hover, rgba(0, 0, 0, .05));color:var(--text)}.recommendation-card__toggle-icon{transition:transform .2s ease}.recommendation-card__toggle-icon.expanded{transform:rotate(180deg)}.recommendation-card__content{max-height:0;overflow:hidden;transition:max-height .3s ease}.recommendation-card__content.expanded{max-height:500px;border-top:1px solid var(--border-soft)}.recommendation-card__details{padding:16px}.recommendation-card__info{margin-bottom:12px}.recommendation-card__info-item{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted);margin-bottom:4px}.recommendation-card__info-item strong{color:var(--text);font-weight:600}.recommendation-card__description{font-size:13px;line-height:1.5;color:var(--text);margin:0 0 12px}.recommendation-card__suggestion{background:var(--surface-soft);border:1px solid var(--border);border-radius:6px;padding:12px;margin:12px 0}.recommendation-card__suggestion-title{font-size:12px;font-weight:600;color:var(--text);margin:0 0 6px;display:flex;align-items:center;gap:4px}.recommendation-card__suggestion p{font-size:12px;line-height:1.4;color:var(--text-muted);margin:0}.recommendation-card__footer{display:flex;justify-content:flex-end;margin-top:12px}.recommendation-card__learn-more{padding:6px 12px;border:1px solid var(--primary);background:none;color:var(--primary);border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s ease}.recommendation-card__learn-more:hover{background:var(--primary);color:#fff}.recommendations-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.recommendations-empty__icon{color:var(--text-muted);margin-bottom:16px;opacity:.7}.recommendations-empty__title{font-size:16px;font-weight:600;color:var(--text);margin:0 0 8px}.recommendations-empty__message{font-size:14px;color:var(--text-muted);margin:0;max-width:280px;line-height:1.4}.recommendations-list__footer{display:flex;justify-content:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--border-soft)}.recommendations-clear-filters{padding:8px 16px;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);border-radius:6px;font-size:12px;cursor:pointer;transition:all .15s ease}.recommendations-clear-filters:hover{background:var(--surface-soft);color:var(--text);border-color:var(--border-hover)}@media (max-width: 1200px){.recommendations-sidebar.enhanced{min-width:300px}}@media (max-width: 768px){.recommendations-sidebar.enhanced{width:100%!important;height:100%;position:fixed;top:0;left:0;z-index:1000;border:none;border-radius:0;max-width:none}.sidebar-resize-handle{display:none}.recommendations-controls{flex-direction:column;gap:8px;align-items:stretch}.recommendations-search{width:100%}.recommendation-sort{min-width:auto}}@media (prefers-color-scheme: dark){.recommendations-sidebar.enhanced{box-shadow:-8px 0 20px #0000004d}.recommendation-card:hover{box-shadow:0 2px 8px #0003}.recommendation-card.expanded{box-shadow:0 4px 12px #0000004d}}.recommendation-card__header:focus,.recommendations-stats__filter:focus,.recommendations-search__input:focus,.recommendations-sort__select:focus{outline:2px solid var(--primary);outline-offset:2px}
