/*
  apps/_shared/static/css/tableaux-unifies.css
  --------------------------------------------
  LE CHAMP DE RECHERCHE COMMUN DES TABLEAUX (bascule `tableaux_unifies`,
  chargé par `_core/base.html`), posé par `tri-tableaux.js` au-dessus de tout
  tableau de 15 lignes et plus, sur tous les sites.
  POURQUOI (Benjamin, 26/11/2026 : « la recherche tableau a une UX
  dégueulasse, c'est mal fini », « partout ce truc est tout pourri ») : le
  champ s'affichait nu, collé à son libellé et à son compteur, faute de
  dessin hors des pages SCPI. Une barre : le champ en pleine largeur, le
  libellé dedans, une loupe, le nombre de lignes à droite.
  Couleurs : les variables de la marque, avec repli.
*/
.m-filtre-tableau {
  display: flex; align-items: center; gap: 16px;
  margin: 8px 0 12px;
}
.zbr .m-filtre-tableau { margin-inline: var(--m, 30px); }
.m-filtre-tableau input[type="search"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 15px; line-height: 1.3;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--encre, var(--m-encre, #111));
  border-radius: 0;
  background: var(--papier, transparent) no-repeat 12px 50% / 16px 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
  color: inherit;
  -webkit-appearance: none; appearance: none;
}
.m-filtre-tableau input[type="search"]::placeholder { color: var(--gris, #777); opacity: 1; }
.m-filtre-tableau input[type="search"]:focus-visible { outline: 2px solid var(--rose, currentColor); outline-offset: 1px; }
.m-filtre-tableau span { flex: 0 0 auto; font-size: 14px; color: var(--gris, #777); white-space: nowrap; }
.m-filtre-tableau span b { color: var(--encre, inherit); font-weight: 700; }
@media (max-width: 640px) {
  .zbr .m-filtre-tableau { margin-inline: 16px; }
  .m-filtre-tableau { gap: 10px; }
}
