/* Page-scoped styles: all selectors are under #performer-dashboard to avoid global regressions */
#performer-dashboard {
  background: #f7f7fb;
  min-height: 100vh;
  --gutter: 16px; /* lock page gutters to 16px per analytics layout */
  --font-main: 'Poppins', sans-serif;
  font-family: var(--font-main);
  padding: var(--gutter) 0 calc(var(--gutter) * 1.25);
  overflow-x: hidden; /* prevent right-side page overflow from wide children */
}
#performer-dashboard .container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  outline: 1px solid rgba(0,0,0,0.04);
  overflow: hidden; /* clip child overflow consistently across browsers */
}
#performer-dashboard .topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: #fff;
}
#performer-dashboard .icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  color: #555;
  cursor: pointer;
}
#performer-dashboard .icon-btn:hover {
  background: #f1f1f5;
}
#performer-dashboard .topbar-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
#performer-dashboard .content {
  padding: 0 var(--gutter) var(--gutter);
  display: grid;
  gap: var(--gutter);
}

/* Breadcrumb */
#performer-dashboard .breadcrumb {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto calc(var(--gutter) * 0.5);
  padding: 0 var(--gutter);
  box-sizing: border-box; /* include padding in width to avoid horizontal overflow */
}
#performer-dashboard .breadcrumb a {
  font-size: 13px;
  color: #6f3bdc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Welcome card */
#performer-dashboard .welcome-card {
  border-radius: 16px;
  background: #6f3bdc;
  color: #fff;
  padding: var(--gutter);
  box-shadow: 0 4px 16px rgba(111,59,220,0.25);
}
#performer-dashboard .welcome-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: #6f3bdc; /* App purple */
  border-radius: 12px;
  padding: 12px;
}
#performer-dashboard .welcome-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}
#performer-dashboard .welcome-subtle {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.85;
}
#performer-dashboard .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* Background and color are now handled by .avatar-core states in style.css */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
  flex: 0 0 auto;
  margin: 0;
  /* Ring order: center avatar -> inner white -> outer purple -> subtle drop shadow */
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6d28d9, 0 4px 8px 4px rgba(109, 40, 217, 0.15);
  position: relative;
  overflow: visible;
}

#performer-dashboard .avatar-core.avatar-fallback,
#performer-dashboard .avatar-core.avatar-error {
  background-color: var(--color-primary);
  color: #ffffff;
}

#performer-dashboard .avatar-core.avatar-fallback .avatar-initials,
#performer-dashboard .avatar-core.avatar-error .avatar-initials {
  color: #ffffff;
}

/* .avatar-image and .has-image states are now handled by .avatar-core in style.css */
#performer-dashboard .welcome-ctas {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gutter) * 0.5);
}
#performer-dashboard .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
#performer-dashboard .btn-ghost {
  background: #fff;
  color: #6f3bdc;
}
#performer-dashboard .btn-primary {
  background: #20b25d;
  color: #fff;
}
#performer-dashboard .btn-ghost:hover { filter: brightness(0.98); }
#performer-dashboard .btn-primary:hover { filter: brightness(0.98); }
#performer-dashboard .btn-secondary {
  background: #fff;
  color: #6f3bdc;
  border: 1px solid #6f3bdc;
}
#performer-dashboard .btn-secondary:hover { background: #f7f2ff; }

/* Stats grid */
#performer-dashboard .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gutter) * 0.75);
}
#performer-dashboard .card {
  background: #fff;
  border-radius: 16px;
  padding: var(--gutter);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  outline: 1px solid rgba(0,0,0,0.05);
}
#performer-dashboard .card-primary {
  box-shadow: 0 6px 16px rgba(111,59,220,.18);
}
#performer-dashboard .stat-card {
  text-align: center;
}
#performer-dashboard .stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f6f6fa;
  color: #555;
  display: grid;
  place-items: center;
  margin: 0 auto 6px;
}
#performer-dashboard .stat-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
#performer-dashboard .stat-label {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
#performer-dashboard .rank-card {
  background: linear-gradient(180deg,#fff7e6 0%,#fff9ee 100%);
  color: #7a4b00;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 120ms ease;
  cursor: default;
}
#performer-dashboard .rank-card:hover {
  box-shadow: 0 4px 16px rgba(251,191,36,0.25);
}
#performer-dashboard .rank-value {
  color: #92400e;
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
  line-height: 1.1;
}
#performer-dashboard .rank-label {
  font-size: 12px;
  color: #374151;
  font-weight: 700;
  margin-top: 3px;
}
#performer-dashboard .rank-desc {
  font-size: 11px;
  color: #4b5563;
  margin-top: 4px;
}

/* Progression dashboard entry */
#performer-dashboard .progression-card[hidden] {
  display: none !important;
}
#performer-dashboard .progression-card {
  border: 1px solid rgba(109, 40, 217, 0.18);
  background:
    radial-gradient(circle at top right, rgba(253, 230, 138, 0.34), transparent 28%),
    radial-gradient(circle at bottom left, rgba(221, 214, 254, 0.48), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #faf5ff 48%, #fffaf0 100%);
  box-shadow: 0 12px 28px rgba(45, 31, 84, 0.08);
}
#performer-dashboard .progression-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
#performer-dashboard .progression-card__eyebrow {
  margin: 0 0 4px;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#performer-dashboard .progression-card__title {
  margin: 0;
  color: #211238;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
#performer-dashboard .progression-card__points {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}
#performer-dashboard .progression-card__cta {
  flex-shrink: 0;
  min-height: 44px;
}
#performer-dashboard .progression-card__body {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
#performer-dashboard .progression-card__rank {
  color: #111827;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
}
#performer-dashboard .progression-card__highlights {
  margin-top: 6px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}
#performer-dashboard .progression-card__meter-wrap {
  display: grid;
  gap: 8px;
}
#performer-dashboard .progression-card__meter {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
}
#performer-dashboard .progression-card__meter-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed 0%, #f59e0b 100%);
  transition: width 160ms ease;
}
#performer-dashboard .progression-card__meter-label,
#performer-dashboard .progression-card__recent,
#performer-dashboard .progression-card__notification,
#performer-dashboard .progression-card__signature {
  color: #374151;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
