/* CJ Exécution – compléments d'interface. */
.cjex-table td { vertical-align: top; }
.cjex-table td a { color: #14284b; text-decoration: none; }
.cjex-av { display: block; height: 7px; background: #e6eaf0; border-radius: 4px; overflow: hidden; min-width: 90px; margin: 4px 0 3px; }
.cjex-av > span { display: block; height: 100%; background: #14284b; border-radius: 4px; }
.cjex-av-grand { height: 12px; border-radius: 6px; }

/* Choix de la procédure */
.cjex-famille { font-size: 15px; color: #5a6270; text-transform: uppercase; letter-spacing: .5px; margin: 18px 0 8px; }
.cjex-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.cjex-type { position: relative; cursor: pointer; }
.cjex-type input { position: absolute; opacity: 0; }
.cjex-type > span { display: flex; flex-direction: column; gap: 5px; height: 100%; padding: 14px; border: 2px solid #dfe4ec; border-radius: 10px; background: #fff; }
.cjex-type > span > .dashicons { color: #b8892b; font-size: 24px; width: 24px; height: 24px; }
.cjex-type strong { color: #14284b; }
.cjex-type input:checked + span { border-color: #14284b; background: #f3f6fb; box-shadow: 0 0 0 3px rgba(20, 40, 75, .12); }
.cjex-type input:focus-visible + span { outline: 3px solid #b8892b; outline-offset: 2px; }
.cjex-nb-etapes { font-size: 12px; color: #8a93a3; margin-top: auto; }

/* Fiche */
.cjex-tete { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cjex-tete p { margin: 0 0 8px; }
.cjex-deb strong { font-size: 18px; color: #14284b; }
.cjex-tete-d { flex: 0 1 360px; min-width: 260px; }
.cjex-gestion > summary { list-style: none; padding-left: 0; }
.cjex-gestion > summary::-webkit-details-marker { display: none; }
.cjex-gestion form { margin-top: 8px; background: #f6f8fb; padding: 12px; border-radius: 8px; }

.cjex-etapes { list-style: none; margin: 0 0 10px; padding: 0; }
.cjex-etapes > li { position: relative; padding: 12px 0 12px 22px; margin-left: 14px; border-left: 3px solid #dfe4ec; }
.cjex-etapes > li.fait { border-left-color: #1e8a55; }
.cjex-etapes > li.na { border-left-color: #dfe4ec; opacity: .7; }
.cjex-etapes > li.actuel { border-left-color: #14284b; background: #f6f8fb; border-radius: 0 10px 10px 0; }
.cjex-et-tete { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cjex-et-num { width: 28px; height: 28px; border-radius: 50%; background: #d6dbe4; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; position: absolute; left: -16px; top: 12px; }
.fait .cjex-et-num { background: #1e8a55; }
.actuel .cjex-et-num { background: #14284b; box-shadow: 0 0 0 4px rgba(20, 40, 75, .15); }
.cjex-et-acte, .cjex-etapes .cj-petit { margin: 4px 0 0; }
.cjex-et-corps { margin-top: 10px; }
.cjex-et-corps .cja-boutons { margin-bottom: 8px; }
.cjex-et-form { margin-top: 8px; }
.cjex-delais { color: #7a5410 !important; }
.cjex-rouvrir { margin: 4px 0 0; }

/* Biens */
.cjex-ajout-bien > summary { list-style: none; display: inline-flex; margin-bottom: 12px; }
.cjex-ajout-bien > summary::-webkit-details-marker { display: none; }
.cjex-form-bien, .cjex-edition { background: #f6f8fb; border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.cjex-edition h3 { margin-top: 0; }
.cjex-biens { list-style: none; margin: 0; padding: 0; }
.cjex-biens > li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #eef1f5; }
.cjex-coche input { width: 20px; height: 20px; margin-top: 4px; }
.cjex-bien-photos { display: flex; gap: 4px; flex: none; width: 150px; flex-wrap: wrap; align-items: center; }
.cjex-bien-photos img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid #dfe4ec; display: block; }
.cjex-sans-photo { width: 70px !important; height: 70px !important; font-size: 30px !important; line-height: 70px !important; text-align: center; color: #c3cbd8; background: #f6f8fb; border-radius: 6px; }
.cjex-bien-txt { flex: 1; min-width: 0; }
.cjex-bien-txt p { margin: 0 0 3px; }
.cjex-bien-val { flex: none; text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cjex-total-biens { text-align: right; margin: 10px 0; }
.cjex-actions-biens { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #f6f8fb; padding: 10px; border-radius: 8px; }
.cjex-actions-biens select, .cjex-actions-biens input { min-height: 40px; border: 1px solid #c3cbd8; border-radius: 7px; padding: 6px 10px; font: inherit; }
.cjex-montant { text-align: right; font-variant-numeric: tabular-nums; }

/* Tiers, décompte, incidents */
.cjex-tiers-chiffres { font-size: 14px; color: #3b4352; }
.cjex-decl { margin: 8px 0; padding: 10px 14px; background: #f6f8fb; border-left: 3px solid #b8892b; border-radius: 0 8px 8px 0; }
.cjex-date-dc { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.cjex-date-dc input { min-height: 38px; border: 1px solid #c3cbd8; border-radius: 7px; padding: 4px 8px; font: inherit; }
.cjex-decompte td { padding: 7px 4px; }
.cjex-nb { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cjex-sous td { border-top: 1px solid #c3cbd8; font-weight: 600; }
.cjex-total td { border-top: 2px solid #14284b; font-weight: 700; font-size: 16px; color: #14284b; }
.cjex-incidents { list-style: none; margin: 0 0 10px; padding: 0; }
.cjex-incidents > li { padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.cjex-incidents p { margin: 0 0 4px; }
.cjex-decision { color: #1e6b45; }
.cjex-procs { list-style: none; margin: 0; padding: 0; }
.cjex-procs li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.cjex-procs li > div { display: flex; flex-direction: column; }
.cjex-procs a { color: #14284b; text-decoration: none; }
.cjex-prochaines { list-style: none; margin: 0; padding: 0; }
.cjex-prochaines li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid #eef1f5; }
.cjex-prochaines a { color: #14284b; text-decoration: none; }

@media (max-width: 760px) {
	.cjex-table thead { display: none; }
	.cjex-table, .cjex-table tbody, .cjex-table tr, .cjex-table td { display: block; width: 100%; }
	.cjex-table tr { padding: 10px 0; border-bottom: 1px solid #dde3ec; }
	.cjex-table td { border: 0; padding: 2px 0; }
	.cjex-table td[data-label="Prochaine étape"]::before { content: "Prochaine étape : "; color: #5a6270; font-size: 12.5px; }
	.cjex-tete-d { flex: 1 1 100%; min-width: 0; }
	.cjex-biens > li { flex-wrap: wrap; }
	.cjex-bien-photos { width: auto; }
	.cjex-bien-txt { flex: 1 1 calc(100% - 40px); order: 3; }
	.cjex-bien-val { order: 2; margin-left: auto; }
	.cjex-etapes > li { padding-left: 22px; margin-left: 14px; }
	.cjex-actions-biens > * { flex: 1 1 100%; }
}
