/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout estructural — solo flex + posicionamiento. Los colores y el
   chrome dark del sidebar se manejan en wwwroot/codex-theme-light.css
   (clases .codex-drawer, .codex-appbar, .codex-main-content, etc). */

.page[b-lw9iglwmfn] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lw9iglwmfn] {
    flex: 1;
}

@media (min-width: 641px) {
    .page[b-lw9iglwmfn] {
        flex-direction: row;
    }
}

#blazor-error-ui[b-lw9iglwmfn] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-lw9iglwmfn] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-90rzhc3sx2] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-90rzhc3sx2] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-90rzhc3sx2] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-90rzhc3sx2] {
    font-size: 1.1rem;
}

.bi[b-90rzhc3sx2] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-90rzhc3sx2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-90rzhc3sx2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-90rzhc3sx2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-90rzhc3sx2] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-90rzhc3sx2] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-90rzhc3sx2] {
        padding-bottom: 1rem;
    }

    .nav-item[b-90rzhc3sx2]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-90rzhc3sx2]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-90rzhc3sx2]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-90rzhc3sx2] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-90rzhc3sx2] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-90rzhc3sx2] {
        display: none;
    }

    .nav-scrollable[b-90rzhc3sx2] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-saoomfwph1],
.components-reconnect-repeated-attempt-visible[b-saoomfwph1],
.components-reconnect-failed-visible[b-saoomfwph1],
.components-pause-visible[b-saoomfwph1],
.components-resume-failed-visible[b-saoomfwph1],
.components-rejoining-animation[b-saoomfwph1] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-retrying[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-failed[b-saoomfwph1],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-saoomfwph1] {
    display: block;
}


#components-reconnect-modal[b-saoomfwph1] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-saoomfwph1 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-saoomfwph1 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-saoomfwph1 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-saoomfwph1]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-saoomfwph1 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-saoomfwph1 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-saoomfwph1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-saoomfwph1 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-saoomfwph1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-saoomfwph1] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-saoomfwph1] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-saoomfwph1] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-saoomfwph1] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-saoomfwph1] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-saoomfwph1] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-saoomfwph1 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-saoomfwph1] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-saoomfwph1 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Compras/ImprimirOrden.razor.rz.scp.css */
/* ============================================================
   Orden de Compra — pantalla de impresión / PDF
   Tokens: codex-tokens.css (single source of truth)
   Densidad: media (comprobante formal, no mostrador).
   Temperatura: fría-azulada (light, home banking).
   ============================================================ */

/* ──────────────────────────────────────────────────
   1. BARRA DE ACCIONES (no se imprime)
   ────────────────────────────────────────────────── */
.oc-print-toolbar[b-t09ugjsq5r] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    max-width: 860px;
    margin: var(--space-4) auto var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
}

/* ──────────────────────────────────────────────────
   2. ESTADO: cargando / no encontrado
   ────────────────────────────────────────────────── */
.oc-print-status[b-t09ugjsq5r] {
    max-width: 860px;
    margin: var(--space-7) auto;
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ──────────────────────────────────────────────────
   3. DOCUMENTO PRINCIPAL
   ────────────────────────────────────────────────── */
.oc-print-doc[b-t09ugjsq5r] {
    max-width: 860px;
    margin: 0 auto var(--space-7);
    background: var(--surface);
    color: var(--text-primary);
    padding: 48px 56px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

/* ──────────────────────────────────────────────────
   4. ENCABEZADO DEL COMPROBANTE
   ────────────────────────────────────────────────── */
.oc-print-head[b-t09ugjsq5r] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-5);
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
    border-bottom: 2px solid var(--accent);
}

