/* Keep this native advisory field and give its indicator and text separate room. */
.jp .jp-form select[data-ref-choice] {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236b4a2e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right clamp(15px, 4vw, 21px) center;
  padding-inline-end: clamp(35px, 10vw, 49px);
}
.jp .jp-form select[data-ref-choice]:focus-visible {
  outline: 2px solid var(--cognac);
  outline-offset: 2px;
}
@media (max-width: 350px) {
  /* Keep the longest choice legible at 320px without shrinking type. */
  .jp .jp-form { padding-inline: 11px; }
  .jp .jp-form select[data-ref-choice] { padding-inline: 11px 32px; }
}
@media (forced-colors: active) {
  .jp .jp-form select[data-ref-choice] {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
    padding-inline-end: 1rem;
  }
  .jp .jp-form select[data-ref-choice]:focus-visible { outline-color: Highlight; }
}
