/* ARS de ecosistema: tabla ARS -> indices -> indicadores y arbol de despliegue. */

.ars-asof {
    min-width: 160px;
}

.ars-table th {
    white-space: nowrap;
    font-size: .8rem;
}

.ars-table td {
    vertical-align: middle;
}

/* Celdas agrupadas (rowspan): fondo suave para separar visualmente cada ARS. */
.ars-table .ars-cell-area {
    background: #f6f7f9;
}

.ars-table .ars-perf {
    white-space: nowrap;
    font-weight: 600;
}

.ars-table .ars-inactive {
    opacity: .6;
}

.ars-measure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ars-weight-col {
    width: 110px;
}

.ars-tree {
    width: 100%;
    min-height: 320px;
}

/* Pantalla completa del arbol ARS: superpuesto a la ventana, por debajo de las modales. */
.ars-tree-wrapper:focus {
    outline: none;
}

.ars-tree-wrapper.ars-tree-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1045;
    margin: 0;
    padding: 1rem;
    overflow: auto;
    background: var(--bs-body-bg, #fff);
}

body:has(.ars-tree-fullscreen) {
    overflow: hidden;
}
