

.team-activity-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
}

.team-activity-filter-label {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

#team-activity-actor-grid.team-member-grid {
  margin: 0;
}

.team-activity-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 16px;
}

.team-activity-page-nav[hidden] {
  display: none !important;
}

.team-activity-page-arrow {
  appearance: none;
  width: 2.25rem;
  height: 2.15rem;
  border: 1px solid rgba(16, 16, 18, 0.12);
  border-radius: 0.65rem;
  background: #fff;
  color: #101012;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.team-activity-page-arrow:hover:not(:disabled) {
  background: #f4f4f5;
}

.team-activity-page-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.team-activity-page-label {
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  font-size: 0.82rem;
  color: #667085;
}

#team-activity-list.team-activity-list {
  display: grid;
  gap: 0.65rem;
  overflow: visible;
  padding: 0;
  margin: 0;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#team-activity-list.team-activity-list > .muted-line,
#team-activity-list.team-activity-list > .muted-text {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.team-activity-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 16, 18, 0.1);
  background: #fff;
  text-align: left;
  font: inherit;
  color: inherit;
  box-shadow: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.team-activity-card:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 16, 18, 0.18);
  box-shadow: 0 10px 22px rgba(16, 16, 18, 0.05);
}

.team-activity-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.78rem;
  background: #f4f4f5;
  box-shadow: 0 1px 2px rgba(16, 16, 18, 0.12);
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 750;
  color: #101012;
}

.team-activity-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.team-activity-copy strong {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.team-activity-card .muted-line {
  margin: 0;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.35;
}

.team-activity-pill {
  display: inline-flex;
  width: fit-content;
  justify-self: end;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f4f4f5;
  color: #101012;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .team-activity-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .team-activity-pill {
    grid-column: 2;
    justify-self: start;
  }
}
