.sidebar-mobile-menu-fab { display:none; }
.sidebar-mobile-drawer:not([open]) { display:none; }
@media(max-width:767.98px){
  body.sidebar-mobile-page > #sidebar { display:none; }
  .sidebar-mobile-page .topbar { left:0; }
  html.sidebar-mobile-document, body.sidebar-mobile-page { min-width:0; width:100%; max-width:100%; overflow-x:hidden; }
  .sidebar-mobile-page .app-shell { margin-left:0; min-width:0; width:100%; max-width:100vw; overflow-x:auto; }
  .sidebar-mobile-page .sidebar-mobile-menu-fab { position:fixed; left:16px; bottom:calc(16px + env(safe-area-inset-bottom)); z-index:100; display:grid; place-items:center; width:48px; height:48px; min-height:48px; border:0; border-radius:50%; padding:0; background:#1a1d2e; color:#fff; font-size:23px; line-height:1; box-shadow:0 3px 12px #0002; }
  .sidebar-mobile-page.wa-mobile-thread-open #wa-mobile-menu { display:none !important; }
  dialog.sidebar-mobile-drawer { position:fixed; inset:0 auto 0 0; width:min(80vw,280px); max-width:280px; height:100dvh; max-height:100dvh; margin:0; border:0; padding:0; background:#1a1d2e; color:#c9cbd6; overflow:hidden; }
  .sidebar-mobile-drawer::backdrop { background:rgba(8,12,26,.55); }
  .sidebar-mobile-page #wa-mobile-drawer #sidebar.sidebar-modern { display:block; position:absolute; inset:0; width:100%; height:100%; padding-bottom:88px; }
  .sidebar-mobile-drawer .menu-toggle { display:none !important; }
  .sidebar-mobile-page #wa-mobile-drawer #sidebar .menu-items a { min-height:44px; }
  .sidebar-mobile-drawer .wa-drawer-foot { display:grid; gap:4px; border-top:1px solid #2a2e45; margin-top:12px; padding:10px 0; }
  .sidebar-mobile-drawer .wa-drawer-foot a { min-height:44px; }
  .sidebar-mobile-page .sidebar-mobile-drawer .sidebar-mobile-menu-fab { background:#2a2e45; }
  .sidebar-mobile-menu-fab:focus-visible { outline:2px solid #7f77dd;outline-offset:2px; }
}
