.roster-identity-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.roster-identity-heading,
.roster-identity-actions,
.roster-identity-candidate,
.roster-identity-person {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.roster-identity-heading h3 {
  margin: 2px 0 0;
}

.roster-identity-list {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.roster-identity-card {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: #fff;
}

.roster-identity-card.is-recommended {
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.roster-identity-source {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.roster-identity-source small,
.roster-identity-person small {
  color: var(--muted, #64748b);
}

.roster-identity-candidates {
  display: grid;
  gap: 8px;
}

.roster-identity-candidate {
  align-items: flex-start;
  padding: 10px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
}

.roster-identity-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 800;
}

.roster-identity-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roster-identity-person {
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
}

.roster-identity-copy {
  display: grid;
  gap: 3px;
}

.roster-identity-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.roster-identity-evidence span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11px;
  font-weight: 700;
}

.roster-identity-empty {
  color: var(--muted, #64748b);
  font-size: 13px;
}

.roster-identity-later {
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--muted, #64748b);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .roster-identity-candidate,
  .roster-identity-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
