/* M3M85 — règle globale : aucun zoom/recentrage horizontal automatique au focus mobile.
   Le zoom manuel n'est pas désactivé par CSS ; le verrou d'échelle automatique iOS est géré
   séparément par form-controls-mobile.js. */
@media (max-width: 820px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    max-width: 100%;
    overflow-x: clip;
  }

  html body form,
  html body fieldset,
  html body label {
    min-width: 0;
  }

  html body dialog {
    box-sizing: border-box;
    max-width: calc(100vw - 12px);
  }

  html body input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  html body select,
  html body textarea,
  html body [contenteditable]:not([contenteditable="false"]),
  html body [role="textbox"] {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    font-size: 16px !important;
  }
}
