/* HYPERPART: bar-chart */
/* Promoted VERBATIM from Dazzle regions.css (Tier C-a, fleet
 * convergence). The Dazzle emitter contract is unchanged. */

/* ─────────────────────────── bar_chart region ───────────────────
 * Horizontal bar rows: label (right) / track / value (right). The
 * track has rounded-full chrome; the fill is brand-coloured and
 * its width is the inline value-derived percentage. */

.dz-bar-chart-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-start: var(--space-sm);
}

.dz-bar-chart-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dz-bar-chart-label {
  width: 6rem;
  text-align: end;
  font-size: var(--text-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dz-bar-chart-label.is-wide {
  width: 7rem;
  color: var(--colour-text-muted);
}

.dz-bar-chart-track {
  flex: 1 1 0;
  height: 1.25rem;
  background: var(--colour-bg);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.dz-bar-chart-fill {
  height: 100%;
  background: var(--colour-brand);
  border-radius: var(--radius-full);
  transition: width var(--duration-base) var(--ease-out);
}

.dz-bar-chart-value {
  width: 2.5rem;
  text-align: end;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--colour-text-muted);
}

.dz-bar-chart-value.is-wide {
  width: 2.5rem;
  color: var(--colour-text);
}

.dz-bar-chart-summary {
  font-size: var(--text-xs);
  color: var(--colour-text-muted);
  margin-block-start: var(--space-sm);
}
