/* HAK NAV V45.17 — mobile-only layout and scroll surfaces; never changes route geometry */
#hakRcmV6 {box-sizing:border-box!important;max-height:min(72dvh,calc(100% - 12px))!important;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;}
#hakRcmV6 button {min-height:40px;white-space:normal!important;overflow-wrap:anywhere;}
#hakRcmV6::-webkit-scrollbar{width:9px}#hakRcmV6::-webkit-scrollbar-thumb{background:#57b8c6;border-radius:8px}
#hakStormGemini4514 .body {overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#hakStormGemini4514 .storm-h {position:sticky;top:0;background:#0f172a;z-index:3}
@media(max-width:700px){
 #hakStormGemini4514 {inset:1.5% 1%!important;max-height:97dvh!important;}
 #hakStormGemini4514 .storm-h {flex-wrap:wrap;gap:5px;padding:7px}
 #hakStormGemini4514 .storm-h h2{font-size:14px}
 #hakStormGemini4514 .body{padding:8px!important;}
 #hakStormGemini4514 .grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #hakStormGemini4514 .grid-results {grid-template-columns:1fr!important}
 #hakStormGemini4514 button{min-height:38px}
 #hakStormGemini4514 .panel{padding:9px}
 #hakRcmV6 {width:min(260px,calc(100vw - 26px))!important;max-height:min(65dvh,calc(100% - 12px))!important;}
 #hakRulerV6{max-width:min(250px,65vw)!important;max-height:30dvh;overflow:auto}
 #hakAiOpsVoyage4516{max-width:150px!important;white-space:normal!important;}
 #hakV45StormQuickBtn{bottom:88px!important;}
 #hakV4517Risk{font-size:12px}
}

@media(max-width:700px){
#hakViewModeV7{display:none!important}
#hak-recovery-test-banner{top:0!important;left:50%!important;max-width:66vw!important;font-size:9px!important;padding:3px!important;line-height:1.15!important;white-space:normal!important;text-align:center!important}
#hak-test-tools{bottom:36px!important;left:1px!important;padding:2px!important;max-width:42vw!important}
#hak-test-tools button{font-size:9px!important;padding:4px!important}
#hakWpQuickTools{max-width:85vw!important;overflow-x:auto!important;scrollbar-width:thin}
}
