.heatmap-grid {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.heatmap-week {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.heatmap-cell {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.heatmap-active {
  background: var(--accent);
  border-color: var(--accent);
}

.heatmap-future {
  opacity: 0.3;
}

.trend-chart {
  width: 100%;
  height: 100px;
}

.trend-latest {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

.weak-topics-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.weak-topic-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

.weak-topic-count {
  background: var(--danger);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  flex-shrink: 0;
}

.weak-topic-question {
  font-size: 0.85rem;
  color: var(--text-primary);
}
.revision-calendar {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 120px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.revision-day-col {
  flex: 1;
  min-width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.revision-bar {
  width: 70%;
  background: var(--bg-secondary);
  border-radius: 3px 3px 0 0;
  transition: height var(--transition-normal);
}

.revision-bar-active {
  background: var(--accent);
}

.revision-day-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
  height: 12px;
}

.revision-day-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.revision-date-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
}