/* Keep native controls in the form, but let the site position their menus. */
.select-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;text-align:left;cursor:pointer;appearance:none}
.select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select-chevron{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.select-trigger[aria-expanded="true"] .select-chevron{transform:rotate(180deg)}
.select-trigger:disabled{cursor:not-allowed;opacity:.55}
.select-trigger[aria-invalid="true"]{border-color:#b34040}
.select-panel{position:fixed;inset:auto;margin:0;padding:5px;box-sizing:border-box;border:1px solid #e7e7e7;border-radius:12px;background:#fff;color:#333;font:400 14px/21px var(--font-ui);box-shadow:0 8px 24px #00000012;overflow-y:auto;overscroll-behavior:contain;z-index:200;scroll-padding:5px}
.select-panel::backdrop{background:transparent;pointer-events:none}
.select-panel[hidden],.select-error[hidden]{display:none!important}
.select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:7px;cursor:pointer;overflow-wrap:anywhere}
.select-option.is-active{background:#f1f1f1;color:#171717}
.select-option[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
.select-check{flex:none;visibility:hidden;color:#191919}
.select-option.is-selected .select-check{visibility:visible}
.select-group{padding:8px 12px 4px;font-size:12px;font-weight:600;color:#717171}
.select-error,.field .select-error{display:block;color:#a13838;font-size:12px;line-height:1.5;margin-top:6px}
@media(max-width:639px){.select-panel{font-size:14px;line-height:21px}.select-option{padding-block:11px}}

/* Inline English validation replaces browser-localized popups. */
.form-validation-error{display:block;grid-column:1/-1;color:#a13838;font-size:12px;line-height:1.5;margin-top:6px}
.form-validation-error[hidden]{display:none!important}
