/*
 * View 样式：all mobile portals shared header。
 * 源码：frontend/src/views/styles/083-all-mobile-portals-shared-header.css
 * 依赖：页面 DOM 的既有 class/id；加载位置由 frontend/src/modules.json 决定。
 * 维护：保留选择器作用域及层叠顺序；修改后构建并检查桌面/手机布局。
 */

@media(max-width:850px){
 body.signed>.sidebar{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;padding:12px 14px!important;gap:10px!important;border-right:0;border-bottom:1px solid var(--line)}
 body.signed>.sidebar .compact-workspace-top>.brand{font-size:17px!important;line-height:1.3;gap:9px!important}
 body.signed>.sidebar .compact-workspace-top .logo{width:34px!important;height:34px!important;line-height:34px!important;border-radius:9px}
 body.signed>.sidebar>.side-bottom{display:none!important}
 body.signed:not([data-business-role="customer"])>.sidebar>nav{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;width:100%;min-width:0;margin:0}
 body.signed:not([data-business-role="customer"])>.sidebar>nav>button{min-width:0;width:100%;min-height:42px;padding:9px 2px;margin:0;font-size:12px;line-height:1.4;white-space:nowrap;text-align:center;border-radius:7px}
}
@media(max-width:360px){body.signed>.sidebar .compact-workspace-top>.brand{font-size:14px!important}body.signed>.sidebar .compact-workspace-top .logo{width:29px!important;height:29px!important}}
