/* iSAT — Chart container styles */

.chart-container {
  position: relative;
  width: 100%;
}

.chart-annotation {
  position: absolute;
  font-size: 10px;
  color: #92400E;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  pointer-events: none;
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--font-size-xs);
  color: var(--color-muted);
  margin-top: var(--space-2);
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.chart-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chart-legend-line {
  width: 16px;
  height: 2px;
  flex-shrink: 0;
}

@media print {
  .chart-container canvas {
    display: none;
  }
  .chart-container::after {
    content: '[Chart: see digital version for interactive visualization]';
    display: block;
    font-size: 10pt;
    color: #64748B;
    font-style: italic;
    padding: 8px;
    border: 1px dashed #E2E8F0;
    border-radius: 4px;
  }
}
