/* __BATARYA_SMART_BRANCH_CHARTS_R66__ */
.gh-r66-chart-box {
  position: relative;
  overflow: hidden;
  border-radius: 14px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,249,248,.98));
}
.gh-r66-chart-box::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 10px;
  border-top: 1px dashed rgba(15, 23, 42, .08);
  pointer-events: none;
}
.gh-r66-chart-box .gh-r66-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.gh-r66-chart-box .gh-r66-chart-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.gh-r66-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
  color: #334155;
  white-space: nowrap;
}
.gh-r66-chip--up {
  background: rgba(16, 185, 129, .10);
  color: #0f766e;
  border-color: rgba(16, 185, 129, .22);
}
.gh-r66-chip--down {
  background: rgba(239, 68, 68, .10);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, .22);
}
.gh-r66-chip--flat {
  background: rgba(59, 130, 246, .10);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, .22);
}
.gh-r66-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.gh-r66-kpi {
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(248, 250, 252, .94);
  border: 1px solid rgba(15, 23, 42, .05);
}
.gh-r66-kpi b {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}
.gh-r66-kpi small {
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
}
.gh-r66-spark-wrap {
  position: relative;
  margin-top: 6px;
}
.gh-r66-spark-wrap svg,
.gh-r66-spark-wrap canvas {
  width: 100% !important;
  height: 58px !important;
  display: block;
}
.gh-r66-spark-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
}
.gh-r66-chart-dot {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.16));
}
@media (max-width: 1200px) {
  .gh-r66-kpis { grid-template-columns: 1fr; }
}
