/* Uses the original tooth SVG from DASSN H5 V5.8. Applies only to front-end headers. */
.dassn-brand-lockup{display:inline-flex;align-items:center;gap:12px;max-width:100%;min-width:0;text-decoration:none!important;color:#002e62!important}
.dassn-brand-mark{display:inline-grid;place-items:center;width:54px;height:54px;flex:0 0 54px;background:#f3e6d5;color:#0b477b;border-radius:50%;box-shadow:0 4px 12px #002e6210}
.dassn-brand-mark svg{display:block;width:30px;height:30px}
.dassn-brand-copy{display:flex;flex-direction:column;min-width:0;justify-content:center;gap:1px;line-height:1.23}
.dassn-brand-copy strong{display:block;color:#002e62;font-weight:900;letter-spacing:-.02em;font-size:clamp(19px,2vw,30px);line-height:1.24}
.dassn-brand-copy small{display:block;color:#174b77;font-size:clamp(9px,.85vw,13px);font-weight:800;line-height:1.35;letter-spacing:0}
/* Replace only the brand anchor; preserve its existing site menu, links and saved layout. */
.lsb-body .lsb-brand.dassn-global-brand-holder,.yhi-app .yhi-brand.dassn-global-brand-holder{max-width:min(100%,720px);flex:0 1 auto;min-width:0;align-items:center}
.lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy strong{font-size:clamp(17px,1.55vw,26px)}
.lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy small{font-size:clamp(9px,.77vw,12px);white-space:normal}
.lsb-body .lsb-header:has(.dassn-global-brand-holder) .lsb-header-inner{flex-wrap:wrap;gap:14px;max-width:1500px}
.lsb-body .lsb-header:has(.dassn-global-brand-holder) .lsb-navigation{flex:1 1 250px;min-width:0}
.yhi-app .yhi-brand.dassn-global-brand-holder .dassn-brand-copy strong{font-size:clamp(18px,1.85vw,29px)}
.yhi-app .yhi-header:has(.dassn-global-brand-holder){padding:12px 18px;min-height:72px}
.yhdi-standalone-page .yhdi-alone-header{border-bottom:1px solid #d8e6f1}
.yhdi-standalone-page .yhdi-alone-heading{min-width:0;gap:11px;flex:0 1 auto}
.yhdi-standalone-page .yhdi-alone-heading .dassn-brand-copy strong{font-size:clamp(18px,2.1vw,30px)}
.yhdi-standalone-page .yhdi-alone-heading .dassn-brand-copy small{font-size:clamp(9px,.92vw,13px)}
@media(max-width:720px){.dassn-brand-lockup{gap:8px}.dassn-brand-mark{width:40px;height:40px;flex-basis:40px}.dassn-brand-mark svg{width:24px;height:24px}.dassn-brand-copy strong,.lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy strong{font-size:clamp(15px,3.45vw,20px)}.dassn-brand-copy small,.lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy small{font-size:9px}.yhdi-standalone-page .yhdi-alone-header-inner{align-items:center;flex-wrap:wrap}.yhdi-standalone-page .yhdi-alone-heading .dassn-brand-copy strong{font-size:clamp(16px,3.5vw,22px)}}
/* The old standalone template used a vertical flex heading: force the official lockup horizontal. */
.yhdi-standalone-page .yhdi-alone-heading{flex-direction:row;align-items:center;justify-content:flex-start}


/* v1.4.7: prominent official Chinese identity with the English line optically aligned. */
.dassn-brand-copy{align-items:flex-start;max-width:100%;gap:0}
.dassn-brand-copy strong{font-size:clamp(23px,2.55vw,35px);font-weight:900;letter-spacing:-.025em;line-height:1.14;white-space:nowrap}
.dassn-brand-copy small{font-size:clamp(10px,.98vw,13px);font-weight:800;letter-spacing:0;line-height:1.45;white-space:nowrap;transform-origin:left center;display:inline-block}
.lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy strong{font-size:clamp(21px,2vw,32px)}
.lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy small{font-size:clamp(10px,.92vw,13px);white-space:nowrap}
.yhi-app .yhi-brand.dassn-global-brand-holder .dassn-brand-copy strong{font-size:clamp(22px,2.15vw,34px)}
.yhdi-standalone-page .yhdi-alone-heading .dassn-brand-copy strong{font-size:clamp(24px,2.6vw,36px)}
.yhdi-standalone-page .yhdi-alone-heading .dassn-brand-copy small{font-size:clamp(10px,1.06vw,14px)}
@media(max-width:760px){
  .dassn-brand-copy strong,
  .lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy strong,
  .yhi-app .yhi-brand.dassn-global-brand-holder .dassn-brand-copy strong,
  .yhdi-standalone-page .yhdi-alone-heading .dassn-brand-copy strong{font-size:clamp(17px,3.8vw,24px);white-space:normal}
  .dassn-brand-copy small,
  .lsb-body .lsb-brand.dassn-global-brand-holder .dassn-brand-copy small,
  .yhdi-standalone-page .yhdi-alone-heading .dassn-brand-copy small{white-space:normal;font-size:10px;transform:none!important;width:auto!important}
  .dassn-brand-copy{width:auto!important}
}

/* Chinese brand lettering matches the heavy sans-serif H5 identity across systems. */
.dassn-brand-copy strong{font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif}
