/* One inset chevron for native dropdowns, including dynamically rendered forms.
   Override component background shorthands without changing their surface color. */
html body select:not([multiple]):not([size]),
html body select[size="1"]:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23667085' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
}

html.dark body select:not([multiple]):not([size]),
html.dark body select[size="1"]:not([multiple]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23bac2de' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (forced-colors: active) {
  html body select:not([multiple]):not([size]),
  html body select[size="1"]:not([multiple]),
  html.dark body select:not([multiple]):not([size]),
  html.dark body select[size="1"]:not([multiple]) {
    appearance: auto;
    -webkit-appearance: auto;
    background-image: none;
  }
}