#performer-dashboard .progression-card__notification[hidden] {
  display: none !important;
}
#performer-dashboard .progression-card__notification {
  display: grid;
  gap: 10px;
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.18), transparent 48%),
    rgba(250, 245, 255, 0.92);
  border: 1px solid rgba(124, 58, 237, 0.2);
}
#performer-dashboard .progression-card__notification-eyebrow {
  color: #7c3aed;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#performer-dashboard .progression-card__notification-title {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}
#performer-dashboard .progression-card__notification-copy {
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
#performer-dashboard .progression-card__notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#performer-dashboard .progression-card__notification-action {
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: #fff;
  color: #6f3bdc;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
#performer-dashboard .progression-card__notification-action:hover {
  background: #f7f2ff;
}
#performer-dashboard .progression-card__notification-action[disabled] {
  cursor: wait;
  opacity: 0.68;
}
#performer-dashboard .progression-card__signature {
  display: grid;
  gap: 10px;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(124, 58, 237, 0.12);
}
#performer-dashboard .progression-card__signature[hidden] {
  display: none !important;
}
#performer-dashboard .progression-card__signature--gold {
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.28), transparent 42%),
    rgba(255, 251, 235, 0.92);
  border-color: rgba(245, 158, 11, 0.36);
}
#performer-dashboard .progression-card__signature--platinum {
  background:
    radial-gradient(circle at top right, rgba(226, 232, 240, 0.95), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 243, 255, 0.92));
  border-color: rgba(148, 163, 184, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}
#performer-dashboard .progression-card__signature-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#performer-dashboard .progression-card__signature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
#performer-dashboard .progression-card__signature--gold .progression-card__signature-badge {
  background: #92400e;
  color: #fffbeb;
}
#performer-dashboard .progression-card__signature--platinum .progression-card__signature-badge {
  background: #334155;
  color: #f8fafc;
}
#performer-dashboard .progression-card__signature-heading {
  min-width: 0;
}
#performer-dashboard .progression-card__signature-title {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}
#performer-dashboard .progression-card__signature-artist {
  margin-top: 2px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
#performer-dashboard .progression-card__signature-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#performer-dashboard .progression-card__signature-detail {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #374151;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 640px) {
  #performer-dashboard .progression-card__header {
    flex-direction: column;
  }
  #performer-dashboard .progression-card__cta {
    width: 100%;
  }
}

/* Song History & Favorites dashboard entry */
#performer-dashboard .memory-card[hidden] {
  display: none !important;
}
#performer-dashboard .memory-card {
  overflow: hidden;
  border: 1px solid rgba(109, 40, 217, 0.14);
  background:
    radial-gradient(circle at top right, rgba(236, 253, 245, 0.9), transparent 34%),
    linear-gradient(135deg, #f5f3ff 0%, #ffffff 58%, #fff7ed 100%);
  box-shadow: 0 10px 28px rgba(45, 31, 84, 0.08);
}
#performer-dashboard .memory-card__content {
  display: grid;
  gap: 14px;
}
#performer-dashboard .memory-card__eyebrow {
  margin: 0 0 4px;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#performer-dashboard .memory-card__title {
  margin: 0;
  color: #211238;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}
#performer-dashboard .memory-card__copy {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
#performer-dashboard .memory-card__summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gutter) * 0.5);
}
#performer-dashboard .memory-card__metric {
  min-width: 0;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(124, 58, 237, 0.1);
}
#performer-dashboard .memory-card__value {
  display: block;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
#performer-dashboard .memory-card__label {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}
#performer-dashboard .memory-card__meta {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}
#performer-dashboard .memory-card__cta {
  min-height: 44px;
  justify-self: stretch;
}

/* Passport summary card (KTP.M6 slice 3 — shell/layout only) */
#performer-dashboard .passport-card[hidden] {
  display: none !important;
}
#performer-dashboard .passport-card {
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.16);
  background:
    radial-gradient(circle at top right, rgba(204, 251, 241, 0.85), transparent 34%),
    linear-gradient(135deg, #f0fdfa 0%, #ffffff 58%, #f0f9ff 100%);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.08);
}
#performer-dashboard .passport-card__content {
  display: grid;
  gap: 14px;
}
#performer-dashboard .passport-card__eyebrow {
  margin: 0 0 4px;
  color: #0d9488;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#performer-dashboard .passport-card__title {
  margin: 0;
  color: #211238;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}
#performer-dashboard .passport-card__copy {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
#performer-dashboard .passport-card__summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gutter) * 0.5);
}
#performer-dashboard .passport-card__metric {
  min-width: 0;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 148, 136, 0.1);
}
#performer-dashboard .passport-card__value {
  display: block;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
#performer-dashboard .passport-card__label {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}
#performer-dashboard .passport-card__meta {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}
#performer-dashboard .passport-card__next {
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at top right, rgba(13, 148, 136, 0.12), transparent 48%),
    rgba(240, 253, 250, 0.92);
  border: 1px solid rgba(13, 148, 136, 0.18);
  color: #374151;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
#performer-dashboard .passport-card__next[hidden] {
  display: none !important;
}
#performer-dashboard .passport-card__status {
  color: #374151;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
#performer-dashboard .passport-card__status[hidden] {
  display: none !important;
}
#performer-dashboard .passport-card__cta {
  min-height: 44px;
  justify-self: stretch;
}
#performer-dashboard .passport-card__privacy {
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}

/* Passport card state variants (for slice 4 hydration) */
#performer-dashboard .passport-card[data-passport-state="loading"] .passport-card__value { color: #9ca3af; }
#performer-dashboard .passport-card[data-passport-state="locked"] .passport-card__cta { opacity: 0.6; pointer-events: none; }
#performer-dashboard .passport-card[data-passport-state="empty"] .passport-card__summary { opacity: 0.5; }

@media (max-width: 640px) {
  #performer-dashboard .passport-card__summary {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  #performer-dashboard .passport-card__content {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 1fr) auto;
    align-items: center;
  }
  #performer-dashboard .passport-card__cta { justify-self: end; }
}

