body {
	background-color: #E0EDEE !important;
}
#capaciteEmprunt {
	padding: 0 15px 15px 15px !important;
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;

	/* Champs numériques : une seule source de vérité pour la taille, le décalage et l'unité */
	/* Taille du nombre = celle du champ « Loyer perçu » (0.85 × 16px de body), exprimée en rem pour ne pas dépendre du parent */
	--ce-input-font-size: 1.36rem;
	/* Réserve à droite du nombre : unité (€/mois) + bouton i, pour qu'aucun nombre ne chevauche l'unité */
	--ce-input-pad-right: 56px;
	--ce-input-pad-left: 8px;
	/* Position et taille de l'unité (le bouton i fait 16px de large) */
	--ce-devise-right: 20px;
	--ce-devise-font-size: 9px;
}
#capaciteEmprunt h1:not(.ce-main-title-banner),
#capaciteEmprunt p.text-center:not(.ce-subtext) {
	display: none !important;
}

/* Layout Grid */
.ce-layout {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 auto !important;
}

@media (min-width: 1200px) {
	.ce-layout {
		display: grid !important;
		grid-template-columns: 530px 50px 530px !important;
		justify-content: center !important;
		align-items: start !important;
		gap: 6px !important;
		margin: 0 auto !important;
	}
}

/* Columns */
.ce-col-left {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
}
.ce-col-center {
	display: none !important;
	flex-direction: column !important;
	justify-content: space-around !important;
	height: 100% !important;
	align-items: center !important;
	padding-top: 100px !important;
}
@media (min-width: 1200px) {
	.ce-col-center {
		display: flex !important;
	}
}
.ce-col-right {
	display: flex !important;
	flex-direction: column !important;
	gap: 6px !important;
}

/* Styled Card */
.ce-card {
	background-color: #ffffff !important;
	border-radius: 8px !important;
	border: 2px solid #cbd5e1 !important;
	overflow: visible !important;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
}
.cb-gold { border-color: #D39B27 !important; }
.cb-teal { border-color: #1b7b7a !important; }
.cb-red { border-color: #b91c1c !important; }
.cb-dark-teal { border-color: #0f766e !important; }

.ce-header {
	color: #ffffff !important;
	font-family: "Albert Sans", "Inter", sans-serif !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	height: 30px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}
.ch-gold { background-color: #D39B27 !important; }
.ch-teal { background-color: #1b7b7a !important; }
.ch-red { background-color: #b91c1c !important; }
.ch-dark-teal { background-color: #0f766e !important; }

.ce-content {
	padding: 4px 10px !important;
}

/* Arrows */
.ce-arrow-pc {
	font-size: 32px !important;
	color: #1b7b7a !important;
	text-align: center !important;
}
.ce-arrow-mobile {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	font-size: 32px !important;
	color: #1b7b7a !important;
	/* Boîte de la hauteur exacte du triangle (14px) et marge négative pour rogner l'écart de 6px du .ce-layout :
	   il reste 4px entre la flèche et chaque bloc, de façon identique en haut et en bas. */
	height: 14px !important;
	line-height: 1 !important;
	margin: -2px 0 !important;
}
/* Le glyphe de l'icône (32px) déborde de sa boîte et se retrouve masqué par le bloc suivant :
   il est remplacé par un triangle CSS de dimensions exactes (24px x 14px), de même couleur. */
.ce-arrow-mobile i {
	display: none !important;
}
.ce-arrow-mobile::before {
	content: "" !important;
	display: block !important;
	width: 0 !important;
	height: 0 !important;
	border-left: 12px solid transparent !important;
	border-right: 12px solid transparent !important;
	border-top: 14px solid #1b7b7a !important;
}
@media (min-width: 1200px) {
	.ce-arrow-mobile {
		display: none !important;
	}
}

/* Inputs and Lists Styling */
#capaciteEmprunt ul {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}
#capaciteEmprunt li {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 2px 0 !important;
	border-bottom: 1px dotted #cbd5e1 !important;
	gap: 8px !important;
}
#capaciteEmprunt li:last-child {
	border-bottom: none !important;
}
#capaciteEmprunt label {
	font-family: "Albert Sans", "Inter", sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: #334155 !important;
	text-transform: uppercase !important;
	text-align: right !important;
	flex: 1 !important;
}

/* Input wrapper and fused styling */
.ce-input-wrapper {
	position: relative !important;
	width: 130px !important;
	height: 22px !important;
	display: inline-flex !important;
	align-items: center !important;
}
#capaciteEmprunt .ce-input-wrapper input {
	width: 100% !important;
	height: 22px !important;
	border: 1px solid #cbd5e1 !important;
	border-right: none !important;
	border-radius: 4px 0 0 4px !important;
	text-align: center !important;
	padding: 0 var(--ce-input-pad-right) 0 var(--ce-input-pad-left) !important;
	font-size: var(--ce-input-font-size) !important;
	box-sizing: border-box !important;
	background-color: #ffffff !important;
	margin: 0 !important;
	margin-left: 0 !important;
}
#capaciteEmprunt .ce-input-wrapper input.calcule,
#capaciteEmprunt .ce-input-wrapper input[readonly],
#capaciteEmprunt .ce-input-wrapper .fakeInput {
	background-color: #f1f5f9 !important;
	font-weight: bold !important;
}
#capaciteEmprunt .ce-input-wrapper input.obligatoire,
#capaciteEmprunt #salaireNet0 {
	background-color: #fff6c3 !important;
}

/* Asterix rouges (Obligatoire) : coin haut gauche identique au Simulateur de Rentabilité */
#capaciteEmprunt span.obligatoire,
#capaciteEmprunt .ce-input-wrapper span.obligatoire {
	position: absolute !important;
	left: 6px !important;
	top: 2.5px !important;
	bottom: auto !important;
	right: auto !important;
	transform: none !important;
	color: #d0021b !important;
	font-size: 13px !important;
	line-height: 1 !important;
	font-family: "Albert Sans", "Inter", sans-serif !important;
	font-weight: 700 !important;
	z-index: 10 !important;
	pointer-events: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#capaciteEmprunt .ce-input-wrapper .devise {
	position: absolute !important;
	right: var(--ce-devise-right) !important;
	font-size: var(--ce-devise-font-size) !important;
	color: #64748b !important;
	pointer-events: none !important;
	z-index: 3 !important;
	/* Le style global .devise (main.mobilev3.css) fixe bottom: 0 : l'unité collait au bas du champ.
	   On la centre verticalement sur le nombre. */
	top: 50% !important;
	bottom: auto !important;
	transform: translateY(-50%) !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}
#capaciteEmprunt .ce-input-wrapper .tooltipss {
	position: absolute !important;
	right: 0 !important;
	top: 0 !important;
	height: 22px !important;
	display: flex !important;
	align-items: center !important;
	z-index: 5 !important;
}
#capaciteEmprunt .ce-input-wrapper .tootltipButton {
	width: 16px !important;
	height: 22px !important;
	min-width: 16px !important;
	max-width: 16px !important;
	border-radius: 0 4px 4px 0 !important;
	background: linear-gradient(to bottom, #fafcfd 0%, #d7dfe4 100%) !important;
	border: 1px solid #cbd5e1 !important;
	border-left: none !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}
