/* The open list's scrollbar (customizable select, tailwind.css) as the page's: only the bar, no arrows, in the brand
   blue; under the search field of a long list it starts where the options do.
   Served as it is (public/, linked from index.html), outside the build's CSS: lightningcss, which both Tailwind's
   optimizer and Vite's minifier use, cannot parse a pseudo-element after ::picker(select). Tailwind dropped these
   rules from the production CSS (they only showed with the dev server); Vite's minifier stops the build on them. */
select:not([multiple])::picker(select)::-webkit-scrollbar {
  width: 10px;
}

select:not([multiple])::picker(select)::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

select:not([multiple])::picker(select)::-webkit-scrollbar-track {
  background: transparent;
}

select:not([multiple])::picker(select)::-webkit-scrollbar-thumb {
  min-height: 32px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--brand-700) padding-box;
}

select:not([multiple])::picker(select)::-webkit-scrollbar-thumb:hover {
  background-color: var(--brand-800);
}

select:not([multiple]):has(> .select-search)::picker(select)::-webkit-scrollbar-track {
  margin-top: 50px;
}
