/* V45.18 scroll + overlays; no changes to map geometry, WP or measure mechanics */
#hakRcmV6{max-height:min(79dvh,530px)!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important;scrollbar-color:#64cfe4 #0a2b40!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;user-select:none}
#hakRcmV6 button{touch-action:pan-y!important;min-height:42px!important;white-space:normal!important;overflow-wrap:anywhere!important}
#hakRcmV6::-webkit-scrollbar{width:7px!important}#hakRcmV6::-webkit-scrollbar-thumb{background:#63cee7;border-radius:8px;min-height:24px}
#hakRcmV6.hak-long-menu4518{min-height:min(270px,60dvh)}
#hakScenario4518{border:2px solid #d8a65b!important;background:linear-gradient(135deg,#163f50,#0b2335)!important}
#hakScenario4518 h3{color:#ffd58e;margin:0 0 6px}
#hs18-status[data-risk="3"]{border:2px solid #ffb064!important;background:#4b2e27!important;color:#fff6df!important;font-weight:600}
#hs18-status[data-risk="2"]{border-color:#f7bb59!important}
@media(max-width:850px){
 #hakRcmV6{max-height:min(78dvh,530px)!important;width:min(274px,calc(100vw - 24px))!important}
 #hakScenario4518 .grid{grid-template-columns:1fr!important}
 #hakV45StormQuickBtn,#hakOpsV4516Open{display:none!important}
 #hakStormGemini4514 .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #hakStormGemini4514{inset:4px!important;max-height:calc(100dvh - 8px)!important}
 #hakStormGemini4514 .body{overflow:auto!important;max-height:calc(100dvh - 95px)!important;padding:7px!important}
 #hakStormGemini4514 .storm-h{padding:6px!important;position:sticky;top:0}
 #hakStormGemini4514 iframe{max-width:100%!important}
 #hakViewModeV7{display:none!important}
 #hak-recovery-test-banner{display:none!important}
 #hak-test-tools{display:none!important}
 #hakAiOpsVoyage4516{display:none!important}
 #hakRulerV6{max-width:58vw!important}
}

/* Move nonessential map annotations/duplicate operations launchers into HAK AI navigation. */
#hakOpsV4516Open,#hakAiOpsVoyage4516{display:none!important}
#hakViewModeV7{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
