/* Mobile customer access. Desktop identity and all portal behaviour stay unchanged. */
@media (max-width:999px){
 body{--site-header-height:65px;--mobile-logo-width:146px;--mobile-login-width:88px}
 body .site-header,
 body.is-scrolled .site-header,
 body.menu-open .site-header,
 body.page-index .site-header,
 body.page-index.is-scrolled .site-header,
 body.page-index.menu-open .site-header,
 body:not(.menu-open) .site-header{
  height:65px!important;min-height:65px!important;padding:0 20px!important;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
 }
 body .site-header .brand{width:var(--mobile-logo-width);min-width:var(--mobile-logo-width);gap:3px;transform:none!important}
 body .site-header .brand .wordmark,
 body.page-index .site-header .brand .wordmark,
 body.page-index:not(.menu-open) .site-header .brand .wordmark{
  width:var(--mobile-logo-width)!important;max-width:var(--mobile-logo-width)!important;height:auto!important;
 }
 body .site-header .brand .brand-caption,
 body.page-index .site-header .brand .brand-caption,
 body.menu-open .site-header .brand .brand-caption{
  font-size:calc(var(--mobile-logo-width) / 18.25)!important;line-height:1.35!important;gap:3px;
 }
 body .site-header .brand .brand-caption img{width:calc(var(--mobile-logo-width) / 13.27)!important;height:calc(var(--mobile-logo-width) / 13.27)!important}
 body .site-header .header-actions{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto}
 body .site-header .header-actions>a.customer-login-entry,
 body.page-index:not(.menu-open) .site-header .header-actions>a.customer-login-entry,
 body:not(.page-index):not(.menu-open) .site-header .header-actions>a.customer-login-entry,
 body.menu-open .site-header .header-actions>a.customer-login-entry{
  display:inline-flex!important;visibility:visible!important;align-items:center;justify-content:center;
  width:var(--mobile-login-width);min-width:var(--mobile-login-width);height:44px;min-height:44px;padding:0!important;
  border:0!important;border-radius:0;background:transparent!important;box-shadow:none;
  color:#214f50!important;font:550 12px/1.2 "Pretendard Variable",sans-serif!important;letter-spacing:-.025em;
 }
 body .site-header .customer-login-label{
  display:flex;align-items:center;justify-content:center;width:100%;height:32px;
  padding:0 3px;box-sizing:border-box;border:1px solid #c6d0ca;border-radius:4px;
  color:#214f50;background:#fcfbf7;white-space:nowrap;
 }
 body .site-header .customer-login-space{white-space:pre}
 body .site-header .header-actions>a.header-diagnosis{
  position:relative;isolation:isolate;display:inline-flex!important;visibility:visible!important;
  align-items:center;justify-content:center;width:112px;min-width:112px;height:44px;min-height:44px;
  padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;
  color:#fff!important;font:650 12px/1.25 "Pretendard Variable",sans-serif;letter-spacing:-.025em;
  gap:0;transform:none;
 }
 body .site-header .header-diagnosis:before{
  content:"";position:absolute;z-index:-1;left:0;right:0;top:6px;height:32px;
  border-radius:4px;background:#c45531;pointer-events:none;
 }
 body .site-header .header-diagnosis:hover:before{background:#a83f23}
 body .site-header .header-diagnosis>span{display:none}
 body .site-header .header-actions .menu-toggle,
 body:not(.page-index):not(.menu-open) .site-header .header-actions .menu-toggle,
 body.menu-open .site-header .header-actions .menu-toggle{
  display:block!important;position:relative;width:44px;min-width:44px;height:44px;min-height:44px;
  margin:0;padding:0;border:1px solid #c6d0ca!important;border-radius:5px;
  background:transparent!important;box-shadow:none;color:#233c49!important;
 }
 body .site-header .header-actions .menu-toggle span,
 body .site-header .header-actions .menu-toggle span:last-child,
 body .site-header .header-actions .menu-toggle:hover span:last-child,
 body:not(.page-index):not(.menu-open) .site-header .header-actions .menu-toggle span,
 body.menu-open .site-header .header-actions .menu-toggle span{
  position:absolute;left:50%!important;right:auto;width:22px!important;height:2.2px;
  margin:0;border-radius:1px;background:#233c49!important;transform:translateX(-50%)!important;
 }
 body .site-header .header-actions .menu-toggle span:nth-child(1){top:14px}
 body .site-header .header-actions .menu-toggle span:nth-child(2){top:20px}
 body .site-header .header-actions .menu-toggle span:nth-child(3){top:26px}
 body.menu-open .site-header .header-actions .menu-toggle span:nth-child(1){top:20px;transform:translateX(-50%) rotate(45deg)!important}
 body.menu-open .site-header .header-actions .menu-toggle span:nth-child(2){opacity:0}
 body.menu-open .site-header .header-actions .menu-toggle span:nth-child(3){top:20px;transform:translateX(-50%) rotate(-45deg)!important}
 body .menu-overlay.menu-clear{inset:65px 0 0!important;height:calc(100dvh - 65px)}
 body .menu-clear .menu-directory-footer .menu-login{
  display:inline-flex;align-items:center;justify-content:center;flex:1 0 100%;
  width:100%;min-height:44px;box-sizing:border-box;padding:8px 14px;
  border:1px solid #bfcfc5;border-radius:4px;background:#fcfbf7;
  color:#214f50;font:600 14px/1.4 "Pretendard Variable",sans-serif;
  text-decoration:none;white-space:nowrap;
 }
 body .menu-clear .menu-directory-footer{flex-wrap:wrap}
 body .site-header a:focus-visible,body .site-header button:focus-visible{outline:2px solid #185e60;outline-offset:2px}
 body.page-index main{padding-top:65px}
 body.page-index .launch-hero{min-height:calc(100svh - 65px)}
}
@media (max-width:600px){
 body{--mobile-logo-width:clamp(104px,29vw,116px);--mobile-login-width:84px}
 body .site-header,
 body.is-scrolled .site-header,
 body.menu-open .site-header,
 body.page-index .site-header,
 body.page-index.is-scrolled .site-header,
 body.page-index.menu-open .site-header,
 body:not(.menu-open) .site-header{padding-left:12px!important;padding-right:12px!important}
 body .site-header .header-actions{gap:7px}
 body .site-header .header-actions>a.header-diagnosis{width:90px;min-width:90px;font-size:11px}
}
@media (max-width:374px){
 body{--mobile-logo-width:104px}
 body .site-header{gap:6px}
 body .site-header .header-actions{gap:4px}
 body .site-header .header-actions>a.header-diagnosis{width:88px;min-width:88px}
}
@media (max-width:390px){
 body .site-header,
 body.is-scrolled .site-header,
 body.menu-open .site-header,
 body.page-index .site-header,
 body.page-index.is-scrolled .site-header,
 body.page-index.menu-open .site-header,
 body:not(.menu-open) .site-header{padding-left:8px!important;padding-right:8px!important;gap:4px!important}
 body .site-header .header-actions{gap:5px}
}
@media (max-width:374px){
 body .site-header .header-actions{gap:4px}
 body .site-header .header-actions .menu-toggle{width:40px!important;min-width:40px!important}
}
@media (max-width:359px){
 body{--mobile-login-width:44px}
 body .site-header .customer-login-label{flex-direction:column;padding:0;font-size:12px;line-height:13px}
 body .site-header .customer-login-space{display:none}
 body .site-header .header-actions .menu-toggle{width:40px!important;min-width:40px!important}
}
