:root{--diagram-bg: var(--sl-color-bg);--diagram-node-bg: var(--sl-color-bg-nav);--diagram-node-border: var(--sl-color-gray-5);--diagram-node-text: var(--sl-color-white);--diagram-muted: var(--sl-color-gray-2);--diagram-edge-primary: #94a3b8;--diagram-edge-conditional: #ee7600;--diagram-edge-label-bg: #ffffff;--diagram-canvas-bg: #f7f8fa;--diagram-dot-color: #bcc4cc;--diagram-card-bg: #ffffff;--diagram-card-border: #e3e8ee;--diagram-card-shadow: 0 1px 3px rgba(50,50,93,.08), 0 1px 2px rgba(0,0,0,.04);--diagram-card-radius: 10px;--diagram-text: #0a2540;--diagram-text-muted: #425466;--diagram-edge: #9ca3af;--diagram-edge-label-font: ui-monospace, SFMono-Regular, Menlo, monospace;--phase-1: #071f5c;--phase-2: #125ac8;--phase-3: #008b8b;--phase-4: #5a8f2b;--phase-5: #ee7600;--phase-6: #6a35b3;--phase-7: #b34a8a;--actor-applicant: #5a8f2b;--actor-system: #125ac8;--actor-ai: #008b8b;--actor-reviewers: #ee7600;--actor-optional: #8A95A3;--flow-1: #009688;--flow-2: #155ED1;--flow-3: #6F35C4}:root[data-theme=light]{--diagram-node-text: #071f5c}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.diagram-modal-overlay{position:fixed;inset:0;background:#0a254080;display:flex;align-items:center;justify-content:center;z-index:9999;padding:24px}.diagram-modal-shell{position:relative;width:90vw;height:90vh;background:var(--diagram-card-bg);border-radius:var(--diagram-card-radius);box-shadow:var(--diagram-card-shadow);overflow:hidden}.diagram-modal-close{position:absolute;top:12px;right:12px;z-index:10;display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#fff;border:1px solid var(--diagram-card-border);border-radius:50%;color:var(--diagram-text);cursor:pointer;transition:background .15s}.diagram-modal-close:hover{background:#f7f8fa}.diagram-modal-close:focus-visible{outline:2px solid var(--diagram-text);outline-offset:2px}.diagram-modal-shell .wf-root,.diagram-modal-shell .ig-root,.diagram-modal-shell .pl-root{margin:0;padding:0;border:none;border-radius:0;background:var(--diagram-canvas-bg);width:100%;height:100%}.diagram-mobile-img{display:block;width:100%;height:auto;margin:1.5rem 0 2rem;border:1px solid var(--diagram-card-border);border-radius:.8rem;background:var(--diagram-canvas-bg)}.wf-root .react-flow__controls,.ig-root .react-flow__controls,.pl-root .react-flow__controls,.diagram-modal-shell .react-flow__controls{box-shadow:none;border:1px solid var(--diagram-card-border);border-radius:6px;overflow:hidden}.wf-root .react-flow__controls-button,.ig-root .react-flow__controls-button,.pl-root .react-flow__controls-button,.diagram-modal-shell .react-flow__controls-button{width:28px;height:28px;margin:0;padding:0;background:#fff;border:none;border-bottom:1px solid var(--diagram-card-border);color:var(--diagram-text);box-shadow:none}.wf-root .react-flow__controls,.ig-root .react-flow__controls,.pl-root .react-flow__controls,.diagram-modal-shell .react-flow__controls{gap:0}.wf-root .react-flow__controls-button:last-child,.ig-root .react-flow__controls-button:last-child,.pl-root .react-flow__controls-button:last-child,.diagram-modal-shell .react-flow__controls-button:last-child{border-bottom:none}.wf-root .react-flow__controls-button:hover,.ig-root .react-flow__controls-button:hover,.pl-root .react-flow__controls-button:hover,.diagram-modal-shell .react-flow__controls-button:hover{background:#f7f8fa}.wf-root .react-flow__controls-button svg,.ig-root .react-flow__controls-button svg,.pl-root .react-flow__controls-button svg,.diagram-modal-shell .react-flow__controls-button svg{fill:var(--diagram-text);max-width:14px;max-height:14px}.gallery-mini-flow .react-flow__handle,.wf-root .react-flow__handle,.ig-root .react-flow__handle,.pl-root .react-flow__handle,.diagram-modal-shell .react-flow__handle{opacity:0;pointer-events:none}@media print{.react-flow__controls,.react-flow__minimap,.pd-fullscreen-toggle,[data-diagram-print-hide]{display:none!important}.react-flow,.react-flow__background,.react-flow__pane{background:#fff!important}.react-flow__node{box-shadow:none!important;break-inside:avoid}.react-flow__edge-path{stroke:#333!important}}.lightbox-trigger{position:relative;display:block;width:100%;padding:0;border:none;background:none;cursor:zoom-in}.lightbox-trigger img{display:block;width:100%;height:auto;border-radius:.4rem}.lightbox-trigger:focus-visible{outline:2px solid var(--diagram-text);outline-offset:2px;border-radius:.4rem}.lightbox-expand-hint{position:absolute;bottom:10px;left:10px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#fff;border:1px solid var(--diagram-card-border);border-radius:4px;color:var(--diagram-text);box-shadow:0 1px 2px #0a254014;transition:background .15s}.lightbox-trigger:hover .lightbox-expand-hint{background:#f7f8fa}.lightbox-modal-img-wrap{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:16px;box-sizing:border-box}.lightbox-modal-img{max-width:100%;max-height:100%;object-fit:contain;display:block}
