/* Entête bleue déplaçable des modales (voir static/js/modale_entete.js) - 2026-10-02 */
.tf-mh {
  display: flex; align-items: center; gap: 10px;
  background: #0075d1; color: #fff; padding: 8px 12px; min-height: 36px; box-sizing: border-box;
  font-size: .92rem; font-weight: 700; line-height: 1.25; user-select: none; -webkit-user-select: none;
  touch-action: none; border: 0; border-bottom: 0; text-align: left;
}
.tf-mh *:not(button):not(a):not(.tkm-anneau):not(.tkm-val):not(.opp-badge):not(.saxo-badge) { color: #fff !important; }
.tf-mh .tf-mh-titre { flex: 1; margin: 0 !important; padding: 0 !important; font-size: .92rem !important;
  font-weight: 700 !important; color: #fff !important; line-height: 1.25; text-align: left; border: 0; background: none; }
.tf-mh-x, .tf-mh .pat-modal-close, .tf-mh .tk-modal-close, .tf-mh .opp-modal-close, .tf-mh .tki-close, .tf-mh .gp-modal-fermer {
  margin-left: auto; background: transparent !important; border: 0 !important; color: #fff !important;
  font-size: 1.25rem !important; line-height: 1 !important; padding: 2px 6px !important; cursor: pointer; border-radius: 6px;
  position: static !important; float: none !important; width: auto !important; height: auto !important; box-shadow: none !important;
}
.tf-mh-x:hover, .tf-mh .pat-modal-close:hover, .tf-mh .tk-modal-close:hover, .tf-mh .opp-modal-close:hover,
.tf-mh .tki-close:hover, .tf-mh .gp-modal-fermer:hover { background: rgba(255,255,255,.18) !important; }
/* entêtes déjà existantes : même padding compact, l'ancien filet bas disparaît */
.pat-modal-header.tf-mh, .tk-modal-head.tf-mh, .opp-modal-head.tf-mh, .tki-head.tf-mh, .gp-modal-tete.tf-mh {
  margin-bottom: 12px; border-radius: 0; align-items: center;
}
.gp-modal-tete.tf-mh .gp-modal-aide { color: rgba(255,255,255,.8) !important; font-weight: 400; }

/* Bordure de 1 px bleue de la boîte : prolonge la barre de titre (2026-10-02) */
.tf-mh-boite { border: 1px solid #0075d1 !important; }