#capaciteEmprunt .ce-input-wrapper .tootltipButton::after {
	content: "i" !important;
	color: #82aab8 !important;
	font-family: "Albert Sans", "Inter", sans-serif !important;
	font-weight: bold !important;
	font-style: italic !important;
	font-size: 11px !important;
	line-height: 1 !important;
	display: block !important;
}

/* Hover sur les boutons info */
#capaciteEmprunt .tootltipButton:hover {
	background: linear-gradient(to bottom, #e8f4f8 0%, #b8d4e0 100%) !important;
	cursor: pointer !important;
}
#capaciteEmprunt .tootltipButton:hover::after {
	color: #1b5e76 !important;
}

/* Bouton i isolé (à côté des boutons +/- de MES REVENUS, include simulateur/_informations.html.twig) :
   même rendu que les i des champs (dégradé gris, glyphe « i » italique) au lieu de l'image du simulateur */
#capaciteEmprunt .text-center > .tooltipss .tootltipButton {
	width: 16px !important;
	height: 22px !important;
	min-width: 16px !important;
	max-width: 16px !important;
	margin: 0 !important;
	border-radius: 4px !important;
	background: linear-gradient(to bottom, #fafcfd 0%, #d7dfe4 100%) !important;
	border: 1px solid #cbd5e1 !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
}
#capaciteEmprunt .text-center > .tooltipss .tootltipButton > img {
	display: none !important;
}
#capaciteEmprunt .text-center > .tooltipss .tootltipButton::after {
	content: "i" !important;
	color: #82aab8 !important;
	font-family: "Albert Sans", "Inter", sans-serif !important;
	font-weight: bold !important;
	font-style: italic !important;
	font-size: 11px !important;
	line-height: 1 !important;
	display: block !important;
}
#capaciteEmprunt .text-center > .tooltipss .tootltipButton:hover {
	background: linear-gradient(to bottom, #e8f4f8 0%, #b8d4e0 100%) !important;
}
#capaciteEmprunt .text-center > .tooltipss .tootltipButton:hover::after {
	color: #1b5e76 !important;
}

/* Modale d'information Rabbit-Immo — même style que simulateur de rentabilité */
#modalCEInfo .rabbit-modal-icon {
	height: 64px !important;
	width: auto !important;
	max-height: 64px !important;
	object-fit: contain !important;
	display: inline-block !important;
	vertical-align: middle !important;
	margin-right: 12px !important;
	flex-shrink: 0 !important;
}
#modalCEInfo .modal-header {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	background-color: #2F6975 !important; /* Vert de référence MA MENSUALITÉ- Express */
	padding: 10px 15px !important;
	gap: 0 !important;
}
#modalCEInfo .modal-title {
	color: #ffffff !important;
	font-size: 20px !important; /* Taille de police d'entête de référence MA MENSUALITÉ- Express */
	font-weight: bold !important;
	line-height: 1.25 !important;
	flex-grow: 1 !important;
	min-width: 0 !important;
}
#modalCEInfo .modal-body {
	padding: 16px !important;
	font-size: 14px !important;
	color: #1e293b !important;
	line-height: 1.55 !important;
}
#modalCEInfo .modal-body p {
	margin: 0 !important;
}

#capaciteEmprunt .box {
	border: none !important;
	background: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
#capaciteEmprunt #revenues > div,
#capaciteEmprunt #pretsImmo > div,
#capaciteEmprunt #creditsVoiture > div,
#capaciteEmprunt #pensions > div,
#capaciteEmprunt #loyersPercu > div,
#capaciteEmprunt #mensualitésNouveauProjet > div,
#capaciteEmprunt .box ul > div > div,
#capaciteEmprunt .box ul > div {
	border: none !important;
	box-shadow: none !important;
	background: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Buttons +/- in compact rectangular format */
#capaciteEmprunt .bi-plus,
#capaciteEmprunt .bi-dash,
#capaciteEmprunt .bi-plus-square,
#capaciteEmprunt .bi-dash-square {
	font-size: 14px !important;
	color: #0f172a !important;
	background-color: #f8fafc !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 3px !important;
	padding: 0px 5px !important;
	cursor: pointer !important;
	margin: 0 2px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s ease !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 1px rgba(0,0,0,0.05) !important;
	font-weight: bold !important;
}
#capaciteEmprunt .bi-plus:hover,
#capaciteEmprunt .bi-plus-square:hover {
	background-color: #f1f5f9 !important;
	color: #10b981 !important;
	border-color: #94a3b8 !important;
}
#capaciteEmprunt .bi-dash:hover,
#capaciteEmprunt .bi-dash-square:hover {
	background-color: #f1f5f9 !important;
	color: #ef4444 !important;
	border-color: #fca5a5 !important;
}

