/* Plancher téléphone (lot 6 du chantier, 24/11/2026, plan validé par Frank) : sur téléphone, aucun texte sous 14 px,
   champs à 16 px (pas de zoom forcé sur iPhone), cibles tactiles d'au moins 44 px. Chargé après toutes les feuilles ;
   les !important sont voulus : c'est un plancher, il passe devant les styles de page. Les dates compactes des pastilles
   d'agenda (jour / mois) restent plus petites : ce ne sont pas des phrases. */
@media (max-width: 760px) {
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { font-size: 16px !important; }
  body small, body .small, body .meta, body .petit, body .aide, body .note-der, body .detail-rt, body .lab,
  body .masque, body .precision, body .apercu, body .legende, body .c27-sous, body p, body li, body td, body th, body dd, body dt,
  body label, body .pas, body .puce, body .etiq, body .tag-rt, body .connu, body .etat, body .mc-etiq, body .etape-txt {
    font-size: max(14px, 1em) !important;
  }
  body .b, body .btn, body .btn-p, body .bouton, body .bouton-petit, body .lien-bouton, body button:not(.leaflet-control *),
  body .puce, body summary, body .tel-bouton, body .inst-go, body .inst-plus-tard {
    min-height: 44px !important;
    box-sizing: border-box;
  }
  body .b, body .btn-p, body .bouton-petit, body .puce, body .lien-bouton { display: inline-flex; align-items: center; justify-content: center; }
  /* textes des boutons et liens d'action */
  body .b, body .btn, body .btn-p, body .bouton, body .bouton-petit, body button, body .lien-fort, body .lien-bouton, body .mc-liens a {
    font-size: max(14px, 1em) !important;
  }
  /* cibles qui sont des liens de liste : noms des réseaux, sigle du bandeau, « Compléter → », « Tout l'agenda → » */
  body .reseaux-liste a.nom, body a.sigle-nav, body .mc-jauge a, body a.lien-fort, body .mc-bas a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  /* Tableaux en blocs (lot 6) : <table class="en-blocs">, étiquettes posées par tableaux.js */
  body table.en-blocs, body table.en-blocs tbody, body table.en-blocs tr, body table.en-blocs td { display: block; width: auto !important; }
  body table.en-blocs thead, body table.en-blocs tr.tete-blocs { display: none; }
  body table.en-blocs tr { border: 2px solid var(--encre, #0b0b0c); margin: 0 0 10px; padding: 6px 10px; background: #fff; }
  body table.en-blocs tr.groupe { border: 0; padding: 0; background: none; }
  body table.en-blocs td { border: 0 !important; padding: 3px 0 !important; text-align: left !important; }
  body table.en-blocs td[data-label] { display: flow-root !important; padding-left: 44% !important; }
  body table.en-blocs td[data-label]::before { content: attr(data-label); float: left; width: 73%; margin-left: -78.6%; font-size: 14px; font-weight: 700; color: #55555c; text-transform: none; }
  body table.en-blocs td:first-child { padding-left: 0 !important; }
  body table.en-blocs td:first-child { display: block !important; font-size: 17px !important; }
  body table.en-blocs td:first-child::before, body table.en-blocs tr.groupe td::before { content: none; }
}
