/* Shared site navigation around the existing game-style workspace.
   A containing block keeps the planner's fixed HUD relative to its own viewport. */
body[data-page="planner"] { display:block; }
body[data-page="planner"] > .bf-header { position:relative; z-index:50; }
body[data-page="planner"] > :is(.bf-footer,.bf-tabbar) { display:none; }
#bo-site-workspace {
  position:fixed; top:var(--header-h,72px); bottom:0; left:0; width:100%;
  transform:translateZ(0); display:flex; flex-direction:column; min-height:0;
}
#bo-site-workspace .bo-main, #bo-site-workspace .bo-scene { height:100%; }
/* Keep the site's navigation reachable on phones without covering the planner HUD. */
@media(max-width:760px) {
  body[data-page="planner"] .bf-header__in { flex-wrap:wrap; }
  body[data-page="planner"] .bf-nav { display:flex; order:5; width:100%; max-width:100%; overflow-x:auto; }
  body[data-page="planner"] .bf-nav a { white-space:nowrap; flex-shrink:0; }
}
