/* 한국어·영어 페이지 전용 글꼴 (2026-11-26)
 * 영문·숫자 = Montserrat, 한글 = Pretendard (Montserrat에 한글 글리프가 없어 자동으로 Pretendard로 넘어감)
 * ko/·en/ 페이지에만 연결한다 (ja·zh 등 다른 언어는 기존 글꼴 유지). 연결 도구: _font_ko_en.js
 * 기존 CSS의 개별 font-family(!important 포함)를 모두 이기도록 :not(#__f)로 명시도를 올린다.
 */
:root {
  --ff-ko-en: "Montserrat", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Noto Sans KR", sans-serif;
}
:root, :root * {
  --sans: var(--ff-ko-en) !important;
  --serif: var(--ff-ko-en) !important;
  --disp: var(--ff-ko-en) !important;
  --techno: var(--ff-ko-en) !important;
  --font: var(--ff-ko-en) !important;
  --t-sans: var(--ff-ko-en) !important;
  --t-disp: var(--ff-ko-en) !important;
}
html:root body:not(#__f),
html:root body:not(#__f) *:not(svg):not(svg *) {
  font-family: var(--ff-ko-en) !important;
}

/* Montserrat는 Pretendard보다 글자 폭이 넓어 모바일 수술정보 칸(nowrap)이 화면 밖으로 밀리는 것 보정 */
@media (max-width: 600px) {
  html:root body:not(#__f) .surg-val,
  html:root body:not(#__f) .surg-label { white-space: normal; overflow-wrap: anywhere; }
  html:root body:not(#__f) .surg-item { min-width: 0; }
}
