/*
 * View 样式：admin compact style。
 * 源码：frontend/src/views/styles/020-admin-compact-style.css
 * 依赖：页面 DOM 的既有 class/id；加载位置由 frontend/src/modules.json 决定。
 * 维护：保留选择器作用域及层叠顺序；修改后构建并检查桌面/手机布局。
 */
@media screen and (max-width:850px){
 body.signed main>header>.cloud-controls{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;width:100%!important;max-width:none!important;align-self:stretch!important;flex:0 0 auto!important;justify-content:stretch!important;margin:0!important;box-sizing:border-box}
 body.signed main>header>.cloud-controls>small{grid-column:1;min-width:0}
 body.signed main>header>.cloud-controls>#cloud-refresh{grid-column:2;justify-self:end;margin:0!important}
 body.signed main>header>.cloud-controls>#cloud-logout{grid-column:3;justify-self:end;margin:0!important}
 body.signed .staff-order-card{padding:10px 11px!important;margin:10px 0 0!important;border:1px solid #cbd8d3!important;border-left:3px solid #518577!important;border-radius:9px;background:#f8fbfa;box-shadow:0 1px 3px #173f3309}
 body.signed .staff-order-card h3{margin:0 0 5px!important;font-size:14px;line-height:1.4}
 body.signed .staff-order-card>p{margin:4px 0!important;font-size:12px;line-height:1.4}
 body.signed .staff-order-card .cloud-toolbar{gap:5px;margin:7px 0!important}
 body.signed .staff-order-card .cloud-toolbar>button{flex:1 1 auto;padding:6px 8px!important;min-height:36px!important;font-size:12px;line-height:1.25;border-radius:6px}
 body.signed .staff-order-card>details{margin:4px 0 0!important}
 body.signed .staff-order-card>details>summary{padding:5px 0!important;min-height:30px;line-height:20px;font-size:12px}
 body:is([data-business-role=admin],[data-business-role=system_admin],[data-business-role=japan_dispatch]) .panel>.intro{margin:8px 0!important;font-size:11px;line-height:1.4}
}
