/* Vendiac 3.5.1. Typography only; no page-wide transforms or glyph slicing. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
html[data-vendiac-ui] body { font-family:var(--vendiac-font-latin,system-ui,sans-serif); }
html[data-vendiac-ui]:lang(th) body { font-family:var(--vendiac-font-thai,Tahoma,sans-serif); }
html[data-vendiac-ui] :where(button,input,textarea,select) { font-family:inherit; }
html[data-vendiac-ui] :where(input,textarea,select) { line-height:1.5; }
/* Allow Thai vowels and tone marks room. No universal font override on icons,
   merchant canvas elements, code blocks, or theme-specific headings. */
html[data-vendiac-ui]:lang(th) :where(h1,h2,h3,h4,h5,h6) { line-height:1.45; letter-spacing:normal; }
html[data-vendiac-ui]:lang(th) :where(p,label,summary,[data-i18n],[data-market-i18n],[data-en][data-th]) {
  line-height:1.6; letter-spacing:normal; word-break:normal; word-wrap:break-word; overflow-wrap:break-word;
}
html[data-vendiac-ui] :where(button,[role="button"],[role="tab"]) { min-width:0; }
html[data-vendiac-ui] [data-vendiac-text] { word-break:normal; }
html[data-vendiac-ui] [data-vendiac-script="thai"] { letter-spacing:normal; }
/* Labels grow vertically rather than losing Thai combining marks at a fixed
   height. Intentionally single-line content such as a table cell keeps its own
   horizontal ellipsis rules. Zoom and browser accessibility controls remain on. */
html[data-vendiac-ui]:lang(th) :where(.auth-back,.auth-submit,.auth-google,.language-option,.market-language-option) {
  height:auto; min-height:44px; line-height:1.6; padding-top:8px; padding-bottom:8px; white-space:normal;
}
html[data-vendiac-ui]:lang(th) :where(.landing-cta,.landing-nav a,.landing-external,.landing-signin) {
  line-height:1.6; letter-spacing:normal;
}
/* The editor toolbar may scroll; text itself must not be sliced into letters. */
html[data-vendiac-ui]:lang(th) .ve-mobile-panels button span { line-height:1.6; }
