/* Multiple projects + history */
.project-challenge {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-top: 1.25rem;
}
.project-challenge:last-child {
  margin-bottom: 0;
}
.project-challenge-head,
.project-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: var(--text-base);
  font-weight: 600;
}
.project-challenge-head::-webkit-details-marker,
.project-card-head::-webkit-details-marker {
  display: none;
}
.project-challenge[open] > .project-challenge-head {
  margin-bottom: 0.75rem;
}
.project-card[open] > .project-card-head {
  margin-bottom: 0.6rem;
}
.project-challenge-head .fa-chevron-right,
.project-card-head .fa-chevron-right {
  font-size: var(--text-sm);
  color: var(--muted);
  transition: transform 0.15s;
}
.project-challenge[open] > .project-challenge-head .fa-chevron-right,
.project-card[open] > .project-card-head .fa-chevron-right {
  transform: rotate(90deg);
}
.project-submission {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}
.history-item {
  margin-bottom: 1rem;
}
.history-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  cursor: pointer;
  list-style: none;
}
.history-head::-webkit-details-marker {
  display: none;
}
.history-meta {
  margin-left: auto;
  font-size: var(--text-sm);
}

.history-actions {
  text-align: right;
  margin: 0.6rem 0;
}

