/* One left-aligned mobile bar: maximize the existing logo, keep actions beside it. */
@media(max-width:640px){
 html:root[lang] .nav>.wrap{flex-wrap:nowrap;gap:4px;padding:6px 8px;min-height:80px}
 html:root[lang] .nav .brand,html:root[lang] .nav .brand:has(.localized-brand-logo){flex:1 1 auto;width:auto;max-width:none;min-width:0;margin:0;align-items:flex-start}
 html:root[lang] .nav .brand:has(.localized-brand-logo) picture{display:block;width:100%;max-width:none}
 html:root[lang] .nav .brand .localized-brand-logo{display:block;width:100%;max-width:none;height:auto;object-position:left center}
 html:root[lang] .nav-right{flex:0 0 auto;width:auto;gap:4px;margin:0}
 html:root[lang] .nav-right .header-actions{display:flex!important;flex:0 0 auto;width:auto;gap:4px;margin:0}
 html:root[lang] .nav-right .header-actions>a{flex:0 0 auto!important;width:auto;min-height:44px!important;font-size:13px!important;padding:8px 5px!important;box-sizing:border-box;white-space:nowrap!important;word-break:normal;overflow-wrap:normal}
 html:root[lang] .nav .hamburger{flex:0 0 28px;width:28px;min-width:28px;height:44px;padding-inline:2px}
 html:root[lang] .nav .ar-brand{gap:2px;padding:0;text-align:right}
 html:root[lang] .nav .ar-brand-name{font-size:16px;line-height:1.25}
 html:root[lang] .nav .ar-brand-domain{font-size:13px;line-height:1.3}
 html:root[lang] .nav .pl-brand-description{display:none}
 html:root[lang="ru"] .nav-right .header-actions>a{font-size:11px!important;padding-inline:3px!important}
}

/* Owner spacing refinement: retain the current identity size and emphasize actions. */
@media(max-width:640px){
 html:root[lang] .nav>.wrap{padding-inline:0;gap:6px}
 html:root[lang] .nav-right,html:root[lang] .nav-right .header-actions{gap:6px}
 html:root[lang] .nav-right .header-actions>a{min-width:44px;padding-inline:6px!important;font-weight:750!important;border-width:2px}
 html:root[lang="en"] .nav-right .header-actions>a{font-size:14px!important}
 html:root[lang] .nav-right .header-actions>a:first-child{background:#d6eae7!important;color:#173d3a!important;border-color:#d6eae7!important}
 html:root[lang] .nav-right .header-actions>a:nth-child(2){background:#a4d9cf!important;color:#102f2c!important;border-color:#a4d9cf!important}
}
