.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.team {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.team h2 { font-size: 1.1rem; margin: 0; color: var(--accent); }
.team .count { color: var(--dim); font-size: 0.85rem; }
.team ol { list-style: decimal inside; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.team ol li {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.95rem;
}
.team.empty-state { color: var(--dim); font-style: italic; text-align: center; }

.team.appear { animation: teamIn 0.4s ease-out both; }
@keyframes teamIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
