/* Shared language switcher, typography and bidirectional reading support. */
.language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;padding:10px 5px;min-height:44px;border:0;background:transparent;color:inherit;font:500 11px/1.2 Arial,sans-serif;letter-spacing:.06em;cursor:pointer}
.language-toggle svg{display:block;width:19px;height:19px;flex:none}
body>header .header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:24px;direction:ltr}
.site-header-brands .header-actions #menu{display:flex;align-items:center;gap:12px;padding:12px 0;border:0;background:transparent;font-size:13px;color:#203249}
.site-header-brands .header-actions #menu .menu-icon{width:24px;font-size:23px;line-height:1;text-align:center}
.localized-site>header{direction:ltr}
.localized-site>.resource-header{gap:20px}
.localized-site>.resource-header nav{margin-inline-start:auto}
.localized-site>.header>.language-toggle{margin-inline-start:12px}
.language-floating{position:absolute;top:20px;right:24px}
.language-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(520px,calc(100vw - 32px));max-height:calc(100svh - 40px);height:fit-content;overflow:auto;margin:auto;padding:24px;border:1px solid #ffffffb3;border-radius:16px;background:#faf9f6;color:#203249;box-shadow:0 24px 80px #07162630;font-family:Arial,sans-serif}
.language-dialog::backdrop{background:#0d1e3580;backdrop-filter:blur(5px)}
.language-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.language-dialog h2{margin:0;font:500 22px/1.3 Arial,sans-serif;letter-spacing:-.025em}
.language-dialog-top button{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;margin:-8px -8px -8px 0;padding:0;border:0;border-radius:50%;background:none;color:#657286;font:300 25px/1 Arial,sans-serif;cursor:pointer;transition:background .18s,color .18s}
.language-dialog-top button:hover{background:#20324909;color:#203249}
.language-dialog>p{margin:8px 0 20px;color:#74808e;font-size:12px;line-height:1.6}
.language-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 16px}
.language-grid a{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:44px;padding:9px 10px;border:1px solid transparent;border-radius:8px;font:400 15px/1.5 Arial,sans-serif;text-align:start;color:#35465a;text-decoration:none;transition:background .18s,border-color .18s,color .18s}
.language-grid .language-flag{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;font:20px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;letter-spacing:0}
.language-grid .language-name{min-width:0}
.language-grid a[aria-current=page]{background:#eaf0f5;border-color:#dce5ee;font-weight:600;color:#173f70}
.language-grid a[aria-current=page]:after{content:'✓';font-size:12px;margin-inline-start:auto}
.language-grid a:hover{background:#20324907;color:#173f70}
.language-grid a:focus-visible,.language-dialog-top button:focus-visible{outline:2px solid #6b8ca9;outline-offset:2px}
.localized-site main p,.localized-site label,.localized-site h1,.localized-site h2,.localized-site h3,.localized-site h4{overflow-wrap:break-word}
html:not([lang=en]) h1{font-size:clamp(38px,5.1vw,78px);line-height:1.12}
html:not([lang=en]) .material-hero-copy h1{max-width:900px}
html[lang=zh-Hans],html[lang=th],html[lang=hi],html[lang=ar],html[lang=ur]{font-synthesis:weight}
html:is([lang=zh-Hans],[lang=th],[lang=hi],[lang=ar],[lang=ur]) body{font-family:Arial,"Noto Sans",sans-serif}
html:is([lang=zh-Hans],[lang=th],[lang=hi],[lang=ar],[lang=ur]) :is(h1,h2,h3,h4,p,a,button,span,label){letter-spacing:normal}
html:is([lang=ar],[lang=ur]) :is(h1,h2,h3){line-height:1.4}
html:is([lang=ar],[lang=ur]) :is(p,li,label){line-height:1.9}
html[dir=rtl] :is(.hero-copy,.science-copy,.focus-copy,.company-copy,.contact-copy,.process-text,.issue-panel,.support-hero,.language-dialog){text-align:right}
html[dir=rtl] :is(.header-brand-links,.header-brands,.language-toggle){direction:ltr}
html[dir=rtl] #main-navigation{direction:rtl;text-align:right}
html[dir=rtl] :is(input[type=email],input[type=tel]){direction:ltr;text-align:left}
html[dir=rtl] .check-row{direction:rtl}
html[dir=rtl] .resources-panel>a{direction:rtl}
html[dir=rtl] .header-brand-arrow{direction:ltr}
html:not([lang=en]) :is(.industry-page-cta,.contact-link,.resources-panel>a){white-space:normal}
@media(max-width:1000px){.localized-site>.header>.language-toggle{margin-inline-start:auto}.localized-site>.header>.menu{margin-inline-start:14px}.localized-site>.resource-header{gap:12px}}
@media(max-width:760px){body>header .header-actions{grid-column:2;gap:16px}html:not([lang=en]) h1{font-size:clamp(33px,8vw,56px)}.localized-site>.resource-header .header-certificates,.localized-site>.resource-header .resource-sibling{display:none}.localized-site>.resource-header nav{gap:12px}.localized-site>.resource-header .contact-link{font-size:11px}.language-toggle{gap:4px;font-size:10px}.language-toggle svg{width:17px;height:17px}.site-header-brands .header-actions #menu{font-size:12px}.localized-site>header nav a{overflow-wrap:anywhere}}
@media(max-width:480px){.language-dialog{padding:20px 16px}.language-dialog h2{font-size:20px}.language-dialog>p{margin-bottom:16px}.language-grid{column-gap:6px}.language-grid a{gap:8px;padding:9px 6px;font-size:13px}.language-grid .language-flag{flex-basis:20px;width:20px;font-size:18px}}
@media(max-width:380px){.language-dialog{width:calc(100vw - 24px);padding:18px 12px}.language-grid{column-gap:4px}.language-grid a{gap:6px;padding-inline:5px}.localized-site>.resource-header .back-home{display:none}}
@media print{.language-toggle,.language-dialog{display:none!important}}
/* Keep the photographic composition fixed while text reads right to left. */
html[dir=rtl] body{direction:ltr}
html[dir=rtl] main :is(h1,h2,h3,h4,p,label,summary,figcaption,address,.eyebrow,.hero-copy,.material-hero-copy,.science-copy,.focus-copy,.company-copy,.contact-copy,.process-text,.issue-panel,.finder-help,.finder-status){direction:rtl;text-align:right}
html[dir=rtl] .language-dialog{direction:rtl}
html[dir=rtl] :is(.material-hero-link,.question-link,.arrow-link,.contact-actions,.contact-channels,.technical-support,.process-strip,.form-grid,.guide-layout){direction:rtl}
html[dir=rtl] .material-hero-copy{margin-left:0;margin-right:auto}

/* Vietnamese glyph coverage; same Inter family and variable weights. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/inter-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@media (max-width: 760px) {
  body > header.site-header-brands .logo,
  body > header.site-header-brands .header-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 44px;
  }
  body > header.unified-header {
    padding-block: 6px;
    row-gap: 0;
  }
  body > header.site-header-brands nav.open a {
    min-block-size: 44px;
    align-items: center;
    box-sizing: border-box;
  }
  #enquiry-dialog .enquiry-fields :is(input, select, textarea) {
    font-size: 16px;
  }
}

/* Keep controls and the contact address reachable beside an on-screen keyboard. */
form .form-direct-email { grid-column: 1 / -1; margin-block: .65rem 0; line-height: 1.5; overflow-wrap: anywhere; }
form .form-direct-email a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 650px) {
  :is(#contact-dialog, #contact.contact-panel, #product-enquiry, #enquiry-dialog) { max-height: 94vh; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; }
  :is(#contact-form, #enquiry-form, .enquiry-form) :is(.enquiry-fields, .contact-fields) { grid-template-columns: minmax(0, 1fr); }
  :is(#contact-form, #enquiry-form, .enquiry-form) :is(input:not([type="hidden"]), textarea, select) { max-width: 100%; min-width: 0; font-size: max(16px, 1em); }
  :is(#contact-form, #enquiry-form, .enquiry-form) :is(button[type="submit"], .form-direct-email a) { display: inline-flex; align-items: center; min-height: 44px; }
  header :is(.header-contact, .contact-link, .resource-contact, .bar-contact) { min-height: 44px; }
}

form p.form-direct-email { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .65rem; margin: .65rem 0; }
form p.form-direct-email a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .75rem; border: 1px solid currentColor; border-radius: .25rem; font-weight: 600; }
form p.form-direct-email bdi { font-size: .875rem; }