/* Bloque izquierdo: identidad del emisor */
.oc-print-emisor[b-t09ugjsq5r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oc-print-brand[b-t09ugjsq5r] {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: var(--fw-black);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.oc-print-title[b-t09ugjsq5r] {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: var(--fw-black);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.1;
}

.oc-print-sub[b-t09ugjsq5r] {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Bloque derecho: número y estado */
.oc-print-comprobante[b-t09ugjsq5r] {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.oc-print-nro[b-t09ugjsq5r] {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.01em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.oc-print-estado[b-t09ugjsq5r] {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-on-accent);
    background: var(--accent);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.oc-print-fecha[b-t09ugjsq5r] {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
}

/* ──────────────────────────────────────────────────
   5. SECCIÓN DE METADATOS (grilla 2 columnas)
   ────────────────────────────────────────────────── */
.oc-print-meta[b-t09ugjsq5r] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-6);
    margin-bottom: var(--space-5);
    padding: var(--space-4) var(--space-5);
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.oc-print-meta > div[b-t09ugjsq5r] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oc-print-meta span[b-t09ugjsq5r] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.oc-print-meta strong[b-t09ugjsq5r] {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

/* ──────────────────────────────────────────────────
   6. TABLA DE ÍTEMS
   ────────────────────────────────────────────────── */

/* Separador entre meta y tabla */
.oc-print-items-header[b-t09ugjsq5r] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-1);
}

.oc-print-items[b-t09ugjsq5r] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-5);
    font-size: var(--fs-sm);
}

.oc-print-items thead tr[b-t09ugjsq5r] {
    background: var(--surface-2);
}

.oc-print-items th[b-t09ugjsq5r] {
    text-align: left;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
    white-space: nowrap;
}

.oc-print-items th.col-right[b-t09ugjsq5r] {
    text-align: right;
}

.oc-print-items td[b-t09ugjsq5r] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text-primary);
}

/* Sin zebra. Hover accent-soft en pantalla (se neutraliza en print). */
.oc-print-items tbody tr:hover td[b-t09ugjsq5r] {
    background: var(--accent-soft);
    transition: background var(--t-fast) var(--ease);
}

/* Número de renglón */
.col-renglon[b-t09ugjsq5r] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
    width: 32px;
    text-align: center;
}

/* Código de artículo */
.col-codigo[b-t09ugjsq5r] {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Descripción */
.col-descripcion[b-t09ugjsq5r] {
    font-weight: var(--fw-medium);
}

/* Cantidad y montos */
.col-num[b-t09ugjsq5r] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

/* Total de renglón: peso mayor */
.col-total-renglon[b-t09ugjsq5r] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-weight: var(--fw-semibold);
    text-align: right;
    white-space: nowrap;
    color: var(--text-primary);
}

/* ──────────────────────────────────────────────────
   7. BLOQUE DE TOTALES
   ────────────────────────────────────────────────── */
.oc-print-totales-wrap[b-t09ugjsq5r] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-5);
}

