/* Shared contact telephone control: local flag artwork and searchable country list. */
#contact .phone-field{position:relative;min-width:0}
#contact .phone-native-select{width:100%;max-width:100%;font:inherit;font-size:13px;padding:10px;border:1px solid #CCD7E6;border-radius:9px;background:#fff;color:#26466C;margin-bottom:8px}
#contact .phone-field [hidden]{display:none!important}
#contact .phone-picker-ready{display:flex;align-items:stretch;border:1px solid #CCD7E6;border-radius:9px;background:#fff}
#contact .phone-picker-ready:focus-within{border-color:#6D3BEF;box-shadow:0 0 0 2px #6D3BEF1A}
#contact .phone-picker-ready input[type=tel]{width:0;flex:1;min-width:0;border:0!important;background:transparent;border-radius:0 9px 9px 0;box-shadow:none;padding-left:10px;padding-right:10px}
#contact .phone-picker-ready input[type=tel]:focus{outline:none;box-shadow:none}
#contact .phone-country-toggle{display:flex;align-items:center;justify-content:center;gap:6px;flex:none;width:auto;min-width:96px;margin:0;padding:0 10px;border:0;border-right:1px solid #E1E7EF;border-radius:8px 0 0 8px;background:#fff;color:#26466C;font:inherit;font-size:12px;font-weight:500;box-shadow:none;cursor:pointer;white-space:nowrap}
#contact .phone-country-toggle:hover,#contact .phone-country-toggle[aria-expanded=true]{background:#F5F1FF;color:#5530B2}
#contact .phone-country-toggle:focus-visible{outline:2px solid #6D3BEF;outline-offset:2px}
#contact .phone-country-toggle img,#contact .phone-country-option img{display:block;width:24px;height:18px;object-fit:contain;border-radius:2px;flex:none;box-shadow:0 0 0 1px #0B183E12}
#contact .phone-country-chevron{font-size:13px;color:#607692}
#contact .phone-country-panel{position:absolute;z-index:50;top:calc(100% + 7px);right:0;width:min(360px,calc(100vw - 48px));padding:9px 0;border:1px solid #CCD7E6;border-radius:12px;background:#fff;color:#26466C;box-shadow:0 12px 36px #0B183E24}
#contact .phone-menu-above .phone-country-panel{top:auto;bottom:calc(100% + 7px)}
#contact input.phone-country-search{display:block;box-sizing:border-box;width:calc(100% - 18px);margin:0 9px 8px;padding:10px 12px;border:1px solid #CCD7E6;border-radius:7px;background:#fff;font:inherit;font-size:13px;color:#0B183E;min-height:40px}
#contact input.phone-country-search:focus{outline:2px solid #6D3BEF;outline-offset:0}
#contact .phone-country-list{overflow-y:auto;max-height:min(260px,40vh);overscroll-behavior:contain;scrollbar-width:thin}
#contact .phone-country-group{padding:8px 13px 5px;font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:.7px;font-weight:700;color:#607692}
#contact .phone-country-option{display:flex;align-items:center;gap:10px;min-height:39px;padding:8px 13px;box-sizing:border-box;font-size:13px;line-height:1.4;color:#26466C;cursor:pointer}
#contact .phone-country-option:hover,#contact .phone-country-option.is-active{background:#F0EBFF;color:#5530B2}
#contact .phone-country-option[aria-selected=true]{background:#F8F5FF;color:#5530B2;font-weight:600}
#contact .phone-country-option[aria-selected=true].is-active{background:#E9DFFF}
#contact .phone-country-check{margin-left:auto;color:#6D3BEF;font-size:15px}
#contact .phone-country-status{font-size:12px;line-height:1.6;margin:0;padding:12px;color:#607692}
@media(max-width:640px){#contact .phone-country-toggle{min-width:100px}#contact .phone-country-panel{width:min(360px,calc(100vw - 72px))}}

#contact .phone-picker-ready input[type=tel]::placeholder{color:#627590;opacity:1}
#contact .phone-number-error{margin:6px 0 0;color:#a52935;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#contact .phone-number-error[hidden]{display:none}
#contact .phone-picker-ready:has([aria-invalid=true]){border-color:#a52935}
#contact .phone-country-option span:not(.phone-country-check){min-width:0;overflow-wrap:anywhere}

@media (max-width: 768px) {
  #contact .phone-country-toggle{min-width:0;min-height:44px;gap:5px;padding:0 7px}
  #contact .phone-picker-ready input[type=tel],
  #contact input.phone-country-search{font-size:16px}
  #contact .phone-country-panel{width:min(360px,100%);box-sizing:border-box}
  #contact .phone-country-option{min-height:44px}
}
