/* DSH mobile app polish
 * 1) kill iOS input-focus page zoom (inputs must be >= 16px while focused)
 * 2) kill double-tap zoom delay and tap highlight on touch devices
 * 3) stop iOS Safari auto-linking phone numbers inside chat text
 * Only applies on narrow/touch viewports; desktop untouched.
 */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1023px) {
  body {
    touch-action: manipulation;
  }

  /* iOS zooms the page when a form control's font-size is below 16px */
  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* prevent long-press callouts on interactive chat content */
img,
a,
button {
  -webkit-touch-callout: none;
}
