.dd3c-chart-container {
    text-align: center;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}
.legend-item {
  display: flex;
  align-items: center;
  margin: 0.25rem 1rem;
}
.legend-swatch {
  width: 12px; height: 12px;
  margin-right: 0.4rem;
  border: 1px solid #ccc;
}
.legend-label {
  white-space: nowrap;
}

/* Tooltip */
#tooltip {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  background: #fff;
  border: 1px solid #aaa;
  padding: 6px 8px;
  font-size: 0.85rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  white-space: nowrap;
  z-index: 1000;
}
