/* Bloque de totales de un documento (neto, IVA, total): rótulo y monto alineados a la derecha. */
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; margin: 0; padding: calc(var(--card-pad) - 4px) var(--card-pad); justify-self: end; min-width: min(100%, 320px); font-variant-numeric: tabular-nums; }
.totals dt { color: var(--muted); text-align: right; }
.totals dd { margin: 0; text-align: right; font-weight: 600; }
.totals .totals__grand { padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.12rem; font-weight: 700; }
.card--flush .totals { margin-left: auto; }
.totals--preview { border: 1px dashed var(--line-strong); border-radius: var(--radius); }
