@media (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  /* Reuse the real portrait Live/Workspace navigation in landscape. The bundled
     device CSS hides this nav, so use a deliberately stronger selector here. */
  html body #root .room-app-v10.mobile-room .mobile-bottom-nav.mobile-bottom-nav-unified {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    inset: auto !important;
    left: max(4px, env(safe-area-inset-left)) !important;
    bottom: max(4px, env(safe-area-inset-bottom)) !important;
    width: 58px !important;
    height: auto !important;
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 4px !important;
    padding: 4px !important;
    margin: 0 !important;
    border: 1px solid rgba(16, 88, 73, 0.22) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 22px rgba(18, 58, 48, 0.18) !important;
    transform: none !important;
    z-index: 250 !important;
  }

  html body #root .room-app-v10.mobile-room .mobile-bottom-nav.mobile-bottom-nav-unified > button {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 4px 2px !important;
    margin: 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    border-radius: 9px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    touch-action: manipulation !important;
  }

  html body #root .room-app-v10.mobile-room .mobile-bottom-nav.mobile-bottom-nav-unified > button > span {
    display: block !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  html body #root .room-app-v10.mobile-room .mobile-bottom-nav.mobile-bottom-nav-unified > button > small {
    display: block !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    line-height: 1.05 !important;
    white-space: normal !important;
  }

  html body #root .room-app-v10.mobile-room .mobile-bottom-nav.mobile-bottom-nav-unified > button.active {
    background: #dff1eb !important;
    color: #174b40 !important;
  }

  /* The bottom of the control rail remains usable behind the fixed nav. */
  html body #root .room-app-v10.mobile-room .room-topbar-right {
    padding-bottom: 108px !important;
  }

  /* Avoid presenting two Workspace controls in landscape; the real two-button
     navigation above is now the canonical switch. */
  html body #root .room-app-v10.mobile-room .workspace-top-button {
    display: none !important;
  }
}
