/* Compact bilingual control; stays inside the existing desktop/mobile header slot. */
html body.public-header-layout>.header .language-picker.sic-language-control{display:grid!important;grid-template-columns:18px minmax(0,1fr) 8px;align-items:center;gap:5px;width:104px;max-width:104px;min-width:0;height:40px;box-sizing:border-box;padding:6px 7px!important;margin:0!important;border:1px solid #80d8ef80;border-radius:12px;background:linear-gradient(135deg,#143f66,#11283f 72%);box-shadow:inset 0 1px 0 #b4ecff18,0 0 14px #40b8df12;cursor:pointer;transition:border-color .18s,box-shadow .18s}
html body.public-header-layout>.header .sic-language-control:hover,html body.public-header-layout>.header .sic-language-control:focus-within{border-color:#9cecff;box-shadow:0 0 0 2px #7cdaf222,0 0 16px #57c7e52b}
html body.public-header-layout>.header .sic-language-control select{appearance:none!important;-webkit-appearance:none!important;display:block;min-width:0!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:#f2fbff!important;-webkit-text-fill-color:#f2fbff!important;font-family:'Manrope','Noto Sans Arabic',sans-serif;font-size:12px!important;font-weight:600;line-height:1.3;outline:none;cursor:pointer;text-overflow:ellipsis}
html body.public-header-layout>.header .sic-language-control select option{background:#102d47;color:#fff}
html body.public-header-layout>.header .sic-language-symbol,html body.public-header-layout>.header .sic-language-chevron{display:grid!important;place-items:center;min-width:0;color:#a0e7f8;pointer-events:none}
html body.public-header-layout>.header .sic-language-symbol svg{display:block!important;width:19px!important;height:22px!important;overflow:visible;filter:drop-shadow(0 0 4px #70d8f238)}
html body.public-header-layout>.header .sic-language-chevron svg{display:block!important;width:10px!important;height:10px!important}
@media(max-width:760px){html body.public-header-layout>.header .language-picker.sic-language-control{width:100%!important;max-width:104px!important}}
@media(max-width:380px){html body.public-header-layout>.header .language-picker.sic-language-control{grid-template-columns:14px minmax(0,1fr) 6px;gap:3px;padding:5px!important}html body.public-header-layout>.header .sic-language-control select{font-size:11px!important}html body.public-header-layout>.header .sic-language-symbol svg{width:16px!important;height:19px!important}}
@media(prefers-reduced-motion:reduce){html body.public-header-layout>.header .language-picker.sic-language-control{transition:none}}

html body.public-header-layout>.header .sic-language-enhanced{padding:0!important;position:relative}
html body.public-header-layout>.header .sic-language-enhanced .sic-language-native{display:none!important}
html body.public-header-layout>.header .sic-language-trigger{grid-column:1/-1;display:grid!important;grid-template-columns:18px minmax(0,1fr) 8px;align-items:center;gap:5px;width:100%!important;height:100%!important;min-height:0!important;padding:6px 7px!important;margin:0!important;border:0!important;background:transparent!important;border-radius:11px;box-shadow:none!important;color:#f2fbff!important;-webkit-text-fill-color:#f2fbff!important;font:600 12px/1.3 'Manrope','Noto Sans Arabic',sans-serif!important;cursor:pointer}
html body.public-header-layout>.header .sic-language-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit!important}
body .sic-language-menu[hidden]{display:none!important}
body .sic-language-menu{position:fixed;z-index:2147483000;display:grid;gap:4px;min-width:170px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:7px;background:#102b46;border:1px solid #79d9ed99;border-radius:13px;box-shadow:0 14px 36px #00122366,0 0 0 1px #70cae51a;direction:inherit}
body .sic-language-menu>button{display:flex!important;align-items:center;justify-content:space-between;gap:18px;width:100%!important;min-height:44px;padding:10px 12px!important;border:1px solid transparent!important;border-radius:8px;background:transparent!important;color:#f5fbff!important;-webkit-text-fill-color:#f5fbff!important;font:600 15px/1.5 'Manrope','Noto Sans Arabic',sans-serif!important;letter-spacing:normal!important;text-align:start;white-space:nowrap;cursor:pointer}
body .sic-language-menu>button>span{color:inherit!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
body .sic-language-menu>button:hover,body .sic-language-menu>button:focus-visible,body .sic-language-menu>button[aria-checked=true]{background:#1c4c6b!important;border-color:#70d3eb55!important;outline:none}
body .sic-language-menu .sic-language-check{color:#8ceafa!important;min-width:16px}
@media(max-width:380px){html body.public-header-layout>.header .sic-language-trigger{grid-template-columns:14px minmax(0,1fr) 6px;gap:3px;padding:5px!important;font-size:11px!important}}

body .sic-language-menu{max-height:calc(100vh - 16px);overflow-y:auto}

/* Avoid double padding and inherited oversized span fonts inside the selected-language button. */
html body.public-header-layout>.header .language-picker.sic-language-control.sic-language-enhanced{padding:0!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
html body.public-header-layout>.header .sic-language-trigger{min-width:0!important;letter-spacing:normal!important;text-transform:none!important}
html body.public-header-layout>.header .sic-language-trigger .sic-language-current{display:block;min-width:0;font:inherit!important;letter-spacing:normal!important;line-height:inherit!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
@media(max-width:350px){html body.public-header-layout>.header .sic-language-trigger{grid-template-columns:14px minmax(0,1fr)!important;gap:4px!important}html body.public-header-layout>.header .sic-language-trigger .sic-language-chevron{display:none!important}}

/* The native editor/no-enhancement fallback also keeps the entire option width. */
html body.public-header-layout>.header .language-picker.sic-language-control:not(.sic-language-enhanced){position:relative;display:block!important;padding:0!important}
html body.public-header-layout>.header .sic-language-control:not(.sic-language-enhanced) select{position:relative;width:100%!important;height:100%!important;padding-inline-start:27px!important;padding-inline-end:16px!important;box-sizing:border-box;letter-spacing:normal!important;text-overflow:clip!important}
html body.public-header-layout>.header .sic-language-control:not(.sic-language-enhanced)>.sic-language-symbol{position:absolute;inset-inline-start:7px;top:50%;transform:translateY(-50%);z-index:1}
html body.public-header-layout>.header .sic-language-control:not(.sic-language-enhanced)>.sic-language-chevron{position:absolute;inset-inline-end:7px;top:50%;transform:translateY(-50%);z-index:1}
@media(max-width:350px){html body.public-header-layout>.header .sic-language-control:not(.sic-language-enhanced)>.sic-language-symbol{display:none!important}html body.public-header-layout>.header .sic-language-control:not(.sic-language-enhanced) select{padding-inline-start:6px!important;padding-inline-end:16px!important}}