.oc-print-totales[b-t09ugjsq5r] {
    width: 300px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.oc-print-totales > div[b-t09ugjsq5r] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    gap: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.oc-print-totales > div:last-child[b-t09ugjsq5r] {
    border-bottom: none;
}

.oc-print-totales > div span:first-child[b-t09ugjsq5r] {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.oc-print-totales > div span:last-child[b-t09ugjsq5r] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: var(--fs-sm);
    color: var(--text-primary);
}

/* Fila "Total": protagonista */
.oc-print-total[b-t09ugjsq5r] {
    background: var(--accent-soft) !important;
}

.oc-print-total span:first-child[b-t09ugjsq5r] {
    font-size: var(--fs-xs) !important;
    font-weight: var(--fw-black) !important;
    color: var(--accent-strong) !important;
    letter-spacing: 0.12em;
}

.oc-print-total span:last-child[b-t09ugjsq5r] {
    font-family: var(--font-mono) !important;
    font-size: 18px !important;
    font-weight: var(--fw-bold) !important;
    color: var(--accent) !important;
    font-variant-numeric: tabular-nums;
}

/* ──────────────────────────────────────────────────
   8. PIE DEL COMPROBANTE (firma)
   ────────────────────────────────────────────────── */
.oc-print-footer[b-t09ugjsq5r] {
    margin-top: var(--space-7);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.oc-print-firma[b-t09ugjsq5r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.oc-print-firma-linea[b-t09ugjsq5r] {
    width: 100%;
    border-top: 1px solid var(--border-strong);
}

.oc-print-firma-label[b-t09ugjsq5r] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

/* Marca de agua / nota al pie */
.oc-print-watermark[b-t09ugjsq5r] {
    margin-top: var(--space-5);
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ──────────────────────────────────────────────────
   9. REGLAS DE IMPRESIÓN
   ────────────────────────────────────────────────── */
@media print {
    /* La barra de acciones no se imprime */
    .no-print[b-t09ugjsq5r] {
        display: none !important;
    }

    /* El documento ocupa la hoja entera — sin sombra ni radio */
    .oc-print-doc[b-t09ugjsq5r] {
        margin: 0;
        padding: 32px 40px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-width: none;
        font-size: 12px;   /* levemente más denso en papel */
    }

    /* Colores forzados a negro sobre blanco para mejor contraste en papel */
    .oc-print-brand[b-t09ugjsq5r] {
        color: #000 !important;
    }

    .oc-print-nro[b-t09ugjsq5r] {
        color: #000 !important;
        font-size: 22px !important;
    }

    .oc-print-estado[b-t09ugjsq5r] {
        background: #000 !important;
        color: #fff !important;
    }

    /* Header: borde negro en papel */
    .oc-print-head[b-t09ugjsq5r] {
        border-bottom-color: #000 !important;
    }

    /* Tabla: bordes negros en papel */
    .oc-print-items th[b-t09ugjsq5r],
    .oc-print-items td[b-t09ugjsq5r] {
        border-color: #d0d0d0 !important;
    }

    .oc-print-items thead tr[b-t09ugjsq5r] {
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Totales: sin tinte azul en papel */
    .oc-print-total[b-t09ugjsq5r] {
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .oc-print-total span:first-child[b-t09ugjsq5r] {
        color: #000 !important;
    }

    .oc-print-total span:last-child[b-t09ugjsq5r] {
        color: #000 !important;
        font-size: 16px !important;
    }

    /* No cortar renglones entre páginas */
    .oc-print-items tr[b-t09ugjsq5r] {
        page-break-inside: avoid;
    }

    /* El pie de firma: que quede junto */
    .oc-print-footer[b-t09ugjsq5r] {
        page-break-inside: avoid;
    }

    /* La nota al pie siempre abajo */
    .oc-print-watermark[b-t09ugjsq5r] {
        color: #aaa !important;
    }
}
/* /Components/Pages/Compras/ImprimirRemito.razor.rz.scp.css */
/* ============================================================
   Remito de Compra — pantalla de impresión / PDF
   Reusa el lenguaje visual de ImprimirOrden (mismas clases oc-print-*;
   el CSS scoped no cruza componentes, por eso se replica acá).
   Tokens: codex-tokens.css.
   ============================================================ */

.oc-print-toolbar[b-a817w4lw8k] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    max-width: 860px;
    margin: var(--space-4) auto var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
}

.oc-print-status[b-a817w4lw8k] {
    max-width: 860px;
    margin: var(--space-7) auto;
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.oc-print-doc[b-a817w4lw8k] {
    max-width: 860px;
    margin: 0 auto var(--space-7);
    background: var(--surface);
    color: var(--text-primary);
    padding: 48px 56px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

.oc-print-head[b-a817w4lw8k] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-5);
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-5);
    border-bottom: 2px solid var(--accent);
}

.oc-print-emisor[b-a817w4lw8k] { display: flex; flex-direction: column; gap: 2px; }

.oc-print-brand[b-a817w4lw8k] {
    font-family: var(--font-display);
    font-size: var(--fs-xs);
    font-weight: var(--fw-black);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.oc-print-title[b-a817w4lw8k] {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: var(--fw-black);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.1;
}

.oc-print-sub[b-a817w4lw8k] {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 4px;
}

.oc-print-comprobante[b-a817w4lw8k] {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.oc-print-nro[b-a817w4lw8k] {
    font-family: var(--font-mono);
    font-size: 26px;
    font-weight: var(--fw-bold);
    letter-spacing: -0.01em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.oc-print-estado[b-a817w4lw8k] {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-on-accent);
    background: var(--accent);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.oc-print-fecha[b-a817w4lw8k] {
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    font-weight: var(--fw-medium);
}

.oc-print-meta[b-a817w4lw8k] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-6);
    margin-bottom: var(--space-5);
    padding: var(--space-4) var(--space-5);
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.oc-print-meta > div[b-a817w4lw8k] { display: flex; flex-direction: column; gap: 2px; }

.oc-print-meta span[b-a817w4lw8k] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.oc-print-meta strong[b-a817w4lw8k] {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

/* — Comprobantes relacionados (sección específica del remito) — */
.oc-print-rel-header[b-a817w4lw8k] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    margin-top: var(--space-4);
    padding-bottom: var(--space-1);
    border-bottom: 1px solid var(--border);
}

.oc-print-rel[b-a817w4lw8k] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2) var(--space-6);
    margin-bottom: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--accent-soft);
    border: 1px solid rgba(47, 110, 224, 0.18);
    border-radius: var(--radius-sm);
}

.oc-print-rel > div[b-a817w4lw8k] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oc-print-rel span[b-a817w4lw8k] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.oc-print-rel-val[b-a817w4lw8k] {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--accent);
}

@media print {
    .oc-print-rel[b-a817w4lw8k] {
        background: #f0f4ff !important;
        border-color: #c0c8e0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .oc-print-rel-val[b-a817w4lw8k] { color: #000 !important; }
}

.oc-print-items-header[b-a817w4lw8k] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-1);
}

.oc-print-items[b-a817w4lw8k] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-5);
    font-size: var(--fs-sm);
}

