/* Touch target accessibility helpers — ensures interactive elements meet the 44px minimum. */

@media (pointer: coarse), (max-width: 768px) {
  a[href],
  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  select,
  summary {
    min-height: 44px;
  }

  button,
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"] {
    min-width: 44px;
  }

  /* Inline links inside paragraphs keep normal flow — no forced height. */
  p a[href],
  li a[href],
  span a[href],
  small a[href] {
    min-height: 0;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  input[type="search"],
  textarea {
    min-height: 44px;
    font-size: 16px; /* prevents iOS zoom-on-focus */
  }

  input[type="checkbox"],
  input[type="radio"] {
    min-width: 24px;
    min-height: 24px;
  }
}
