/* Precuentas y comprobantes visibles en pantalla. */
.receipt {
    max-width: 620px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee7de;
    border-radius: 8px
}

.receipt h1,
.receipt h2 {
    text-align: center
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 7px 0;
    border-bottom: 1px dashed #ddd
}

.receipt-total {
    font-size: 1.2rem;
    font-weight: 850;
    border-top: 2px solid #333;
    margin-top: 12px;
    padding-top: 12px
}
/* Boleta y factura con el formato de un comprobante electrónico */
.boleta { color: #111; font-size: 14px; }
.boleta-emisor { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.boleta-emisor strong { font-size: 18px; }
.boleta-emisor span { color: #555; font-size: 13px; }
.boleta-tipo { display: flex; flex-direction: column; gap: 2px; margin: 16px auto; padding: 10px; max-width: 340px; border: 2px solid #111; border-radius: 8px; text-align: center; }
.boleta-tipo strong { font-size: 15px; }
.boleta-tipo span:last-child { font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.boleta-datos { display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; margin: 0 0 14px; }
.boleta-datos dt { color: #555; font-weight: 500; }
.boleta-datos dd { margin: 0; }
.boleta-items { width: 100%; border-collapse: collapse; }
.boleta-items th { padding: 6px 4px; border-bottom: 2px solid #111; font-size: 12px; text-align: left; text-transform: uppercase; }
.boleta-items td { padding: 6px 4px; border-bottom: 1px dashed #ddd; }
.boleta-items th:nth-child(n+3), .boleta-items td:nth-child(n+3) { text-align: right; white-space: nowrap; }
.boleta-totales { margin: 12px 0 0 auto; max-width: 280px; }
.boleta-totales div { display: flex; justify-content: space-between; padding: 3px 0; }
.boleta-total { margin-top: 4px; padding-top: 8px !important; border-top: 2px solid #111; font-size: 17px; font-weight: 700; }
.boleta-letras { margin: 12px 0; padding: 8px 10px; background: #f6f6f6; border-radius: 6px; font-size: 13px; }
.boleta-nota { margin-top: 14px; color: #777; font-size: 12px; text-align: center; }
