/* Balance 2da vuelta — layout ejecutivo (sobre eventos-dashboard.css) */
.bal-exec-page {
    max-width: 1280px;
}

.bal-exec-ind-panel {
    padding: 1rem 1.15rem 1.1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.bal-exec-ind-panel h2 {
    margin: 0 0 0.35rem;
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1e3a8a;
}

.bal-exec-ind-panel .bal-exec-hint {
    margin: 0 0 0.85rem;
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
}

.bal-exec-ind-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.bal-exec-ind-card {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    padding: 0.75rem 0.45rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bal-exec-ind-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.bal-exec-ind-card.is-active {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

.bal-exec-ind-card strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.bal-exec-ind-card span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.bal-exec-ind-card small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.62rem;
    font-weight: 500;
    opacity: 0.9;
}

.bal-exec-ind-70 {
    background: linear-gradient(145deg, #1e3a8a, #2563eb);
    color: #fff;
    border-color: #1e40af;
}

.bal-exec-ind-60 {
    background: linear-gradient(145deg, #2563eb, #60a5fa);
    color: #fff;
    border-color: #3b82f6;
}

.bal-exec-ind-60all {
    background: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}

.bal-exec-ind-bajo {
    background: #fecaca;
    color: #991b1b;
    border-color: #f87171;
}

.bal-exec-ind-crec {
    background: #fde68a;
    color: #92400e;
    border-color: #fbbf24;
}

.bal-exec-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.bal-exec-charts article h3 {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bal-exec-charts .bal-chart {
    height: 260px;
}

.bal-exec-rango {
    padding: 0 1.15rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.bal-exec-rango h3 {
    margin: 0 0 0.65rem;
    font-size: 0.92rem;
    color: #0f172a;
}

.bal-exec-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
    font-size: 0.8rem;
    color: #1e3a8a;
}

.bal-exec-meta-bar strong {
    color: #1d4ed8;
}

.bal-exec-filtro {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
}

.bal-exec-filtro-title {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.bal-exec-filtro label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.bal-exec-filtro select {
    padding: 0.45rem 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-width: 160px;
}

.bal-exec-filtro-check {
    flex-direction: row !important;
    align-items: center;
    gap: 0.4rem !important;
    padding-bottom: 0.45rem;
}

.bal-exec-filtro .bal-btn {
    margin: 0;
}

.bal-exec-kpis-5 {
    grid-template-columns: repeat(5, 1fr);
}

.bal-exec-kpis-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
    .bal-exec-ind-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bal-exec-kpis-5,
    .evt-exec-kpis.bal-exec-kpis-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .bal-exec-charts {
        grid-template-columns: 1fr;
    }
}

.bal-prov-bloque {
    margin-bottom: 1.25rem;
}

.bal-prov-bloque-titulo {
    margin: 0 0 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 6px 6px 0 0;
}

.bal-prov-bloque-titulo small {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.9;
    text-transform: none;
    letter-spacing: 0;
}

.bal-prov-celda {
    font-weight: 700;
    color: #1e40af;
    font-size: 0.78rem;
    white-space: nowrap;
}
