/* ===== PROJECTION CHART CONTROLS ===== */
.proj-chart-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* ===== BREAKDOWN BARS ===== */
.breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.breakdown-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.breakdown-label-name {
  font-weight: 600;
  color: var(--text-primary);
}

.breakdown-label-value {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.breakdown-bar-track {
  width: 100%;
  height: 28px;
  background-color: var(--bg-primary);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  border: 1px solid var(--border);
}

.breakdown-bar-contrib {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.breakdown-bar-growth {
  height: 100%;
  background: linear-gradient(90deg, #2dd4bf, #14b8a6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.breakdown-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.breakdown-legend-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 0.4rem;
  vertical-align: middle;
}
