/* Shared native selects: polished fields, keyboard/touch behavior intact. */
body select:not([multiple]):not([size]) {
  appearance:none!important;
  -webkit-appearance:none;
  box-sizing:border-box;
  width:100%;
  min-width:0!important;
  min-height:46px!important;
  padding:11px 40px 11px 14px!important;
  border:1px solid #c9d3de!important;
  border-radius:10px!important;
  background-color:#f8fafc!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233c5067' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:18px!important;
  color:#152438!important;
  font-family:inherit;
  font-size:15px!important;
  font-weight:500;
  line-height:1.4;
  text-overflow:ellipsis;
  cursor:pointer;
  box-shadow:0 1px 2px #15243808;
  transition:border-color .15s,box-shadow .15s,background-color .15s;
}
@media(hover:hover){body select:not([multiple]):not([size]):hover:not(:disabled){border-color:#8194a9!important;background-color:#fff!important}}
body select:not([multiple]):not([size]):focus-visible {
  outline:2px solid #243c53;
  outline-offset:2px;
  border-color:#243c53!important;
  box-shadow:0 0 0 5px #cefa4735;
  background-color:#fff!important;
}
body select:not([multiple]):not([size])[aria-invalid="true"]{border:2px solid #b74b1f!important;background-color:#fff8f1!important}
body select:not([multiple]):not([size]):disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
body select option{background:#fff;color:#152438}
body select option:disabled{color:#7a8796}
/* Browsers with customizable native pickers also get a styled popup. */
@supports(appearance:base-select){
  body select:not([multiple]):not([size]),body select:not([multiple]):not([size])::picker(select){appearance:base-select!important}
  body select:not([multiple]):not([size])::picker-icon{display:none}
  body select:not([multiple]):not([size])::picker(select){
    min-width:anchor-size(width);
    max-width:calc(100vw - 24px);
    max-height:min(360px,60dvh);
    margin-block:6px;
    padding:6px;
    border:1px solid #d5dee6;
    border-radius:12px;
    background:#fff;
    color:#152438;
    box-shadow:0 12px 36px #14243824,0 2px 6px #1424380d;
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  body select:not([multiple]):not([size]) option{
    min-height:42px;
    padding:10px 12px;
    border-radius:7px;
    white-space:normal;
    overflow-wrap:anywhere;
    cursor:pointer;
    font-size:15px;
  }
  body select:not([multiple]):not([size]) option:checked{background:#eff8d7;color:#172b3f;font-weight:650}
  body select:not([multiple]):not([size]) option:hover:not(:disabled){background:#f0f4f7}
  body select:not([multiple]):not([size]) option:focus-visible{outline:2px solid #243c53;outline-offset:-2px}
  body select:not([multiple]):not([size]) option::checkmark{color:#355119;margin-inline-end:8px}
}
@media(max-width:740px){body select:not([multiple]):not([size]){font-size:16px!important;min-height:48px!important;padding-left:12px!important}}
@media(prefers-reduced-motion:reduce){body select{transition:none!important}}
@media(forced-colors:active){body select:not([multiple]):not([size]){appearance:auto!important;background-image:none!important;color:FieldText!important;background-color:Field!important;border-color:ButtonText!important}}
