.ehr-address-wrap{position:relative;flex:1;min-width:0;width:100%}
.ehr-address-wrap input.ehr-address-input{box-sizing:border-box;width:100%!important;min-height:48px;padding:11px 14px!important;border:1px solid #bdcdd9;border-radius:10px!important;background:#fff;color:#17374c;font:inherit;box-shadow:0 2px 4px #15364a08;transition:border-color .16s,box-shadow .16s}
.ehr-address-wrap input.ehr-address-input:focus{border-color:#168693;outline:3px solid #16869330;outline-offset:2px}
.ehr-address-wrap input.ehr-address-input[aria-invalid=true]{border-color:#bc3939}
.ehr-place-status{display:block;font:12px/1.5 Arial,sans-serif;color:#557482;margin-top:5px}
.ehr-place-status:empty{display:none}
.ehr-place-menu{position:fixed;z-index:10000;box-sizing:border-box;padding:6px;background:white;border:1px solid #ccdae2;border-radius:14px;box-shadow:0 14px 44px #142d4930;color:#17374c;font:15px/1.4 Arial,sans-serif;overflow:auto;overscroll-behavior:contain;animation:ehr-place-in .16s ease-out}
.ehr-place-menu[hidden]{display:none!important}
.ehr-place-option{padding:12px;border-radius:8px;cursor:pointer;min-height:22px}
.ehr-place-option[aria-selected=true],.ehr-place-option:hover{background:#edf7f8;color:#006b75}
.ehr-place-empty{padding:12px;color:#657c89}
@keyframes ehr-place-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ehr-place-menu{animation:none}.ehr-address-wrap input.ehr-address-input{transition:none}}

.ehr-postal-credit{display:block;font-size:10px;color:#657c89;margin:4px 0}.ehr-postal-credit a{color:inherit}

.ehr-address-row{align-items:flex-start!important}
.ehr-address-wrap{display:flex;flex-direction:column;justify-content:flex-start!important}
.ehr-address-wrap input.ehr-address-input{height:48px!important;margin-top:0!important;margin-bottom:0!important}
.ehr-place-status-quiet{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ehr-postal-credit{margin-top:16px}
.ehr-address-wrap input.ehr-address-input{max-width:none!important;align-self:stretch}

/* Keep both address controls in stable columns when hints/errors are added.
   The legacy nested flex rows must not shrink the city control out of view. */
#order-form .ehr-address-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px!important;width:100%!important;align-items:start!important}
#order-form .ehr-address-row>.ehr-place-status{grid-column:1/-1;width:100%;box-sizing:border-box;margin:0!important;padding:0 2px}
#order-form .ehr-address-row>.ehr-address-wrap{display:flex!important;width:auto!important;min-width:0!important;flex:none!important}
#order-form .ehr-address-row input.ehr-address-input{display:block!important;flex:none!important;width:100%!important;min-width:0!important;min-height:48px!important}
