/* FIX10.1: mobile navigation is independent of desktop sidebar state. */
.mobile-menu-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;padding-left:4px;gap:12px}.mobile-menu-heading>b{font-size:18px;color:var(--text)}.mobile-menu-heading>button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft);color:var(--text);cursor:pointer}.mobile-menu-heading svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round}
@media(max-width:820px){
 body .mobile-tabbar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:2px;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));box-sizing:border-box;min-height:68px;backdrop-filter:none;background:var(--surface)}
 body .mobile-tabbar>.tab-item{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:none!important;width:100%!important;min-width:0!important;min-height:54px!important;margin:0!important;padding:6px 0!important;text-align:center!important;box-sizing:border-box;overflow:hidden}
 body .mobile-tabbar>.tab-item>.nav-ico{display:grid!important;place-items:center!important;flex:0 0 24px!important;width:24px!important;min-width:24px!important;height:24px!important;margin:0!important;padding:0!important;line-height:1!important}
 body .mobile-tabbar>.tab-item>.nav-ico svg{display:block;width:20px!important;height:20px!important;margin:0;flex:none}
 body .mobile-tabbar>.tab-item>b{display:block!important;opacity:1!important;visibility:visible!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;font-size:11px!important;line-height:16px!important;font-weight:600!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;pointer-events:none}
 body .mobile-sheet.open{max-height:calc(100dvh - 16px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:10px max(14px,env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));animation:none}
 body .mobile-sheet .sheet-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch;gap:8px!important}
 body .mobile-sheet .sheet-grid>.sheet-item{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;min-width:0!important;width:100%!important;min-height:92px!important;margin:0!important;padding:12px 6px!important;text-align:center!important;box-sizing:border-box}
 body .mobile-sheet .sheet-item>.nav-ico{display:grid!important;place-items:center!important;flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:28px!important;margin:0!important;padding:0!important}
 body .mobile-sheet .sheet-item>.nav-ico svg{display:block;width:22px!important;height:22px!important;margin:0}
 body .mobile-sheet .sheet-item>b{display:block!important;opacity:1!important;visibility:visible!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;font-size:13px!important;line-height:18px!important;font-weight:600!important;white-space:normal!important;overflow-wrap:anywhere;text-align:center!important;overflow:visible!important;pointer-events:none}
 body .mobile-sheet .sheet-item.active{border-color:var(--primary)!important;color:var(--primary-strong)!important;background:var(--primary-soft)!important}
 body.mobile-menu-open{overflow:hidden}body.mobile-menu-open .chat-launch,body.mobile-menu-open .chat-restore{visibility:hidden!important;pointer-events:none!important}
 .mobile-tabbar button:focus-visible,.mobile-sheet button:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
}

@media(max-width:820px){body .mobile-sheet .sheet-item>b{min-height:36px!important}}
