/* Chart embed component (feature #08b) */

.chart-embed {
  margin: 1.5rem 0;
  background: var(--surface, #1a1f2e);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 8px;
  overflow: hidden;
  padding: 1rem 1.25rem 0.75rem;
}

.chart-embed__inner {
  position: relative;
  min-height: 80px;
}

.chart-embed canvas {
  width: 100% !important;
  max-height: 420px;
}

.chart-embed__status {
  font-size: 0.8125rem;
  color: var(--text-dim, #94a3b8);
  text-align: center;
  padding: 2rem 0;
  margin: 0;
}

.chart-embed__status--error {
  color: var(--red, #f87171);
}

.chart-embed__caption {
  font-size: 0.75rem;
  color: var(--text-dim, #94a3b8);
  text-align: center;
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
}
