/* App shell enhancements only: desktop screens and existing page colours are unchanged. */
@media (max-width: 1023px) {
  .app-shell { height: 100vh; height: 100dvh; }
  .app-shell .mobile-app-header {
    height: calc(64px + env(safe-area-inset-top, 0px)) !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    padding-left: 16px; padding-right: 16px;
    background: #0d1526 !important;
    border-bottom: 1px solid rgba(232,177,48,.22) !important;
    box-shadow: 0 4px 18px rgba(15,23,42,.12);
  }
  .app-shell .mobile-menu-panel { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); max-width: 86vw; }
  .app-shell .mobile-content { -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }
  .app-shell .mobile-content > div.p-6 { padding: 1rem; }
  .app-shell .mobile-content :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 16px; }
  .app-shell .mobile-app-nav {
    background: #0d1526 !important;
    border-top: 1px solid rgba(232,177,48,.18) !important;
    box-shadow: 0 -7px 24px rgba(15,23,42,.13);
    padding: 5px 4px env(safe-area-inset-bottom, 0px) !important;
  }
  .app-shell .mobile-app-tab {
    flex: 1; min-width: 0; min-height: 58px; display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 3px; border: 0; background: transparent;
    color: #aab8ce; font-size: 10px; font-weight: 600; line-height: 1.1;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  }
  .app-shell .mobile-app-tab[aria-current="page"], .app-shell .mobile-app-tab[aria-expanded="true"] { color: #f2bf40; }
  .app-shell .mobile-app-tab-icon { display:flex; align-items:center; justify-content:center; width:48px; height:29px; border-radius: 16px; }
  .app-shell .mobile-app-tab[aria-current="page"] .mobile-app-tab-icon,
  .app-shell .mobile-app-tab[aria-expanded="true"] .mobile-app-tab-icon { background: rgba(232,177,48,.17); }
  .app-shell .mobile-app-tab:active { transform: scale(.96); }
  .app-shell .mobile-app-tab:focus-visible, .app-shell .mobile-app-header button:focus-visible { outline: 2px solid #f2bf40; outline-offset: 2px; border-radius: 8px; }
  .app-shell .mobile-app-header .mobile-header-button { min-width: 40px; min-height: 40px; display:flex; align-items:center; justify-content:center; }
}
@media (prefers-reduced-motion: reduce) { .app-shell .mobile-app-tab { transition: none !important; } }
