/* Settings and platform context use the same compact toolbar grid as the classic mobile header. */
@media (max-width: 760px) {
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar:has(> .settings-context-header-host) {
   display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto;
   align-items:center;gap:5px;
 }
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar:has(> .settings-context-header-host) > .astra-stable-mobile-brand {grid-area:1/1}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar:has(> .settings-context-header-host) > .top-actions {grid-area:1/3;justify-self:end}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host {
   grid-area:1/2;min-width:0;width:100%;max-width:none;position:static;
 }
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host > .settings-site-context--header {position:static}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-context-toggle {
   display:grid;grid-template-columns:minmax(0,1fr) 12px;gap:4px;width:100%;min-width:0;max-width:none;
   min-height:44px;height:auto;padding:4px 7px;border-radius:12px;text-align:left;
 }
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-context-toggle .agency-mark {display:none}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-context-toggle .space-context-copy {display:grid;min-width:0;gap:0}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-context-toggle .space-context-copy :is(small,strong) {
   display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
 }
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-context-toggle .space-context-copy small {font-size:10px;line-height:13px}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-context-toggle .space-context-copy strong {font-size:12px;line-height:15px}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-context-toggle .space-chevron {display:block;width:12px;height:12px;justify-self:center}
 .brand-shell.astra-stable-mobile-shell > .workspace > .topbar > .settings-context-header-host .settings-site-context--expanded .settings-context-details {
   inset-inline:12px;top:calc(100% + 6px);width:auto;max-width:380px;max-height:calc(100dvh - 88px - env(safe-area-inset-top));
 }
}