/* Hall of Echoes dashboard prompt card (HOE.M6 packet C — shell/layout/copy only) */
#performer-dashboard .hall-card[hidden] {
  display: none !important;
}
#performer-dashboard .hall-card {
  overflow: hidden;
  border: 1px solid rgba(180, 83, 9, 0.14);
  background:
    radial-gradient(circle at top right, rgba(254, 243, 199, 0.85), transparent 34%),
    linear-gradient(135deg, #fffbeb 0%, #ffffff 58%, #fef3c7 100%);
  box-shadow: 0 10px 28px rgba(180, 83, 9, 0.08);
}
#performer-dashboard .hall-card__content {
  display: grid;
  gap: 14px;
}
#performer-dashboard .hall-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
#performer-dashboard .hall-card__header-text {
  min-width: 0;
}
#performer-dashboard .hall-card__eyebrow {
  margin: 0 0 4px;
  color: #b45309;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#performer-dashboard .hall-card__title {
  margin: 0;
  color: #211238;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}
#performer-dashboard .hall-card__copy {
  margin: 6px 0 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
#performer-dashboard .hall-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(180, 83, 9, 0.1);
  color: #b45309;
  display: grid;
  place-items: center;
}
#performer-dashboard .hall-card__summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gutter) * 0.5);
}
#performer-dashboard .hall-card__metric {
  min-width: 0;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(180, 83, 9, 0.1);
}
#performer-dashboard .hall-card__value {
  display: block;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
#performer-dashboard .hall-card__label {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}
#performer-dashboard .hall-card__meta {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}

/* Hall prompt sub-cards (near-record, etched, dethroned, privacy, empty, degraded) */
#performer-dashboard .hall-card__prompt {
  display: grid;
  gap: 8px;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(180, 83, 9, 0.12);
}
#performer-dashboard .hall-card__prompt[hidden] {
  display: none !important;
}
#performer-dashboard .hall-card__prompt--near-record {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 48%),
    rgba(255, 251, 235, 0.92);
  border-color: rgba(245, 158, 11, 0.3);
}
#performer-dashboard .hall-card__prompt--etched {
  background:
    radial-gradient(circle at top right, rgba(180, 83, 9, 0.22), transparent 48%),
    rgba(254, 243, 199, 0.92);
  border-color: rgba(180, 83, 9, 0.36);
}
#performer-dashboard .hall-card__prompt--dethroned {
  background:
    radial-gradient(circle at top right, rgba(107, 114, 128, 0.12), transparent 48%),
    rgba(249, 250, 251, 0.92);
  border-color: rgba(107, 114, 128, 0.2);
}
#performer-dashboard .hall-card__prompt--privacy {
  background:
    radial-gradient(circle at top right, rgba(109, 40, 217, 0.12), transparent 48%),
    rgba(250, 245, 255, 0.92);
  border-color: rgba(109, 40, 217, 0.2);
}
#performer-dashboard .hall-card__prompt--empty {
  background: rgba(249, 250, 251, 0.92);
  border-color: rgba(0, 0, 0, 0.06);
}
#performer-dashboard .hall-card__prompt--degraded {
  background: rgba(249, 250, 251, 0.92);
  border-color: rgba(0, 0, 0, 0.06);
}
#performer-dashboard .hall-card__prompt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  width: fit-content;
  border-radius: 999px;
  padding: 3px 10px;
  background: #92400e;
  color: #fffbeb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
#performer-dashboard .hall-card__prompt-badge--etched {
  background: #78350f;
  color: #fef3c7;
}
#performer-dashboard .hall-card__prompt-badge--dethroned {
  background: #4b5563;
  color: #f9fafb;
}
#performer-dashboard .hall-card__prompt-badge--privacy {
  background: #5b21b6;
  color: #f5f3ff;
}
#performer-dashboard .hall-card__prompt-copy {
  margin: 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}
#performer-dashboard .hall-card__prompt-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 4px 0;
}
#performer-dashboard .hall-card__prompt-link:hover {
  text-decoration: underline;
}
#performer-dashboard .hall-card__prompt-link:focus-visible {
  outline: 2px solid #b45309;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Hall status area */
#performer-dashboard .hall-card__status {
  color: #374151;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
#performer-dashboard .hall-card__status[hidden] {
  display: none !important;
}

/* Hall CTA */
#performer-dashboard .hall-card__cta {
  min-height: 44px;
  justify-self: stretch;
}

/* Hall privacy footer */
#performer-dashboard .hall-card__privacy {
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}

/* Hall card state variants (for packet D hydration) */
#performer-dashboard .hall-card[data-hall-state="loading"] .hall-card__value { color: #9ca3af; }
#performer-dashboard .hall-card[data-hall-state="loading"] .hall-card__summary { opacity: 0.5; }
#performer-dashboard .hall-card[data-hall-state="empty"] .hall-card__summary { opacity: 0.5; }
#performer-dashboard .hall-card[data-hall-state="degraded"] .hall-card__summary { opacity: 0.5; }
#performer-dashboard .hall-card[data-hall-state="error"] .hall-card__cta { opacity: 0.6; pointer-events: none; }

/* Hall card responsive */
@media (max-width: 640px) {
  #performer-dashboard .hall-card__summary {
    grid-template-columns: 1fr 1fr;
  }
  #performer-dashboard .hall-card__header {
    flex-direction: column;
    gap: 8px;
  }
  #performer-dashboard .hall-card__icon {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 768px) {
  #performer-dashboard .hall-card__content {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 1fr) auto;
    align-items: center;
  }
  #performer-dashboard .hall-card__cta { justify-self: end; }
  #performer-dashboard .hall-card__header,
  #performer-dashboard .hall-card__summary,
  #performer-dashboard .hall-card__prompt,
  #performer-dashboard .hall-card__status,
  #performer-dashboard .hall-card__privacy {
    grid-column: 1 / -1;
  }
}

/* Section headers */
#performer-dashboard .section {
  background: #fff;
  border-radius: 16px;
  padding: var(--gutter);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  outline: 1px solid rgba(0,0,0,0.05);
  overflow: hidden; /* prevent wide descendants (e.g., carousel) from expanding page */
}
#performer-dashboard .section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
#performer-dashboard .section-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}
#performer-dashboard h3.section-title {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: calc(var(--gutter) * .5);
}
#performer-dashboard .section-link {
  font-size: 13px;
  font-weight: 700;
  color: #6f3bdc;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Activity rows */