/* MES CHARGES layout styling */
.ce-category-wrapper {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: space-between !important;
	width: 100% !important;
	gap: 6px !important;
}
.ce-category-wrapper ul {
	flex: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.ce-category-title {
	font-family: "Albert Sans", "Inter", sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #334155 !important;
	width: 175px !important;
	min-width: 175px !important;
	text-align: left !important;
	padding-top: 3px !important;
}
#ongletCharges li {
	border-bottom: none !important;
	justify-content: flex-end !important;
	gap: 6px !important;
	padding: 1px 0 !important;
}
#ongletCharges li label {
	flex: none !important;
	width: auto !important;
	text-align: right !important;
}
#ongletCharges ul .text-center {
	display: flex !important;
	justify-content: flex-end !important;
	padding-right: 48px !important;
	margin-top: 2px !important;
	margin-bottom: 2px !important;
}
.charges-locataire-border,
.charges-proprietaire-border {
	border-bottom: 1px solid #b91c1c !important;
	padding-bottom: 3px !important;
	margin-bottom: 3px !important;
}
/* Prêts immobiliers : séparation pointillée entre la ligne de départ et chaque ligne ajoutée via « + » */
#capaciteEmprunt #pretsImmo > div + div {
	border-top: 1px dashed #94a3b8 !important;
	margin-top: 3px !important;
	padding-top: 3px !important;
}
#ongletCharges label[for="totalChargesSansNouveauProjet"] {
	font-weight: 800 !important;
	color: #1e293b !important;
	font-size: 12px;
}

/* 2-Column layout for revenues with Emprunteur headers and separators */
#capaciteEmprunt #revenues {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 0 !important;
	width: 100% !important;
	align-items: stretch !important;
}
#capaciteEmprunt #revenues > div,
#capaciteEmprunt #revenues .ce-emprunteur-col {
	flex: 1 1 calc(50% - 1px) !important;
	min-width: 210px !important;
	border: none !important;
	padding: 2px 14px 6px 14px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}
#capaciteEmprunt #revenues .ce-emprunteur-col:nth-child(even) {
	border-left: 1px solid #475569 !important;
}
#capaciteEmprunt #revenues .ce-emprunteur-col:nth-child(n+3) {
	border-top: 1px solid #475569 !important;
	margin-top: 6px !important;
	padding-top: 6px !important;
}
.ce-emprunteur-title {
	font-family: 'Albert Sans', sans-serif !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	text-align: center !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	margin-bottom: 6px !important;
}
/* Titre avec checkbox pour emprunteur optionnel */
.ce-emprunteur-title--optional {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	text-align: center !important;
}
.ce-emprunteur-checkbox {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	min-height: 20px !important;
	cursor: pointer !important;
	accent-color: #2d7a4e !important;
	border-radius: 4px !important;
	flex-shrink: 0 !important;
}
.ce-emprunteur-label-optional {
	font-family: 'Albert Sans', sans-serif !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	color: #0f172a !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	cursor: pointer !important;
	margin: 0 !important;
}
/* La règle générique « #capaciteEmprunt label » (flex: 1 ; text-align: right ; 11px) l'emporte par ses id sur la classe
   ci-dessus : le libellé s'étirait jusqu'au bord droit de la colonne et son texte était plaqué à droite, hors du groupe
   case à cocher + texte centré. On rétablit ici une largeur au contenu et un texte aligné à gauche. */
#capaciteEmprunt .ce-emprunteur-title--optional .ce-emprunteur-label-optional {
	flex: 0 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	font-size: 13px !important;
	text-align: left !important;
	white-space: nowrap !important;
}
/* Zone des champs de l'emprunteur optionnel */
.ce-emprunteur-fields {
	transition: opacity 0.25s ease !important;
}
.ce-emprunteur-fields--disabled {
	opacity: 0.35 !important;
	pointer-events: none !important;
	user-select: none !important;
	filter: grayscale(60%) !important;
}
.ce-revenus-divider {
	border: none !important;
	border-top: 1px solid #475569 !important;
	margin: 8px 0 4px 0 !important;
	width: 100% !important;
	opacity: 1 !important;
}
#capaciteEmprunt #revenues li {
	border-bottom: none !important;
	justify-content: flex-end !important;
	gap: 6px !important;
	padding: 1px 0 !important;
}
#capaciteEmprunt #revenues li label {
	flex: none !important;
	width: auto !important;
	text-align: right !important;
}
#ongletLoyer .text-center {
	margin-top: 8px !important;
	margin-bottom: 8px !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}
#ongletLoyer li:last-child {
	justify-content: flex-end !important;
}

.ce-btn-calculer {
	background-color: #2e86c1 !important;
	color: #fff !important;
	border: none !important;
	font-weight: bold !important;
	padding: 10px !important;
	max-width: 210px !important;
	margin: 10px auto !important;
	border-radius: 3px !important;
	display: block !important;
	font-size: 1.4rem !important;
	text-align: center !important;
	cursor: pointer !important;
	width: 100% !important;
	text-transform: uppercase !important;
	font-family: "Albert Sans", "Inter", sans-serif !important;
	transition: box-shadow 0.2s ease !important;
}
.ce-btn-calculer:hover {
	-webkit-box-shadow: 0px 0px 10px 1px rgba(0, 102, 124, 0.73) !important;
	-moz-box-shadow: 0px 0px 10px 1px rgba(0, 102, 124, 0.73) !important;
	box-shadow: 0px 0px 10px 1px rgba(0, 102, 124, 0.73) !important;
}
.ce-apres-header-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	padding: 0 4px !important;
}
.ce-btn-calculer-apres {
	flex: 0 0 auto !important;
	width: 140px !important;
	max-width: 150px !important;
	height: 48px !important;
	padding: 0 10px !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 1.3rem !important;
	border-radius: 4px !important;
}
#capaciteEmprunt input.ce-placeholder-text {
	font-size: 10.5px !important;
	font-style: italic !important;
	font-weight: 700 !important;
	color: #64748b !important;
	background-color: #f1f5f9 !important;
	text-align: center !important;
	letter-spacing: 0.2px !important;
}
@media (max-width: 480px) {
	.ce-btn-calculer-apres {
		width: 95px !important;
		font-size: 1.1rem !important;
		padding: 0 6px !important;
	}
	.ce-apres-header-row {
		gap: 6px !important;
	}
}
/* Texte de synthèse « Vos revenus sont de … avec … de charge » : 14px pour tout le texte (valeurs en gras comprises, elles héritent),
   sur tous les écrans, y compris en mode écran compact (la règle .ce-summary de ce mode ne fixe plus de taille) */
