/* iOS PWA compact bottom navigation correction (release 20260911). */
html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.site-shell.employee-mode {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  max-height: none;
  overflow: hidden;
}

@supports (height: 100lvh) {
  .site-shell.employee-mode {
    height: 100lvh;
    min-height: 100lvh;
  }
}

.employee-mode > .employee-app {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.employee-app > .mobile-content {
  display: flex;
  min-height: 0;
  height: auto;
  flex: 1 1 0%;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

@media (max-width: 599px) {
  .employee-app > .bottom-nav {
    position: fixed !important;
    z-index: 50;
    top: auto !important;
    right: auto !important;
    bottom: 0 !important;
    left: 50% !important;
    width: min(100%, 470px) !important;
    height: auto !important;
    min-height: calc(69px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    padding: 8px 30px calc(6px + env(safe-area-inset-bottom)) !important;
    flex: 0 0 auto !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
  }

  .employee-app > .bottom-nav button {
    min-height: 0;
    justify-content: center;
  }

  .employee-app > .mobile-content {
    padding-bottom: calc(69px + env(safe-area-inset-bottom));
  }
}

.employee-app > .app-message,
.employee-app > .background-upload-banner {
  flex: 0 0 auto;
}

.tester-home {
  height: auto;
  min-height: 100%;
  flex: 0 0 auto;
  overflow: visible;
}

.tester-today-panel {
  flex: 0 0 auto;
}
