/* Local font, shared by all Thai pages including nested directories. */
@font-face{
  font-family:"Thinfo Thai";
  src:url("./fonts/NotoSansThai-VF.ttf") format("truetype");
  font-style:normal;
  font-weight:100 900;
  font-stretch:62.5% 100%;
  font-display:swap;
}
html[lang="th"] body.thinfo-theme{
  font-family:"Thinfo Thai",Tahoma,Arial,sans-serif;
  font-size:15px;
  line-height:1.75;
  font-synthesis:none;
  word-break:normal;
}
html[lang="th"] body.thinfo-theme :is(h1,h2,h3,h4){letter-spacing:0;line-height:1.55;overflow-wrap:break-word}
html[lang="th"] body.thinfo-theme :is(p,li,dd){line-height:1.8}
html[lang="th"] body.thinfo-theme :is(button,input,select,textarea){font-family:inherit;line-height:1.65}
html[lang="th"] body.thinfo-theme .topbar nav a{font-size:14px}
html[lang="th"] body.thinfo-theme :is(.member-entry,.header-auth-link,.header-auth-logout,.header-note){font-size:13px}
html[lang="th"] body.thinfo-theme :is(.button,.text-link){font-size:13px;line-height:1.65}
html[lang="th"] body.thinfo-theme .page-heading .actions{flex-wrap:wrap;gap:8px}
html[lang="th"] body.thinfo-theme .page-heading .actions .button{font-size:12px}
html[lang="th"] body.thinfo-theme .page-heading h1{font-size:clamp(27px,2.5vw,36px)}
html[lang="th"] body.home-refreshed .portal-hero h1{font-size:clamp(31px,3vw,43px);line-height:1.5}
html[lang="th"] body.thinfo-theme :is(.section-heading h2,.home-panel-heading h2,.finance-section-head h2,.member-panel-head h2,.info-card h2){font-size:20px;line-height:1.6}
html[lang="th"] body.thinfo-theme :is(.page-heading p,.registry-intro,.industry-hero p,.region-detail-hero p,.ranking-topic-hero p){font-size:14px}
html[lang="th"] body.thinfo-theme :is(.company-english-name,.record-name-meta,.company-ident p){font-size:13px;line-height:1.75}
html[lang="th"] body.thinfo-theme .company-ident h2{font-size:21px;line-height:1.6}
html[lang="th"] body.thinfo-theme :is(.section-nav,.finance-anchor){flex-wrap:wrap;white-space:normal;overflow:visible;gap:6px 10px}
html[lang="th"] body.thinfo-theme :is(.section-nav a,.finance-anchor a){font-size:13px;line-height:1.7;padding:7px 9px;white-space:normal}
html[lang="th"] body.thinfo-theme :is(.company-ident .hero-tags>span,.company-ident .identity-quick-link){font-size:12px;line-height:1.7}
html[lang="th"] body.thinfo-theme :is(.registry-card dt,.registry-card dd,.facts-grid span,.facts-grid strong){font-size:13px;line-height:1.85}
html[lang="th"] body.thinfo-theme .registry-card h3{font-size:16px}
html[lang="th"] body.thinfo-theme :is(.registry-card dd small,.registry-note,.record-source-line,.record-fold-state){font-size:12px;line-height:1.8}
html[lang="th"] body.thinfo-theme :is(.dossier-finance-numbers span,.dossier-finance-numbers em,.metric>span,.metric small,.finance-overview-grid span,.finance-overview-grid em){font-size:12px;line-height:1.75}
html[lang="th"] body.thinfo-theme .dossier-finance-intro p{font-size:12px;line-height:1.8}
html[lang="th"] body.thinfo-theme :is(.table-wrap,.finance-table,.compare-table,.directory-pro-table,.home-company-table) :is(th,td){font-size:13px;line-height:1.75}
html[lang="th"] body.thinfo-theme :is(.table-wrap,.finance-table,.compare-table,.directory-pro-table,.home-company-table) small{font-size:11px;line-height:1.7}
html[lang="th"] body.thinfo-theme :is(.home-company-name,.home-profile-link,.home-tabs button,.home-directory-links){font-size:13px}
html[lang="th"] body.thinfo-theme :is(.home-event h3,.home-topic h3,.home-company-name){line-height:1.7}
html[lang="th"] body.thinfo-theme :is(.home-event-meta,.home-event-source,.home-topic-note,.home-data-note,.home-panel-heading>a){font-size:12px;line-height:1.75}
html[lang="th"] body.thinfo-theme :is(.directory-search-panel label,.directory-controls select,.directory-sections span,.directory-code-grid b,.ranking-topic-card em,.region-directory-card b){font-size:13px;line-height:1.75}
html[lang="th"] body.thinfo-theme :is(.directory-code-grid b,.directory-code-grid small,.ranking-topic-card h4,.ranking-topic-nav strong,.region-directory-card-top strong){white-space:normal;word-break:normal;overflow-wrap:break-word}
html[lang="th"] body.thinfo-theme :is(.directory-code-grid small,.ranking-topic-card small,.ranking-topic-nav small,.region-directory-card small){font-size:12px;line-height:1.8}
html[lang="th"] body.thinfo-theme :is(.ranking-topic-card,.region-directory-card){height:auto;min-width:0}
html[lang="th"] body.thinfo-theme :is(.sentiment-news-item h3,.sentiment-result-main>strong){font-size:17px;line-height:1.65}
html[lang="th"] body.thinfo-theme :is(.sentiment-news-item p,.sentiment-news-feature p,.sentiment-detail-panel p,.sentiment-news-sidebar p){font-size:14px;line-height:1.9}
html[lang="th"] body.thinfo-theme :is(.sentiment-news-item-meta,.sentiment-news-item-source,.sentiment-news-item-bottom a,.sentiment-feature-links a,.sentiment-result-main em,.sentiment-result-main small,.sentiment-channel-line){font-size:12px;line-height:1.8}
html[lang="th"] body.thinfo-theme .sentiment-news-feature aside strong{font-size:clamp(30px,3.2vw,44px);line-height:1.55;overflow-wrap:break-word}
html[lang="th"] body.thinfo-theme :is(.member-field-group label,.member-form label,.member-auth-form label){font-size:14px}
html[lang="th"] body.thinfo-theme :is(.member-auth-steps li b,.member-auth-steps li span,.member-demo-note,.member-evidence-note,.member-inline-message,.member-flow-note){font-size:13px;line-height:1.85}
html[lang="th"] body.thinfo-theme :is(.member-form input,.member-form select,.member-form textarea,.member-auth-form input){font-size:15px}
@media(max-width:1100px){
  html[lang="th"] body.thinfo-theme .topbar nav{gap:14px;margin-left:0}
  html[lang="th"] body.thinfo-theme .topbar nav a{font-size:13px}
  html[lang="th"] body.thinfo-theme .company-ident{align-items:flex-start}
}
@media(max-width:700px){
  html[lang="th"] body.thinfo-theme{font-size:14px}
  html[lang="th"] body.thinfo-theme .topbar nav a{font-size:12px}
  html[lang="th"] body.thinfo-theme .header-utilities{gap:8px}
  html[lang="th"] body.thinfo-theme .page-heading{flex-wrap:wrap}
  html[lang="th"] body.thinfo-theme .page-heading .actions{max-width:100%}
  html[lang="th"] body.thinfo-theme .page-heading .actions .button{white-space:normal}
  html[lang="th"] body.thinfo-theme .company-ident h2{font-size:18px}
  html[lang="th"] body.thinfo-theme :is(.section-heading h2,.home-panel-heading h2,.finance-section-head h2,.member-panel-head h2,.info-card h2){font-size:18px}
  html[lang="th"] body.thinfo-theme :is(.home-company-table th,.home-company-table td,.home-company-name,.home-profile-link){font-size:12px}
  html[lang="th"] body.thinfo-theme :is(.portal-search input,.directory-search input,.industry-code-search input,.member-form input,.member-auth-form input){font-size:16px}
}
