


.send-list {
  
  --send-edge: color-mix(in srgb, var(--color-brand-600) 20%, var(--color-canvas));
  --send-edge-hover: color-mix(in srgb, var(--color-brand-600) 42%, var(--color-canvas));
  --send-lift: 0 1px 2px color-mix(in srgb, var(--color-brand-900) 7%, transparent);
  --send-ring: 0 0 0 4px color-mix(in srgb, var(--color-brand-600) 14%, transparent);
  --send-plus-size: 40px;
  --send-row: 48px;
  --send-gap: 6px;
  display: grid;
  gap: 10px;
  text-align: left;
}
.send-list__people,
.send-list__ghosts {
  display: grid;
  gap: var(--send-gap, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.send-list__box {
  display: grid;
  align-content: start;
  gap: var(--send-gap);
  height: calc(var(--send-row) * 3 + var(--send-gap) * 2);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--color-brand-600) 30%, transparent) transparent;
}
.send-list__box:has(.send-list__person:nth-child(4)) {
  padding-right: 4px;
}
.send-list__people:empty {
  display: none;
}

.send-list__person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--send-row, 52px);
  padding: 0 8px 0 10px;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--color-brand-600) 14%, transparent);
  border-radius: var(--funnel-corner, 12px);
  background: var(--color-brand-50);
}
.send-list__disc {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-brand-100);
  color: var(--color-brand-700);
  font-size: 0.85rem;
  font-weight: 800;
}
.send-list__address {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--color-brand-900);
  font-size: 0.95rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.send-list__remove {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}
.send-list__remove:hover {
  background: var(--color-card-bg);
  color: var(--color-brand-900);
}
.send-list__remove svg {
  width: 16px;
  height: 16px;
}

.send-list__tag {
  flex: none;
  margin-right: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-brand-600);
  color: var(--color-on-panel, #fff);
  font-size: 0.75rem;
  font-weight: 700;
}
.send-list__tick {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--color-brand-600);
  color: #fff;
}
.send-list__tick svg {
  width: 15px;
  height: 15px;
}
.send-list__error {
  margin: 0;
  color: var(--color-danger, #b42318);
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;
}
.send-list__error[hidden] {
  display: none;
}
.send-list__people--sent .send-list__person {
  border-color: color-mix(in srgb, var(--color-brand-600) 26%, transparent);
  background: var(--color-brand-50);
}


.send-list__add {
  display: flex;
  align-items: center;
  padding-right: 8px;
  border: 1.5px solid var(--send-edge);
  border-radius: 14px;
  background: var(--color-canvas);
  box-shadow: var(--send-lift);
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}
.send-list__add:hover {
  border-color: var(--send-edge-hover);
}
.send-list__add:focus-within {
  border-color: var(--color-brand-600);
  box-shadow: var(--send-ring);
}
.send-list__field {
  flex: 1;
  min-width: 0;
}

.send-list__field .field__input {
  min-height: 53px;
}
.send-list__field .field__input,
.send-list__field .field__input:is(:focus, :hover, :not(:placeholder-shown)) {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.send-list .field:focus-within .field__icon {
  color: var(--color-brand-600);
}

.send-list__plus {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--send-plus-size);
  height: var(--send-plus-size);
  padding: 0;
  border: 1.5px solid var(--send-edge);
  border-radius: 12px;
  background: var(--color-canvas);
  box-shadow: var(--send-lift);
  color: var(--color-brand-900);
  cursor: pointer;
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}
.send-list__plus:hover {
  border-color: var(--send-edge-hover);
  background: color-mix(in srgb, var(--color-brand-600) 4%, var(--color-canvas));
}
.send-list:has(.field__input:not(:placeholder-shown)) .send-list__plus {
  border-color: color-mix(in srgb, var(--color-brand-600) 55%, var(--color-canvas));
}
.send-list__plus:focus-visible {
  outline: 2px solid var(--color-brand-600);
  outline-offset: 2px;
}
.send-list__plus svg {
  width: 17px;
  height: 17px;
}


.send-list__ghost {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--send-row);
  padding: 0 12px 0 10px;
  box-sizing: border-box;
  border: 1.5px dashed color-mix(in srgb, var(--color-brand-600) 22%, transparent);
  border-radius: var(--funnel-corner, 12px);
  color: color-mix(in srgb, var(--color-brand-700) 50%, transparent);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: text;
}
.send-list__ghost[hidden] {
  display: none;
}
.send-list__ghost i {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 1.5px dashed color-mix(in srgb, var(--color-brand-600) 28%, transparent);
  border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
  .send-list__add,
  .send-list__plus {
    transition: none;
  }
}

