.page { max-width: none; }
.title { font-size: 22px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 24px; }

/* Stats bar */
.statsBar {
  display: flex; gap: 16px; margin-bottom: 24px;
}

.statCard {
  flex: 1; padding: 16px 20px;
  background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-light);
}

.statLabel { font-size: 12px; color: var(--color-text-secondary); margin-bottom: 4px; }
.statValue { font-size: 20px; font-weight: 600; color: var(--color-text-primary); font-variant-numeric: tabular-nums; }

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 2px; }

.accordionItem {
  background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-card-light);
}

.accordionHeader {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; cursor: pointer; user-select: none;
  transition: background 0.15s;
}

.accordionHeader:hover { background: var(--color-sidebar-hover); }

.chevron {
  width: 16px; height: 16px; flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--color-text-secondary);
}

.chevronOpen { transform: rotate(90deg); }

.accordionName {
  font-size: 14px; font-weight: 500; color: var(--color-text-primary); flex: 1;
}

.accordionBadge {
  font-size: 12px; color: var(--color-text-secondary); white-space: nowrap;
}

.accordionMeta {
  display: flex; gap: 16px; align-items: center;
}

.adminBadge {
  font-size: 11px; padding: 1px 6px; border-radius: 4px;
  background: var(--color-info-bg-soft); color: var(--color-info);
}

/* Accordion body — team members or video grid */
.accordionBody {
  border-top: 1px solid var(--color-border-card);
  padding: 0;
}

/* Nested members inside a team */
.memberList { padding: 0; }

.memberItem {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 40px; cursor: pointer;
  transition: background 0.15s;
}

.memberItem:hover { background: var(--color-sidebar-hover); }

.memberItem + .memberItem { border-top: 1px solid var(--color-border-row); }

.memberName { font-size: 13px; color: var(--color-text-primary); flex: 1; display: flex; align-items: center; gap: 8px; }

/* Video grid inside expanded member */
.videoSection {
  max-height: 440px;
  overflow-y: auto;
  padding: 12px 20px 12px 40px;
  border-top: 1px solid var(--color-border-row);
}

.videoGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

@media (max-width: 1100px) { .videoGrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 800px) { .videoGrid { grid-template-columns: repeat(3, 1fr); } }

/* Video thumbnail — same style as AssetsPage */
.thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-overlay-medium);
  cursor: pointer;
  transition: transform 0.15s;
}

.thumbnail:hover { transform: scale(1.02); }

.thumbVideo {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.thumbPlaceholder {
  width: 100%; height: 100%; background: var(--color-bg-dropdown-elevated);
}

.durationBadge {
  position: absolute; bottom: 4px; left: 4px;
  padding: 1px 5px; border-radius: 3px;
  background: var(--color-modal-overlay); color: var(--color-on-overlay);
  font-size: 10px; font-variant-numeric: tabular-nums;
}

.thumbOverlay {
  position: absolute; inset: 0;
  background: var(--color-overlay-faint); pointer-events: none;
}

.timeBadge {
  position: absolute; bottom: 4px; right: 4px;
  font-size: 10px; color: var(--color-text-on-glass-soft);
}

.loadMore {
  text-align: center; padding: 8px;
}

.loadMoreBtn {
  background: none; border: 1px solid var(--color-border-card);
  color: var(--color-text-secondary); font-size: 12px; padding: 4px 16px;
  border-radius: 6px; cursor: pointer; transition: all 0.15s;
}

.loadMoreBtn:hover { background: var(--color-bg-upload); color: var(--color-text-primary); }

.empty {
  color: var(--color-text-disabled); font-size: 13px;
  text-align: center; padding: 40px 0;
}

.loading {
  color: var(--color-text-secondary); font-size: 14px;
  text-align: center; padding: 60px 0;
}
