/* Native selects keep their labels, keyboard behavior and form values. */
select:not([multiple]):not([size]){
  min-height:42px;
  max-width:100%;
  padding:9px 38px 9px 13px;
  border:1px solid #a9baa5;
  border-radius:8px;
  background-color:var(--select-bg,#faf8ef);
  color:var(--select-ink,var(--forest,#243e32));
  font:inherit;
  line-height:1.45;
  cursor:pointer;
  transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease;
}
select:not([multiple]):not([size]):hover{border-color:#526a45;background-color:var(--select-hover,#f4f4e9)}
select:not([multiple]):not([size]):focus-visible{outline:3px solid #b79a58;outline-offset:3px}
select:not([multiple]):not([size]):disabled{opacity:.65;cursor:not-allowed}
select:not([multiple]):not([size]) option{color:var(--select-ink,#243e32);background:var(--select-bg,#faf8ef)}

@supports (appearance:base-select){
  select:not([multiple]):not([size]),select:not([multiple]):not([size])::picker(select){appearance:base-select}
  select:not([multiple]):not([size])::picker(select){min-width:var(--select-picker-width,12rem);max-height:min(55vh,360px);padding:6px;border:1px solid #a9baa5;border-radius:8px;background:var(--select-bg,#faf8ef);box-shadow:0 10px 24px #243e3228;color:var(--select-ink,#243e32)}
  select:not([multiple]):not([size]) option{padding:9px 12px;border-radius:5px}
  select:not([multiple]):not([size]) option:hover,select:not([multiple]):not([size]) option:focus-visible{background:var(--select-hover,#e9f0e3);color:var(--select-ink,#243e32)}
  select:not([multiple]):not([size]) option:checked{background:var(--select-active-bg,#243e32);color:var(--select-active-ink,#fff)}
  select:not([multiple]):not([size]) option::checkmark{display:none}
  select:not([multiple]):not([size])::picker-icon{color:var(--select-ink,#243e32);transition:transform .15s ease}
  select:not([multiple]):not([size]):open::picker-icon{transform:rotate(180deg)}
}
@supports not (appearance:base-select){
  select:not([multiple]):not([size]){
    appearance:none;
    background-image: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='m3 6 5 5 5-5' fill='none' stroke='%23243e32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position:right 12px center;
    background-repeat:no-repeat;
    background-size:18px 18px;
  }
}
@media(prefers-reduced-motion:reduce){select:not([multiple]):not([size]),select:not([multiple]):not([size])::picker-icon{transition:none!important}}
