.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.team-card.is-bot {
  border-left: 4px solid var(--purple);
  background: #fdfcff;
}
.team-card.is-human {
  border-left: 4px solid var(--green);
}
.team-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.team-card-head h3 {
  font: 18px Georgia, serif;
  margin: 0;
  color: var(--ink);
}
.team-card-role {
  font-size: 11px;
  color: var(--muted);
}
.team-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.team-stat-val {
  font: 18px Georgia, serif;
  font-weight: 600;
  color: var(--ink);
}
.team-stat-val.alert {
  color: var(--orange);
}
.team-stat-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.team-card-foot {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.overdue-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.overdue-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.overdue-item:last-child {
  border-bottom: 0;
}
.overdue-due {
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}