#performer-dashboard .activity-list {
  margin-top: 8px;
  display: grid;
  gap: var(--gutter);
}
#performer-dashboard .activity-row {
  border-radius: 14px;
  padding: var(--gutter);
  background: #fff;
  outline: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
#performer-dashboard .activity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#performer-dashboard .song-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
#performer-dashboard .song-meta {
  margin-top: 4px;
  font-size: 13px;
  color: #4b5563;
}
#performer-dashboard .song-time {
  margin-top: 4px;
  font-size: 12px;
  color: #6b7280;
}
#performer-dashboard .stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
}
#performer-dashboard .star-muted {
  color: #d1d5db;
}

/* List with progress bars */
#performer-dashboard .list {
  margin-top: 10px;
  display: grid;
  gap: calc(var(--gutter) * 0.5);
}
#performer-dashboard .list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 14px;
}
#performer-dashboard .list-name {
  width: 36%;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#performer-dashboard .progress {
  position: relative;
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}
#performer-dashboard .progress-inner {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: #10b981;
  border-radius: 999px;
  transition: width 240ms ease;
}
#performer-dashboard .badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  min-width: 30px;
  text-align: right;
}
#performer-dashboard .count-badge {
  display: inline-block;
  background: #eef2ff;
  color: #4338ca;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Venue carousel */
#performer-dashboard .venue-card {
  position: relative;
  width: clamp(280px, 84%, 520px);
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  padding: var(--gutter);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
#performer-dashboard .venue-card.top {
  border-color: transparent;
  background: linear-gradient(145deg, #fff7e6, #ffffff, #fff7cc);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.25);
  outline: 2px solid #fbbf24;
}
#performer-dashboard .venue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
#performer-dashboard .venue-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
#performer-dashboard .venue-metrics {
  margin: 8px 0 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--gutter) * 0.5);
  text-align: center;
  font-size: 11px;
}
#performer-dashboard .venue-chip {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 6px 8px;
}
#performer-dashboard .venue-chip .val {
  font-weight: 700;
  font-size: 13px;
}
#performer-dashboard .info-rows {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
#performer-dashboard .info-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
}
#performer-dashboard .info-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ecfdf5;
  color: #059669;
}
#performer-dashboard .info-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px;
}
#performer-dashboard .info-sub {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
}
#performer-dashboard .make-home {
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 0;
  background: #6f3bdc;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}
#performer-dashboard .make-home:hover { filter: brightness(0.97); }

#performer-dashboard .carousel {
  display: flex;
  gap: calc(var(--gutter) * 0.75);
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  width: 100%;
  max-width: 100%; /* ensure scroller never exceeds container width */
}
/* Hide scrollbar (non-intrusive) */
#performer-dashboard .venue-scroll::-webkit-scrollbar { display: none; }
#performer-dashboard .venue-scroll {
  -ms-overflow-style: none; /* IE 10+ */
  scrollbar-width: none;    /* Firefox */
  -webkit-overflow-scrolling: touch; /* smooth momentum on iOS */
  overscroll-behavior-x: contain;    /* prevent parent/page width expansion from horizontal scroll */
}
#performer-dashboard .carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Carousel dots */
#performer-dashboard .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: calc(var(--gutter) * .5);
}
#performer-dashboard .carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
}
#performer-dashboard .carousel-dots button[aria-current="true"] {
  background: #6f3bdc;
}
/* Ribbon */
#performer-dashboard .ribbon {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e49b1f;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-bottom-left-radius: 12px;
  border-top-right-radius: 16px;
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}
@keyframes slideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#performer-dashboard .ribbon.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  #performer-dashboard .animate-slideIn { animation: none; }
  #performer-dashboard .smooth-scroll { scroll-behavior: auto; }
}

/* Modal */
#performer-dashboard .modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  place-items: end;
  background: rgba(0,0,0,0.4);
  z-index: 50;
  padding: var(--gutter);
}
#performer-dashboard .modal-overlay.open { display: grid; }
#performer-dashboard .modal {
  width: 100%;
  max-width: var(--container-max);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: #fff;
  padding: var(--gutter);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin: 0 auto;
}
#performer-dashboard .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(var(--gutter) * 0.625);
}
#performer-dashboard .modal-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--gutter) * 0.5);
  margin-bottom: 10px;
}
#performer-dashboard .modal select,
#performer-dashboard .modal input[type="search"] {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 14px;
}
#performer-dashboard .search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 10px;
}
#performer-dashboard .songs-list {
  max-height: 260px;
  overflow: auto;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}
#performer-dashboard .song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 10px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
}
#performer-dashboard .song-item:last-child { border-bottom: 0; }
#performer-dashboard .song-title-wrap { min-width: 0; padding-right: 8px; }
#performer-dashboard .song-title-wrap .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#performer-dashboard .song-title-wrap .a { font-size: 12px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#performer-dashboard .close-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: #f3f4f6;
  color: #555;
  cursor: pointer;
}

/* Utility */
#performer-dashboard .muted-link { color: #6f3bdc; text-decoration: none; }

/* Focus ring + tap targets */
#performer-dashboard .focus-ring:focus-visible {
  outline: 2px solid #6f3bdc;
  outline-offset: 2px;
}

/* Spacing utility */
#performer-dashboard .gap-half { gap: calc(var(--gutter) * .5); }

/* Smooth scroll default (non-reduced-motion) */
#performer-dashboard .smooth-scroll { scroll-behavior: smooth; }

/* Screen-reader-only utility */
#performer-dashboard .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,1px,1px);
  white-space: nowrap;
  border: 0;
}

