/* Send Listy Core 0.503 — derived per-member task count badges.
   Presentation only: counts come from list.items -> memberId and are never persisted. */
.send-list-app .sl-member-avatar-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.send-list-app .sl-member-task-count-badge{
  position:absolute;
  inset-block-start:-6px;
  inset-inline-end:-9px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:2px solid #fff;
  background:#169447;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  box-sizing:border-box;
  pointer-events:none;
  z-index:2;
  box-shadow:0 2px 7px rgba(18,108,54,.18);
}
.send-list-app .sl-member-task-count-badge[hidden]{display:none!important}

/* List view / preview member filters use the same derived number without
   changing the existing name + "N tasks" copy. */
.send-list-app .sl-preview-member-avatar-wrap{
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
}
.send-list-app .sl-preview-member-avatar-wrap .sl-member-task-count-badge.is-preview{
  inset-block-start:-5px;
  inset-inline-end:-7px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  font-size:10px;
  border-width:2px;
}

@media (max-width:680px){
  .send-list-app .sl-member-task-count-badge{
    inset-block-start:-5px;
    inset-inline-end:-8px;
    min-width:21px;
    height:21px;
  }
}
.send-list-app .sl-preview-section-avatar-wrap{
  position:relative;
  display:inline-flex;
  flex:0 0 auto;
}
.send-list-app .sl-preview-section-avatar-wrap .sl-member-task-count-badge.is-section{
  inset-block-start:-5px;
  inset-inline-end:-7px;
  min-width:19px;
  height:19px;
  padding:0 5px;
  font-size:10px;
}
