.opportunity-people { min-width: 0; max-width: 100%; }
.consultation-people {
  display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0;
  min-width: 0; max-width: 100%; align-items: start;
}
.consultation-people > div { min-width: 0; }
.consultation-people dt { margin-bottom: 4px; color: var(--navy); font-size: .75rem; font-weight: 600; }
.consultation-people dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.consultation-people .opportunity-lead-source { max-width: min(15rem, 100%); }
.consultation-people .opportunity-lead-source dd {
  flex-direction: column; align-items: start; justify-content: center; min-height: 36px;
  gap: 2px; line-height: 1.35; overflow-wrap: anywhere;
}
.opportunity-source-name { color: var(--navy); font-size: .875rem; font-weight: 600; }
.opportunity-source-detail { color: #465573; font-size: .75rem; }
.consultation-person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--navy); font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.consultation-avatar {
  position: relative; display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: color-mix(in srgb, var(--blue) 12%, var(--white)); color: var(--navy);
}
.consultation-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.consultation-people-empty { color: var(--navy); font-size: .875rem; }
.opportunity-sha-identity:has(> .opportunity-people) > .sha-header-actions:not(:has(a, button)) { display: none; }
.opportunity-people .consultation-people dd { min-height: 36px; }
.opportunity-people .opportunity-follower-list { gap: 4px 8px; }
.opportunity-people .opportunity-follower-control {
  position: relative; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent;
}
.opportunity-people .opportunity-follower-control > summary {
  display: flex; gap: 8px; align-items: center; min-height: 36px; padding: 4px 8px 4px 3px;
  margin: 0; border-radius: 20px; list-style: none; color: var(--navy); cursor: pointer;
}
.opportunity-people .opportunity-follower-control > summary > span {
  margin-inline-start: 0; font-size: inherit; font-weight: inherit; white-space: normal;
}
.opportunity-follower-control > summary::-webkit-details-marker { display: none; }
.opportunity-follower-control > summary:hover,
.opportunity-follower-control[open] > summary { background: #e8f4ff; }
.opportunity-follower-control > summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.opportunity-follower-chevron {
  width: 6px; height: 6px; margin: -3px 2px 0; flex: none;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.opportunity-people .opportunity-follower-add > summary {
  gap: 5px; padding-inline: 10px; background: #f1f7fd; font-size: .8125rem; font-weight: 600;
}
.opportunity-people .opportunity-follower-add > summary > span { font-size: 1rem; line-height: 1; }
.opportunity-follower-popover {
  position: absolute; z-index: 5; inset-block-start: calc(100% + 6px); inset-inline-end: 0;
  width: max-content; padding: 6px; border: 1px solid #d6e0ef; border-radius: 10px;
  background: var(--white); box-shadow: 0 8px 22px #17345420;
}
.opportunity-follower-add .opportunity-follower-popover { width: min(16rem, calc(100vw - 3rem)); padding: 12px; }
.opportunity-follower-popover p { margin: 0; font-size: .8125rem; }
.opportunity-follower-popover .opportunity-remove-follower {
  min-height: 36px; padding: 6px 10px; border: 0; border-radius: 6px; font-size: .8125rem;
}
.opportunity-follower-popover .opportunity-remove-follower:hover { background: #f1f7fd; }
.opportunity-add-follower { display: grid; gap: 8px; justify-items: start; }
.opportunity-add-follower label { margin: 0; width: 100%; min-width: 0; }
.opportunity-add-follower select { width: 100%; min-width: 0; margin: 4px 0 0; }
.opportunity-follower-other { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid #d6e0ef; font-size: .8125rem; }
.opportunity-follower-other li { display: flex; gap: 6px; align-items: center; justify-content: space-between; }
@media (max-width: 600px) {
  .opportunity-people .consultation-people dd,
  .opportunity-people .opportunity-follower-control > summary { min-height: 44px; }
  .opportunity-follower-control[open] { flex-basis: 100%; }
  .opportunity-follower-control > summary { width: fit-content; }
  .opportunity-follower-popover { position: static; margin-block: 4px; max-width: 100%; }
}
.opportunity-card-people { gap: 6px; margin: 4px 0; flex-direction: column; }
.opportunity-card-people > div { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.opportunity-card-people dt { margin: 0; }
.opportunity-card-people .consultation-person, .opportunity-card-people .consultation-people-empty { font-size: .8rem; }
.opportunity-card-people .consultation-avatar { width: 22px; height: 22px; font-size: .75rem; }