/* Skeletons */
@keyframes shimmer { 0%{background-position:-400px 0} 100%{background-position: 400px 0} }
#performer-dashboard .skeleton {
  background: linear-gradient(90deg,#f5f5f5 25%,#ececec 37%,#f5f5f5 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s infinite;
  color: transparent;
}
#performer-dashboard .skeleton-bar {
  height: 10px;
  border-radius: 6px;
}
/* Mobile-first refinements for ≤768px */
@media (max-width: 767.98px) {
  /* Layout stacks */
  #performer-dashboard .stat-grid { grid-template-columns: 1fr 1fr; } /* 2 columns for ~360px–768px */
  #performer-dashboard .welcome-header { flex-direction: column; align-items: stretch; gap: 10px; }
  #performer-dashboard .welcome-ctas { grid-template-columns: 1fr; }
  #performer-dashboard .activity-top { flex-wrap: wrap; align-items: flex-start; gap: 6px; }

  /* Section headers: allow controls to wrap under title */
  #performer-dashboard .section-title-row { flex-wrap: wrap; gap: 8px; }
  #performer-dashboard .section-title-row .carousel-controls {
    width: 100%;
    justify-content: flex-end;
  }

  /* Modal filters: stack for small screens */
  #performer-dashboard .modal-filters { grid-template-columns: 1fr; }
}

/* ≤360px: single column stats */
@media (max-width: 360px) {
  #performer-dashboard .stat-grid { grid-template-columns: 1fr; }
}

/* XS safeguards (very small phones) */
@media (max-width: 420px) {
  #performer-dashboard .icon-btn { width: 40px; height: 40px; }
  #performer-dashboard .venue-card { width: clamp(260px, 94%, 520px); }
  #performer-dashboard .venue-metrics { grid-template-columns: 1fr 1fr; }
}

/* Responsive: align with Little Karaoke App breakpoints via same media queries used by style.css */
@media (min-width: 768px) {
  /* Tablet: show all four stats in a single row and tighten name width to let bars breathe */
  #performer-dashboard .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  #performer-dashboard .list-name { width: 28%; }
  /* Slightly increase recent activity spacing on tablet */
  #performer-dashboard .activity-list { gap: calc(var(--gutter) * 0.75); }
  /* Welcome CTAs: 3 columns on ≥768px */
  #performer-dashboard .welcome-ctas { grid-template-columns: repeat(3, 1fr); }
  #performer-dashboard .memory-card__content {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 1fr) auto;
    align-items: center;
  }
  #performer-dashboard .memory-card__cta { justify-self: end; }
}

@media (min-width: 1024px) {
  /* Laptop: give even more room to bars */
  #performer-dashboard .list-name { width: 24%; }
  /* Subtle upscales for readability */
  #performer-dashboard .welcome-title { font-size: 22px; }
  #performer-dashboard .rank-value { font-size: 19px; }
}

@media (min-width: 1280px) {
  /* ≥1280px: container grows to var(--container-max)=800px (from global CSS)
     Show ~2 venue cards at a time without oversized panels */
  #performer-dashboard .venue-card {
    width: clamp(320px, 48%, 560px);
  }
  /* Increase vertical rhythm slightly on spacious screens */
  #performer-dashboard .content { gap: calc(var(--gutter) * 1.1); }
}

@media (min-width: 1536px) {
  /* ≥1536px: var(--container-max) is 880px; keep two-card view and improve spacing a bit more */
  #performer-dashboard .content { gap: calc(var(--gutter) * 1.2); }
  #performer-dashboard .venue-metrics { gap: var(--gutter); }
}

/* ─── Legend's Map dashboard entry (LGM.M5 packet D) ─── */
#performer-dashboard .legend-map-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#performer-dashboard .legend-map-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
#performer-dashboard .legend-map-card__header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
#performer-dashboard .legend-map-card__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
}
#performer-dashboard .legend-map-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
}
#performer-dashboard .legend-map-card__copy {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
}
#performer-dashboard .legend-map-card__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f5f3ff;
  color: #7c3aed;
  display: grid;
  place-items: center;
}
#performer-dashboard .legend-map-card__summary {
  display: flex;
  gap: 16px;
}
#performer-dashboard .legend-map-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#performer-dashboard .legend-map-card__value {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}
#performer-dashboard .legend-map-card__label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}
#performer-dashboard .legend-map-card__meta {
  font-size: 11px;
  color: #9ca3af;
}
#performer-dashboard .legend-map-card__prompt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
#performer-dashboard .legend-map-card__prompt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
#performer-dashboard .legend-map-card__prompt-copy {
  margin: 0;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.4;
}
#performer-dashboard .legend-map-card__prompt--locked {
  background: #fef3c7;
  border-color: #fde68a;
}
#performer-dashboard .legend-map-card__prompt--locked .legend-map-card__prompt-badge {
  color: #92400e;
}
#performer-dashboard .legend-map-card__prompt--empty {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
#performer-dashboard .legend-map-card__prompt--degraded {
  background: #fef2f2;
  border-color: #fecaca;
}
#performer-dashboard .legend-map-card__status {
  font-size: 13px;
  color: #6b7280;
}
#performer-dashboard .legend-map-card__cta {
  align-self: flex-start;
}
#performer-dashboard .legend-map-card__privacy {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Legend's Map card responsive */
@media (min-width: 768px) {
  #performer-dashboard .legend-map-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 1fr) auto;
    align-items: center;
  }
  #performer-dashboard .legend-map-card__cta { justify-self: end; }
}

/* ─── Syndicate wallet card ─── */

#performer-dashboard .syndicate-wallet-card {
  position: relative;
  overflow: hidden;
}

#performer-dashboard .syndicate-wallet-card[hidden] {
  display: none !important;
}

#performer-dashboard .syndicate-wallet-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#performer-dashboard .syndicate-wallet-card__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a78bfa;
}

#performer-dashboard .syndicate-wallet-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

#performer-dashboard .syndicate-wallet-card__copy {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

#performer-dashboard .syndicate-wallet-card__summary {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

#performer-dashboard .syndicate-wallet-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100px;
}

#performer-dashboard .syndicate-wallet-card__value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

#performer-dashboard .syndicate-wallet-card__label {
  font-size: 12px;
  color: #9ca3af;
}

#performer-dashboard .syndicate-wallet-card__explainer {
  margin: 0;
  padding: 8px 12px;
  font-size: 13px;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  line-height: 1.5;
}

#performer-dashboard .syndicate-wallet-card__status {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

#performer-dashboard .syndicate-wallet-card__privacy {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Wallet state variants */
#performer-dashboard .syndicate-wallet-card[data-syndicate-wallet-state="loading"] .syndicate-wallet-card__value {
  color: #d1d5db;
}

