/* Shared chevron and native selection control; geometry follows the text size. */
.site-chevron {
  display: inline-block;
  flex-shrink: 0;
  width: .5em;
  height: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
}
.site-select {
  display: inline-grid;
  position: relative;
  min-width: 0;
  max-width: 100%;
  vertical-align: middle;
  color: var(--text);
  font: inherit;
}
.site-select > select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 46px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  background: var(--bg);
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 44px 8px 12px;
  font: inherit;
  cursor: pointer;
}
.site-select > .site-chevron {
  position: absolute;
  top: 50%;
  inset-inline-end: 18px;
  transform: translateY(-75%) rotate(45deg);
}
@media (forced-colors: active) {
  .site-select > select { appearance: auto; -webkit-appearance: auto; padding-right: 12px; }
  .site-select > .site-chevron { display: none; }
}
