/* Sanelio Notaire — design system (inspiration Apple, rouge juridique). Aucun style en ligne : la CSP les interdit. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format("woff2"); }

:root {
  --accent: #A3192F; --accent-clair: #C42C45; --accent-fonce: #76101F;
  --accent-doux: rgba(163, 25, 47, .10); --accent-doux-2: rgba(163, 25, 47, .16);
  --fond: #F2F2F7; --carte: #FFFFFF; --sep: rgba(60, 60, 67, .14);
  --label: #1C1C1E; --label-2: #6C6C70; --label-3: #8E8E93;
  --remplir: rgba(118, 118, 128, .12); --remplir-2: rgba(118, 118, 128, .07);
  --orange: #FF9500; --orange-txt: #B04600; --vert: #34C759; --vert-txt: #1E7B37; --bleu: #007AFF; --bleu-txt: #0060C7;
  --indigo: #5856D6; --teal: #30B0C7; --jaune-papier: #FFF8D9; --gris: #8E8E93; --rouge-erreur: #C4161C;
  --verre: rgba(255, 255, 255, .72);
  --ombre: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .05);
  --ombre-flottante: 0 0 0 .5px rgba(0, 0, 0, .07), 0 18px 50px rgba(0, 0, 0, .12);
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Inter, system-ui, sans-serif;
  --sys-d: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 400 14px/1.45 var(--sys); letter-spacing: -.008em; color: var(--label); background: var(--fond); -webkit-font-smoothing: antialiased; }
body.app-corps::before { content: ""; position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(900px 520px at -6% -10%, rgba(163, 25, 47, .12), transparent 70%),
  radial-gradient(700px 500px at 105% 110%, rgba(255, 149, 0, .06), transparent 70%), var(--fond); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(163, 25, 47, .4); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.sec2 { color: var(--label-2); }
.petit { font-size: 12.5px; }
.centre { text-align: center; }
.evitement { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--ombre-flottante); }
.evitement:focus { top: 12px; }

/* ---------- Boutons, champs, messages ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 99px; border: 0; background: var(--remplir); font: 600 13.5px var(--sys); color: var(--label); cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn.p { background: var(--accent); color: #fff; }
.btn.t { background: var(--accent-doux); color: var(--accent); }
.btn.danger { background: rgba(196, 22, 28, .10); color: var(--rouge-erreur); }
.btn.blanc { background: #fff; color: var(--accent-fonce); }
.btn.verre { background: rgba(255, 255, 255, .18); color: #fff; }
.btn.grand { height: 46px; font-size: 15px; padding: 0 22px; }
.btn.plein { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.lien-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; }
form.ligne-form { display: inline; }
.champ { display: grid; gap: 6px; text-align: start; font: 600 13px var(--sys); color: var(--label); margin-bottom: 14px; }
.champ small { font-weight: 400; color: var(--label-2); }
.saisie { font: 400 15px var(--sys); height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(60, 60, 67, .22); background: #fff; color: var(--label); width: 100%; }
.saisie:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(163, 25, 47, .18); }
select.saisie { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8E8E93 50%), linear-gradient(135deg, #8E8E93 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 34px; }
.saisie-code { font: 600 26px var(--mono); letter-spacing: .45em; text-align: center; height: 56px; padding-inline-start: .45em; }
.flash { padding: 10px 14px; border-radius: 12px; font-size: 13.5px; margin: 0 0 14px; text-align: start; }
.flash.succes { background: rgba(52, 199, 89, .14); color: var(--vert-txt); }
.flash.erreur { background: rgba(196, 22, 28, .10); color: var(--rouge-erreur); }
.flash.info { background: rgba(0, 122, 255, .10); color: var(--bleu-txt); }
.cap { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 99px; font: 600 12px var(--sys); white-space: nowrap; background: var(--remplir); color: var(--label-2); }
.cap svg { width: 12px; height: 12px; stroke-width: 2.3; }
.cap.o { background: rgba(255, 149, 0, .15); color: var(--orange-txt); }
.cap.v { background: rgba(52, 199, 89, .15); color: var(--vert-txt); }
.cap.b { background: rgba(0, 122, 255, .11); color: var(--bleu-txt); }
.cap.a { background: var(--accent-doux); color: var(--accent); }

/* ---------- Pages d'accès : fenêtre vitrée sur fond rouge ---------- */
.ecran-acces { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; position: relative;
  background: radial-gradient(900px 700px at 10% 0%, var(--accent-clair), transparent 60%), radial-gradient(800px 700px at 100% 100%, #3B0A14, transparent 60%), radial-gradient(700px 600px at 85% 10%, #E0703A, transparent 55%), var(--accent-fonce); }
.vitre { width: min(470px, 100%); border-radius: 30px; padding: 30px 30px 24px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(40px) saturate(1.6); -webkit-backdrop-filter: blur(40px) saturate(1.6); box-shadow: 0 30px 80px rgba(40, 0, 10, .45), inset 0 0 0 .5px rgba(255, 255, 255, .7); text-align: center; }
.vitre.large { width: min(560px, 100%); }
.vitre .logo { height: 26px; margin: 2px auto 18px; display: block; }
.icone-app { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, var(--accent-clair), var(--accent-fonce)); box-shadow: 0 8px 20px -8px var(--accent-fonce); }
.icone-app svg { width: 32px; height: 32px; stroke-width: 1.8; }
.vitre h1 { font: 700 24px/1.2 var(--sys-d); letter-spacing: -.02em; margin: 0 0 6px; }
.vitre .aide { color: var(--label-2); margin: 0 0 18px; font-size: 14px; }
.vitre form { text-align: start; }
.vitre .pied-acces { margin: 16px 0 0; font-size: 13px; color: var(--label-2); }
.vitre .compte { margin-top: 14px; font-size: 12.5px; color: var(--label-3); }
.points { display: flex; justify-content: center; gap: 6px; margin: 0 0 18px; list-style: none; padding: 0; }
.points li { width: 26px; height: 5px; border-radius: 5px; background: rgba(0, 0, 0, .12); }
.points li.f { background: var(--accent); opacity: .5; } .points li.e { background: var(--accent); }
.qr-zone { display: flex; gap: 16px; align-items: center; text-align: start; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--ombre); margin-bottom: 18px; }
.qr-zone .qr { width: 140px; flex: none; }
.qr-zone .qr svg { display: block; width: 100%; height: auto; }
.qr-zone ol { margin: 0; padding-inline-start: 18px; font-size: 13px; display: grid; gap: 6px; }
.cle { display: block; margin-top: 4px; font: 500 12.5px var(--mono); color: var(--label); letter-spacing: .03em; word-break: keep-all; user-select: all; }
.codes { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.codes li { font: 600 15px var(--mono); background: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--ombre); letter-spacing: .04em; text-align: center; }
.choix { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.choix button { width: 100%; text-align: start; justify-content: flex-start; height: 48px; background: #fff; box-shadow: var(--ombre); border-radius: 14px; }

/* ---------- Coque de l'application ---------- */
.app { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; }
.cote { position: sticky; top: 0; height: 100vh; padding: 10px; padding-inline-end: 0; }
.cote-in { height: 100%; border-radius: 22px; background: var(--verre); backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8); box-shadow: var(--ombre-flottante); padding: 16px 10px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.marque { display: flex; align-items: center; gap: 8px; padding: 2px 10px 14px; text-decoration: none; }
.marque img { height: 24px; width: auto; display: block; }
.marque .produit { font: 600 13px/1 var(--sys); color: #fff; padding: 5px 8px; border-radius: 7px; background: var(--accent); } /* encart plein, comme dans tous les outils (03/10) */
.cote a.nav { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--label); text-decoration: none; }
.cote a.nav svg { color: var(--accent); width: 19px; height: 19px; }
.cote a.nav:hover { background: var(--remplir-2); }
.cote a.nav.on { background: var(--accent); color: #fff; } .cote a.nav.on svg { color: #fff; }
.cote a.nav .bientot { margin-inline-start: auto; font-size: 11px; color: var(--label-3); font-weight: 500; }
.cote a.nav.on .bientot { color: rgba(255, 255, 255, .8); }
.cote .titre-s { font: 600 11.5px var(--sys); color: var(--label-3); padding: 16px 10px 4px; }
.moi { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .6); }
.moi b { display: block; font-size: 13px; } .moi small { color: var(--label-2); font-size: 12px; display: block; }
.moi .texte { min-width: 0; flex: 1; } .moi .texte b, .moi .texte small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 12px var(--sys); background: linear-gradient(180deg, var(--accent-clair), var(--accent)); flex: none; }
.av.s { width: 28px; height: 28px; font-size: 11px; }
.contenu { padding: 26px 34px 48px; min-width: 0; display: grid; gap: 22px; align-content: start; }
.entete { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.entete h1 { font: 700 34px/1.1 var(--sys-d); letter-spacing: -.025em; margin: 0; }
.entete p { margin: 4px 0 0; color: var(--label-2); font-size: 15px; }
.entete .outils { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } /* les boutons passent à la ligne au lieu de déborder (revue visuelle de la 1.0.0) */
.rond { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--remplir); color: var(--label); cursor: pointer; }

/* Widget rouge */
.widget-rouge { border-radius: 26px; color: #fff; padding: 24px 26px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--accent-clair) 0%, var(--accent) 45%, var(--accent-fonce) 100%); box-shadow: 0 14px 34px -16px rgba(118, 16, 31, .8); }
.widget-rouge::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 220px at 12% -30%, rgba(255, 255, 255, .28), transparent 60%); pointer-events: none; }
.widget-rouge > * { position: relative; }
.widget-rouge .surtitre { font: 600 13px var(--sys); color: rgba(255, 255, 255, .8); text-transform: uppercase; letter-spacing: .04em; }
.widget-rouge h2 { font: 700 26px/1.18 var(--sys-d); letter-spacing: -.02em; margin: 6px 0 18px; max-width: 900px; }
.compl { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.compl > div:not(.actions) { min-width: 118px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .13); }
.compl .v { font: 700 28px/1 var(--sys-d); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.compl .l { font-size: 12.5px; color: rgba(255, 255, 255, .82); margin-top: 6px; }
.compl .actions { margin-inline-start: auto; display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }

/* Listes groupées (façon Réglages) */
.section-t { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; flex-wrap: wrap; }
.section-t h2 { font: 700 22px var(--sys-d); letter-spacing: -.02em; margin: 0; }
.section-t .outils { margin-inline-start: auto; display: flex; gap: 8px; }
.groupe-t { font: 500 12.5px var(--sys); text-transform: uppercase; letter-spacing: .02em; color: var(--label-2); margin-block: 16px 6px; margin-inline: 16px 0; }
.groupe { background: var(--carte); border-radius: 18px; overflow: hidden; box-shadow: var(--ombre); }
.ligne { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; position: relative; }
.ligne + .ligne::before { content: ""; position: absolute; top: 0; inset-inline-start: 58px; inset-inline-end: 0; height: .5px; background: var(--sep); }
.ligne.sans-ico { grid-template-columns: minmax(0, 1fr) auto; } .ligne.sans-ico + .ligne.sans-ico::before { inset-inline-start: 14px; }
.ligne.pile { display: block; } .ligne.pile + .ligne.pile::before { inset-inline-start: 14px; } .ligne.pile > .d { justify-content: flex-start; margin-top: 8px; } /* Documents de l'étude : texte au-dessus, formulaire d'impression dessous (le formulaire est large) */
.ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.ico svg { width: 17px; height: 17px; stroke-width: 2; }
.ico.a { background: linear-gradient(180deg, var(--accent-clair), var(--accent)); } .ico.o { background: linear-gradient(180deg, #FFAC33, var(--orange)); }
.ico.b { background: linear-gradient(180deg, #3D9BFF, var(--bleu)); } .ico.i { background: linear-gradient(180deg, #7A78E6, var(--indigo)); }
.ico.t { background: linear-gradient(180deg, #54C3D6, var(--teal)); } .ico.v { background: linear-gradient(180deg, #5AD47A, var(--vert)); }
.ico.g { background: linear-gradient(180deg, #A5A5AB, var(--gris)); }
.ligne .t { font-size: 14.5px; font-weight: 500; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; min-width: 0; }
.ligne .sous-t { font-size: 13px; color: var(--label-2); margin-top: 1px; }
.ligne .d { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ligne .d .btn { height: 30px; padding: 0 13px; font-size: 13px; }
.vide { padding: 28px 20px; text-align: center; color: var(--label-2); }
.vide svg { width: 30px; height: 30px; color: var(--label-3); margin-bottom: 6px; }
.vide b { display: block; color: var(--label); font-size: 15px; margin-bottom: 2px; }
.grille-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.carte { background: var(--carte); border-radius: 22px; box-shadow: var(--ombre); padding: 18px 20px; }
.carte h2 { font: 700 18px var(--sys-d); margin: 0 0 4px; letter-spacing: -.01em; }
.carte p { margin: 0 0 12px; color: var(--label-2); }
.formulaire-carte .champ { margin-bottom: 12px; }
.rang-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: .5px solid var(--sep); font-size: 14px; }
.checklist li:first-child { border-top: 0; }
.coche { width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid var(--label-3); flex: none; display: grid; place-items: center; color: #fff; }
.coche.v { background: var(--vert); border-color: var(--vert); }
.coche svg { width: 13px; height: 13px; stroke-width: 3; }
.checklist .plus-tard { margin-inline-start: auto; font-size: 12px; color: var(--label-3); }

.bandeau-support { position: sticky; top: 0; z-index: 30; display: flex; gap: 8px; align-items: center; justify-content: center; padding: 8px 16px; background: #0B3D91; color: #fff; font: 600 13px var(--sys); text-align: center; }
.bandeau-support svg { width: 16px; height: 16px; }
.bandeau-support a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; } /* lien lisible sur le bleu du bandeau : blanc sur #0B3D91, contraste 10,7 : 1 (seuil AA : 4,5 : 1) */
.role-form { display: flex; gap: 6px; align-items: center; }
.saisie.petite { height: 30px; font-size: 13px; padding-block: 0; padding-inline: 10px 30px; border-radius: 9px; width: auto; background-position: calc(100% - 16px) 12px, calc(100% - 11px) 12px; }
.saisie.petite[name="annees"] { width: 92px; padding-inline: 10px; text-overflow: clip; } /* durées de conservation : le mot « Années » (ou « السنوات ») doit tenir en entier, sans la réserve de la flèche d'une liste déroulante */
.ligne.membre { grid-template-columns: 32px minmax(0, 1fr) auto; }

/* Onglets du bas (mobile) */
.barre-onglets { display: none; }

/* ---------- Petits écrans ---------- */
@media (max-width: 1100px) { .grille-2 { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .cote { display: none; }
  .contenu { padding: 18px 16px 120px; }
  .entete h1 { font-size: 30px; }
  .widget-rouge { padding: 18px; } .widget-rouge h2 { font-size: 20px; }
  .compl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .compl > div:not(.actions) { min-width: 0; }
  .compl .actions { grid-column: 1 / -1; margin-inline-start: 0; }
  .rang-champs { grid-template-columns: 1fr; }
  .ligne.membre { grid-template-columns: 32px minmax(0, 1fr); } .ligne.membre .d { grid-column: 1 / -1; justify-content: flex-start; }
  .qr-zone { flex-direction: column; } .qr-zone .qr { width: 180px; }
  .vitre { padding: 24px 18px 20px; border-radius: 24px; }
  .barre-onglets { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; width: min(420px, calc(100% - 24px)); height: 64px; border-radius: 32px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8); box-shadow: var(--ombre-flottante); align-items: center; padding: 0 6px; z-index: 20; }
  .barre-onglets a { display: grid; justify-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--label-2); padding: 7px 0; border-radius: 26px; text-decoration: none; }
  .barre-onglets a svg { width: 22px; height: 22px; }
  .barre-onglets a.on { color: var(--accent); background: var(--accent-doux); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Étape 3 : listes, filtres, dossier ---------- */
.seg { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--remplir); flex-wrap: wrap; }
.seg a { height: 28px; padding: 0 13px; border-radius: 7px; display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--sys); color: var(--label); text-decoration: none; }
.seg a.on { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); }
.seg a .n { color: var(--label-3); font-size: 12px; } .seg a.on .n { color: var(--accent); }
.barre-filtres { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.barre-filtres .saisie { height: 34px; width: auto; font-size: 13.5px; }
.barre-filtres input.saisie { min-width: 220px; }
.case { display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--label); }
.vues { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vue-puce { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding-block: 0; padding-inline: 12px 4px; border-radius: 99px; background: #fff; box-shadow: var(--ombre); font-size: 13px; font-weight: 500; }
.vue-puce a { color: var(--label); text-decoration: none; }
.vue-puce button { border: 0; background: none; width: 24px; height: 24px; border-radius: 50%; color: var(--label-3); cursor: pointer; display: grid; place-items: center; }
.vue-puce button svg { width: 12px; height: 12px; }
a.ligne { color: inherit; text-decoration: none; }
a.ligne:hover { background: rgba(0, 0, 0, .025); text-decoration: none; }
.chevron { width: 14px; height: 14px; color: var(--label-3); stroke-width: 2.4; }
.ref { font: 500 12px var(--mono); color: var(--label-3); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.tete-dossier { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.tete-dossier .infos { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; color: var(--label-2); font-size: 14px; }
.tete-dossier .outils { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.equipe-av { display: inline-flex; margin-inline-end: 6px; } .equipe-av .av { box-shadow: 0 0 0 2.5px var(--fond); margin-inline-start: -3px; } .equipe-av .av:first-child { margin-inline-start: 0; }
.suivi { background: var(--carte); border-radius: 22px; box-shadow: var(--ombre); padding: 16px 20px 14px; }
.suivi .barres { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: 6px; }
.suivi .barres i { height: 6px; border-radius: 6px; background: var(--remplir); }
.suivi .barres i.f { background: var(--accent); opacity: .5; } .suivi .barres i.e { background: var(--accent); }
.suivi .noms { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--label-3); }
.suivi .noms .f { color: var(--label-2); } .suivi .noms .e { color: var(--accent); font-weight: 600; }
.n4 { --n: 4; } .n7 { --n: 7; }
.espace-dossier { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.colonne { display: grid; gap: 22px; min-width: 0; align-content: start; }
.composer { display: flex; gap: 10px; align-items: flex-start; }
.composer textarea { flex: 1; min-height: 44px; border-radius: 14px; border: 1px solid rgba(60, 60, 67, .22); background: #fff; padding: 11px 14px; font: 400 14.5px var(--sys); resize: vertical; }
.filtres { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 2px; }
.filtres a { height: 30px; padding: 0 13px; border-radius: 99px; background: var(--carte); box-shadow: var(--ombre); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; color: var(--label); text-decoration: none; }
.filtres a.on { background: var(--label); color: #fff; }
.ligne .h { font-size: 12.5px; color: var(--label-3); white-space: nowrap; align-self: start; padding-top: 2px; }
.ligne.note { background: var(--jaune-papier); }
.ligne.note .texte { margin-top: 6px; font-size: 13.5px; color: #4D3D00; line-height: 1.5; white-space: pre-wrap; }
.ico.j { background: linear-gradient(180deg, #FFD84D, #F5B800); }
.widget-action { border-radius: 24px; color: #fff; padding: 18px 18px 16px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent-clair), var(--accent) 50%, var(--accent-fonce)); box-shadow: 0 14px 30px -16px rgba(118, 16, 31, .8); }
.widget-action::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 160px at 10% -30%, rgba(255, 255, 255, .28), transparent 60%); pointer-events: none; }
.widget-action > * { position: relative; }
.widget-action .surtitre { font: 600 12px var(--sys); text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .82); }
.widget-action h3 { font: 700 19px/1.2 var(--sys-d); margin: 8px 0 4px; }
.widget-action p { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.carte .titre-carte { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.carte .titre-carte h2 { margin: 0; }
.carte .titre-carte a { margin-inline-start: auto; font-size: 13.5px; font-weight: 500; }
.liste-simple { list-style: none; margin: 0; padding: 0; }
.liste-simple li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: .5px solid var(--sep); font-size: 13.5px; }
.liste-simple li:first-child { border-top: 0; }
.liste-simple small { color: var(--label-2); display: block; }
.etape-ouv { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; position: relative; }
.etape-ouv + .etape-ouv::before { content: ""; position: absolute; top: 0; inset-inline-start: 52px; inset-inline-end: 0; height: .5px; background: var(--sep); }
.etape-ouv .t { font-weight: 600; } .etape-ouv .sous-t { font-size: 13px; color: var(--label-2); }
.etape-ouv form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.etape-ouv .saisie { height: 32px; font-size: 13px; width: 220px; }
.depot { display: grid; gap: 12px; }
.depot input[type=file] { font: inherit; }
.avertissement { padding: 11px 14px; border-radius: 14px; background: rgba(255, 149, 0, .12); color: #7A3E00; font-size: 13px; display: flex; gap: 8px; }
.avertissement svg { width: 16px; height: 16px; margin-top: 1px; flex: none; }
textarea.saisie { height: auto; min-height: 90px; padding: 10px 14px; font: 400 14.5px var(--sys); resize: vertical; }
@media (max-width: 1100px) { .espace-dossier { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .barre-filtres input.saisie { min-width: 0; width: 100%; }
  .suivi .noms { font-size: 10.5px; }
  .tete-dossier .outils { margin-inline-start: 0; }
}

/* Recherche de la barre latérale */
form.cote-recherche input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--label); flex: 1; min-width: 0; padding: 0; }
form.cote-recherche:focus-within { box-shadow: 0 0 0 3px rgba(163, 25, 47, .25); }
.titre-dossier { font: 700 30px/1.15 var(--sys-d); letter-spacing: -.025em; margin: 2px 0 0; }
@media print { .cote, .barre-onglets, .btn, form { display: none !important; } }
.cote-recherche { display: flex; align-items: center; gap: 7px; height: 32px; margin: 0 4px 10px; padding: 0 10px; border-radius: 9px; background: var(--remplir); color: var(--label-2); font-size: 13.5px; }
.cote-recherche svg { width: 15px; height: 15px; flex: none; }
.cote-recherche kbd { margin-inline-start: auto; font: 500 11.5px var(--sys); color: var(--label-3); }

/* ---------- Étape 4 : agenda, tâches, échéances, feuille ---------- */
.cote a.nav .badge { margin-inline-start: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--orange); color: #fff; font: 700 11.5px/20px var(--sys); text-align: center; }
.cote a.nav.on .badge { background: #fff; color: var(--accent); }
.modules-agenda { align-self: start; }
.seg .n { font-variant-numeric: tabular-nums; }
.groupe-t.alerte { color: var(--accent); font-weight: 600; }
.quand { font-size: 13px; font-weight: 600; color: var(--label-2); white-space: nowrap; }
.quand.o { color: var(--orange-txt); } .quand.a { color: var(--accent); } .quand.g { color: var(--label-3); font-weight: 500; }
.ico.g { background: linear-gradient(180deg, #A5A5AB, var(--gris)); }
.avertissement a { color: inherit; text-decoration: underline; }

/* Tâches : cercle à cocher, comme Rappels */
.ligne.tache { grid-template-columns: 32px minmax(0, 1fr) auto; }
.ligne.tache form { display: grid; place-items: center; }
.coche-btn { width: 24px; height: 24px; border-radius: 50%; border: 1.8px solid var(--label-3); background: #fff; display: grid; place-items: center; color: #fff; cursor: pointer; padding: 0; }
.coche-btn:hover:not(:disabled) { border-color: var(--vert); box-shadow: inset 0 0 0 3px rgba(52, 199, 89, .18); }
.coche-btn.o { border-color: var(--accent); }
.coche-btn.v { background: var(--vert); border-color: var(--vert); }
.coche-btn svg { width: 14px; height: 14px; stroke-width: 3; }
.coche-btn:disabled { cursor: not-allowed; opacity: .45; border-style: dashed; }
.ligne.faite .t span:first-child { text-decoration: line-through; color: var(--label-3); }
.corps-lien { color: inherit; text-decoration: none; min-width: 0; }
.corps-lien:hover { text-decoration: none; } .corps-lien:hover .t span:first-child { color: var(--accent); }
.ligne .sous-t svg { width: 13px; height: 13px; vertical-align: -2px; margin-inline-end: 3px; }

/* Échéances : pavé de date façon Calendrier */
.ligne.ech { grid-template-columns: 44px minmax(0, 1fr) auto; }
.ligne.ech + .ligne.ech::before { inset-inline-start: 70px; }
.ligne.rejetee .t span:first-child { text-decoration: line-through; color: var(--label-3); }
.pave-date { width: 44px; height: 46px; border-radius: 11px; background: var(--remplir-2); display: grid; align-content: center; justify-items: center; box-shadow: inset 0 0 0 .5px var(--sep); }
.pave-date small { font: 600 10.5px var(--sys); text-transform: uppercase; color: var(--accent); letter-spacing: .02em; }
.pave-date b { font: 600 20px/1 var(--sys-d); letter-spacing: -.02em; }
.pave-date.o { background: rgba(255, 149, 0, .13); } .pave-date.o small { color: var(--orange-txt); }
.pave-date.a { background: var(--accent); color: #fff; } .pave-date.a small { color: rgba(255, 255, 255, .85); }
.pave-date.g { opacity: .55; } .pave-date.g small { color: var(--label-2); }
ol.hypotheses { margin: 0; padding-block: 12px; padding-inline: 34px 16px; background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); display: grid; gap: 8px; font-size: 13.5px; line-height: 1.5; }
.carte ol.hypotheses { box-shadow: none; padding-block: 4px 0; padding-inline: 20px 0; }
.formulaire-carte label.case { margin: 0 0 14px; }
.actions-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }

/* Bureau */
.bureau { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.bureau .section-t .seg { margin-inline-start: auto; }
.compl a.chiffre { min-width: 118px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .13); color: #fff; text-decoration: none; display: grid; transition: background .15s; }
.compl a.chiffre:hover { background: rgba(255, 255, 255, .22); text-decoration: none; }
.compl a.chiffre.fort { background: rgba(255, 255, 255, .26); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.compl a.chiffre .v { font: 700 28px/1 var(--sys-d); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.compl a.chiffre .l { font-size: 12.5px; color: rgba(255, 255, 255, .85); margin-top: 6px; }
.bloc-espace { margin-top: 22px; }
.titre-carte .sec2 { font-weight: 500; }
.titre-carte h2 + .sec2 { margin-inline-end: auto; }
.rappels { list-style: none; margin: 4px -6px 0; padding: 0; }
.rappels li a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 9px 6px; color: inherit; text-decoration: none; border-radius: 10px; }
.rappels li a:hover { background: var(--remplir-2); }
.rappels li + li { border-top: .5px solid var(--sep); }
.rappels .coche { width: 20px; height: 20px; margin-top: 1px; } .rappels .coche.o { border-color: var(--orange); }
.rappels .txt { display: grid; min-width: 0; } .rappels .t { font-size: 14px; }
.rappels .sous-t { font-size: 12.5px; color: var(--label-2); display: flex; align-items: center; gap: 4px; }
.rappels .sous-t svg { width: 12px; height: 12px; }
.rappels .date { font-size: 12.5px; font-weight: 600; color: var(--label-2); white-space: nowrap; } .rappels .date.o { color: var(--orange-txt); }

/* Agenda : colonne horaire verticale, créneaux de 15 minutes (7 h – 21 h = 56 lignes) */
.barre-filtres .saut-date { display: flex; gap: 6px; margin-inline-start: auto; }
.barre-filtres .saut-date .saisie { min-width: 0; }
.cal { padding: 0; overflow: hidden; }
.cal.jour { max-width: 980px; }
.cal-corps { display: grid; padding-block: 12px 16px; padding-inline: 0 14px; }
.cal-corps.j1 { grid-template-columns: 52px minmax(0, 1fr); }
.cal-corps.j7 { grid-template-columns: 52px repeat(7, minmax(0, 1fr)); }
.heures { display: grid; grid-template-rows: repeat(14, 44px); }
.heures span { font-size: 11px; color: var(--label-3); text-align: end; padding-inline-end: 8px; transform: translateY(-7px); font-variant-numeric: tabular-nums; }
.col-jour { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(56, 11px); position: relative;
  background: repeating-linear-gradient(to bottom, var(--sep) 0, var(--sep) 1px, transparent 1px, transparent 44px); border-inline-start: .5px solid var(--sep); }
.col-jour.auj { background-color: rgba(163, 25, 47, .025); }
.evt { position: relative; margin: 1px 2px; border-radius: 7px; padding-block: 3px; padding-inline: 10px 7px; overflow: hidden; font-size: 12px; line-height: 1.3; min-height: 0; text-decoration: none; z-index: 1; }
.evt:hover { text-decoration: none; filter: brightness(.97); z-index: 2; }
.evt.court { padding-top: 2px; padding-bottom: 0; }
.evt.court span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evt::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3.5px; border-radius: 3px; background: currentColor; }
.evt b { display: block; font-weight: 600; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evt span { opacity: .82; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evt.a { background: linear-gradient(rgba(163, 25, 47, .10), rgba(163, 25, 47, .10)), #fff; color: var(--accent); }
.evt.b { background: linear-gradient(rgba(0, 122, 255, .11), rgba(0, 122, 255, .11)), #fff; color: var(--bleu-txt); }
.evt.i { background: linear-gradient(rgba(88, 86, 214, .12), rgba(88, 86, 214, .12)), #fff; color: #3E3CB8; }
.evt.t { background: linear-gradient(rgba(48, 176, 199, .14), rgba(48, 176, 199, .14)), #fff; color: #11707F; }
.evt.g { background: linear-gradient(rgba(118, 118, 128, .12), rgba(118, 118, 128, .12)), #fff; color: var(--label-2); }
.v11 { grid-column: 1 / -1; } .v12 { grid-column: 1 / 4; } .v22 { grid-column: 4 / 7; } .v13 { grid-column: 1 / 3; } .v23 { grid-column: 3 / 5; } .v33 { grid-column: 5 / 7; }
.maintenant { grid-column: 1 / -1; grid-row-end: span 1; height: 2px; background: var(--accent); align-self: start; position: relative; z-index: 3; pointer-events: none; }
.maintenant::before { content: ""; position: absolute; inset-inline-start: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.cal-vide { margin: 0; padding-block: 0 16px; padding-inline: 66px 18px; color: var(--label-2); font-size: 13.5px; }
.toute-journee { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0; padding-block: 12px 10px; padding-inline: 0 14px; border-bottom: .5px solid var(--sep); background: var(--remplir-2); }
.toute-journee .libelle { font-size: 10.5px; color: var(--label-3); text-align: end; padding-block: 4px 0; padding-inline: 0 8px; line-height: 1.2; }
.toute-journee > div, .sem-puces > div { display: flex; flex-wrap: wrap; gap: 6px; padding-inline-start: 8px; min-width: 0; }
.puce-j { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; text-decoration: none; background: #fff; box-shadow: var(--ombre); color: var(--label); }
.puce-j:hover { text-decoration: none; }
.puce-j span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.puce-j svg { width: 13px; height: 13px; flex: none; }
.puce-j.ech { background: rgba(255, 149, 0, .14); color: var(--orange-txt); box-shadow: none; }
.puce-j.ech.a-valider { box-shadow: inset 0 0 0 1px rgba(255, 149, 0, .55); background: #fff; }
.puce-j em { font-style: normal; font-size: 11px; font-weight: 600; opacity: .85; }
.puce-j.tch { background: rgba(52, 199, 89, .13); color: var(--vert-txt); box-shadow: none; }
.puce-j.plus { background: none; box-shadow: none; color: var(--label-2); }
.sem-tete, .sem-puces { display: grid; padding-block: 0; padding-inline: 0 14px; }
.sem-tete.j7, .sem-puces.j7 { grid-template-columns: 52px repeat(7, minmax(0, 1fr)); }
.sem-tete { padding-top: 10px; }
.sem-jour { display: grid; justify-items: center; gap: 1px; padding: 4px 0 8px; color: var(--label); text-decoration: none; border-radius: 10px; }
.sem-jour:hover { background: var(--remplir-2); text-decoration: none; }
.sem-jour small { font-size: 11.5px; color: var(--label-2); text-transform: uppercase; letter-spacing: .03em; }
.sem-jour b { font: 600 20px/28px var(--sys-d); width: 32px; height: 28px; border-radius: 14px; text-align: center; }
.sem-jour.auj b { background: var(--accent); color: #fff; } .sem-jour.auj small { color: var(--accent); font-weight: 600; }
.sem-puces { padding-bottom: 8px; border-bottom: .5px solid var(--sep); }
.sem-puces > div { flex-direction: column; gap: 4px; padding: 0 3px; }
.sem-puces .puce-j { height: 22px; font-size: 11.5px; padding: 0 7px; border-radius: 6px; width: 100%; }
.sem-liste { display: none; }
.cal-corps.compact { padding: 6px 0 0; }
.cal-corps.compact .heures { grid-template-rows: repeat(14, 30px); }
.cal-corps.compact .heures span { font-size: 10.5px; transform: translateY(-6px); }
.cal-corps.compact .col-jour { grid-template-rows: repeat(56, 7.5px); background-image: repeating-linear-gradient(to bottom, var(--sep) 0, var(--sep) 1px, transparent 1px, transparent 30px); background-color: transparent; }
.cal-corps.compact .evt { font-size: 11.5px; padding-block: 1px; padding-inline: 9px 6px; }
.cal-corps.compact .evt b { font-size: 12px; }
.participants { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.participants legend { font: 600 13px var(--sys); padding: 0; margin-bottom: 6px; }

/* Feuille : panneau latéral, ouvert par l'adresse (sans script) */
.voile { position: fixed; inset: 0; background: rgba(0, 0, 0, .18); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); z-index: 30; }
.feuille { position: fixed; top: 12px; inset-inline-end: 12px; bottom: 12px; width: min(500px, calc(100% - 24px)); border-radius: 28px; background: var(--fond); box-shadow: 0 30px 80px rgba(0, 0, 0, .28), 0 0 0 .5px rgba(0, 0, 0, .08); z-index: 31; display: flex; flex-direction: column; overflow: hidden; }
.feuille .haut { padding: 18px 20px 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feuille .haut .rond { margin-inline-start: auto; width: 30px; height: 30px; }
.feuille .haut .rond svg { width: 14px; height: 14px; stroke-width: 2.6; color: var(--label-2); }
.feuille .corps { padding: 4px 18px 18px; overflow-y: auto; flex: 1; display: grid; gap: 10px; align-content: start; }
.feuille h2 { font: 700 24px/1.15 var(--sys-d); letter-spacing: -.02em; margin: 4px 4px 0; }
.feuille h2:focus { outline: none; }
.feuille .sous { margin: 0 4px; color: var(--label-2); font-size: 13.5px; }
.feuille .groupe-t { margin-block: 8px 0; margin-inline: 14px 0; }
.surtitre-feuille { font: 600 12px var(--sys); text-transform: uppercase; letter-spacing: .04em; color: var(--label-2); margin: 0 4px; }
.lettre { margin: 0; background: #fff; border-radius: 16px; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; box-shadow: var(--ombre); }
.lettre mark { background: rgba(255, 204, 0, .32); color: inherit; border-radius: 4px; padding: 0 3px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; background: #fff; box-shadow: var(--ombre); font-size: 13px; font-weight: 500; color: var(--label); text-decoration: none; }
.puce svg { width: 15px; height: 15px; color: var(--accent); }
.carte-liste { background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); padding: 2px 14px; }
.carte-liste li svg { color: var(--label-3); width: 17px; height: 17px; }
.feuille .pied { padding: 14px 18px 18px; display: grid; gap: 10px; background: var(--verre); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: .5px solid var(--sep); }
.feuille .pied .note { margin: 0; text-align: center; color: var(--label-2); font-size: 12.5px; }
.feuille details > summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 6px 4px; list-style: none; }
.feuille details > summary::-webkit-details-marker { display: none; }
.feuille details.modifier { background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); padding: 6px 14px 14px; }
.feuille details.modifier[open] > summary { margin-bottom: 8px; }
.feuille details.modifier form + form { margin-top: 10px; }
.rejet summary { text-align: center; font-size: 13.5px; }
.rang-action { display: flex; gap: 8px; margin-top: 6px; } .rang-action .saisie { height: 36px; font-size: 14px; }
.formulaire-feuille .champ { margin-bottom: 10px; }
.ajout-sous { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px; }
.ajout-sous input[name="titre"] { grid-column: 1 / -1; }
.ajout-sous .saisie { height: 34px; font-size: 13.5px; padding: 0 10px; }
.ajout-sous select.saisie { background-position: calc(100% - 16px) 15px, calc(100% - 11px) 15px; padding-inline-end: 26px; }
.vide.petit { padding: 14px; font-size: 13px; }

@media (max-width: 1100px) { .bureau { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .barre-filtres .saut-date { margin-inline-start: 0; width: 100%; } .barre-filtres .saut-date .saisie { flex: 1; }
  .cal.semaine { display: none; } .sem-liste { display: block; }
  .cal-corps.j1 { grid-template-columns: 44px minmax(0, 1fr); padding-inline-end: 8px; }
  .toute-journee { grid-template-columns: 44px minmax(0, 1fr); }
  .cal-vide { padding-inline-start: 58px; }
  .feuille { top: auto; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; width: 100%; max-height: calc(100% - 40px); border-radius: 24px 24px 0 0; }
  .entete .outils { margin-inline-start: 0; flex-wrap: wrap; }
  .bureau .section-t .seg { margin-inline-start: 0; }
  .compl a.chiffre { min-width: 0; }
}
@media print { .feuille, .voile { display: none !important; } }
/* Placement dans la grille horaire : ligne de départ (dl) et hauteur en créneaux (dh). */
.dl-1{grid-row-start:1} .dl-2{grid-row-start:2} .dl-3{grid-row-start:3} .dl-4{grid-row-start:4} .dl-5{grid-row-start:5} .dl-6{grid-row-start:6} .dl-7{grid-row-start:7} .dl-8{grid-row-start:8} .dl-9{grid-row-start:9} .dl-10{grid-row-start:10} .dl-11{grid-row-start:11} .dl-12{grid-row-start:12} .dl-13{grid-row-start:13} .dl-14{grid-row-start:14} .dl-15{grid-row-start:15} .dl-16{grid-row-start:16} .dl-17{grid-row-start:17} .dl-18{grid-row-start:18} .dl-19{grid-row-start:19} .dl-20{grid-row-start:20} .dl-21{grid-row-start:21} .dl-22{grid-row-start:22} .dl-23{grid-row-start:23} .dl-24{grid-row-start:24} .dl-25{grid-row-start:25} .dl-26{grid-row-start:26} .dl-27{grid-row-start:27} .dl-28{grid-row-start:28} .dl-29{grid-row-start:29} .dl-30{grid-row-start:30} .dl-31{grid-row-start:31} .dl-32{grid-row-start:32} .dl-33{grid-row-start:33} .dl-34{grid-row-start:34} .dl-35{grid-row-start:35} .dl-36{grid-row-start:36} .dl-37{grid-row-start:37} .dl-38{grid-row-start:38} .dl-39{grid-row-start:39} .dl-40{grid-row-start:40} .dl-41{grid-row-start:41} .dl-42{grid-row-start:42} .dl-43{grid-row-start:43} .dl-44{grid-row-start:44} .dl-45{grid-row-start:45} .dl-46{grid-row-start:46} .dl-47{grid-row-start:47} .dl-48{grid-row-start:48} .dl-49{grid-row-start:49} .dl-50{grid-row-start:50} .dl-51{grid-row-start:51} .dl-52{grid-row-start:52} .dl-53{grid-row-start:53} .dl-54{grid-row-start:54} .dl-55{grid-row-start:55} .dl-56{grid-row-start:56}
.dh-1{grid-row-end:span 1} .dh-2{grid-row-end:span 2} .dh-3{grid-row-end:span 3} .dh-4{grid-row-end:span 4} .dh-5{grid-row-end:span 5} .dh-6{grid-row-end:span 6} .dh-7{grid-row-end:span 7} .dh-8{grid-row-end:span 8} .dh-9{grid-row-end:span 9} .dh-10{grid-row-end:span 10} .dh-11{grid-row-end:span 11} .dh-12{grid-row-end:span 12} .dh-13{grid-row-end:span 13} .dh-14{grid-row-end:span 14} .dh-15{grid-row-end:span 15} .dh-16{grid-row-end:span 16} .dh-17{grid-row-end:span 17} .dh-18{grid-row-end:span 18} .dh-19{grid-row-end:span 19} .dh-20{grid-row-end:span 20} .dh-21{grid-row-end:span 21} .dh-22{grid-row-end:span 22} .dh-23{grid-row-end:span 23} .dh-24{grid-row-end:span 24} .dh-25{grid-row-end:span 25} .dh-26{grid-row-end:span 26} .dh-27{grid-row-end:span 27} .dh-28{grid-row-end:span 28} .dh-29{grid-row-end:span 29} .dh-30{grid-row-end:span 30} .dh-31{grid-row-end:span 31} .dh-32{grid-row-end:span 32} .dh-33{grid-row-end:span 33} .dh-34{grid-row-end:span 34} .dh-35{grid-row-end:span 35} .dh-36{grid-row-end:span 36} .dh-37{grid-row-end:span 37} .dh-38{grid-row-end:span 38} .dh-39{grid-row-end:span 39} .dh-40{grid-row-end:span 40} .dh-41{grid-row-end:span 41} .dh-42{grid-row-end:span 42} .dh-43{grid-row-end:span 43} .dh-44{grid-row-end:span 44} .dh-45{grid-row-end:span 45} .dh-46{grid-row-end:span 46} .dh-47{grid-row-end:span 47} .dh-48{grid-row-end:span 48} .dh-49{grid-row-end:span 49} .dh-50{grid-row-end:span 50} .dh-51{grid-row-end:span 51} .dh-52{grid-row-end:span 52} .dh-53{grid-row-end:span 53} .dh-54{grid-row-end:span 54} .dh-55{grid-row-end:span 55} .dh-56{grid-row-end:span 56}
.btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }

/* ---------- Étape 5 : finances ---------- */
.montant { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.duree { font-size: 13px; color: var(--label-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rond.petit-rond { width: 28px; height: 28px; } .rond.petit-rond svg { width: 13px; height: 13px; stroke-width: 2.4; color: var(--label-2); }
.ligne.temps.non-fact .montant { color: var(--label-3); }
.case-ligne { display: grid; place-items: center; width: 32px; } .case-ligne input { width: 18px; height: 18px; accent-color: var(--accent); }
.saisie.court { width: 90px; flex: none; }
.saisie.petite-saisie { height: 32px; width: 120px; font-size: 14px; text-align: end; }
.chrono-arret { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .chrono-arret .saisie { height: 36px; font-size: 14px; flex: 1; min-width: 180px; }
.widget-action .saisie { background: rgba(255, 255, 255, .95); }
.jauge { height: 8px; border-radius: 8px; background: var(--remplir); overflow: hidden; margin: 6px 0; }
.jauge i { display: block; height: 100%; background: var(--vert); border-radius: 8px; }
.jauge.alerte i { background: var(--orange); } .jauge.depasse i { background: var(--accent); }
.jauge .p0 { width: 0%; }
.jauge .p5 { width: 5%; }
.jauge .p10 { width: 10%; }
.jauge .p15 { width: 15%; }
.jauge .p20 { width: 20%; }
.jauge .p25 { width: 25%; }
.jauge .p30 { width: 30%; }
.jauge .p35 { width: 35%; }
.jauge .p40 { width: 40%; }
.jauge .p45 { width: 45%; }
.jauge .p50 { width: 50%; }
.jauge .p55 { width: 55%; }
.jauge .p60 { width: 60%; }
.jauge .p65 { width: 65%; }
.jauge .p70 { width: 70%; }
.jauge .p75 { width: 75%; }
.jauge .p80 { width: 80%; }
.jauge .p85 { width: 85%; }
.jauge .p90 { width: 90%; }
.jauge .p95 { width: 95%; }
.jauge .p100 { width: 100%; }
.total-facture h3 { font: 700 30px/1.1 var(--sys-d); font-variant-numeric: tabular-nums; margin: 6px 0 12px; }
dl.totaux { margin: 0 0 14px; display: grid; gap: 4px; font-size: 13.5px; }
dl.totaux div { display: flex; justify-content: space-between; gap: 12px; }
dl.totaux dt { margin: 0; } dl.totaux dd { margin: 0; font-variant-numeric: tabular-nums; }
dl.totaux .fort { font-weight: 700; border-top: .5px solid var(--sep); padding-top: 4px; }
/* blanc seulement sur la carte sombre de la facture ; sur les cartes claires (fonds, offre, provisions) le texte garde sa couleur normale */
.widget-action dl.totaux div { color: rgba(255, 255, 255, .88); }
.widget-action dl.totaux .fort { color: #fff; border-top-color: rgba(255, 255, 255, .3); }
details.mini summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 13px; list-style: none; }
details.mini summary::-webkit-details-marker { display: none; }
details.mini[open] { flex-basis: 100%; }
.titre-carte .sec2 + a { margin-inline-start: 0; }
.ligne .d form { display: flex; gap: 6px; align-items: center; }
.carte details.modifier { margin-top: 8px; } .carte details.modifier summary { cursor: pointer; color: var(--accent); font-weight: 600; list-style: none; padding: 4px 0; }
.carte details.modifier summary::-webkit-details-marker { display: none; }

/* ---------- Étape 5 : portail client ---------- */
.widget-rouge .lieu { margin: -10px 0 14px; color: rgba(255, 255, 255, .85); font-size: 14px; }
.progression { display: flex; gap: 6px; margin: 0 0 16px; max-width: 520px; }
.progression i { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .25); }
.progression i.f { background: #fff; } .progression i.e { background: rgba(255, 255, 255, .6); }
.texte-publie { margin: 6px 0 4px; font-size: 14px; line-height: 1.55; color: var(--label); }
.precisions { margin: 6px 0 0; font-size: 13.5px; color: var(--label-2); }
.depot-client { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; } .depot-client input[type=file] { font: inherit; font-size: 13.5px; max-width: 100%; }
.ligne.demande { align-items: start; } .ligne.demande .avertissement { margin: 8px 0 0; }
.fil-messages { display: grid; gap: 10px; padding: 4px 0 12px; }
.bulle { max-width: min(560px, 85%); padding: 10px 14px; border-radius: 18px; background: var(--carte); box-shadow: var(--ombre); }
.bulle.moi { justify-self: end; background: var(--accent); color: #fff; border-end-end-radius: 6px; } .bulle.eux { justify-self: start; border-end-start-radius: 6px; }
.bulle .texte { font-size: 14.5px; line-height: 1.5; white-space: normal; }
.bulle .meta { font-size: 11.5px; margin-top: 4px; opacity: .75; }
.bulle a { color: inherit; text-decoration: underline; } .bulle .texte svg.i { width: 14px; height: 14px; vertical-align: -2px; } /* support : pièces jointes d'une conversation */
.signature-portail { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--label-3); font-size: 12px; margin: 10px 0 0; }
.signature-portail img { height: 16px; width: auto; }
.ligne .d input.petite-saisie { width: 150px; text-align: start; }

/* ---------- Étape 6 : automatisations ---------- */
.chaine .maillons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.chaine .maillons div { position: relative; padding: 10px 12px; border-radius: 14px; background: var(--remplir-2); display: grid; gap: 3px; font-size: 13px; color: var(--label-2); }
.chaine .maillons b { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.ligne.execution { align-items: start; }
.resume-exec { margin: 6px 0 0; font-size: 13.5px; } .resume-exec.erreur { color: var(--rouge-erreur); }
.etapes-exec { margin: 6px 0 0; padding-inline-start: 18px; font-size: 13px; color: var(--label-2); display: grid; gap: 3px; }
@media (max-width: 760px) { .chaine .maillons { grid-template-columns: 1fr 1fr; } }

/* ---------- Étape 7 : Législations ---------- */
.recherche-texte { display: grid; gap: 4px; }
.ligne-recherche { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) 170px auto; gap: 10px; align-items: end; }
.ligne-recherche .champ { margin-bottom: 8px; } .ligne-recherche .btn { margin-bottom: 12px; height: 44px; }
.grille-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille-codes .ligne + .ligne::before { inset-inline-start: 58px; }
.tous-codes summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.tous-codes ul { columns: 2; margin-top: 10px; } .tous-codes li { break-inside: avoid; }
.article-loi { display: grid; gap: 10px; }
.chemin-loi { margin: 0; font-size: 13px; color: var(--label-2); }
.tete-article { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .tete-article h2 { margin: 0; font-size: 24px; }
.texte-loi { font: 400 16px/1.65 var(--sys); color: var(--label); max-width: 760px; } .texte-loi p { margin: 0 0 12px; }
.source-loi { font-size: 12.5px; color: var(--label-3); margin: 0; }
.ligne.actuelle { background: var(--accent-doux); }
.plan-loi details { margin: 2px 0 2px 0; } .plan-loi details details { margin-inline-start: 18px; }
.plan-loi summary { cursor: pointer; padding: 6px 4px; border-radius: 8px; font-weight: 500; } .plan-loi summary:hover { background: var(--remplir-2); }
.plan-loi .niveau-0 > summary { font-weight: 700; } .articles-loi { list-style: none; margin-block: 2px 6px; margin-inline: 22px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.articles-loi a { display: inline-block; padding: 3px 9px; border-radius: 8px; background: var(--remplir-2); font-size: 13px; color: var(--label); text-decoration: none; }
.articles-loi a:hover { background: var(--accent-doux); color: var(--accent); } .articles-loi a.abroge { color: var(--label-3); text-decoration: line-through; }
.extrait-loi { margin: 4px 0 0; font-size: 13.5px; color: var(--label-2); }
.etapes-config { margin: 0 0 12px; padding-inline-start: 20px; display: grid; gap: 6px; }
@media (max-width: 1100px) { .ligne-recherche { grid-template-columns: 1fr 1fr; } .grille-codes { grid-template-columns: 1fr; } .tous-codes ul { columns: 1; } }
@media (max-width: 760px) { .ligne-recherche { grid-template-columns: 1fr; } }

/* ---------- Étape 7 : assistance IA ---------- */
.choix-ia { border: 0; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choix-ia legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.option-ia { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--remplir-2); cursor: pointer; border: 1.5px solid transparent; }
.option-ia:has(input:checked) { border-color: var(--accent); background: var(--accent-doux); }
.option-ia input { margin-top: 3px; accent-color: var(--accent); }
.option-ia span { display: grid; gap: 2px; } .option-ia strong { font-size: 14px; } .option-ia small { font-size: 12.5px; color: var(--label-2); line-height: 1.35; }
.ligne.piece-ia { grid-template-columns: 22px minmax(0, 1fr); cursor: pointer; } .ligne.piece-ia + .ligne.piece-ia::before { inset-inline-start: 48px; }
.piece-ia input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.piece-ia.non-lue { cursor: default; opacity: .6; }
.consigne-ia { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--remplir-2); font-size: 14px; }
.attente-ia { display: flex; gap: 14px; align-items: center; } .attente-ia h2 { margin: 0 0 2px; } .attente-ia p { margin: 0; color: var(--label-2); }
.roue { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--accent-doux-2); border-top-color: var(--accent); animation: roue 1s linear infinite; flex: none; }
@keyframes roue { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .roue { animation: none; } }
.elements-ia { display: grid; gap: 10px; margin-bottom: 16px; }
.element-ia { background: var(--carte); border-radius: 16px; box-shadow: var(--ombre); padding: 12px 16px; display: grid; gap: 8px; border-inline-start: 4px solid var(--sep); }
.element-ia.e-fait { border-inline-start-color: var(--vert); } .element-ia.e-declaration { border-inline-start-color: var(--bleu); } .element-ia.e-hypothese { border-inline-start-color: var(--orange); }
.element-ia.e-illisible, .element-ia.e-incomplet { border-inline-start-color: var(--accent); }
.element-ia > p { margin: 0; font-size: 15px; line-height: 1.55; }
.tete-element { display: flex; gap: 6px; flex-wrap: wrap; }
.citation-ia { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--remplir-2); font-size: 13.5px; color: var(--label-2); }
.citation-ia p { margin: 0 0 4px; font-style: italic; } .citation-ia footer { font-size: 12.5px; }
.element-ia form, .element-ia > .btn { justify-self: start; }
.relecture-ia { flex-wrap: wrap; align-items: center; } .relecture-ia .saisie { flex: 1 1 220px; min-width: 0; }
.cases-courriel { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; } .formulaire-carte .cases-courriel label.case { margin: 0; }
@media (max-width: 1100px) { .choix-ia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .choix-ia { grid-template-columns: 1fr; } }

/* ---------- Étape 7 : intégrations et messagerie ---------- */
.grille-integrations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.integration p { margin: 0 0 8px; } .integration .titre-carte .cap { margin-inline-start: auto; }
.espace-messagerie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; align-items: start; }
.lecture-courriel { display: grid; gap: 12px; }
.courriel h2 { margin: 0 0 8px; }
.entetes-courriel { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0 0 12px; font-size: 13.5px; } .entetes-courriel dt { color: var(--label-3); } .entetes-courriel dd { margin: 0; overflow-wrap: anywhere; }
.texte-courriel { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; margin-bottom: 12px; }
@media (max-width: 1100px) { .grille-integrations, .espace-messagerie { grid-template-columns: 1fr; } }

/* Œil des champs de mot de passe (demande du 03/10/2026) */
.mdp-boite { position: relative; display: block; }
.mdp-boite.mdp-ajuste { display: inline-block; max-width: 100%; }
.mdp-boite > input { padding-inline-end: 42px !important; }
.mdp-boite > input::-ms-reveal { display: none; }
.mdp-oeil { position: absolute; top: 50%; inset-inline-end: 5px; transform: translateY(-50%); width: 32px; height: 32px; padding: 0; margin: 0; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: inherit; opacity: .6; cursor: pointer; }
.mdp-oeil:hover { opacity: 1; }
.mdp-oeil:focus-visible { opacity: 1; outline: 2px solid currentColor; outline-offset: 1px; }

/* ---------- Centre d'aide (30/10/2026) : app/vues/aide.php ---------- */
.aide-fil { margin: 0 0 6px; font-size: 13.5px; color: var(--label-2); }
.aide-fil a { color: var(--accent); }
.aide-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 18px; }
.aide-cat { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.aide-cat:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--ombre-flottante); }
.aide-cat b { font: 700 16px var(--sys-d); }
.aide-cat .aide-resume { color: var(--label-2); font-size: 14px; line-height: 1.45; }
.aide-cat small { color: var(--label-3); font-size: 12.5px; margin-top: auto; }
.aide-cat .ico { margin-bottom: 4px; }
.aide-cat-nom { color: var(--label-3); font-weight: 400; }
.aide-fiche { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; margin-top: 18px; }
.aide-corps { display: flex; flex-direction: column; gap: 16px; }
.aide-guide { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: var(--accent-doux); }
.aide-guide > div { flex: 1 1 260px; } .aide-guide p { margin: 2px 0 0; color: var(--label-2); font-size: 13.5px; }
.aide-refus { color: var(--label-2); font-size: 13.5px; }
.aide-marge { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0; }
.aide-marge > div { padding: 10px 12px; border-radius: 12px; background: var(--remplir-2); }
.aide-marge dt { font: 600 11.5px var(--sys); text-transform: uppercase; letter-spacing: .04em; color: var(--label-2); }
.aide-marge dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 500; }
.aide-texte { font-size: 15px; line-height: 1.6; max-width: 72ch; display: flex; flex-direction: column; gap: 12px; }
.aide-texte p { margin: 0; color: var(--label); }
.aide-texte h3 { font: 700 15.5px var(--sys-d); margin: 6px 0 0; }
.aide-texte ul, .aide-texte ol { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }
.aide-texte a { color: var(--accent); }
.aide-texte .ui { font-weight: 600; padding: 1px 7px; border-radius: 7px; background: var(--remplir); box-decoration-break: clone; -webkit-box-decoration-break: clone; } /* un libellé long (une case à cocher) passe à la ligne au lieu de déborder de l'écran */
.aide-texte .encadre { padding: 12px 14px; border-radius: 14px; background: var(--remplir-2); border-inline-start: 3px solid var(--bleu); }
.aide-texte .encadre.attention { border-inline-start-color: var(--orange); background: rgba(255, 149, 0, .09); }
.aide-texte .encadre .lbl { font: 700 11.5px var(--sys); text-transform: uppercase; letter-spacing: .04em; color: var(--label-2); margin-bottom: 4px; }
.aide-texte table { border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.aide-texte th, .aide-texte td { border-bottom: 1px solid var(--sep); padding: 7px 10px; text-align: start; vertical-align: top; }
.aide-voisines { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.aide-voisines h2 { font-size: 15px; margin-bottom: 6px; }
.aide-voisines a { display: flex; gap: 6px; align-items: baseline; font-size: 13.5px; color: var(--label); padding: 6px 8px; border-radius: 9px; line-height: 1.35; }
.aide-voisines a:hover { background: var(--remplir-2); text-decoration: none; }
.aide-voisines svg { width: 12px; height: 12px; flex: none; color: var(--accent); }
@media (max-width: 960px) { .aide-fiche { grid-template-columns: minmax(0, 1fr); } .aide-voisines { position: static; } }

/* ---------- Guide pas à pas (assets/aide.js) ---------- */
.guide-voile { position: fixed; inset: 0; z-index: 900; pointer-events: none; }
.guide-fond { position: absolute; inset: 0; background: rgba(28, 28, 30, .32); }
.guide-halo { position: fixed; border-radius: 14px; box-shadow: 0 0 0 3px var(--accent), 0 0 0 9999px rgba(28, 28, 30, .32); transition: left .25s, top .25s, width .25s, height .25s; }
.guide-bulle { position: fixed; z-index: 901; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--carte); box-shadow: var(--ombre-flottante); font: 400 14px/1.5 var(--sys); color: var(--label); }
.guide-bulle p { margin: 0; }
.guide-haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--label-2); font-size: 12.5px; }
.guide-x { border: 0; background: var(--remplir); width: 26px; height: 26px; border-radius: 50%; font-size: 16px; line-height: 1; cursor: pointer; color: var(--label-2); }
.guide-t { font: 700 15.5px var(--sys-d); }
.guide-attente { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.guide-btns { display: flex; gap: 6px; align-items: center; margin-top: 2px; } .guide-vide { flex: 1; }
.guide-btns .btn { height: 32px; padding: 0 13px; font-size: 13px; }
@media print { .guide-voile, .guide-bulle { display: none !important; } }
form[action="/aide"] .saisie[type="search"] { flex: 1 1 340px; max-width: 480px; }

/* Lot A 1.0 : facturation conforme et encaissement */
.tableau-defile { overflow-x: auto; max-width: 100%; background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); }
/* un tableau placé DANS une carte (onglet « Détails de l'acte », lot G1) défile lui-même au lieu de faire défiler la page */
.defile-x { overflow-x: auto; max-width: 100%; }
.tableau { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tableau th, .tableau td { padding: 10px 14px; text-align: start; border-bottom: .5px solid var(--sep); white-space: nowrap; }
.tableau thead th { font-size: 12px; font-weight: 600; color: var(--label-2); text-transform: uppercase; letter-spacing: .03em; }
.tableau tbody th { font-weight: 600; white-space: normal; min-width: 160px; } .tableau th small { display: block; font-weight: 400; color: var(--label-2); font-size: 12px; }
.tableau .nombre { text-align: end; font-variant-numeric: tabular-nums; }
.tableau tfoot th, .tableau tfoot td { border-bottom: 0; font-weight: 600; }
dl.recap { margin: 14px 0; display: grid; gap: 0; background: var(--fond); border-radius: 14px; padding: 4px 14px; }
dl.recap div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 0; border-bottom: .5px solid var(--sep); font-size: 13.5px; }
dl.recap div:last-child { border-bottom: 0; } dl.recap dt { margin: 0; color: var(--label-2); } dl.recap dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: end; }
.champ.compact { margin: 8px 0 0; font-size: 12px; } .champ.compact .saisie { height: 34px; font-size: 13.5px; }
.ligne.rapprochement { align-items: start; } .ligne.rapprochement .case-ligne { padding-top: 2px; }
.ligne.propose .saisie { height: 34px; font-size: 13.5px; margin-top: 6px; } .ligne.propose .saisie.court { width: 86px; margin-top: 0; }
.virement { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; }
.virement .qr svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.virement dl { margin: 0; display: grid; gap: 4px; font-size: 13px; } .virement dt { color: var(--label-2); font-size: 12px; } .virement dd { margin: 0 0 4px; font-family: var(--mono); font-size: 13px; word-break: break-all; }
.echeances .ligne .montant { font-variant-numeric: tabular-nums; }
.source-legale { font-size: 12px; color: var(--label-2); } .source-legale a { color: inherit; }
@media (max-width: 760px) {
  .virement { grid-template-columns: 1fr; justify-items: start; } .virement .qr { width: 180px; }
  .ligne.propose, .ligne.rapprochement { grid-template-columns: 32px minmax(0, 1fr); } .ligne.propose .d { grid-column: 1 / -1; justify-content: flex-start; }
}
.avertissement.orange { flex-wrap: wrap; align-items: center; } .avertissement.orange span { flex: 1 1 260px; } .avertissement.orange form { margin: 0; }
form.en-ligne { display: inline; } button.lien { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
/* Avancement à 7 étapes (dossier en ouverture) : les colonnes ne s’élargissent plus au mot le plus long sur mobile. */
.suivi .barres, .suivi .noms { grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); } .suivi .noms span { overflow-wrap: anywhere; hyphens: auto; }
/* Lot B 1.0 : convention, lettre de refus, créneaux publics, sociétés parties */
textarea.saisie.texte-convention { min-height: 340px; font-size: 13.5px; line-height: 1.55; }
pre.lettre { white-space: pre-wrap; font: inherit; }
.creneaux-public { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.creneaux-public legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; padding: 0; }
.creneaux-public .case { align-items: flex-start; line-height: 1.4; }
.ligne.societe-partie { padding-top: 0; } .ligne.societe-partie .flash, .ligne.societe-partie .avertissement { margin: 0 0 8px; }
.rang-action { flex-wrap: wrap; align-items: center; } .rang-action form { margin: 0; }
.colonne > *, .grille-2 > * { min-width: 0; } /* un tableau ou un long texte défile dans sa colonne au lieu d'élargir la page */
.mono, .liste-simple li { overflow-wrap: anywhere; }

/* Lot C : prescriptions, mode audience (P42) */
.tableau tr.alerte th, .tableau tr.alerte td { background: rgba(196, 22, 28, .06); }
.mode-audience { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; }
.mode-audience h1 { font-size: 34px; line-height: 1.15; }
.chrono-audience { background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); padding: 18px; display: grid; gap: 10px; justify-items: start; }
.chrono-audience .temps { font: 600 64px/1 var(--sys); font-variant-numeric: tabular-nums; }
.chrono-audience.depasse .temps { color: var(--orange-txt); }
.points-audience { display: grid; gap: 12px; padding-inline-start: 1.4em; font-size: 22px; line-height: 1.35; }
.points-audience li { display: grid; gap: 8px; justify-items: start; }
.points-audience .btn { font-size: 15px; white-space: normal; height: auto; min-height: 36px; text-align: start; }
@media (max-width: 760px) { .mode-audience h1 { font-size: 28px; } .chrono-audience .temps { font-size: 56px; } .points-audience { font-size: 20px; } }

.reponse-controle { max-width: 260px; margin-top: 8px; }
.tableau td.long { white-space: normal; min-width: 180px; }
.section-t .outils { flex-wrap: wrap; }
.ligne > div { min-width: 0; }
/* un <details class="ligne"> (certificats, examens) garde un seul bloc : sans cela la grille de .ligne range le titre, la liste et le formulaire en trois colonnes et écrase le titre dans les 32 px de la première */
details.ligne { display: block; }
details.ligne > summary { cursor: pointer; }
.ligne .saisie { max-width: 100%; }
.rang-champs > * { min-width: 0; }
.champ { min-width: 0; }
@media (max-width: 760px) { .controle-ligne-champs { grid-template-columns: 1fr; } }
.contenu > * { min-width: 0; } /* une table large défile dans son cadre au lieu d’élargir la page */
/* lot D : actes, pièces et calculettes */
.ico.numero-piece { font-size: 12px; font-weight: 700; letter-spacing: -.02em; width: auto; min-width: 32px; padding: 0 6px; }
.choix-pieces { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; padding: 2px; }
.formulaire-carte .choix-pieces label.case { margin: 0; }
.montant-resultat { font-size: 15px; font-weight: 600; color: var(--label); font-variant-numeric: tabular-nums; }
.champs-fusion code { font-size: 12px; background: var(--fond, #f2f2f7); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.champs-fusion li { flex-wrap: wrap; }
.liste-simple .long, .tableau td.long { white-space: normal; overflow-wrap: anywhere; }
.carte > h3, section > h3 { margin: 0 0 8px; font-size: 15px; }
form.ligne.rang-action { align-items: end; }
@media (max-width: 760px) { form.ligne.rang-action { display: grid; grid-template-columns: 1fr; } form.ligne.rang-action > span:first-child { display: none; } }
fieldset.champ { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
fieldset.champ > legend { font: 600 13px var(--sys); padding: 0; margin-bottom: 8px; }
@media (max-width: 760px) { .tableau td.long code { white-space: normal; overflow-wrap: anywhere; } }
@media (max-width: 760px) { .ligne.ligne-pile { grid-template-columns: 32px minmax(0, 1fr); } .ligne.ligne-pile > .d { grid-column: 2; justify-content: flex-start; } }

/* Lot E 1.0 : conformité */
.texte-legal { white-space: pre-wrap; font-size: 13.5px; line-height: 1.55; max-height: 420px; overflow: auto; background: var(--fond); border-radius: 14px; padding: 12px 14px; color: var(--label); }
.bloc-petit { margin-top: 8px; }
.bloc-bas { margin-bottom: 22px; }
.rang-souple { flex-wrap: wrap; align-items: center; }
.saisie.grande { min-height: 280px; }
progress.jauge { width: 100%; height: 8px; border: 0; border-radius: 8px; overflow: hidden; background: var(--remplir); accent-color: var(--accent); margin: 6px 0 4px; }
progress.jauge::-webkit-progress-bar { background: var(--remplir); } progress.jauge::-webkit-progress-value { background: var(--accent); } progress.jauge::-moz-progress-bar { background: var(--accent); }

dl.fiche-ia { margin: 14px 0; text-align: start; } dl.fiche-ia div { padding: 10px 0; border-bottom: .5px solid var(--sep); } dl.fiche-ia dt { font-weight: 600; font-size: 14px; } dl.fiche-ia dd { margin: 3px 0 0; font-size: 13.5px; color: var(--label-2); }

/* Lot F 1.0 : analyses des écritures et IA avancée */
.colonnes-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.colonne-demandes { display: grid; gap: 10px; min-width: 0; }
.colonne-demandes h3 { margin: 0; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.demande { background: var(--carte); border-radius: 16px; box-shadow: var(--ombre); padding: 12px 14px; display: grid; gap: 6px; border-inline-start: 4px solid var(--sep); min-width: 0; }
.demande p { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.demande.d-ajoutee { border-inline-start-color: var(--bleu); } .demande.d-retiree { border-inline-start-color: var(--accent); } .demande.d-modifiee { border-inline-start-color: var(--orange); } .demande.d-inchangee { border-inline-start-color: var(--vert); }
.demande .hypothese { font-size: 13px; color: var(--label-2); }
.tete-element { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.texte-diff { display: grid; gap: 8px; }
.texte-diff .para { background: var(--carte); border-radius: 14px; box-shadow: var(--ombre); padding: 10px 14px; border-inline-start: 4px solid var(--sep); }
.texte-diff .para p, .texte-diff details p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.texte-diff .p-ajoute { border-inline-start-color: var(--bleu); } .texte-diff .p-retire { border-inline-start-color: var(--accent); } .texte-diff .p-modifie { border-inline-start-color: var(--orange); }
.texte-diff details.inchanges { padding: 6px 14px; color: var(--label-2); font-size: 13px; }
.texte-diff details.inchanges summary { cursor: pointer; }
ins { background: rgba(0, 122, 255, .13); color: var(--bleu-txt); text-decoration: none; border-radius: 4px; padding: 0 2px; }
del { background: var(--accent-doux); color: var(--accent); border-radius: 4px; padding: 0 2px; }
.moyens { display: grid; gap: 12px; }
.moyen { display: grid; gap: 8px; padding: 14px 16px; }
.moyen > p { margin: 0; color: var(--label); }
.cases-moyen { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.cases-moyen dt { font: 600 12.5px var(--sys); color: var(--label-2); text-transform: uppercase; letter-spacing: .02em; }
.cases-moyen dd { margin: 4px 0 0; display: flex; gap: 6px; flex-wrap: wrap; font-size: 13.5px; color: var(--label-2); }
.formulaire-moyen .champ { margin-bottom: 8px; }
@media (max-width: 1100px) { .colonnes-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cases-moyen { grid-template-columns: 1fr; } .moyen .cap, .demande .cap { white-space: normal; height: auto; min-height: 22px; } }
.carte .titre-carte { flex-wrap: wrap; } /* pastille longue (« Simulateur de développement… ») sous le titre plutôt qu'au-delà de la carte */
@media (max-width: 760px) { .titre-carte .cap { white-space: normal; height: auto; min-height: 22px; } }

/* Lot G : pilotage (P23), météo de charge (P45), continuité (P44). */
.grille-3-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.chiffre-pilotage { display: grid; gap: 4px; color: var(--label); text-decoration: none; }
.chiffre-pilotage:hover { text-decoration: none; box-shadow: var(--ombre-flottante); }
.chiffre-pilotage .v { font: 700 34px/1.1 var(--sys-d); color: var(--accent); font-variant-numeric: tabular-nums; }
.graphe-tresorerie { width: 100%; height: auto; display: block; margin: 8px 0 12px; }
.graphe-tresorerie .barre { fill: var(--accent); } .graphe-tresorerie .barre.vide { fill: var(--remplir); }
.graphe-tresorerie text { font: 500 11px var(--sys); fill: var(--label-2); }
.meteo { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.meteo-s > a, .meteo-s > span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; color: var(--label); text-decoration: none; font-size: 12.5px; }
.meteo-s b { font-size: 13px; }
.meteo-s.v > * { background: rgba(52, 199, 89, .16); } .meteo-s.o > * { background: rgba(255, 149, 0, .18); }
.meteo-s.a > * { background: rgba(196, 22, 28, .14); color: var(--rouge-erreur); } .meteo-s.g > * { background: var(--remplir); }
.alerte-charge { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; font-size: 13.5px; } .alerte-charge .i { color: var(--rouge-erreur); flex: none; }
.pile-notes { display: grid; gap: 14px; }
.note-suppleance .titre-carte h3 { margin: 0; font-size: 15px; }
.kit-gav .contenu { max-width: 760px; margin: 0 auto; padding: 18px 16px 60px; }
.gav-fiche { display: grid; gap: 14px; } .kit-gav [hidden] { display: none !important; } .gav .case { margin: 6px 0; }
.gav .chrono-audience .temps.depasse { color: var(--rouge-erreur); }
@media (max-width: 760px) { .grille-3-chiffres { grid-template-columns: 1fr; } .meteo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Lot H (1.0) : Démarrer, reprise des données, agenda sur le téléphone, dépôt des courriels */
.etapes-demarrer li > div { flex: 1; min-width: 0; }
.etapes-demarrer li > .cap { min-width: 64px; justify-content: center; }
.lien-ics li { font: 500 13px var(--mono); overflow-wrap: anywhere; word-break: break-all; }
.carte .ref { overflow-wrap: anywhere; }
.rapport-import > div { background: var(--remplir); border-radius: 14px; padding: 12px 14px; }
.rapport-import b { display: block; font-size: 22px; }
.rapport-import small { color: var(--label-2); }
@media (max-width: 760px) { .etapes-demarrer li { flex-wrap: wrap; } }

/* ---------- Langue : arabe (de droite à gauche) ----------
   Le texte, les marges et les positions suivent le sens de lecture (propriétés logiques ci-dessus). Ici : ce qui ne se retourne pas tout seul.
   Polices : uniquement des polices du système compatibles avec l'arabe (rien n'est téléchargé : la CSP n'autorise que « self »). Chiffres latins (0-9). */
html[lang="ar"] { --sys: "SF Arabic", "Segoe UI", -apple-system, BlinkMacSystemFont, "Geeza Pro", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; --sys-d: var(--sys); }
html[lang="ar"] body { letter-spacing: 0; line-height: 1.6; }
html[lang="ar"] :is(h1, h2, h3, .widget-rouge h2, .entete h1, .section-t h2, .vitre h1, .feuille h2, .compl .v, .groupe-t, .surtitre, .surtitre-feuille) { letter-spacing: 0; text-transform: none; }
/* Flèches et chevrons : on les retourne */
[dir="rtl"] svg.chevron, [dir="rtl"] svg:has(> use[href="#i-chevron-d"]), [dir="rtl"] svg:has(> use[href="#i-chevron-g"]), [dir="rtl"] svg:has(> use[href="#i-envoyer"]), [dir="rtl"] svg:has(> use[href="#i-sortie"]),
[dir="rtl"] svg:has(> use[href="#i-play"]), [dir="rtl"] svg.fleche { transform: scaleX(-1); }
/* Listes déroulantes : la flèche passe du côté du début */
[dir="rtl"] select.saisie { background-position: 18px 19px, 13px 19px; }
[dir="rtl"] select.saisie.petite { background-position: 16px 12px, 11px 12px; }
[dir="rtl"] .ajout-sous select.saisie { background-position: 16px 15px, 11px 15px; }
/* Bloc FIN-7 : en interface arabe, le titre d'un rendez-vous, d'une échéance ou d'une tâche écrit en lettres latines (nom saisi, « Signature — Chraibi ») se lit de gauche à droite ; chaque ligne prend le sens de son texte (unicode-bidi: plaintext),
   donc l'ellipse tombe à la FIN du texte lu et non à son début (« …fa Développement »). L'alignement reste à droite, comme le reste de la page arabe. */
[dir="rtl"] .evt b, [dir="rtl"] .evt span, [dir="rtl"] .puce-j span { unicode-bidi: plaintext; text-align: right; }
/* Correctif après la mise en ligne : en droite à gauche, l'ellipse coupe le DÉBUT d'un nom latin placé après le mot arabe (« …eloppement ») ; le titre passe donc sur deux lignes au plus, sans ellipse au milieu d'un mot. */
[dir="rtl"] .evt b, [dir="rtl"] .puce-j span { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: clip; overflow-wrap: anywhere; }
[dir="rtl"] .puce-j, [dir="rtl"] .sem-puces .puce-j { height: auto; min-height: 22px; padding-block: 3px; line-height: 1.25; }
/* Adresses, codes, clés et numéros restent de gauche à droite, alignés sur le bord de lecture */
[dir="rtl"] :is(input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input.mono, .saisie-code, .mono, .cle, .codes li) { direction: ltr; }
[dir="rtl"] :is(input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input.mono, .cle) { text-align: right; }
html[lang="ar"] .saisie-code { letter-spacing: .45em; }
/* Bascule de langue */
.langue-bascule { margin: 0; text-align: center; }
.cote .cote-langue { padding: 6px 10px 2px; text-align: start; font-size: 13px; }

/* Fiche d'un bien : les libellés (même longs en arabe : « المشتملات », « أصل الملك », « التحملات ») restent sur une ligne, colonne alignée ; valeurs à côté ;
   un second titre dans une carte (« Dossiers » sous les propriétaires) respire. Sur téléphone, le libellé passe au-dessus de sa valeur. */
.liste-simple.fiche-champs { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; }
.liste-simple.fiche-champs li { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: baseline; }
.liste-simple.fiche-champs li > b { white-space: nowrap; color: var(--label-2); font-weight: 600; }
.liste-simple.fiche-champs li > bdi { min-width: 0; overflow-wrap: anywhere; }
.liste-simple.fiche-champs li > :only-child { grid-column: 1 / -1; }
@supports not (grid-template-columns: subgrid) {
  .liste-simple.fiche-champs { display: block; }
  .liste-simple.fiche-champs li { grid-template-columns: max-content minmax(0, 1fr); column-gap: 18px; }
}
@media (max-width: 520px) {
  .liste-simple.fiche-champs { grid-template-columns: minmax(0, 1fr); }
  .liste-simple.fiche-champs li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .liste-simple.fiche-champs li > b { white-space: normal; }
}
.carte .titre-suivant { margin-top: 26px; }

/* Lot B1 : lecture d'un projet d'acte, comparaison de versions */
.projet-lecture { max-width: 70ch; margin-inline: auto; padding: 8px 4px; line-height: 1.8; }
.projet-lecture[lang="ar"] { font-size: 1.1em; line-height: 2; }
.projet-lecture p { margin: 0 0 .7em; text-align: start; }
.diff-plus, .diff-moins { margin: 2px 0; padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.diff-plus { background: rgba(52, 199, 89, .12); }
.diff-moins { background: rgba(196, 22, 28, .08); text-decoration: line-through; text-decoration-color: rgba(196, 22, 28, .4); }

/* Identifiants à chiffres et séparateurs (numéro de dossier « 2026-0013 », titre foncier, référence) : toujours isolés de gauche à droite, même dans un texte arabe. */
.ref, .mono, bdi[dir="ltr"] { unicode-bidi: isolate; direction: ltr; }

/* ---- Lot C : décompte de frais d'acte (tableau aux trois colonnes de destinataires), pénalités, formulaires à sections repliables */
.decompte-ecran { padding: 4px 2px; }
.decompte-ecran .impr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 8px 0; }
.decompte-ecran .impr-table th, .decompte-ecran .impr-table td { padding: 8px 6px; text-align: start; border-bottom: .5px solid var(--sep); vertical-align: top; }
.decompte-ecran .impr-table thead th { font-size: 12px; font-weight: 600; color: var(--label-2); text-transform: uppercase; letter-spacing: .03em; }
.decompte-ecran .impr-table td.m { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.decompte-ecran .impr-table th:first-child, .decompte-ecran .impr-table td:first-child { min-width: 148px; } /* sans cela, les articles de loi se coupent tous les douze caractères dans la colonne étroite du dossier */
.decompte-ecran .impr-table small { display: block; color: var(--label-2); font-size: 12px; }
.decompte-ecran .impr-table tr.sans-montant td { background: rgba(196, 22, 28, .05); }
.decompte-ecran .impr-table tfoot td { font-weight: 600; border-bottom: 0; }
.decompte-ecran .decompte-avert, .decompte-ecran .decompte-valeurs { margin: 6px 0; padding-inline-start: 20px; font-size: 13px; color: var(--label-2); }
.decompte-ecran .decompte-manques { color: var(--rouge, #c4161c); }
.decompte-ecran h3 { font-size: 14px; margin: 12px 0 4px; }
.formulaire-carte details { margin: 8px 0; padding: 4px 0; border-top: .5px solid var(--sep); }
.formulaire-carte details > summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.formulaire-carte details[open] > summary { margin-bottom: 8px; }
.groupe details.modifier { margin: 6px 0 0; }
.groupe details.modifier > summary { cursor: pointer; color: var(--accent); font-size: 13px; }

/* ---- lot F : dépôt de pièces depuis le téléphone (page mobile sans application) ---- */
.depot-mobile .guide { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.depot-mobile .cadre-photo { flex: 0 0 150px; width: 150px; height: 100px; border: 3px dashed var(--accent); border-radius: 12px; position: relative; background: var(--remplir); }
.depot-mobile .cadre-photo::before, .depot-mobile .cadre-photo::after { content: ""; position: absolute; width: 18px; height: 18px; border: 4px solid var(--accent); }
.depot-mobile .cadre-photo::before { top: -4px; inset-inline-start: -4px; border-width: 4px 0 0 4px; }
.depot-mobile .cadre-photo::after { bottom: -4px; inset-inline-end: -4px; border-width: 0 4px 4px 0; }
.depot-mobile .consignes { margin: 0; padding-inline-start: 20px; flex: 1 1 220px; }
.depot-mobile .consignes li { margin: 4px 0; }
.depot-mobile .autre-langue { margin-top: 10px; border-top: .5px solid var(--sep); padding-top: 8px; }
.depot-mobile .autre-langue > summary { cursor: pointer; font-weight: 600; }
.depot-mobile .depot-photo { display: grid; gap: 10px; margin-top: 10px; }
.depot-mobile .depot-photo input[type=file] { font: inherit; width: 100%; padding: 14px; border: 2px dashed var(--accent); border-radius: 14px; background: var(--remplir); min-height: 56px; }
.depot-mobile .depot-photo .btn { height: 56px; font-size: 17px; width: 100%; }
.depot-mobile .accuse { border: 2px solid var(--vert, #34C759); }
.depot-mobile .accuse .numero { font: 700 22px var(--sys-d); }
@media (max-width: 640px) { .depot-mobile .btn { min-height: 48px; } }
/* lot G1, bloc G1d : retrait des branches de l'arbre des héritiers (jamais de style en ligne : la politique de sécurité l'interdit) */
.arbre-n0 { padding-inline-start: 8px; }
.arbre-n1 { padding-inline-start: 26px; }
.arbre-n2 { padding-inline-start: 44px; }
.arbre-n3 { padding-inline-start: 62px; }
.arbre-n4 { padding-inline-start: 80px; }
.arbre-n5 { padding-inline-start: 98px; }
.arbre-n6 { padding-inline-start: 116px; }
.arbre-n7 { padding-inline-start: 134px; }
.arbre-n8 { padding-inline-start: 152px; }

/* Lot H1 : bloc intérieur d'une carte (mission de la feuille du jour) */
.carte.interieure { margin-block: 12px; padding: 12px; border: .5px solid var(--sep); border-radius: 12px; box-shadow: none; }
