
.qbe-phone-label{display:flex;flex-direction:column;gap:7px}
.qbe-phone-row{display:flex;gap:9px;align-items:stretch;max-width:100%}
.qbe-phone-row .qbe-phone-country{flex:0 0 45%;min-width:0;max-width:230px;background:#fff;color:#261e2c;border:1.5px solid #dfcadb;border-radius:12px;padding:12px 8px;font-size:.79rem;font-weight:800;min-height:50px}
.qbe-phone-row input[name="phone"]{flex:1;min-width:0;width:100%;background:#fff;color:#241d2c;border:1.5px solid #dfcadb;border-radius:12px;padding:12px 13px;min-height:50px}
.qbe-phone-row input:focus-visible,.qbe-phone-country:focus-visible,.qbe-phone-other:focus-visible{outline:3px solid #e363a5;outline-offset:2px}
.qbe-phone-other{width:min(220px,100%);margin-top:4px}
.qbe-phone-other[hidden]{display:none!important}
.qbe-phone-helper{font-size:.68rem;color:#776678;line-height:1.5}
@media(max-width:500px){.qbe-phone-row{flex-direction:column}.qbe-phone-row .qbe-phone-country{max-width:100%;width:100%}}


/* Compact flag + country-code selector only; full number gets the space. */
.qbe-phone-row .qbe-phone-country{
 flex:0 0 102px!important;
 width:102px!important;
 max-width:102px!important;
 padding:11px 6px!important;
 text-align:left;
 font-size:.9rem!important;
}
.qbe-phone-row input[name="phone"]{flex:1 1 auto!important}
@media(max-width:500px){
 .qbe-phone-row{flex-direction:row!important;align-items:stretch!important}
 .qbe-phone-row .qbe-phone-country{
  flex:0 0 97px!important;
  width:97px!important;
  max-width:97px!important;
 }
}

/* Keep entire (678) 447 - 6371 visible beside compact country selector. */
.qbe-phone-label,.qbe-phone-row {min-width:0!important;width:100%!important;max-width:100%!important;}
.qbe-phone-row {display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;gap:7px!important;align-items:stretch!important;}
.qbe-phone-row .qbe-phone-country {
 width:80px!important;max-width:80px!important;min-width:0!important;
 font-size:.84rem!important;line-height:1.2!important;padding:9px 3px!important;
 text-align:left!important;white-space:nowrap!important;
}
.qbe-phone-row input[name="phone"]{
 box-sizing:border-box!important;display:block!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 flex:unset!important;grid-column:2!important;
 padding:11px 9px!important;
 font-size:clamp(13px,1.1vw,16px)!important;
 letter-spacing:-.025em!important;
 font-variant-numeric:tabular-nums!important;
 text-overflow:clip!important;
 direction:ltr!important;text-align:left!important;
}
@media(max-width:530px){
 .qbe-phone-row{grid-template-columns:74px minmax(0,1fr)!important;gap:5px!important}
 .qbe-phone-row .qbe-phone-country{width:74px!important;max-width:74px!important;padding:9px 2px!important;font-size:.8rem!important}
 .qbe-phone-row input[name="phone"]{padding:10px 6px!important;font-size:14px!important;letter-spacing:-.045em!important}
}
@media(max-width:345px){
 .qbe-phone-row{grid-template-columns:70px minmax(0,1fr)!important;gap:4px!important}
 .qbe-phone-row .qbe-phone-country{width:70px!important;max-width:70px!important}
 .qbe-phone-row input[name="phone"]{font-size:13px!important;padding:9px 5px!important}
}

/* Full-width telephone input; short dial-code selector, no obsolete helper text. */
.form-rows > label.qbe-phone-full,
.booking-form .form-rows > label.qbe-phone-full,
.partner-form .form-rows > label.qbe-phone-full{
 grid-column:1 / -1!important;
 display:block!important;
 min-width:0!important;
 width:100%!important;
}
.qbe-phone-full .qbe-phone-row{
 display:grid!important;
 grid-template-columns:80px minmax(0,1fr)!important;
 width:100%!important;
 max-width:100%!important;
 gap:9px!important;
 margin-top:7px!important;
}
.qbe-phone-full .qbe-phone-row select.qbe-phone-country,
.qbe-phone-full .qbe-phone-row input[name="phone"]{
 box-sizing:border-box!important;
 margin-top:0!important;
 min-height:49px!important;
}
.qbe-phone-full .qbe-phone-row select.qbe-phone-country{
 grid-column:1!important;
 width:80px!important;
 max-width:80px!important;
}
.qbe-phone-full .qbe-phone-row input[name="phone"]{
 grid-column:2!important;
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 font-size:16px!important;
 padding:12px 14px!important;
 letter-spacing:normal!important;
}
.qbe-phone-full .qbe-phone-helper{display:none!important}
@media(max-width:500px){
 .qbe-phone-full .qbe-phone-row{grid-template-columns:76px minmax(0,1fr)!important;gap:8px!important}
 .qbe-phone-full .qbe-phone-row select.qbe-phone-country{width:76px!important;max-width:76px!important}
 .qbe-phone-full .qbe-phone-row input[name="phone"]{font-size:16px!important;padding:11px 10px!important;letter-spacing:normal!important}
}
