.enterprise-studio{display:flex;flex-direction:column;flex:1 1 auto;height:100%;min-height:0;overflow:hidden;background:var(--studio-bg);color:var(--studio-text);font-family:Inter,system-ui,-apple-system,sans-serif}.enterprise-studio-body{display:grid;grid-template-columns:22% 56% 22%;flex:1 1 auto;min-height:0;overflow:hidden;align-items:stretch}.enterprise-studio-body>*{min-height:0;height:100%}.enterprise-studio-body .enterprise-panel,.enterprise-studio-body>main{display:flex;flex-direction:column;overflow:hidden}@media (max-width:1600px){.enterprise-studio-body{grid-template-columns:24% 52% 24%}}.enterprise-panel{min-height:0;overflow-y:auto;overflow-x:hidden}.enterprise-panel::-webkit-scrollbar{width:6px}.enterprise-panel::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:3px}.enterprise-card{border:1px solid var(--studio-border);border-radius:10px;background:var(--studio-surface)}.enterprise-card-header{padding:10px 12px}.enterprise-card-header,.enterprise-interview-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--studio-border)}.enterprise-interview-header{height:64px;flex-shrink:0;gap:16px;background:var(--studio-surface);padding:0 16px}.enterprise-interview-header-brand,.enterprise-interview-header-left,.enterprise-interview-header-right{display:flex;min-width:0;align-items:center;gap:12px}.enterprise-interview-header-meta{align-items:center;gap:20px}.enterprise-interview-header-divider{width:1px;height:28px;flex-shrink:0;background:var(--studio-border)}.enterprise-interview-header-actions{display:flex;align-items:center;gap:4px}.enterprise-header-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;transition:background .15s,border-color .15s}.enterprise-header-icon-btn:hover{background:rgba(255,255,255,.05);border-color:var(--studio-border)}.enterprise-header-icon-btn.active{background:var(--studio-surface-alt);border-color:var(--studio-border)}.enterprise-header-meta-chip{display:flex;flex-direction:column;gap:2px}.enterprise-header-meta-label{font-size:9px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--studio-text-muted)}.enterprise-header-meta-value{font-size:11px;font-weight:500;color:var(--studio-text);white-space:nowrap}.enterprise-card-body{padding:12px}.enterprise-btn-primary{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;color:#fff;background:var(--studio-accent);border:none;cursor:pointer;transition:opacity .15s}.enterprise-btn-primary:hover:not(:disabled){opacity:.9}.enterprise-btn-primary:disabled{opacity:.5;cursor:not-allowed}.enterprise-btn-ghost{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:500;color:var(--studio-text);background:transparent;border:1px solid var(--studio-border);cursor:pointer}.enterprise-btn-ghost:hover{background:rgba(255,255,255,.04)}.enterprise-btn-danger{border-color:var(--studio-danger);color:var(--studio-danger)}.enterprise-tag{display:inline-flex;align-items:center;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:500;background:var(--studio-surface-alt);color:var(--studio-text-muted)}.enterprise-tag-accent{background:var(--studio-accent-muted);color:#c4b5fd}.enterprise-tag-warning{background:rgba(245,158,11,.15);color:var(--studio-warning)}.enterprise-tag-blue{background:rgba(59,130,246,.15);color:#93c5fd}.enterprise-tab{padding:8px 14px;font-size:12px;font-weight:500;color:var(--studio-text-muted);cursor:pointer;background:none;border:none;border-bottom:2px solid transparent}.enterprise-tab.active{color:var(--studio-text);border-bottom-color:var(--studio-accent)}.enterprise-signal-bar{height:4px;border-radius:2px;background:var(--studio-surface-alt);overflow:hidden}.enterprise-signal-fill{height:100%;border-radius:2px;background:var(--studio-accent);transition:width .4s ease}.enterprise-timer-ring{position:relative;width:120px;height:120px;margin:0 auto}.enterprise-timer-ring svg{transform:rotate(-90deg)}.enterprise-video-card{position:relative;border-radius:8px;overflow:hidden;background:#000;aspect-ratio:16/10}.enterprise-video-compact{height:72px;background:#000;border-radius:0 0 8px 8px;overflow:hidden}.enterprise-video-expanded{height:220px;background:#000;border-radius:8px;overflow:hidden}.enterprise-video-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:8px;background:linear-gradient(transparent 50%,rgba(0,0,0,.7))}.enterprise-integrity-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:var(--studio-surface-alt);cursor:default}.enterprise-integrity-icon.ok{color:var(--studio-success)}.enterprise-integrity-icon.warn{color:var(--studio-warning)}.enterprise-integrity-icon.err{color:var(--studio-danger)}.enterprise-rail-drawer{border:1px solid var(--studio-border);border-radius:10px;background:var(--studio-surface);overflow:hidden}.enterprise-rail-drawer-trigger{display:flex;width:100%;align-items:center;gap:8px;padding:10px 12px;border:none;background:transparent;cursor:pointer;color:inherit;transition:background .15s}.enterprise-rail-drawer-trigger:hover{background:rgba(255,255,255,.03)}.enterprise-rail-drawer-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:var(--studio-accent-muted);flex-shrink:0}.enterprise-rail-drawer-body{border-top:1px solid var(--studio-border);padding:12px}.enterprise-left-rail-videos .enterprise-card-header,.enterprise-left-rail-videos .flex.items-center.justify-between.px-2{padding-top:2px;padding-bottom:2px}.enterprise-right-rail{display:flex;min-height:0;overflow:hidden;position:relative}.enterprise-right-rail-videos{display:flex;flex-direction:column;padding-right:30px}.enterprise-video-stack{height:100%;min-height:0}.enterprise-video-stack>.enterprise-card{flex:1 1 0;min-height:0;display:flex;flex-direction:column}.enterprise-video-stack .enterprise-video-compact{flex:1 1 0;min-height:100px;height:auto}.enterprise-integrity-rail{position:absolute;top:12px;right:0;z-index:2;display:flex;flex-direction:row-reverse;align-items:flex-start;height:auto;border-left:none}.enterprise-integrity-tab{display:flex;align-items:center;justify-content:center;width:26px;height:auto;padding:8px 4px;border:1px solid var(--studio-border);border-right:none;border-radius:6px 0 0 6px;background:var(--studio-surface-alt);color:var(--studio-text-muted);cursor:pointer;transition:background .15s,color .15s;flex-shrink:0}.enterprise-integrity-tab.active,.enterprise-integrity-tab:hover{background:var(--studio-accent-muted);color:var(--studio-accent);border-color:var(--studio-border)}.enterprise-integrity-tab-label{writing-mode:vertical-rl;text-orientation:mixed;transform:rotate(180deg);font-size:10px;font-weight:600;letter-spacing:.04em;line-height:1;white-space:nowrap}.enterprise-integrity-panel{display:flex;flex-direction:column;width:240px;max-height:min(420px,calc(100vh - 120px));min-height:0;border:1px solid var(--studio-border);border-right:none;border-radius:8px 0 0 8px;background:var(--studio-surface);animation:enterprise-integrity-slide-in .2s ease;overflow:hidden}@keyframes enterprise-integrity-slide-in{0%{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}.enterprise-integrity-panel-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--studio-border);flex-shrink:0}.enterprise-integrity-panel-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px}.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,0.5);--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:rgba(240,240,240,0.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,0.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(0,0,0,0.08);--xy-node-boxshadow-selected-default:0 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,0.08);--xy-selection-border-default:1px dotted rgba(0,89,220,0.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,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,0.25);--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:rgba(60,60,60,0.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:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--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,0.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(255,255,255,0.08);--xy-node-boxshadow-selected-default:0 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,0.08);--xy-selection-border-default:1px dotted rgba(200,200,220,0.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,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;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{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.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .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.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-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{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{position:absolute;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top: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{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-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{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-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.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{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.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{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.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.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.bottom,.react-flow__resize-control.line.top{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))}.diagram-shell{display:flex;flex-direction:column;height:100%;min-height:0;flex:1 1 auto;overflow:hidden;background:var(--studio-bg)}.diagram-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex-shrink:0;border-bottom:1px solid var(--studio-border);padding:6px 8px;background:var(--studio-surface)}.diagram-select{max-width:180px;background:var(--studio-surface-alt);color:var(--studio-text);font-size:11px;padding:4px 8px}.diagram-select,.diagram-tool-btn{border:1px solid var(--studio-border);border-radius:6px}.diagram-tool-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:transparent;color:var(--studio-text-muted);cursor:pointer}.diagram-tool-btn.active,.diagram-tool-btn:hover{background:var(--studio-accent-muted);color:var(--studio-accent)}.diagram-saving{font-size:10px;color:var(--studio-text-muted)}.diagram-toolbar-spacer{flex:1 1 auto;min-width:8px}.diagram-shell.diagram-shell-fullscreen,.diagram-shell:fullscreen{width:100vw;height:100vh;max-height:100vh;background:var(--studio-bg);z-index:9999}.diagram-shell.diagram-shell-fullscreen .diagram-body,.diagram-shell:fullscreen .diagram-body{height:calc(100vh - 44px)}.diagram-body{display:grid;grid-template-columns:176px minmax(0,1fr) 232px;min-height:0;flex:1 1 auto;height:100%;overflow:hidden}.diagram-toolbox{border-right:1px solid var(--studio-border);background:var(--studio-surface);overflow-y:auto;overflow-x:hidden;padding:8px;min-height:0}.diagram-panel-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--studio-text-muted);margin-bottom:8px}.diagram-toolbox-grid{display:flex;flex-direction:column;gap:4px}.diagram-toolbox-item{border:1px solid var(--studio-border);border-radius:6px;background:var(--studio-surface-alt);color:var(--studio-text);font-size:10px;padding:6px 8px;text-align:left;cursor:grab;width:100%}.diagram-toolbox-item:hover{border-color:var(--studio-accent)}.diagram-toolbox-label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.diagram-palette{display:flex;flex-direction:column;gap:6px}.diagram-palette-section{border-bottom:1px solid var(--studio-border);padding-bottom:6px}.diagram-palette-heading{display:flex;align-items:center;gap:4px;width:100%;border:none;background:transparent;color:var(--studio-text-muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:4px 2px;cursor:pointer;text-align:left}.diagram-palette-heading:hover{color:var(--studio-text)}.diagram-palette-count{margin-left:auto;font-size:9px;opacity:.7}.diagram-export-menu{position:relative}.diagram-export-dropdown{position:absolute;top:100%;left:0;z-index:20;margin-top:4px;min-width:120px;border:1px solid var(--studio-border);border-radius:8px;background:var(--studio-surface);box-shadow:0 8px 24px rgba(0,0,0,.35);overflow:hidden}.diagram-export-dropdown button{display:block;width:100%;border:none;background:transparent;color:var(--studio-text);font-size:11px;padding:8px 12px;text-align:left;cursor:pointer}.diagram-export-dropdown button:hover{background:var(--studio-accent-muted)}.diagram-eval-overall{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px;border-radius:8px;background:var(--studio-surface-alt)}.diagram-eval-score{font-size:28px;font-weight:800;color:var(--studio-accent);line-height:1}.diagram-eval-label{font-size:10px;color:var(--studio-text-muted);text-transform:uppercase;letter-spacing:.06em}.diagram-score-grid{display:flex;flex-direction:column;gap:6px}.diagram-score-row{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;align-items:center;font-size:10px;color:var(--studio-text-muted)}.diagram-score-bar{height:6px;border-radius:999px;background:var(--studio-surface-alt);overflow:hidden}.diagram-score-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--studio-accent),#a78bfa)}.diagram-score-num{font-size:10px;font-weight:600;color:var(--studio-text);min-width:22px;text-align:right}.diagram-suggestion{font-size:10px;line-height:1.45;white-space:pre-wrap;color:var(--studio-text-muted);background:var(--studio-surface-alt);border-radius:6px;padding:8px;margin:4px 0 0;font-family:inherit}.diagram-review-block{border-top:1px solid var(--studio-border);padding-top:10px;margin-top:8px}.diagram-canvas-wrap{position:relative;height:100%;min-height:0;overflow:hidden;background:#0d1117}.diagram-canvas-wrap .react-flow{width:100%;height:100%}.diagram-symbol-node{border:1.5px solid var(--studio-accent);color:var(--studio-text);min-width:96px;min-height:36px}.diagram-symbol-node.selected{box-shadow:0 0 0 2px rgba(124,58,237,.45)}.diagram-handle{width:7px!important;height:7px!important;background:var(--studio-accent)!important;border:1px solid #fff!important}.diagram-right-panel{border-left:1px solid var(--studio-border);background:var(--studio-surface);display:flex;flex-direction:column;min-height:0;overflow:hidden}.diagram-right-tabs{display:flex;border-bottom:1px solid var(--studio-border);flex-shrink:0}.diagram-right-tab{flex:1;border:none;background:transparent;color:var(--studio-text-muted);font-size:10px;font-weight:600;padding:8px 4px;cursor:pointer}.diagram-right-tab.active{color:var(--studio-text);box-shadow:inset 0 -2px 0 var(--studio-accent)}.diagram-right-body{padding:10px;overflow-y:auto;min-height:0;flex:1}.diagram-field{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--studio-text-muted)}.diagram-field input,.diagram-field textarea{border:1px solid var(--studio-border);border-radius:6px;background:var(--studio-surface-alt);color:var(--studio-text);font-size:11px;padding:6px 8px}.diagram-field.checkbox{flex-direction:row;align-items:center;gap:8px}.diagram-muted{font-size:11px;color:var(--studio-text-muted)}.diagram-subtitle{font-size:10px;font-weight:700;text-transform:uppercase;color:var(--studio-text-muted);margin-top:8px}.diagram-bullet{margin:4px 0 0;padding-left:16px;font-size:11px;color:var(--studio-text-muted)}.diagram-layer-list{list-style:none;margin:0;padding:0}.diagram-layer-list li{font-size:11px;padding:6px 8px;border-radius:6px;color:var(--studio-text-muted)}.diagram-layer-list li.active{background:var(--studio-accent-muted);color:var(--studio-text)}.diagram-canvas-wrap .react-flow__minimap.diagram-minimap{right:12px;width:120px!important;height:80px!important}.diagram-canvas-wrap .react-flow__controls.diagram-controls,.diagram-canvas-wrap .react-flow__minimap.diagram-minimap{position:absolute;bottom:12px;margin:0!important;background:var(--studio-surface)!important;border:1px solid var(--studio-border)!important;border-radius:8px;overflow:hidden}.diagram-canvas-wrap .react-flow__controls.diagram-controls{left:12px;box-shadow:none!important}.diagram-controls button{background:var(--studio-surface-alt)!important;border-bottom:1px solid var(--studio-border)!important;color:var(--studio-text)!important}.diagram-controls button:last-child{border-bottom:none!important}