/* One site font from first paint, before status/account preferences load.
   Legacy aliases remain for old document/preview selectors, without loading fonts. */
:root{--font-pretendard:'Pretendard Variable','Malgun Gothic',sans-serif;--font-plex:var(--font-pretendard);--font-dohyeon:var(--font-pretendard);--font-system:var(--font-pretendard);--font-plex-mono:var(--font-pretendard);--office-font:var(--font-pretendard);--office-heading:var(--font-pretendard);--office-number:var(--font-pretendard)}
body,button,input,select,textarea,dialog{font-family:var(--office-font)}
h1,h2,.office-shell .heading h1,.office-shell .module-title{font-family:var(--office-heading);font-weight:var(--office-heading-weight,400)}
.mono,.code,.metric,.metric-small,.gadget-metrics strong{font-family:var(--office-number)}
.font-preview{font-family:var(--preview-body)}.font-preview h2{font-family:var(--preview-heading)}.font-preview button{font-family:inherit}.font-preview .mono{font-family:var(--preview-number)}

:root{--office-body-weight:400;--office-emphasis-weight:600;--office-heading-weight:600;--office-number-weight:500}
body,button,input,select,textarea,dialog{font-synthesis-weight:none}
body,button,input,select,textarea{font-weight:var(--office-body-weight)}
.office-shell strong,.office-shell b,.office-shell th,.office-shell h3,.office-shell .primary{font-weight:var(--office-emphasis-weight)}
h1,h2,.office-shell .heading h1,.office-shell .module-title{font-weight:var(--office-heading-weight)}
.mono,.code,.metric,.metric-small,.gadget-metrics strong{font-weight:var(--office-number-weight)}
.font-preview{font-weight:var(--preview-body-weight)}.font-preview h2{font-weight:var(--preview-heading-weight)}.font-preview strong{font-weight:var(--preview-emphasis-weight)}.font-preview .mono{font-weight:var(--preview-number-weight)}
.font-specimens{display:flex;gap:16px;flex-wrap:wrap}.font-specimens span{font-family:var(--preview-body);font-synthesis-weight:none}.weight-300{font-weight:300}.weight-400{font-weight:400}.weight-500{font-weight:500}.weight-600{font-weight:600}.weight-700{font-weight:700}
#site-font-form .muted{color:#626670}[data-theme="dark"] #site-font-form .muted{color:#b7bbc6}

/* Global type settings intentionally override older module-specific weight rules. */
body,label,p,td,input,select,textarea{font-weight:var(--office-body-weight)}
h1,h2{font-weight:var(--office-heading-weight)!important}
th,h3{font-weight:var(--office-emphasis-weight)!important}
strong,b{font-weight:700!important}
.mono,.code,.metric,.metric-small,.gadget-metrics strong{font-weight:var(--office-number-weight)!important}
#font-preview h2{font-weight:var(--preview-heading-weight)!important}#font-preview strong{font-weight:var(--preview-emphasis-weight)!important}#font-preview .mono{font-weight:var(--preview-number-weight)!important}#font-preview p,#font-preview button{font-weight:var(--preview-body-weight)}
