.caishuhui-brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.caishuhui-brand-lockup__logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  object-fit: contain;
}

.caishuhui-brand-lockup__text {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.caishuhui-brand-lockup__name {
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.caishuhui-brand-lockup__product {
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  opacity: 0.72;
  white-space: nowrap;
}

.caishuhui-brand-link {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 760px) {
  .caishuhui-brand-lockup__logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .caishuhui-brand-lockup__name {
    font-size: 16px;
  }

  .caishuhui-brand-lockup__product {
    display: none;
  }
}

/* TGWIMDEV012: the approved horizontal artwork stays readable on both themes. */
img.csh-brand-wordmark {
  width: 112px !important;
  height: 44px !important;
  flex: 0 0 112px !important;
  padding: 2px;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.csh-brand-wordmark + span > strong { display: none; }
img.csh-brand-symbol { object-fit: contain; background: #fff; border-radius: 6px; }
@media (max-width: 480px) {
  img.csh-brand-wordmark { width: 96px !important; height: 40px !important; flex-basis: 96px !important; }
}
