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

@media(min-width:851px){
body.signed:is([data-business-role="system_admin"],[data-business-role="admin"],[data-business-role="agency_admin"])>.sidebar{width:160px;padding:20px 10px}
body.signed:is([data-business-role="system_admin"],[data-business-role="admin"],[data-business-role="agency_admin"])>main{margin-left:160px}
body.signed>.sidebar .brand{font-size:17px!important;gap:7px!important}
body.signed>.sidebar .brand .logo{width:30px;height:30px;line-height:30px;border-radius:8px}
body.signed>.sidebar .brand small{font-size:8px;letter-spacing:1px;margin-top:3px}
body.signed>.sidebar .workspace{font-size:10px;margin:26px 8px 12px;line-height:1.5}
body.signed>.sidebar nav button{font-size:16px!important;padding:10px!important}
body.signed>.sidebar .side-bottom{padding-top:12px}
body.signed>.sidebar .side-bottom .help{background:transparent;border-top:1px solid var(--line);border-radius:0;padding:13px 5px 0;font-size:11px;font-weight:500;line-height:1.7}
body.signed>.sidebar .side-bottom .help small{display:block;margin-top:5px;font-size:9px;line-height:1.9;font-weight:400;word-break:keep-all;color:var(--muted)}
body.signed>main>header{height:52px!important;min-height:52px!important;padding:8px 24px!important;gap:12px;align-items:center}
body.signed>main>header #pageTitle{font-size:16px;line-height:1.4}
body.signed>main>header .cloud-controls button{min-height:32px;padding:5px 9px;margin:0}
body.signed>main>.content{padding-top:14px!important}
body.signed #app>.panel:has(>.order-workspace-heading){padding-top:18px}
body.signed .order-workspace-heading{margin-top:0!important;margin-bottom:8px!important;padding-top:0!important;padding-bottom:0!important;min-height:34px;gap:8px}
body.signed .order-workspace-heading h2{margin:0!important;line-height:1.4}
body.signed .order-workspace-heading button{min-height:34px;padding:6px 9px;margin-top:0;margin-bottom:0}
}
