/* Touch targets (S14, QA-4): at least 44 x 44 px for controls on small or touch screens.
   Separate file because style.css is at its size ceiling. Loaded after style.css. */
@media (max-width: 767px), (pointer: coarse) {
  #na-header-logo { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; }
  .na-header-btn { min-width: 44px; min-height: 44px; }
  .mb { min-height: 44px; }
  #na-header { gap: 2px; }
  #na-header-actions { gap: 0; }
  #btn-political, #btn-trip-planner, #btn-dist-unit, #btn-currency, #btn-lang { min-width: 44px; min-height: 44px; }
  #passport-select { min-height: 44px; }
  .leaflet-control-zoom a { width: 44px !important; height: 44px !important; line-height: 44px !important; }
  .na-hint-flag-btn, .onboarding-hint a, .onboarding-hint button { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 767px), (pointer: coarse) {
  #na-hint-tutorial, #na-hint-faq, #na-hint-privacy, .na-hint-tutorial, .na-hint-faq, .na-hint-privacy { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }
}
/* Audit 2026-12-04: the controls still under 44 px at 375 px (measured: settings 56 of 56, dossier
   header 5, search 3, month pills 42 px wide). Same media query as above. */
@media (max-width: 767px), (pointer: coarse) {
  .mb { min-width: 44px; }
  .pref-opt { min-width: 44px; min-height: 44px; }
  .na-lang-opt, .na-curr-opt { min-width: 44px; min-height: 44px; justify-content: center; }
  .na-curr-picker { max-height: 196px; }   /* four rows of 44 px chips, the rest scrolls */
  .na-search-quick-btn { min-height: 44px; }
  /* The field grows to 44 px and the wrapper gives up its own padding, so the row keeps its height. */
  #na-search-input { min-height: 44px; }
  #na-search-input-wrap { padding-top: 1px; padding-bottom: 1px; }
  /* Dossier header: close, units and the three action buttons. The title keeps clear of the two
     buttons in the corner. */
  #tt-close { width: 44px; height: 44px; top: 4px; right: 4px; font-size: 14px; }
  .na-unit-master { height: 44px; min-width: 48px; top: 4px; right: 52px; font-size: 10px; }
  .tth h3 { padding-right: 64px; }
  .tt-hact { width: 44px; height: 44px; }
}
/* Reduced motion (S14, QA-9): no entrance animation when the visitor asks for none. */
@media (prefers-reduced-motion: reduce) {
  .na-search-panel, .onboarding-hint, #na-search-panel, #onboarding-hint { animation: none !important; }
}
