
:where(select:not([multiple]):not([size])) {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
}
select:not([multiple]):not([size]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b95a1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 12px 12px !important;
  padding-right: 30px !important;
}
:where(select:not([multiple]):not([size]):not(:disabled)):hover {
  border-color: color-mix(in srgb, currentColor 32%, transparent);
}
:where(select):focus-visible {
  outline: 2px solid var(--sel-ring, color-mix(in srgb, currentColor 55%, transparent));
  outline-offset: 2px;
}
:where(select):disabled { opacity: .55; cursor: default; }
@supports (appearance: base-select) {
  select:not([multiple]):not([size]), ::picker(select) { appearance: base-select; }
  select:not([multiple]):not([size]) { align-items: center; }
  select::picker-icon { display: none; }
  ::picker(select) {
    margin-block: 6px;
    padding: 4px;
    min-inline-size: anchor-size(inline);
    max-block-size: min(380px, 60vh);
    border: 1px solid var(--sel-line, var(--border, var(--line, color-mix(in srgb, CanvasText 16%, transparent))));
    border-radius: 10px;
    background: var(--sel-panel, var(--card, var(--panel, var(--raised, Canvas))));
    color: var(--sel-text, var(--text, var(--fg, CanvasText)));
    box-shadow: 0 14px 36px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .14);
    font: inherit;
    font-size: 13.5px;
    overflow: auto;
    scrollbar-width: thin;
  }
  select:not([multiple]):not([size]) option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-block-size: 32px;
    padding: 6px 10px;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    white-space: nowrap;
  }
  select:not([multiple]):not([size]) option:hover,
  select:not([multiple]):not([size]) option:focus-visible {
    background: color-mix(in srgb, currentColor 9%, transparent);
    outline: none;
  }
  select:not([multiple]):not([size]) option:checked { font-weight: 600; }
  select option::checkmark { order: 1; margin-left: auto; color: var(--sel-accent, currentColor); }
  select:not([multiple]):not([size]) option:disabled { opacity: .45; }
  select optgroup { padding: 4px 0; }
  select optgroup legend { padding: 6px 10px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
}
