.testimony-admin-row.featured-testimony-row {
  border-color: #d9ad35;
  border-left: 5px solid #e2aa15;
  box-shadow: 0 5px 18px #d9a7191f;
}

.testimony-pipeline-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 20px 14px;
}

.testimony-pipeline-heading h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 18px;
}

.testimony-pipeline-heading p {
  margin: 6px 0 0;
  color: #738094;
  font-size: 11px;
}

.testimony-pipeline-results {
  color: #738094;
  font-size: 11px;
  white-space: nowrap;
}

.testimony-pipeline-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 20px 18px;
  border-bottom: 1px solid var(--line);
}

.testimony-pipeline-tabs button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #d6dee8;
  border-radius: 10px;
  color: #65748a;
  background: #fff;
  font-size: 10px;
  font-weight: 900;
}

.testimony-pipeline-tabs button strong {
  min-width: 24px;
  padding: 4px 6px;
  border-radius: 999px;
  color: #526177;
  background: #eef2f6;
  font-size: 9px;
}

.testimony-pipeline-tabs button:hover {
  border-color: #9fb0c3;
  background: #f7f9fc;
}

.testimony-pipeline-tabs button.active {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
  box-shadow: 0 5px 14px #102d5826;
}

.testimony-pipeline-tabs button.active strong {
  color: var(--navy);
  background: #fff;
}

.testimony-pipeline-empty {
  margin: 18px;
  padding: 28px;
  border: 1px dashed #ccd6e2;
  border-radius: 11px;
  background: #f8fafc;
  text-align: center;
}

.testimony-admin-row.featured-testimony-row > summary {
  background: linear-gradient(90deg, #fff8dc, #fff 48%);
}

.testimony-row-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimony-row-title > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-testimony-marker {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: #614300;
  background: #f7c94c;
  font-size: 7px;
  letter-spacing: .7px;
}

.testimony-admin-badges .featured-testimony-detail-badge {
  color: #604100;
  background: #ffe79c;
  box-shadow: inset 0 0 0 1px #e0b638;
}

.testimony-admin-row.recording-testimony-row {
  border-color: #7657c8;
  border-left: 5px solid #7657c8;
  box-shadow: 0 5px 18px #7657c824;
}

.testimony-admin-row.recording-testimony-row > summary {
  background: linear-gradient(90deg, #f2edff, #fff 48%);
}

.recording-testimony-marker {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: #fff;
  background: #7657c8;
  font-size: 7px;
  letter-spacing: .7px;
}

.testimony-admin-badges .recording-testimony-detail-badge {
  color: #4c328f;
  background: #eee8ff;
  box-shadow: inset 0 0 0 1px #a993e2;
}

.testimony-admin-row.invited-testimony-row {
  border-color: #4c91c5;
  border-left: 5px solid #4c91c5;
  box-shadow: 0 5px 18px #4c91c524;
}

.testimony-admin-row.invited-testimony-row > summary {
  background: linear-gradient(90deg, #eaf6ff, #fff 48%);
}

.invited-testimony-marker {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: #fff;
  background: #3c83b8;
  font-size: 7px;
  letter-spacing: .7px;
}

.testimony-admin-badges .invited-testimony-detail-badge {
  color: #245f90;
  background: #e8f4ff;
  box-shadow: inset 0 0 0 1px #82b4dc;
}

@media (max-width: 560px) {
  .testimony-pipeline-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimony-pipeline-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-testimony-marker {
    display: none;
  }

  .recording-testimony-marker { display: none; }
  .invited-testimony-marker { display: none; }

  .testimony-admin-row.featured-testimony-row .testimony-row-title::before {
    content: '★';
    color: #d49b00;
  }
}
