.backoffice-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px}.bo-map-card,.bo-side{background:#0d1317;border:1px solid #202a30;border-radius:8px;padding:14px}.bo-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}.bo-toolbar button{background:#141d22;color:#c8d2d8;border:1px solid #2b3941;border-radius:5px;padding:8px 10px;cursor:pointer}.bo-toolbar button:hover,.bo-toolbar button.active{border-color:#8da0aa;color:#fff;background:#1a272d}.bo-map{position:relative;width:100%;aspect-ratio:1/1;background:#080d10 var(--dust2-radar) center/contain no-repeat;overflow:hidden;user-select:none;touch-action:none}.bo-map svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.bo-edge{stroke:#6e7c84;stroke-width:.18;opacity:.48}.bo-node{cursor:grab}.bo-node:active{cursor:grabbing}.bo-node circle{fill:#dce5e9;stroke:#071014;stroke-width:.28}.bo-node text{fill:#fff;font-size:.95px;font-weight:700;paint-order:stroke;stroke:#071014;stroke-width:.28;pointer-events:none}.bo-node.selected circle{fill:#e9b44c;stroke:#fff}.bo-side h3{margin:0 0 6px}.bo-side p{color:#81919a;font-size:12px;line-height:1.5}.bo-field,.bo-coords label{display:block;font-size:10px;color:#7d8d96;text-transform:uppercase}.bo-field{margin:14px 0 0}.bo-field input,.bo-coords input,.bo-coords select,.bo-connect-add select{width:100%;box-sizing:border-box;margin-top:4px;background:#080d10;color:#e7edf0;border:1px solid #29363d;border-radius:4px;padding:8px}.bo-coords{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.bo-connections{margin:16px 0 12px;padding:12px;background:#091014;border:1px solid #202c32;border-radius:6px}.bo-connection-list{margin-top:8px}.bo-connection{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #182126;padding:7px 2px;color:#c8d2d8;font-size:12px}.bo-connection button{border:1px solid #4d2b2b;background:#1c1010;color:#d9a0a0;border-radius:4px;width:25px;height:25px;cursor:pointer}.bo-empty{display:block;color:#64757e;font-size:11px;padding:6px 0}.bo-connect-add{margin-top:9px}.bo-connect-add button{width:100%;margin-top:7px;padding:8px;border:1px solid #50616a;background:#172228;color:#e5ecef;border-radius:5px;cursor:pointer}.bo-connect-add button:disabled,.bo-connect-add select:disabled{opacity:.35;cursor:not-allowed}.bo-list{max-height:300px;overflow:auto;border-top:1px solid #202a30;margin-top:12px}.bo-list button{display:flex;width:100%;justify-content:space-between;gap:10px;background:none;border:0;border-bottom:1px solid #182126;color:#b9c4ca;padding:8px 4px;text-align:left;cursor:pointer}.bo-list button.active{color:#e9b44c}.bo-list small{color:#6f7d85}.bo-export,.bo-danger{width:100%;margin-top:10px;padding:10px;border-radius:5px;cursor:pointer}.bo-export{border:1px solid #50616a;background:#172228;color:#e5ecef}.bo-danger{border:1px solid #4d2b2b;background:#1c1010;color:#d9a0a0}.bo-danger:disabled{opacity:.35;cursor:not-allowed}.bo-note{margin-top:10px;font-size:11px;color:#73838c}.bo-add-hint{display:none;position:absolute;left:50%;top:14px;transform:translateX(-50%);z-index:4;background:#0b1115e8;border:1px solid #7a8c95;color:#e7edf0;padding:7px 10px;border-radius:5px;font-size:11px;pointer-events:none}.bo-add-hint.show{display:block}.bo-map.hide-labels .bo-node text{display:none}.bo-map.hide-edges .bo-edge{display:none}@media(max-width:1050px){.backoffice-shell{grid-template-columns:1fr}.bo-list{max-height:220px}}
/* Map Lab multi-map */
.maplab-head{margin-bottom:16px}.maplab-controls{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(3,1fr);gap:10px;margin:12px 0}.maplab-controls label,.maplab-controls>div{display:grid;gap:4px;padding:9px 10px;background:#091014;border:1px solid #202c32;border-radius:6px}.maplab-controls small,.maplab-controls label{font-size:10px;color:#7d8d96;text-transform:uppercase}.maplab-controls select{margin-top:4px;background:#080d10;color:#e7edf0;border:1px solid #29363d;border-radius:4px;padding:8px}.maplab-controls b{font-size:12px;color:#dce5e9}.maplab-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.maplab-tabs button{padding:7px 10px;border:1px solid #2b3941;background:#10181d;color:#8998a0;border-radius:5px}.maplab-tabs button.active{color:#fff;border-color:#657781}.maplab-tabs button:disabled{opacity:.45}.maplab-gate{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.maplab-gate span,.maplab-gate b{padding:6px 8px;background:#0a1115;border:1px solid #1d292f;font-size:10px}.maplab-gate b{color:#d6b96d}@media(max-width:850px){.maplab-controls,.maplab-gate{grid-template-columns:1fr 1fr}}

.maplab-testing{margin-top:10px;padding:10px;background:#080f13;border:1px solid #202d33;border-radius:6px}.maplab-testing>div{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.maplab-testing label{display:grid;gap:4px;font-size:10px;color:#87969e;text-transform:uppercase}.maplab-testing select{min-width:150px;background:#080d10;color:#e7edf0;border:1px solid #29363d;border-radius:4px;padding:7px}.maplab-testing p{margin:8px 0 0;font-size:11px;color:#91a0a8}.maplab-route{fill:none;stroke:#fff;stroke-width:.42;stroke-dasharray:1.15 .7;pointer-events:none}.maplab-route-alt{stroke-width:.52;stroke-dasharray:1.35 .62;opacity:.9}.maplab-route-alt-1{stroke:#29b6f6}.maplab-route-alt-2{stroke:#ffb300}.maplab-route-alt-3{stroke:#ab47bc}.maplab-route-alt-4{stroke:#66bb6a}.maplab-route-alt-5{stroke:#ef5350}.maplab-route-alt-6{stroke:#26c6da}.maplab-route-end{fill:#fff;stroke:#071014;stroke-width:.3;pointer-events:none}

.maplab-actions{display:flex;gap:7px;margin:8px 0}.maplab-import{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #2b3941;background:#10181d;color:#cbd5da;border-radius:5px;font-size:11px;cursor:pointer}.maplab-import input{display:none}

.bo-walkable-zone{fill:rgba(71,190,120,.18);stroke:#55d98b;stroke-width:.28;stroke-dasharray:.8 .45;pointer-events:none}

.bo-walkable-zone.selected{stroke-width:.55;stroke-dasharray:none;fill:rgba(71,190,120,.25)}
.bo-walkable-handle{fill:#fff;stroke:#15252c;stroke-width:.25;cursor:move;pointer-events:all}

/* Unified Map Lab workspace */
#mapLabHead{margin-bottom:0}.maplab-head{border-bottom-left-radius:0;border-bottom-right-radius:0}.backoffice-shell{border:1px solid #202a30;border-top:0;padding:14px;border-radius:0 0 8px 8px;background:#0b1115}.backoffice-shell .bo-map-card{border-top-left-radius:4px}.bo-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #202a30}.bo-workspace-head strong{font-size:13px;color:#d9e2e7}.backoffice-shell[data-maplab-mode="zones"] .bo-workspace-head .eyebrow::after{content:' · GAMEPLAY ZONES'}.backoffice-shell[data-maplab-mode="testing"] .bo-workspace-head .eyebrow::after{content:' · TESTING'}

/* Inferno BSP/NAV walkable candidate */
.bo-walkable-candidate{display:none}\n.bo-nav-area{fill:rgba(71,190,120,.16);stroke:#55d98b;stroke-width:.07;pointer-events:none}.bo-nav-area-layer{pointer-events:none}

/* NAV height bands: keep radar readable while validating floors independently */
.bo-nav-area{fill:rgba(71,190,120,.10);stroke:#55d98b;stroke-width:.055;opacity:.82}

.bo-nav-dataset-status{font-size:11px;opacity:.72;margin:4px 0 8px}.bo-nav-dataset-status:empty{display:none}

/* Inferno semantic gameplay validation overlay */
#mapLabGameplayLayer{pointer-events:none}
.maplab-gameplay-corridor{fill:none;stroke:#6fc7ff;stroke-width:.24;stroke-dasharray:.8 .55;opacity:.72}
.maplab-gameplay-zone circle{fill:#0c151a;stroke:#9fb4bf;stroke-width:.24}
.maplab-gameplay-zone text,.maplab-gameplay-junction text,.maplab-gameplay-choke text,.maplab-gameplay-transition text{fill:#d9e4e9;font-size:1.45px;font-weight:600;paint-order:stroke;stroke:#071014;stroke-width:.28px}
.maplab-gameplay-zone.zone-site circle{stroke:#ffbf69}
.maplab-gameplay-junction circle{fill:#102630;stroke:#5bd0ff;stroke-width:.24}.maplab-gameplay-junction text{font-size:.9px;stroke-width:.18px}
.maplab-gameplay-choke path{stroke:#ff7474;stroke-width:.42}
.maplab-gameplay-transition rect{fill:#302713;stroke:#ffd166;stroke-width:.3}
.maplab-gameplay-transition text{fill:#ffd166}

/* Official Source 2 player collision validation overlay */
.bo-official-physics-layer{pointer-events:none}.bo-official-physics-line{fill:none;stroke:#ff5b5b;stroke-width:.13;opacity:.68;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}

.maplab-full-network{stroke-width:.18;stroke-dasharray:.55 .42;opacity:.64}

.maplab-callout-region{pointer-events:none}.maplab-callout-region polygon{fill:rgba(255,196,72,.055);stroke:#ffc448;stroke-width:.16;stroke-dasharray:.5 .35;vector-effect:non-scaling-stroke}.maplab-callout-region text{fill:#ffe2a3;font-size:1.25px;font-weight:600;text-anchor:middle;paint-order:stroke;stroke:#071015;stroke-width:.35px;stroke-linejoin:round}

.maplab-callout-pin{cursor:grab;pointer-events:all}.maplab-callout-pin:active{cursor:grabbing}.maplab-callout-pin circle{fill:#ffc448;stroke:#071015;stroke-width:.35;vector-effect:non-scaling-stroke}.maplab-callout-pin text{fill:#ffe2a3;font-size:1.35px;font-weight:700;paint-order:stroke;stroke:#071015;stroke-width:.4px;stroke-linejoin:round;user-select:none;pointer-events:none}

.maplab-anchor-route{fill:none;stroke:#fff;stroke-width:.34;stroke-dasharray:1.1 .65;opacity:.9;pointer-events:none;vector-effect:non-scaling-stroke}

.maplab-callout-pin.is-pending circle{fill:none;stroke:#ffc448;stroke-width:.45;stroke-dasharray:.55 .3}.maplab-callout-pin.is-pending text{opacity:.65}.maplab-callout-pin.is-calibrated circle{fill:#ffc448}.maplab-callout-pin.is-calibrated text{opacity:1}

.maplab-callout-boundary-candidate{stroke:#ff4d6d;stroke-width:.55;stroke-dasharray:1.1 .65;opacity:.9;pointer-events:none}

.maplab-pending-callouts{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:6px 0;font-size:10px}.maplab-pending-callouts span{opacity:.7;margin-right:4px}.maplab-pending-callouts button{font:inherit;padding:3px 6px;border:1px solid #43515b;background:#111a20;color:#dce7ec;border-radius:3px;cursor:pointer}.maplab-pending-callouts button:hover{border-color:#ffc448;color:#ffc448}

.maplab-callout-pin.is-new-callout circle{stroke-width:.8;filter:drop-shadow(0 0 2px #ffc448)}.maplab-callout-pin.is-new-callout text{font-weight:700}

.maplab-pending-callouts button[draggable=true]{cursor:grab}.maplab-pending-callouts button[draggable=true]:active{cursor:grabbing}.maplab-pending-callouts button.is-selected{border-color:#ffc448;color:#ffc448}

.maplab-pending-callouts button.is-selected{background:#ffc448;color:#091015;border-color:#ffc448;box-shadow:0 0 0 1px #ffc448}

.maplab-pending-callouts button.is-selected,.maplab-pending-callouts button[aria-pressed=true]{background:#ffb000!important;color:#071014!important;border:2px solid #fff!important;box-shadow:0 0 0 2px #ffb000,0 0 10px rgba(255,176,0,.85)!important;font-weight:800}.bo-map.placing-callout{cursor:crosshair!important;outline:2px solid #ffb000;outline-offset:2px}.bo-map.placing-callout:before{content:'CALL OUT SELECIONADO · CLICA NO MAPA PARA POSICIONAR';position:absolute;z-index:20;left:50%;top:8px;transform:translateX(-50%);padding:5px 9px;background:#ffb000;color:#071014;font-size:10px;font-weight:800;border-radius:3px;pointer-events:none}

.maplab-callout-editor{display:none;position:fixed;inset:4vh 4vw;z-index:9999;background:#0b1217;border:1px solid #52616b;box-shadow:0 12px 50px #000;padding:10px}.maplab-callout-editor.open{display:block}.maplab-callout-editor-head{height:36px;display:flex;justify-content:space-between;align-items:center}.maplab-callout-editor-head button{font-size:20px}.maplab-callout-editor-body{display:grid;grid-template-columns:230px 1fr;gap:10px;height:calc(100% - 36px)}.maplab-callout-editor-body aside{overflow:auto;display:flex;align-content:flex-start;flex-wrap:wrap;gap:5px;padding:6px;border:1px solid #26343d}.maplab-callout-editor-body aside button{font-size:10px;cursor:grab}.maplab-callout-editor-map{position:relative;min-height:0;background:#080d11;overflow:hidden}.maplab-callout-editor-map>img{position:absolute;width:100%;height:100%;object-fit:contain;pointer-events:none}.maplab-callout-editor-map>[data-callout-stage]{position:absolute;inset:0}.ce-pin{position:absolute;transform:translate(-50%,-50%);font-size:9px;padding:2px 4px;border:1px solid #ffd166;background:#ffb000;color:#081015;border-radius:10px;cursor:move;white-space:nowrap}

.maplab-callout-editor-head [data-ce-status]{font-size:11px;color:#9fb2bd;margin-left:auto;margin-right:12px}.maplab-callout-editor-body aside button.selected{background:#ffb000!important;color:#071014!important;border-color:#fff!important;font-weight:800}.maplab-callout-editor-map>[data-callout-stage]{cursor:crosshair}.maplab-callout-editor .ce-pin{cursor:grab;user-select:none;touch-action:none}.maplab-callout-editor .ce-pin:active{cursor:grabbing}

/* Callout editor coordinate invariant: pins and radar share the exact same square canvas. */
.maplab-callout-editor-map{display:flex;align-items:center;justify-content:center}.maplab-callout-editor-canvas{position:relative;height:min(100%,calc(96vw - 270px));aspect-ratio:1/1;max-width:100%;max-height:100%}.maplab-callout-editor-canvas>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}.maplab-callout-editor-canvas>[data-callout-stage]{position:absolute;inset:0;cursor:crosshair}

.maplab-callout-area{fill:rgba(255,196,72,.075);stroke:#ffc448;stroke-width:.16;stroke-dasharray:.55 .38;vector-effect:non-scaling-stroke;pointer-events:none}

/* Inferno manual callout calibration: compact markers for precise placement. */
.backoffice-shell[data-maplab-mode="zones"] .maplab-callout-pin text{font-size:.82px;stroke-width:.24px}
.backoffice-shell[data-maplab-mode="zones"] .maplab-callout-pin circle{stroke-width:.22}
.backoffice-shell[data-maplab-mode="zones"] .maplab-callout-area{fill:rgba(255,196,72,.035);stroke-width:.10;stroke-dasharray:.35 .28}
.maplab-callout-editor .ce-pin{font-size:7px;padding:1px 3px;border-width:1px;border-radius:7px;opacity:.9}
.maplab-callout-editor .ce-pin:hover,.maplab-callout-editor .ce-pin:active{font-size:9px;z-index:5;opacity:1}

/* Completed callouts are immediately identifiable in the editor list. */
.maplab-callout-editor-body aside button.implemented{background:#1f7a45;color:#f3fff7;border-color:#55d98b;font-weight:700}
.maplab-callout-editor-body aside button.implemented:hover{background:#278f53;border-color:#7be6a5}
.maplab-callout-editor-body aside button.implemented.selected{background:#ffb000!important;color:#071014!important;border-color:#fff!important}

/* Selected callout is orange in both list and radar editor. */
.maplab-callout-editor .ce-pin.selected{background:#ff8a00!important;color:#071014!important;border-color:#fff!important;box-shadow:0 0 0 2px #ff8a00,0 0 12px rgba(255,138,0,.9);z-index:8;opacity:1;font-size:9px}
.maplab-callout-editor-body aside button.implemented{background:#1f7a45!important;color:#f3fff7!important;border-color:#55d98b!important}
.maplab-callout-editor-body aside button.selected{background:#ff8a00!important;color:#071014!important;border-color:#fff!important;box-shadow:0 0 0 1px #ff8a00}

/* Export must remain clickable above the square map and SVG interaction layers. */
.maplab-callout-export{position:relative;z-index:30;pointer-events:auto!important;cursor:pointer}
.maplab-callout-export:disabled{pointer-events:none!important;opacity:.45}

.maplab-advanced{margin-top:8px;border-top:1px solid #202a30;padding-top:7px}.maplab-advanced summary{cursor:pointer;color:#81919a;font-size:11px}.maplab-advanced .maplab-actions{margin-top:8px}.maplab-head{margin-bottom:12px}.maplab-head+.physics-gate,.maplab-head+#physicsGate{margin-top:0}

/* Backoffice integrity guard */
#viewRoot>#mapLabHead,#viewRoot>#physicsGate,#viewRoot>.backoffice-shell{position:relative;clear:both;width:100%;max-width:100%;box-sizing:border-box}#viewRoot>#mapLabHead{z-index:3}#viewRoot>#physicsGate{z-index:2}#viewRoot>.backoffice-shell{z-index:1}.maplab-head{overflow:visible}.maplab-controls{grid-template-columns:minmax(180px,1.4fr) minmax(220px,2fr) minmax(180px,1.3fr)}.maplab-tabs{position:relative;z-index:1}.maplab-tabs button{min-width:110px}.maplab-gate{margin-top:8px}.backoffice-shell{min-width:0}.bo-map-card,.bo-side{min-width:0}.bo-toolbar{overflow:visible}@media(max-width:1050px){.maplab-controls{grid-template-columns:1fr 1fr}.maplab-tabs button{flex:1 1 140px}}@media(max-width:700px){.maplab-controls,.maplab-gate{grid-template-columns:1fr}.maplab-tabs button{flex:1 1 45%}}

#boNativeMapLab{margin-bottom:12px}#boNativeMapLab .maplab-controls{grid-template-columns:minmax(220px,1fr) minmax(220px,2fr)}#boNativeMapLab select{width:100%}

.maplab-canonical-manual{stroke-width:.34!important;stroke-dasharray:.7 .32!important;opacity:.95!important}
