/* Independent foreign candidates only. No rules apply without this body attribute. */
body[data-aic-language-candidate] .header.header.wrap{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto!important;
 grid-template-rows:auto!important;align-items:center!important;justify-content:initial!important;
 gap:12px!important;min-height:78px!important;max-width:1440px!important;
 padding:16px clamp(20px,3vw,48px)!important;
}
body[data-aic-language-candidate] .header.header>.brand{
 grid-area:1/1/2/2!important;justify-self:start!important;inline-size:max-content!important;
 max-inline-size:320px!important;min-width:0!important;gap:8px!important;
 white-space:normal!important;flex:none!important;
}
body[data-aic-language-candidate] .header.header>.brand img{flex:0 0 68px!important;width:68px!important;height:35px!important}
body[data-aic-language-candidate] .header.header>.brand>span{min-width:0!important;max-width:230px!important}
body[data-aic-language-candidate] .header.header>.brand strong{white-space:normal!important;overflow-wrap:normal!important;font-size:13px!important;line-height:1.3!important}
body[data-aic-language-candidate] .header.header>.brand small{white-space:normal!important;overflow-wrap:anywhere!important;letter-spacing:.06em!important;line-height:1.4!important;font-size:9px!important;max-width:30ch!important}
body[data-aic-language-candidate] .header.header>.nav.nav{display:none!important;grid-area:auto!important;order:initial!important;min-width:0!important}
body[data-aic-language-candidate] .header.header>.btn.btn{
 grid-area:1/2/2/3!important;justify-self:end!important;width:auto!important;min-width:0!important;
 max-width:240px!important;white-space:normal!important;overflow-wrap:anywhere!important;
 text-align:center!important;font-size:14px!important;line-height:1.4!important;padding:10px 12px!important;
}
body[data-aic-language-candidate] .header.header>.aic-mobile-nav{display:block!important;grid-area:1/3/2/4!important;position:static!important;justify-self:end!important;width:max-content!important}
body[data-aic-language-candidate] .header.header>.aic-mobile-nav>summary{min-height:44px!important;min-width:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px!important;font-size:14px!important;white-space:nowrap!important}
body[data-aic-language-candidate] .header.header>.aic-mobile-nav>summary>span:first-child{display:inline!important}
body[data-aic-language-candidate] .header.header>.aic-language-picker{display:block!important;grid-area:1/4/2/5!important;justify-self:end!important;min-width:0!important;max-width:180px!important}
body[data-aic-language-candidate] .header.header>.aic-language-picker>summary{min-height:44px;max-width:180px!important;font-size:13px!important}
body[data-aic-language-candidate] .header.header .aic-mobile-panel{
 position:absolute!important;inset-block-start:100%!important;inset-inline:16px!important;
 width:auto!important;max-width:none!important;max-height:65vh!important;overflow:auto!important;
 z-index:1000!important;background:#fff!important;border:1px solid #dce5df!important;
 border-radius:8px!important;box-shadow:0 12px 30px #17382f24!important;
}
body[data-aic-language-candidate] .header.header .aic-mobile-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;padding:16px!important}
body[data-aic-language-candidate] .header.header .aic-mobile-links a{font-size:16px!important;line-height:1.5!important;min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:10px!important;display:flex!important;align-items:center!important}
/* Expanded mode is enabled only after measuring the full translated navigation. */
body[data-aic-language-candidate] .header.header.wrap[data-aic-nav-mode=expanded]{grid-template-columns:auto minmax(0,1fr) auto auto!important}
body[data-aic-language-candidate] .header.header[data-aic-nav-mode=expanded]>.nav.nav{
 display:flex!important;grid-area:1/2/2/3!important;justify-content:center!important;
 flex:none!important;flex-wrap:nowrap!important;gap:14px!important;white-space:nowrap!important;
 width:auto!important;font-size:14px!important;line-height:1.5!important;border:0!important;padding:0!important;
}
body[data-aic-language-candidate] .header.header[data-aic-nav-mode=expanded]>.nav.nav a{white-space:nowrap!important;font-size:14px!important;line-height:1.5!important}
body[data-aic-language-candidate] .header.header[data-aic-nav-mode=expanded]>.btn.btn{grid-area:1/3/2/4!important}
body[data-aic-language-candidate] .header.header[data-aic-nav-mode=expanded]>.aic-mobile-nav{display:none!important}
@media(max-width:800px){
 body[data-aic-language-candidate] .header.header>.brand{max-inline-size:260px!important}
 body[data-aic-language-candidate] .header.header>.btn.btn{max-width:190px!important}
 body[data-aic-language-candidate] .header.header>.aic-mobile-nav>summary>span:first-child{display:none!important}
}
@media(max-width:800px){
 body[data-aic-language-candidate] .header.header.wrap{grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:10px!important;padding:14px 16px!important}
 body[data-aic-language-candidate] .header.header>.brand{grid-area:1/1/2/4!important;max-inline-size:100%!important;inline-size:max-content!important}
 body[data-aic-language-candidate] .header.header>.brand img{width:58px!important;flex-basis:58px!important;height:32px!important}
 body[data-aic-language-candidate] .header.header>.brand>span{max-width:calc(100vw - 114px)!important}
 body[data-aic-language-candidate] .header.header>.brand small{display:block!important;max-width:32ch!important;font-size:8px!important}
 body[data-aic-language-candidate] .header.header>.btn.btn{grid-area:2/2/3/3!important;justify-self:stretch!important;max-width:none!important;min-width:0!important;font-size:12px!important;padding:9px 8px!important}
 body[data-aic-language-candidate] .header.header>.aic-mobile-nav{grid-area:2/1/3/2!important;justify-self:start!important}
 body[data-aic-language-candidate] .header.header>.aic-language-picker{grid-area:2/3/3/4!important;max-width:140px!important}
 body[data-aic-language-candidate] .header.header>.aic-language-picker>summary{gap:6px!important;padding:8px 5px!important;font-size:12px!important}
 body[data-aic-language-candidate] .header.header .aic-mobile-links{grid-template-columns:minmax(0,1fr)!important}
}
/* A language change may wrap text; it must not create horizontal overflow. */
body[data-aic-language-candidate] #buyer-main .proof-grid>*,body[data-aic-language-candidate] #buyer-main .about-office-grid>*{min-width:0!important}
body[data-aic-language-candidate] #buyer-main h1,body[data-aic-language-candidate] #buyer-main h2,body[data-aic-language-candidate] #buyer-main h3,body[data-aic-language-candidate] .aic-simple-footer a{overflow-wrap:anywhere}
