/* Review-only workbench extension. Native SVG, no new runtime dependencies. */
.next-mock-badge{font-size:11px;font-weight:500;color:#3e657e;background:#edf5fa;border:1px solid #c8dce9;border-radius:5px;padding:4px 8px}.master-bar{gap:12px}.master-bar>div:first-child{flex:none}.master-bar [role=tablist]{flex-wrap:wrap;gap:3px}.master-bar [role=tab]{font-size:11px;padding:6px 10px;white-space:nowrap}.master-bar [aria-selected=true]{background:#e1effa;color:#005e9d;border-color:#76afd4;box-shadow:inset 0 -2px #0075c7}.next-workbench{min-width:0;color:#304b60}.next-context{display:flex;align-items:center;gap:16px;padding:6px 1px 9px;flex:none;font-size:11px}.next-context label{display:flex;align-items:center;gap:8px;font-size:10px;color:#52697c}.next-context select{min-height:36px;max-width:230px;background:#fff;border-color:#cfdae4}.next-context-scope{color:#5e7487;font-size:11px}.next-link{border:0;background:transparent;color:#0069ac;box-shadow:none;padding:5px 4px;min-height:36px;font-weight:400;cursor:pointer}.next-context>.next-link{margin-left:auto}.next-stage{border:1px solid #c6d8e6;border-radius:12px;overflow:hidden;background:#fff;flex:none}.next-titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(100deg,#e7f3fb,#f7fafc);border-bottom:1px solid #d8e4ee;padding:10px 15px}.next-eyebrow{font-size:10px;letter-spacing:.08em;font-weight:600;color:#47708a}.next-titlebar h2{font-size:21px;font-weight:500;line-height:1.25;margin:4px 0 0;color:#244a66}.next-stop{font-size:11px;color:#52697c;white-space:nowrap}.next-map{overflow:auto;overscroll-behavior-inline:contain;background:linear-gradient(180deg,#fff,#f8fbfe);scroll-padding:10px}.next-map svg{width:100%;min-width:920px;height:auto;display:block;max-height:310px}.next-zone{fill:#f5f9fd;stroke:#d2dfe9;stroke-width:1}.next-zone-name{font-size:11px;letter-spacing:.7px;font-weight:500;fill:#5d7588}.next-connector{fill:none;stroke:#bdcbd6;stroke-width:1.7}.next-connector.conditional{stroke-dasharray:6 5}.next-connector.lit{stroke:#0074bf;stroke-width:2.5}.next-connector.held{stroke:#6b8093;stroke-dasharray:5 4}.next-node{cursor:pointer}.next-node .next-hit{fill:transparent;stroke:none}.next-node circle{fill:#fff;stroke:#c0cfdb;stroke-width:1.5}.next-node.is-active circle{fill:#e2f0fb;stroke:#0075c7;stroke-width:2.5}.next-node .topo-symbol{transform:scale(.72);stroke:#41657f;stroke-width:2.2;fill:none}.next-node.is-active .topo-symbol{stroke:#0066ad;stroke-width:2.5}.next-node.is-fault circle{fill:url(#nextHatch-resilience);stroke:#607789;stroke-dasharray:4 3}.next-node-title{font-size:16px;font-weight:600;fill:#264a64}.next-node-state{font-size:12px;fill:#506d83}.next-node.is-active .next-node-state{font-weight:600;fill:#0066a7}.next-node:focus{outline:none}.next-node:focus-visible .next-hit{stroke:#0e6099;stroke-width:3;fill:none}.next-gate rect{fill:#eef3f7;stroke:#657f94;stroke-width:1.7}.next-gate path{stroke:#526c82;stroke-width:3}.next-gate text{font-size:12px;fill:#456379;paint-order:stroke;stroke:#f5f9fd;stroke-width:4px}.next-svg-note{font-size:12px;fill:#657d8f}.next-inspect{display:flex;align-items:center;gap:12px;padding:7px 14px;background:#f0f6fa;border-top:1px solid #dce6ee;font-size:12px}.next-inspect .next-link{margin-left:auto}.next-caption{padding:12px 16px;background:#edf6fc;border-top:1px solid #d4e3ef;min-height:159px}.next-caption-head{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#4c6d85}.next-caption-head span:last-child{color:#0069ac}.next-caption h3{font-size:22px;line-height:1.25;font-weight:600;margin:7px 0;color:#244660}.next-caption>p{font-size:17px;line-height:1.4;margin:6px 0;max-width:110ch}.next-caption .next-action{font-size:13px;color:#42647d;margin-top:8px}.next-observations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f8fafc;border-block:1px solid #dbe5ed}.next-observations span{padding:6px 12px;text-align:center;font-size:11px;color:#4d6b81;border-right:1px solid #e0e7ed}.next-observations span:last-child{border:0}.next-transport{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 12px}.next-key{font-size:10px;color:#647d90}.next-transport>div{display:flex;align-items:center;gap:9px}.next-transport button{min-height:38px;background:transparent;color:#0069ac;border:0;box-shadow:none;font-size:12px}.next-transport button[data-next-nav=play]{border:1px solid #bfd2e1;background:#f0f7fc;border-radius:6px;min-width:66px}.next-transport button:disabled{color:#7b91a2;opacity:.65;cursor:default}.next-position{font-size:11px;color:#526e83;min-width:32px}.next-lower{display:grid;grid-template-columns:1.15fr 1fr;gap:14px;margin:14px 0;min-height:0}.next-compare,.next-raci{min-width:0;background:#fff;border:1px solid #d6e1e9;border-radius:10px;padding:12px 14px}.next-lower h3{font-size:15px;font-weight:600;color:#365c78;margin:0 0 8px}.next-models{display:grid;grid-template-columns:1fr 1fr;gap:14px}.next-models article+article{border-left:2px solid #a6cde6;padding-left:14px}.next-models p{font-size:12px;line-height:1.45;margin:5px 0}.next-complexity{background:#f2f6f9;padding:8px 10px;margin-top:9px;font-size:11px;border-left:2px solid #99afc0}.next-complexity b{font-weight:600}.next-complexity p{margin:3px 0;line-height:1.4}.next-lower details{font-size:11px;color:#526d82;margin-top:9px}.next-lower details summary{cursor:pointer;padding:5px 0;min-height:30px}.next-lower details p{font-size:12px;line-height:1.5}.next-raci-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.next-raci-title h3{font-size:13px;margin:0}.next-raci>p{font-size:11px;line-height:1.4;margin:7px 0;color:#526d82}.next-raci table{border-collapse:collapse;width:100%;font-size:11px}.next-raci th,.next-raci td{padding:4px 5px;border-bottom:1px solid #e0e8ef;text-align:center}.next-raci th:first-child{text-align:left;font-weight:500;width:65%}.next-raci thead th{font-size:10px;color:#59778d}.next-raci tr.current-lead th{color:#0069ac}.next-current{display:inline-block;font-size:8px;font-weight:600;background:#e2f0fa;border-radius:3px;padding:2px 4px;margin-left:5px}.next-delta{background:#e9f4fc;color:#0065a3;font-weight:600}.next-dialog{width:min(670px,calc(100% - 28px));border:1px solid #bfd3e2;padding:0;border-radius:12px;box-shadow:0 20px 80px #1c405c38;color:#304f65;max-height:85dvh}.next-dialog::backdrop{background:#183b5266}.next-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid #d4e3ed;background:#edf6fc}.next-dialog-heading h2{font-size:19px;margin:0}.next-dialog-heading button{min-height:38px}.next-dialog-content{padding:16px 20px;overflow:auto;max-height:68dvh}.next-dialog-content h3{font-size:16px}.next-dialog-content p{font-size:13px;line-height:1.6}.next-workbench button:focus-visible,.next-workbench select:focus-visible,.next-workbench summary:focus-visible,.next-map:focus-visible{outline:3px solid #0069b4;outline-offset:2px}
@media(min-width:1024px) and (orientation:landscape){.next-workbench{display:flex;flex:1;min-height:0;flex-direction:column;overflow:auto;overscroll-behavior:contain;padding-bottom:6px}.next-map svg{max-height:285px}.next-lower{margin-top:11px;margin-bottom:6px}.next-caption{min-height:145px;padding-block:10px}.next-caption>p{font-size:16px}.next-caption h3{font-size:21px}.next-raci-title{display:block}.next-raci-title h3{margin-top:3px}.next-models p{font-size:12px}.next-lower details{margin-top:5px}}
@media(min-width:1024px) and (orientation:landscape) and (max-height:800px){.next-map svg{max-height:215px}.next-titlebar{padding-block:7px}.next-caption{min-height:140px}.next-lower{margin-top:10px}.next-workbench{overflow:auto}}
@media(max-width:1100px){.master-bar{flex-wrap:wrap;gap:8px}.master-bar [role=tablist]{width:100%;display:flex}.master-bar [role=tab]{flex:1;font-size:11px;padding:6px}.next-context{flex-wrap:wrap;gap:8px 12px}.next-context label{font-size:10px}.next-context-scope{font-size:10px}.next-map svg{max-height:340px;min-width:980px}.next-lower{grid-template-columns:1fr 1fr}.next-titlebar h2{font-size:21px}}
@media(max-width:800px){.next-lower{grid-template-columns:1fr}.next-context{align-items:start}.next-context label{flex:1;min-width:140px;display:block}.next-context select{display:block;width:100%;max-width:none;margin-top:3px;min-height:44px}.next-context>.next-link{margin-left:auto}.next-titlebar{padding:10px 12px;align-items:flex-start}.next-titlebar h2{font-size:22px}.next-titlebar .next-eyebrow{font-size:9px}.next-stop{font-size:10px;margin-top:3px}.next-map svg{min-width:980px;max-height:none}.next-caption{min-height:0;padding:12px}.next-caption-head{flex-direction:column;gap:4px}.next-caption h3{font-size:21px}.next-caption>p{font-size:17px}.next-observations{grid-template-columns:1fr}.next-observations span{text-align:left;border-bottom:1px solid #e1e8ef;font-size:12px}.next-transport{align-items:stretch;flex-direction:column;padding:7px 10px}.next-key{font-size:10px}.next-transport>div{justify-content:space-between}.next-transport button{min-height:44px;min-width:54px}.next-models p,.next-raci>p{font-size:13px}.next-lower h3{font-size:17px}.next-raci-title{display:block}.next-raci-title h3{margin-top:5px}.next-raci table{font-size:12px}.next-raci th,.next-raci td{padding:6px 5px}.next-complexity{font-size:12px}.next-current{font-size:9px}.next-lower details summary{min-height:44px;display:flex;align-items:center;font-size:12px}.next-lower details p{font-size:13px}.next-inspect{align-items:start;flex-wrap:wrap}.next-inspect span{flex-basis:100%}.master-bar [role=tab]{flex:none;font-size:11px;min-height:40px}.master-bar [role=tablist]{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:3px 2px 6px;scrollbar-width:thin}.master-bar{min-width:0}.master-bar>div:first-child{max-width:100%}}
@media(prefers-reduced-motion:reduce){.next-workbench *{scroll-behavior:auto;animation:none;transition:none}}

/* Diagram is the workbench focal area; never letterbox it into a small centered picture. */
.next-map svg{width:100%;height:auto;max-height:none;min-width:980px}.next-independent-label{font-size:11px;fill:#0066a7;paint-order:stroke;stroke:#f5f9fd;stroke-width:4px;stroke-linejoin:round}
@media(max-width:800px){.next-context label{min-width:0}.next-context select{min-width:0;max-width:100%;width:100%}.next-context{min-width:0}}