.ce-summary {
	font-size: 14px !important;
	color: #1e293b !important;
	line-height: 1.4 !important;
}
.ce-sub-header {
	background-color: transparent !important;
	color: #000000 !important;
	font-weight: 800 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	padding: 3px 0 !important;
	border: 1.5px solid #d39b27 !important;
	border-radius: 4px !important;
}
.ce-sub-header span {
	color: #000000 !important;
	font-weight: 800 !important;
}
.badge-endettement {
	background-color: #3182ce !important;
	color: #ffffff !important;
	padding: 1px 8px !important;
	border-radius: 10px !important;
	font-size: 10px !important;
}

/* Results Table */
.ce-table {
	border-collapse: collapse !important;
	font-size: 11px !important;
}
.ce-table th, .ce-table td {
	border-bottom: 1px solid #e2e8f0 !important;
	padding: 4px 6px !important;
	text-align: center !important;
}
.ce-table th {
	font-weight: bold !important;
	color: #334155 !important;
}
.ce-table td b {
	font-weight: 800 !important;
}
.ce-table tbody tr:hover {
	background-color: #f8fafc !important;
}
/* Highlight gold rows in the table */
.ce-table tbody tr td:last-child {
	background-color: #d99f2a !important;
	color: #ffffff !important;
	border-radius: 10px !important;
	font-weight: bold !important;
	display: inline-block !important;
	width: 100px !important;
	margin: 2px 0 !important;
	padding: 2px !important;
}
.ce-table th.th-gold {
	color: #d99f2a !important;
}

/* Radio project selection layout */
.ce-radio-group {
	display: flex !important;
	gap: 6px !important;
	justify-content: center !important;
	margin-bottom: 10px !important;
}
.ce-radio-btn {
	position: relative !important;
}
.ce-radio-btn input[type="radio"] {
	display: none !important;
}
.ce-radio-btn label {
	display: inline-block !important;
	background-color: #f1f5f9 !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 4px !important;
	padding: 4px 8px !important;
	font-size: 10px !important;
	cursor: pointer !important;
	color: #334155 !important;
	text-transform: uppercase !important;
}
.ce-radio-btn input[type="radio"]:checked + label {
	background-color: #0f766e !important;
	color: #ffffff !important;
	border-color: #0f766e !important;
}

/* Collapsible toggle buttons */
.ce-toggle-btn {
	position: absolute !important;
	left: 10px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 20px !important;
	height: 20px !important;
	padding: 0 !important;
	background-color: unset !important;
	border: none !important;
	box-shadow: none !important;
	background: none !important;
	z-index: 10 !important;
	cursor: pointer !important;
}
.ce-toggle-btn::after {
	content: "" !important;
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	background-color: #ffe8ac !important;
	border-radius: 50% !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 10px !important;
	transition: transform 0.2s ease-in-out !important;
}
.ce-toggle-btn:not(.collapsed)::after {
	transform: rotate(-180deg) !important;
}

/* Separation divider */
.ce-divider {
	border: none !important;
	border-top: 2px solid #cbd5e1 !important;
	margin: 6px auto !important;
	max-width: 1110px !important;
	opacity: 0.8 !important;
}

/* Side Guide Banner (Style Simulateur de Rentabilité) */
.ce-guide-box {
	background-color: #f2fbf4 !important;
	border: 1.5px solid #7bb388 !important;
	border-radius: 8px !important;
	padding: 12px 14px !important;
	font-family: 'Albert Sans', 'Inter', sans-serif !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
	box-sizing: border-box !important;
}
.ce-guide-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 6px !important;
	margin-bottom: 8px !important;
	padding-bottom: 6px !important;
	border-bottom: 1px solid rgba(123, 179, 136, 0.35) !important;
	cursor: pointer !important;
	user-select: none !important;
}
.ce-guide-header.collapsed {
	border-bottom: none !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.ce-guide-box .guide-toggle-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	color: #135438 !important;
	font-size: 14px !important;
	transition: transform 0.25s ease !important;
}
.ce-guide-header.collapsed .guide-toggle-icon,
.ce-guide-header[aria-expanded="false"] .guide-toggle-icon {
	transform: rotate(0deg) !important;
}
.ce-guide-header:not(.collapsed) .guide-toggle-icon,
.ce-guide-header[aria-expanded="true"] .guide-toggle-icon {
	transform: rotate(180deg) !important;
}
.ce-guide-title {
	font-size: 12px !important;
	font-weight: 800 !important;
	color: #135438 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	line-height: 1.2 !important;
}
.ce-guide-title i {
	font-size: 13px !important;
	color: #27ae60 !important;
}
.ce-guide-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 7px !important;
}
.ce-guide-item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 11px !important;
	line-height: 1.45 !important;
	color: #2d3748 !important;
}
.ce-guide-bullet {
	display: inline-block !important;
	width: 6px !important;
	height: 6px !important;
	min-width: 6px !important;
	background-color: #6da37d !important;
	margin-top: 5px !important;
	flex-shrink: 0 !important;
}
.ce-guide-text {
	flex: 1 !important;
	text-align: left !important;
}
.ce-guide-text strong {
	font-weight: 800 !important;
	color: #1e293b !important;
}
.ce-guide-section-title {
	font-weight: 800 !important;
	color: #135438 !important;
	font-size: 11px !important;
	margin-top: 10px !important;
	margin-bottom: 6px !important;
	line-height: 1.35 !important;
	text-align: left !important;
}
.ce-guide-warning {
	margin-top: 11px !important;
	padding: 8px 10px !important;
	background-color: #fff9ed !important;
	border: 1.5px solid #e09f3e !important;
	border-radius: 6px !important;
	text-align: left !important;
}
.ce-guide-warning-badge {
	display: inline-block !important;
	background-color: #d97706 !important;
	color: #ffffff !important;
	font-size: 9.5px !important;
	font-weight: 800 !important;
	padding: 2px 6px !important;
	border-radius: 3px !important;
	margin-bottom: 4px !important;
	letter-spacing: 0.3px !important;
	line-height: 1 !important;
}
.ce-guide-warning-text {
	font-size: 10.5px !important;
	line-height: 1.4 !important;
	color: #78350f !important;
}

