
/* Self-hosted Kanit: website typography */
:root{--font:'Kanit','Leelawadee UI','Thonburi','Noto Sans Thai',system-ui,sans-serif;}
html,body,button,input,select,textarea{font-family:var(--font);}
body{font-weight:300;line-height:1.75;}
/* Kanit typography: shared final layer; no layout or asset changes. */
html,body,button,input,select,textarea{font-family:var(--font);}
body{font-weight:300;line-height:1.75}
body p,body td,body .description{font-weight:300;line-height:1.75}
body h1,body h2{font-weight:500;line-height:1.3}
body h3,body h4,body h5,body h6,body th,body label,body button,body .btn,body .pill,body .chip,body .tag,body .label{font-weight:400;line-height:1.3}
body .ah-nav,body .ah-nav a,body .ah-nav button,body .ah-col h4,body .ah-pm>a,body .ah-acc-trigger{font-weight:400}
body .ah-lang a[aria-current]{font-weight:500}
body .ah-header .ah-top .ah-lang a[aria-current]{font-weight:500}
body .closing h2{font-weight:500;line-height:1.3}
html[lang="th"] body,html[lang="th"] body *{letter-spacing:0!important}
body svg text{font-family:var(--font)}
body pre,body code,body kbd,body samp{font-family:monospace}
/* Text controls need room for Thai ascenders and descenders without changing header heights. */
body .ah-nav a,body .ah-nav button,body .ah-col a,body .ah-top a{line-height:1.3}
body .ah-nav a,body .ah-nav button{white-space:nowrap}
body .ah-nav{font-size:15px}
body .ah-col h4{font-size:14px}
body .ah-col>a{font-size:14px}
