/**
 * Go CSS · activity
 * 
 * Purpose:
 *   Styles for this dashboard piece.
 * 
 * Dashboard:
 *   Go · App Store / data-view · team
 * 
 * This file:
 *   business/dashboard/team-app/activity-app/activity-app.css
 * 
 * Depends on:
 *   - business/dashboard/shell/shell.html
 *   - scripts/assemble-dashboards.js
 * 
 * Used by:
 *   - scripts/assemble-dashboards.js → business/dashboard/styles.css
 */

.team-activity-list {
  max-height: 520px;
  overflow-y: auto;
}

.team-activity-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel, #fff);
  max-height: 520px;
  overflow-y: auto;
}

.team-activity-list > .muted-text {
  margin: 0;
  padding: 0.9rem 1rem;
}

.team-activity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--border);
}

.team-activity-row:first-child {
  border-top: 0;
}

.team-activity-row strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
}

.team-activity-row small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--muted);
}

.team-activity-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0.75rem 0 0.5rem;
}

.team-activity-filter-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.team-activity-actor-filter {
  min-width: 12rem;
  max-width: 100%;
  padding: 0.4rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--border, #d0d5dd) 90%, transparent);
  border-radius: 0.45rem;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
}

.team-activity-actor-kind {
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.team-activity-time {
  font-size: 0.7rem;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 0.1rem;
}

@media (max-width: 640px) {
  .team-activity-row {
    grid-template-columns: 1fr;
  }
}
