.mobile-menu-close,.mobile-menu-backdrop{display:none}
@media(max-width:900px){
 html body .shell{margin-left:0!important;width:100%!important;max-width:100%!important;min-width:0!important}
 html body #mainSidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(310px,86vw)!important;max-width:86vw!important;height:100vh!important;height:100dvh!important;z-index:1101!important;transform:translateX(-105%)!important;visibility:hidden;overflow:hidden!important;padding:14px!important;box-sizing:border-box}
 html body.menu-open #mainSidebar{transform:translateX(0)!important;visibility:visible}
 body.menu-open{overflow:hidden}
 html body .mobile-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:1100;background:#08132599;border:0;border-radius:0;padding:0;width:100%;height:100%;backdrop-filter:blur(2px)}
 html body #mobileMenuClose{display:block;position:absolute;right:8px;top:7px;width:40px;height:40px;padding:0;z-index:2;font-size:25px;border-radius:12px;cursor:pointer}
 html body #mainSidebar .logo{padding:8px 32px 14px 0!important;min-height:70px!important;gap:8px!important}
 html body #mainSidebar .logo::before{display:none!important}
 html body #mainSidebar .company-logo{width:40px!important;height:40px!important;flex:0 0 40px!important}
 html body #mainSidebar .brand-copy{font-size:17px!important}
 html body #mainSidebar .brand-copy small{font-size:10px!important}
 html body #mainSidebar .sidebar-nav-wrap{min-height:0!important;overflow:hidden!important}
 html body #mainSidebar nav{overflow-y:auto!important;min-height:0!important;padding-bottom:24px!important;overscroll-behavior:contain}
 html body #mainSidebar nav a{min-height:46px!important;padding:9px 10px!important;gap:10px!important;font-size:14px!important;white-space:normal!important}
 html body #mainSidebar .nav-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;font-size:19px!important}
 html body #mainSidebar .nav-label{display:block!important;overflow-wrap:anywhere}
 html body .topbar{position:sticky!important;top:0;z-index:100;display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px 12px!important;height:auto!important;min-height:56px!important;max-width:100%;box-sizing:border-box}
 html body .topbar .menu-btn{display:block!important;flex:0 0 40px;width:40px;height:40px;margin:0!important;padding:0!important;font-size:22px!important}
 html body .topbar>div:not(.userbox){flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere}
 html body .topbar>div>small{font-size:10px!important}
 html body .topbar .userbox{display:flex!important;flex:0 0 100%;justify-content:flex-end;align-items:center;gap:7px!important;min-width:0;flex-wrap:wrap}
 html body .topbar .userbox>small{display:none}
 html body .topbar .userbox button{padding:7px 10px!important;min-height:36px;font-size:12px!important;white-space:nowrap!important;word-break:normal!important}
 html body .topbar .userbox form{margin:0!important}
 html body .shell>main{padding:14px 12px 100px!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
 html body .shell>main>*,html body .shell .panel{min-width:0;max-width:100%;box-sizing:border-box}
 html body .table-wrap{max-width:100%;overflow-x:auto}
 html body #globalChatToastStack{display:none!important}
 html body #globalChatDock{right:12px!important;bottom:calc(76px + env(safe-area-inset-bottom))!important;z-index:500!important}
 html body #v31Copilot{right:12px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;z-index:500!important}
 html body #globalChatFab,html body .v31-copilot-fab{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;border-radius:50%!important;font-size:22px!important}
 html body #globalChatPanel,html body #v31Copilot #v31CopilotPanel{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:calc(138px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;height:auto!important;max-height:calc(100vh - 170px)!important;max-height:calc(100dvh - 170px)!important;overflow-y:auto!important;box-sizing:border-box}
 html body #v31Copilot #v31CopilotPanel{bottom:calc(76px + env(safe-area-inset-bottom))!important}
 html body .global-chat-alert{min-width:0!important;width:100%!important;box-sizing:border-box;overflow-wrap:anywhere}
 html body .global-chat-alert>span{min-width:0}
 html body .global-chat-modern-head{flex-wrap:wrap;gap:8px;padding:12px!important}
 html body .global-chat-head-actions{margin-left:auto}
 html body .global-chat-head-actions button{min-width:36px;min-height:36px}
 html body.menu-open #globalChatDock,html body.menu-open #v31Copilot{visibility:hidden}
}
