/* ==========================================================================
   Portail-Habitat.fr - rubrique Douche sénior.
   Chargé après menuiserie.css, isolation.css, borne.css et chauffage.css
   (tableaux empilés, fiches produit, cartes, encadré local, outils),
   uniquement sur les pages de la catégorie Douche sénior.
   ========================================================================== */

/* ---------- Test de sécurité de la salle de bains ---------- */
.ds-test-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .9rem; margin: 0 0 1rem; }
.ds-test-q { align-items: flex-start; padding: .55rem .7rem; background: #fff; border: 1px solid #E3DED5; border-radius: .7rem; line-height: 1.35; }
.ds-test-q input { margin-top: .2rem; flex: 0 0 auto; }
.ds-test-q:has(input:checked) { border-color: var(--terre); background: #FDF3EE; }

/* ---------- Outils : résultats lisibles ---------- */
.ds-aides .mn-res-lignes p strong, .ds-simulateur .mn-res-lignes p strong, .ds-test .mn-res-lignes p strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.ds-aides .mn-res-lignes p span { flex: 0 1 auto; }
.ds-lettre .bo-lettre-texte { white-space: pre-wrap; }

/* ---------- Encadré local ---------- */
.ds-local .iso-barre { grid-template-columns: 9rem minmax(0, 1fr) 3.6rem; }

@media (max-width: 640px) {
	.ds-test-questions { grid-template-columns: minmax(0, 1fr); }
	.ds-local .iso-barre { grid-template-columns: minmax(0, 1fr) 3.6rem; }
	.ds-local .iso-barre > span:first-child { grid-column: 1 / -1; }
}
