/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-y7oktcu79n],
.components-reconnect-repeated-attempt-visible[b-y7oktcu79n],
.components-reconnect-failed-visible[b-y7oktcu79n],
.components-pause-visible[b-y7oktcu79n],
.components-resume-failed-visible[b-y7oktcu79n],
.components-rejoining-animation[b-y7oktcu79n] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-retrying[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-failed[b-y7oktcu79n],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-y7oktcu79n] {
    display: block;
}


#components-reconnect-modal[b-y7oktcu79n] {
    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-y7oktcu79n 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-y7oktcu79n 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-y7oktcu79n 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-y7oktcu79n]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-y7oktcu79n 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-y7oktcu79n {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-y7oktcu79n {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-y7oktcu79n {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-y7oktcu79n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-y7oktcu79n] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-y7oktcu79n] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-y7oktcu79n] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-y7oktcu79n] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-y7oktcu79n] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-y7oktcu79n] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-y7oktcu79n 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-y7oktcu79n] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-y7oktcu79n {
    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/Budgets/ChapterTree.razor.rz.scp.css */
/* Árbol de capítulos del constructor de presupuestos. Usa solo variables del tema. */

.chapter-tree[b-v1y2pobqat] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.chapter-tree .chapter-tree[b-v1y2pobqat] {
    margin-left: 12px;
    padding-left: 8px;
    border-left: 1px solid var(--kubic-line);
}

.chapter-tree__item[b-v1y2pobqat] {
    margin: 0;
}

.chapter-tree__row[b-v1y2pobqat] {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid transparent;
    border-radius: var(--kubic-radius-sm);
    transition: background var(--kubic-transition), border-color var(--kubic-transition);
}

.chapter-tree__row:hover[b-v1y2pobqat] {
    background: var(--kubic-muted-bg);
}

.chapter-tree__row.is-selected[b-v1y2pobqat] {
    background: color-mix(in srgb, var(--kubic-primary) 10%, transparent);
    border-color: color-mix(in srgb, var(--kubic-primary) 22%, transparent);
}

.chapter-tree__select[b-v1y2pobqat] {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 10px;
    background: transparent;
    border: 0;
    border-radius: var(--kubic-radius-sm);
    color: var(--kubic-text);
    font: inherit;
    font-size: 0.86rem;
    text-align: left;
    cursor: pointer;
}

.chapter-tree__select:hover[b-v1y2pobqat] {
    color: var(--kubic-primary);
}

.chapter-tree__select:focus-visible[b-v1y2pobqat] {
    outline: 2px solid var(--kubic-primary);
    outline-offset: 1px;
}

.chapter-tree__code[b-v1y2pobqat] {
    flex: none;
    font-family: var(--kubic-font-data);
    font-size: 0.76rem;
    color: var(--kubic-primary);
}

.chapter-tree__name[b-v1y2pobqat] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-tree__amount[b-v1y2pobqat] {
    flex: none;
    font-family: var(--kubic-font-data);
    font-variant-numeric: tabular-nums;
    font-size: 0.76rem;
    color: var(--kubic-text-2);
}

.chapter-tree__actions[b-v1y2pobqat] {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 2px;
    opacity: 0.65;
}

.chapter-tree__row:hover .chapter-tree__actions[b-v1y2pobqat],
.chapter-tree__row:focus-within .chapter-tree__actions[b-v1y2pobqat] {
    opacity: 1;
}
/* /Components/Pages/Projects/ReportDetailPage.razor.rz.scp.css */
/* Galería de fotos del reporte diario (Fase 2, S19). Responsive sin desplazamiento horizontal: la cuadrícula se
   reparte el ancho disponible y en móvil pasa a una sola columna. */

.report-gallery[b-l34t91mqg2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--kubic-space-3);
    margin-top: var(--kubic-space-3);
}

.report-photo[b-l34t91mqg2] {
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    background: var(--kubic-surface);
    border: 1px solid var(--kubic-line);
    border-radius: var(--kubic-radius);
}

.report-photo__link[b-l34t91mqg2] {
    display: block;
    background: var(--kubic-muted-bg);
}

