/* Shared custom language menu for Group and Precision. */
#header .hs-translation-picker{position:relative;}
/* Legacy and current Website Translator toolbar frames only. */
html.hs-inpage-translation iframe.goog-te-banner-frame,
html.hs-inpage-translation iframe.VIpgJd-ZVi9od-ORHb-OEVmcd{
  display:none !important;visibility:hidden !important;height:0 !important;
}
html.hs-inpage-translation body{top:0 !important;}
html.hs-inpage-translation #header{--hs-translate-offset:0px;}

#header .hs-translation-status{
  position:absolute;right:0;top:calc(100% + 10px);z-index:4;
  width:260px;max-width:calc(100vw - 40px);padding:12px 14px;
  border:1px solid #ddd;border-radius:8px;background:#fff;color:#222;
  font:400 13px/1.5 'Pretendard',sans-serif;white-space:normal;
}
#header .hs-translation-status[hidden]{display:none;}

/* Custom rounded language menu; native combo remains only as translation adapter. */
#header .hs-google-translate-host{display:none!important}
#header .hs-translation-ready .hs-translation-artwork{pointer-events:auto}
/* The outer shell clips rounded corners; the inset list owns scrolling. */
#header .hs-language-menu{position:absolute;top:calc(100% + 12px);right:0;z-index:100;box-sizing:border-box;width:100%;max-width:calc(100vw - 32px);overflow:hidden;padding:7px;border:1px solid #e5eaf0;border-radius:14px;background:#fff;color:#333;box-shadow:0 12px 32px rgba(15,35,55,.16);color-scheme:light}
#header .hs-language-menu[hidden]{display:none!important}
#header .hs-language-list{box-sizing:border-box;width:100%;max-height:344px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd4dc #f5f7f9;scrollbar-gutter:stable}
#header .hs-language-list::-webkit-scrollbar{width:6px}
#header .hs-language-list::-webkit-scrollbar-track{background:#f5f7f9;border-radius:8px}
#header .hs-language-list::-webkit-scrollbar-thumb{background:#cbd4dc;border-radius:8px}
#header .hs-language-list::-webkit-scrollbar-thumb:hover{background:#b5c2cd}
#header .hs-language-option{display:block;box-sizing:border-box;width:100%;min-height:36px;margin:0;padding:8px 6px;border:0;border-radius:7px;background:transparent;color:#384450;text-align:left;font:400 13px/20px 'Pretendard',sans-serif;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
#header .hs-language-option:hover,#header .hs-language-option:focus-visible{background:#f1f6fa;color:var(--c-accent);outline:none}
#header .hs-language-option[aria-checked="true"]{background:#f2edf8;color:var(--c-accent);font-weight:700}
#header .hs-language-option:disabled{opacity:.45;cursor:default}
#header .hs-translation-picker:focus-within .hs-translation-artwork{outline:none}
#header .hs-translation-picker .hs-translation-artwork:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* Keep the dismiss control visible while the language list scrolls. */
#header .hs-language-menu-header{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 0 6px 4px;border-bottom:1px solid #edf1f4;margin-bottom:4px;font:500 11px/20px 'Pretendard',sans-serif;color:#687784}
#header .hs-language-close{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:52px;min-height:32px;padding:4px 6px;border:0;border-radius:6px;background:#f3f7f9;color:#384450;font:500 12px/20px 'Pretendard',sans-serif;cursor:pointer}
#header .hs-language-close:hover,#header .hs-language-close:focus-visible{background:#f2edf8;color:var(--c-accent)}
@media(max-width:768px){
 #header #header-util--updated .language-toggle.hs-translation-artwork{box-sizing:border-box;width:32px;height:32px;min-width:32px;padding:6px;border:1px solid #fff;border-radius:50%;gap:0;justify-content:center}
 #header #header-util--updated .language-toggle.hs-translation-artwork>img:first-child{width:18px;height:18px;object-fit:contain}
}

/* Foundation: one Google language picker; no separate English site link. */
#header .language-picker{flex:none}
#header .language-toggle{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;height:38px;padding:0 12px;border:1px solid #777;border-radius:22px;background:#fff;color:#333;font:500 14px/1.2 'Pretendard',sans-serif;white-space:nowrap;cursor:pointer}
#header .language-toggle img{width:20px;height:20px;object-fit:contain}
#header .language-toggle i{width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg)}
@media(max-width:700px){#header .language-toggle{width:36px;height:36px;padding:7px}#header .language-toggle span,#header .language-toggle i{display:none}}

#header .language-toggle{width:131px;height:38px;padding:0 19px 0 7px;gap:8px;justify-content:space-between;font:500 16px/1 'Pretendard',sans-serif;border:1px solid currentColor;border-radius:22px;background:#fff;color:#222;flex-shrink:0}
#header .language-toggle>img:first-child{width:21px;height:22px;flex:none;object-fit:contain}
#header .language-toggle i{width:8px;height:8px;flex:none}
@media(max-width:767px){#header .logo img{width:235px}}
@media(max-width:700px){#header .language-toggle{width:32px;height:32px;padding:5px;gap:0;justify-content:center}#header .language-toggle>img:first-child{width:18px;height:18px}}
@media(max-width:480px){#header .logo img{width:190px}}

/* v110: white over images; gray on the fixed white header. */
#header .language-toggle{background:transparent;color:#fff;border-color:#fff}
#header.is-fixed .language-toggle{background:transparent;color:#666;border-color:#999}
