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

@media(max-width:850px){
 body.signed .sidebar .compact-workspace-top{display:flex;align-items:center;gap:6px;min-width:0;width:100%}
 body.signed .sidebar .compact-workspace-top .brand{width:auto!important;flex:0 0 auto;padding-right:0!important;margin:0}
 body.signed .sidebar .compact-workspace-top .brand small{display:none}
 body.signed .sidebar .compact-account{min-width:0;flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted)}
 body.signed .sidebar .compact-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:36px;min-height:36px;margin:0;padding:6px;border-radius:7px}
 .compact-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 body.signed>#languageSwitch{position:fixed!important;inset:auto 12px calc(18px + env(safe-area-inset-bottom)) auto!important;z-index:45!important;max-width:64px!important;margin:0!important;padding:1px!important;box-shadow:none}
 body.signed>#languageSwitch button{width:25px;min-width:25px}
 body.signed[data-business-role="customer"]>#languageSwitch{bottom:calc(90px + env(safe-area-inset-bottom))!important}
 body.signed.compact-mobile-workspace>main>header{display:none!important}
 body.signed.compact-mobile-workspace .sidebar>.workspace{display:none}
}
@media(max-width:360px){body.signed .sidebar .compact-workspace-top{gap:4px}.compact-workspace-top .brand{font-size:14px!important}.compact-workspace-top .brand .logo{width:29px!important;height:29px!important}}
