.boss-core-map:has(> .boss-core-users) {
  --boss-audience-line: #83a9ad;
  --boss-audience-lift: clamp(16px, 3.4cqw, 42px);
}
.boss-core-scene:has(+ .boss-core-users)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  bottom: var(--boss-audience-lift);
  border-inline-start: 1px solid var(--boss-audience-line);
  pointer-events: none;
}
.boss-core-users {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 312px);
  padding-top: 10px;
  justify-self: center;
  translate: 0 calc(-1 * var(--boss-audience-lift));
}
/* Carry the stem through the gap between the scene and the audience row. */
.boss-core-users::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  height: 1.5rem;
  border-inline-start: 1px solid var(--boss-audience-line);
  pointer-events: none;
}
.boss-core-users::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  top: 0;
  height: 11px;
  box-sizing: border-box;
  border: 1px solid var(--boss-audience-line);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  pointer-events: none;
}
.boss-core-users-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.boss-core-users .boss-core-users-label {
  margin: 0;
  color: #486168;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
}
.boss-core-scene .boss-core-user-modes {
  /* Halfway from the hub's lower edge to the fork in the next grid row. */
  position: absolute;
  top: calc((54% + var(--boss-core-hub-height) / 2 + 100% + var(--boss-core-row-gap) - var(--boss-audience-lift)) / 2);
  left: 50%;
  translate: -50% -50%;
  z-index: 1;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 3px 6px;
  background: #f2f7f8;
  color: #486168;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
}
@container (max-width: 450px) {
  .boss-core-scene .boss-core-user-modes {
    max-width: max(48px, calc(62% - 89px));
    padding-inline: 2px;
    font-size: 11px;
  }
}
.boss-core-users ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.boss-core-users li {
  position: relative;
  flex: none;
  box-sizing: border-box;
  width: clamp(32px, 4.8cqw, 40px);
  height: clamp(32px, 4.8cqw, 40px);
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid #f3f8f9;
  border-radius: 50%;
  background: #fff;
}
.boss-core-users li + li { margin-inline-start: -7px; }
.boss-core-users li:hover { z-index: 1; }
.boss-core-users li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.boss-core-users [data-core-audience="agents"] img {
  box-sizing: border-box;
  padding: 4px;
  object-fit: contain;
}
