/* Machote del recibo leído de un XML de nómina timbrado. Compartido (idéntico) por panel/ y trabajador/. Solo clases: la CSP no permite estilos en línea. */
.rx { background: #fff; color: #1b1b1f; border: 1px solid var(--color-outline-variant, #c4c6cf); border-radius: 8px; padding: 16px; font-size: 13px; line-height: 1.4; max-width: 820px; margin: 0 auto; }
.rx h2 { font-size: 16px; margin: 0; color: var(--color-primary, #001d41); }
.rx .rx-tit { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid var(--color-primary, #001d41); padding-bottom: 8px; margin-bottom: 10px; }
.rx .rx-der { text-align: right; }
.rx .rx-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2px 14px; margin-bottom: 10px; }
.rx .rx-datos span { color: #5b5e66; }
.rx table { width: 100%; border-collapse: collapse; margin: 8px 0; table-layout: fixed; }
.rx th:first-child, .rx td:first-child { width: 64px; }
.rx th:last-child, .rx td:last-child { width: 118px; }
.rx th { text-align: left; background: var(--color-primary-fixed, #d6e3ff); color: var(--color-on-primary-fixed, #001b3e); padding: 4px 6px; font-weight: 600; }
.rx td { padding: 4px 6px; border-bottom: 1px solid #e3e3e8; }
.rx .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rx tr.rx-total td { font-weight: 700; border-bottom: 0; }
.rx .rx-neto { font-size: 16px; font-weight: 700; margin-top: 8px; color: var(--color-primary, #001d41); }
.rx .rx-fiscal { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #c4c6cf; color: #5b5e66; font-size: 11px; word-break: break-all; }
#rx-impresion { display: none; }
@media print {
  body.rx-imprimiendo > *:not(#rx-impresion) { display: none !important; }
  body.rx-imprimiendo #rx-impresion { display: block !important; }
  body.rx-imprimiendo .rx { border: 0; padding: 0; max-width: none; }
}
