/* Constats : en-tête, barre de filtres collée sous le menu (sources, statuts, responsable, recherche), groupes de lignes. Une ligne tient sur une rangée :
   statut, titre (et sa prochaine étape), montant, responsable, étapes et commentaires. La couleur de la nature est un
   simple point devant le titre ; celle du statut, une pastille à gauche. Puis le mode réunion, en plein écran. */
.li-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; padding-block: clamp(1.5rem, 4vh, 2.5rem) 1.1rem; }
.li-tete h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.li-chapo { margin-top: 0.4rem; max-width: 46rem; font-size: 1.02rem; color: var(--texte); }
.li-actions { display: grid; justify-items: end; gap: 0.3rem; }
.li-outils { position: sticky; top: calc(var(--barre-h) + var(--menu-h, 7rem) - 1px); z-index: 15; background: color-mix(in srgb, var(--fond) 96%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.li-outils-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; padding-block: 0.7rem; }
.filtre { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--muet); }
.filtre-b { display: inline-flex; align-items: center; justify-content: space-between; gap: 0.6rem; min-width: 7.5rem; max-width: 12rem; padding: 0.55rem 0.8rem 0.55rem 0.9rem; border-radius: var(--rayon-p); font-size: 0.92rem; font-weight: 700; color: var(--encre); background: var(--carte); box-shadow: inset 0 0 0 1px var(--trait-fort); transition: background 0.15s, box-shadow 0.15s; }
.filtre-b > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filtre-b:hover, .filtre-b[aria-expanded="true"] { background: var(--survol); }
.filtre.actif .filtre-b { background: var(--ambre); color: #1d2b26; box-shadow: none; }
.li-outils .champ { flex: 0 1 10rem; min-width: 7rem; padding-block: 0.5rem; font-size: 0.88rem; border-radius: var(--rayon-p); }
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muet) 50%), linear-gradient(135deg, var(--muet) 50%, transparent 50%);
  background-position: calc(100% - 0.95rem) 55%, calc(100% - 0.65rem) 55%; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; }
.li-compte { display: inline-flex; align-items: center; gap: 0.7rem; white-space: nowrap; font-size: 0.85rem; color: var(--muet); margin-left: auto; }
.li-effacer { margin-left: 0.7rem; font-size: 0.85rem; font-weight: 600; color: var(--vert); }
.li-effacer:hover { text-decoration: underline; }
.puce.actif { background: var(--encre); color: var(--carte); box-shadow: none; }

.li-corps { padding-block: 1.25rem 4rem; display: grid; gap: 2rem; }
.li-groupe { display: grid; }
.li-g-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.5rem 2rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--encre); }
.li-g-tete h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -0.02em; }
.li-g-tete p { font-size: 0.88rem; color: var(--muet); }
.li-g-droite { display: grid; justify-items: end; gap: 0.25rem; min-width: 12rem; }
.li-g-total { font-size: 1rem !important; font-weight: 700; color: var(--encre) !important; }
.li-g-droite .barre-st { width: 12rem; }

