.header-tools{display:flex;align-items:center;gap:12px;justify-self:end}.header-tools .menu-toggle{margin:0}.language-menu{position:relative;flex-shrink:0;color:#17354e;font-size:14px;letter-spacing:0;line-height:1.6;text-align:left}.language-menu summary{display:flex;align-items:center;gap:8px;list-style:none;min-height:44px;padding:8px 12px;border:1px solid #b8c6d2;border-radius:24px;background:#fff;cursor:pointer;white-space:nowrap}.language-menu summary::-webkit-details-marker{display:none}.language-menu img{display:block;width:24px;height:18px;object-fit:contain;flex-shrink:0}.language-menu summary:focus-visible,.language-menu button:focus-visible{outline:2px solid #447fa9;outline-offset:3px}.language-options{position:absolute;right:0;top:calc(100% + 8px);z-index:150;width:185px;max-width:calc(100vw - 32px);max-height:min(340px,60dvh);overflow-y:auto;overscroll-behavior:contain;padding:6px;border:1px solid #cdd7df;border-radius:14px;background:#fff;box-shadow:0 12px 32px #10263b30}.language-options button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#17354e;text-align:left;font:inherit;cursor:pointer}.language-options button:hover,.language-options button:focus-visible,.language-options button[aria-pressed=true]{background:#eaf1f7}.language-check{margin-left:auto}.footer-language{display:flex;margin-top:20px}.footer .language-options{left:0;right:auto;top:auto;bottom:calc(100% + 8px)}.language-source-note{margin:0;padding:10px 5%;background:#fff5dc;color:#574421;font-size:13px;line-height:1.7}.mobile-language-bar{display:none;justify-content:flex-end;padding:8px 16px;background:#fff;border-bottom:1px solid #dce3e8}.language-source-note[hidden],.mobile-language-bar[hidden]{display:none}
.topbar{position:relative;z-index:60}.topbar-identity{display:flex;align-items:center;gap:20px}.topbar-actions{margin-left:auto}.topbar-language{justify-self:end}.topbar-identity .topbar-about{margin:0}
html:not([lang=th]) .nav-link{white-space:normal;overflow-wrap:anywhere}html:not([lang=th]) .nav-menu{gap:8px;align-items:center}html:not([lang=th]) .institution-copy h1{line-height:1.5;letter-spacing:0}html:not([lang=th]) .institution-actions,html:not([lang=th]) .hero-principles{flex-wrap:wrap}html:not([lang=th]) .section-heading-row{flex-wrap:wrap}html:not([lang=th]) .country-menu-panel{overflow-wrap:anywhere}html:not([lang=th]) .hero-search-panel .primary-btn{gap:12px}html:not([lang=th]) .service-card,html:not([lang=th]) .fet-card{overflow-wrap:anywhere}
@media(max-width:600px){.topbar-identity{grid-column:1;grid-row:1;flex-direction:column;align-items:flex-start;gap:0;text-align:left}.topbar-identity .topbar-about{display:inline-flex;align-items:center;min-height:24px}.topbar-language{grid-column:2;grid-row:1}.topbar-actions{grid-row:2;margin:0}.topbar-language .language-menu{font-size:13px}.header .header-tools{justify-content:flex-end}}
@media(max-width:600px){.header-tools{grid-column:1/-1;width:100%;justify-content:space-between}.header-tools .menu-toggle{grid-column:auto}.header .language-options{left:0;right:auto}.mobile-language-bar:not([hidden]){display:flex}.language-menu{font-size:13px}.hero-principles{row-gap:12px}.language-source-note{padding:10px 16px}.language-options{max-height:min(320px,55dvh)}}
