/* Inventario de material */
.mv { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.mv-entrada, .mv-devolucion, .mv-traspaso_entrada { background: #ecfdf5; color: #047857; }
.mv-salida, .mv-traspaso_salida { background: #eff6ff; color: #1d4ed8; }
.mv-prestamo { background: #fffbeb; color: #b45309; }
.mv-ajuste, .mv-anulacion { background: var(--atp-gray); color: #475569; }
.qty-pos { color: #047857; font-weight: 600; }
.qty-neg { color: #b91c1c; font-weight: 600; }
.anulado td { text-decoration: line-through; color: var(--muted-2); }
table.stock th.emp, table.stock td.emp { text-align: right; min-width: 70px; font-variant-numeric: tabular-nums; }
table.stock td.emp.zero { color: var(--muted-2); }
table.stock td.tot { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
table.stock tr.low td.tot { color: #b91c1c; }
table.stock tfoot td { font-weight: 700; background: #fcfcfd; border-top: 2px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; }
table.stock tfoot td:first-child { text-align: left; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: nowrap; }
.row-actions .btn { padding: 4px 8px; font-size: 12px; }
.low-badge { font-size: 11px; font-weight: 600; color: #b91c1c; background: #fef2f2; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
.venc { color: #b91c1c; font-weight: 600; }
.report-card { display: flex; flex-direction: column; gap: 10px; }
.report-card p { margin: 0; }
.report-card .row { margin-top: auto; }
.avail { font-size: 13px; padding: 8px 12px; border-radius: 8px; background: var(--atp-gray); margin: -6px 0 14px; }
.avail.bad { background: #fef2f2; color: #991b1b; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 500; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none; }
.tabs a.on { color: var(--text); border-color: var(--atp-azul); }
