.settlement-pricing-picker {
  display: grid;
  gap: 18px;
}

.settlement-quick-list,
.volume-price-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.settlement-quick {
  min-height: 44px;
  white-space: normal;
}

.settlement-other {
  margin-top: 12px;
}

.settlement-search-results {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.settlement-search-result {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.settlement-search-result:hover,
.settlement-search-result:focus-visible {
  border-color: var(--brand);
  outline: none;
}

.settlement-choice,
.final-price {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
}

.settlement-choice span,
.final-price span {
  color: var(--muted);
}

.settlement-choice strong,
.final-price strong {
  max-width: 68%;
  overflow-wrap: anywhere;
  text-align: right;
}

.volume-price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.volume-price-card {
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.volume-price-card span {
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 800;
}

.volume-price-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 18%, transparent);
}

.volume-price-card:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.volume-price-card.unknown {
  width: min(100%, 330px);
  margin-top: 10px;
}

.volume-price-card.unknown span,
.settlement-price-empty {
  color: var(--muted);
}

.settlement-price-empty {
  margin: 0;
}

.final-price {
  margin-top: 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
}

.final-price strong {
  color: var(--brand-dark);
  font-size: 22px;
}

@media (max-width: 520px) {
  body:has(.max-connect) .feedback-trigger {
    position: static;
    display: block;
    width: fit-content;
    margin: 12px auto;
  }

  .settlement-quick-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settlement-quick {
    width: 100%;
  }

  .volume-price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settlement-choice,
  .final-price {
    display: grid;
  }

  .settlement-choice strong,
  .final-price strong {
    max-width: 100%;
    text-align: left;
  }
}
