/* DAEHEUNG EHS v8.9.59 - compact mobile brand spacing */
@media (max-width: 768px){
  .ehsTopBar,
  .userEhsTopBar{
    align-items:center !important;
  }

  .ehsBrandArea,
  .userBrandArea{
    display:flex !important;
    align-items:center !important;
    gap:2px !important;
    column-gap:2px !important;
    min-width:0 !important;
    flex:0 1 auto !important;
  }

  .topCompanyLogo{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
    max-width:42px !important;
    max-height:42px !important;
    object-fit:contain !important;
    flex:0 0 42px !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ehsBrandCopy,
  .userBrandCopy{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
    transform:translateX(-1px) !important;
  }

  .systemBrandMain{
    font-size:clamp(22px,6.5vw,28px) !important;
    line-height:1.02 !important;
    font-weight:900 !important;
    letter-spacing:-0.7px !important;
    white-space:nowrap !important;
    margin:0 !important;
    padding:0 !important;
  }

  .ehsProductLine{
    font-size:9px !important;
    line-height:1.1 !important;
    margin:3px 0 0 0 !important;
    padding:0 !important;
    letter-spacing:-0.15px !important;
    white-space:nowrap !important;
  }

  .uiBuildFlag{
    display:none !important;
  }
}

@media (max-width: 430px){
  .ehsBrandArea,
  .userBrandArea{
    gap:1px !important;
    column-gap:1px !important;
  }
  .topCompanyLogo{
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    min-height:40px !important;
    max-width:40px !important;
    max-height:40px !important;
    flex-basis:40px !important;
  }
  .ehsBrandCopy,
  .userBrandCopy{
    transform:translateX(-1px) !important;
  }
  .systemBrandMain{
    font-size:clamp(21px,6.2vw,25px) !important;
  }
  .ehsProductLine{
    font-size:8px !important;
  }
}

@media (max-width: 360px){
  .topCompanyLogo{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    max-width:36px !important;
    max-height:36px !important;
    flex-basis:36px !important;
  }
  .systemBrandMain{
    font-size:20px !important;
  }
}
