.send-picker {
  isolation: isolate;
}

.send-picker:has(.send-picker-toggle[aria-expanded="true"]) { z-index: 5; }
.send-picker [hidden], .send-picker-ready > .home-coin { display: none; }

.send-picker-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 61px;
  padding: 9px 19px;
  border: 0;
  border-radius: inherit;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.send-picker-value { display: flex; align-items: center; gap: 12px; min-width: 0; }
.send-picker-chevron { flex: none; width: 9px; height: 9px; border-right: 2px solid #586170; border-bottom: 2px solid #586170; transform: rotate(45deg) translateY(-2px); }
.send-picker-toggle[aria-expanded="true"] .send-picker-chevron { transform: rotate(225deg) translate(-2px, -2px); }

.send-picker-panel {
  position: absolute;
  inset: calc(100% + 9px) auto auto 0;
  width: max(100%, 320px);
  max-width: calc(100vw - 40px);
  padding: 10px;
  border: 1px solid #e0e1e6;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(6, 10, 18, .22);
}

.receive-picker .send-picker-panel { right: 0; left: auto; }
.send-picker-panel[data-placement="above"] { top: auto; bottom: calc(100% + 9px); }

.send-picker-search {
  width: 100%;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #e0e1e6;
  border-radius: 12px;
  background: #f4f5f7;
  font-size: 14px;
}

.send-picker-results { max-height: min(310px, 43dvh); margin-top: 7px; padding: 0 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.send-picker-group + .send-picker-group { margin-top: 7px; padding-top: 7px; border-top: 1px solid #eceef0; }
.send-picker-heading { margin: 7px 9px 4px; color: #5c6470; font-size: 11px; font-weight: 700; }
.send-picker-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 49px;
  padding: 6px 9px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.send-picker-option:not(:disabled):hover { background: #f1f3f6; }
.send-picker-option[aria-current="true"] { color: var(--red-dark); background: var(--red-soft); }
.send-picker-option[aria-current="true"]::after { margin-left: auto; content: '✓'; font-weight: 700; }
.send-picker-option:disabled { color: #596170; cursor: default; }
.send-picker-option:focus-visible { outline-offset: -2px; }
.send-picker-icon { flex: 0 0 31px; width: 31px; height: 31px; border-radius: 50%; object-fit: contain; }
span.send-picker-icon { display: grid; place-items: center; color: #17694d; background: #e1f2eb; font-size: 16px; font-weight: 700; }
.send-picker-caption { display: grid; min-width: 0; line-height: 1.28; }
.send-picker-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.send-picker-code { margin-top: 3px; font-size: 10px; font-weight: 650; color: #646d79; }
.send-picker-empty { margin: 12px 4px 6px; color: #596170; text-align: center; font-size: 13px; }

@media (max-width: 540px) {
  .send-picker-panel { width: 100%; max-width: none; }
  .send-picker-search { font-size: 16px; }
}

.receive-picker .send-picker-heading { display: flex; justify-content: space-between; gap: 8px; }
.receive-picker .send-picker-option[aria-current="true"]::after { display: none; }
.send-picker-reserve {
  max-width: 47%;
  margin-left: auto;
  color: #454e5d;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  overflow-wrap: anywhere;
}
.receive-network { margin-top: 4px; }
