/* maker-slip.css — Maker Slip v1.25
   1) .ne-ficha-borrador: usa CSS Grid con áreas nombradas. En escritorio, todos los datos
      (nombre, total, creado, estado, botón) van en una sola fila. En móvil, se reagrupan en
      exactamente 3 líneas: (1) nombre+total, (2) creado+estado, (3) botón a la derecha.
   2) Textos de ayuda con altura de línea reducida en móvil (line-height más compacto).
   3) Título del modal de emisión reducido para que quepa en una sola línea. */

:root {
    --ne-rosa: #d6336c;
    --ne-rosa-oscuro: #b02555;
    --ne-gris-borde: #e2e2e2;
    --ne-gris-fondo: #fafafa;
    --ne-radio: 6px;
    --ne-padding-campo: 9px 12px;
    --ne-padding-celda: 5px 10px;
    --ne-verde: #1a7f37;
    --ne-naranja: #b45309;
    --ne-rojo: #b91c1c;
}

.ne-app {
    max-width: 640px;
    margin: 14px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #222;
    box-sizing: border-box;
}

.ne-app * {
    box-sizing: border-box;
}

.ne-panel {
    background: #fff;
    border: 1px solid var(--ne-gris-borde);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ne-panel-centrado {
    text-align: center;
}

.ne-logo {
    width: 220px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto 10px;
    object-fit: contain;
}

.ne-logo-chica {
    width: 110px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.ne-logo-nota {
    width: 170px;
    height: auto;
    object-fit: contain;
}

.ne-header-app {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.ne-header-marca {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ne-titulo-app {
    font-size: 1.02em;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.ne-subtitulo {
    font-size: 0.88em;
    color: #666;
    margin: 0 0 10px;
}

.ne-version-inicio {
    font-size: 0.76em;
    color: #9ca3af;
    margin: 10px 0 0;
    text-align: center;
}

.ne-caja-emisor {
    display: inline-block;
    width: auto;
    max-width: 100%;
    background: #f7f7f8;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    padding: 5px 10px;
    font-size: 0.74em;
    font-weight: 400;
    color: #555;
    line-height: 1.3;
    white-space: nowrap;
    margin-left: auto;
}

.ne-nota-ayuda {
    font-size: 0.8em;
    color: #888;
    margin: -4px 0 10px;
    font-style: italic;
    line-height: 1.25;
}

.ne-nota-ayuda-compacta {
    line-height: 1.15;
    margin: 2px 0 8px;
}

.ne-seccion-titulo {
    font-size: 0.98em;
    margin: 0 0 8px;
}

.ne-subtitulo-caja {
    font-size: 0.93em;
    margin: 0 0 10px;
    font-weight: 600;
}

.ne-separador {
    border: none;
    border-top: 1px solid var(--ne-gris-borde);
    margin: 14px 0;
}

.ne-preview-caja {
    background: #f7f7f8;
    border: 1px solid var(--ne-gris-borde);
    border-radius: var(--ne-radio);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 10px 12px;
    margin-bottom: 10px;
}

.ne-preview-titulo {
    font-size: 0.74em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #888;
    margin: 0 0 4px;
}

.ne-preview-caja p {
    margin: 2px 0;
    font-size: 0.88em;
    color: #333;
}

.ne-campo {
    margin-bottom: 0;
}

.ne-campo label {
    display: block;
    font-size: 0.8em;
    color: #555;
    margin-bottom: 4px;
    line-height: 1.1;
}

.ne-campo input,
.ne-campo select,
#ne-input-validador,
.ne-fila input,
.ne-fila select {
    width: 100%;
    padding: var(--ne-padding-campo);
    border: 1px solid #ccc;
    border-radius: var(--ne-radio);
    font-size: 0.93em;
    line-height: 1.3;
    height: 40px;
    vertical-align: middle;
}

#ne-input-validador {
    margin-bottom: 10px;
    text-align: center;
}

.ne-campo-cedula {
    display: flex;
    gap: 8px;
}

.ne-campo-cedula select {
    width: 78px;
    flex-shrink: 0;
    padding: var(--ne-padding-campo);
    border: 1px solid #ccc;
    border-radius: var(--ne-radio);
    font-size: 0.93em;
    height: 40px;
}

.ne-campo-cedula input {
    flex: 1;
    padding: var(--ne-padding-campo);
    border: 1px solid #ccc;
    border-radius: var(--ne-radio);
    font-size: 0.93em;
    height: 40px;
}

.ne-fila {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ne-campo-flex {
    flex: 1;
    min-width: 180px;
}

.ne-campo-flex-2 {
    flex: 2;
    min-width: 200px;
}

.ne-campo-cantidad {
    width: 80px;
    flex-shrink: 0;
}

.ne-btn {
    padding: 9px 18px;
    border: 2px solid transparent;
    border-radius: var(--ne-radio);
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.1;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.ne-btn-primario {
    background: var(--ne-rosa);
    color: #fff;
    border-color: var(--ne-rosa);
}
.ne-btn-primario:hover,
.ne-btn-primario:focus,
.ne-btn-primario:active {
    background: var(--ne-rosa-oscuro);
    border-color: #fff;
    outline: none;
    box-shadow: none;
}

.ne-btn-secundario {
    background: #f0f0f0;
    color: #333;
    border-color: #f0f0f0;
}
.ne-btn-secundario:hover,
.ne-btn-secundario:focus {
    background: #e0e0e0;
    border-color: #e0e0e0;
    outline: none;
}

.ne-btn-cancelar {
    background: transparent;
    color: #999;
    border-color: transparent;
}

.ne-btn-ancho {
    width: 100%;
}

.ne-btn-grande {
    width: 100%;
    padding: 11px 18px;
    height: 44px;
    font-size: 0.98em;
    margin-top: 12px;
}

.ne-acciones-caja {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.ne-acciones-finales {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ne-error {
    color: #c62828;
    font-size: 0.86em;
    margin-top: 8px;
    margin-bottom: 0;
}

.ne-exito {
    color: var(--ne-verde);
    font-size: 0.86em;
    margin-top: 8px;
    margin-bottom: 0;
    font-weight: 600;
}

.ne-caja-nueva {
    background: var(--ne-gris-fondo);
    border: 1px dashed #ccc;
    border-radius: var(--ne-radio);
    padding: 14px;
    margin-bottom: 12px;
}

.ne-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.ne-campo-ancho-completo {
    grid-column: 1 / -1;
}

.ne-tabla-wrapper {
    overflow-x: auto;
    margin-bottom: 4px;
}

.ne-tabla,
.ne-nota-tabla {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    table-layout: fixed;
}

.ne-tabla th, .ne-tabla td,
.ne-nota-tabla th, .ne-nota-tabla td,
.ne-tabla tfoot td {
    border: 1px solid var(--ne-gris-borde);
    padding: var(--ne-padding-celda);
    text-align: left;
    font-size: 0.88em;
    line-height: 1.2;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ne-tabla th, .ne-nota-tabla th {
    background: #f5f5f5;
    font-weight: 600;
}

.ne-tabla th:nth-child(1), .ne-tabla td:nth-child(1),
.ne-nota-tabla th:nth-child(1), .ne-nota-tabla td:nth-child(1) {
    width: 12%;
    text-align: center;
}

.ne-tabla th:nth-child(2), .ne-tabla td:nth-child(2),
.ne-nota-tabla th:nth-child(2), .ne-nota-tabla td:nth-child(2) {
    width: 42%;
    white-space: normal;
}

.ne-tabla th:nth-child(3), .ne-tabla td:nth-child(3),
.ne-nota-tabla th:nth-child(3), .ne-nota-tabla td:nth-child(3) {
    width: 22%;
}

.ne-tabla th:nth-child(4), .ne-tabla td:nth-child(4),
.ne-nota-tabla th:nth-child(4), .ne-nota-tabla td:nth-child(4) {
    width: 22%;
}

.ne-tabla th:nth-child(5), .ne-tabla td:nth-child(5) {
    width: 6%;
    padding: 5px 2px;
}

.ne-total-label {
    text-align: right;
    font-weight: 700;
}

.ne-total-valor {
    font-weight: 700;
}

.ne-btn-eliminar-item {
    background: transparent;
    border: none;
    color: #c62828;
    cursor: pointer;
    font-size: 0.92em;
    padding: 0 4px;
    line-height: 1;
    outline: none;
}

.ne-nota-formal {
    background: #fff;
    padding: 12px 18px;
    position: relative;
    overflow: hidden;
}

.ne-nota-es-borrador {
    border: 2px dashed var(--ne-naranja);
    border-radius: 8px;
}

.ne-marca-agua-borrador {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 4em;
    font-weight: 900;
    color: rgba(180, 83, 9, 0.15);
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

.ne-nota-formal > *:not(.ne-marca-agua-borrador) {
    position: relative;
    z-index: 1;
}

.ne-aviso-borrador {
    background: #fff3e0;
    border: 1px solid #f5c542;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.88em;
    color: #7a4d00;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ne-nota-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 2px solid var(--ne-rosa);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.ne-nota-header-marca {
    flex-shrink: 0;
}

.ne-nota-header-info {
    flex: 1;
}

.ne-nota-titulo-mayuscula {
    font-size: 1.06em;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
    line-height: 1.25;
    text-transform: uppercase;
}

.ne-nota-datos {
    margin-bottom: 2px;
}

.ne-nota-datos-fila {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0;
    font-size: 0.88em;
    line-height: 1.25;
}

.ne-nota-datos-fila span {
    flex: 1;
}

.ne-nota-datos-fila span:last-child {
    text-align: right;
}

.ne-nota-fila-saldo {
    margin-top: 0;
}

.ne-nota-despacho {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--ne-gris-borde);
    font-size: 0.86em;
}

.ne-nota-despacho p {
    margin: 2px 0;
}

.ne-nota-pagos-impresion {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed var(--ne-gris-borde);
}

.ne-nota-pagos-titulo {
    font-size: 0.82em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #666;
    margin: 0 0 4px;
}

.ne-nota-tabla-pagos {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8em;
}

.ne-nota-tabla-pagos th, .ne-nota-tabla-pagos td {
    border: 1px solid #ddd;
    padding: 3px 6px;
    text-align: left;
}

.ne-nota-tabla-pagos th {
    background: #f5f5f5;
    font-weight: 600;
}

.ne-app-footer {
    margin-top: 14px;
    font-size: 10px;
    line-height: 1.2;
    color: #6b7280;
    text-align: center;
}

.ne-app-footer-nota {
    margin-top: 8px;
    border-top: 1px solid var(--ne-gris-borde);
    padding-top: 5px;
}

.ne-badge-estado {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.ne-badge-pendiente {
    background: #fdecea;
    color: var(--ne-rojo);
}

.ne-badge-pago-parcial {
    background: #fef3e2;
    color: var(--ne-naranja);
}

.ne-badge-pagada {
    background: #e6f4ea;
    color: var(--ne-verde);
}

.ne-badge-borrador {
    background: #ede7f6;
    color: #5e35b1;
}

.ne-acciones-secundarias {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ne-btn-mini {
    background: #f3f3f4;
    border: 2px solid var(--ne-gris-borde);
    color: #555;
    font-size: 0.76em;
    padding: 5px 12px;
    border-radius: 9px;
    cursor: pointer;
    line-height: 1;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ne-btn-mini:hover,
.ne-btn-mini:focus,
.ne-btn-mini:active {
    background: #2b2b2e;
    color: #fff;
    border-color: #fff;
    outline: none;
    box-shadow: none;
}

.ne-btn-mini-salir {
    color: #999;
}

.ne-btn-mini-salir:hover,
.ne-btn-mini-salir:focus,
.ne-btn-mini-salir:active {
    background: #4a1414;
    color: #fff;
    border-color: #fff;
}

.ne-resumen-estados {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.ne-resumen-tarjeta {
    background: #f7f7f8;
    border: 2px solid var(--ne-gris-borde);
    border-radius: 8px;
    padding: 7px 5px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ne-resumen-tarjeta:hover {
    background: #f0f0f1;
}

.ne-resumen-activa {
    border-color: var(--ne-rosa);
    background: #fdf0f4;
}

.ne-resumen-numero {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
    color: #222;
}

.ne-resumen-label {
    display: block;
    font-size: 0.68em;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 1px;
}

.ne-lista-tarjetas {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.ne-tarjeta-nota-compacta {
    background: #fafafa;
    border: 1px solid var(--ne-gris-borde);
    border-radius: 8px;
    padding: 8px 12px;
}

.ne-tnc-linea-principal {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 16px;
    font-size: 0.86em;
    color: #333;
    margin-bottom: 4px;
}

.ne-tnc-dato strong {
    color: #666;
    font-weight: 600;
}

.ne-tnc-linea-estado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ne-tnc-estado {
    font-size: 0.83em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ne-btn-ver-mi-nota {
    background: var(--ne-rosa);
    color: #fff;
    border: 2px solid var(--ne-rosa);
    border-radius: 9px;
    padding: 3px 12px;
    font-size: 0.8em;
    line-height: 1;
    height: auto;
    min-height: 0;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ne-btn-ver-mi-nota:hover,
.ne-btn-ver-mi-nota:focus {
    background: var(--ne-rosa-oscuro);
    border-color: #fff;
    outline: none;
    box-shadow: none;
}

/* --- V1.25: Ficha de borrador con Grid nombrado (una línea en escritorio, 3 en móvil) --- */
.ne-ficha-borrador {
    background: #fafafa;
    border: 1px solid var(--ne-gris-borde);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 6px;
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    grid-template-areas: "nombre total creado estado boton";
    align-items: center;
    gap: 6px 14px;
    font-size: 0.86em;
    color: #333;
}

.ne-fb-nombre { grid-area: nombre; white-space: nowrap; }
.ne-fb-total { grid-area: total; white-space: nowrap; }
.ne-fb-creado { grid-area: creado; color: #777; font-size: 0.94em; text-align: left; }
.ne-fb-estado { grid-area: estado; justify-self: end; }
.ne-fb-boton { grid-area: boton; justify-self: end; }

.ne-fb-nombre strong, .ne-fb-total strong, .ne-fb-creado strong {
    color: #666;
    font-weight: 600;
}

.ne-bloque-pagos {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--ne-gris-borde);
}

.ne-historial-pagos {
    margin-top: 10px;
}

.ne-item-pago {
    background: #f7f7f8;
    border: 1px solid var(--ne-gris-borde);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.83em;
    margin-bottom: 5px;
    color: #333;
}

#ne-modal-titulo-eliminar,
#ne-modal-titulo-eliminar-usuario {
    font-size: 15px;
    line-height: 1.3;
}

.ne-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ne-modal-caja {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Título del modal de emisión: tamaño reducido para caber en una sola línea */
.ne-modal-titulo-emision {
    margin-top: 0;
    font-size: 1.05em;
    white-space: nowrap;
    line-height: 1.2;
}

/* =========================================================================
   ADMIN DE WORDPRESS
   ========================================================================= */
.ne-admin-wrap h2 {
    margin: 18px 0 8px;
}

.ne-admin-wrap hr {
    display: none;
}

.ne-admin-caja-numeracion {
    background: #fff8e1;
    border: 2px solid #f5c542;
    border-radius: 10px;
    padding: 10px 18px;
    margin: 10px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    align-items: center;
    font-size: 14px;
}

.ne-admin-numero-destacado {
    color: var(--ne-rosa-oscuro);
}

.ne-admin-subtexto {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.ne-admin-subtexto-p {
    margin: 2px 0 10px;
    color: #666;
    font-size: 13px;
}

.ne-admin-tabla th,
.ne-admin-tabla td {
    padding: 6px 10px !important;
    line-height: 1.3;
}

.ne-admin-form-compacta {
    max-width: 500px;
    margin-bottom: 8px;
}

.ne-admin-form-table-compacta th,
.ne-admin-form-table-compacta td {
    padding: 5px 10px 5px 0 !important;
}

/* --- Responsive: móvil (app) --- */
@media (max-width: 600px) {
    .ne-app {
        margin: 8px auto;
        max-width: 100%;
        padding: 0 8px;
    }

    .ne-panel {
        padding: 14px;
        border-radius: 8px;
    }

    .ne-logo {
        width: 170px;
    }

    .ne-logo-chica {
        width: 60px;
    }

    .ne-logo-cuenta {
        width: 76px;
    }

    .ne-titulo-app {
        font-size: 0.92em;
    }

    .ne-header-app {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .ne-header-marca {
        justify-content: center;
        width: 100%;
    }

    .ne-caja-emisor {
        margin-left: 0;
        margin-right: auto;
        display: block;
        width: fit-content;
        max-width: 100%;
        text-align: center;
        margin: 3px auto 0;
    }

    .ne-fila {
        flex-direction: column;
        align-items: stretch;
    }

    .ne-campo-flex,
    .ne-campo-flex-2,
    .ne-campo-cantidad {
        width: 100%;
        min-width: 0;
    }

    .ne-fila .ne-btn {
        width: 100%;
    }

    .ne-grid-2 {
        grid-template-columns: 1fr;
    }

    .ne-acciones-caja,
    .ne-acciones-finales {
        flex-direction: column;
    }

    .ne-acciones-caja .ne-btn,
    .ne-acciones-finales .ne-btn {
        width: 100%;
    }

    .ne-nota-titulo-mayuscula {
        font-size: 0.98em;
    }

    .ne-tabla th, .ne-tabla td,
    .ne-nota-tabla th, .ne-nota-tabla td {
        padding: 4px 7px;
        font-size: 0.83em;
    }

    .ne-nota-datos-fila {
        font-size: 0.83em;
        gap: 6px;
    }

    .ne-resumen-estados {
        grid-template-columns: repeat(2, 1fr);
    }

    .ne-tnc-linea-principal {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2px 8px;
    }

    .ne-tnc-linea-principal .ne-tnc-dato:nth-child(1) { grid-column: 1 / -1; }
    .ne-tnc-linea-principal .ne-tnc-dato:nth-child(2) { grid-column: 1 / -1; }
    .ne-tnc-linea-principal .ne-tnc-dato:nth-child(3) { grid-column: 1; }
    .ne-tnc-linea-principal .ne-tnc-dato:nth-child(4) { grid-column: 2; }

    .ne-tnc-linea-estado {
        flex-wrap: wrap;
    }

    /* Ficha de borrador en móvil: 3 líneas exactas via grid-template-areas.
       Línea 1: nombre + total | Línea 2: creado + estado | Línea 3: botón a la derecha. */
    .ne-ficha-borrador {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "nombre total"
            "creado estado"
            "boton boton";
        gap: 4px 10px;
    }

    .ne-fb-nombre {
        white-space: normal;
    }

    .ne-fb-creado {
        text-align: left;
        font-size: 0.9em;
    }

    .ne-fb-estado {
        justify-self: end;
    }

    .ne-fb-boton {
        justify-self: end;
        margin-top: 2px;
    }

    .ne-nota-formal {
        padding: 8px 6px;
    }

    .ne-marca-agua-borrador {
        font-size: 2.2em;
    }

    .ne-nota-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }

    .ne-nota-header-marca {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .ne-nota-header-info {
        width: 100%;
        text-align: center;
    }

    .ne-nota-titulo-mayuscula {
        text-align: center;
        white-space: nowrap;
    }

    .ne-caja-emisor {
        font-size: 0.68em;
        padding: 4px 7px;
    }

    #ne-modal-titulo-eliminar,
    #ne-modal-titulo-eliminar-usuario {
        font-size: 14px;
    }

    .ne-nota-datos-fila span {
        text-align: left;
    }

    .ne-nota-datos-fila span:last-child {
        text-align: right;
    }

    .ne-admin-caja-numeracion {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ne-modal-titulo-emision {
        font-size: 0.95em;
    }
}

/* --- Impresión --- */
@page {
    size: letter;
    margin: 10mm;
}

@media print {
    html, body {
        margin: 0;
        padding: 0;
        height: auto;
    }

    .ne-nota-header,
    .ne-nota-datos-fila,
    .ne-nota-tabla,
    .ne-nota-pagos-impresion,
    .ne-nota-despacho {
        page-break-inside: avoid;
    }
}
