/*
 * V2 mobile text-entry baseline.
 * Keep editable text at a readable 16px without enlarging labels, hints, tags,
 * or non-text controls. Use :is(), not :where(): the baseline must have enough
 * specificity to override page-level `font: inherit` and 12–15px declarations.
 * This prevents iOS WebKit focus zoom without disabling user pinch zoom.
 */
@media (max-width: 1023px) {
  :is(
    input:not([type]),
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    textarea,
    select
  ) {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.005em;
  }

  :is(
    input:not([type]),
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    textarea
  )::placeholder {
    font-size: 15px;
    letter-spacing: 0;
  }
}
