/* Shared by the dashboard and the incoming-packages iframe. */
:root {
  --control-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2361747d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:root[data-mode="dark"] {
  --control-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23b5c7ce' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Important layered declarations take precedence over legacy per-page backgrounds.
   Only the arrow and its space are shared; surfaces, text colors and focus remain themed. */
@layer select-affordances {
  select:not([multiple]):where(:not([size]), [size="1"]) {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 44px !important;
    background-image: var(--control-select-chevron) !important;
    background-position: right 16px center !important;
    background-size: 16px 16px !important;
    background-repeat: no-repeat !important;
    text-overflow: ellipsis;
  }
  @media (forced-colors: active) {
    select:not([multiple]):where(:not([size]), [size="1"]) {
      -webkit-appearance: auto !important;
      appearance: auto !important;
      background-image: none !important;
    }
  }
}
