/* Mobile navigation and the secondary data menu have distinct controls. */
.v171-burger{display:none}
@media(max-width:1050px){
  .app-main{overflow-x:clip!important;overflow-y:visible!important}
  .topbar{position:sticky!important;top:0!important;z-index:40;grid-template-columns:minmax(0,1fr) 44px!important;gap:7px 12px!important;padding:max(8px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 9px max(12px,env(safe-area-inset-left))!important;min-height:0!important;background:#fff;transition:transform .18s ease;transform:none}
  .topbar.v171-header-hidden{transform:translateY(-100%);pointer-events:none}
  .topbar-title{grid-column:1!important;grid-row:1!important;min-width:0}
  .topbar-title .eyebrow,.topbar-title>p{display:none!important}
  .topbar #pageTitle{display:flex;align-items:center;gap:6px;min-width:0;margin:0;font-size:19px!important;line-height:1.25}
  .topbar .v102-info-button{flex:none;margin-left:0;width:22px;height:22px;min-width:22px;min-height:22px}
  #sidebarToggle{grid-column:2!important;grid-row:1!important;justify-self:end;width:44px!important;height:44px!important;min-width:44px!important;display:grid!important;place-items:center;padding:0!important;border:1px solid #d7e1ea;border-radius:12px;background:#f7fafc;color:#203c55}
  #sidebarToggle .nav-toggle-panel-icon,#sidebarToggle .nav-toggle-arrow,#sidebarToggle .nav-toggle-label{display:none!important}
  #sidebarToggle .v171-burger{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .topbar-actions{grid-column:1/-1!important;grid-row:2!important;width:100%;min-width:0;display:flex!important;align-items:center;gap:7px!important;padding:0!important;overflow:visible!important;flex-wrap:nowrap!important}
  .topbar-actions #lastBookingStatus{flex:1 1 auto!important;min-width:0;max-width:none;height:32px!important;padding:0 10px;border:0;background:#f1f5f9;font-size:11px}
  .topbar-actions #lastBookingStatusDate{overflow:hidden;text-overflow:ellipsis}
  .topbar-actions .last-booking-label,.topbar-actions .version-chip{display:none!important}
  .topbar-actions #topbarWorkspaceDrop,.topbar-actions #saveHtmlTop,.topbar-actions #dataMenuButton{display:inline-flex!important;align-items:center;justify-content:center;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;border-radius:10px;box-shadow:none}
  .topbar-actions #topbarWorkspaceDrop{border:1px solid #d7e1ea;background:#f7fafc}
  .topbar-actions #topbarWorkspaceDrop span,.topbar-actions #saveHtmlTop span,.topbar-actions #dataMenuButton>span,.topbar-actions #dataMenuButton .menu-chevron{display:none!important}
  .topbar-actions #configStateChip{width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:0!important}
  .topbar-actions .data-menu-wrap{margin-left:auto;flex:0 0 auto!important}
  .topbar-actions #dataMenuButton{background:#f1f5f9;border:0;color:#203c55}
  .topbar-actions #dataMenuButton svg{width:20px;height:20px}
  .data-menu{position:fixed!important;left:12px!important;right:12px!important;width:auto!important;max-width:none!important;top:var(--v171-header-height,102px)!important;max-height:calc(100dvh - var(--v171-header-height,102px) - 12px)!important}
  @media(prefers-reduced-motion:reduce){.topbar{transition:none}}
}
