.wt-mil-icon{display:inline-block;vertical-align:middle;flex:0 0 22px;margin-right:5px}.military-command-layer-toggle:has(.wt-mil-icon){display:inline-flex;align-items:center;gap:2px}.wt-military-icon-key{display:flex;gap:8px 14px;flex-wrap:wrap;align-items:center;margin:7px 0;color:var(--text-muted,#a7bdc9);font:11px/1.5 system-ui}.wt-military-icon-key>span{display:inline-flex;align-items:center}.wt-military-icon-key>small{flex-basis:100%;font-size:10px}.drone-popup .maplibregl-popup-content{box-sizing:border-box;width:min(350px,calc(100vw - 46px));max-height:min(460px,55vh);padding:12px 14px;overflow:auto;overscroll-behavior:contain}.drone-popup .maplibregl-popup-close-button{position:sticky;float:right;top:0;margin:-5px -8px 2px 6px;width:30px;height:30px;font-size:22px;color:inherit}.drone-picker{min-width:0}.drone-picker h3{font-size:14px;margin:2px 20px 8px 0}.drone-picker p{font-size:11px}.drone-picker-list{display:grid;gap:7px}.drone-picker button,.drone-popup .drone-popup-action{box-sizing:border-box;width:100%;min-height:40px;margin:3px 0;padding:9px;text-align:left;white-space:normal;border:1px solid var(--border,#49616e);border-radius:6px;background:var(--bg-card,#17303f);color:var(--text-bright,#edf4f7);font:12px/1.45 system-ui;cursor:pointer}.drone-picker button small{display:block;color:var(--text-muted,#b6c8d4);font-size:10px}.drone-picker-nav{display:flex;gap:6px}.drone-popup [aria-busy=true]{opacity:.85}.drone-picked-detail{scroll-margin-top:85px}.drone-detail a{display:inline-block;max-width:100%;overflow-wrap:anywhere}body.theme-light .drone-picker button,body.theme-light .drone-popup .drone-popup-action{background:#f6f5ef;color:#20313a;border-color:#b9c5c7}body.theme-light .drone-picker button small{color:#53656f}@media(max-width:650px){.wt-military-icon-key{gap:6px}.drone-popup .maplibregl-popup-content{max-height:50vh}.drone-picker button{min-height:44px}.military-command-layer-toggle .wt-mil-icon{width:19px;height:19px;flex-basis:19px}}
/* The drone disclosure is the fourth child; give the map (seventh child),
   rather than the source-status line, the flexible fullscreen row. */
.drone-popup .maplibregl-popup-close-button{z-index:2}
.watchtower-map-lightbox-stage > #militaryAggregateMapStage.military-command-stage:has(> #droneIncidentsPanel){grid-template-rows:repeat(6,auto) minmax(240px,1fr) auto;overflow-y:auto}
.watchtower-map-lightbox-stage > #militaryAggregateMapStage > #militaryAggregateMapSourceStatus{min-height:0;max-height:80px;overflow:auto;white-space:normal}
.watchtower-map-lightbox-stage > #militaryAggregateMapStage > #droneIncidentsPanel[open]{max-height:40svh;overflow:auto;overscroll-behavior:contain}
@media(max-width:900px){
 .watchtower-map-lightbox-stage > #militaryAggregateMapStage.military-command-stage:has(> #droneIncidentsPanel){grid-template-rows:repeat(6,auto) minmax(640px,auto) auto}
 .watchtower-map-lightbox-stage > #militaryAggregateMapStage > .military-command-frame{min-height:640px;align-content:start}
}
