/* CJ Recouvrement – compléments d'interface. */
.cjrc-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.cjrc-chiffres > * { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; margin: 0; }
.cjrc-chiffres span { color: #5a6270; font-size: 13px; }
.cjrc-chiffres strong { font-size: 22px; color: #14284b; font-variant-numeric: tabular-nums; }
.cjrc-chiffres .cjrc-a-faire { box-shadow: inset 4px 0 0 #b8892b; }
.cjrc-chiffres-petit { margin: 10px 0; }
.cjrc-chiffres-petit > div { background: #f6f8fb; border-radius: 8px; padding: 10px 12px; }
.cjrc-chiffres-petit strong { font-size: 17px; }
.cjrc-table td { vertical-align: top; }
.cjrc-table td a { color: #14284b; text-decoration: none; }
.cjrc-nb { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cjrc-barre { display: block; height: 6px; background: #e6eaf0; border-radius: 3px; overflow: hidden; margin-top: 5px; min-width: 70px; }
.cjrc-barre > span { display: block; height: 100%; background: #1e8a55; border-radius: 3px; }
.cjrc-barre-grande { height: 12px; border-radius: 6px; margin: 8px 0 4px; }

/* Fiche */
.cjrc-tete { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cjrc-tete-g p { margin: 0 0 8px; }
.cjrc-deb strong { font-size: 18px; }
.cjrc-deb a { color: #14284b; }
.cjrc-jauge { min-width: 280px; flex: 0 1 360px; }
.cjrc-jauge-ch { display: flex; justify-content: space-between; align-items: baseline; }
.cjrc-jauge-ch span { color: #5a6270; }
.cjrc-jauge-ch strong { font-size: 26px; color: #14284b; font-variant-numeric: tabular-nums; }
.cjrc-jauge p { margin: 0 0 10px; }
.cjrc-decompte td { padding: 7px 4px; }
.cjrc-sous td { border-top: 1px solid #c3cbd8; font-weight: 600; }
.cjrc-total td { border-top: 2px solid #14284b; font-weight: 700; font-size: 16px; color: #14284b; }
.cjrc-guide { margin: 0 0 14px 18px; padding: 0; }
.cjrc-guide li { margin-bottom: 6px; }
.cjrc-guide li.fait { color: #1e6b45; }
.cjrc-guide li.fait::marker { content: "✓ "; }
.cjrc-modifier > summary { cursor: pointer; list-style: none; }
.cjrc-modifier > summary h2 { display: inline; }
.cjrc-modifier > summary::before { content: "▸ "; color: #23417a; }
.cjrc-modifier[open] > summary::before { content: "▾ "; }
.cjrc-modifier form { margin-top: 12px; }
.cjrc-gros { font-size: 20px !important; font-weight: 700; }
.cjrc-montant { text-align: right; font-variant-numeric: tabular-nums; }
.cjrc-lettres { font-style: italic; }
.cjrc-modes { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.cjrc-modes legend { font-weight: 600; font-size: 13px; margin-bottom: 6px; padding: 0; }
.cjrc-paiements td { vertical-align: top; }
.cjrc-annule td { color: #8a93a3; }
.cjrc-annule .cjrc-nb strong { text-decoration: line-through; }
.cjrc-annuler { display: inline-block; text-align: left; }
.cjrc-annuler > summary { cursor: pointer; color: #a12d22; font-size: 13px; }
.cjrc-annuler form { display: flex; gap: 6px; margin-top: 6px; }
.cjrc-apercu { margin: 6px 0 12px; }
.cjrc-apercu table { width: 100%; max-width: 480px; }
.cjrc-relances { list-style: none; margin: 0; padding: 0; }
.cjrc-relances > li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.cjrc-relances form { margin: 0; }
.cjrc-rel-txt p { margin: 0 0 3px; }
.cjrc-rel-annulee { opacity: .55; }
.cjrc-canal { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 2px 7px; border-radius: 4px; background: #e9eef7; color: #14284b; }
.cjrc-sms { background: #e8f4ee !important; color: #1e6b45 !important; }
.cjrc-email { background: #fbf4e6 !important; color: #7a5410 !important; }
p.cjrc-sms { display: block; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; max-width: 520px; }
.cjrc-note { color: #7a5410; }
.cjrc-etapes { list-style: none; margin: 0 0 12px; padding: 0; }
.cjrc-etapes > li { padding: 12px 0 12px 14px; border-left: 3px solid #dfe4ec; margin-left: 12px; position: relative; }
.cjrc-etapes > li.fait { border-left-color: #1e8a55; }
.cjrc-etapes > li.actuel { border-left-color: #14284b; background: #f6f8fb; border-radius: 0 10px 10px 0; }
.cjrc-etapes > li.alerte { border-left-color: #c0392b; }
.cjrc-et-tete { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cjrc-et-num { width: 26px; height: 26px; border-radius: 50%; background: #d6dbe4; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-left: -29px; }
.fait .cjrc-et-num { background: #1e8a55; }
.actuel .cjrc-et-num { background: #14284b; }
.alerte .cjrc-et-num { background: #c0392b; }
.cjrc-et-form { margin-top: 10px; }
.cjrc-pieces { list-style: none; margin: 0 0 14px; padding: 0; }
.cjrc-pieces li { padding: 6px 0; border-bottom: 1px solid #eef1f5; }
.cjrc-piece-form { background: #f6f8fb; border-radius: 10px; padding: 12px; }
.cjrc-resume-dossier { margin: 10px 0 0; padding: 10px 12px; background: #f6f8fb; border-radius: 8px; font-size: 14px; }
.cjrc-plan input, .cjrc-plan select { width: 100%; min-height: 38px; border: 1px solid #c3cbd8; border-radius: 6px; padding: 4px 8px; font: inherit; }
.cjrc-modele { width: 100%; font: inherit; line-height: 1.55; padding: 10px 12px; border: 1px solid #c3cbd8; border-radius: 8px; }
.cjrc-encaisse { color: #3b4352; }

@media (max-width: 760px) {
	.cjrc-chiffres { grid-template-columns: 1fr; }
	.cjrc-chiffres:not(.cjrc-chiffres-petit) > * { flex-direction: row; justify-content: space-between; align-items: baseline; }
	.cjrc-chiffres-petit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cjrc-chiffres-petit strong { font-size: 14px; }
	.cjrc-jauge { flex: 1 1 100%; min-width: 0; }
	.cjrc-table thead, .cjrc-paiements thead, .cjrc-echeances thead { display: none; }
	.cjrc-table, .cjrc-table tbody, .cjrc-table tr, .cjrc-table td,
	.cjrc-paiements, .cjrc-paiements tbody, .cjrc-paiements tr, .cjrc-paiements td,
	.cjrc-echeances, .cjrc-echeances tbody, .cjrc-echeances tr, .cjrc-echeances td { display: block; width: 100%; }
	.cjrc-table tr, .cjrc-paiements tr, .cjrc-echeances tr { padding: 10px 0; border-bottom: 1px solid #dde3ec; }
	.cjrc-table td, .cjrc-paiements td, .cjrc-echeances td { border: 0; padding: 2px 0; text-align: left !important; }
	.cjrc-table td[data-label]:not([data-label="Dossier"])::before, .cjrc-paiements td[data-label]::before, .cjrc-echeances td[data-label]::before { content: attr(data-label) " : "; color: #5a6270; font-size: 12.5px; }
	.cjrc-barre:not(.cjrc-barre-grande) { max-width: 160px; }
	.cjrc-plan td { padding: 3px; }
}
