/* UAYU /panels — shell móvil (safe areas, tabs, tacto) */
html.app-shell {
  height: 100%;
}

body.app-shell {
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  overscroll-behavior-y: none;
}

.app-header-safe {
  padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
}

.app-main-safe {
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

.app-nav-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app-nav-scroll::-webkit-scrollbar {
  display: none;
}

.app-nav-scroll a {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.touch-target {
  min-height: 44px;
  min-width: 44px;
}

@keyframes pwa-spin {
  to {
    transform: rotate(360deg);
  }
}

.pwa-splash-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #0f766e;
  border-top-color: transparent;
  border-radius: 0.75rem;
  animation: pwa-spin 0.7s linear infinite;
}
