.participant-card {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  cursor: pointer;
}

.participant-card--roomy {
  padding-bottom: 16px;
}

/* Real fetched style (node 423:10708): label + trailing 40px glass-circle
   plus-button, both edges of .participant-card's own 12px padding/8px gap
   base rule — nothing else about the base rule needs overriding. */
.participant-card__add-label {
  flex: 1 0 0;
  min-width: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.15;
  color: var(--text-primary);
}

/* Real fetched style (nodes 421:10649 "action", 420:10519 "toggle"): shared
   icon+label group. items-baseline (matches the fetched "items-baseline"
   alignment, not center) so the icon sits on the label's text baseline
   rather than its vertical midpoint. flex:1 0 0 so it's the group (not the
   label alone) that grows to fill the row when a trailing toggle is
   present — matches the fetched outer row's own flex-[1_0_0] on this
   group. */
.participant-card__action-group {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.participant-card__action-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-color: var(--text-primary);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.participant-card__action-label {
  flex: 1 0 0;
  min-width: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.15;
  color: var(--text-primary);
}

/* Real fetched value, literal in Figma (not a bound variable) — same
   precedent as .participant-card__tag's own literal color above. */
.participant-card--destructive .participant-card__action-icon {
  background-color: #e94951;
}

.participant-card--destructive .participant-card__action-label {
  color: #e94951;
}

.participant-card--team {
  height: 64px;
}

.participant-card__content {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.participant-card__thumb {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.participant-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* flex:1 0 0 belongs here (not on .participant-card__label itself) because
   team rows wrap the label together with an optional kid-name line in
   .participant-card__text — the WRAPPER is the flex-row item that should
   grow/shrink there, while inside it label+kid-name just stack as plain
   flex-column children. */
.participant-card__content > .participant-card__label,
.participant-card__text {
  flex: 1 0 0;
  min-width: 0;
}

.participant-card__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.participant-card__label {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.15;
  color: var(--text-invert-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-card__kid-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-card__tag {
  flex-shrink: 0;
  box-sizing: border-box;
  height: 24px;
  padding: 4px 8px;
  border-radius: 100px;
  background-color: var(--avatar-bg-green);
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.36px;
  text-transform: uppercase;
  white-space: nowrap;
  /* Literal, unbound in Figma (no matching variable) — a one-off value, so
     not promoted to a shared token per the project's established precedent
     for single-use literals (e.g. filter-card.css's stroke color). */
  color: #054525;
}

/* Real fetched style (node 436:10588) — both existing tokens, no new ones
   needed. Stacks after .participant-card__tag (Team Lead) when both apply,
   matching that node's own DOM order. */
.participant-card__tag--admin {
  background-color: var(--avatar-bg-blue);
  color: var(--text-filter-chip);
}

/* Real fetched shape (node 259:8355's participant rows): a bare chevron
   button, no glass circle/border like .icon-button — just the glyph. See
   participant-card.js for why this reuses (rotated) icon-chevron-left.svg
   instead of a real icon-chevron-right.svg, which doesn't exist yet. */
.participant-card__chevron {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.participant-card__chevron-icon {
  width: 16px;
  height: 16px;
  background-color: var(--text-primary);
  transform: rotate(180deg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.participant-card__checkbox {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.participant-card__checkbox-icon {
  width: 26px;
  height: 26px;
  background-color: var(--text-secondary);
  transition: background-color var(--transition-standard);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.participant-card--checked .participant-card__checkbox-icon {
  background-color: var(--text-primary);
}
