.bench-map{margin:22px 0;border:1px solid #315a70;border-radius:18px;background:linear-gradient(145deg,#092433 0%,#061722 58%,#08131c 100%);overflow:hidden;scroll-margin-top:84px;box-shadow:0 24px 70px rgba(0,0,0,.18)}
.bench-map>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:24px 26px 20px;border-bottom:1px solid #294c60;background:radial-gradient(circle at 85% 0,rgba(84,215,239,.11),transparent 34%)}
.bench-map>header small,.bench-map-group header small{display:block;color:#efbd55;font:800 .62rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.09em}.bench-map>header h2{font-size:clamp(1.5rem,3vw,2.65rem);line-height:.98;margin:.35rem 0}.bench-map>header p{max-width:850px;margin:.65rem 0 0;color:#9db4bf}.bench-map-boundary{max-width:330px;padding:12px 14px;border:1px solid #386277;border-radius:12px;color:#abc0c9;font:650 .64rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.bench-map-boundary b{color:#64e5bb}
.bench-map-toolbar{display:flex;flex-wrap:wrap;gap:7px;padding:13px 18px;border-bottom:1px solid #294c60;background:#06131d}.bench-map-toolbar button{cursor:pointer;border:1px solid #31566b;border-radius:999px;background:#091c28;color:#9db4bf;padding:7px 10px;font:760 .58rem ui-monospace,SFMono-Regular,Menlo,monospace}.bench-map-toolbar button:hover,.bench-map-toolbar button:focus-visible{border-color:#54d7ef;color:#e9f2f5;outline:none}.bench-map-toolbar button[aria-pressed=true]{background:#54d7ef;border-color:#54d7ef;color:#05202b}
.bench-map-stage{position:relative;padding:18px;overflow-x:auto}.bench-map-groups{position:relative;z-index:2;display:grid;grid-template-columns:repeat(6,minmax(165px,1fr));gap:26px;min-width:1140px}.bench-map-edges{position:absolute;z-index:1;inset:18px;width:calc(100% - 36px);height:calc(100% - 36px);pointer-events:none;overflow:visible}.bench-map-edges path{fill:none;stroke:#365366;stroke-width:1.5;opacity:.22;transition:opacity .2s,stroke-width .2s}.bench-map-edges path.active{opacity:.92;stroke-width:3}.bench-map-edges path[data-binding=LIVE_COUPLED],.bench-map-edges path[data-binding=STATE_OWNER]{stroke:#54d7ef}.bench-map-edges path[data-binding=TYPED_HANDOFF]{stroke:#69d39a;stroke-dasharray:7 5}.bench-map-edges path[data-binding=VIEW_PROJECTION]{stroke:#b78aef;stroke-dasharray:3 5}.bench-map-edges path[data-binding=RETURN_WITNESS]{stroke:#efbd55}.bench-map-edges path[data-binding=RESULT_LENS]{stroke:#ef6d9c;stroke-dasharray:10 4 2 4}.bench-map-edges path[data-binding=LAUNCHER]{stroke:#78909c;stroke-dasharray:2 6}
.bench-map-group{min-width:0}.bench-map-group header{min-height:78px;padding:10px 10px 12px;border-top:2px solid #315a70}.bench-map-group header b,.bench-map-group header span{display:block}.bench-map-group header b{margin-top:5px;color:#e9f2f5;font-size:.82rem}.bench-map-group header span{margin-top:3px;color:#819ca8;font-size:.63rem;line-height:1.35}.bench-map-group>div{display:grid;gap:9px}
.bench-map-node{position:relative;cursor:pointer;min-height:128px;text-align:left;border:1px solid #294c60;border-radius:12px;background:rgba(7,25,36,.96);color:#e9f2f5;padding:12px;box-shadow:0 10px 28px rgba(0,0,0,.12);transition:transform .18s,border-color .18s,opacity .18s,box-shadow .18s}.bench-map-node:hover,.bench-map-node:focus-visible{transform:translateY(-2px);border-color:#54d7ef;outline:none}.bench-map-node small,.bench-map-node b,.bench-map-node span,.bench-map-node em{display:block}.bench-map-node small{color:#69d39a;font:800 .54rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.07em}.bench-map-node b{margin-top:7px;font-size:.78rem}.bench-map-node span{margin-top:6px;color:#8fa8b3;font-size:.62rem;line-height:1.38}.bench-map-node em{position:absolute;left:12px;bottom:9px;color:#4f7486;font:700 .5rem ui-monospace,SFMono-Regular,Menlo,monospace;font-style:normal}.bench-map-node[data-binding=STATE_OWNER] small,.bench-map-node[data-binding=LIVE_COUPLED] small{color:#54d7ef}.bench-map-node[data-binding=VIEW_PROJECTION] small{color:#b78aef}.bench-map-node[data-binding=RETURN_WITNESS] small{color:#efbd55}.bench-map-node[data-binding=RESULT_LENS] small{color:#ef6d9c}.bench-map-node[data-binding=LAUNCHER] small{color:#a4b5bd}.bench-map-node.selected{border-color:#efbd55;box-shadow:inset 0 0 0 1px #efbd55,0 12px 35px rgba(239,189,85,.08)}.bench-map-node.playback:after{content:"";position:absolute;top:10px;right:10px;width:8px;height:8px;border-radius:50%;background:#69d39a;box-shadow:0 0 0 5px rgba(105,211,154,.12);animation:bench-map-pulse 1.2s ease-in-out infinite}.bench-map-node.filtered{opacity:.16}.bench-map-node.filtered.selected,.bench-map-node.filtered.playback{opacity:.72}
.bench-map-inspector{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:17px 22px;border-top:1px solid #294c60;background:#081a25}.bench-map-inspector small{color:#efbd55;font:800 .57rem ui-monospace,SFMono-Regular,Menlo,monospace}.bench-map-inspector h3{margin:.25rem 0;font-size:1.15rem}.bench-map-inspector p{margin:.25rem 0;color:#9db4bf;font-size:.72rem}.bench-map-selection-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.bench-map-selection-meta span,.bench-map-selection-meta code{border:1px solid #31566b;border-radius:999px;padding:5px 7px;background:#071721;color:#9db4bf;font:730 .55rem ui-monospace,SFMono-Regular,Menlo,monospace}.bench-map-selection-meta span{color:#54d7ef}.bench-map-inspector-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.bench-map-inspector-actions button,.bench-map-inspector-actions a{cursor:pointer;border:1px solid #54d7ef;border-radius:9px;background:transparent;color:#54d7ef;padding:9px 11px;text-decoration:none;font:780 .62rem ui-monospace,SFMono-Regular,Menlo,monospace}.bench-map-inspector-actions button:first-child{background:#54d7ef;color:#06202b}.bench-map-inspector-actions button:disabled{opacity:.35;cursor:not-allowed}.bench-map-foot{display:flex;justify-content:space-between;gap:16px;padding:10px 18px;border-top:1px solid #294c60;color:#718d99;font:690 .54rem/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}.bench-map-foot output{color:#69d39a}.bench-map-focus{animation:bench-map-target 2.2s ease-out}.bench-tour-running .bench-map-node.playback{border-color:#69d39a}
@keyframes bench-map-pulse{50%{transform:scale(.68);opacity:.55}}@keyframes bench-map-target{0%,35%{box-shadow:0 0 0 4px #efbd55,0 0 48px rgba(239,189,85,.38)}100%{box-shadow:none}}
@media(max-width:760px){.bench-map>header,.bench-map-inspector{grid-template-columns:1fr}.bench-map-boundary{max-width:none}.bench-map-groups{grid-template-columns:1fr;min-width:0;gap:18px}.bench-map-group header{min-height:0;padding:9px 7px}.bench-map-node{min-height:108px}.bench-map-inspector-actions{justify-content:flex-start}.bench-map-foot{display:grid}.bench-map-stage{padding:12px;overflow-x:hidden}.bench-map-edges{display:none}}
@media(prefers-reduced-motion:reduce){.bench-map-node,.bench-map-node.playback:after,.bench-map-focus{animation:none;transition:none}}
.bench-overview{padding:24px;margin:20px 0;border:1px solid #4c7181;background:#071f2c;color:#dcecf4;scroll-margin-top:90px}
.bench-overview>small,.bench-overview article>small{color:#efbd55;font:700 .7rem ui-monospace,monospace}
.bench-overview h2{font-size:clamp(1.5rem,3vw,2.5rem)}
.bench-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.bench-overview article{padding:18px;border:1px solid #31566b;background:#061722}
.bench-overview article h3{margin:.5rem 0;font-size:1.15rem}
.bench-overview article p{color:#a9c0cb}
.bench-overview article nav{display:flex;flex-direction:column;gap:8px}
.bench-overview table{width:100%;border-collapse:collapse;margin:14px 0}
.bench-overview th,.bench-overview td{padding:10px;border:1px solid #31566b;text-align:left}
.bench-overview caption{text-align:left;color:#a9c0cb;margin-bottom:8px}
.bench-overview-open{padding:14px;border-left:3px solid #e5b340;background:#142431}
@media(max-width:1000px){.bench-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.bench-overview-grid{grid-template-columns:1fr}.bench-overview{padding:14px}}
