
/* A .filter-bar, o dimensionamento do ComboBox e o estilo dos botoes vem do
   ReportFilterBar e do ButtonDefault — aqui fica so o que e proprio da tela. */
.filter-combo[data-v-430a60f4] .combo-box {
  min-width: 140px;
}
.filter-btn-badge[data-v-430a60f4] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  background: #2563eb;
  color: #fff;
  border-radius: 9px;
  margin-left: 2px;
}

/* Chip de filtro avancado ativo (clicar remove) */
.filter-chip[data-v-430a60f4] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip[data-v-430a60f4]:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

/* Bloco de filtros dentro do sheet */
/* Tipografia alinhada ao sheet de /reports/tickets (mesma do bloco de periodo
   entregue pelo ReportFilterSheet). */
.kcf-section[data-v-430a60f4] {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kcf-section-title[data-v-430a60f4] {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}
.kcf-field[data-v-430a60f4] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.kcf-label[data-v-430a60f4] {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}
.kcf-hint[data-v-430a60f4] {
  margin: -2px 0 4px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* O Tooltip embrulha o card e vira o item do grid. Sem esticar, a celula
   encolhe e o card fica menor que os vizinhos da mesma fileira. */
.kpi-tooltip-cell[data-v-85b7cd86] {
  display: flex;
  width: 100%;
}
.kpi-tooltip-cell[data-v-85b7cd86] > * {
  width: 100%;
}

.kcac[data-v-2538e8e2] {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
}
.kcac__svg[data-v-2538e8e2] {
  width: 100%;
  height: calc(100% - 20px);
  display: block;
  overflow: visible;
}
.kcac__axis-y[data-v-2538e8e2] {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30px;
  pointer-events: none;
}
.kcac__axis-y span[data-v-2538e8e2] {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  font-size: 10.5px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.kcac__axis-x[data-v-2538e8e2] {
  position: relative;
  height: 20px;
  margin: 0 8px 0 34px;
}
.kcac__axis-x span[data-v-2538e8e2] {
  position: absolute;
  transform: translateX(-50%);
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kcac__tip[data-v-2538e8e2] {
  position: absolute;
  top: 12px;
  pointer-events: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  min-width: 140px;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.22);
  z-index: 2;
}
.kcac__tip-title[data-v-2538e8e2] {
  font-size: 11.5px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.kcac__tip-row[data-v-2538e8e2] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  font-size: 12px;
  color: #64748b;
  line-height: 1.7;
}
.kcac__tip-row b[data-v-2538e8e2] {
  color: #0f172a;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kcac__dot[data-v-2538e8e2] {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.4rem;
}

.kct-chart[data-v-2c77a725] {
  width: 100%;
  height: 260px;
}
.kct-legend-item[data-v-2c77a725] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748b;
}
.kct-dot[data-v-2c77a725] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.kcrk[data-v-20508c58] {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}
.kcrk__row[data-v-20508c58] {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  opacity: 0;
  animation: kcrk-in-20508c58 0.5s cubic-bezier(0.32, 0.72, 0, 1) forwards;
  animation-delay: calc(var(--i) * 70ms);
}
@keyframes kcrk-in-20508c58 {
from { opacity: 0; transform: translateY(6px);
}
to { opacity: 1; transform: translateY(0);
}
}
.kcrk__pos[data-v-20508c58] {
  width: 18px;
  flex: none;
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
  text-align: right;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.kcrk__body[data-v-20508c58] {
  flex: 1;
  min-width: 0;
}
.kcrk__head[data-v-20508c58] {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.kcrk__name[data-v-20508c58] {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kcrk__amount[data-v-20508c58] {
  font-size: 12.5px;
  color: #64748b;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kcrk__track[data-v-20508c58] {
  display: flex;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.4rem;
  background: #f1f5f9;
  /* Anima a largura por transform seria melhor, mas aqui a barra ja nasce
     dimensionada — a entrada fica por conta do fade da linha inteira. */
  transition: width 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}
.kcrk__seg[data-v-20508c58] {
  display: block;
  height: 100%;
}
.kcrk__seg--gain[data-v-20508c58] { background: #10b981;
}
.kcrk__seg--loss[data-v-20508c58] { background: #ef4444;
}
.kcrk__meta[data-v-20508c58] {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
  font-size: 11.5px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.kcrk__rate[data-v-20508c58] {
  margin-left: auto;
  font-weight: 600;
}
.kcrk__dot[data-v-20508c58] {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.kcrk__dot--gain[data-v-20508c58] { background: #10b981;
}
.kcrk__dot--loss[data-v-20508c58] { background: #ef4444;
}
@media (prefers-reduced-motion: reduce) {
.kcrk__row[data-v-20508c58] { animation: none; opacity: 1;
}
}

.kcrs[data-v-5beb476b] {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 232px;
}
.kcrs__plot[data-v-5beb476b] {
  position: relative;
  flex: 1;
  min-height: 176px;
  padding-left: 26px;   /* espaco dos rotulos do eixo Y */
  padding-bottom: 4px;
}

/* ---- Grade ---- */
.kcrs__grid[data-v-5beb476b] {
  position: absolute;
  inset: 0 0 0 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.kcrs__grid-line[data-v-5beb476b] {
  position: relative;
  display: block;
  border-top: 1px solid hsl(var(--border) / 0.7);
}
.kcrs__grid-line i[data-v-5beb476b] {
  position: absolute;
  right: calc(100% + 8px);
  top: -0.55em;
  font-style: normal;
  font-size: 10.5px;
  color: hsl(var(--muted-foreground));
  font-variant-numeric: tabular-nums;
}

/* ---- Colunas ---- */
.kcrs__bars[data-v-5beb476b] {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.5rem;
  height: 100%;
}
.kcrs__col[data-v-5beb476b] {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  height: 100%;
  transition: opacity 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Foco por contraste: as demais colunas recuam no hover. */
.kcrs__col.is-dimmed[data-v-5beb476b] { opacity: 0.45;
}
.kcrs__bar-wrap[data-v-5beb476b] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.kcrs__bar[data-v-5beb476b] {
  display: block;
  width: 100%;
  max-width: 44px;
  border-radius: 6px 6px 2px 2px;
  transform-origin: bottom center;
  /* scaleY em vez de height: animar height forca relayout a cada frame. */
  transform: scaleY(0);
  animation: kcrs-grow-5beb476b 0.7s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
@keyframes kcrs-grow-5beb476b {
to { transform: scaleY(1);
}
}

/* ---- Rodape: resumo fixo ---- */
.kcrs__foot[data-v-5beb476b] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}
.kcrs__foot-name[data-v-5beb476b] {
  font-weight: 500;
  color: hsl(var(--foreground));
}
.kcrs__foot-meta[data-v-5beb476b] {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kcrs__foot-meta b[data-v-5beb476b] {
  color: hsl(var(--foreground));
  font-weight: 600;
}

/* ---- Tooltip (mesmo visual do grafico de tendencia) ---- */
.kcrs__tip[data-v-5beb476b] {
  position: absolute;
  top: 6px;
  pointer-events: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  min-width: 150px;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.22);
  z-index: 2;
}
.kcrs__tip-title[data-v-5beb476b] {
  font-size: 11.5px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
}
.kcrs__tip-row[data-v-5beb476b] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  font-size: 12px;
  color: #64748b;
  line-height: 1.7;
}
.kcrs__tip-row b[data-v-5beb476b] {
  color: #0f172a;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kcrs__dot[data-v-5beb476b] {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.45rem;
  flex: none;
}
@media (prefers-reduced-motion: reduce) {
.kcrs__bar[data-v-5beb476b] { animation: none; transform: scaleY(1);
}
}

.kcr-amount[data-v-79f7bfca] {
  font-variant-numeric: tabular-nums;
  color: #334155;
}

.kco-rank[data-v-6e7a4b6a] {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.kco-strong[data-v-6e7a4b6a] {
  font-weight: 600;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.kco-gain[data-v-6e7a4b6a] {
  color: #059669;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kco-loss[data-v-6e7a4b6a] {
  color: #dc2626;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kco-amount[data-v-6e7a4b6a] {
  color: #334155;
  font-variant-numeric: tabular-nums;
}

.empty-state[data-v-54f63067] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.empty-icon[data-v-54f63067] {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.empty-title[data-v-54f63067] {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.empty-desc[data-v-54f63067] {
  font-size: 13px;
  color: #94a3b8;
  text-align: center;
  max-width: 300px;
  margin: 0;
  line-height: 1.5;
}
