/* Three native menus share the existing drawer controller, routes and badges. */
/* display:none removes the inactive group from layout, focus and accessibility. */
@media(min-width:901px){
 html body[data-panels123] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]{display:none!important}
}
@media(max-width:900px){
 html body[data-panels123] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="pc_left"]{display:none!important}

 /* Home122 used the bottom-menu density for both menus. The new drawer owns it. */
 html body[data-panels123][data-panel-phone-drawer-density="compact"]>#r44Sidebar nav{gap:1px}
 html body[data-panels123][data-panel-phone-drawer-density="compact"]>#r44Sidebar nav>a{
  min-height:44px;padding:9px 10px!important;gap:9px;font-size:13px;line-height:1.45;
 }
 html body[data-panels123][data-panel-mobile-density="compact"][data-panel-phone-drawer-density="comfortable"]>#r44Sidebar nav{gap:3px}
 html body[data-panels123][data-panel-mobile-density="compact"][data-panel-phone-drawer-density="comfortable"]>#r44Sidebar nav>a{
  min-height:45px;padding:10px 12px!important;gap:11px;font-size:14px;line-height:inherit;
 }
 html body[data-panels123]:not(.ref44-nav)[data-panel-phone-drawer-density="compact"] #appShellMenu .app-shell-list{gap:4px!important}
 html body[data-panels123]:not(.ref44-nav)[data-panel-phone-drawer-density="compact"] #appShellMenu .app-shell-list>a{
  min-height:44px;padding:9px 10px!important;gap:9px;
 }
 html body[data-panels123]:not(.ref44-nav)[data-panel-phone-drawer-density="compact"] #appShellMenu .app-shell-list>a>b{font-size:13px}
 html body[data-panels123]:not(.ref44-nav)[data-panel-mobile-density="compact"][data-panel-phone-drawer-density="comfortable"] #appShellMenu .app-shell-list{gap:8px!important}
 html body[data-panels123]:not(.ref44-nav)[data-panel-mobile-density="compact"][data-panel-phone-drawer-density="comfortable"] #appShellMenu .app-shell-list>a{
  min-height:48px;padding:12px!important;gap:11px;
 }
 html body[data-panels123]:not(.ref44-nav)[data-panel-mobile-density="compact"][data-panel-phone-drawer-density="comfortable"] #appShellMenu .app-shell-list>a>b{font-size:14px}

 /* Keep the full drawer width and its named close/language controls. */
 html body[data-panels123][data-panel-phone-drawer-labels="icons"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:8px!important;
 }
 html body[data-panels123][data-panel-phone-drawer-labels="icons"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]>a{
  position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center!important;
  width:100%!important;min-width:44px;min-height:56px;gap:0!important;padding:12px 4px!important;margin:0!important;
 }
 html body[data-panels123][data-panel-phone-drawer-labels="icons"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]>a>[data-nav-label]{
  position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;max-width:1px!important;
  margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;border:0!important;
 }
 html body[data-panels123][data-panel-phone-drawer-labels="icons"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]>a>svg{
  width:24px!important;height:24px!important;flex:0 0 24px;
 }
 html body[data-panels123][data-panel-phone-drawer-labels="icons"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]>a>[data-nav-icon]{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;font-size:24px;line-height:1;
 }
 html body[data-panels123][data-panel-phone-drawer-labels="icons"] #appShellMenu>[data-panel123-menu="phone_left"]>a>strong{display:none!important}
 html body[data-panels123][data-panel-phone-drawer-labels="icons"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]>a>:is(i,.nav-badge,.app-menu-count){
  position:absolute!important;left:auto!important;right:2px!important;top:2px!important;max-width:34px;min-width:16px;
  margin:0!important;padding:1px 4px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;
 }
 html body[data-panels123][data-panel-phone-drawer-labels="icons"][data-panel-phone-drawer-density="compact"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]{
  gap:4px!important;
 }
 html body[data-panels123][data-panel-phone-drawer-labels="icons"][data-panel-phone-drawer-density="compact"] :is(#r44Sidebar,#appShellMenu)>[data-panel123-menu="phone_left"]>a{
  min-height:48px;padding:9px 4px!important;
 }
}
