.number-picker .number-picker-field {
  margin-bottom: 20px;
}

.number-picker input[type="number"] {
  width: 15rem;
}

.number-picker .number-picker-field .help,
.number-picker .number-picker-error {
  margin: 12px 0 0;
}

.number-picker .number-picker-result {
  margin-top: 24px;
}

.number-picker .number-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.number-picker .number-picker-list > li {
  min-width: 0;
  padding: 16px;
  background: var(--soft);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.number-picker > .instructions + .instructions {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.number-picker > .instructions > h2 {
  margin-bottom: 12px;
}

.number-picker > .instructions > :is(ol, ul) {
  margin: 0;
  padding-inline-start: 24px;
}

.number-picker > .instructions > :is(ol, ul) > li + li {
  margin-top: 4px;
}

.number-picker > .instructions[aria-labelledby="number-picker-faq"] > h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.number-picker > .instructions[aria-labelledby="number-picker-faq"] > p {
  margin-bottom: 0;
}

.number-picker > .instructions[aria-labelledby="number-picker-faq"] > p + h3 {
  margin-top: 16px;
}
