/* Specialtools V2.2.5 — emplacements lisibles + cartes alignées */

/* La zone identité réserve toujours la même hauteur : les blocs statut/emplacement
   restent alignés entre cartes même si une désignation tient sur 1, 2 ou 3 lignes. */
.tool-identity-zone{height:132px;min-height:132px;overflow:hidden}
.tool-card h4{
  min-height:69px!important;
  max-height:69px!important;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  text-overflow:ellipsis;
}
.card-status-zone{min-height:88px}
.card-physical-zone{min-height:58px}

/* L'emplacement doit être visible. Le statut reste fixe, l'adresse utilise le reste de la ligne. */
.physical-card-line{display:grid!important;grid-template-columns:auto auto minmax(0,1fr);width:100%;min-width:0}
.physical-card-line>span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Le filtre emplacement contient des libellés plus courts ; laisser tout de même une largeur utile. */
#locationFilter{min-width:0}

@media(max-width:760px){
  .tool-identity-zone{height:126px;min-height:126px}
  .tool-card h4{min-height:66px!important;max-height:66px!important}
  .physical-card-line{grid-template-columns:auto auto minmax(0,1fr)}
}
