
/* ===== GRADES CHART ===== */

.grades-panel {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  
  padding: var(--space-6);
  
  display: flex;
  flex-direction: column;
}

.grades-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  margin-bottom: var(--space-4);
}

.grades-panel__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

.grades-panel__chart-container {
  position: relative;
  height: 280px;
  width: 100%;
  flex: 1;
}

.grades-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--fg-muted);
  text-align: center;
}

.grades-panel__empty-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-2);
  opacity: 0.5;
}

.grades-panel__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.grades-metric {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.grades-metric__label {
  font-size: var(--text-xs);
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.grades-metric__value {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

/* Sections panel as separate full-width row below stats */
.sections-panel {
  margin-bottom: var(--space-8);
}

.sections-panel__list--horizontal {
  max-height: 14rem;
  overflow-y: auto;
}
