/* ===== Chart.js Canvas ===== */
.chart-wrap {
  position: relative;
  height: 280px;
  width: 100%;
}

/* ===== No Data Placeholder ===== */
.chart-no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Auto-fit Button ===== */
.btn-autofit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid var(--border-primary, #333);
  border-radius: 5px;
  background: var(--bg-card-alt, #1a1a2e);
  color: var(--text-tertiary);
  cursor: pointer;
  vertical-align: middle;
  line-height: 1;
  transition: color .15s, border-color .15s, background .15s;
}
.btn-autofit:hover {
  color: var(--color-info, #3b82f6);
  border-color: var(--color-info, #3b82f6);
  background: var(--bg-card-hover);
}
.btn-autofit svg { pointer-events: none; }

/* ===== Capacity Scatter Chart ===== */
.capacity-chart-wrap {
  height: 320px;
  position: relative;
}

/* ===== Report Chart ===== */
.report-chart-wrap {
  height: 200px;
  position: relative;
}
