/* Dimensional operational geometry, not a decorative image or engineered plan. */
.stage{height:auto;min-height:0;grid-template-columns:minmax(0,1fr)}
.map-toolbar{flex-wrap:wrap}.world-controls{display:flex;flex-wrap:wrap;gap:16px;padding:12px 18px;background:var(--tone-0b222c,#0b222c);border-bottom:1px solid var(--tone-304c58,#304c58)}.world-controls label{display:flex;gap:9px;align-items:center;font-size:.875rem;color:var(--tone-b3cdd0,#b3cdd0)}.world-controls select{max-width:100%;font:inherit;color:var(--tone-edf4f1,#edf4f1);background:var(--tone-16303c,#16303c);border:1px solid var(--tone-57717c,#57717c);border-radius:3px;padding:8px 10px;min-height:40px}.world-controls select:focus-visible{outline:2px solid var(--tone-ecdc9b,#ecdc9b);outline-offset:3px}
.flow-key{display:flex;gap:12px 22px;flex-wrap:wrap;padding:10px 18px;background:var(--tone-10252f,#10252f);border-bottom:1px solid var(--tone-294956,#294956)}.flow-key span{font-size:.875rem;display:inline-flex;align-items:center;gap:8px;color:var(--tone-b4cbcc,#b4cbcc)}.flow-key span:before{content:'';width:22px;border-top:3px solid var(--tone-70dec6,#70dec6)}.flow-key .key-exception:before{border-color:var(--tone-edab78,#edab78);border-top-style:dashed}.flow-key .key-tote:before{border-color:var(--tone-7cb9e3,#7cb9e3);border-top-style:dashed}.flow-key .key-waste:before{border-color:var(--tone-879a9f,#879a9f);border-top-style:dotted}.flow-key .key-people:before{border-color:var(--tone-c4abef,#c4abef);border-top-style:dashed}
.world-canvas{min-width:1000px;max-width:none}.world-canvas:before{display:none}.world-canvas #warehouseMap{min-height:0;width:100%;height:auto}.map-caption{position:static;margin:4px 18px 16px;font-size:.875rem;max-width:none}.map-north{top:10px}.world-floor-label{font:600 18px 'DM Sans',sans-serif;fill:var(--tone-8eafb8,#8eafb8);letter-spacing:1px}
.world-area{--node:var(--tone-70dec6,#70dec6);cursor:pointer;transition:opacity .2s}.world-area.risk{--node:var(--tone-ffce72,#ffce72)}.world-area.backlog{--node:var(--tone-bc9ef6,#bc9ef6)}.world-area.stopped{--node:var(--tone-fb7973,#fb7973)}.world-area.maintenance{--node:var(--tone-77b8e3,#77b8e3)}.area-side{fill:var(--tone-102c38,#102c38);stroke:var(--tone-426674,#426674);stroke-width:2;filter:drop-shadow(4px 8px 3px var(--tone-0008,#0008))}.area-top{fill:var(--tone-244754,#244754);stroke:var(--node);stroke-opacity:.55;stroke-width:2}.area-light{fill:var(--node);stroke:var(--node);filter:drop-shadow(0 0 4px var(--node))}.area-hit{fill:transparent}.area-name{font:700 21px 'DM Sans',sans-serif;fill:var(--tone-eff5f2,#eff5f2);paint-order:stroke;stroke:var(--tone-0d222d,#0d222d);stroke-width:5px;pointer-events:none}.area-subtitle{font:400 20px 'DM Sans',sans-serif;fill:var(--tone-b1cace,#b1cace);paint-order:stroke;stroke:var(--tone-0d222d,#0d222d);stroke-width:4px;pointer-events:none}.area-location{font:500 18px 'DM Sans',sans-serif;fill:var(--tone-8eafb5,#8eafb5);paint-order:stroke;stroke:var(--tone-0d222d,#0d222d);stroke-width:4px;pointer-events:none}.world-area:hover .area-top,.world-area.selected .area-top{fill:var(--tone-345e6a,#345e6a);stroke:var(--node);stroke-width:4;stroke-opacity:1}.world-area.selected .area-light{stroke:var(--tone-fff,#fff);stroke-width:3}.support-area .area-top{fill:var(--tone-18343f,#18343f);stroke:var(--tone-55707c,#55707c)}.support-area .area-name{font-size:20px}.support-area .area-light{r:4px;filter:none;opacity:.6}.world-area:focus-visible{outline:none}.world-area:focus-visible .area-top{stroke:var(--tone-fff,#fff);stroke-width:5}
.world-route-bed{fill:none;stroke:var(--tone-071923,#071923);stroke-width:16;stroke-linejoin:round;filter:drop-shadow(3px 5px 2px var(--tone-0006,#0006))}.world-route{fill:none;stroke:var(--tone-70dec6,#70dec6);stroke-width:5;stroke-dasharray:14 10;animation:moveFlow 1.5s linear infinite}.flow-exception .world-route{stroke:var(--tone-edab78,#edab78);stroke-width:3;stroke-dasharray:10 7}.flow-tote .world-route{stroke:var(--tone-7cb9e3,#7cb9e3);stroke-width:3;stroke-dasharray:18 7 3 7}.flow-waste .world-route{stroke:var(--tone-879a9f,#879a9f);stroke-width:3;stroke-dasharray:3 8}.flow-people .world-route{stroke:var(--tone-c4abef,#c4abef);stroke-width:3;stroke-dasharray:7 10}.flow-link:not(.flow-product) .world-route-bed{stroke-width:7;filter:none}.flow-link:not(.flow-product){opacity:.52}.flow-link.layer-muted{opacity:.08}.route-dim{opacity:.13!important}.world-canvas.is-paused .world-route{animation-play-state:paused}.world-canvas.route-focus .building-shell{opacity:.6}
.equipment-footprints path{fill:none;stroke:var(--tone-6d8e98,#6d8e98);stroke-width:3}.equipment-footprints text{fill:var(--tone-aac2c6,#aac2c6);font:18px 'DM Sans',sans-serif}.inbound-loop path:first-child{stroke:var(--tone-80a59e,#80a59e);stroke-width:5}.inbound-loop .reject-tick{stroke:var(--tone-edab78,#edab78)}.inbound-loop text{fill:var(--tone-c5dddc,#c5dddc)}.network-loop{stroke:var(--tone-73a596,#73a596)!important;stroke-width:6!important}.destination-pair{stroke:var(--tone-8eb6ac,#8eb6ac)!important}.rack-geometry path{fill:var(--tone-23414c,#23414c);stroke:var(--tone-587884,#587884)}.rack-geometry .miniload-bed{fill:var(--tone-385661,#385661);stroke:var(--tone-799ca2,#799ca2);stroke-width:3}.shared-movement path{stroke:var(--tone-c4abef,#c4abef);stroke-width:3;stroke-dasharray:7 7;fill:none}.shared-movement text{fill:var(--tone-c2b3db,#c2b3db);font:18px 'DM Sans',sans-serif}.service-access text{fill:var(--tone-c7d9df,#c7d9df);font:18px 'DM Sans',sans-serif;paint-order:stroke;stroke:var(--tone-102731,#102731);stroke-width:4px}.service-platform{fill:var(--tone-33515d,#33515d);stroke:var(--tone-7fa7b4,#7fa7b4);stroke-width:3}.platform-support{fill:none;stroke:var(--tone-456a7c,#456a7c);stroke-width:4}.service-stair{fill:none;stroke:var(--tone-c5c2a1,#c5c2a1);stroke-width:4}.service-ladder{fill:none;stroke:var(--tone-a5b9c3,#a5b9c3);stroke-width:3}.visible-access{opacity:.7;stroke-width:3}.level-floor .visible-access{opacity:.12}.level-overhead .world-flows,.level-overhead .shared-movement{opacity:.15}
.inspector{border-left:0;border-top:1px solid var(--tone-38515b,#38515b);max-height:580px;overflow:auto}.inspector-inner{max-width:1000px;margin:0 auto}.inspector-back{border:0;padding:7px 0;background:none;color:var(--tone-a9cbcc,#a9cbcc);text-decoration:underline;text-underline-offset:4px;font-size:.875rem;margin-top:8px}.detail-copy,.inspector-lede,.signal-banner,.result-banner{font-size:1rem;line-height:1.6}.detail-heading,.inspector-kicker,.inspector-kicker b,.trend-labels{font-size:.875rem;letter-spacing:.04em}.decision-btn{font-size:1rem;margin-top:8px}.decision-btn small{font-size:.875rem}.legend span,.map-hint{font-size:.875rem}.map-footer{flex-wrap:wrap}.legend-swatch{width:10px;height:10px}.legend-swatch.stopped{border-radius:2px}.legend-swatch.backlog{border-radius:0;transform:rotate(45deg)}.scenario-strip{flex-wrap:wrap;padding:12px 0;gap:10px 18px}.scenario-state{font-size:.875rem;white-space:normal}.scenario-statement{min-width:240px}.timeline-heading>span:last-child{font-size:.875rem;line-height:1.4}.timeline{grid-template-columns:1fr 1fr;align-items:center}.timeline-actions{grid-column:1/-1;justify-content:flex-end}.role-panel-head span{font-size:.75rem}.role-metric span,.role-metric strong{font-size:.875rem}.role-metric small{font-size:.8rem;line-height:1.5}.workspace-panel{min-height:0}.history-context{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:15px 18px;margin-bottom:15px;border:1px solid var(--tone-496673,#496673);background:var(--tone-132b37,#132b37)}.history-context strong{font-size:1rem}.history-context span{font-size:.875rem;color:var(--tone-a5bfc4,#a5bfc4)}.record-comparison{margin-top:20px}.muted-copy{font-size:.875rem}
@media(min-width:1700px){.stage{grid-template-columns:minmax(0,1fr) 355px;align-items:stretch}.inspector{border-top:0;border-left:1px solid var(--tone-38515b,#38515b);max-height:930px}.map-canvas{min-width:1000px}.inspector-inner{padding:20px}.world-controls{gap:10px}.world-controls label{flex-wrap:wrap}}
@media(max-width:850px){.world-controls label{flex-direction:column;align-items:flex-start;max-width:100%}.world-controls label:first-child{flex:1}.world-controls select{width:100%}.toolbar-actions{justify-content:flex-start}.map-toolbar{align-items:flex-start}.timeline{grid-template-columns:1fr}.timeline-actions{justify-content:flex-start;flex-wrap:wrap}.inspector{max-height:none}.flow-key{gap:8px 16px}.map-hint{display:none}.scenario-index{display:none}.topbar{flex-wrap:wrap;padding:16px 0}.world-controls{padding:12px}.history-context{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.world-route,.visible-access{animation:none}html{scroll-behavior:auto}}
