*{box-sizing:border-box}html,body{margin:0;padding:0}:root{--bg:#f2f3f5;--surface:#fff;--surface-2:#f8f9fb;--raised:#fff;--border:#e4e7eb;--border-2:#d2d7de;--line:#eef0f3;--text:#161a1f;--text-2:#586070;--text-3:#9098a6;--wa:#12a150;--wa-2:#0e7c3e;--wa-soft:#e6f6ec;--pbi:#b7820a;--pbi-2:#946700;--pbi-soft:#f8efd3;--apis:#5b5bd6;--apis-soft:#ececfb;--kpi:#0e7c86;--kpi-soft:#e0f3f4;--costs:#b65c1f;--costs-soft:#fbe7d6;--users:#2a5fcc;--users-soft:#e2ebfc;--perm:#b33a6b;--perm-soft:#fbe3ed;--primary:#161a1f;--on-primary:#fff;--st-pend:#9a6b00;--st-pend-bg:#fbefd2;--st-sent:#0e7c3e;--st-sent-bg:#e6f6ec;--st-fail:#b42318;--st-fail-bg:#fce9e7;--shadow:0 1px 2px #10141e0f,0 1px 1px #10141e0a;--shadow-lg:0 18px 44px -12px #10141e38;--font-display:"Space Grotesk",system-ui,sans-serif;--font-ui:"Space Grotesk",system-ui,sans-serif;--font-mono:"JetBrains Mono",ui-monospace,monospace}[data-theme=dark]{--bg:#0b0e12;--surface:#13171d;--surface-2:#171c23;--raised:#1a1f27;--border:#252b34;--border-2:#333b46;--line:#1f242c;--text:#e8ecf1;--text-2:#9aa3b0;--text-3:#6a7280;--wa:#2dd279;--wa-2:#25c16a;--wa-soft:#10301e;--pbi:#e8b62c;--pbi-2:#d9a400;--pbi-soft:#2a2410;--apis:#9090f2;--apis-soft:#1b1b33;--kpi:#3bc4ce;--kpi-soft:#0e2a2c;--costs:#e8954a;--costs-soft:#2e2010;--users:#6e9cff;--users-soft:#16223d;--perm:#e37aa8;--perm-soft:#321826;--primary:#e8ecf1;--on-primary:#0b0e12;--st-pend:#e0b44a;--st-pend-bg:#2a2310;--st-sent:#2dd279;--st-sent-bg:#10301e;--st-fail:#f0786a;--st-fail-bg:#2c1512;--shadow:0 1px 2px #0006;--shadow-lg:0 18px 44px -12px #0009}::placeholder{color:var(--text-3)}input,textarea,select,button{color:inherit;font-family:inherit}textarea,input{outline:none}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--border-2);background-clip:content-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-track{background:0 0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes pop{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes toastIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}html,body,#root{height:100%}body{font-family:var(--font-ui);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.45}.card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:14px;overflow:hidden}.card-row{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:13px;align-items:center;gap:14px;padding:15px 18px;display:flex}.card-header{border-bottom:1px solid var(--line);padding:18px 22px}.card-header-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.card-body{flex-direction:column;gap:18px;padding:22px;display:flex}.card-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;padding:16px 22px;display:flex}.section-title{font-family:var(--font-display);font-size:15.5px;font-weight:600}.section-subtitle{color:var(--text-2);margin-top:3px;font-size:12.5px}.eyebrow{font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--text-3);font-size:10px}.field-label{color:var(--text-2);margin-bottom:7px;font-size:12px;font-weight:500;display:block}.field-input{background:var(--surface-2);border:1px solid var(--border-2);width:100%;height:42px;font-size:13px;font-family:var(--font-ui);color:var(--text);border-radius:9px;padding:0 13px}.field-input--mono{font-family:var(--font-mono)}.field-textarea{background:var(--surface-2);border:1px solid var(--border-2);width:100%;font-size:13.5px;font-family:var(--font-ui);resize:vertical;border-radius:9px;padding:12px 13px;line-height:1.6}.field-hint{color:var(--text-3);margin-top:5px;font-size:11px}.field-error{color:var(--st-fail);font-size:12.5px;font-weight:500}.seg-group{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;gap:6px;padding:4px;display:grid}.table-header{border-bottom:1px solid var(--border);font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);background:var(--surface-2);padding:11px 18px;font-size:10.5px;display:grid}.table-row{border-bottom:1px solid var(--line);align-items:center;padding:13px 18px;font-size:13px;display:grid}.btn{cursor:pointer;height:40px;font-size:13px;font-weight:600;font-family:var(--font-ui);white-space:nowrap;border:none;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:0 18px;display:inline-flex}.btn:disabled{cursor:not-allowed;opacity:.85}.btn-primary{background:var(--primary);color:var(--on-primary)}.btn-primary:disabled{background:var(--text-3)}.btn-secondary{color:var(--text-2);border:1px solid var(--border-2);background:0 0}.btn-danger{color:var(--st-fail);border:1px solid var(--st-fail);background:0 0}.btn-icon{border:1px solid var(--border-2);background:var(--surface);width:30px;height:30px;color:var(--text-2);cursor:pointer;font-family:var(--font-ui);border-radius:8px;justify-content:center;align-items:center;padding:0;display:flex}.btn-icon--lg{border-color:var(--border);border-radius:9px;width:36px;height:36px}.btn-sm{height:34px;padding:0 14px;font-size:12.5px}.btn-link{cursor:pointer;height:auto;color:var(--text-3);background:0 0;border:none;padding:0;font-size:11.5px;font-weight:400}.modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:50;background:#080a0e80;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-panel{background:var(--surface);border:1px solid var(--border);width:100%;box-shadow:var(--shadow-lg);border-radius:16px;animation:.16s ease-out pop;overflow:hidden}.modal-header{border-bottom:1px solid var(--line);padding:18px 22px}.modal-header-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.modal-close{width:28px;height:28px;color:var(--text-3);cursor:pointer;background:0 0;border:none;font-size:18px}.modal-body{flex-direction:column;gap:15px;padding:22px;display:flex}.modal-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;padding:16px 22px;display:flex}.state-text{color:var(--text-3);padding:18px;font-size:13px}.state-error{color:var(--st-fail);padding:18px;font-size:13px}.toggle{cursor:pointer;background:var(--border-2);border:none;border-radius:12px;flex:none;width:38px;height:22px;transition:background .15s;position:relative}.toggle.is-on{background:var(--accent)}.toggle-knob{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #0000004d}.toggle.is-on .toggle-knob{transform:translate(16px)}.toast{z-index:60;background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow-lg);border-radius:11px;align-items:center;gap:9px;padding:11px 18px;font-size:13px;font-weight:500;animation:.2s ease-out toastIn;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.badge{height:22px;font-family:var(--font-mono);letter-spacing:.04em;border-radius:6px;align-items:center;padding:0 9px;font-size:10.5px;font-weight:600;display:inline-flex}.badge-active{background:var(--st-sent-bg);color:var(--st-sent)}.badge-inactive{background:var(--surface-2);color:var(--text-3);border:1px solid var(--border)}.badge-pending{background:var(--st-pend-bg);color:var(--st-pend)}.badge-failed{background:var(--st-fail-bg);color:var(--st-fail)}.badge-window{background:var(--wa-soft);color:var(--wa-2)}.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-border-default:1px solid #bbb;--xy-node-border-selected-default:1px solid #555;--xy-handle-background-color-default:#333;--xy-selection-background-color-default:#9696b41a;--xy-selection-border-default:1px dotted #9b9b9bcc;--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:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-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));min-width:5px;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{flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{justify-content:center;align-items:center;width:26px;height:26px;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border:var(--xy-node-border,var(--xy-node-border-default));color:var(--xy-node-color,var(--xy-node-color-default))}.react-flow__node-input.selected,.react-flow__node-input:focus,.react-flow__node-input:focus-visible,.react-flow__node-default.selected,.react-flow__node-default:focus,.react-flow__node-default:focus-visible,.react-flow__node-output.selected,.react-flow__node-output:focus,.react-flow__node-output:focus-visible,.react-flow__node-group.selected,.react-flow__node-group:focus,.react-flow__node-group:focus-visible{border:var(--xy-node-border-selected,var(--xy-node-border-selected-default));outline:none}.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__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%}.pbi-rel-diagram{background:var(--surface-2);flex:1;width:100%;min-height:620px;position:relative}.pbi-rel-diagram>.react-flow{width:auto!important;height:auto!important;position:absolute!important;inset:0!important}.pbi-rel-diagram--loading{justify-content:center;align-items:center;display:flex}.pbi-rel-diagram .react-flow__attribution{display:none}.pbi-rel-diagram .react-flow__controls{box-shadow:var(--shadow);border:1px solid var(--border);border-radius:10px;overflow:hidden}.pbi-rel-diagram .react-flow__controls-button{background:var(--surface);border:none;border-bottom:1px solid var(--line);color:var(--text-2);width:28px;height:28px}.pbi-rel-diagram .react-flow__controls-button:last-child{border-bottom:none}.pbi-rel-diagram .react-flow__controls-button:hover{background:var(--pbi-soft);color:var(--pbi-2)}.pbi-rel-diagram .react-flow__controls-button svg{fill:currentColor}.pbi-rel-node{border:1px solid var(--border);background:var(--surface);width:236px;box-shadow:var(--shadow);border-radius:12px;font-size:12px;transition:opacity .15s,border-color .15s,box-shadow .15s;overflow:hidden}.pbi-rel-node--highlighted{border-color:var(--pbi);box-shadow:0 0 0 2px var(--pbi-soft), 0 0 14px var(--pbi);z-index:10}.pbi-rel-node--dimmed{opacity:.35}.pbi-rel-node__header{background:var(--pbi-soft);border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:10px 12px;display:flex}.pbi-rel-node__icon{color:var(--pbi-2);flex:none;font-size:12px}.pbi-rel-node__title{font-family:var(--font-display);color:var(--text);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13.5px;font-weight:600;overflow:hidden}.pbi-rel-node__badge{text-transform:uppercase;color:var(--text-3);border:1px solid var(--border-2);background:var(--surface);border-radius:5px;flex:none;padding:1px 5px;font-size:9px;font-weight:600}.pbi-rel-node__body{padding:4px 0}.pbi-rel-node__row{align-items:center;gap:7px;height:26px;padding:0 12px;display:flex}.pbi-rel-node__glyph{font-family:var(--font-mono);color:var(--text-3);flex:none;font-size:11px;font-weight:700}.pbi-rel-node__glyph--key{color:var(--pbi-2);flex:none;width:12px;font-size:10.5px}.pbi-rel-node__col{font-family:var(--font-mono);color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:11.5px;overflow:hidden}.pbi-rel-node__type{font-family:var(--font-mono);color:var(--text-3);flex:none;font-size:9.5px}.pbi-rel-handle.react-flow__handle{background:var(--pbi);border:1px solid var(--surface);width:6px;height:6px}.pbi-rel-legend{color:var(--text-2);align-items:center;gap:14px;font-size:11px;display:flex}.pbi-rel-legend__item{align-items:center;gap:6px;display:flex}.pbi-rel-legend__arrow{font-family:var(--font-mono);color:var(--pbi);font-weight:700}