.li-lignes { display: grid; }
.li-l { display: grid; grid-template-columns: 8.4rem minmax(0, 1fr) 7.5rem 10.5rem 4.5rem; gap: 0 1rem; align-items: center; padding: 0.45rem 0.25rem; border-bottom: 1px solid var(--trait); transition: background 0.15s; }
.li-l:hover { background: var(--survol); }
.li-l.courante { background: var(--menthe); box-shadow: inset 3px 0 0 var(--ambre); }
.li-l > .statut { justify-self: start; }
.li-t { min-width: 0; display: grid; gap: 0.1rem; padding: 0.25rem 0; text-align: left; }
.li-titre { display: flex; align-items: baseline; gap: 0.55rem; font-size: 0.98rem; font-weight: 600; line-height: 1.35; color: var(--encre); }
.li-nat { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--p); transform: translateY(-0.1rem); }
.li-t small { padding-left: 1.05rem; font-size: 0.8rem; line-height: 1.35; color: var(--muet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-t:hover .li-titre { text-decoration: underline; text-decoration-color: var(--trait-fort); text-underline-offset: 0.2em; }
.li-l.st-fait .li-titre, .li-l.st-ecarte .li-titre { color: var(--muet); }
.li-l.st-ecarte .li-titre { text-decoration: line-through; text-decoration-color: var(--trait-fort); }
.li-m { text-align: right; font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; color: var(--p); white-space: nowrap; }
.li-m.hors { color: var(--muet); font-weight: 600; }
.li-suivi { display: flex; justify-content: flex-end; gap: 0.5rem; font-size: 0.8rem; color: var(--muet); }
.li-et { padding: 0.05rem 0.4rem; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--trait-fort); }
.li-et.toutes { color: var(--vert); box-shadow: inset 0 0 0 1px var(--vert); }
.li-com::before { content: ""; display: inline-block; width: 0.7rem; height: 0.55rem; margin-right: 0.25rem; border: 1.5px solid currentColor; border-radius: 3px 3px 3px 0; vertical-align: -0.05rem; }
.li-vide { padding: 3rem 0; color: var(--muet); text-align: center; }
.li-note { font-size: 0.85rem; color: var(--muet); max-width: 52rem; }
@media (max-width: 1000px) {
  .li-l { grid-template-columns: 8rem minmax(0, 1fr) 7rem; grid-template-areas: "s t m" ". q x"; row-gap: 0.15rem; }
  .li-l > .statut { grid-area: s; } .li-t { grid-area: t; } .li-m { grid-area: m; } .li-qui { grid-area: q; } .li-suivi { grid-area: x; }
}
@media (max-width: 640px) {
  .li-actions { justify-items: start; }
  .li-l { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "m m" "s q" "x x"; padding-block: 0.7rem; gap: 0.3rem 0.5rem; }
  .li-m { text-align: left; padding-left: 1.05rem; }
  .li-qui { justify-self: end; }
  .li-suivi { justify-content: flex-start; padding-left: 1.05rem; }
  .li-suivi:empty { display: none; }
  .li-t small { white-space: normal; }
  .li-g-droite { justify-items: start; }
  .li-compte { margin-left: 0; }
}

/* ---------- Mode réunion : une ligne, en grand ---------- */
body.en-reunion { overflow: hidden; }
.reu { position: fixed; inset: 0; z-index: 45; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--fond); }
.reu-tete { display: flex; align-items: center; gap: 1.25rem; padding: 0.8rem var(--gouttiere); border-bottom: 1px solid var(--trait); background: var(--carte); }
.reu-pos { font-weight: 800; color: var(--encre); white-space: nowrap; }
.reu-prog { flex: 0 1 16rem; height: 0.35rem; border-radius: 999px; background: var(--trait); overflow: hidden; }
.reu-prog i { display: block; height: 100%; background: var(--ambre); transition: width 0.3s; }
.reu-aide { flex: 1; font-size: 0.82rem; color: var(--muet); text-align: right; }
.reu-x { padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--trait-fort); }
.reu-x:hover { background: var(--survol); }
.reu-scene { overflow-y: auto; display: grid; align-content: center; gap: clamp(0.8rem, 2vh, 1.4rem); width: 100%; max-width: 86rem; margin-inline: auto; padding: clamp(1.5rem, 4vh, 3rem) var(--gouttiere); }
.reu-scene.entre { animation: reu-entre 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reu-scene.entre.arriere { animation-name: reu-entre-arriere; }
@keyframes reu-entre { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes reu-entre-arriere { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.reu-sur { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--p); }
.reu-titre { font-size: clamp(1.8rem, 3.6vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 26em; }
.reu-corps { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; margin-top: 0.5rem; }
.reu-gauche { display: grid; gap: 1rem; }
.reu-montant { font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; color: var(--p); white-space: nowrap; }
.reu-m-sous { font-size: 1rem; color: var(--muet); }
.reu-bref { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--encre); max-width: 44rem; }
.reu-etapes { display: grid; gap: 0.35rem; }
.reu-etapes li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.4; color: var(--encre); }
.reu-etapes li.faite > span:last-child { color: var(--muet); text-decoration: line-through; }
.reu-droite { display: grid; gap: 1rem; }
.reu-statuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.reu-statuts button { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1rem; border-radius: 12px; font-size: 1.05rem; font-weight: 700; color: var(--texte); background: var(--carte); box-shadow: inset 0 0 0 1px var(--trait); text-align: left; }
.reu-statuts button i { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--s); }
.reu-statuts button.st-a_verifier i { background: transparent; box-shadow: inset 0 0 0 2.5px var(--s); }
.reu-statuts button:hover { box-shadow: inset 0 0 0 1.5px var(--trait-fort); }
.reu-statuts button[aria-pressed="true"] { color: var(--encre); background: color-mix(in srgb, var(--s) 20%, var(--carte)); box-shadow: inset 0 0 0 2.5px var(--s); }
.reu-qui { justify-self: start; padding: 0.4rem 0.8rem 0.4rem 0.4rem; font-size: 1rem; box-shadow: inset 0 0 0 1px var(--trait-fort); }
.reu-qui .av { width: 2rem; height: 2rem; font-size: 0.75rem; }
.reu-fil { display: grid; gap: 0.5rem; font-size: 0.92rem; color: var(--texte); }
.reu-fil b { color: var(--encre); }
.reu-com { display: flex; gap: 0.5rem; }
.reu-com input { flex: 1; min-width: 0; font: inherit; color: var(--encre); padding: 0.7rem 0.9rem; border: 0; border-radius: 10px; background: var(--carte); box-shadow: inset 0 0 0 1px var(--trait-fort); }
.reu-com input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--vert); }
.reu-pied { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem var(--gouttiere) calc(0.9rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--trait); background: var(--carte); }
.reu-pied .muet { font-size: 0.88rem; text-align: center; }
.reu-pied button:disabled { opacity: 0.35; cursor: default; }
@media (max-width: 900px) {
  .reu-corps { grid-template-columns: minmax(0, 1fr); }
  .reu-aide { display: none; }
  .reu-prog { flex: 1; }
  .reu-scene { align-content: start; }
}
@media (max-width: 520px) { .reu-pied .muet { display: none; } }


.li-filtre-g { display: inline-flex; align-items: center; gap: 0.6rem; }
/* Fichier non fourni dans le menu Fichier : grisé, avec un cadenas. */
.menu button.inactif { color: var(--muet); }
.li-cadenas { flex: none; width: 0.8rem; height: 0.8rem; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
