/* The reporting-period button draws its own chevron over a native picker. */
select:where(:not([multiple], [size], .select-btn > select)) {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  padding: 7px 34px 7px 10px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  color: inherit;
  font: inherit;
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
  cursor: pointer;
}

/* Server-rendered forms put the label text directly before the control. */
label > select:only-child {
  margin-block-start: 4px;
}

@media (forced-colors: active) {
  select:where(:not([multiple], [size], .select-btn > select)) {
    appearance: auto;
    -webkit-appearance: auto;
    background-image: none;
    padding-right: 10px;
  }
}
