/* Aquadico – Élevage */

.aq-elv { max-width: 1180px; margin: 0 auto 24px; }
.aq-elv-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 10px 0 18px; }
.aq-elv-titre { margin: 0; font-size: 1.9em; }
.aq-elv-sous-titre { margin: 4px 0 0; color: #4a6563; }
.aq-elv-h3 { margin: 22px 0 10px; font-size: 1.25em; border: 0; }
.aq-elv-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.aq-elv-colonnes { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.aq-elv-principal { flex: 999 1 560px; min-width: 0; }
.aq-elv-cote { flex: 1 1 260px; }

.aq-elv-carte { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: #fff; border: 1px solid #d3dfdd; border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.aq-elv-carte-nom { flex: 1 1 240px; min-width: 0; }
.aq-elv-espece { font-size: 1.2em; font-weight: bold; }
.aq-elv-auteur { font-weight: normal; font-size: 0.8em; color: #4a6563; }
.aq-elv-discret { color: #4a6563; }
.aq-elv-petit { font-size: 0.9em; }
.aq-elv-description { margin-top: 6px; }
.aq-elv-chiffres { display: flex; flex-wrap: wrap; gap: 18px; }
.aq-elv-etiquette { display: block; font-size: 0.85em; color: #4a6563; }
.aq-elv-orange { color: #a9471b; }
.aq-elv-reserve { color: #8a5a00; }
.aq-elv-cede { opacity: 0.6; }
.aq-elv-pastille-reserve { font-size: 0.7em; font-weight: bold; background: #fff1d6; color: #7a4f00; border-radius: 99px; padding: 2px 8px; vertical-align: middle; }
.aq-elv-qui { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 190px; }
.aq-elv-vide { background: #f3f6f5; border: 1px dashed #bfd3d0; border-radius: 10px; padding: 16px; color: #4a6563; }

.aq-elv-encart, .aq-elv-formulaire, .aq-elv-filtres { background: #fff; border: 1px solid #d3dfdd; border-radius: 10px; padding: 16px; }
.aq-elv-encart .aq-elv-h3 { margin-top: 0; }
.aq-elv-formulaire { max-width: 860px; }
.aq-elv-filtres { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.aq-elv-filtres input[type="search"] { flex: 1 1 240px; }
.aq-elv-label { display: block; font-weight: bold; margin: 12px 0 4px; }
.aq-elv-champ { width: 100%; box-sizing: border-box; font-size: 1.1em; padding: 6px 8px; }
.aq-elv-filtres .aq-elv-champ { width: auto; }
.aq-elv-aide { margin: 4px 0 0; font-size: 0.9em; color: #4a6563; }
.aq-elv-case { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; cursor: pointer; }
.aq-elv-encart .button1 { margin-top: 14px; }
.aq-elv-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.aq-elv-grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aq-elv-boutons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 18px; }
.aq-elv-supprimer { margin-right: auto; }
.aq-elv-erreur { margin: 10px 0; }
.aq-elv-cache { position: absolute; left: -9999px; }

/* Autocomplétion GBIF */
.aq-elv-champ-gbif { position: relative; }
.aq-elv-suggestions { position: absolute; z-index: 20; left: 0; right: 0; margin: 2px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid #bfd3d0; border-radius: 8px; box-shadow: 0 6px 18px rgba(14, 59, 57, 0.15); max-height: 320px; overflow-y: auto; }
.aq-elv-suggestions li { padding: 8px 10px; cursor: pointer; border-bottom: 1px solid #eef3f2; }
.aq-elv-suggestions li:last-child { border-bottom: 0; }
.aq-elv-suggestions li[aria-selected="true"], .aq-elv-suggestions li:hover { background: #e7f1ef; }
.aq-elv-suggestions .aq-elv-info { display: block; font-size: 0.85em; color: #4a6563; }
.aq-elv-suggestions li.aq-elv-message { cursor: default; color: #4a6563; }

/* Badge sous l'avatar */
.aq-elv-badge-dd { margin-top: 6px; }
.aq-elv-badge summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; background: #e5f4ea; border: 1px solid #8ccb9f; color: #145a2c; border-radius: 99px; padding: 4px 10px; font-weight: bold; font-size: 0.95em; }
.aq-elv-badge summary::-webkit-details-marker { display: none; }
.aq-elv-point { width: 9px; height: 9px; border-radius: 50%; background: #1e9e4a; display: inline-block; }
.aq-elv-resume { margin-top: 6px; background: #fff; border: 1px solid #bfd3d0; border-radius: 8px; padding: 8px 10px; font-size: 0.95em; }
.aq-elv-resume ul { margin: 6px 0; padding-left: 16px; }

@media (max-width: 700px) {
	.aq-elv-grille, .aq-elv-grille-3 { grid-template-columns: minmax(0, 1fr); }
	.aq-elv-qui { align-items: flex-start; }
}

/* Étape 2 : reproductions, photos, synthèse sur la fiche espèce */
.aq-elv-grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aq-elv-params { border: 1px solid #d3dfdd; border-radius: 10px; padding: 12px 14px; margin: 16px 0 6px; }
.aq-elv-params legend { font-weight: bold; padding: 0 6px; }
.aq-elv-nh3 { margin-top: 12px; background: #e7f1ef; border-radius: 8px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.aq-elv-nh3[data-niveau="surveiller"] { background: #fff4e0; }
.aq-elv-nh3[data-niveau="toxique"] { background: #fde8e6; }
.aq-elv-nh3-niveau { font-weight: bold; }
.aq-elv-histo { padding: 8px 0; border-top: 1px solid #e3ecea; }
.aq-elv-histo-actuelle { background: #f3f6f5; }
.aq-elv-vignette { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.aq-elv-photo-actuelle { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.aq-elv-synthese { border: 2px solid #0e6e6a; border-radius: 12px; padding: 14px 16px; margin: 14px 0; background: #fff; }
.aq-elv-synthese h3 { margin: 0 0 4px; border: 0; }
.aq-elv-syn-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 10px 0; }
.aq-elv-syn-case { background: #f3f6f5; border-radius: 8px; padding: 8px 10px; }
.aq-elv-syn-dispo { display: inline-block; background: #fff4ea; border: 1px solid #f3d3b5; border-radius: 8px; padding: 8px 12px; font-weight: bold; color: #8a3a15; }
@media (max-width: 700px) {
	.aq-elv-grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Étape 3 : liste pour la bourse */
.aq-elv-bourse-choix { padding: 8px 0; border-top: 1px solid #eef3f2; margin-top: 0; }
.aq-elv-bourse-actions { justify-content: flex-start; margin: 16px 0 10px; }
.aq-elv-bourse-liste { background: #fff; border: 1px solid #d3dfdd; border-radius: 10px; padding: 16px; }
.aq-elv-bourse-liste h2 { margin: 0 0 4px; }
.aq-elv-tableau { overflow-x: auto; }
.aq-elv-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.aq-elv-table th, .aq-elv-table td { border-bottom: 1px solid #d3dfdd; padding: 8px 6px; text-align: left; vertical-align: top; }
.aq-elv-table th { font-size: 0.9em; color: #4a6563; }
.aq-elv-impression-seule { display: none; }
@media print {
	body * { visibility: hidden; }
	#aq-elv-impression, #aq-elv-impression * { visibility: visible; }
	#aq-elv-impression { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; }
	.aq-elv-ecran-seul { display: none !important; }
	.aq-elv-impression-seule { display: table-cell; width: 22%; }
	.aq-elv-table th, .aq-elv-table td { border-bottom: 1px solid #555; font-size: 11pt; color: #000; }
	@page { margin: 12mm; }
}
