/*
 * Atlas mobile form-field focus stability.
 * On iPhone, Safari automatically zooms the visual viewport when a focused
 * text-like form control uses computed font-size smaller than 16px.
 * Keep controls at 16px and preserve pinch-to-zoom for accessibility.
 * Applied after original theme styles, so public branding is unaffected.
 */
@media screen and (max-width: 1024px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
  select,
  textarea,
  [contenteditable="true"] {
    font-size: 16px !important;
  }

  input::placeholder,
  textarea::placeholder {
    font-size: inherit;
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
  select,
  textarea {
    min-width: 0;
    max-width: 100%;
  }
}
