html body:not(.social-active) nav.bottom-nav,
html body.social-active nav.bottom-nav {
  position: fixed !important;
  inset: auto 0 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr));
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  height: calc(64px + env(safe-area-inset-bottom,0px)) !important;
  margin: 0 !important;
  padding: 5px max(0px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(0px,env(safe-area-inset-left,0px)) !important;
  border: 0 !important;
  border-top: 1px solid #e9edeb !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html body nav.bottom-nav .nav-item {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 2px !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 54px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #535962 !important;
  font: 400 12px/16px var(--pb-font-ui, sans-serif) !important;
}
html body nav.bottom-nav .nav-item .nav-icon {
  box-sizing: content-box !important;
  width: 25px !important;
  height: 25px !important;
  padding: 5px 7px !important;
  margin: 0 !important;
  border-radius: 11px;
  stroke-width: 1.65;
}
html body nav.bottom-nav .nav-item.active { color: #004239 !important; }
html body nav.bottom-nav .nav-item.active .nav-icon { background: #e9f1e6; }
html body nav.bottom-nav .nav-item > span:last-child {
  color: inherit !important;
  font: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}
html body nav.bottom-nav .ai-nav-orb {
  box-sizing: border-box !important;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 35px !important;
  width: 40px !important;
  height: 35px !important;
  min-height: 35px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #004239 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  animation: none !important;
  overflow: visible !important;
}
html body nav.bottom-nav .ai-nav-orb::before,
html body nav.bottom-nav .ai-nav-orb::after { content: none !important; }
html body nav.bottom-nav .ai-nav-orb > svg {
  position: static !important;
  width: 25px !important;
  height: 25px !important;
  color: #fffced !important;
  fill: none !important;
  stroke-width: 1.65;
}
html body nav.bottom-nav .ai-nav-orb > svg.pb-nav-sparkle {
  position: absolute !important;
  top: 3px !important;
  right: 4px !important;
  width: 13px !important;
  height: 13px !important;
  fill: #fffced !important;
  background: #004239;
}
html body nav.bottom-nav .nav-item:focus-visible { outline: 2px solid #004239 !important; outline-offset: -2px; }
html body nav.bottom-nav .nav-item::before { content:none !important; }
html body .page:not(.show) { visibility:hidden; pointer-events:none; box-shadow:none !important; }
html body .page.show { visibility:visible; }
.pb-empty-state { padding: 24px 14px; color: #7b8582; font-size: 14px; text-align: center; }
/* Native Android consumes system insets; edge-to-edge iOS keeps its real CSS safe area. */
html:root { --nav-height:64px; --nav-safe-bottom:env(safe-area-inset-bottom,0px); }
html body .app { padding-bottom:var(--pb-bottom-nav-space,calc(64px + env(safe-area-inset-bottom,0px))) !important; }
html.pb-navigation-keyboard body nav.bottom-nav { display:none!important; }
@media (max-width:600px) {
  :root { --page-pad:16px; }
  html,body { width:100%; max-width:100%; margin:0; }
  html body .app { box-sizing:border-box; width:100%; max-width:none; margin-inline:0; }
}
/* Customer AI uses the normal navigation palette; keep voice states and hit areas. */
html body:not(.merchant-theme) nav.bottom-nav #openPaibeiAiNav:not(.pc-calendar-nav) .ai-nav-orb {
  background: transparent !important;
  color: inherit !important;
}
html body:not(.merchant-theme) nav.bottom-nav #openPaibeiAiNav:not(.pc-calendar-nav) .ai-nav-orb > svg {
  color: inherit !important;
  stroke: currentColor !important;
}
html body:not(.merchant-theme) nav.bottom-nav #openPaibeiAiNav:not(.pc-calendar-nav) .ai-nav-orb > svg.pb-nav-sparkle {
  fill: currentColor !important;
  background: transparent !important;
}
/* Lower the iOS menu by up to a quarter of its 64px row; retain gesture clearance. */
html.ios-webview {
  --pb-ios-nav-drop: min(16px, max(0px, calc(env(safe-area-inset-bottom,0px) - 16px)));
  --nav-safe-bottom: calc(env(safe-area-inset-bottom,0px) - var(--pb-ios-nav-drop));
}
html.ios-webview body:not(.social-active) nav.bottom-nav,
html.ios-webview body.social-active nav.bottom-nav {
  height: calc(var(--nav-height) + var(--nav-safe-bottom)) !important;
  padding-bottom: var(--nav-safe-bottom) !important;
}
html.ios-webview body .app {
  padding-bottom: var(--pb-bottom-nav-space,calc(var(--nav-height) + var(--nav-safe-bottom))) !important;
}
/* The embedded purchase bar ends above the parent's measured navigation, including its safe area. */
html body #rentalModulePage {
  bottom: var(--pb-bottom-nav-space,calc(var(--nav-height) + var(--nav-safe-bottom)));
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
}
html body #rentalModulePage > .page-head { grid-area: 1 / 1; }
html body #rentalModuleFrame {
  grid-area: 2 / 1;
  height: auto;
  min-height: 0;
  align-self: stretch;
}
html body #rentalModuleStatus {
  grid-area: 2 / 1;
  position: relative;
  inset: auto;
}
html.pb-navigation-keyboard body #rentalModulePage { bottom: 0; }