.oc-print-items thead tr[b-a817w4lw8k] { background: var(--surface-2); }

.oc-print-items th[b-a817w4lw8k] {
    text-align: left;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
    white-space: nowrap;
}

.oc-print-items th.col-right[b-a817w4lw8k] { text-align: right; }

.oc-print-items td[b-a817w4lw8k] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--text-primary);
}

.oc-print-items tbody tr:hover td[b-a817w4lw8k] {
    background: var(--accent-soft);
    transition: background var(--t-fast) var(--ease);
}

.col-renglon[b-a817w4lw8k] {
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-variant-numeric: tabular-nums;
    width: 32px;
    text-align: center;
}

.col-codigo[b-a817w4lw8k] {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    white-space: nowrap;
}

.col-descripcion[b-a817w4lw8k] { font-weight: var(--fw-medium); }

.col-num[b-a817w4lw8k] {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.oc-print-footer[b-a817w4lw8k] {
    margin-top: var(--space-7);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.oc-print-firma[b-a817w4lw8k] { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.oc-print-firma-linea[b-a817w4lw8k] { width: 100%; border-top: 1px solid var(--border-strong); }

.oc-print-firma-label[b-a817w4lw8k] {
    font-size: 10px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.oc-print-watermark[b-a817w4lw8k] {
    margin-top: var(--space-5);
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

@media print {
    .no-print[b-a817w4lw8k] { display: none !important; }

    .oc-print-doc[b-a817w4lw8k] {
        margin: 0;
        padding: 32px 40px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-width: none;
        font-size: 12px;
    }

    .oc-print-brand[b-a817w4lw8k] { color: #000 !important; }
    .oc-print-nro[b-a817w4lw8k] { color: #000 !important; font-size: 22px !important; }
    .oc-print-estado[b-a817w4lw8k] { background: #000 !important; color: #fff !important; }
    .oc-print-head[b-a817w4lw8k] { border-bottom-color: #000 !important; }

    .oc-print-items th[b-a817w4lw8k],
    .oc-print-items td[b-a817w4lw8k] { border-color: #d0d0d0 !important; }

    .oc-print-items thead tr[b-a817w4lw8k] {
        background: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .oc-print-items tr[b-a817w4lw8k] { page-break-inside: avoid; }
    .oc-print-footer[b-a817w4lw8k] { page-break-inside: avoid; }
    .oc-print-watermark[b-a817w4lw8k] { color: #aaa !important; }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* ⚠️ Este archivo es CSS ISOLATION: sus reglas solo matchean elementos escritos como MARKUP en el
   .razor. Los que se crean con RenderTreeBuilder NO reciben el atributo de scope, y quedan sin
   estilo sin que nada falle — la primera version mostraba "Venta58,848,951.44del período" pegado
   justo por eso. Si algo de aca no se aplica, revisar primero si el elemento nace de codigo. */

/* ── Filtros ───────────────────────────────────────────────────────────────── */
.cdx-dash-filtros[b-6gm92oavbg] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
}

.cdx-dash-filtros__campo[b-6gm92oavbg] { flex: 1 1 200px; min-width: 180px; max-width: 280px; }

/* ── Los cuatro numeros grandes ────────────────────────────────────────────── */
.cdx-kpis[b-6gm92oavbg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}

.cdx-kpi[b-6gm92oavbg] {
    display: flex;
    flex-direction: column;   /* el rotulo ARRIBA del monto: sin esto salen en la misma linea */
    gap: 2px;
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-top: 3px solid var(--accent, #1e40af);
}

/* Un color por indicador: de un vistazo se sabe cual es cual sin leer el rotulo. */
.cdx-kpi--venta[b-6gm92oavbg]    { border-top-color: #1e40af; }
.cdx-kpi--cobranza[b-6gm92oavbg] { border-top-color: #059669; }
.cdx-kpi--deuda[b-6gm92oavbg]    { border-top-color: #d97706; }
.cdx-kpi--cheques[b-6gm92oavbg]  { border-top-color: #7c3aed; }

.cdx-kpi__rotulo[b-6gm92oavbg] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted, #64748b);
}

.cdx-kpi__monto[b-6gm92oavbg] {
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    overflow-wrap: anywhere;
}

.cdx-kpi__pie[b-6gm92oavbg] { font-size: 12px; color: var(--text-muted, #64748b); }

.cdx-dash-aclaracion[b-6gm92oavbg] {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    margin: 0 2px 16px;
}

/* ── Paneles ───────────────────────────────────────────────────────────────── */
.cdx-panel[b-6gm92oavbg] {
    padding: 16px 18px;
    margin-bottom: 16px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 10px;
}

.cdx-panel__cabecera[b-6gm92oavbg] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cdx-panel__titulo[b-6gm92oavbg] {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
}

.cdx-panel__sub[b-6gm92oavbg] { font-size: 12px; color: var(--text-muted, #64748b); }

/* Dos paneles al lado, uno debajo del otro cuando no entran. */
.cdx-dash-dos[b-6gm92oavbg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}
.cdx-dash-dos .cdx-panel[b-6gm92oavbg] { margin-bottom: 0; }

.cdx-dash-donut[b-6gm92oavbg] { display: flex; justify-content: center; }

/* ── Tabla de detalle ──────────────────────────────────────────────────────── */
/* Scroll propio: con 7 columnas de importes de 10 cifras el ancho se va, y el que tiene que
   scrollear es la tabla, nunca la pagina. */
.cdx-tabla-scroll[b-6gm92oavbg] { overflow-x: auto; }

.cdx-tabla[b-6gm92oavbg] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 720px;
}

.cdx-tabla th[b-6gm92oavbg],
.cdx-tabla td[b-6gm92oavbg] {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border, #e2e8f0);
    text-align: left;
    white-space: nowrap;
}

.cdx-tabla th[b-6gm92oavbg] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--text-muted, #64748b);
    font-weight: 600;
}

.cdx-tabla tbody tr:hover[b-6gm92oavbg] { background: var(--accent-soft, #f8fafc); }

/* Importes en monospace y a la derecha: es la unica forma de compararlos de un vistazo. */
.cdx-tabla .num[b-6gm92oavbg] {
    text-align: right;
    font-family: var(--font-mono, ui-monospace, monospace);
}

.cdx-tabla .tenue[b-6gm92oavbg]  { color: var(--text-muted, #94a3b8); }
.cdx-tabla .alerta[b-6gm92oavbg] { color: var(--error, #dc2626); font-weight: 600; }

.cdx-tabla tfoot td[b-6gm92oavbg] {
    font-weight: 600;
    border-top: 2px solid var(--border, #e2e8f0);
    border-bottom: none;
    background: var(--surface-2, #f8fafc);
}

.cdx-chip[b-6gm92oavbg] {
    display: inline-block;
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 10.5px;
    padding: 1px 6px;
    margin-right: 6px;
    border-radius: 4px;
    background: var(--accent-soft, #eff6ff);
    color: var(--accent, #1e40af);
}

.cdx-kpi--compra[b-6gm92oavbg]       { border-top-color: #0891b2; }
.cdx-kpi--proveedores[b-6gm92oavbg]  { border-top-color: #be123c; }

/* Barra proporcional del ranking: se lee de un vistazo, sin comparar cifras entre si. */
.cdx-barra[b-6gm92oavbg] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--surface-2, #f1f5f9);
    overflow: hidden;
}

.cdx-barra__relleno[b-6gm92oavbg] {
    height: 100%;
    border-radius: 4px;
    background: var(--accent, #1e40af);
}

/* Desglose por moneda de la deuda. Solo aparece cuando la empresa debe en mas de una: el
   importe grande de la celda es la suma convertida, y estas lineas son lo que se lee de verdad. */
.cdx-monedas[b-6gm92oavbg] {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
}

.cdx-moneda[b-6gm92oavbg] {
    display: block;
    white-space: nowrap;
    font-family: var(--font-mono, ui-monospace, monospace);
}
/* /Components/Pages/SinPermiso.razor.rz.scp.css */
.cdx-sinpermiso[b-jb6y5iwamb] {
    max-width: 620px;
    margin: 48px auto;
    padding: 32px;
    text-align: center;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
}

.cdx-sinpermiso__icono[b-jb6y5iwamb] {
    color: var(--text-muted, #94a3b8);
    margin-bottom: 8px;
}

/* La ruta en monospace: es un dato tecnico, y asi se distingue del texto. */
.cdx-sinpermiso__ruta[b-jb6y5iwamb] {
    font-family: var(--font-mono, ui-monospace, monospace);
    color: var(--text-muted, #64748b);
}
/* /Components/Pages/Tesoreria/ClasesTransacciones.razor.rz.scp.css */
/* Cada fila abre la historia del cheque: tiene que verse clickeable. */
.cdx-valor-fila[b-8oww9g3044] {
    cursor: pointer;
    transition: background 140ms ease;
}

.cdx-valor-fila:hover[b-8oww9g3044] {
    background: var(--accent-soft);
}

.cdx-valores-resumen[b-8oww9g3044] {
    display: flex;
    gap: 32px;
    align-items: flex-end;
}

.cdx-valores-resumen > div[b-8oww9g3044] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cdx-valores-resumen__monto[b-8oww9g3044] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.cdx-paginado[b-8oww9g3044] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 4px 0;
    font-size: 12px;
}

/* El total sin cuenta no es un cero: es un "todavia no aplica". Se ve distinto a un monto. */
.cdx-valores-resumen__sin-total[b-8oww9g3044] {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    padding-bottom: 4px;
}
/* /Components/Pages/Tesoreria/Cupones.razor.rz.scp.css */
/* Cada fila abre la historia del cheque: tiene que verse clickeable. */
.cdx-valor-fila[b-mh5a54pjxq] {
    cursor: pointer;
    transition: background 140ms ease;
}

.cdx-valor-fila:hover[b-mh5a54pjxq] {
    background: var(--accent-soft);
}

.cdx-valores-resumen[b-mh5a54pjxq] {
    display: flex;
    gap: 32px;
    align-items: flex-end;
}

.cdx-valores-resumen > div[b-mh5a54pjxq] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cdx-valores-resumen__monto[b-mh5a54pjxq] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.cdx-paginado[b-mh5a54pjxq] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 4px 0;
    font-size: 12px;
}

/* El total sin cuenta no es un cero: es un "todavia no aplica". Se ve distinto a un monto. */
.cdx-valores-resumen__sin-total[b-mh5a54pjxq] {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    padding-bottom: 4px;
}
/* /Components/Pages/Tesoreria/Movimientos.razor.rz.scp.css */
/* Las filas del panel de cuentas son el punto de entrada al libro: tienen que verse clickeables. */
.cdx-cuenta-fila[b-7vorg52cqm] {
    cursor: pointer;
    transition: background 140ms ease;
}

.cdx-cuenta-fila:hover[b-7vorg52cqm] {
    background: var(--surface-3, var(--surface));
}

.cdx-cuenta-fila--sel[b-7vorg52cqm] {
    background: var(--accent-soft);
}

/* La ecuación del saldo, en una línea: inicial + entradas − salidas = final. */
.cdx-cuenta-resumen[b-7vorg52cqm] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
}

.cdx-cuenta-resumen__item[b-7vorg52cqm] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 120px;
}

.cdx-cuenta-resumen__monto[b-7vorg52cqm] {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.cdx-cuenta-resumen__monto--pos[b-7vorg52cqm] { color: var(--success, #15803d); }
.cdx-cuenta-resumen__monto--neg[b-7vorg52cqm] { color: var(--mud-palette-error); }

/* El operador matemático entre términos: es lo que hace legible la cuenta de un vistazo. */
.cdx-cuenta-resumen__op[b-7vorg52cqm] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-muted);
    padding-bottom: 2px;
}

.cdx-cuenta-resumen__item--total[b-7vorg52cqm] {
    padding-left: 16px;
    border-left: 2px solid var(--accent);
}

.cdx-paginado[b-7vorg52cqm] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 4px 0;
    font-size: 12px;
}

/* La cabecera del panel de cuentas es un botón: colapsa y expande. */
.cdx-acordeon[b-7vorg52cqm] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    color: var(--text-secondary);
    font-family: inherit;
    transition: background 140ms ease;
}

.cdx-acordeon:hover[b-7vorg52cqm] { background: var(--surface-3, var(--surface-2)); }

.cdx-acordeon:focus-visible[b-7vorg52cqm] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cdx-acordeon__t[b-7vorg52cqm] { margin: 0; }

.cdx-acordeon__meta[b-7vorg52cqm] {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 12px;
}

/* Con el panel cerrado, la cuenta elegida ocupa el lugar que dejó libre. */
.cdx-acordeon__sel[b-7vorg52cqm] {
    margin-left: auto;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
}

.cdx-acordeon__saldo[b-7vorg52cqm] {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}
/* /Components/Pages/Tesoreria/Prestamos.razor.rz.scp.css */
/* Cada fila abre la historia del cheque: tiene que verse clickeable. */
.cdx-valor-fila[b-9lo1inj474] {
    cursor: pointer;
    transition: background 140ms ease;
}

.cdx-valor-fila:hover[b-9lo1inj474] {
    background: var(--accent-soft);
}

.cdx-valores-resumen[b-9lo1inj474] {
    display: flex;
    gap: 32px;
    align-items: flex-end;
}

.cdx-valores-resumen > div[b-9lo1inj474] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cdx-valores-resumen__monto[b-9lo1inj474] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.cdx-paginado[b-9lo1inj474] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 4px 0;
    font-size: 12px;
}

/* El total sin cuenta no es un cero: es un "todavia no aplica". Se ve distinto a un monto. */
.cdx-valores-resumen__sin-total[b-9lo1inj474] {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    padding-bottom: 4px;
}
/* /Components/Pages/Tesoreria/Previsiones.razor.rz.scp.css */
/* Cada fila abre la historia del cheque: tiene que verse clickeable. */
.cdx-valor-fila[b-yjr4ys3vwt] {
    cursor: pointer;
    transition: background 140ms ease;
}

.cdx-valor-fila:hover[b-yjr4ys3vwt] {
    background: var(--accent-soft);
}

.cdx-valores-resumen[b-yjr4ys3vwt] {
    display: flex;
    gap: 32px;
    align-items: flex-end;
}

.cdx-valores-resumen > div[b-yjr4ys3vwt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cdx-valores-resumen__monto[b-yjr4ys3vwt] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.cdx-paginado[b-yjr4ys3vwt] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 4px 0;
    font-size: 12px;
}

/* El total sin cuenta no es un cero: es un "todavia no aplica". Se ve distinto a un monto. */
.cdx-valores-resumen__sin-total[b-yjr4ys3vwt] {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    padding-bottom: 4px;
}
/* /Components/Pages/Tesoreria/Valores.razor.rz.scp.css */
/* Cada fila abre la historia del cheque: tiene que verse clickeable. */
.cdx-valor-fila[b-3liv103j40] {
    cursor: pointer;
    transition: background 140ms ease;
}

.cdx-valor-fila:hover[b-3liv103j40] {
    background: var(--accent-soft);
}

.cdx-valores-resumen[b-3liv103j40] {
    display: flex;
    gap: 32px;
    align-items: flex-end;
}

.cdx-valores-resumen > div[b-3liv103j40] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cdx-valores-resumen__monto[b-3liv103j40] {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.cdx-paginado[b-3liv103j40] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 4px 0;
    font-size: 12px;
}

/* El total sin cuenta no es un cero: es un "todavia no aplica". Se ve distinto a un monto. */
.cdx-valores-resumen__sin-total[b-3liv103j40] {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    padding-bottom: 4px;
}
/* /Components/Shared/Controls/CdxChequeCarteraPicker.razor.rz.scp.css */
/* Trigger compacto: vive en una celda de la grilla de pagos, no puede ocupar mas que el combo. */
.cdx-cheque-picker[b-yst4n7ptr8] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
}

.cdx-cheque-picker__valor[b-yst4n7ptr8] {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 600;
}

.cdx-cheque-picker__meta[b-yst4n7ptr8] {
    color: var(--text-secondary);
    font-size: 12px;
}

.cdx-cheque-picker__vacio[b-yst4n7ptr8] {
    color: var(--text-muted);
    font-size: 13px;
}

.cdx-cheque-filtros[b-yst4n7ptr8] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 8px;
}

.cdx-cheque-filtros > *[b-yst4n7ptr8] {
    min-width: 150px;
    flex: 0 1 auto;
}

.cdx-cheque-resumen[b-yst4n7ptr8] {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

/* La cartera puede traer cientos: la tabla scrollea, el dialogo no crece sin fin. */
.cdx-cheque-tabla[b-yst4n7ptr8] {
    max-height: 380px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.cdx-cheque-tabla[b-yst4n7ptr8]  th {
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 1;
}

.cdx-cheque-fila[b-yst4n7ptr8] {
    cursor: pointer;
}

.cdx-cheque-fila--sel[b-yst4n7ptr8] {
    background: var(--accent-soft);
}

.cdx-cheque-vacio[b-yst4n7ptr8] {
    color: var(--text-muted);
    text-align: center;
    padding: 18px 0;
}
/* /Components/Shared/Controls/CdxSavingOverlay.razor.rz.scp.css */
/* ============================================================
   CdxSavingOverlay - Animaciones del overlay de guardado
   ============================================================ */

.cdx-saving-backdrop[b-zt1f8s7rdk] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 25, 0.85);
    backdrop-filter: blur(4px);
    animation: cdx-fade-in 0.25s ease-out;
}

.cdx-saving-container[b-zt1f8s7rdk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.cdx-saving-logo[b-zt1f8s7rdk] {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cdx-saving-wheel[b-zt1f8s7rdk] {
    animation: cdx-spin 3s linear infinite;
    filter: drop-shadow(0 0 12px rgba(91, 155, 213, 0.4));
}

.cdx-saving-ring[b-zt1f8s7rdk] {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #5B9BD5;
    border-right-color: rgba(91, 155, 213, 0.3);
    animation: cdx-ring-spin 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 6px rgba(91, 155, 213, 0.5));
}

.cdx-saving-text[b-zt1f8s7rdk] {
    display: flex;
    align-items: baseline;
    user-select: none;
}

.cdx-saving-label[b-zt1f8s7rdk] {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(224, 224, 224, 0.9);
    animation: cdx-text-glow 2s ease-in-out infinite;
}

.cdx-saving-dots[b-zt1f8s7rdk] {
    display: inline-flex;
    width: 24px;
    margin-left: 2px;
}
