:root{--mpact-navy:#0000c8;--mpact-blue:#0554f2;--mpact-gray:#ededed;--mpact-peach:#f3997b;--surface:#fff;--text:#000;--muted:#0009;--border:#00000012;--focus:#0554f240;color:var(--text);background:var(--mpact-gray);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif}*{box-sizing:border-box}button,input,select,textarea,summary,code{font:inherit}button,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--mpact-blue);outline-offset:3px}::selection{background:var(--mpact-peach);color:var(--text)}html,body,#root{height:100%;margin:0;font-family:Inter,sans-serif;overflow:hidden}.app-shell{grid-template-rows:40px minmax(0,1fr);gap:8px;height:100dvh;padding:6px 8px 8px;font-size:13px;display:grid}.toolbar{z-index:5;align-items:center;gap:12px;min-width:0;display:flex;position:relative}.app-shell.has-storage-error{grid-template-rows:40px auto minmax(0,1fr)}.storage-error{background:#f3997b33;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;display:flex}.storage-error>div{flex:1}.sync-status{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:11px;overflow:hidden}.login-shell{place-items:center;height:100dvh;padding:24px;display:grid}.login-card{background:var(--surface);border-radius:12px;width:100%;max-width:420px;padding:24px}.login-card h1{font-size:22px}.login-overlay{z-index:20;background:#0006;position:fixed;inset:0}.brand{white-space:nowrap;align-items:baseline;gap:8px;padding:0 8px;display:flex}.brand-name{letter-spacing:-1.2px;color:var(--mpact-navy);vertical-align:middle;font-size:23px;font-weight:800;display:flex}.brand-name img{height:40px}.brand-section{color:var(--muted);font-size:11px}.toolbar-search{flex:1;min-width:80px;max-width:360px;position:relative}.search-results{border:1px solid var(--border);background:#fff;border-radius:12px;width:100%;max-height:320px;padding:4px;position:absolute;top:calc(100% + 10px);overflow-y:auto;box-shadow:0 8px 32px #00000012}.search-status{color:var(--muted);margin:0;padding:10px;font-size:11px}.search-results ul{margin:0;padding:0;list-style:none}.search-result{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;gap:4px;width:100%;padding:10px;display:flex}.search-result:hover,.search-result:focus-visible,.search-result[aria-pressed=true]{background:#0554f20a}.search-result small{color:var(--muted)}.toolbar-left,.toolbar-right{flex-wrap:nowrap;align-items:center;gap:4px;display:flex}.toolbar-right{margin-left:auto}.control{color:var(--text);white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;min-height:32px;padding:6px 10px;font-family:Inter,sans-serif;font-size:13px;font-weight:500;transition:background-color .12s,box-shadow .12s}.control:hover:enabled{background:#00000006}.control:disabled{cursor:not-allowed;opacity:.3}.control.primary{background:var(--mpact-blue);color:var(--surface);border-color:#0000;box-shadow:0 2px 6px #0554f21a}.control.primary:hover:enabled{background:var(--mpact-navy)}.control.danger{color:var(--text);background:#f3997b18;border-color:#0000}.control.danger:hover:enabled{background:#f3997b66}.workspace-grid{grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;min-height:0;display:grid;position:relative}.workspace-grid.has-inspector{grid-template-columns:minmax(0,1fr) 260px}[hidden]{display:none!important}.view-tabs,.table-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.view-tabs [aria-selected=true],.table-actions [aria-pressed=true]{background:var(--surface);color:var(--mpact-navy);font-weight:600;box-shadow:0 1px 5px #0000000d}.table-actions [aria-pressed=true]{box-shadow:none;background:#0554f20a}.graph-tables{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:8px;min-width:0;height:100%;padding:8px;display:flex;overflow:hidden}#tables-panel{min-width:0;min-height:0}.table-actions .field-input{width:auto;max-width:320px}.table-scroll{flex:1;min-height:0;overflow:auto}.graph-table{border-collapse:collapse;width:100%}.graph-table caption{text-align:left;padding:8px 0}.graph-table th,.graph-table td{border:0;border-bottom:1px solid var(--border);text-align:left;padding:4px 8px}.graph-table th{z-index:1;background:var(--surface);color:var(--muted);height:32px;font-size:11px;font-weight:500;position:sticky;top:0}.graph-table tbody tr:hover{background:#00000002}.graph-table .field-input{background:0 0;border-color:#0000;border-radius:6px;min-width:140px;min-height:28px;padding:4px 6px;font-size:13px}.graph-table .field-input:hover{border-color:var(--border)}.graph-table .field-input:focus{background:var(--surface);border-color:var(--mpact-blue)}.graph-table textarea{resize:none;height:28px}.graph-table textarea:focus{height:80px}.graph-table code{overflow-wrap:anywhere;max-width:160px;font-size:12px;display:block}.table-error{color:var(--text);border-left:3px solid var(--mpact-peach);background:#f3997b26;border-radius:6px;margin:0;padding:8px}.canvas-shell{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;height:100%;min-height:0;overflow:hidden}.inspector{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:18px;min-height:0;padding:16px;display:flex;overflow:auto}.inspector.empty{justify-content:center}.inspector-head{justify-content:space-between;align-items:center;display:flex}.field{color:var(--muted);gap:6px;font-size:12px;font-weight:500;display:grid}.field-input{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;border-radius:8px;padding:7px 10px}.field-input:focus{border-color:var(--mpact-blue);box-shadow:0 0 0 3px var(--focus);outline:none}.field-input::placeholder{color:#0007}.toolbar-search .field-input{background:#ffffffb3;border-color:#0000;padding-left:12px}.toolbar-search .field-input:focus{background:var(--surface)}.infra-node{border:1px solid #00000012;border-left:3px solid var(--node-accent);background:var(--node-background);min-width:180px;max-width:240px;color:var(--text);border-radius:10px;padding:12px 16px;font-family:Inter,sans-serif;box-shadow:0 2px 6px #00000006,0 6px 20px #00000004}.infra-node .react-flow__handle{border:2px solid var(--surface);background:var(--node-accent);width:7px;height:7px}.infra-node-selected{box-shadow:0 0 0 2px var(--mpact-blue), 0 4px 16px #0554f21a}.search-node-match .infra-node{outline:3px solid var(--mpact-peach);outline-offset:3px}.search-node-related .infra-node{outline:2px solid var(--mpact-blue);outline-offset:3px}.search-node-muted{opacity:.25}.react-flow__edge.search-edge-related .react-flow__edge-path{animation-duration:1.5s}@media (prefers-reduced-motion:reduce){.react-flow__edge.search-edge-related .react-flow__edge-path{stroke-dasharray:none;animation:none}}.infra-node-kind{color:var(--node-badge-text);background:var(--node-tint);border-radius:4px;margin:0;padding:2px 6px;font-size:10px;font-weight:600;line-height:1.5;display:inline-block}.infra-node-name{letter-spacing:-.02em;word-break:break-word;margin:8px 0 0;font-size:14px;font-weight:600;line-height:1.45}.graph-legend{border:1px solid var(--border);color:var(--muted);background:#fffffff2;border-radius:10px;max-width:min(320px,100% - 32px);padding:8px 12px;font-size:11px}.graph-legend summary{cursor:pointer}.graph-legend ul{gap:8px;margin:10px 0;padding:0;list-style:none;display:grid}.graph-legend li{align-items:center;gap:8px;display:flex}.legend-dot{background:var(--node-accent);border-radius:3px;width:8px;height:8px}.react-flow__controls{border:1px solid var(--border);border-radius:10px;overflow:hidden;box-shadow:0 2px 12px #0000000a}.react-flow__controls-button{border-bottom-color:var(--border);fill:var(--mpact-navy)}.react-flow__attribution{color:var(--muted);font-size:9px}.toolbar-add,.toolbar-more{flex-shrink:0;position:relative}.toolbar summary,.row-id summary{cursor:pointer;list-style:none}.toolbar summary::-webkit-details-marker{display:none}.row-id summary::-webkit-details-marker{display:none}.toolbar-popover{border:1px solid var(--border);background:#fff;border-radius:12px;gap:6px;min-width:200px;padding:8px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 32px #00000012}.toolbar-add .toolbar-popover{left:0;right:auto}.menu-layout,.menu-history{display:none}.view-tabs{background:#00000004;border-radius:10px;flex-wrap:nowrap;flex-shrink:0;gap:2px;padding:3px}.view-tabs .control{min-height:28px;padding:4px 10px}.editor-dialog{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:min(680px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--text);border-radius:16px;padding:24px;overflow:auto;box-shadow:0 16px 64px #0000001a}.editor-dialog::backdrop{background:#0003}.configuration-dialog{width:min(1120px,100vw - 24px)}.configuration-dialog p,.configuration-footer{color:var(--muted);font-size:13px}.configuration-scroll{margin-bottom:12px;overflow:auto}.configuration-dialog .graph-table{min-width:760px}.configuration-dialog input[type=color]{vertical-align:middle;border:1px solid var(--border);background:var(--surface);border-radius:6px;width:36px;height:28px;padding:2px}.configuration-dialog code{margin-left:6px;font-size:11px}.configuration-default{max-width:320px;margin-top:20px}.configuration-footer{flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;display:flex}.editor-dialog .field-input{margin-bottom:8px}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.dialog-head h2,.inspector h2{letter-spacing:-.03em;margin:0;font-size:16px;font-weight:600}.relation-form{gap:6px;display:grid}.row-actions{align-items:flex-start;gap:4px;display:flex}.row-id code{-webkit-user-select:all;user-select:all;max-width:200px;padding:4px 0}.table-actions{flex-shrink:0}.graph-tables nav{justify-content:flex-end;font-size:12px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=900px){.toolbar-layout{display:none}.menu-layout{display:block}.workspace-grid.has-inspector{grid-template-columns:minmax(0,1fr)}.inspector{z-index:4;width:min(280px,100% - 12px);position:absolute;top:6px;bottom:6px;right:6px;box-shadow:0 8px 32px #00000012}}@media (width<=600px){.brand{display:none}.toolbar{gap:4px}.toolbar-add>summary{font-size:0}.toolbar-add>summary:after{content:"+";font-size:16px}.toolbar-right>button{display:none}.menu-history{display:block}.toolbar-more .toolbar-popover{max-width:calc(100vw - 12px)}.table-actions .table-filter{flex:1;min-width:100px}}@media (width>=601px) and (width<=1200px){.brand-section{display:none}.toolbar{gap:8px}}@media (prefers-reduced-motion:reduce){.control{transition:none}}.mt-2{margin-top:1rem}.react-flow{direction:ltr}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1px;fill:none}.react-flow__edge{pointer-events:visibleStroke;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:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__connectionline{z-index:1001}.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:-webkit-grab;cursor:grab;position:absolute}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:-webkit-grab;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background:#1a192b;border:1px solid #fff;border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-top{top:-4px;left:50%;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{top:50%;right:-4px;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.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.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{background:#ffffff80;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}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{color:#222;text-align:center;background-color:#fff;border:1px solid #1a192b;border-radius:3px;width:150px;padding:10px;font-size:12px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted #0059dccc}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{box-sizing:content-box;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fefefe;border:none;border-bottom:1px solid #eee;justify-content:center;align-items:center;width:16px;height:16px;padding:5px;display:flex}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:#3367d9;border:1px solid #fff;border-radius:1px;width:4px;height:4px;transform: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:0 solid #3367d9}.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%}
