/* Match the search container to the dark theme at every viewport width. */
html[data-theme=dark] .site-header.compact-header #header-search-panel{background:#182d3a;border-color:#314957;color:#e2eef3}
@media(max-width:850px){
/* Arabic mobile: brand on the right, action group on the left. */
html[lang=ar] .site-header.compact-header{direction:rtl}
html[lang=ar] .site-header.compact-header .header-actions{margin-left:0;margin-right:auto}
}
