.routing-choices {
  min-width: 0;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.routing-choices legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--profile-secondary, #c6b6d2);
  font-size: 14px;
  font-weight: 600;
}

.routing-choices__list {
  display: grid;
  gap: 6px;
  max-height: min(48svh, 360px);
  overflow-y: auto;
  scroll-padding-block: 6px;
}

.routing-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.account-form .routing-choice__input {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.routing-choice__row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--profile-border, rgba(224, 181, 246, .15));
  border-radius: 12px;
  background: var(--profile-surface, rgba(21, 16, 33, .56));
}

.routing-choice__indicator {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #a996b5;
  border-radius: 50%;
}

.routing-choice__name {
  overflow-wrap: anywhere;
  font-weight: 500;
}

.routing-choice__current {
  color: var(--profile-secondary, #c6b6d2);
  font-size: 12px;
}

.routing-choice__input:checked + .routing-choice__row {
  border-color: #d28ee8;
  background: rgba(194, 94, 224, .13);
}

.routing-choice__input:checked + .routing-choice__row .routing-choice__indicator {
  border-color: #e6a8f8;
}

.routing-choice__input:checked + .routing-choice__row .routing-choice__indicator::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6a8f8;
  content: "";
}

.routing-choice__input:focus-visible + .routing-choice__row {
  outline: 2px solid #f2c5ff;
  outline-offset: -3px;
}

.routing-choices:disabled .routing-choice {
  opacity: .65;
  cursor: default;
}

.routing-choices__submit[aria-disabled="true"] {
  opacity: .55;
  cursor: default;
}
