/* Lot E — reversements aux agences (portal/reversements.js) : relevé de l'agence (/agence/reversements, tableau de bord)
   et page /admin/reversements. Chargée par server.js après portal.css. Couleurs et tailles : variables de tokens.css
   uniquement ; propriétés logiques seulement (l'arabe s'affiche de droite à gauche). */

/* Solde négatif (versé au-delà du dû calculé) */
.rv-kpis .kpi b.rv-neg, .tbl-wrap td.rv-neg { color: var(--terra-400); }

/* Part de l'agence non établie (ancien acompte) : marquée, jamais chiffrée */
.tbl-wrap td.rv-conf { color: var(--brass-400); font-style: italic; }

/* Enregistrement annulé : reste visible, montant barré, sorti du total */
.tbl-wrap tr.rv-void :is(th, td) { color: var(--sand-300); }
.tbl-wrap tr.rv-void td[data-k="amount"] { text-decoration: line-through; }

/* Ligne de total */
.tbl-wrap tr.rv-total :is(th, td) { font-weight: 600; border-block-start: 1px solid var(--line-strong); }

/* Annulation dans le tableau : motif et bouton sur une ligne, repliés sur téléphone */
.tbl-wrap td form.rv-cancel { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin: var(--s-1) 0; }
.rv-cancel input { flex: 1 1 10rem; inline-size: auto; min-inline-size: 0; }
