:root{--hotspot-low:#b57d7d;--hotspot-elevated:#a24f4f;--hotspot-high:#7c2929;--hotspot-severe:#4c1111}
.hotspot-workspace{grid-template-columns:minmax(0,1fr) 294px}
.map-heading{height:59px}.map-heading h2{font-size:14px;font-weight:400}
.map-theatre-bar{min-height:42px;padding:0 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-block:1px solid #252525;background:#0c0c0c}
.theatre-tabs{display:flex;gap:18px;align-self:stretch}.theatre-tabs button{font-size:11px;color:#aaa;padding:0;border-bottom:1px solid transparent;white-space:nowrap}.theatre-tabs button[aria-pressed=true]{color:#eee;border-bottom-color:#eee}.theatre-tabs button:hover{background:none;color:#fff}
#hotspot-count{color:#999;font:11px var(--mono);white-space:nowrap}
.map-canvas{height:413px;cursor:grab;touch-action:pan-y}.map-canvas.is-panning{cursor:grabbing}.map-overlay{pointer-events:none;overflow:visible}.hotspot-cell{pointer-events:all;cursor:pointer;stroke:#ca9696;stroke-opacity:.48;stroke-width:.35;vector-effect:non-scaling-stroke;fill-opacity:.95;outline:none}
.hotspot-cell:hover{stroke:#fff;stroke-width:1.6;stroke-opacity:1}.hotspot-cell.cell-selected,.hotspot-cell:focus{stroke:#fff;stroke-width:2;stroke-opacity:1;filter:none}
#map-country-labels text{fill:#ddd;font-family:var(--font);font-size:11px;letter-spacing:1.5px;font-weight:400;paint-order:stroke;stroke:#080808;stroke-width:2px;pointer-events:none}
#map-markers{pointer-events:none}.resource-map-marker{pointer-events:auto;position:absolute;transform:translate(-50%,-50%);height:28px;min-width:42px;display:flex;gap:4px;align-items:center;justify-content:center;background:#e9e9e9;color:#080808;border:1px solid #fff;font:11px var(--mono);padding:0 5px}.resource-map-marker .icon{width:12px;height:12px}.resource-map-marker:hover{background:#fff}.resource-map-marker.cell-selected{outline:2px solid #fff;outline-offset:3px}
.map-coordinate{position:absolute;right:52px;bottom:19px;font:11px var(--mono);color:#aaa;pointer-events:none;max-width:60%;text-align:right}.map-scale{bottom:19px;font-size:11px}.map-scale .scale-note{display:none}
.hotspot-legend{min-height:43px;padding:9px 15px;display:flex;align-items:center;gap:10px;border-top:1px solid #252525;font-size:11px;color:#aaa;flex-wrap:wrap}.intensity-ramp{display:flex;gap:3px}.intensity-ramp i{display:block;width:20px;height:12px;border:1px solid #ba8282}.level-1{background:var(--hotspot-low)}.level-2{background:var(--hotspot-elevated)}.level-3{background:var(--hotspot-high)}.level-4{background:var(--hotspot-severe)}.hotspot-source{margin-left:auto;color:#999}.legend-high{color:#bbb}
.hotspot-inspector{display:flex;flex-direction:column}.hotspot-inspector>.panel-heading{height:47px;border-bottom:1px solid #303030}.hotspot-inspector>.panel-heading h2{font-size:13px}.inspector-demo{font:11px var(--mono);color:#aaa}.inspector-cell{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 16px 11px}.inspector-cell h3{font-size:22px;font-weight:300;letter-spacing:.2px;line-height:1.1}.inspector-cell>div>span{display:block;font-size:11px;color:#aaa;margin-top:5px}.cell-intensity{display:inline-flex;gap:5px;align-items:center;background:none;font-size:11px;color:#ddd}.cell-intensity i{display:block;width:10px;height:10px;background:inherit;border:1px solid #bb8080}.cell-intensity.level-1 i{background:var(--hotspot-low)}.cell-intensity.level-2 i{background:var(--hotspot-elevated)}.cell-intensity.level-3 i{background:var(--hotspot-high)}.cell-intensity.level-4 i{background:var(--hotspot-severe)}
.hotspot-picker-label{font-size:11px;color:#aaa;margin:0 16px 5px}.hotspot-inspector select{margin:0 16px 12px;width:calc(100% - 32px);height:29px;background:#121212;color:#ddd;border:1px solid #444;font:11px var(--font);padding:3px 7px;border-radius:0}.hotspot-totals{display:grid;grid-template-columns:1fr 1fr;padding:0 16px 15px;gap:16px}.hotspot-totals>div+div{border-left:1px solid #303030;padding-left:16px}.hotspot-totals>div>span{font-size:11px;color:#aaa}.hotspot-totals strong{display:block;font-size:27px;font-weight:300;line-height:1.3;margin-top:3px}.hotspot-totals small{font-size:11px;color:#aaa;margin-left:6px;font-weight:400}
.inventory-section{padding:10px 16px 8px;border-top:1px solid #252525}.inventory-section h4{font-size:12px;font-weight:400;margin:0 0 6px;display:flex;justify-content:space-between;align-items:center;gap:6px}.inventory-section h4>span{font-size:11px;color:#999;font-weight:400}.inventory-section table{width:100%;border-collapse:collapse;font-size:11px}.inventory-section th{font-weight:400;text-align:left;color:#aaa;padding:4px 0}.inventory-section td{color:#e9e9e9;font-variant-numeric:tabular-nums;text-align:right;width:35px;padding:4px 0}
.inspector-footer{padding:11px 16px;border-top:1px solid #303030;margin-top:auto}.inspector-footer>span{font-size:11px;color:#999;display:block}.inspector-footer>span>span{padding:0 3px}.inspector-footer .text-button{display:flex;justify-content:space-between;width:100%;margin:7px 0;font-size:11px}.inspector-footer p{font-size:11px;color:#aaa;line-height:1.5}
.hotspot-expanded-summary{display:flex;gap:15px;align-items:center;margin-bottom:18px;font-size:12px}.hotspot-expanded-summary strong{font-size:20px;font-weight:300}.hotspot-expanded-summary span{color:#aaa}.hotspot-cell-list{max-height:48vh;overflow:auto;margin-bottom:15px}.hotspot-list-row{display:grid;grid-template-columns:13px 75px 1fr 65px 75px;width:100%;align-items:center;gap:10px;padding:10px;border-top:1px solid #303030;font-size:11px;text-align:left}.hotspot-list-row i{height:10px;width:10px;border:1px solid #b47878}.hotspot-list-row strong,.hotspot-list-row b{font-weight:400}.hotspot-list-row span{color:#aaa}
@container(max-width:1100px){.hotspot-workspace{grid-template-columns:minmax(0,1fr) 270px}.hotspot-source{display:none}.theatre-tabs{gap:14px}.map-theatre-bar{padding-inline:13px}.hotspot-legend{gap:8px}.map-coordinate{max-width:55%;font-size:11px}}
@container(max-width:820px){.hotspot-workspace{grid-template-columns:1fr}.hotspot-inspector{display:grid;grid-template-columns:1fr 1fr;align-items:start}.hotspot-inspector>.panel-heading{grid-column:1/-1}.inspector-cell{grid-column:1;grid-row:2}.hotspot-picker-label{grid-column:1;grid-row:3}.hotspot-inspector select{grid-column:1;grid-row:4}.hotspot-totals{grid-column:2;grid-row:2/5;padding-top:17px}.inventory-section{border-top:1px solid #303030;min-height:155px}.inspector-footer{grid-column:1/-1;width:100%}.map-canvas{height:390px}}
@media(max-width:650px){.map-heading{height:auto;min-height:65px;padding-block:10px}.map-heading h2{font-size:13px}.map-head-actions{gap:4px}.map-filter{padding-inline:5px;font-size:11px}.map-theatre-bar{padding-inline:10px;min-height:48px;gap:5px;flex-wrap:wrap;padding-block:5px}.theatre-tabs{gap:14px;min-height:30px}.theatre-tabs button{font-size:11px}#hotspot-count{display:none}.map-canvas{height:315px}.map-coordinate{display:none}.map-scale{font-size:11px;left:11px}.hotspot-legend{padding-inline:10px;gap:8px}.hotspot-legend>span:first-child{width:100%;font-size:11px}.intensity-ramp i{width:21px;height:13px}.hotspot-inspector{display:flex}.hotspot-inspector .inventory-section{min-height:0}.hotspot-totals{padding-top:0;width:100%}.hotspot-inspector select{width:calc(100% - 32px)}.hotspot-picker-label{display:block}.hotspot-list-row{grid-template-columns:10px 65px 1fr 60px;gap:6px;padding-inline:3px}.hotspot-list-row>span:nth-of-type(2){display:none}.hotspot-expanded-summary{flex-wrap:wrap}.hotspot-source{display:none}}
.hotspot-expanded-map{display:block;width:100%;max-height:370px;background:#080808;border:1px solid #303030;margin-bottom:15px}.hotspot-cell-list{max-height:210px}.map-canvas{touch-action:none}

.hotspot-workspace .map-panel{display:flex;flex-direction:column}.hotspot-workspace .map-canvas{flex:1;min-height:413px}.hotspot-workspace .hotspot-legend{flex-shrink:0}.map-heading,.map-theatre-bar{flex-shrink:0}
@container(max-width:820px){.hotspot-workspace .map-canvas{min-height:390px;flex:none;height:390px}}
@media(max-width:650px){.hotspot-workspace .map-canvas{min-height:315px;height:315px}}
@media(max-width:650px){.hotspot-inspector{align-items:stretch}.hotspot-inspector>.panel-heading,.hotspot-inspector>.inspector-cell,.hotspot-inspector>.inventory-section{width:100%}.hotspot-inspector>.hotspot-picker-label{align-self:auto}.hotspot-inspector>.hotspot-picker-label{margin-inline:16px}}
/* Reviewed resource labels and annotation legibility. */
.resource-map-marker{gap:7px;min-width:120px;height:30px;padding-inline:8px;white-space:nowrap;border:1px solid #aaa}.resource-map-marker>span{font-size:11px;color:#444}.resource-map-marker>b{font-size:11px;font-weight:450}.resource-map-marker[hidden]{display:none!important}
.hotspot-legend.is-resources> :not(#resource-layer-note){display:none}.hotspot-legend.is-resources #resource-layer-note{display:block;color:#bbb;line-height:1.5}
.map-coordinate{background:#080808;border:1px solid #303030;padding:6px 8px;right:54px;bottom:12px;line-height:1.4}.map-scale{background:#080808;padding:4px 7px;left:12px;bottom:12px}
.pwy-context-title{font-size:12px;font-weight:450;line-height:1.5;margin:0 0 5px}
