/* Ajustes leves no app — sem empurrar a barra inferior */
html.cm-native-app,
html.cm-mobile-narrow {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Garante que a barra de cima receba toque */
html.cm-native-app .MuiAppBar-root,
html.cm-native-app .MuiToolbar-root,
html.cm-mobile-narrow .MuiAppBar-root,
html.cm-mobile-narrow .MuiToolbar-root {
  position: relative;
  z-index: 1300 !important;
  pointer-events: auto !important;
}

html.cm-native-app .MuiAppBar-root .MuiIconButton-root,
html.cm-native-app .MuiToolbar-root .MuiIconButton-root,
html.cm-native-app .MuiToolbar-root input,
html.cm-mobile-narrow .MuiAppBar-root .MuiIconButton-root,
html.cm-mobile-narrow .MuiToolbar-root .MuiIconButton-root,
html.cm-mobile-narrow .MuiToolbar-root input {
  pointer-events: auto !important;
}

/* Barra inferior normal (sem padding extra / sem vão branco) */
html.cm-native-app .MuiBottomNavigation-root,
html.cm-mobile-narrow .MuiBottomNavigation-root {
  z-index: 1200 !important;
  padding-bottom: 0 !important;
  min-height: 56px !important;
  height: 56px !important;
  box-sizing: border-box !important;
}

html.cm-native-app .MuiBottomNavigation-root .MuiBottomNavigationAction-label,
html.cm-mobile-narrow .MuiBottomNavigation-root .MuiBottomNavigationAction-label {
  font-size: 0.68rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}
