/* CJ Actes – compléments d'interface (s'appuie sur les styles du Noyau et des Dossiers). */

/* Files de travail */
.cja-files { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cja-file { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid; }
.cja-file strong { font-size: 20px; }
.cja-file-verifier { background: #fff8e6; color: #7a5410; border-color: #f1d9a0; }
.cja-file-signer { background: #eef3fb; color: #14284b; border-color: #c9d6ec; }
.cja-file-signifier { background: #fdecea; color: #8e2a1f; border-color: #f2c3bd; }
.cja-table td { vertical-align: top; }
.cja-table td:first-child a { color: #14284b; text-decoration: none; }
.cja-table td:first-child a:hover { text-decoration: underline; }

/* Création */
.cja-rappel p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cja-rappel .dashicons { color: #b8892b; }
.cja-modeles-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cja-modele-carte { position: relative; cursor: pointer; }
.cja-modele-carte input { position: absolute; opacity: 0; }
.cja-modele-carte > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 2px solid #dfe4ec; border-radius: 10px; background: #fff; }
.cja-modele-carte > span .dashicons { color: #b8892b; }
.cja-modele-carte input:checked + span { border-color: #14284b; background: #f3f6fb; box-shadow: 0 0 0 3px rgba(20, 40, 75, .12); }
.cja-modele-carte input:focus-visible + span { outline: 3px solid #b8892b; outline-offset: 2px; }

/* Étapes du circuit */
.cja-etapes { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; counter-reset: e; }
.cja-etapes li { flex: 1 1 120px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: #f1f3f7; color: #6b7280; font-weight: 600; font-size: 14px; }
.cja-etapes li > span { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: #d6dbe4; color: #fff; font-size: 13px; flex: none; }
.cja-etapes li.fait { color: #1e6b45; background: #e8f5ee; }
.cja-etapes li.fait > span { background: #1e8a55; }
.cja-etapes li.actuel { color: #14284b; background: #fff; box-shadow: inset 0 0 0 2px #14284b; }
.cja-etapes li.actuel > span { background: #14284b; }

/* Bloc actions */
.cja-actions h2 .dashicons { color: #b8892b; }
.cja-boutons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cja-boutons form { margin: 0; }
.cja-volet { margin-top: 14px; border-top: 1px solid #eef1f5; padding-top: 10px; }
.cja-volet > summary { cursor: pointer; font-weight: 600; color: #23417a; padding: 4px 0; }
.cja-volet.cja-danger > summary { color: #a12d22; }
.cja-signer, .cja-signifier { margin-top: 16px; padding: 16px; border-radius: 10px; background: #f6f8fb; border: 1px solid #dfe4ec; }
.cja-signer h3, .cja-signifier h3 { margin: 0 0 10px; display: flex; gap: 6px; align-items: center; color: #14284b; }
.cja-confirme { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; font-weight: 600; }
.cja-confirme input { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.cja-signer .cj-aide { display: block; margin-top: 8px; }
.cja-supprimer { margin: 12px 0 0; }
.cja-modes { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.cja-modes legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.cja-mode { display: inline-flex; gap: 6px; align-items: center; padding: 9px 12px; border: 1px solid #c3cbd8; border-radius: 8px; background: #fff; cursor: pointer; min-height: 42px; }
.cja-mode:has(input:checked) { border-color: #14284b; box-shadow: inset 0 0 0 1px #14284b; background: #eef3fb; }
.cja-gps { margin-top: 6px; }

/* Texte de l'acte */
.cja-grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.cja-papier { background: #fff; border: 1px solid #dfe4ec; border-radius: 4px; box-shadow: 0 8px 24px rgba(20, 40, 75, .08); padding: 48px 56px; font-family: "Libre Caslon Text", Georgia, serif; font-size: 15.5px; line-height: 1.7; color: #1a1a1a; position: relative; overflow: hidden; }
.cja-papier.cja-projet::before { content: "PROJET"; position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%) rotate(-28deg); font-size: 110px; font-weight: 700; color: rgba(20, 40, 75, .05); pointer-events: none; letter-spacing: 6px; }
.cja-papier p { text-align: justify; margin: 0 0 12px; }
.cja-papier .cja-h1 { text-align: center; color: #14284b; font-size: 22px; letter-spacing: 1px; margin: 0 0 22px; font-family: inherit; }
.cja-papier .cja-h2 { text-align: center; font-size: 16px; text-decoration: underline; margin: 18px 0 10px; font-family: inherit; }
.cja-papier mark.cja-manque { background: #fde68a; color: #7c2d12; padding: 0 3px; border-radius: 3px; font-family: "Public Sans", sans-serif; font-size: .88em; }
.cja-decompte { width: 80%; margin: 8px auto 14px; border-collapse: collapse; font-family: "Public Sans", sans-serif; font-size: 14px; }
.cja-decompte td { padding: 5px 10px; border-bottom: 1px solid #e5e7eb; }
.cja-decompte .cja-total td { border-top: 2px solid #14284b; border-bottom: 0; font-weight: 700; }
.cja-papier .cja-remise { font-family: "Public Sans", sans-serif; font-size: 14px; }
.cja-infos .cj-carte { margin-bottom: 14px; }
.cja-circuit { list-style: none; margin: 0; padding: 0; }
.cja-circuit li { padding: 7px 0; border-bottom: 1px solid #eef1f5; font-size: 14px; }
.cja-circuit li > span:first-child { display: block; color: #5a6270; font-size: 12.5px; }
.cja-empreinte code { font-size: 11.5px; }

/* Édition */
.cja-editeur { width: 100%; min-height: 420px; font-family: "Libre Caslon Text", Georgia, serif; font-size: 15px; line-height: 1.65; padding: 14px 16px; border: 1px solid #c3cbd8; border-radius: 8px; resize: vertical; }
.cja-syntaxe code { background: #f1f3f7; padding: 1px 5px; border-radius: 4px; }
.cja-recharger { margin: 12px 0 0; padding: 12px; background: #f6f8fb; border-radius: 8px; }
.cja-recharger .cj-aide { display: block; margin-top: 4px; }
.cja-recharger.cja-suggere { background: #fff8e6; box-shadow: inset 0 0 0 1px #f1d9a0; }
.cja-manquants .cja-aller { margin: 3px 4px 0 0; border: 1px solid #e0b64e; background: #fde68a; color: #7c2d12; border-radius: 6px; padding: 3px 8px; cursor: pointer; font: inherit; font-size: 13px; }
.cja-entete-onglet { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.cja-entete-onglet h2 { margin: 0; }

/* Modèles */
.cja-modeles { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.cja-modeles-liste ul { list-style: none; margin: 0 0 12px; padding: 0; }
.cja-modeles-liste li { padding: 8px 10px; border-radius: 8px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.cja-modeles-liste li a { color: #14284b; text-decoration: none; font-weight: 600; flex: 1 1 100%; }
.cja-modeles-liste li.actif { background: #eef3fb; box-shadow: inset 3px 0 0 #b8892b; }
.cja-variables { background: #f6f8fb; border-radius: 10px; padding: 12px; margin: 10px 0 14px; }
.cja-variables > p { margin: 0 0 8px; }
.cja-var-groupe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; }
.cja-var-groupe > .cj-petit { width: 80px; flex: none; }
.cja-var { border: 1px solid #c9d6ec; background: #fff; color: #14284b; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.cja-var:hover, .cja-var:focus-visible { background: #14284b; color: #fff; }

/* Accueil */
.cja-compteurs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cja-compteurs a { text-decoration: none; color: #14284b; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.cja-compteurs a.cja-zero { color: #8a93a3; font-weight: 400; }

@media (max-width: 960px) {
	.cja-grille, .cja-modeles { grid-template-columns: minmax(0, 1fr); } /* « 1fr » seul laissait un champ large élargir la page sur téléphone */
}
@media (max-width: 600px) {
	.cja-table thead { display: none; }
	.cja-table, .cja-table tbody, .cja-table tr, .cja-table td { display: block; width: 100%; }
	.cja-table tr { padding: 10px 0; border-bottom: 1px solid #dde3ec; }
	.cja-table td { border: 0; padding: 3px 0; text-align: left !important; }
	.cja-table td[data-label]:not([data-label="Acte"])::before { content: attr(data-label) " : "; color: #5a6270; font-size: 12.5px; }
	.cja-table td[data-label="Dossier"] br, .cja-table td[data-label="Dossier"] .cj-petit { display: none; }
	.cja-papier { padding: 24px 18px; font-size: 15px; }
	.cja-papier .cja-h1 { font-size: 18px; }
	.cja-decompte { width: 100%; }
	.cja-etapes li { flex: 1 1 45%; font-size: 13px; padding: 8px; }
	.cja-var-groupe > .cj-petit { width: 100%; }
	.cja-boutons .cj-bouton { flex: 1 1 auto; justify-content: center; }
	.cja-boutons form { flex: 1 1 100%; }
	.cja-boutons form .cj-bouton { width: 100%; }
}

/* Champs complémentaires (heure, zones de texte) */
.cj-form input[type=time] { width: 100%; max-width: 100%; min-height: 40px; border: 1px solid #c3cbd8; border-radius: 7px; padding: 6px 10px; font: inherit; font-size: 14px; background: #fff; }
.cja-signifier textarea, .cja-actions textarea { font-family: inherit; line-height: 1.5; }

/* Colonne d'informations : libellé au-dessus de la valeur */
.cja-infos .cjd-dl > div { grid-template-columns: 1fr; gap: 2px; }
.cja-infos .cj-statut { white-space: nowrap; }
.cja-infos .cj-mono { font-size: 13.5px; }

/* ===== Éditeur « comme Word » ===== */
.cja-ed { position: relative; border: 1px solid #c3cbd8; border-radius: 8px; background: #e9edf3; overflow: visible; }
.cja-ed-barre, .cja-ed-contexte > div { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px 8px; }
.cja-ed-barre { background: #f8f9fb; border-bottom: 1px solid #d5dbe5; border-radius: 8px 8px 0 0; }
.cja-ed-contexte { background: #eef3fb; border-bottom: 1px solid #c9d6ec; }
.cja-ed-saut { flex-basis: 100%; height: 2px; }
.cja-ed-groupe { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5a6270; margin: 0 6px 0 2px; }
.cja-ed-bt { position: relative; display: inline-flex; align-items: center; gap: 4px; min-width: 34px; height: 34px; padding: 0 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #1f2937; font: inherit; font-size: 15px; line-height: 1; cursor: pointer; }
.cja-ed-bt:hover { background: #e8edf5; border-color: #d5dbe5; }
.cja-ed-bt:focus-visible { outline: 2px solid #14284B; outline-offset: 1px; }
.cja-ed-bt.actif { background: #dbe4f3; border-color: #9fb3d6; color: #14284B; }
.cja-ed-bt .dashicons { font-size: 18px; width: 18px; height: 18px; }
.cja-ed-contexte .cja-ed-bt { font-size: 13px; height: 30px; }
.cja-ed-lib { font-size: 12.5px; }
.cja-ed-jaune { background: #fde68a; color: #7c2d12; border-radius: 3px; padding: 0 3px; font-size: 12px; font-weight: 600; }
.cja-ed-aa { font-size: 14px; font-weight: 600; }
.cja-ed-a-coul { font-weight: 700; border-bottom: 3px solid #B91C1C; line-height: 1.1; }
.cja-ed-alinea, .cja-ed-omega, .cja-ed-note-ic { font-size: 16px; font-weight: 600; }
.cja-ed-compte { display: inline-block; min-width: 18px; padding: 1px 5px; border-radius: 9px; background: #b91c1c; color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.cja-ed-sep { width: 1px; height: 22px; background: #d5dbe5; margin: 0 4px; }
.cja-ed .cja-ed-select { width: auto !important; flex: 0 0 auto; min-width: 0; margin: 0; height: 34px; border: 1px solid #c3cbd8; border-radius: 6px; background: #fff; font: inherit; font-size: 13.5px; padding: 0 6px; max-width: 200px !important; }
.cja-ed-etat { margin-left: auto; font-size: 12px; color: #5a6270; padding: 0 4px; white-space: nowrap; }
.cja-ed-etat-erreur { color: #b91c1c; font-weight: 600; }
.cja-ed-banniere { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; background: #fff8e6; border-bottom: 1px solid #f1d9a0; font-size: 14px; }
.cja-ed-banniere .dashicons { color: #b45309; }
.cja-ed-chercher { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border-bottom: 1px solid #d5dbe5; }
.cja-ed-chercher input[type=search], .cja-ed-chercher input[type=text] { width: 190px !important; height: 34px; margin: 0; }
.cja-ed-chercher .cj-bouton { padding: 6px 10px; font-size: 13px; }
.cja-ed-ch-nb { font-size: 12.5px; color: #5a6270; }
.cja-ed-case { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.cja-ed-fermer { margin-left: auto; border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: #5a6270; padding: 2px 6px; }
.cja-ed .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.cja-ed-corps { position: relative; display: flex; }
.cja-ed-zone { flex: 1; min-width: 0; padding: 22px 14px; max-height: 72vh; overflow: auto; }
.cja-ed-page { max-width: 794px; min-height: 560px; margin: 0 auto; padding: 56px 64px; background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.18); font-family: "Libre Caslon Text", Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.6; color: #111; text-align: justify; outline: none; word-wrap: break-word; }
.cja-ed .cja-ed-page:focus, .cja-ed .cja-ed-page:focus-visible { outline: none !important; box-shadow: 0 1px 4px rgba(15,23,42,.18), 0 0 0 2px #9fb3d6; }
.cja-ed-page p { margin: 0 0 10px; }
.cja-ed-page h1 { text-align: center; font-size: 19px; letter-spacing: 1px; color: #14284B; margin: 4px 0 18px; font-family: inherit; }
.cja-ed-page h2 { text-align: center; font-size: 15px; text-decoration: underline; margin: 16px 0 10px; font-family: inherit; }
.cja-ed-page ul, .cja-ed-page ol { margin: 0 0 10px 24px; padding: 0; }
.cja-ed-page font[size="1"], .cja-ed-page font[size="2"] { font-size: .85em; }
.cja-ed-page font[size="3"] { font-size: 1em; }
.cja-ed-page font[size="4"], .cja-ed-page font[size="5"] { font-size: 1.25em; }
.cja-ed-page font[size="6"], .cja-ed-page font[size="7"] { font-size: 1.6em; }
.cja-ed-page mark.cja-manque { background: #fde68a; color: #7c2d12; border-radius: 2px; }
.cja-ed-page .cja-v { display: inline-block; background: #e0eaff; color: #1e3a8a; border: 1px solid #b7c8f5; border-radius: 4px; padding: 0 5px; margin: 0 1px; font-family: system-ui, sans-serif; font-size: 12.5px; line-height: 1.6; text-indent: 0; cursor: default; user-select: all; }
.cja-ed-page sup.cja-note { color: #1d4ed8; font-weight: 700; cursor: pointer; padding: 0 2px; font-family: system-ui, sans-serif; }
.cja-ed-page sup.cja-note:hover { background: #e0eaff; border-radius: 3px; }
.cja-ed-page .cja-pointilles, .cja-papier .cja-pointilles { display: inline-block; width: 5cm; height: .9em; border-bottom: 1px dotted #333; vertical-align: baseline; }
.cja-ed-page .cja-bloc-special { margin: 12px 0; padding: 12px; border: 2px dashed #9fb3d6; border-radius: 6px; background: #f3f6fc; color: #14284B; text-align: center; font-family: system-ui, sans-serif; font-size: 13.5px; font-weight: 600; user-select: none; text-indent: 0; }
.cja-ed-page .cja-bloc-special small { font-weight: 400; color: #5a6270; }
.cja-ed-page .cja-saut-page { border-style: dotted; background: transparent; color: #5a6270; padding: 4px; font-weight: 400; }
.cja-ed-page .cja-ligne-bloc { padding: 0; margin: 14px 0; border: 0; border-top: 1px solid #333; border-radius: 0; background: transparent; height: 0; }
.cja-ed-page .cja-pointilles-bloc { padding: 0; margin: 4px 0 12px; border: 0; border-bottom: 1px dotted #333; border-radius: 0; background: transparent; height: 1.4em; }
.cja-ed-page .cja-image-bloc { padding: 4px; border: 2px solid transparent; background: transparent; cursor: pointer; }
.cja-ed-page .cja-image-bloc img { max-width: 100%; height: auto; display: inline-block; }
.cja-ed-page .cja-image-bloc:hover { border-color: #c9d6ec; }
.cja-ed-page .cja-image-bloc.cja-choisie { border-color: #1d4ed8; }
.cja-ed-page table.cja-tab { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: .95em; text-indent: 0; }
.cja-ed-page table.cja-tab td, .cja-ed-page table.cja-tab th { border: 1px solid #555; padding: 4px 7px; vertical-align: top; text-align: left; min-width: 40px; }
.cja-ed-page table.cja-tab th { background: #eef1f5; font-weight: 700; }
.cja-ed-page .cja-clignote, .cja-papier .cja-clignote { outline: 3px solid #f59e0b; outline-offset: 2px; }
.cja-ed .cja-ed-source { display: block; width: 100%; border: 0; border-radius: 0; min-height: 520px; }
.cja-ed-mode-brut .cja-ed-barre .cja-ed-bt:not([data-cmd="brut"]):not([data-cmd="plein"]), .cja-ed-mode-brut .cja-ed-select { opacity: .35; pointer-events: none; }
.cja-ed-erreur { border-color: #b91c1c; box-shadow: 0 0 0 2px rgba(185,28,28,.2); }
/* Petites fenêtres */
.cja-ed-pop { position: absolute; z-index: 30; min-width: 200px; max-width: 340px; padding: 10px; background: #fff; border: 1px solid #c3cbd8; border-radius: 8px; box-shadow: 0 10px 30px rgba(15,23,42,.18); }
.cja-ed-pop-titre { font-size: 12.5px; font-weight: 700; color: #14284B; margin-bottom: 8px; }
.cja-ed-pop-aide { font-size: 12px; color: #5a6270; margin: 8px 0 0; }
.cja-ed-grille { display: grid; grid-template-columns: repeat(7, 32px); gap: 4px; }
.cja-ed-grille button { height: 32px; border: 1px solid #d5dbe5; border-radius: 5px; background: #fff; cursor: pointer; font: inherit; font-size: 16px; padding: 0; }
.cja-ed-grille button:hover { border-color: #14284B; }
.cja-ed-car { grid-template-columns: repeat(8, 32px); }
.cja-ed-colonne { grid-template-columns: 1fr; }
.cja-ed-colonne button { height: auto; padding: 8px 10px; text-align: left; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.cja-ed-aucun { color: #b91c1c; font-weight: 700; }
.cja-ed-ex-ligne { display: inline-block; width: 40px; border-top: 1px solid #333; }
.cja-ed-ex-pts { display: inline-block; width: 40px; border-bottom: 2px dotted #333; height: 8px; }
.cja-ed-ex-pts.court { width: 22px; }
.cja-ed-pop-form { display: grid; gap: 8px; }
.cja-ed-pop-form label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.cja-ed-pop-form input[type=number] { width: 80px !important; margin: 0; }
.cja-ed-pop-form textarea { width: 100%; min-width: 260px; font: inherit; font-size: 14px; }
.cja-ed-pop-actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* Tiroir : versions et remarques */
.cja-ed-tiroir { flex: 0 0 360px; max-height: 72vh; overflow: auto; background: #fff; border-left: 1px solid #d5dbe5; }
.cja-ed-tiroir-tete { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; padding: 10px 12px; background: #f8f9fb; border-bottom: 1px solid #d5dbe5; }
.cja-ed-tiroir-corps { padding: 12px; }
.cja-ed-versions { list-style: none; margin: 8px 0 0; padding: 0; }
.cja-ed-versions button { display: block; width: 100%; text-align: left; padding: 9px 10px; margin-bottom: 6px; border: 1px solid #e1e6ee; border-radius: 6px; background: #fff; cursor: pointer; font: inherit; }
.cja-ed-versions button:hover { border-color: #9fb3d6; background: #f6f8fb; }
.cja-ed-versions span { display: block; font-size: 12.5px; color: #5a6270; margin-top: 2px; }
.cja-ed-legende { font-size: 12.5px; color: #5a6270; }
.cja-ed-diff { font-family: Georgia, serif; font-size: 14px; line-height: 1.6; padding: 10px; border: 1px solid #e1e6ee; border-radius: 6px; margin: 8px 0 12px; max-height: 46vh; overflow: auto; white-space: normal; }
.cja-ed-diff ins, .cja-ed-legende ins { background: #dcfce7; color: #14532d; text-decoration: none; }
.cja-ed-diff del, .cja-ed-legende del { background: #fee2e2; color: #991b1b; }
.cja-ed-info { padding: 10px; background: #f0f7ee; border-radius: 6px; }
/* Remarques */
.cja-rem-form { display: grid; gap: 8px; margin-bottom: 14px; }
.cja-rem-form textarea { width: 100%; font: inherit; font-size: 14px; }
.cja-rem-extrait { font-size: 13px; padding: 6px 8px; background: #fff8e6; border-left: 3px solid #e0b64e; border-radius: 4px; }
.cja-rem-extrait button { border: 0; background: transparent; cursor: pointer; color: #b91c1c; font-weight: 700; }
.cja-rem-liste { list-style: none; margin: 0; padding: 0; }
.cja-rem-liste li { padding: 10px; margin-bottom: 8px; border: 1px solid #e1e6ee; border-left: 4px solid #b45309; border-radius: 6px; background: #fff; }
.cja-rem-liste li.cja-rem-reglee { border-left-color: #15803d; opacity: .75; }
.cja-rem-passage { display: block; text-align: left; border: 0; background: #f6f8fb; padding: 4px 6px; border-radius: 4px; font: inherit; font-size: 13px; font-style: italic; color: #14284B; cursor: pointer; margin-bottom: 6px; }
.cja-rem-texte { margin: 0 0 4px; font-size: 14px; }
.cja-remarques h2 { display: flex; align-items: center; gap: 8px; }
/* Plein écran */
.cja-ed-plein { position: fixed; inset: 0; z-index: 100000; border-radius: 0; display: flex; flex-direction: column; }
.cja-ed-plein .cja-ed-corps { flex: 1; min-height: 0; }
.cja-ed-plein .cja-ed-zone, .cja-ed-plein .cja-ed-tiroir { max-height: none; }
.cja-ed-plein .cja-ed-source { flex: 1; }
body.cja-ed-plein-actif { overflow: hidden; }
/* Page de l'acte : nouveaux éléments */
hr.cja-saut-page { border: 0; border-top: 1px dashed #9aa3b2; margin: 16px 0; }
.cja-papier sup.cja-appel { font-size: .7em; }
.cja-papier .cja-notes { font-size: .9em; }
.cja-papier .cja-image img { max-width: 100%; }
@media (max-width: 900px) {
	.cja-ed-tiroir { position: absolute; inset: 0 0 0 auto; width: min(100%, 380px); max-height: none; z-index: 20; box-shadow: -6px 0 18px rgba(15,23,42,.15); }
}
@media (max-width: 700px) {
	.cja-ed-zone { padding: 8px 4px; max-height: 70vh; }
	.cja-ed-page { padding: 18px 14px; min-height: 360px; font-size: 15px; text-align: left; }
	.cja-ed-lib, .cja-ed-groupe { display: none; }
	.cja-ed-bt { min-width: 38px; height: 38px; }
	.cja-ed .cja-ed-vars { max-width: 100% !important; flex: 1 1 100%; }
	.cja-ed-etat { flex-basis: 100%; margin-left: 0; }
	.cja-ed-pop { left: 4px !important; right: 4px; max-width: none; }
	.cja-ed-chercher input[type=search], .cja-ed-chercher input[type=text] { width: 100% !important; }
	.cja-ed-chercher label { flex: 1 1 100%; }
}
