/* Scoped to the two reference phone controls; no navigation/profile styles. */
.reference-contact-field{min-width:0}
.reference-contact-field>span:first-child{display:block}
.reference-contact-field select{width:100%;max-width:100%;box-sizing:border-box}
.reference-phone-row{display:flex!important;align-items:center;gap:8px;min-width:0}
.reference-phone-code{flex:0 0 auto;white-space:nowrap;min-width:3ch;font-weight:600}
.reference-phone-row input{flex:1 1 auto;width:0!important;min-width:0}

/* In-flow suggestions stay below the field, never over the mobile header. */
.ix-reference-country-source{display:none!important}
.ix-reference-country-search{position:relative;min-width:0;width:100%}
.ix-reference-country-search input{width:100%;min-width:0;box-sizing:border-box;font-size:16px!important;min-height:46px}
.ix-reference-country-search small{display:block;font-size:13px;line-height:1.4;color:#526174;margin-top:5px}
.ix-reference-country-options{max-height:240px;max-height:min(240px,35dvh);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid #b9c4d1;border-radius:8px;margin-top:6px;background:white}
.ix-reference-country-options[hidden]{display:none!important}
.ix-reference-country-options [role=option]{padding:12px;min-height:44px;box-sizing:border-box;color:#17263a;cursor:pointer;overflow-wrap:anywhere}
.ix-reference-country-options .is-active{background:#e8f2ff}



.ix-reference-country-options button[role=option]{display:block;width:100%;text-align:left;font:inherit;border:0;border-radius:0;background:white;margin:0}.ix-reference-country-options button.is-active{background:#e8f2ff}

.ix-reference-country-search .ix-country-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ix-reference-country-search input[type=search]{appearance:auto;-webkit-appearance:searchfield;padding-right:32px}