/* Desktop positioning (Large screens >= 1680px, in the left empty space) */
@media (min-width: 1680px) {
	.ce-side-banner {
		position: absolute !important;
		right: calc(100% + 20px) !important;
		top: 0 !important;
		width: 335px !important;
		z-index: 20 !important;
	}
}
/* Screen sizes between 1350px and 1679px (e.g. 1440px Laptop) */
@media (min-width: 1350px) and (max-width: 1679px) {
	.ce-side-banner {
		position: absolute !important;
		right: calc(100% + 10px) !important;
		top: 0 !important;
		width: clamp(140px, calc(50vw - 565px), 335px) !important;
		z-index: 20 !important;
	}
}
/* Screens < 1350px and mobile */
@media (max-width: 1349px) {
	.ce-side-banner {
		position: relative !important;
		width: 100% !important;
		max-width: 1116px !important;
		margin: 0 auto 15px auto !important;
	}
}

/* Header Banner Base Styles */
.header-bandeau {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border-radius: 0 !important;
	width: 100% !important;
	margin: 15px auto 25px auto;
	padding: 0 !important;
	text-align: center !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	box-shadow: none !important;
	min-height: 0 !important;
	height: auto !important;
}
.ce-main-title-banner {
	background-color: #2b7a89 !important;
	border-radius: 8px !important;
	padding: 10px 28px;
	font-family: 'Albert Sans', sans-serif !important;
	font-size: 24px;
	font-weight: 800 !important;
	color: #ffffff !important;
	text-align: center !important;
	margin: 0 auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 14px !important;
	text-transform: uppercase !important;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
	letter-spacing: -0.5px !important;
	white-space: nowrap !important;
}
.ce-main-title-banner img {
	height: 28px;
	width: auto;
	vertical-align: middle;
	filter: brightness(0) invert(1) !important;
}
.ce-main-title-banner span {
	color: #ffffff !important;
}
.ce-col-center {
	padding-top: 100px;
}

/* ========================================================= */
/* MODE ECRAN COMPACT / LAPTOP 1440x800 (max-height: 850px)  */
/* Optimisations verticales chirurgicales pour 0 debordement */
/* ========================================================= */
@media (min-width: 1025px) and (max-height: 850px) {
	.header-bandeau {
		margin: 5px auto 8px auto !important;
	}
	.ce-main-title-banner {
		padding: 5px 20px !important;
		font-size: 19px !important;
	}
	.ce-main-title-banner img {
		height: 20px !important;
	}
	.ce-layout {
		gap: 3px !important;
	}
	.ce-header {
		height: 22px !important;
		line-height: 22px !important;
		font-size: 11.5px !important;
	}
	.ce-content {
		padding: 2px 6px !important;
	}
	#revenues,
	#pretsImmo,
	#creditsVoiture,
	#pensions {
		margin-top: 1px !important;
		margin-bottom: 1px !important;
	}
	#capaciteEmprunt li {
		padding: 1px 0 !important;
		gap: 4px !important;
	}
	#capaciteEmprunt label {
		font-size: 10.5px !important;
	}
	#capaciteEmprunt .ce-input-wrapper {
		height: 20px !important;
		width: 125px !important;
	}
	/* Écran compact : tous les champs numériques passent ensemble à 11px (la variable remplace l'ancien font-size par champ) */
	#capaciteEmprunt {
		--ce-input-font-size: 11px;
	}
	#capaciteEmprunt .ce-input-wrapper input {
		height: 20px !important;
		line-height: 18px !important;
	}
	.ce-btn-calculer {
		padding: 4px !important;
		margin: 4px auto !important;
		max-width: 180px !important;
		font-size: 1.05rem !important;
	}
	.ce-summary {
		line-height: 1.25 !important;
		margin-bottom: 2px !important;
	}
	.ce-sub-header {
		padding: 2px 0 !important;
		font-size: 10.5px !important;
		margin-bottom: 3px !important;
	}
	.ce-table {
		font-size: 10.5px !important;
	}
	.ce-table th,
	.ce-table td {
		padding: 1.5px 3px !important;
	}
	.ce-table tbody tr td:last-child div {
		margin: 0 !important;
		padding: 0 !important;
	}
	.ce-col-left,
	.ce-col-right {
		gap: 3px !important;
	}
	.ce-col-center {
		padding-top: 55px !important;
	}
	.ce-divider {
		margin: 3px auto !important;
	}
}

/* ============================================================================
   Classes remplaçant les anciens attributs style= des templates.
   :is(.classe, #_#_#_) donne à la règle la spécificité de 3 id (le second sélecteur ne
   correspond à rien) : comme le style inline qu'elle remplace, elle l'emporte sur les
   règles normales des autres feuilles, mais pas sur leurs !important ni sur element.style.
   ============================================================================ */