#performer-dashboard .syndicate-wallet-card[data-syndicate-wallet-state="degraded"] .syndicate-wallet-card__value {
  color: #d1d5db;
}

#performer-dashboard .syndicate-wallet-card[data-syndicate-wallet-state="degraded"] .syndicate-wallet-card__status {
  color: #f59e0b;
}

#performer-dashboard .syndicate-wallet-card[data-syndicate-wallet-state="empty"] .syndicate-wallet-card__value {
  color: #9ca3af;
}

/* ─── Syndicate opportunity card ─── */

#performer-dashboard .syndicate-opportunity-card {
  position: relative;
  overflow: hidden;
}

#performer-dashboard .syndicate-opportunity-card[hidden] {
  display: none !important;
}

#performer-dashboard .syndicate-opportunity-card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#performer-dashboard .syndicate-opportunity-card__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a78bfa;
}

#performer-dashboard .syndicate-opportunity-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

#performer-dashboard .syndicate-opportunity-card__copy {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

#performer-dashboard .syndicate-opportunity-card__summary {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

#performer-dashboard .syndicate-opportunity-card__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100px;
}

#performer-dashboard .syndicate-opportunity-card__value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

#performer-dashboard .syndicate-opportunity-card__label {
  font-size: 12px;
  color: #9ca3af;
}

#performer-dashboard .syndicate-opportunity-card__status {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

#performer-dashboard .syndicate-opportunity-card__privacy {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Opportunity state variants */
#performer-dashboard .syndicate-opportunity-card[data-syndicate-opportunity-state="loading"] .syndicate-opportunity-card__value {
  color: #d1d5db;
}

#performer-dashboard .syndicate-opportunity-card[data-syndicate-opportunity-state="degraded"] .syndicate-opportunity-card__value {
  color: #d1d5db;
}

#performer-dashboard .syndicate-opportunity-card[data-syndicate-opportunity-state="degraded"] .syndicate-opportunity-card__status {
  color: #f59e0b;
}

#performer-dashboard .syndicate-opportunity-card[data-syndicate-opportunity-state="empty"] .syndicate-opportunity-card__value {
  color: #9ca3af;
}

/* Syndicate cards responsive */
@media (min-width: 768px) {
  #performer-dashboard .syndicate-wallet-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 1fr);
    align-items: center;
  }
  #performer-dashboard .syndicate-opportunity-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 1fr);
    align-items: center;
  }
}

/* Reduced motion for Syndicate cards */
@media (prefers-reduced-motion: reduce) {
  #performer-dashboard .syndicate-wallet-card,
  #performer-dashboard .syndicate-opportunity-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── Collaboration inbox (COLLAB.M4.D) ─── */

#performer-dashboard .collab-inbox-card,
#performer-dashboard .collab-upcoming-card {
  padding: 16px var(--gutter);
}

#performer-dashboard .collab-inbox-card__eyebrow,
#performer-dashboard .collab-upcoming-card__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
}

#performer-dashboard .collab-inbox-card__title,
#performer-dashboard .collab-upcoming-card__title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

#performer-dashboard .collab-inbox-card__list,
#performer-dashboard .collab-upcoming-card__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#performer-dashboard .collab-inbox-card {
  list-style: none;
}

#performer-dashboard .collab-inbox-card .collab-inbox-card {
  padding: 0;
}

/* Invite card */
#performer-dashboard .collab-inbox-card[data-invite-id] {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafafa;
}

#performer-dashboard .collab-inbox-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

#performer-dashboard .collab-inbox-card__act-type {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #6d28d9;
  font-size: 12px;
  font-weight: 600;
}

#performer-dashboard .collab-inbox-card__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

#performer-dashboard .collab-inbox-card__status--pending,
#performer-dashboard .collab-inbox-card__status--proposed {
  background: #fef3c7;
  color: #92400e;
}

#performer-dashboard .collab-inbox-card__status--accepted {
  background: #d1fae5;
  color: #065f46;
}

#performer-dashboard .collab-inbox-card__status--declined {
  background: #fee2e2;
  color: #991b1b;
}

#performer-dashboard .collab-inbox-card__status--revoked,
#performer-dashboard .collab-inbox-card__status--expired {
  background: #f3f4f6;
  color: #6b7280;
}

#performer-dashboard .collab-inbox-card__status--claimed {
  background: #dbeafe;
  color: #1e40af;
}

#performer-dashboard .collab-inbox-card__status--unknown {
  background: #f3f4f6;
  color: #4b5563;
}

#performer-dashboard .collab-inbox-card__song {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

#performer-dashboard .collab-inbox-card__initiator {
  margin: 0 0 4px;
  font-size: 13px;
  color: #6b7280;
}

#performer-dashboard .collab-inbox-card__expires {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 12px;
  color: #9ca3af;
}

#performer-dashboard .collab-inbox-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

#performer-dashboard .collab-inbox-card__actions .btn {
  font-size: 13px;
  padding: 6px 14px;
}

#performer-dashboard .collab-inbox-card__actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#performer-dashboard .collab-inbox-card__loading,
#performer-dashboard .collab-inbox-card__empty,
#performer-dashboard .collab-upcoming-card__loading,
#performer-dashboard .collab-upcoming-card__empty {
  padding: 12px 0;
  font-size: 14px;
  color: #6b7280;
}

#performer-dashboard .collab-inbox-card__status,
#performer-dashboard .collab-upcoming-card__status {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

#performer-dashboard .collab-inbox-card__error,
#performer-dashboard .collab-upcoming-card__error {
  font-size: 13px;
  color: #991b1b;
  margin-top: 8px;
}

#performer-dashboard .collab-inbox-card__privacy,
#performer-dashboard .collab-upcoming-card__privacy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Upcoming act card */
#performer-dashboard .collab-upcoming-card[data-act-id] {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafafa;
}

#performer-dashboard .collab-upcoming-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

#performer-dashboard .collab-upcoming-card__act-type {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #6d28d9;
  font-size: 12px;
  font-weight: 600;
}

#performer-dashboard .collab-upcoming-card__readiness {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
}

#performer-dashboard .collab-upcoming-card__song {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

#performer-dashboard .collab-upcoming-card__lifecycle {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6b7280;
}

#performer-dashboard .collab-upcoming-card__participants {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#performer-dashboard .collab-upcoming-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 13px;
}

