/* =====================================================================
   vues/matiere.css — la page Matière (/matiere)
   Accueil et navigation v2 §7.2 (lot 4) : le plan section par section,
   croisé avec la chaîne. Des états en clair, aucune couleur de verdict :
   la règle est calme, seul « à faire » se distingue par le poids du texte.
   ===================================================================== */
.mat-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-start; justify-content: space-between; }
.mat-choix { min-width: min(100%, 260px); }
.mat-entete { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; width: 100%; font-size: 14px; }
.mat-entete dt { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.mat-entete dd { margin: 0; }
.mat-liens { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.mat-h { font-size: 16px; margin: 18px 0 8px; }
.mat-leg { font-size: 12.5px; margin: 0 0 8px; }
.mat-ecarts ul { margin: 0; padding-left: 18px; }
.mat-sections { display: flex; flex-direction: column; gap: 8px; }
.mat-sec { padding: 10px 12px; }
.mat-sec-sous { margin-left: 16px; }
.mat-sec-s { cursor: pointer; min-height: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.mat-sec-t { font-weight: 600; }
.mat-sec-r { font-size: 12.5px; }
.mat-cells { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.mat-cell { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--card); min-width: 0; }
.mat-cell-l { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.mat-cell-e { font-size: 13px; }
.mat-cell[data-etat="a-faire"] .mat-cell-e { font-weight: 600; }
.mat-cell[data-etat="indisponible"] { opacity: .75; }
.mat-cell-t { font-size: 13px; overflow-wrap: anywhere; }
.mat-cell-m { font-size: 12px; }
.mat-cell-a { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.mat-plan-absent { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.mat-plan-absent p { margin: 0; }
.mat-faible { margin-top: 10px; }
