.descuento-anticipado {
    grid-column: 1 / -1;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: .8rem;
    border: 1px solid #e5d4bd;
    border-radius: 6px;
    background: #fffbf4;
}
html body.app .descuento-anticipado > label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: .5rem !important;
    box-sizing: border-box;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.5;
}
/* El formulario compacto aplica ancho completo y 33 px a sus controles.
   Esta casilla conserva un tamaño fijo sin reducir el espacio de su texto. */
html body.app .descuento-anticipado > label > input[type="checkbox"][data-descuento-check] {
    box-sizing: border-box !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: .15rem 0 0 !important;
    align-self: flex-start !important;
}
.descuento-anticipado > small { display: block; margin-top: .4rem; color: #655a58; }
.descuento-anticipado [data-descuento-resumen] { margin: .5rem 0 0; line-height: 1.5; }

/* Marca de revisión para comprobar que esta hoja llegó al formulario. */
.descuento-anticipado::before {
    content: "Descuento por pago anticipado · R3";
    display: block;
    color: #751431;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: .65rem;
}