#performer-dashboard .collab-upcoming-chip__name {
  font-weight: 600;
  color: #1f2937;
}

#performer-dashboard .collab-upcoming-chip__role,
#performer-dashboard .collab-upcoming-chip__required,
#performer-dashboard .collab-upcoming-chip__initiator {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

#performer-dashboard .collab-upcoming-chip__role {
  background: #ede9fe;
  color: #5b21b6;
}

#performer-dashboard .collab-upcoming-chip__required {
  background: #fef3c7;
  color: #92400e;
}

#performer-dashboard .collab-upcoming-chip__initiator {
  background: #dbeafe;
  color: #1e40af;
}

#performer-dashboard .collab-upcoming-chip__status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

#performer-dashboard .collab-upcoming-chip__status--accepted {
  background: #d1fae5;
  color: #065f46;
}

#performer-dashboard .collab-upcoming-chip__status--pending {
  background: #fef3c7;
  color: #92400e;
}

#performer-dashboard .collab-upcoming-chip__status--declined {
  background: #fee2e2;
  color: #991b1b;
}

#performer-dashboard .collab-upcoming-chip__status--revoked,
#performer-dashboard .collab-upcoming-chip__status--expired {
  background: #f3f4f6;
  color: #6b7280;
}

#performer-dashboard .collab-upcoming-chip__status--claimed {
  background: #dbeafe;
  color: #1e40af;
}

#performer-dashboard .collab-upcoming-chip__status--unknown {
  background: #f3f4f6;
  color: #4b5563;
}

/* Status dots — non-color-only: always paired with text label + aria-label */
#performer-dashboard .collab-upcoming-chip__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

#performer-dashboard .collab-upcoming-chip__dot--accepted { background: #10b981; }
#performer-dashboard .collab-upcoming-chip__dot--pending { background: #f59e0b; }
#performer-dashboard .collab-upcoming-chip__dot--declined { background: #ef4444; }
#performer-dashboard .collab-upcoming-chip__dot--revoked,
#performer-dashboard .collab-upcoming-chip__dot--expired { background: #9ca3af; }
#performer-dashboard .collab-upcoming-chip__dot--claimed { background: #3b82f6; }
#performer-dashboard .collab-upcoming-chip__dot--unknown { background: #d1d5db; }

#performer-dashboard .collab-upcoming-card__status {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

/* Reduced motion for collaboration cards */
@media (prefers-reduced-motion: reduce) {
  #performer-dashboard .collab-inbox-card,
  #performer-dashboard .collab-upcoming-card,
  #performer-dashboard .collab-stats-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── Collaboration stats (COLLAB.M7.E) ─── */

#performer-dashboard .collab-stats-card {
  padding: 16px var(--gutter);
}

#performer-dashboard .collab-stats-card__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
}

#performer-dashboard .collab-stats-card__title {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

#performer-dashboard .collab-stats-card__loading,
#performer-dashboard .collab-stats-card__empty {
  padding: 12px 0;
  font-size: 14px;
  color: #6b7280;
}

#performer-dashboard .collab-stats-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#performer-dashboard .collab-stats-card__primary-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

#performer-dashboard .collab-stats-card__primary-value {
  font-size: 32px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.1;
}

#performer-dashboard .collab-stats-card__primary-label {
  font-size: 13px;
  color: #6b7280;
}

#performer-dashboard .collab-stats-card__breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#performer-dashboard .collab-stats-card__metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fafafa;
  min-width: 80px;
}

#performer-dashboard .collab-stats-card__metric-value {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
}

#performer-dashboard .collab-stats-card__metric-label {
  font-size: 12px;
  color: #6b7280;
}

#performer-dashboard .collab-stats-card__collaborators {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#performer-dashboard .collab-stats-card__section {
  margin: 0;
}

#performer-dashboard .collab-stats-card__section-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

#performer-dashboard .collab-stats-card__collab-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#performer-dashboard .collab-stats-card__collab-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

#performer-dashboard .collab-stats-card__collab-rank {
  font-weight: 700;
  color: #6d28d9;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#performer-dashboard .collab-stats-card__collab-detail {
  color: #1f2937;
  font-weight: 600;
}

#performer-dashboard .collab-stats-card__collab-last {
  color: #9ca3af;
  font-size: 12px;
}

#performer-dashboard .collab-stats-card__freshness {
  font-size: 12px;
  color: #6b7280;
  padding: 8px 0 0;
  border-top: 1px solid #f3f4f6;
}

#performer-dashboard .collab-stats-card__source-counters {
  font-size: 12px;
  color: #9ca3af;
}

#performer-dashboard .collab-stats-card__status {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

#performer-dashboard .collab-stats-card__error {
  font-size: 13px;
  color: #991b1b;
  margin-top: 8px;
}

#performer-dashboard .collab-stats-card__retry {
  margin-top: 8px;
  font-size: 13px;
  padding: 6px 14px;
}

#performer-dashboard .collab-stats-card__privacy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

/* ---------------------------------------------------------------------------
   Collaboration preferences card (COLLAB.M8.D)
   Fail-closed shell. Interactive controls are rendered by
   collaboration-preferences.ts when gated bootstrap succeeds.
   --------------------------------------------------------------------------- */

#performer-dashboard .collab-prefs-card {
  margin: 16px 0;
}

#performer-dashboard .collab-prefs-card__content {
  padding: 16px;
}

#performer-dashboard .collab-prefs-card__header-row {
  margin-bottom: 12px;
}

#performer-dashboard .collab-prefs-card__eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 0 0 4px;
}

#performer-dashboard .collab-prefs-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

#performer-dashboard .collab-prefs-card__gated {
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

#performer-dashboard .collab-prefs-card__gated-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

#performer-dashboard .collab-prefs-card__gated-dependency {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

#performer-dashboard .collab-prefs-card__gated-label {
  font-weight: 600;
  color: #4b5563;
}

#performer-dashboard .collab-prefs-card__body {
  padding: 8px 0;
}

#performer-dashboard .collab-prefs-card__status {
  margin: 8px 0;
  font-size: 13px;
  color: #6b7280;
}

#performer-dashboard .collab-prefs-card__error {
  margin: 8px 0;
  font-size: 13px;
  color: #ef4444;
}

