/* ============================================================
   V13.19.11 — INDICADORES / POWER BI
   ============================================================ */
.indicadores-screen {
    min-height: 100vh;
    padding: 30px 30px 36px;
}
.indicadores-page {
    width: min(100%, 1720px);
    margin: 0 auto;
}
.indicadores-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}
.indicadores-header h1 {
    margin: 5px 0 5px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -.04em;
}
.indicadores-header p {
    margin: 0;
    color: var(--text-secondary, #8d98ad);
    font-size: 13px;
}
.indicadores-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
.indicadores-refresh-btn {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 10px;
    background: rgba(255,255,255,.045);
    color: #dce4f4;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease, opacity .18s ease;
}
.indicadores-refresh-btn:hover:not(:disabled) {
    background: rgba(255,255,255,.08);
    border-color: rgba(148,163,184,.3);
    transform: translateY(-1px);
}
.indicadores-refresh-btn:disabled { opacity: .62; cursor: wait; }
.indicadores-refresh-btn i { margin-right: 7px; }
.indicadores-refresh-btn.is-loading i { animation: indicadores-spin .8s linear infinite; }
@keyframes indicadores-spin { to { transform: rotate(360deg); } }

.indicadores-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 5px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(148,163,184,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    scrollbar-width: thin;
}
.indicadores-tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #8794aa;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.indicadores-tab:hover {
    color: #dce4f4;
    background: rgba(255,255,255,.04);
}
.indicadores-tab.is-active {
    color: #f1f5ff;
    border-color: rgba(73,113,214,.42);
    background: rgba(50,87,180,.22);
    box-shadow: inset 0 0 0 1px rgba(89,126,222,.08);
}

.indicadores-panel {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: 0 16px 42px rgba(0,0,0,.14);
}
.indicadores-panel-head {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(148,163,184,.11);
}
.indicadores-panel-kicker {
    display: block;
    margin-bottom: 3px;
    color: #5f7dcc;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;
}
.indicadores-panel-head h2 {
    margin: 0;
    color: #eef3fb;
    font-size: 17px;
    letter-spacing: -.02em;
}
.indicadores-frame-shell {
    position: relative;
    width: 100%;
    aspect-ratio: var(--indicadores-aspect-ratio, 16 / 9);
    overflow: hidden;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #090d15;
}
.indicadores-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    color-scheme: dark;
}
.indicadores-frame-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0b1019;
    color: #8895aa;
    font-size: 12px;
    font-weight: 700;
    transition: opacity .18s ease, visibility .18s ease;
}
.indicadores-frame-loading.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
body:not(.tema-escuro) .indicadores-panel { background: #fff; border-color: rgba(15,23,42,.1); }
body:not(.tema-escuro) .indicadores-panel-head { border-bottom-color: rgba(15,23,42,.08); }
body:not(.tema-escuro) .indicadores-panel-head h2 { color: #172033; }
body:not(.tema-escuro) .indicadores-refresh-btn { background: #fff; color: #253047; border-color: rgba(15,23,42,.12); }
body:not(.tema-escuro) .indicadores-frame-loading { background: #f7f9fc; color: #667085; }
@media (max-width: 900px) {
    .indicadores-screen { padding: 72px 14px 22px; }
    .indicadores-header { align-items: flex-start; flex-direction: column; gap: 13px; }
    .indicadores-header-actions { width: 100%; justify-content: space-between; }
}
