.mobile-menu-button,.mobile-menu-close,.mobile-menu-shade{display:none}
@media(max-width:900px){
body.mobile-menu-open{overflow:hidden}
.mobile-nav-ready .mobile-menu-button,.mobile-nav-ready .mobile-menu-close{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:9px;font-size:13px;font-weight:800;flex-shrink:0}
.mobile-menu-button{background:#2563eb;color:#fff;border:0}.mobile-menu-close{background:#183453;color:white;border:1px solid #355271;margin-bottom:16px}
body.mobile-nav-ready .ops-rail{width:min(320px,88vw)!important;padding:16px!important;transform:translateX(-105%);visibility:hidden;z-index:100010;transition:transform .18s ease,visibility .18s ease;height:100dvh;overscroll-behavior:contain;padding-bottom:max(20px,env(safe-area-inset-bottom))!important}
body.mobile-menu-open .ops-rail{transform:translateX(0);visibility:visible}
.mobile-menu-open .mobile-menu-shade{display:block;position:fixed;inset:0;width:100%;height:100dvh;border:0;border-radius:0;background:rgba(0,0,0,.5);z-index:100009;margin:0;padding:0}
body.mobile-nav-ready .ops-topbar{left:0;padding:0 12px;gap:10px;height:64px}
body.mobile-nav-ready.role-admin main,body.mobile-nav-ready.role-superadmin main,body.mobile-nav-ready.role-vendor.vendor-ops-shell main{width:100%!important;margin-left:0!important;margin-top:64px!important;padding:16px 12px 30px!important;min-width:0}
.mobile-nav-ready .ops-rail .ops-brand-copy,.mobile-nav-ready .ops-rail .ops-workspace-copy,.mobile-nav-ready .ops-rail .ops-user-copy{display:grid!important}
.mobile-nav-ready .ops-rail .ops-workspace-arrow,.mobile-nav-ready .ops-rail .ops-nav-label,.mobile-nav-ready .ops-rail .ops-nav-link>span,.mobile-nav-ready .ops-rail .ops-nav-link em,.mobile-nav-ready .ops-rail .ops-theme-label,.mobile-nav-ready .ops-rail .ops-logout{display:block!important}
.mobile-nav-ready .ops-brand-row{justify-content:flex-start;flex-shrink:0}.mobile-nav-ready .ops-workspace-card{display:grid;grid-template-columns:34px 1fr 18px;justify-content:initial}.mobile-nav-ready .ops-nav-link{display:grid!important;grid-template-columns:28px 1fr auto;justify-content:initial;min-height:46px;padding:8px 10px;font-size:14px;gap:7px}.mobile-nav-ready .ops-more[open]>.ops-more-panel{display:grid!important}.mobile-nav-ready .ops-more-panel a{min-height:44px;display:flex;align-items:center;font-size:13px}.mobile-nav-ready .ops-user-row{display:grid;grid-template-columns:34px 1fr 28px}.mobile-nav-ready .ops-theme-toggle{width:100%!important;min-height:44px;justify-content:flex-start!important;padding:8px!important}.mobile-nav-ready .ops-rail-bottom{align-items:stretch}.mobile-nav-ready .ops-logout{min-height:44px;line-height:44px}.mobile-nav-ready .ops-global-search{width:200px}.mobile-nav-ready .ops-crumbs{flex:1}.mobile-nav-ready .ops-crumbs span,.mobile-nav-ready .ops-crumbs b{display:none}.mobile-nav-ready .ops-top-actions{gap:6px}.mobile-nav-ready .ops-top-icon,.mobile-nav-ready .nc-bell,.mobile-nav-ready .ops-quick-button{min-width:44px;min-height:44px}.mobile-nav-ready .ops-quick-panel a{min-height:44px}
}
@media(max-width:650px){
.mobile-nav-ready .ops-global-search,.mobile-nav-ready .ops-crumbs{display:none}.mobile-nav-ready .ops-topbar{justify-content:space-between}.mobile-nav-ready .ops-quick-button{font-size:11px;padding:0 9px}
body[class*="role-"] main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),body[class*="role-"] main select,body[class*="role-"] main textarea{font-size:16px!important;max-width:100%;min-height:44px}
body[class*="role-"] main button,body[class*="role-"] main a.button{min-height:44px}
body[class*="role-"] main .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.topbar-shell{flex-wrap:wrap}.topbar a{min-height:44px}.topbar input{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){body.mobile-nav-ready .ops-rail{transition:none}}

.mobile-drawer-search{display:none}@media(max-width:900px){.mobile-drawer-search{display:flex;gap:6px;margin-bottom:16px}.mobile-drawer-search>span{display:none}.mobile-drawer-search input{min-width:0;width:100%;font-size:16px!important;min-height:44px}.mobile-drawer-search button{min-height:44px;font-size:11px;padding:8px}}

@media(max-width:900px){
.vendor-dealer-shell.mobile-nav-ready .topbar-shell{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:12px;min-width:0}
.vendor-dealer-shell.mobile-nav-ready .topbar-brand{min-width:0;flex:1}.vendor-dealer-shell.mobile-nav-ready .brand-text{white-space:normal;font-size:13px}
.vendor-dealer-shell.mobile-nav-ready .topbar-search{display:none}
.vendor-dealer-shell.mobile-nav-ready .dealer-mobile-rail{position:fixed;inset:0 auto 0 0;width:min(320px,88vw);height:100dvh;box-sizing:border-box;z-index:100010;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px;padding:18px;background:var(--surface,#fff);overflow-y:auto;visibility:hidden;transform:translateX(-105%);transition:transform .18s ease}
.vendor-dealer-shell.mobile-menu-open .dealer-mobile-rail{visibility:visible;transform:translateX(0)}
.vendor-dealer-shell .dealer-mobile-rail .nav-pill{display:flex;min-height:44px;justify-content:flex-start;color:var(--text,#0f172a);white-space:normal}
.vendor-dealer-shell .dealer-mobile-rail .nav-pill-primary{color:#fff}
.vendor-dealer-shell .dealer-mobile-rail .account-menu-panel{position:static;width:100%;min-width:0}
.vendor-dealer-shell .dealer-mobile-rail .account-label{display:inline}
.vendor-dealer-shell .dealer-mobile-rail .mobile-drawer-search{display:flex;gap:6px}.vendor-dealer-shell .dealer-mobile-rail .mobile-drawer-search input{min-width:0;width:100%}
}