#performer-dashboard .collab-prefs-card__privacy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Reduced motion support for collaboration preferences card */
@media (prefers-reduced-motion: reduce) {
  #performer-dashboard .collab-prefs-card,
  #performer-dashboard .collab-prefs-card__content,
  #performer-dashboard .collab-prefs-card__gated {
    transition: none;
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
   Collaboration owner management card (COLLAB.3B)
   Minimal owner-side management wiring. The surface still fails closed when
   collaboration access is unavailable.
   --------------------------------------------------------------------------- */

#performer-dashboard .collab-owner-mgmt-card {
  margin: 16px 0;
}

#performer-dashboard .collab-owner-mgmt-card__content {
  padding: 16px;
}

#performer-dashboard .collab-owner-mgmt-card__header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

#performer-dashboard .collab-owner-mgmt-card__eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 0 0 4px;
}

#performer-dashboard .collab-owner-mgmt-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

#performer-dashboard .collab-owner-mgmt-card__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

#performer-dashboard .collab-owner-mgmt-card__refresh {
  flex-shrink: 0;
  font-size: 13px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#performer-dashboard .collab-owner-mgmt-card__gated {
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

#performer-dashboard .collab-owner-mgmt-card__gated-text {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

#performer-dashboard .collab-owner-mgmt-card__gated-dependency {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

#performer-dashboard .collab-owner-mgmt-card__loading,
#performer-dashboard .collab-owner-mgmt-card__empty {
  padding: 12px 0;
  font-size: 14px;
  color: #6b7280;
}

#performer-dashboard .collab-owner-mgmt-card__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Owner-managed act card */
#performer-dashboard .collab-owner-mgmt-act[data-act-id] {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafafa;
}

#performer-dashboard .collab-owner-mgmt-act__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

#performer-dashboard .collab-owner-mgmt-act__act-type {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #6d28d9;
  font-size: 12px;
  font-weight: 600;
}

#performer-dashboard .collab-owner-mgmt-act__readiness {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
}

#performer-dashboard .collab-owner-mgmt-act__song {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
}

#performer-dashboard .collab-owner-mgmt-act__lifecycle {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6b7280;
}

#performer-dashboard .collab-owner-mgmt-act__participants {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Participant management row */
#performer-dashboard .collab-owner-mgmt-participant {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

#performer-dashboard .collab-owner-mgmt-participant__name {
  font-weight: 600;
  color: #1f2937;
  flex-shrink: 0;
}

#performer-dashboard .collab-owner-mgmt-participant__role,
#performer-dashboard .collab-owner-mgmt-participant__initiator,
#performer-dashboard .collab-owner-mgmt-participant__status {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

#performer-dashboard .collab-owner-mgmt-participant__role {
  background: #ede9fe;
  color: #5b21b6;
}

#performer-dashboard .collab-owner-mgmt-participant__initiator {
  background: #dbeafe;
  color: #1e40af;
}

#performer-dashboard .collab-owner-mgmt-participant__status {
  background: #f3f4f6;
  color: #4b5563;
}

#performer-dashboard .collab-owner-mgmt-participant__status--accepted {
  background: #d1fae5;
  color: #065f46;
}

#performer-dashboard .collab-owner-mgmt-participant__status--pending {
  background: #fef3c7;
  color: #92400e;
}

#performer-dashboard .collab-owner-mgmt-participant__status--declined {
  background: #fee2e2;
  color: #991b1b;
}

#performer-dashboard .collab-owner-mgmt-participant__status--revoked,
#performer-dashboard .collab-owner-mgmt-participant__status--expired {
  background: #f3f4f6;
  color: #6b7280;
}

#performer-dashboard .collab-owner-mgmt-participant__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}

#performer-dashboard .collab-owner-mgmt-participant__actions .btn {
  font-size: 12px;
  padding: 4px 10px;
}

#performer-dashboard .collab-owner-mgmt-participant__actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#performer-dashboard .collab-owner-mgmt-participant__editor {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
}

#performer-dashboard .collab-owner-mgmt-participant__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

#performer-dashboard .collab-owner-mgmt-participant__field-label {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

#performer-dashboard .collab-owner-mgmt-participant__field select {
  width: 100%;
  min-height: 34px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  padding: 6px 8px;
}

#performer-dashboard .collab-owner-mgmt-participant__editor-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

/* Pending invite revoke section */
#performer-dashboard .collab-owner-mgmt-act__pending-invites {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
}

#performer-dashboard .collab-owner-mgmt-act__pending-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 6px;
}

#performer-dashboard .collab-owner-mgmt-act__status {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

#performer-dashboard .collab-owner-mgmt-card__status {
  margin: 8px 0;
  font-size: 13px;
  color: #6b7280;
}

#performer-dashboard .collab-owner-mgmt-card__error {
  margin: 8px 0;
  font-size: 13px;
  color: #ef4444;
}

#performer-dashboard .collab-owner-mgmt-card__privacy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Responsive: stack participant actions on narrow screens */
@media (max-width: 640px) {
  #performer-dashboard .collab-owner-mgmt-participant {
    flex-direction: column;
    align-items: stretch;
  }

  #performer-dashboard .collab-owner-mgmt-participant__actions {
    margin-left: 0;
    justify-content: flex-end;
  }

  #performer-dashboard .collab-owner-mgmt-participant__editor {
    grid-template-columns: 1fr;
  }

  #performer-dashboard .collab-owner-mgmt-participant__editor-actions {
    justify-content: flex-start;
  }

  #performer-dashboard .collab-owner-mgmt-card__header-row {
    flex-direction: column;
    gap: 8px;
  }

  #performer-dashboard .collab-owner-mgmt-card__refresh {
    align-self: flex-start;
  }
}

/* Reduced motion support for owner management card */
@media (prefers-reduced-motion: reduce) {
  #performer-dashboard .collab-owner-mgmt-card,
  #performer-dashboard .collab-owner-mgmt-card__content,
  #performer-dashboard .collab-owner-mgmt-card__gated,
  #performer-dashboard .collab-owner-mgmt-act,
  #performer-dashboard .collab-owner-mgmt-participant {
    transition: none;
    animation: none;
  }
}
