/* Indicadores */
.ind-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 12px; padding: 12px 14px; margin-bottom: 14px }
.ind-filters label { display: grid; gap: 4px; font-size: .78rem; font-weight: 650; color: var(--muted); flex: 0 1 160px }
.ind-filters input, .ind-filters select { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 .6rem; background: white; color: var(--ink); font-weight: 500 }
.ind-filters .button { min-height: 38px }
.ind-presets { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 100%; }
.ind-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 650; color: var(--muted); background: white }
.ind-chip:hover { border-color: #b9c8db; color: var(--ink) }
.ind-chip.active { background: var(--navy); border-color: var(--navy); color: white }
.ind-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 16px; overflow-x: auto }
.ind-tabs a { padding: 10px 14px; font-weight: 700; font-size: .9rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap }
.ind-tabs a[aria-current] { color: var(--blue); border-bottom-color: var(--blue) }
.ind-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 14px }
.ind-kpi { display: grid; gap: 2px; text-align: left; padding: 14px 16px; background: white; border: 1px solid var(--line); border-radius: 12px; min-width: 0; cursor: pointer; transition: border-color .15s, box-shadow .15s }
.ind-kpi:hover { border-color: #9fb6dc; box-shadow: 0 2px 10px rgba(17,29,48,.06) }
.ind-kpi span { color: var(--muted); font-size: .78rem; font-weight: 650 }
.ind-kpi strong { font-size: 1.8rem; line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums }
.ind-kpi strong em { font-style: normal; color: #8796ab; font-size: 1.1rem; font-weight: 600 }
.ind-kpi small { color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.ind-kpi.good strong { color: #126449 }
.ind-kpi.bad strong { color: #b3261e }
.ind-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px }
.ind-card { display: flex; flex-direction: column; min-width: 0 }
.ind-card.wide { grid-column: 1 / -1 }
.ind-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 8px 12px; padding: 14px 16px 6px }
.ind-card-head h2 { font-size: 1.02rem }
.ind-card-head .hint { margin-top: 2px; font-size: .78rem }
.ind-chart { height: 260px; margin: 0 8px 10px; min-width: 0 }
.ind-chart.is-empty { display: grid; place-items: center; height: 140px; color: var(--muted); font-size: .86rem }
.ind-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden }
.ind-switch a { padding: 5px 10px; font-size: .78rem; font-weight: 650; color: var(--muted); border-right: 1px solid var(--line) }
.ind-switch a:last-child { border-right: 0 }
.ind-switch a[aria-current] { background: #eaf1ff; color: var(--blue) }
.ind-funnel { list-style: none; margin: 0; padding: 6px 16px 14px; display: grid; gap: 4px }
.ind-funnel li { display: grid; grid-template-columns: minmax(0,1fr) 150px; align-items: center; gap: 10px }
.ind-stage { display: grid; grid-template-columns: 92px minmax(0,1fr) 44px 150px; align-items: center; gap: 10px; border: 0; background: none; padding: 7px 6px; border-radius: 8px; text-align: left; width: 100% }
.ind-stage:hover { background: #f3f7ff }
.ind-stage-label { font-weight: 700; font-size: .86rem }
.ind-stage-track { height: 24px; background: #f0f4f9; border-radius: 6px; overflow: hidden }
.ind-stage-bar { display: block; height: 100%; width: 0; border-radius: 6px; transition: width .5s ease }
.ind-stage-bar.s0 { background: #9db7e8 } .ind-stage-bar.s1 { background: #6f97e0 } .ind-stage-bar.s2 { background: #4a7ad6 }
.ind-stage-bar.s3 { background: #2c63d0 } .ind-stage-bar.s4 { background: #124fca } .ind-stage-bar.s5 { background: #1f8a70 }
.ind-stage strong { font-size: 1.05rem; text-align: right; font-variant-numeric: tabular-nums }
.ind-stage small { color: var(--muted); font-size: .76rem }
.ind-loss { border: 0; background: #fce9ee; color: #a12a40; font-size: .74rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; justify-self: start }
.ind-loss.none { background: none; color: #a9b6c7; font-weight: 500 }
.ind-list, .ind-drill { list-style: none; margin: 0; padding: 4px 16px 12px }
.ind-list li, .ind-drill li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 9px 0; border-bottom: 1px solid #edf1f6 }
.ind-list li:last-child, .ind-drill li:last-child { border-bottom: 0 }
.ind-list a, .ind-drill a { font-weight: 700; color: var(--ink) }
.ind-list a:hover, .ind-drill a:hover { color: var(--blue); text-decoration: underline }
.ind-list small, .ind-drill small { flex: 1 0 100%; color: var(--muted); font-size: .8rem }
.ind-drill { padding: 0; max-height: 60vh; overflow: auto }
.ind-table { width: 100%; border-collapse: collapse; font-size: .86rem }
.ind-table th, .ind-table td { padding: 9px 12px; border-top: 1px solid #edf1f6; text-align: right; font-variant-numeric: tabular-nums }
.ind-table th:first-child { text-align: left }
.ind-table thead th { color: var(--muted); font-size: .74rem; font-weight: 700; border-top: 0 }
.ind-table .text-button { color: var(--blue); font-weight: 700 }
.ind-tooltip { padding: 0 !important; border: 1px solid var(--line) !important; border-radius: 8px !important; box-shadow: 0 6px 18px rgba(17,29,48,.12) !important }
.ind-tip { display: grid; gap: 3px; padding: 8px 10px; font: 13px/1.4 "Inter", system-ui, sans-serif; color: var(--ink) }
.ind-tip span { display: flex; align-items: center; gap: 6px }
.ind-tip b { margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums }
.ind-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; background: #a9b6c7 }
.ind-dot.k124fca { background: #124fca } .ind-dot.k3f8fd8 { background: #3f8fd8 } .ind-dot.k62c3d9 { background: #62c3d9 }
.ind-dot.k1f8a70 { background: #1f8a70 } .ind-dot.ke0a526 { background: #e0a526 } .ind-dot.kc2410c { background: #c2410c }
.ind-dot.k7c8aa5 { background: #7c8aa5 } .ind-dot.k5b3fc4 { background: #5b3fc4 } .ind-dot.ka9b6c7 { background: #a9b6c7 }
@media (max-width: 1040px) { .ind-kpis { grid-template-columns: repeat(3,minmax(0,1fr)) } }
@media (max-width: 760px) {
  .ind-kpis { grid-template-columns: 1fr 1fr; gap: 8px }
  .ind-kpi { padding: 11px 12px }
  .ind-kpi strong { font-size: 1.45rem }
  .ind-grid { grid-template-columns: 1fr }
  .ind-filters label { flex: 1 1 130px }
  .ind-funnel { padding: 4px 8px 12px }
  .ind-funnel li { grid-template-columns: 1fr; gap: 0 }
  .ind-stage { grid-template-columns: 78px minmax(0,1fr) 36px; }
  .ind-stage small { grid-column: 1 / -1; padding-left: 88px; margin-top: -4px }
  .ind-loss { margin: 0 0 6px 94px }
  .ind-loss.none { display: none }
  .ind-chart { height: 240px }
}
