/* Page de recherche : champ large, filtres repliables, résultats en liste simple. */
.recherche label {
  display: block; font: 600 0.9rem var(--sans); color: var(--doux); margin-bottom: 0.4rem;
}
.recherche input[type="search"], .recherche select {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 0.6rem 0.8rem;
  font: 1.15rem var(--sans); color: var(--texte); background: var(--surface);
  border: 1px solid var(--ligne); border-radius: 4px;
}
.recherche select { font-size: 1rem; padding: 0.5rem 0.6rem; text-overflow: ellipsis; }
.recherche input[type="search"]:focus, .recherche select:focus,
.bouton-recherche:focus-visible, .puce:focus-visible, .titre-resultats:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent);
}
.recherche .aide { margin: 0.5rem 0 0.8rem; font: 0.85rem/1.45 var(--sans); overflow-wrap: anywhere; }
.filtres { margin-top: 0.4rem; }
.filtres fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filtres legend { padding: 0; margin-bottom: 0.6rem; font: 0.85rem var(--sans); color: var(--doux); }
.grille-filtres {
  display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.filtre { min-width: 0; }
.actions-filtres { margin: 0.8rem 0 0; }
.bouton-recherche {
  min-height: 44px; padding: 0.5rem 1rem; font: 600 0.95rem var(--sans); color: var(--texte);
  background: var(--surface); border: 1px solid var(--ligne); border-radius: 4px; cursor: pointer;
}
.bouton-recherche:hover, .puce:hover { border-color: var(--accent); color: var(--accent); }
#statut { min-height: 1.5em; margin: 0.8rem 0 0.4rem; font-family: var(--sans); }
#statut.erreur { color: var(--alerte); }
#voir-aussi { margin: 0 0 0.8rem; font: 0.9rem/1.9 var(--sans); }
#voir-aussi[hidden], #plus[hidden], .titre-resultats[hidden] { display: none; }
.puce {
  min-height: 32px; margin: 0 0.3rem 0 0; padding: 0.15rem 0.7rem; font: 0.9rem var(--sans);
  color: var(--texte); background: var(--surface); border: 1px solid var(--ligne);
  border-radius: 999px; cursor: pointer; max-width: 100%; overflow-wrap: anywhere;
}
.titre-resultats { margin: 1rem 0 0.4rem; font: 600 1.1rem var(--sans); }
.plus { margin: 1rem 0 0; text-align: center; }
.resultats { list-style: none; margin: 0; padding: 0; }
.resultats li { padding: 0.9rem 0; border-top: 1px solid var(--ligne); }
.resultats li:last-child { border-bottom: 1px solid var(--ligne); }
.resultats .titre { font: 1.05rem/1.4 var(--serif); overflow-wrap: anywhere; }
.resultats .resume { margin: 0.3rem 0 0; color: var(--doux); overflow-wrap: anywhere; }
.resultats .meta { margin: 0.3rem 0 0; font: 0.85rem var(--sans); color: var(--doux); }
.resultats mark { background: var(--mention-fond); color: inherit; border-radius: 2px; padding: 0 0.1em; }
