/* Hauteur commune des champs et boutons, sur ordinateur, tablette et téléphone. */
@media screen{
  :root{--control-height:40px}
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=image]):not(:where(.auth-scene input)),
  select:not([multiple]):not(:where(.auth-scene select)){
    box-sizing:border-box;
    height:40px!important;
    min-height:40px!important;
  }
  /* Une légende de bouton sur deux lignes peut grandir sans être coupée. */
  button:not(:where(.auth-scene button)),.btn:not(:where(.auth-scene .btn)),[role="button"]:not(:where(.auth-scene [role="button"])){
    box-sizing:border-box;
    height:auto!important;
    min-height:40px!important;
  }
  /* Icônes seules et commandes carrées : même taille que les champs. */
  .square-btn,.context-help-button,.waze-button,
  body .dialog-head>.icon-btn,body .dialog-head>button[id*="Close"],
  body .record-head>.icon-btn,
  body .about-head>.icon-btn,body .server-panel-title>.icon-btn,
  body .panel-head>.icon-btn{
    box-sizing:border-box;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    flex-basis:40px;
  }
  #recordForm .record-head-actions .btn,
  #detailDialog>.detail-actions.detail-actionbar>button,
  #detailDialog .detail-more-toggle,
  #detailDialog .detail-more-menu>button{
    height:auto!important;
    min-height:40px!important;
  }
  /* Waze conserve la hauteur commune, même dans la barre d'actions des fiches. */
  html body button.waze-button,
  html body #detailDialog>.detail-actions>button.waze-button{
    box-sizing:border-box!important;
    width:40px!important;min-width:40px!important;max-width:40px!important;
    height:40px!important;min-height:40px!important;max-height:40px!important;
    padding:0!important;flex:0 0 40px!important;
    align-self:center;align-items:center;justify-content:center;
  }
  html body button.waze-button img{width:24px!important;height:24px!important;object-fit:contain;flex:none}
  /* Ces champs sont volontairement multilignes ou à sélection multiple. */
  textarea,select[multiple]{height:auto;min-height:80px}
}
