/* Atlas 21.6: Cayo has its own visible, searchable All Pages directory.
 * Suppress two retired fixed-position docks *before* any deferred scripts
 * run. This is Cayo-only; the modern searchable directory stays interactive.
 * No changes to map gestures, basemap, legend, saved routes or artwork.
 */
body.j120-heist-page[data-heist="cayo-perico"] #j89-shell,
body.j120-heist-page[data-heist="cayo-perico"] #j98-flow{
  display:none!important;
}

/* Atlas 21.8: inline accessible All Pages directory on Cayo.
 * Keep its search function while moving it out of the map viewport.
 * The universal nav remains unchanged on all other public pages. */
body.j120-heist-page[data-heist="cayo-perico"] .j216-inline-nav{
 position:relative;flex:0 0 auto;align-self:center;margin-left:auto;min-width:0;
}
body.j120-heist-page[data-heist="cayo-perico"] .j216-inline-nav .j132-nav{
 position:relative!important;top:auto!important;bottom:auto!important;
 left:auto!important;right:auto!important;
 width:max-content!important;max-width:100%!important;
 margin:0!important;z-index:2147483000!important;
}
body.j120-heist-page[data-heist="cayo-perico"] .j216-inline-nav #j132-nav-toggle{
 min-height:42px!important;padding:9px 13px!important;
}
body.j120-heist-page[data-heist="cayo-perico"] .j216-inline-nav #j132-nav-drawer{
 position:absolute!important;top:calc(100% + 8px)!important;
 bottom:auto!important;right:0!important;left:auto!important;
 width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
 max-height:min(72dvh,620px)!important;z-index:2147483000!important;
}
@media(max-width:700px){
 body.j120-heist-page[data-heist="cayo-perico"] .j216-inline-nav{
  margin-left:0;width:100%;
 }
 body.j120-heist-page[data-heist="cayo-perico"] .j216-inline-nav #j132-nav-drawer{
  right:auto!important;left:0!important;
 }
}
