/* Stock de matériaux (D19) et échéancier des paiements (D20). Tableau et pastilles : css/budget.css ; couleurs :
   variables de styles.css (thèmes clair et sombre). */
.tableau-stock tr.archive th, .tableau-stock tr.archive td { color: var(--gris); }
.alerte-budget.a-archive { background: var(--survol); color: var(--gris); }
.historique-stock { padding-left: 18px; }
.historique-stock li { margin: 6px 0; overflow-wrap: anywhere; }

.bilan-echeances .tuiles { margin-bottom: 6px; }
.bilan-echeances .tuile b { font-size: clamp(18px, 5vw, 28px); overflow-wrap: anywhere; }
section.echeances h2 { font-size: 16px; margin: 18px 0 8px; }
section.echeances ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
li.echeance { background: var(--blanc); color: var(--encre); border: 1px solid var(--filet); border-radius: 12px; padding: 10px 12px; }
li.echeance.s-en_retard { border-left: 4px solid var(--retard); }
li.echeance.s-payee { border-left: 4px solid var(--bleu); }
.ec-haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.ec-haut b { overflow-wrap: anywhere; }
.ec-montant { font-weight: 700; white-space: nowrap; }
.ec-bas, .ec-paiement { margin: 4px 0 0; color: var(--gris); font-size: 13.5px; overflow-wrap: anywhere; }
.ec-actions .btn.lien { padding: 2px 6px; margin-left: -6px; }
.avertissement-quantite { margin: 4px 0 0; color: var(--hors-texte); font-size: 13px; }
.avertissement-quantite:empty { display: none; }