/* capacite_emprunt/_charges.html.twig */
:is(.charges__ce-slider-popup, #_#_#_) {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
}
:is(.charges__ce-slider-header, #_#_#_) {
	font-size: 11px;
	font-weight: bold;
	color: #1e293b;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
}
:is(.charges__ce-slider-current-val, #_#_#_) {
	color: #b91c1c;
	font-weight: 800;
}
:is(.charges__form-range, #_#_#_) {
	accent-color: #b91c1c !important;
}
:is(.charges__label, #_#_#_) {
	flex: none !important;
	width: auto !important;
	text-align: right !important;
}

/* capacite_emprunt/_credit.html.twig */
:is(.credit__ce-zone-1, #_#_#_) {
	color: #000000;
	font-size: 11.5px;
	line-height: 1.3;
}
:is(.credit__ce-zone-4, #_#_#_) {
	background-color: #f8fafc;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
}
:is(.credit__div, #_#_#_) {
	font-size: 11.5px;
}
:is(.credit__ul, #_#_#_) {
	list-style: none;
}
:is(.credit__ce-slider-popup, #_#_#_) {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
}
:is(.credit__ce-slider-header, #_#_#_) {
	font-size: 11px;
	font-weight: bold;
	color: #1e293b;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
}
:is(.credit__ce-slider-current-val, #_#_#_) {
	color: #0f766e;
	font-weight: 800;
}
:is(.credit__form-range, #_#_#_) {
	accent-color: #0f766e !important;
}
:is(.credit__mensualit-s-nouveau-projet, #_#_#_) {
	display: none;
}
:is(.credit__btn-go-to-simulateur-renta, #_#_#_) {
	border-radius: 6px;
	font-size: 12px;
}
:is(.credit__img, #_#_#_) {
	height: 18px;
	width: auto;
	margin-right: 8px;
	filter: brightness(0) invert(1) !important;
}
:is(.credit__div-2, #_#_#_) {
	max-width: 320px;
	margin: 0 auto;
}
:is(.credit__btn-projet-select, #_#_#_) {
	border-radius: 4px;
	font-size: 11px;
	white-space: nowrap;
	height: 28px;
}
:is(.credit__i, #_#_#_) {
	font-size: 14px;
}
:is(.credit__select-user-project, #_#_#_) {
	font-size: 11px;
	font-weight: 600;
	height: 28px;
	background-color: #ffffff;
	border-color: #cbd5e1;
}
:is(.credit__form-control, #_#_#_) {
	font-size: 10.5px;
	height: 28px;
	background-color: #ffffff;
	border-color: #cbd5e1;
}

/* capacite_emprunt/_resultats_actuel.html.twig */
:is(.resultats-actuel__ul, #_#_#_) {
	list-style: none;
}

/* capacite_emprunt/_resultats_apres.html.twig */
:is(.resultats-apres__ul, #_#_#_) {
	list-style: none;
}

/* capacite_emprunt/index.html.twig */
:is(.capacite-emprunt-index__ce-main-container, #_#_#_) {
	position: relative !important;
	width: 100% !important;
	max-width: 1116px !important;
	margin: 0 auto !important;
}
:is(.capacite-emprunt-index__ce-layout, #_#_#_) {
	margin-top: 0px !important;
}
:is(.capacite-emprunt-index__ce-header, #_#_#_) {
	cursor: pointer;
}
:is(.capacite-emprunt-index__ce-col-center, #_#_#_) {
	padding-top: 0px !important;
	margin-top: -1px !important;
}
/* capacite_emprunt/_resultats_apres.html.twig (spécificité de 3 id, comme le style inline remplacé) ; retirée par main.js à l'affichage du résultat */
:is(.resultats-apres__devise--cachee, #_#_#_) {
	display: none;
}

/* capacite_emprunt/index.html.twig : anciens attributs style= (spécificité de 3 id, comme le style inline remplacé) */
:is(.capacite-emprunt-index__capacite-emprunt, #_#_#_) {
	position: relative !important;
	padding-top: 0 !important;
}
:is(.capacite-emprunt-index__div, #_#_#_) {
	position: relative !important;
}

/* capacite_emprunt/_charges.html.twig : anciens attributs style= (spécificité de 3 id, comme le style inline remplacé) */
:is(.charges__div, #_#_#_) {
	position: relative !important;
	overflow: visible !important;
}
:is(.charges__div-2, #_#_#_) {
	display: none !important;
	width: 195px !important;
	background: #ffffff !important;
	border: 2px solid #b91c1c !important;
	border-radius: 8px !important;
	padding: 8px 10px !important;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
	z-index: 99999 !important;
}
:is(.charges__input, #_#_#_) {
	cursor: pointer !important;
	height: 6px !important;
	width: 100% !important;
}
:is(.charges__li, #_#_#_) {
	justify-content: flex-end !important;
	gap: 15px !important;
}

/* capacite_emprunt/_credit.html.twig : anciens attributs style= (spécificité de 3 id, comme le style inline remplacé) */
:is(.credit__div-3, #_#_#_) {
	position: relative !important;
	overflow: visible !important;
}
:is(.credit__div-4, #_#_#_) {
	display: none !important;
	width: 195px !important;
	background: #ffffff !important;
	border: 2px solid #0f766e !important;
	border-radius: 8px !important;
	padding: 8px 10px !important;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
	z-index: 99999 !important;
}
:is(.credit__input, #_#_#_) {
	cursor: pointer !important;
	height: 6px !important;
	width: 100% !important;
}
:is(.credit__btn-go-to-simulateur-renta-2, #_#_#_) {
	background-color: #2b7a89 !important;
	text-decoration: none !important;
	width: 85% !important;
	max-width: 280px !important;
}
:is(.credit__button, #_#_#_) {
	background-color: #2b7a89 !important;
}

/* ============================================================================
   SÉLECTEUR DE TYPE DE PROJET (NOUVEAU PROJET) SUR 1 SEULE LIGNE
   ============================================================================ */
.ce-type-projet-container {
	margin: 8px 0 12px 0 !important;
	text-align: center !important;
	width: 100% !important;
}

.ce-type-projet-radios {
	display: flex !important;
	flex-direction: row !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 12px !important;
	flex-wrap: nowrap !important;
}

