/* Active only after the optional native iOS bar confirms it is ready. */
/* The separate authoring laboratory is deliberately not in the native bundle. */
html.native-mobile-app #adminWorkspaceSettingsCard a[href="animation-lab/index.html"] { display: none; }
@media (max-width: 900px) {
  html.native-tabs-ready .mobile-nav {
    height: 0;
    min-height: 0;
    bottom: var(--native-tabs-height, 100px);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }
  html.native-tabs-ready .mobile-nav > .mobile-nav-item { display: none; }
  html.native-tabs-visible body .main-content,
  html.native-tabs-visible body[data-main-tab="planning"] .main-content {
    padding-bottom: calc(var(--native-tabs-height, 100px) + 16px);
  }
  /* Cover the previous page behind the glass; reserve space inside the dossier. */
  html.native-tabs-ready #patientDetailModal.patient-detail-page {
    bottom: 0;
  }
  html.native-tabs-visible #patientDetailModal.patient-detail-page {
    padding-bottom: calc(var(--native-tabs-height, 100px) + 16px);
  }
  html.native-tabs-visible #mobileSynapseAgentLauncher {
    bottom: calc(var(--native-tabs-height, 100px) + 10px);
  }
  html.native-tabs-visible #synapseVoiceFab {
    bottom: calc(var(--native-tabs-height, 100px) + 10px);
    right: 68px;
  }
}
