/* VE-v28 — small realtor status badges that stay inside the name column.
   Status font styles remain individually editable through the visual editor. */
.team-panel .team-table tbody td.name-cell {
  overflow:hidden !important;
  text-overflow:clip !important;
  min-width:0 !important;
}
.team-panel .team-table tbody td.name-cell .team-member-label-line {
  box-sizing:border-box;
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:3px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:visible !important;
  white-space:nowrap !important;
}
.team-panel .team-table tbody td.name-cell .team-member-label-line > .team-member-name-text {
  display:block !important;
  flex:0 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.team-panel .team-table tbody td.name-cell .team-member-status-badge {
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  width:max-content !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:1.5px 3.5px !important;
  border-radius:999px !important;
  font-size:8px !important;
  font-weight:800 !important;
  line-height:1.08 !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  overflow:visible !important;
  vertical-align:middle;
}
/* The badge never shrinks or disappears; when room is scarce, the name
   text truncates first (the complete name remains in the cell title). */
@media (max-width:920px) {
  html.v118-mobile-layout .team-panel .team-table tbody td.name-cell .team-member-label-line {
    width:100% !important;
    gap:3px !important;
  }
  html.v118-mobile-layout .team-panel .team-table tbody td.name-cell .team-member-status-badge {
    font-size:8px !important;
    padding:1.5px 3.5px !important;
  }
}
