/* September 2026 brand guide: Inter / Marcellus; script-appropriate fallbacks. */
@font-face{font-family:Inter;src:url('/brand-fonts/inter-400.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('/brand-fonts/inter-500.woff') format('woff');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Inter;src:url('/brand-fonts/inter-600.woff') format('woff');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:Inter;src:url('/brand-fonts/inter-700.woff') format('woff');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Marcellus;src:url('/brand-fonts/marcellus.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('/brand-fonts/noto-sc-400.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url('/brand-fonts/noto-sc-600.woff') format('woff');font-style:normal;font-weight:600;font-display:swap}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body,.trbs-shell,.trbs-bottom,.trbs-popover,.trbs-drawer,.trbs-network,.trbs-network-panel{font-family:Inter,'Noto Sans SC','TRD Rare Han','PingFang SC','Microsoft YaHei',Arial,sans-serif}
/* Chinese does not use the tracking or forced capitals of Latin eyebrow labels. */
:lang(zh) h1,:lang(zh) h2,:lang(zh) h3,:lang(zh) .eyebrow,:lang(zh) .trbs-menu-label,:lang(zh) .trbs-network-heading{letter-spacing:normal;text-transform:none}
.trbs-network-heading [data-slot=sheet-description]{font-size:1rem!important;font-weight:400!important;letter-spacing:normal!important;text-transform:none!important;line-height:1.5!important}
.trbs-menu-label,.trbs-menu-note,.trbs-menu-notice,.trbs-site-links small,.trbs-drawer-foot small{font-size:.8125rem!important}
.trbs-bottom span{font-size:.75rem!important;line-height:1.35!important}
.trbs-network-help,.trbs-network-group-button small,.trbs-network-items small{font-size:.875rem}
input,textarea,select{font-family:inherit}
@media(max-width:800px){input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:1rem}}

:lang(en) h1,:lang(en) h2,:lang(ms) h1,:lang(ms) h2{font-family:Marcellus,Inter,Georgia,serif}

/* Allow translated brand names to wrap naturally on narrow screens. */
.trbs-brand{flex-shrink:1}.trbs-brand>span{min-width:0;overflow-wrap:break-word}

/* Traditional Chinese handwriting: LXGW WenKai TC, SIL OFL 1.1.
   Local font and licence: /fonts/wenkai/OFL.txt. Loaded only when used. */
@font-face{font-family:'LXGW WenKai TC';src:url('/fonts/wenkai/LXGWWenKaiTC-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{--traditional-reading-font:'LXGW WenKai TC','CBETA Supplement','TRD Rare Han','Noto Sans SC','PingFang TC','Microsoft JhengHei',serif}
[data-chinese-font='plain']{--traditional-reading-font:'Noto Sans SC','CBETA Supplement','TRD Rare Han','PingFang TC','Microsoft JhengHei',sans-serif}
:is(:lang(zh-Hant),:lang(zh-TW),:lang(zh-HK),:lang(zh-MO)):not(svg):not(path){font-family:var(--traditional-reading-font)!important;letter-spacing:normal}
/* Pronunciation remains distinct from the handwritten Chinese base. */
rt:lang(zh-Latn){font-family:Inter,'Noto Sans SC',Arial,sans-serif}
