/* One consistent language control; changing language never mirrors the shell. */
.mya-language-picker{position:relative;display:inline-flex!important;flex:none;direction:ltr;margin:0;color:#24483b;font-size:12px;line-height:1.4}
.mya-language-picker .mya-language-trigger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;width:132px;min-height:40px;margin:0;padding:9px 11px;border:1px solid #b7c7bb;border-radius:5px;background:#fff;color:#24483b;font:inherit;line-height:20px;white-space:nowrap;cursor:pointer;box-shadow:none}
.mya-language-picker .mya-language-trigger:hover,.mya-language-picker .mya-language-trigger[aria-expanded=true]{border-color:#64836c;background:#f2f6ef}
.mya-language-picker .mya-language-trigger:focus-visible{outline:2px solid #688872;outline-offset:3px}
.mya-language-trigger>svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mya-language-trigger [data-language-name]{flex:1;text-align:left;letter-spacing:0}
.mya-language-trigger>.mya-language-chevron{width:12px;height:12px;margin-left:auto;transition:transform .15s}
.mya-language-trigger[aria-expanded=true]>.mya-language-chevron{transform:rotate(180deg)}
.mya-language-picker .mya-language-menu{position:absolute;z-index:1200;top:calc(100% + 4px);left:0;right:0;box-sizing:border-box;width:100%;max-width:calc(100vw - 28px);padding:4px;border:1px solid #d5dfd3;border-radius:0;background:#fff;box-shadow:0 10px 28px #173e3424}
.mya-language-picker .mya-language-menu[hidden]{display:none!important}
.mya-language-menu [data-language-option]{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%;min-height:36px;margin:0;padding:8px 7px;border:0;border-radius:4px;background:transparent;color:#375446;font:inherit;font-size:13px;line-height:20px;letter-spacing:0;text-align:left;cursor:pointer}
.mya-language-menu [data-language-option]:hover,.mya-language-menu [data-language-option]:focus{outline:0;background:#f0f4eb;color:#193f36}
.mya-language-menu [aria-checked=true]{background:#eaf1e4;color:#193f36;font-weight:600}
.mya-language-menu .mya-language-check{visibility:hidden;color:#476e4a;font-size:14px}
.mya-language-menu [aria-checked=true] .mya-language-check{visibility:visible}
[data-front-language-replaced]{display:none!important}
html[lang=de] .links,html[lang=fr] .links,html[lang=es] .links{gap:clamp(9px,1.2vw,24px)}
html[lang=ar] body{font-family:Tahoma,'Segoe UI',Arial,sans-serif}
html[lang=ar] :is(h1,h2,h3,.eyebrow,.bar,.carrier-name){letter-spacing:normal}
html[lang=ar] :is(h1,h2,h3,h4,p,dt,dd,legend,figcaption):not(:where(.awb-sheet *,.awb-page *,.air-waybill-sheet *,.quote-document *,.quotation-sheet *,[translate=no] *)){direction:rtl;unicode-bidi:plaintext}
html[lang=ar] .hero h1{width:min(100%,620px);font-size:clamp(44px,5.6vw,80px);line-height:1.25}
html[lang=ar] :is(input[type=email],input[type=tel],input[type=number],input[type=date],input[role=combobox],.route-line,.flight-numbers,.flight-route,.mya-airport-option>b,.air-waybill-sheet,.awb-sheet,.awb-page){direction:ltr;unicode-bidi:isolate}
html[lang=ar] .mya-language-picker{direction:ltr}
@media(max-width:1100px){.navin .actions{gap:9px}.mya-language-picker .mya-language-trigger{width:120px;font-size:12px;gap:7px}}
@media(max-width:760px){.top-right{flex-wrap:wrap;gap:8px}}
/* Three equal controls share one size at each breakpoint, in every language. */
.nav.nav-clean{--account-width:120px;--account-height:36px}
.nav.nav-clean .actions{gap:10px}
.nav.nav-clean .actions #staff-login,.nav.nav-clean .actions #portal-login,.nav.nav-clean .actions .mya-language-trigger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--account-width);height:var(--account-height);min-height:var(--account-height);margin:0;padding:5px 10px;border-radius:0;font-size:12px;line-height:1.2;gap:8px;text-align:center}
.nav.nav-clean .actions #staff-login>span,.nav.nav-clean .actions #portal-login>span:not([aria-hidden]){white-space:normal;overflow-wrap:normal}
.nav.nav-clean .actions .mya-language-picker{width:var(--account-width)}
.nav.nav-clean .actions .mya-language-trigger{width:100%;border-color:#8a9f91;background:transparent;color:#183e38}
.nav.nav-clean .actions .mya-language-trigger:hover,.nav.nav-clean .actions .mya-language-trigger[aria-expanded=true]{background:#edf2e9;border-color:#52705d}
@media(min-width:601px) and (max-width:1100px){
 .nav.nav-clean{--account-width:120px}
 .nav.nav-clean .navin{grid-template-columns:112px minmax(0,1fr);grid-template-areas:"brand account";height:82px;gap:16px}
 .nav.nav-clean .menu{display:block;width:28px;min-height:40px;font-size:23px;padding:5px 0}
 .nav.nav-clean #nav.links,.nav.nav-clean #nav.links.open{grid-area:auto;position:absolute;display:none;top:100%;left:0;right:0;width:100%;max-height:calc(100svh - 85px);overflow-y:auto;margin:0;padding:16px 24px;background:#fff;border-top:1px solid #e4e9e0;box-shadow:0 14px 24px #173b3812}
 .nav.nav-clean #nav.links.open{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .nav.nav-clean #nav.links>a,.nav.nav-clean #nav.links summary{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #e4e9e0;font-size:14px}
 .nav.nav-clean .header-dropdown{position:static;width:100%;box-shadow:none;border:0;padding:4px 8px 10px;background:#f5f7f0}
}
@media(min-width:601px) and (max-width:760px){.nav.nav-clean{--account-width:120px}.nav.nav-clean .actions{gap:8px}}
@media(max-width:600px){
 .nav.nav-clean{--account-width:100%;--account-height:44px}
 .nav.nav-clean .navin{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"brand brand menu" "staff client language";height:auto;min-height:108px;gap:10px 8px;padding:12px 16px}
 .nav.nav-clean .navin>a{grid-area:brand;justify-self:start}
 .nav.nav-clean .actions{display:contents}
 .nav.nav-clean .mya-language-picker{grid-area:language;justify-self:stretch;min-width:0}
 .nav.nav-clean #staff-login{grid-area:staff;justify-self:stretch}
 .nav.nav-clean #portal-login{grid-area:client;justify-self:stretch}
 .nav.nav-clean .menu{grid-area:menu;justify-self:end;display:block;min-height:30px;margin-left:auto}
 .nav.nav-clean .actions #staff-login,.nav.nav-clean .actions #portal-login,.nav.nav-clean .actions .mya-language-trigger{padding:5px 6px;gap:4px;font-size:11px}
 .nav.nav-clean .mya-language-trigger>svg{width:15px;height:15px}
 .nav.nav-clean .mya-language-trigger>.mya-language-chevron{width:10px;height:10px}
 .nav.nav-clean #nav.links{top:100%}
}
@media print{.mya-language-picker{display:none!important}}
