:root {
  --tk-type-caption: .8125rem;
  --tk-type-label: .875rem;
  --tk-type-body: 1rem;
  --tk-type-subtitle: 1.125rem;
  --tk-type-section: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --tk-type-title: clamp(1.5rem, 1.3rem + 1vw, 2rem);
}
html:lang(th) { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:lang(th) body { font-family: var(--tk-font-ui); line-height: 1.65; }
html:lang(th) :is(button,input,select,textarea) { font-family: inherit; }
html:lang(th) :is(h1,h2,h3,h4,p,dt,dd,li,summary,label) {
  word-break: normal;
  overflow-wrap: break-word;
}
html:lang(th) h1, html:lang(th) .page-title { font-size: var(--tk-type-title); line-height: 1.4; letter-spacing: normal; }
html:lang(th) h2 { font-size: var(--tk-type-section); line-height: 1.45; }
html:lang(th) h3 { font-size: var(--tk-type-subtitle); line-height: 1.5; }
html:lang(th) :is(article p, main p) { line-height: 1.65; }
html:lang(th) :is(input,textarea,select):not([type=checkbox]):not([type=radio]) {font-size:1rem;}