.report-photo__image[b-l34t91mqg2] {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.report-photo__body[b-l34t91mqg2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--kubic-space-3);
}

@media (max-width: 600px) {
    .report-gallery[b-l34t91mqg2] {
        grid-template-columns: 1fr;
    }

    .report-photo__image[b-l34t91mqg2] {
        height: 220px;
    }
}
/* /Components/Pages/Tenders/PublicTenderQuote.razor.rz.scp.css */
/* Lista de renglones a cotizar en la tarjeta estrecha del proveedor (AccountLayout).
   Solo presentación: usa las variables del sistema de diseño. */

.account-quote[b-ap9w60peol] {
    margin-bottom: 4px;
    border: 1px solid var(--kubic-line);
    border-radius: var(--kubic-radius);
    overflow: hidden;
}

.account-quote__head[b-ap9w60peol] {
    padding: 10px 12px;
    background: color-mix(in srgb, var(--kubic-muted-bg) 70%, var(--kubic-surface));
    border-bottom: 1px solid var(--kubic-line);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--kubic-text-2);
}

.account-quote__line[b-ap9w60peol] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--kubic-line);
}

.account-quote__line-head[b-ap9w60peol] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.account-quote__pos[b-ap9w60peol] {
    flex: none;
    min-width: 22px;
    font-family: var(--kubic-font-data);
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--kubic-primary);
}

.account-quote__desc[b-ap9w60peol] {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--kubic-text);
}

.account-quote__meta[b-ap9w60peol] {
    margin-top: 2px;
    font-size: 0.74rem;
    color: var(--kubic-text-2);
}

.account-quote__line-body[b-ap9w60peol] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 6px;
    padding-left: 30px;
}

.account-quote__line-body > :first-child[b-ap9w60peol] {
    flex: 1;
    min-width: 0;
}

.account-quote__total[b-ap9w60peol] {
    flex: none;
    padding-top: 10px;
    font-family: var(--kubic-font-data);
    font-size: 0.82rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--kubic-text);
}

.account-quote__total-row[b-ap9w60peol] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: color-mix(in srgb, var(--kubic-primary) 6%, var(--kubic-surface));
    font-size: 0.9rem;
    font-weight: 600;
}

.account-quote__total-row strong[b-ap9w60peol] {
    font-family: var(--kubic-font-data);
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .account-quote__line-body[b-ap9w60peol] {
        padding-left: 0;
    }
}
/* /Components/Pages/Tenders/TenderDetailPage.razor.rz.scp.css */
/* Comparador de cotizaciones: en pantallas pequeñas la matriz pasa a tarjetas por proveedor.
   Regla del sistema: ningún grid desplaza en horizontal (design-system/kubic/FEEDBACK-PRODUCTO.md). */
.tender-cards[b-fkl5dd0igo] {
    display: none;
}

.tender-card[b-fkl5dd0igo] {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: var(--kubic-surface, #FFFFFF);
    border: 1px solid var(--kubic-line, #DCE5F2);
    border-top: 3px solid var(--kubic-accent, #D97706);
    border-radius: var(--kubic-radius, 12px);
}

.tender-card__head[b-fkl5dd0igo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tender-card__name[b-fkl5dd0igo] {
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
}

.tender-card__total[b-fkl5dd0igo] {
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: var(--kubic-font-data, monospace);
    font-weight: 600;
}

.tender-card__meta[b-fkl5dd0igo] {
    margin: 0;
    color: var(--kubic-text-2, #475569);
    font-size: 0.78rem;
}

.tender-card__rows[b-fkl5dd0igo] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.tender-card__row[b-fkl5dd0igo] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--kubic-line, #DCE5F2);
}

.tender-card__item[b-fkl5dd0igo] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tender-card__price[b-fkl5dd0igo] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
    white-space: nowrap;
    padding: 0 6px;
    border-radius: 6px;
}

@media (max-width: 900px) {
    .tender-matrix-desktop[b-fkl5dd0igo] {
        display: none;
    }

    .tender-cards[b-fkl5dd0igo] {
        display: grid;
        gap: 14px;
    }
}
