/* Aquadico – Aquariums des membres */
.aqb, .aqb-feuille, .aqb-vue, .aqb-progression, .aqb-carte-sujet { --aqb-bleu: #1e5f8c; --aqb-bleu-clair: #e8f1f8; --aqb-bord: #d6e0e8; --aqb-fond: #f6f9fb; --aqb-texte2: #5b6b78; --aqb-vert: #1d7a4f; --aqb-orange: #b45309; --aqb-rouge: #b42318; }
.aqb { color: inherit; margin: 0 0 20px; }
.aqb *, .aqb-feuille *, .aqb-vue * { box-sizing: border-box; }
.aqb a { text-decoration: none; }
.aqb-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; margin: 6px 0 12px; }
.aqb-titre { font-size: 1.7em; margin: 0 0 2px; line-height: 1.2; border: 0; padding: 0; }
.aqb-sous-titre { margin: 0 0 6px; color: var(--aqb-texte2); }
.aqb-infos { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 0; color: var(--aqb-texte2); }
.aqb-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.aqb-note { color: var(--aqb-texte2); font-size: 0.92em; display: block; margin: 2px 0; }
.aqb-chargement { padding: 40px; text-align: center; color: var(--aqb-texte2); }

/* Types de bac */
.aqb-type, .aqb-type-douce { display: inline-block; font-size: 0.85em; padding: 1px 8px; border-radius: 10px; background: #e1f5ee; color: #085041; white-space: nowrap; }
.aqb-type-saumatre { background: #faeeda; color: #633806; }
.aqb-type-mer { background: #e6f1fb; color: #0c447c; }
.aqb-type-recif { background: #fbeaf0; color: #72243e; }

/* Vitrine */
.aqb-filtres { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 14px; }
.aqb-puce { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 16px; border: 1px solid var(--aqb-bord); background: #fff; color: inherit; font: inherit; font-size: 0.95em; cursor: pointer; line-height: 1.4; }
.aqb-puce:hover { border-color: var(--aqb-bleu); }
.aqb-puce.aqb-actif { background: var(--aqb-bleu); border-color: var(--aqb-bleu); color: #fff; }
.aqb-compte { font-size: 0.8em; opacity: 0.75; }
.aqb-recherche { display: inline-flex; gap: 4px; margin-left: auto; }
.aqb-recherche input { min-width: 200px; padding: 5px 8px; border: 1px solid var(--aqb-bord); border-radius: 4px; font: inherit; }
.aqb-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.aqb-vignette { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--aqb-bord); border-radius: 10px; overflow: hidden; color: inherit; transition: box-shadow .15s, transform .15s; }
.aqb-vignette:hover { box-shadow: 0 4px 14px rgba(20, 60, 90, .15); transform: translateY(-2px); }
.aqb-vignette-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #dcebf5, #b9d4e6); color: #fff; font-size: 34px; overflow: hidden; }
.aqb-vignette-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aqb-vignette-texte { display: flex; flex-direction: column; gap: 3px; padding: 9px 11px 11px; }
.aqb-vignette-nom { font-weight: bold; font-size: 1.1em; color: var(--aqb-bleu); }
.aqb-vignette-info { color: var(--aqb-texte2); font-size: 0.92em; }
.aqb-vignette-bas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; }
.aqb-vide { text-align: center; padding: 50px 10px; color: var(--aqb-texte2); }
.aqb-vide .icon { font-size: 40px; color: #b9d4e6; }

/* Aquariums du membre et sommaire */
.aqb-onglets { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; margin: 0 0 6px; scrollbar-width: thin; }
.aqb-onglet { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 18px; border: 1px solid var(--aqb-bord); background: #fff; color: inherit; white-space: nowrap; }
.aqb-onglet::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #1d9e75; }
.aqb-onglet-saumatre::before { background: #ba7517; }
.aqb-onglet-mer::before { background: #378add; }
.aqb-onglet-recif::before { background: #d4537e; }
.aqb-onglet-plus::before { display: none; }
.aqb-onglet.aqb-actif::before { box-shadow: 0 0 0 2px #fff; }
.aqb-onglet.aqb-actif { background: var(--aqb-bleu); color: #fff; border-color: var(--aqb-bleu); }
.aqb-onglet-plus { border-style: dashed; color: var(--aqb-bleu); }
.aqb-sommaire { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; overflow-x: auto; background: var(--aqb-fond); border: 1px solid var(--aqb-bord); border-radius: 8px; padding: 5px; margin: 0 0 14px; }
.aqb-sommaire a { flex: none; padding: 5px 11px; border-radius: 6px; color: var(--aqb-bleu); white-space: nowrap; }
.aqb-sommaire a:hover { background: var(--aqb-bleu-clair); }

/* Sections */
.aqb-section { background: #fff; border: 1px solid var(--aqb-bord); border-radius: 10px; padding: 14px 16px 16px; margin: 0 0 14px; scroll-margin-top: 60px; }
.aqb-section-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 10px; }
.aqb-section-tete h3 { margin: 0; font-size: 1.25em; color: var(--aqb-bleu); border: 0; padding: 0; text-transform: none; font-family: inherit; }
.aqb-section-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.aqb-section h4 { margin: 12px 0 6px; font-size: 1.05em; border: 0; padding: 0; text-transform: none; font-family: inherit; }
.aqb-vide-petit { padding: 16px; background: var(--aqb-fond); border-radius: 8px; color: var(--aqb-texte2); }
.aqb-btn { display: inline-flex !important; align-items: center; gap: 4px; cursor: pointer; }
.aqb-principal { background: var(--aqb-bleu) !important; border-color: var(--aqb-bleu) !important; color: #fff !important; }
.aqb-principal .icon { color: #fff !important; }
.aqb-danger { background: var(--aqb-rouge) !important; border-color: var(--aqb-rouge) !important; color: #fff !important; }
.aqb-danger-texte, .aqb-danger-texte .icon { color: var(--aqb-rouge) !important; }
.aqb-inactif { opacity: .5; pointer-events: none; }
.aqb-icone { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border: 1px solid var(--aqb-bord); border-radius: 6px; background: #fff; color: var(--aqb-texte2); cursor: pointer; font: inherit; }
.aqb-icone:hover { color: var(--aqb-bleu); border-color: var(--aqb-bleu); }
.aqb-boutons-ligne { display: flex; gap: 4px; flex: none; }
.aqb-lien { background: none; border: 0; padding: 6px 0; color: var(--aqb-bleu); cursor: pointer; font: inherit; text-decoration: underline; }
.aqb-alerte { display: flex; align-items: center; gap: 8px; padding: 9px 12px; margin: 0 0 12px; border-radius: 8px; background: #fef6e4; color: #7a4a00; border: 1px solid #f3d9a4; }
.aqb-alerte > span { flex: 1; }
.aqb-icone-texte { gap: 4px; padding: 0 10px; color: inherit; white-space: nowrap; }
.aqb-alerte-retard { background: #fdecea; color: var(--aqb-rouge); border-color: #f5c2bd; }

/* Photos */
.aqb-photo-grande { margin: 0 0 8px; }
.aqb-photo-grande img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #0d1b26; border-radius: 8px; cursor: zoom-in; }
.aqb-photo-grande figcaption { color: var(--aqb-texte2); margin-top: 4px; }
.aqb-vignettes { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.aqb-miniature { position: relative; flex: none; width: 96px; height: 72px; border-radius: 6px; overflow: hidden; background: #dcebf5; }
.aqb-miniature img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; display: block; }
.aqb-miniature.aqb-principale { outline: 3px solid var(--aqb-bleu); outline-offset: -3px; }
.aqb-photo-menu { position: absolute; right: 3px; bottom: 3px; min-width: 26px; height: 24px; padding: 0 4px; background: rgba(255, 255, 255, .92); }
.aqb-photo-apercu { display: block; max-width: 100%; max-height: 180px; border-radius: 6px; margin: 0 auto 10px; }
.aqb-rangee { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; align-items: center; }
.aqb-progression { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1000; background: #12344d; color: #fff; padding: 10px 18px; border-radius: 20px; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); max-width: 92vw; }
.aqb-progression-erreur { background: var(--aqb-rouge); }

/* Fiche technique */
.aqb-tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.aqb-tuile { display: flex; flex-direction: column; gap: 2px; background: var(--aqb-fond); border-radius: 8px; padding: 8px 10px; }
.aqb-tuile-nom { color: var(--aqb-texte2); font-size: 0.88em; }
.aqb-tuile-valeur { font-weight: bold; }
.aqb-description { white-space: pre-line; margin-top: 12px; line-height: 1.55; }

/* Population */
.aqb-pop { list-style: none; margin: 0; padding: 0; }
.aqb-pop li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #edf1f4; }
.aqb-pop-nom { flex: 1; min-width: 0; }
.aqb-nom-sci { font-style: italic; }
.aqb-pop-commun, .aqb-pop-note { display: block; color: var(--aqb-texte2); font-size: 0.92em; }
.aqb-pop-note { font-style: italic; }
.aqb-pop-nombre { text-align: right; flex: none; }
.aqb-pop-nombre .aqb-note { margin: 0; }
.aqb-uicn { display: inline-block; font-size: 0.75em; font-weight: bold; padding: 0 5px; border-radius: 3px; vertical-align: 1px; font-style: normal; }
.aqb-uicn-EX { background: #000; color: #fff; } .aqb-uicn-EW { background: #542344; color: #fff; } .aqb-uicn-CR { background: #d81e05; color: #fff; }
.aqb-uicn-EN { background: #fc7f3f; color: #000; } .aqb-uicn-VU { background: #f9e814; color: #000; } .aqb-uicn-NT { background: #cce226; color: #000; }
.aqb-uicn-LC { background: #60c659; color: #000; } .aqb-uicn-DD { background: #d1d1c6; color: #000; } .aqb-uicn-NE { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #999; }

/* Paramètres */
.aqb-mesures { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.aqb-mesure { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 10px; border: 1px solid var(--aqb-bord); border-left: 4px solid #c8d3dc; border-radius: 8px; background: #fff; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.aqb-mesure.aqb-ok { border-left-color: #2fa36b; }
.aqb-mesure.aqb-hors { border-left-color: #e0752d; background: #fff8f1; }
.aqb-mesure.aqb-actif { box-shadow: 0 0 0 2px var(--aqb-bleu); }
.aqb-mesure-nom { color: var(--aqb-texte2); font-size: 0.88em; }
.aqb-mesure-valeur { font-size: 1.35em; font-weight: bold; line-height: 1.2; }
.aqb-mesure-valeur small { font-size: 0.6em; font-weight: normal; color: var(--aqb-texte2); }
.aqb-mesure-date { color: var(--aqb-texte2); font-size: 0.8em; }
.aqb-legende-ok, .aqb-legende-hors { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: #2fa36b; vertical-align: -1px; }
.aqb-legende-hors { background: #e0752d; margin-left: 6px; }
.aqb-suivi { margin-top: 10px; border-top: 1px solid #edf1f4; padding-top: 4px; }
.aqb-courbe-cadre { margin: 4px 0 8px; }
.aqb-courbe { width: 100%; max-width: 900px; height: auto; display: block; }
.aqb-courbe-zone { fill: #2fa36b; opacity: .12; }
.aqb-courbe-grille { stroke: #e3e9ee; stroke-width: 1; }
.aqb-courbe-texte { fill: #6b7b88; font-size: 12px; }
.aqb-courbe-ligne { fill: none; stroke: var(--aqb-bleu, #1e5f8c); stroke-width: 2.5; stroke-linejoin: round; }
.aqb-courbe-point { fill: #fff; stroke: #1e5f8c; stroke-width: 2.5; cursor: pointer; }
.aqb-courbe-point.aqb-courbe-hors { stroke: #e0752d; fill: #fde7d6; }
.aqb-courbe-point:hover, .aqb-courbe-point:focus { r: 7; outline: none; }
.aqb-courbe-bulle { fill: #12344d; font-size: 13px; font-weight: bold; }
.aqb-table { width: 100%; max-width: 460px; border-collapse: collapse; }
.aqb-table td { padding: 5px 4px; border-top: 1px solid #edf1f4; }
.aqb-td-actions { text-align: right; width: 44px; }
.aqb-hors-texte { color: var(--aqb-orange); font-weight: bold; }

/* Changements d'eau */
.aqb-eaux { list-style: none; margin: 0; padding: 0; }
.aqb-eaux li { padding: 8px 0; border-top: 1px solid #edf1f4; }
.aqb-eau-tete { display: flex; align-items: center; gap: 10px; }
.aqb-eau-tete span { flex: 1; }
.aqb-melange { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 5px 0 3px; background: #eef2f5; max-width: 420px; }
.aqb-eau-osmose { background: #85b7eb; } .aqb-eau-pluie { background: #5dcaa5; } .aqb-eau-robinet { background: #ba7517; }
.aqb-texte { display: block; white-space: pre-line; margin-top: 3px; }
.aqb-rapides { display: flex; flex-wrap: wrap; gap: 5px; margin: -4px 0 8px; }
.aqb-calcul { margin: 8px 0; }
.aqb-calcul .aqb-tuile { background: var(--aqb-bleu-clair); }

/* Journal */
.aqb-filtres-journal { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }
.aqb-journal { list-style: none; margin: 0; padding: 0; }
.aqb-mois { font-weight: bold; color: var(--aqb-bleu); text-transform: capitalize; padding: 10px 0 4px; }
.aqb-evt { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-top: 1px solid #edf1f4; }
.aqb-evt-icone { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--aqb-bleu-clair); color: var(--aqb-bleu); }
.aqb-evt-eau .aqb-evt-icone { background: #e6f1fb; color: #185fa5; }
.aqb-evt-maladie .aqb-evt-icone { background: #fdecea; color: var(--aqb-rouge); }
.aqb-evt-entretien .aqb-evt-icone { background: #f1efe8; color: #5f5e5a; }
.aqb-evt-population .aqb-evt-icone { background: #e1f5ee; color: #0f6e56; }
.aqb-evt-corps { flex: 1; min-width: 0; }
.aqb-evt-tete { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.aqb-evt-date { color: var(--aqb-texte2); font-size: 0.9em; }
.aqb-evt-tete strong { font-weight: normal; }
.aqb-statut { font-size: 0.8em; padding: 0 7px; border-radius: 9px; }
.aqb-statut-encours { background: #fef6e4; color: #7a4a00; } .aqb-statut-gueri { background: #e1f5ee; color: #085041; } .aqb-statut-perte { background: #fdecea; color: var(--aqb-rouge); }

/* Rappels */
.aqb-rappels { list-style: none; margin: 0; padding: 0; }
.aqb-rappels li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #edf1f4; }
.aqb-rappels li > div:first-child { flex: 1; }
.aqb-rappels li.aqb-retard strong { color: var(--aqb-rouge); }

/* Feuille (formulaire par-dessus la page) */
body.aqb-sans-defilement { overflow: hidden; }
.aqb-feuille { position: fixed; inset: 0; z-index: 900; background: rgba(10, 30, 45, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.aqb-feuille-form { background: #fff; color: #222; border-radius: 12px; width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); font-size: 14px; }
.aqb-feuille-tete { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid #e6ebef; }
.aqb-feuille-tete h3 { margin: 0; font-size: 1.25em; color: #1e5f8c; border: 0; padding: 0; text-transform: none; font-family: inherit; }
.aqb-feuille-corps { padding: 12px 14px; overflow-y: auto; }
.aqb-feuille-pied { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid #e6ebef; }
.aqb-champ { display: block; margin: 0 0 10px; }
.aqb-champ-nom { display: block; font-weight: bold; margin-bottom: 3px; font-size: 0.95em; }
.aqb-champ .inputbox, .aqb-feuille textarea, .aqb-feuille select { width: 100%; max-width: none; padding: 7px 8px; font: inherit; font-size: 16px; border: 1px solid #c5d1da; border-radius: 6px; background: #fff; color: #222; }
.aqb-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.aqb-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 8px; }
.aqb-grille-saisie { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0 10px; }
.aqb-groupe-titre { font-weight: bold; color: #1e5f8c; margin: 10px 0 6px; border-bottom: 1px solid #e6ebef; padding-bottom: 3px; }
.aqb-case { display: flex; align-items: center; gap: 6px; margin: 4px 0; cursor: pointer; }
.aqb-case input { width: 18px; height: 18px; }
.aqb-param-ligne { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 0; }
.aqb-zone { display: flex; align-items: center; gap: 4px; flex: none; }
.aqb-zone .inputbox { width: 76px; padding: 5px 6px; font-size: 15px; border: 1px solid #c5d1da; border-radius: 5px; }
.aqb-erreur { color: var(--aqb-rouge, #b42318); font-weight: bold; margin: 6px 0 0; }
.aqb-erreur:empty { display: none; }
.aqb-melange-cadre .aqb-melange { max-width: none; height: 14px; }

/* Visionneuse */
.aqb-vue { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 12, 18, .94); display: flex; align-items: center; justify-content: center; }
.aqb-vue figure { margin: 0; max-width: 94vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.aqb-vue img { max-width: 94vw; max-height: 84vh; object-fit: contain; display: block; }
.aqb-vue-legende { color: #e8eef2; margin: 8px 0 0; text-align: center; }
.aqb-vue button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.aqb-vue button:hover { background: rgba(255, 255, 255, .25); }
.aqb-vue-fermer { top: 12px; right: 12px; }
.aqb-vue-prec { left: 12px; top: 50%; transform: translateY(-50%); }
.aqb-vue-suiv { right: 12px; top: 50%; transform: translateY(-50%); }
.aqb-vue-compteur { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: #cfd9e0; }

/* Carte dans le sujet lié */
.aqb-carte-sujet { font-size: 13px; font-weight: normal; font-family: inherit; line-height: 1.4; display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; padding: 8px 12px 8px 8px; background: #f6f9fb; border: 1px solid #d6e0e8; border-radius: 10px; color: inherit !important; text-decoration: none !important; max-width: 640px; }
.aqb-carte-sujet:hover { border-color: #1e5f8c; }
.aqb-carte-sujet img, .aqb-carte-sans-photo { flex: none; width: 96px; height: 72px; object-fit: cover; border-radius: 6px; background: #dcebf5; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; }
.aqb-carte-texte { flex: 1; min-width: 0; color: #5b6b78; }
.aqb-carte-titre { display: block; font-weight: bold; font-size: 1.15em; color: #1e5f8c; }
.aqb-carte-especes { display: block; font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aqb-carte-lien { flex: none; color: #1e5f8c; font-weight: bold; }

/* Fiche technique (formulaire) */
.aqb-fiche .aqb-bloc { background: #fff; border: 1px solid #d6e0e8; border-radius: 10px; padding: 12px 16px; margin: 0 0 12px; }
.aqb-fiche h3 { margin: 0 0 8px; color: #1e5f8c; border: 0; padding: 0; text-transform: none; font-family: inherit; font-size: 1.15em; }
.aqb-fiche label { display: block; font-weight: bold; margin: 0 0 8px; }
.aqb-fiche .inputbox { display: block; width: 100%; max-width: none; margin-top: 3px; font-weight: normal; padding: 6px 8px; font-size: 1.05em; }
.aqb-fiche .aqb-court { max-width: 180px; }
.aqb-fiche fieldset { border: 0; padding: 0; margin: 8px 0 0; }
.aqb-fiche legend { font-weight: bold; margin-bottom: 4px; }
.aqb-type-choix.aqb-type-douce { display: inline-flex !important; } .aqb-type-choix { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 6px 6px 0 !important; padding: 6px 12px; border-radius: 18px; cursor: pointer; font-weight: normal !important; }
.aqb-ligne4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 10px; }
.aqb-ligne2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.aqb-boutons { display: flex; justify-content: flex-end; gap: 8px; }

@media (max-width: 700px) {
	.aqb-titre { font-size: 1.4em; }
	.aqb-section { padding: 12px; border-radius: 8px; }
	.aqb-recherche { margin-left: 0; width: 100%; }
	.aqb-recherche input { flex: 1; min-width: 0; }
	.aqb-grille { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.aqb-vignette-nom { font-size: 1em; }
	.aqb-ligne4 { grid-template-columns: 1fr 1fr; }
	.aqb-ligne2 { grid-template-columns: 1fr; }
	.aqb-feuille { padding: 0; align-items: flex-end; }
	.aqb-feuille-form { max-width: none; max-height: 94vh; border-radius: 14px 14px 0 0; }
	.aqb-trois { grid-template-columns: 1fr 1fr 1fr; }
	.aqb-carte-lien span, .aqb-carte-lien { display: none; }
	.aqb-vue-prec, .aqb-vue-suiv { top: auto !important; bottom: 18px; transform: none !important; }
}

/* Aides contextuelles « ? » (survol, clavier, toucher) */
.aqb-aide { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-left: 6px; border-radius: 50%; background: #dbe8f2; color: #1e5f8c; font: bold 11px/1 Arial, sans-serif; cursor: help; vertical-align: 2px; text-transform: none; letter-spacing: 0; }
.aqb-aide:focus { outline: 2px solid #1e5f8c; outline-offset: 1px; }
.aqb-bulle { position: fixed; z-index: 2000; display: none; max-width: min(300px, calc(100vw - 16px)); padding: 8px 10px; border-radius: 6px; background: #12344d; color: #fff; font: normal 13px/1.45 Arial, sans-serif; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); pointer-events: none; }
.aqb-avertissement { background: #fef6e4; color: #7a4a00; border: 1px solid #f3d9a4; border-radius: 6px; padding: 7px 9px; margin: 4px 0 10px; }
.aqb-avertissement .aqb-lien { color: #7a4a00; padding: 0; }

/* Analyse officielle du réseau d'eau */
.aqb-reseau { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e6ebef; }
.aqb-reseau p { margin: 0 0 4px; }
.aqb-choix { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 10px; }
.aqb-reseau-choix { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid #c5d1da; border-radius: 6px; margin: 0 0 6px; cursor: pointer; }
.aqb-reseau-choix:has(input:checked) { border-color: #1e5f8c; box-shadow: 0 0 0 1px #1e5f8c; background: #f3f8fc; }
.aqb-reseau-choix input { margin-top: 3px; }
.aqb-reseau-choix .aqb-note { margin: 0; }
.aqb-tuile-forte { background: #e8f1f8 !important; }
.aqb-tuile-forte .aqb-tuile-valeur { color: #1e5f8c; }
