
.hkp-chart {
  min-width: 0;
}

.hkp-chart-plot {
  display: block;
  width: 100%;
  height: auto;
}

.hkp-chart-grid {
  stroke: var(--line);
  stroke-dasharray: 3 4;
}

.hkp-chart-axis {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
}

.hkp-candle-up {
  color: var(--green);
}

.hkp-candle-down {
  color: var(--red);
}

.hkp-candle line {
  stroke: currentColor;
}

.hkp-candle rect {
  fill: currentColor;
}

.hkp-chart-event-publish {
  color: var(--green);
}

.hkp-chart-event-add {
  color: var(--accent);
}

.hkp-chart-event-reduce {
  color: var(--red);
}

.hkp-chart-event rect {
  fill: var(--surface);
  stroke: currentColor;
}

.hkp-chart-event path {
  stroke: currentColor;
  stroke-opacity: .65;
}

.hkp-chart-event text {
  fill: currentColor;
  font-size: 10.5px;
  font-weight: 600;
}

.hkp-chart-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 9px;
  padding: 2px 0 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.hkp-chart-caption strong {
  font-family: var(--mono);
  font-weight: 500;
  white-space: nowrap;
}

.hkp-chart-caption span:last-child,
.hkp-chart-empty {
  color: var(--faint);
}

.hkp-chart-empty {
  margin: 0;
  padding: 30px 0;
  text-align: center;
}