.ce-type-projet-option {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 4px !important;
	cursor: pointer !important;
	margin: 0 !important;
	user-select: none !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
}

.ce-type-projet-option input[type="radio"] {
	cursor: pointer !important;
	width: 14px !important;
	height: 14px !important;
	margin: 0 !important;
	accent-color: #2f857d !important;
}

.ce-type-projet-label {
	font-size: 11.5px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	cursor: pointer !important;
	white-space: nowrap !important;
}

.ce-type-projet-option:hover .ce-type-projet-label {
	color: #2f857d !important;
}

/* ============================================================================
   ALIGNEMENT À GAUCHE DU BLOC ACTUELLEMENT & MENTION PLAFOND 35%
   ============================================================================ */
#ceResultatActuel .resultats-actuel__ul li {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;
	padding-left: 8px !important;
	gap: 8px !important;
}

#ceResultatActuel .resultats-actuel__ul label {
	flex: 0 0 145px !important;
	width: 145px !important;
	max-width: 145px !important;
	text-align: left !important;
	margin: 0 !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
}

#ceResultatApres .resultats-apres__ul label {
	font-size: 13.5px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
}

.ce-taux-max-mention {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	white-space: nowrap !important;
	margin-left: 6px !important;
	line-height: 1 !important;
}

/* ============================================================================
   CHAMPS TAUX D'ENDETTEMENT & MENSUALITÉ MAX (VALEURS DÉCALÉES, UNITÉS SYNCHRONISÉES)
   ============================================================================ */
#capaciteEmprunt #ceResultatActuel .ce-details .ce-input-wrapper,
#capaciteEmprunt #ceResultatApres .ce-details .ce-input-wrapper {
	height: 24px !important;
	width: 145px !important;
	flex: 0 0 145px !important;
}

/* Taux d'endettement : valeur alignée à droite avant le %, couleur % synchro */
#capaciteEmprunt #endettementAvantProjet_Span,
#capaciteEmprunt #endettementApresProjet_Span {
	font-weight: 700 !important;
	height: 24px !important;
	line-height: 22px !important;
	text-align: right !important;
	padding-right: 42px !important;
	padding-left: 6px !important;
}

#capaciteEmprunt #endettementAvantProjet_Span ~ .devise,
#capaciteEmprunt #endettementApresProjet_Span ~ .devise {
	font-size: 13px !important;
	font-weight: 700 !important;
	right: 22px !important;
	color: inherit;
}

/* Mensualité max : sélecteur avec [id="..."] pour supporter le caractère é sans bug CSS */
#capaciteEmprunt [id="mensualitéMaxAvantProjet"],
#capaciteEmprunt [id="mensualitéMaxAprèsProjet"] {
	font-weight: 700 !important;
	height: 24px !important;
	line-height: 22px !important;
	text-align: right !important;
	color: #000000 !important;
}

/* Mensualité max : l'unité (11px, en gras) est plus large que les 9px standard, d'où 14px de réserve en plus */
#capaciteEmprunt .ce-details input[id*="Max"] {
	padding-right: calc(var(--ce-input-pad-right) + 14px) !important;
}

/* Texte « Saisir projet » : l'unité est masquée tant que le projet n'est pas saisi, la réserve se limite au bouton i */
#capaciteEmprunt .ce-details input.ce-placeholder-text {
	padding-right: 24px !important;
}

#capaciteEmprunt [id="mensualitéMaxAvantProjet"] ~ .devise,
#capaciteEmprunt [id="mensualitéMaxAprèsProjet"] ~ .devise {
	font-size: 11px !important;
	font-weight: 700 !important;
	right: 20px !important;
	color: #000000 !important;
}

/* ============================================================================
   CHAMPS SALAIRE NET ET TREIZIEME MOIS : DÉCALAGE POUR NE PAS CHEVAUCHER L'UNITÉ
   ============================================================================ */
#capaciteEmprunt #revenues .ce-input-wrapper {
	width: 140px !important;
}

#capaciteEmprunt #revenues .ce-input-wrapper input,
#capaciteEmprunt input[id^="salaireNet"],
#capaciteEmprunt input[id^="treiziemeMois"] {
	text-align: right !important;
}

/* Décalage des valeurs Total des revenus et Total de mes charges */
#capaciteEmprunt #totalRevenues,
#capaciteEmprunt input#totalChargesSansNouveauProjet_Input,
#capaciteEmprunt input[id*="totalCharges"] {
	text-align: right !important;
}

#capaciteEmprunt label[for="totalRevenues"] ~ .ce-input-wrapper,
#capaciteEmprunt label[for="totalChargesSansNouveauProjet"] ~ .ce-input-wrapper,
#capaciteEmprunt .charges__li .ce-input-wrapper {
	width: 150px !important;
}

/* ============================================================================
   TABLEAU DE CAPACITÉ D'EMPRUNT (ACTUELLE ET APRÈS PROJET)
   ============================================================================ */
#capaciteEmprunt .ce-table {
	margin-top: 8px !important;
}

/* En-têtes : Durée du crédit, Taux, Capacité d'Emprunt */
#capaciteEmprunt .ce-table th {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	padding: 4px 6px !important;
	line-height: 1.25 !important;
}

/* Unités : année, %, € */
#capaciteEmprunt .ce-table th small {
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #64748b !important;
	display: inline-block !important;
	margin-top: 2px !important;
}

#capaciteEmprunt .ce-table th.th-gold {
	color: #d99f2a !important;
}

#capaciteEmprunt .ce-table th.th-gold small {
	color: #d99f2a !important;
}

/* Lignes : Durées 7 à 35 et Taux 3 à 4,2 */
#capaciteEmprunt .ce-table tbody tr td {
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 2.5px 6px !important;
	vertical-align: middle !important;
	color: #1e293b !important;
}

