/* Shared, native accessible selects; the popup is enhanced where supported. */
body select:not([multiple]) {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 42px 12px 15px;
  border: 1px solid #d5ddcb;
  border-radius: 9px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2359634d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  color: #263020;
  font: 500 13px/1.5 var(--font, "DM Sans", sans-serif);
  box-shadow: 0 2px 3px #24301904;
  cursor: pointer;
  transition:
    border-color 0.16s,
    box-shadow 0.16s,
    background-color 0.16s;
}
body select:not([multiple]):hover:not(:disabled) {
  border-color: #95a682;
  background-color: #fcfdf9;
}
body select:not([multiple]):focus-visible {
  outline: 2px solid #829e48;
  outline-offset: 3px;
  border-color: #829e48;
  box-shadow: 0 0 0 4px #d8fc502b;
}
body select:not([multiple]):disabled {
  background-color: #f0f2ed;
  color: #89917f;
  border-color: #e2e6dc;
  cursor: not-allowed;
  box-shadow: none;
}
body select option {
  color: #263020;
  background: #fff;
}
body select option:disabled {
  color: #929a8a;
}
@supports (appearance: base-select) {
  body select:not([multiple]),
  body select:not([multiple])::picker(select) {
    appearance: base-select;
  }
  body select:not([multiple]) {
    background-image: none;
    padding-right: 15px;
    gap: 14px;
    align-items: center;
  }
  body select:not([multiple])::picker-icon {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.6px solid #59634d;
    border-bottom: 1.6px solid #59634d;
    rotate: 45deg;
    margin: -4px 3px 0 auto;
    transition: rotate 0.16s;
  }
  body select:not([multiple]):open {
    border-color: #91a66c;
    background-color: #f8fbf1;
    box-shadow: 0 0 0 3px #d8fc502b;
  }
  body select:not([multiple]):open::picker-icon {
    rotate: 225deg;
    margin-top: 4px;
  }
  body select:not([multiple])::picker(select) {
    margin-block: 6px;
    padding: 6px;
    border: 1px solid #d5ddcb;
    border-radius: 12px;
    background: #fff;
    color: #263020;
    box-shadow:
      0 14px 40px #26302022,
      0 2px 8px #2630200a;
    max-height: min(320px, 60dvh);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4ceba transparent;
    font:
      500 13px/1.5 "DM Sans",
      sans-serif;
  }
  body select:not([multiple]) option {
    padding: 11px 13px;
    border-radius: 6px;
    display: flex;
    gap: 16px;
    align-items: center;
    min-height: 42px;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  body select:not([multiple]) option:hover,
  body select:not([multiple]) option:focus {
    background: #f0f5e7;
    outline: none;
  }
  body select:not([multiple]) option:checked {
    background: #eaf5cf;
    color: #30431d;
    font-weight: 650;
  }
  body select:not([multiple]) option::checkmark {
    order: 1;
    margin-left: auto;
    color: #526f2a;
  }
  body select:not([multiple]) option:disabled {
    cursor: not-allowed;
    background: #f8f9f6;
  }
}
@media (max-width: 760px) {
  body select:not([multiple]) {
    font-size: 16px;
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body select:not([multiple]),
  body select:not([multiple])::picker-icon {
    transition: none;
  }
}
@media (forced-colors: active) {
  body select:not([multiple]) {
    appearance: auto;
    background-image: none;
    border: 1px solid ButtonText;
  }
}
