html[lang=th] body{font-family:var(--font);line-height:1.75}
html[lang=th] :is(h1,h2,h3,.stat strong,.label,.stat p,.pill,.am-line,.am-inner){letter-spacing:0;text-transform:none}
html[lang=th] .hero h1{line-height:1.3;font-size:clamp(30px,4.55vw,65px)}
html[lang=th] :is(h2,h3){line-height:1.3}
html[lang=th] :is(p,.reply,.ai-snippet){word-break:normal;overflow-wrap:anywhere;line-height:1.75}
html[lang=th] :is(.pill,.label,.stat p,.btn,.learn,.navlinks a,.navlinks button,.textbtn,.team-note){white-space:normal;overflow-wrap:anywhere;word-break:normal}
html[lang=th] .am-line{padding-top:.15em}
html[lang=th] .dashboard{font-family:var(--font);line-height:normal}
html[lang=th] .navlinks{gap:13px}
html[lang=th] .language-switch{white-space:nowrap;flex-shrink:0}
html[lang=th] .language-switch [aria-current]{font-weight:400}
html[lang=th] .thai-faq{padding:70px 0;background:#fff}
html[lang=th] .thai-faq details{border-bottom:1px solid var(--line);padding:18px 0}
html[lang=th] .thai-faq summary{cursor:pointer;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
html[lang=th] .thai-faq details p{margin:12px 0 0;color:var(--muted)}
@media(max-width:850px){html[lang=th] .hero h1{font-size:clamp(29px,5.5vw,48px)}}
@media(max-width:560px){html[lang=th] .hero h1{font-size:clamp(27px,7.8vw,40px)}html[lang=th] .am-line{overflow:visible}html[lang=th] .thai-faq{padding:42px 0}html[lang=th] .btn{max-width:100%}}

/* Dynamics 365 official icon: preserve the supplied artwork unchanged. */
.dash-top .ms-product-name,.mini-top{display:flex;align-items:center}
.ms-product-icon{display:block;flex:none;object-fit:contain;margin:6px;filter:none;box-shadow:none;transform:none;animation:none;transition:none}
.ms-product-icon[hidden]{display:none!important}
.dash-top .ms-product-icon{width:20px;height:20px}
.mini-top .ms-product-icon{width:16px;height:16px}

/* Thai solution copy and independent text/visual areas. */
html[lang=th] .solutions .section-title{margin-bottom:8px}
html[lang=th] .bento-subtitle{max-width:640px;margin:0 auto 29px;text-align:center;color:var(--muted);line-height:1.75;letter-spacing:0}
html[lang=th] .bento .card .label{font-size:12px;color:#5d5d66;letter-spacing:0;text-transform:none}
/* Keep the requested label color readable on the existing dark AI card. */
html[lang=th] .bento .card.ai .label{background:#e2e8f5;border-radius:4px;padding:1px 5px}
html[lang=th] .bento .small-card{display:grid;grid-template-columns:minmax(0,55%) minmax(0,1fr);column-gap:12px;grid-template-rows:auto auto 1fr auto;align-items:start}
html[lang=th] .bento .small-card>.label,html[lang=th] .bento .small-card>h3,html[lang=th] .bento .small-card>.learn{grid-column:1/-1}
html[lang=th] .bento .small-card>p{grid-column:1;grid-row:3;width:100%;max-width:100%;min-width:0}
html[lang=th] .bento .small-card>:is(.mini-chart,.code,.team-visual){grid-column:2;grid-row:3;position:relative;right:auto;bottom:auto;width:100%;min-width:0;align-self:end}
html[lang=th] .bento .small-card>.learn{grid-row:4;justify-self:start}
html[lang=th] .bento .small-card .code{overflow-wrap:anywhere;white-space:normal}
html[lang=th] .team-visual{overflow:hidden;border-radius:10px 10px 0 0}
html[lang=th] .team-visual .team{display:block;position:relative;right:auto;bottom:auto;width:100%;height:auto}
html[lang=th] .team-visual .team-note{display:block;position:relative;right:auto;bottom:auto;width:max-content;max-width:100%;margin:4px 0 0 auto;overflow-wrap:anywhere}
@media(max-width:1100px){
 html[lang=th] .bento .small-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto 1fr auto;row-gap:8px}
 html[lang=th] .bento .small-card>p{grid-column:1;grid-row:3}
 html[lang=th] .bento .small-card>:is(.mini-chart,.code,.team-visual){grid-column:1;grid-row:4;width:min(100%,280px);justify-self:end}
 html[lang=th] .bento .small-card>.learn{grid-row:5}
}

/* Video benefits and existing contact/video actions. */
html[lang=th] .video h2{line-height:1.3;letter-spacing:0}
html[lang=th] .video :is(p,.video-benefits){line-height:1.75;letter-spacing:0}
html[lang=th] .video-benefits{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:8px;color:var(--navy);font-size:14px}
html[lang=th] .video-benefits li{display:flex;gap:9px;align-items:flex-start;min-width:0}
html[lang=th] .video-benefits li svg{color:#278b80;flex:none;margin-top:3px}
html[lang=th] .video-benefits li span{min-width:0;overflow-wrap:anywhere}
html[lang=th] .video-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 18px}
html[lang=th] .video-actions .btn{max-width:100%;white-space:normal;text-align:center}
@media(prefers-reduced-motion:no-preference){
 html[lang=th].reveal-ready .video-benefits li.reveal{transition-delay:var(--video-delay,0ms)}
}