/* Capacités d'Emprunt trouvées (colonne dorée) */
#capaciteEmprunt .ce-table tbody tr td:last-child {
	background-color: #d99f2a !important;
	color: #ffffff !important;
	border-radius: 10px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	display: inline-block !important;
	width: 105px !important;
	margin: 1.5px 0 !important;
	padding: 2px 4px !important;
	text-align: center !important;
}

/* ============================================================================
   1 - TELEPHONE : AJUSTEMENTS SPÉCIFIQUES MOBILE POUR MA CAPACITÉ D'EMPRUNT
   ============================================================================ */
@media (max-width: 767.98px) {
	/* Champs numériques : réserve à droite et unité adaptées au mobile, communes à tous les champs.
	   La taille du nombre (--ce-input-font-size) reste celle du bureau : elle n'est plus surchargée par champ. */
	#capaciteEmprunt {
		--ce-input-pad-right: 54px;
		--ce-devise-right: 19px;
		--ce-devise-font-size: 8.5px;
		/* Largeur de tous les champs = largeur du champ « Loyer perçu » (130px) */
		--ce-input-width: 130px;
	}

	/* Bandeaux NOUVEAU PROJET et CAPACITÉ D'EMPRUNT APRÈS PROJET agrandis : le rond de dépliement (20px, centré
	   verticalement à 10px du bord gauche) tient entièrement dans le bandeau avec une marge de 10px au-dessus et en dessous.
	   La hauteur est un minimum (un titre long, surtout en anglais, peut passer sur 2 lignes sans déborder), et le
	   retrait horizontal symétrique (36px) garde le titre centré sans passer sous le rond. */
	#capaciteEmprunt .ce-header.ch-dark-teal,
	#capaciteEmprunt #ceResultatApres .ce-header {
		height: auto !important;
		min-height: 40px !important;
		padding: 4px 36px !important;
	}

	/* :is(#capaciteEmprunt, #_#_#_) donne la spécificité de 3 id (le second sélecteur ne correspond à rien) :
	   la règle l'emporte sur toutes les largeurs propres à chaque bloc (revenus, totaux, charges, résultats). */
	:is(#capaciteEmprunt, #_#_#_) .ce-input-wrapper {
		width: var(--ce-input-width) !important;
		min-width: var(--ce-input-width) !important;
		max-width: var(--ce-input-width) !important;
		flex: 0 0 var(--ce-input-width) !important;
	}

	/* 1. Bloc MES REVENUS : colonnes resserrées pour que les champs de 130px restent entièrement visibles */
	#capaciteEmprunt #revenues .ce-emprunteur-col {
		padding: 2px 3px 6px 3px !important;
	}

	#capaciteEmprunt #revenues li {
		gap: 2px !important;
		justify-content: flex-end !important;
	}

	#capaciteEmprunt #revenues li label {
		font-size: 9.5px !important;
		letter-spacing: -0.2px !important;
		white-space: nowrap !important;
		margin: 0 !important;
	}

	#capaciteEmprunt .ce-input-wrapper span.obligatoire {
		left: 3px !important;
		top: 2px !important;
		font-size: 11px !important;
	}

	/* Total des revenus */
	#capaciteEmprunt #ongletLoyer li:last-child {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
	}

	/* 2. Titres de catégories dans MES CHARGES : largeur adaptée pour libérer de l'espace */
	#capaciteEmprunt .ce-category-title {
		width: 80px !important;
		min-width: 80px !important;
		font-size: 10px !important;
		line-height: 1.15 !important;
		padding-top: 2px !important;
		/* Libellé « SI PROPRIÉTAIRE : » etc. toujours sur une seule ligne */
		white-space: nowrap !important;
	}

	/* 3. Catégories de MES CHARGES (locataire, véhicule, charges familiales, propriétaire) :
	   le titre est placé au-dessus des champs, sur toute la largeur, au lieu d'une colonne de 80px
	   qui coupait « SI PROPRIÉTAIRE : » sur deux lignes ou aurait chevauché les champs de 130px. */
	#capaciteEmprunt .charges-locataire-border .ce-category-wrapper,
	#capaciteEmprunt .charges-proprietaire-border .ce-category-wrapper {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		width: 100% !important;
		gap: 2px !important;
	}

	#capaciteEmprunt .charges-locataire-border .ce-category-title,
	#capaciteEmprunt .charges-proprietaire-border .ce-category-title {
		width: 100% !important;
		min-width: 0 !important;
		margin-bottom: 2px !important;
	}

	#capaciteEmprunt .charges-locataire-border ul,
	#capaciteEmprunt .charges-proprietaire-border ul {
		width: 100% !important;
	}

	#capaciteEmprunt .charges-locataire-border li,
	#capaciteEmprunt .charges-proprietaire-border li {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		gap: 6px !important;
	}

	#capaciteEmprunt #loyer,
	#capaciteEmprunt .ce-details input[id*="Max"] {
		text-align: right !important;
	}

	#capaciteEmprunt .charges-locataire-border label[for="loyer"] {
		flex: 1 1 auto !important;
		font-size: 10.5px !important;
		line-height: 1.15 !important;
		text-align: left !important;
		white-space: nowrap !important;
		margin: 0 !important;
	}

	/* 4. Total de mes Charges */
	#capaciteEmprunt .charges__li {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
	}
}

/* Petits écrans (< 576px) : les deux colonnes EMPRUNTEUR ne tiennent pas côte à côte avec des champs de 130px
   (libellé + champ + marges > moitié de la carte). Elles s'empilent, sans bordure verticale, pour rester
   entièrement visibles sans défilement horizontal. */
@media (max-width: 575.98px) {
	#capaciteEmprunt #revenues .ce-emprunteur-col {
		flex: 1 1 100% !important;
		min-width: 0 !important;
	}

	#capaciteEmprunt #revenues .ce-emprunteur-col:nth-child(even) {
		border-left: none !important;
	}

	#capaciteEmprunt #revenues .ce-emprunteur-col:nth-child(n+2) {
		border-top: 1px solid #475569 !important;
		margin-top: 6px !important;
		padding-top: 6px !important;
	}
}
