/* WEB v0.9.23 FIX23 - customer contact + billing responsive layout */
.customer-editor-modal{width:min(720px,calc(100vw - 40px))!important;max-width:720px!important;overflow:hidden!important}
.customer-editor-modal>.modal-body{overflow-y:auto!important;overflow-x:hidden!important;min-width:0!important;padding:20px!important}
.customer-editor-form,.customer-editor-form .form-grid,.customer-billing-panel{min-width:0!important;max-width:100%!important}
.customer-editor-form .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important}
.customer-editor-form .field,.customer-editor-form input,.customer-editor-form select,.customer-editor-form textarea{min-width:0!important;max-width:100%!important;width:100%!important}
.customer-billing-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:14px!important}
.customer-billing-row.street{grid-template-columns:minmax(0,1fr) 118px!important;gap:12px!important}
.customer-billing-row.locality{grid-template-columns:minmax(0,1.05fr) 118px minmax(0,1fr)!important;gap:12px!important}
.customer-billing-row.phone{grid-template-columns:150px minmax(0,1fr)!important;gap:12px!important}
.customer-billing-tab-intro{min-width:0!important;overflow:hidden!important}
.customer-billing-tab-intro>div{min-width:0!important}.customer-billing-tab-intro .muted{overflow-wrap:anywhere}
.customer-editor-modal .modal-actions{position:sticky;bottom:0;z-index:8;background:#fff;padding:12px 0 0;margin-top:18px;border-top:1px solid var(--line,#dbe6ef)}
@media(max-width:660px){
 .customer-editor-modal{width:min(96vw,720px)!important}
 .customer-editor-modal>.modal-body{padding:16px!important}
 .customer-editor-form .form-grid,.customer-billing-grid,.customer-billing-row.street,.customer-billing-row.locality,.customer-billing-row.phone{grid-template-columns:1fr!important}
 .customer-billing-tab-intro{align-items:stretch!important;flex-direction:column!important}
}
