/* OSINT — reprend le look de Cascavelle : fond mesh pastel, cartes verre clair, lagon #2D918B */
:root {
  --lagon: #2d918b;
  --lagon-fonce: #236f6a;
  --orange: #ec5b13;
  --fond: #eef4f6;
  --texte: #0f172a;
  --texte-2: #475569;
  --bord: rgba(15, 23, 42, 0.10);
  --verre: rgba(255, 255, 255, 0.72);
  --rayon: 12px;
  --faible-fond: #fde2e1; --faible-texte: #9b1c1c;
  --moyenne-fond: #fef0c7; --moyenne-texte: #8a4b00;
  --forte-fond: #d1f4e6; --forte-texte: #065f46;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; overscroll-behavior-y: contain; }
body {
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.45; color: var(--texte);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  background-color: var(--fond);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(45, 145, 139, 0.28), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(239, 138, 60, 0.22), transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(125, 196, 209, 0.30), transparent 50%);
  background-repeat: no-repeat;
}
h1 { font-size: 1.35rem; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 1.15rem; margin: 0 0 10px; font-weight: 700; }
h3 { font-size: 1rem; margin: 16px 0 8px; font-weight: 700; }
a { color: var(--lagon-fonce); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.entete {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 960px; margin: 0 auto; padding: 8px 16px;
}
.marque { font-weight: 800; font-size: 1.2rem; color: var(--texte); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.page { max-width: 960px; margin: 0 auto; padding: 0 16px 32px; }
.carte {
  background: var(--verre);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  border-radius: var(--rayon); padding: 16px; margin-bottom: 16px;
}
.carte-connexion { max-width: 420px; margin: 48px auto; }

label { display: block; font-weight: 600; font-size: 0.95rem; margin: 12px 0 4px; }
input, textarea, select {
  width: 100%; font: inherit; font-size: 16px; color: var(--texte);
  min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--bord); border-radius: 10px; background: #fff;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--lagon); outline-offset: 1px; }

.ligne-type { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.ligne-type select { width: auto; flex: 1 1 160px; }
.detecte { color: var(--texte-2); font-size: 0.95rem; flex: 1 1 160px; }

.btn {
  font: inherit; font-weight: 700; min-height: 44px; padding: 10px 16px;
  border-radius: var(--rayon); border: 1px solid transparent; cursor: pointer;
}
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-primaire { background: var(--lagon); color: #fff; }
.btn-primaire:hover { background: var(--lagon-fonce); }
.btn-large { width: 100%; margin-top: 16px; }
.btn-discret { background: rgba(255, 255, 255, 0.8); color: var(--texte); border-color: var(--bord); }
.btn-creuser { background: #fff; color: var(--lagon-fonce); border-color: var(--lagon); padding: 8px 12px; white-space: nowrap; }

.msg { margin: 12px 0 0; color: var(--texte-2); }
.msg-erreur { color: #9b1c1c; font-weight: 600; }
.sous-texte { color: var(--texte-2); margin: 4px 0; overflow-wrap: anywhere; }
.bandeau { border-radius: 10px; padding: 10px 12px; margin: 10px 0; font-weight: 600; }
.bandeau-alerte { background: #fff1e6; color: #9a3412; border: 1px solid #fdba74; }
.bandeau-info { background: #e6f5f4; color: var(--lagon-fonce); border: 1px solid #9fd6d2; }

.liste-dossiers { list-style: none; margin: 0; padding: 0; }
.liste-dossiers li + li { border-top: 1px solid var(--bord); }
.liste-dossiers a {
  display: block; padding: 12px 4px; min-height: 44px; color: var(--texte); text-decoration: none;
}
.liste-dossiers .d-titre { font-weight: 700; overflow-wrap: anywhere; }
.liste-dossiers .d-info { color: var(--texte-2); font-size: 0.9rem; overflow-wrap: anywhere; }
.pastille { display: inline-block; white-space: nowrap; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #e6f5f4; color: var(--lagon-fonce); font-size: 0.8rem; font-weight: 700; }

.retour { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; margin-bottom: 4px; }

.compteurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.compteurs div { background: #fff; border: 1px solid var(--bord); border-radius: 10px; padding: 8px; text-align: center; }
.compteurs dt { font-size: 0.8rem; color: var(--texte-2); }
.compteurs dd { margin: 0; font-size: 1.2rem; font-weight: 800; }
@media (min-width: 640px) { .compteurs { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.groupe h2 { text-transform: capitalize; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--bord); vertical-align: middle; }
th { font-size: 0.8rem; color: var(--texte-2); font-weight: 700; white-space: nowrap; }
td.num { text-align: center; white-space: nowrap; }
tbody tr { cursor: pointer; }
tbody tr:hover, tbody tr.choisie { background: rgba(45, 145, 139, 0.10); }
tbody tr:focus { outline: 2px solid var(--lagon); outline-offset: -2px; }
.valeur { font-weight: 600; overflow-wrap: anywhere; word-break: break-word; min-width: 140px; width: 100%; }
.th-court { display: none; }
.action { margin-top: 6px; font-weight: 400; }
.action:empty { display: none; }
.action .btn-creuser { min-height: 44px; }
@media (max-width: 600px) {
  .th-long { display: none; }
  .th-court { display: inline; }
  th, td { padding: 8px 4px; }
  .valeur { min-width: 0; }
  .badge { padding: 2px 6px; }
  .groupe.carte { padding: 12px; }
  .action .etat-creuser { display: block; white-space: normal; }
}
.libelle { display: block; font-weight: 400; font-size: 0.85rem; color: var(--texte-2); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.badge-faible { background: var(--faible-fond); color: var(--faible-texte); }
.badge-moyenne { background: var(--moyenne-fond); color: var(--moyenne-texte); }
.badge-forte { background: var(--forte-fond); color: var(--forte-texte); }

.panneau-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.panneau-tete h2 { overflow-wrap: anywhere; margin: 8px 0; }
.liste-simple { list-style: none; margin: 0; padding: 0; }
.liste-simple li { padding: 8px 0; border-bottom: 1px solid var(--bord); overflow-wrap: anywhere; }
.liste-simple .connecteur { font-weight: 700; }
.liste-simple .date { display: block; color: var(--texte-2); font-size: 0.85rem; }
.liste-simple a { display: inline-block; min-height: 32px; padding: 4px 0; }
.lien-entite { font: inherit; background: none; border: none; color: var(--lagon-fonce); text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 44px; text-align: left; overflow-wrap: anywhere; }
details { margin-top: 4px; }
summary { cursor: pointer; color: var(--texte-2); font-size: 0.85rem; min-height: 32px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.8rem; background: #fff; border: 1px solid var(--bord); border-radius: 8px; padding: 8px; max-height: 260px; overflow: auto; }
.etat-creuser { color: var(--texte-2); font-size: 0.85rem; white-space: nowrap; }
.resultat-creuser { display: block; margin-top: 4px; color: var(--lagon-fonce); font-size: 0.85rem; font-weight: 600; white-space: normal; }

/* ---------- Fiche d'identité (vue dossier) ---------- */
:root { --pt-faible: #e5484d; --pt-moyenne: #f0a020; --pt-forte: #16a37f; --n-faible: #ef6b6b; --n-moyenne: #f5b83d; --n-forte: #2fb585; }
.niv-faible { background: var(--faible-fond); color: var(--faible-texte); }
.niv-moyenne { background: var(--moyenne-fond); color: var(--moyenne-texte); }
.niv-forte { background: var(--forte-fond); color: var(--forte-texte); }
.fi-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lagon-fonce); font-weight: 800; }
.fi-titre { font-size: 1.5rem; font-weight: 800; margin: 2px 0 12px; overflow-wrap: anywhere; }
.fi-ligne { padding: 10px 0; border-top: 1px solid var(--bord); }
.fi-ligne h3 { margin: 0 0 6px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--texte-2); }
.fi-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.fi-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; max-width: 100%; min-width: 0; background: #fff; border: 1px solid var(--bord); border-radius: 18px; padding: 6px 11px; font-size: 0.92rem; }
.fi-pill .fi-v { overflow-wrap: anywhere; font-weight: 600; min-width: 0; }
.fi-pill small { color: var(--texte-2); white-space: nowrap; font-size: 0.74rem; }
.fi-pill .fi-action { margin: 0; }
.fi-pill .btn-creuser { min-height: 38px; padding: 4px 12px; font-size: 0.85rem; }
.fi-pill .resultat-creuser { margin: 0; }
.fi-pill.choisie, .fi-tuile.choisie, .fi-verif-item.choisie { box-shadow: 0 0 0 2px var(--lagon); }
.fi-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--pt-faible); }
.fi-dot-moyenne { background: var(--pt-moyenne); }
.fi-dot-forte { background: var(--pt-forte); }
.fi-resume { margin: 12px 0 0; padding: 12px; border-radius: 10px; background: rgba(45, 145, 139, 0.12); color: var(--lagon-fonce); font-weight: 600; }
.btn-large.fi-btn-carte { margin: 0 0 8px; }
.fi-section { margin-top: 24px; }
.fi-frise { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.fi-frise::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: rgba(45, 145, 139, 0.35); }
.fi-frise li { position: relative; padding: 0 0 14px 30px; }
.fi-frise li::before { content: ""; position: absolute; left: 5px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--lagon); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--lagon); }
.fi-frise li.futur::before { background: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.fi-dt { font-weight: 700; }
.fi-qui { color: var(--texte-2); font-size: 0.9rem; overflow-wrap: anywhere; }
.carte.fi-note { padding: 14px; color: var(--texte-2); font-style: italic; margin: 0; }
.fi-note-courte { color: var(--texte-2); font-style: italic; margin: 10px 0; }
.fi-aide { color: var(--texte-2); font-size: 0.85rem; font-style: italic; margin: 8px 0 0; }
.fi-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.carte.fi-tuile { padding: 0; margin: 0; overflow: hidden; min-width: 0; }
.fi-tuile.ouvert { grid-column: 1 / -1; }
.fi-tuile-tete { width: 100%; min-height: 76px; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.fi-tuile-tete:focus-visible { outline: 2px solid var(--lagon); outline-offset: -2px; }
.fi-tuile-txt { min-width: 0; }
.fi-ini { flex: none; width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.fi-c0 { background: #2d918b; } .fi-c1 { background: #ec5b13; } .fi-c2 { background: #6d5bd0; } .fi-c3 { background: #d1478b; }
.fi-c4 { background: #3b82c4; } .fi-c5 { background: #8a6d1d; } .fi-c6 { background: #0f8a5f; }
.fi-nom { display: block; font-weight: 700; overflow-wrap: anywhere; line-height: 1.2; }
.fi-lab { display: inline-block; margin-top: 4px; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.fi-corps { padding: 0 12px 12px; border-top: 1px solid var(--bord); font-size: 0.92rem; }
.fi-corps dl { margin: 10px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
.fi-corps dt { color: var(--texte-2); }
.fi-corps dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.fi-ouvrir { margin: 6px 0; overflow-wrap: anywhere; }
.fi-url { color: var(--texte-2); font-size: 0.85rem; overflow-wrap: anywhere; word-break: break-all; }
.fi-lien { color: var(--lagon-fonce); font-weight: 700; display: inline-flex; align-items: center; min-height: 40px; overflow-wrap: anywhere; word-break: break-all; }
.fi-alerte { margin: 10px 0; padding: 8px 10px; border-radius: 8px; background: var(--moyenne-fond); color: var(--moyenne-texte); font-weight: 600; }
.fi-src { color: var(--texte-2); font-size: 0.85rem; margin: 6px 0; overflow-wrap: anywhere; }
.fi-verif { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.carte.fi-verif-item { padding: 12px; margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.fi-verif-item .fi-dot { margin-top: 6px; }
.fi-verif-item > div { min-width: 0; }
.fi-astuce { color: var(--texte-2); font-size: 0.9rem; }
.fi-plus { margin-top: 8px; }
@media (min-width: 700px) { .fi-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Carte des liens (plein écran) ---------- */
body.lc-actif { overflow: hidden; }
.lc {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background-color: var(--fond);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(45, 145, 139, 0.28), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(239, 138, 60, 0.22), transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(125, 196, 209, 0.30), transparent 50%);
}
.lc-barre { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); }
.lc-barre h2 { margin: 0; font-size: 1.1rem; }
.lc-rond { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--bord); background: rgba(255, 255, 255, 0.92); color: var(--lagon-fonce); font: inherit; font-weight: 800; font-size: 1.3rem; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.lc-zone { position: relative; flex: 1 1 auto; min-height: 0; margin: 0 8px; overflow: hidden; background: var(--verre); border: 1px solid var(--bord); border-radius: var(--rayon); -webkit-user-select: none; user-select: none; }
.lc-svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.lc-zoom { position: absolute; right: 8px; bottom: 8px; display: flex; flex-direction: column; gap: 6px; }
.lc-recentrer { position: absolute; left: 8px; bottom: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--bord); background: rgba(255, 255, 255, 0.92); color: var(--lagon-fonce); font: inherit; font-weight: 800; font-size: 0.9rem; border-radius: 999px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.lc-legende { position: absolute; left: 8px; top: 8px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--bord); border-radius: 10px; padding: 6px 9px; font-size: 0.72rem; line-height: 1.5; pointer-events: none; }
.lc-legende i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 3px solid #94a3b8; margin-right: 5px; vertical-align: -2px; background: #fff; }
.lc-legende i.lc-l-faible { border-color: var(--n-faible); }
.lc-legende i.lc-l-moyenne { border-color: var(--n-moyenne); }
.lc-legende i.lc-l-forte { border-color: var(--n-forte); }
.lc-legende s { display: inline-block; width: 22px; border-top: 2px dashed #64748b; margin-right: 5px; vertical-align: 3px; }
.lc-compte { margin: 8px; padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); font-weight: 700; color: var(--lagon-fonce); text-align: center; background: var(--verre); border: 1px solid var(--bord); border-radius: var(--rayon); overflow-wrap: anywhere; }
.lc-anneau { fill: none; stroke: rgba(45, 145, 139, 0.25); stroke-dasharray: 2 6; }
.lc-lien { stroke: #94a3b8; stroke-width: 1.6; }
.lc-pointille { stroke-dasharray: 5 4; opacity: 0.8; }
.lc-noeud { cursor: pointer; outline: none; }
.lc-tap { fill: transparent; }
.lc-c { fill: #fff; stroke: #94a3b8; stroke-width: 4; }
.lc-c.lc-graine { stroke-width: 6; }
.lc-c.lc-n-faible { stroke: var(--n-faible); }
.lc-c.lc-n-moyenne { stroke: var(--n-moyenne); }
.lc-c.lc-n-forte { stroke: var(--n-forte); }
.lc-recherche { opacity: 0.6; }
.lc-sel .lc-c, .lc-noeud:focus-visible .lc-c { filter: drop-shadow(0 0 5px rgba(45, 145, 139, 0.9)); }
.lc-emoji { font-size: 20px; text-anchor: middle; pointer-events: none; }
.lc-emoji-gros { font-size: 28px; }
.lc-lbl { font-size: 11.5px; fill: #0f172a; text-anchor: middle; paint-order: stroke; stroke: rgba(255, 255, 255, 0.85); stroke-width: 3px; pointer-events: none; }
.lc-feuille { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-width: 700px; margin: 0 auto; max-height: 72%; overflow: auto; overscroll-behavior: contain; background: rgba(255, 255, 255, 0.97); border-radius: 18px 18px 0 0; border: 1px solid var(--bord); box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.18); padding: 14px 16px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.lc-feuille-tete { display: flex; gap: 10px; align-items: flex-start; }
.lc-feuille h3 { margin: 0; font-size: 1.15rem; overflow-wrap: anywhere; flex: 1; min-width: 0; }
.lc-feuille h4 { margin: 12px 0 4px; font-size: 0.9rem; }
.lc-val { font-size: 0.85rem; color: var(--texte-2); overflow-wrap: anywhere; word-break: break-all; margin: 4px 0; }
.lc-conf { display: inline-block; font-size: 0.76rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin: 6px 0; }
.lc-faits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.lc-fait { background: rgba(45, 145, 139, 0.10); border: 1px solid rgba(45, 145, 139, 0.18); border-radius: 8px; padding: 4px 8px; font-size: 0.85rem; overflow-wrap: anywhere; }
.lc-fait small { display: block; font-size: 0.68rem; color: var(--texte-2); text-transform: uppercase; }
.lc-voisins { list-style: none; margin: 0; padding: 0; }
.lc-voisins .lien-entite { min-height: 40px; padding: 6px 0; }
.fi-pill small.fi-etat { font-style: italic; white-space: normal; }
.fi-chips { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; min-width: 0; }
.fi-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; max-width: 100%; min-width: 0; background: rgba(45, 145, 139, 0.10); border: 1px solid rgba(45, 145, 139, 0.18); border-radius: 8px; padding: 2px 7px; font-size: 0.78rem; overflow-wrap: anywhere; }
.fi-chip-l { color: var(--texte-2); font-size: 0.7rem; }
.fi-chip-v { font-weight: 600; }

/* ---------- Verdict « C'est lui / Pas lui » ---------- */
.verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0; min-width: 0; }
.verdict.verdict-compact { margin: 0; gap: 4px; }
.verdict.en-attente { opacity: 0.6; }
.btn-verdict { font: inherit; font-weight: 700; font-size: 0.9rem; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--bord); background: #fff; cursor: pointer; }
.btn-verdict-ok { color: var(--forte-texte); border-color: var(--pt-forte); }
.btn-verdict-non { color: var(--faible-texte); border-color: var(--pt-faible); }
.verdict-compact .btn-verdict { min-height: 32px; min-width: 32px; padding: 2px 8px; font-size: 0.85rem; }
.btn-verdict:disabled, .verdict-annuler:disabled { opacity: 0.5; cursor: default; }
.verdict-badge { display: inline-block; font-size: 0.78rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.verdict-ok { background: var(--forte-fond); color: var(--forte-texte); }
.verdict-non { background: #e2e8f0; color: var(--texte-2); }
.fi-lab.verdict-ok { margin-left: 4px; }
.verdict-annuler { font: inherit; font-size: 0.82rem; background: none; border: 0; padding: 4px 2px; min-height: 32px; color: var(--lagon-fonce); text-decoration: underline; cursor: pointer; }
.verdict .msg-erreur { flex-basis: 100%; margin: 0; }
.carte.fi-ecartes { margin: 24px 0 0; padding: 0; }
.fi-ecartes > summary { display: flex; align-items: center; padding: 12px 16px; min-height: 44px; font-weight: 700; font-size: 1rem; color: var(--texte-2); }
.fi-ecartes-liste { list-style: none; margin: 0; padding: 0 16px 10px; }
.fi-ecarte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 8px 0; border-top: 1px solid var(--bord); }
.fi-ecarte-txt { min-width: 0; flex: 1 1 160px; }
.fi-ecarte-txt small { display: block; color: var(--texte-2); font-size: 0.82rem; overflow-wrap: anywhere; }
.lc-confirme .lc-c { stroke: var(--n-forte); stroke-width: 6; }

/* ---------- Pastilles avec ✓ ✕ : texte à gauche (peut passer à la ligne), boutons à droite sur la 1re ligne ---------- */
.fi-pill-txt { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; min-width: 0; }
.fi-pill.fi-pill-v { align-items: flex-start; padding: 3px 3px 3px 11px; }
.fi-pill-v .fi-pill-txt { flex: 0 1 auto; min-height: 32px; align-content: center; }
.fi-pill-v > .verdict { flex: 0 1 auto; max-width: 100%; margin-left: auto; }
.fi-pill-v > .fi-action, .fi-pill-v > .fi-etat { align-self: center; }
@media (max-width: 699px) {
  .fi-pill.fi-pill-v { display: flex; width: 100%; }
  .fi-pill-v .fi-pill-txt { flex: 1 1 0; }
  .fi-pill-v > .fi-action, .fi-pill-v > .fi-etat { flex-basis: 100%; }
  .fi-pill-v > .fi-chips { padding-right: 8px; }
}

/* ---------- Liste des dossiers d'abord, formulaire repliable ---------- */
.btn-large.btn-nouveau { margin: 0 0 8px; }
.carte-nouveau { scroll-margin-top: 8px; }
.carte-nouveau h2 { margin-bottom: 0; }
