/* LINE E.N.G V5.56.28 - customer form label/control collision fix.
 * Cause: older theme forced label width:102px while compact layout uses a 72px
 * grid track. Scope the fix to direct basic-info fields only; preserve
 * manager/date metadata, route selectors, other modules and print layouts.
 */
@media screen {
  #app .le42-inquiry .uy592-customergrid > .uy55-field {
    display:grid!important;
    grid-template-columns:90px minmax(0,1fr)!important;
    gap:6px!important;
    align-items:center!important;
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:100%!important;
  }
  #app .le42-inquiry .uy592-customergrid > .uy55-field > label {
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    flex:0 1 auto!important;
    padding:0 3px!important;
    margin:0!important;
    box-sizing:border-box!important;
    overflow-wrap:anywhere!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.15!important;
  }
  #app .le42-inquiry .uy592-customergrid > .uy55-field > :is(input,select,textarea,.uy55-address,.uy561-route) {
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  #app .le42-inquiry .uy592-customergrid > .uy55-field > :is(.uy55-address,.uy561-route) {
    width:100%!important;
  }
}
