/* One native-select design across public and client-facing pages.
   No replacement controls, event interception or third-party dependency.
   Unsupported browsers retain their operating-system option picker. */
body.ptl #main select:not([multiple]):not([size]) {
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  min-inline-size:0;
  max-inline-size:100%;
  min-block-size:48px;
  inline-size:100%;
  padding:12px 44px 12px 15px;
  border:1px solid #cdd1d3;
  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' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23636b73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 15px center;
  color:#17191c;
  font-family:inherit;
  font-size:14px;
  font-weight:450;
  line-height:1.5;
  text-overflow:ellipsis;
  box-shadow:0 1px 2px #17191c04;
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
body.ptl #main select:not([multiple]):not([size]):hover:not(:disabled){border-color:#a8a49b;background-color:#fffefa}
body.ptl #main select:not([multiple]):not([size]):focus-visible{border-color:#9b580c;outline:2px solid #9b580c;outline-offset:3px;box-shadow:0 0 0 4px #ffb75e1f}
body.ptl #main select:not([multiple]):not([size])[aria-invalid=true]{border-color:#a3202b}
body.ptl #main select:not([multiple]):not([size])[aria-invalid=true]:focus-visible{outline-color:#a3202b;box-shadow:0 0 0 4px #a3202b12}
body.ptl #main select:not([multiple]):not([size]):disabled{opacity:.6;cursor:not-allowed;background-color:#f1f1ed;box-shadow:none}
body.ptl #main select:not([multiple]):not([size]):dir(rtl){padding-inline:15px 44px;background-position:left 15px center}

@supports (appearance:base-select) and selector(select::picker(select)) {
  body.ptl #main select:not([multiple]):not([size]),
  body.ptl #main select:not([multiple]):not([size])::picker(select){appearance:base-select}
  body.ptl #main select:not([multiple]):not([size]){background-image:none;padding:12px 15px;gap:16px;align-items:center}
  body.ptl #main select:not([multiple]):not([size])::picker-icon{content:'';inline-size:7px;block-size:7px;flex-shrink:0;margin-inline-start:auto;margin-inline-end:3px;border-inline-end:1.6px solid #636b73;border-block-end:1.6px solid #636b73;transform:translateY(-2px) rotate(45deg);transition:transform .16s ease}
  body.ptl #main select:not([multiple]):not([size]):open{border-color:#9b580c;box-shadow:0 0 0 3px #ffb75e20}
  body.ptl #main select:not([multiple]):not([size]):open::picker-icon{transform:translateY(2px) rotate(225deg)}
  body.ptl #main select:not([multiple]):not([size])::picker(select){
    box-sizing:border-box;
    min-inline-size:anchor-size(width);
    max-inline-size:calc(100vw - 24px);
    max-block-size:min(360px,60dvh);
    position-try-order:normal;
    margin-block:7px;
    padding:6px;
    border:1px solid #dedbd4;
    border-radius:12px;
    background:#fffefa;
    color:#17191c;
    box-shadow:0 16px 40px #17191c21,0 3px 9px #17191c09;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:#c5bcae transparent;
  }
  body.ptl #main select:not([multiple]):not([size]) option{
    display:flex;
    align-items:center;
    gap:16px;
    min-block-size:44px;
    padding:11px 12px;
    margin:2px 0;
    border:1px solid transparent;
    border-radius:7px;
    background:transparent;
    color:#333a41;
    font:inherit;
    font-size:14px;
    line-height:1.5;
    white-space:normal;
    overflow-wrap:anywhere;
    cursor:pointer;
  }
  body.ptl #main select:not([multiple]):not([size]) option:checked{background:#fff0d9;color:#643704;font-weight:600;border-color:#f5debc}
  body.ptl #main select:not([multiple]):not([size]) option:hover:not(:disabled){background:#f3f1eb;color:#17191c}
  body.ptl #main select:not([multiple]):not([size]) option:checked:hover{background:#ffe8c4;color:#643704}
  body.ptl #main select:not([multiple]):not([size]) option:focus-visible{outline:2px solid #9b580c;outline-offset:-2px}
  body.ptl #main select:not([multiple]):not([size]) option::checkmark{order:1;margin-inline-start:auto;content:'✓';color:#874600;font-size:15px;font-weight:650}
  body.ptl #main select:not([multiple]):not([size]) option:disabled{color:#81858a;cursor:not-allowed;opacity:.7}
  body.ptl #main select:not([multiple]):not([size]) optgroup{font-family:inherit;font-size:12px;font-weight:600;color:#677080;padding:8px 4px}
}
@media(pointer:coarse){body.ptl #main select:not([multiple]):not([size]){font-size:16px;min-block-size:50px}}
@media(prefers-reduced-motion:reduce){body.ptl #main select:not([multiple]):not([size]),body.ptl #main select:not([multiple]):not([size])::picker-icon{transition:none}}
@media(forced-colors:active){
  body.ptl #main select:not([multiple]):not([size]){border:1px solid ButtonText;background:Canvas;color:CanvasText;box-shadow:none;forced-color-adjust:auto}
  body.ptl #main select:not([multiple]):not([size]):focus-visible{outline:2px solid Highlight}
  body.ptl #main select:not([multiple]):not([size])::picker(select){border:1px solid ButtonText;background:Canvas;color:CanvasText;box-shadow:none}
  body.ptl #main select:not([multiple]):not([size]) option:checked{background:Highlight;color:HighlightText;border-color:HighlightText}
  body.ptl #main select:not([multiple]):not([size]) option::checkmark{color:HighlightText}
}
