/* Mobile controls fit their contents, never stretch to consume spare space. */
@media(max-width:899px){
  html body .account-toolbar .account-tools{flex:0 1 auto;width:max-content;max-width:100%;min-width:0;gap:8px;}
  html body .account-toolbar .account-tools #accountLanguage{flex:0 0 auto;}
  html body .account-toolbar .account-tools #accountLanguage>summary{width:max-content!important;min-width:0!important;max-width:82px;padding:6px!important;gap:4px!important;font-size:12px;}
  html body .account-toolbar .account-tools #accountLanguage .language-flag{width:20px;height:14px;}
  html body .account-toolbar .account-tools #accountIdentitySlot.account-identity-slot{flex:0 1 auto;width:var(--account-identity-width,108px);min-width:0;max-width:calc(100vw - 116px);}
  html body .account-toolbar .account-tools .account-identity-slot #accountMenu>summary{width:100%;min-width:0;padding:6px 10px;gap:8px;}
  html body .account-toolbar .account-tools .account-identity-slot .account-menu-name{flex:0 1 auto;min-width:0;max-width:none;font-size:12px;}
  html body .account-toolbar .account-tools #accountLanguage .language-options{min-width:136px;}
  html #mobileToolbarMenu .account-menu-notification-bell{flex:0 0 20px;width:20px;height:20px;border:0;border-radius:0;background:transparent;color:inherit;}
  html #mobileToolbarMenu .account-menu-notification-bell>[data-notification-count]{top:-15px;left:auto;right:-10px;width:20px;min-width:20px;height:20px;padding:0 0 1px;border-width:1px;font-size:9px;line-height:normal;}
  html[lang=en] #mobileToolbarMenu .account-menu-notification-bell>[data-notification-count]{left:-10px;right:auto;}
  html :is(a,button,input,select,textarea,summary,[tabindex]){-webkit-tap-highlight-color:transparent;}
  /* Keep normal control borders and keyboard focus; suppress touch-only rings,
     including focus restored by native dialogs after the menu closes. */
  html[data-account-input="pointer"] :focus{outline:none!important;box-shadow:none!important;}
}
