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

/* Account search controls share one baseline; company chips sit below the customer category. */
body.signed #userSearchForm{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:end!important;gap:8px}
body.signed #userSearchForm>label{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0!important}
body.signed #userSearchForm input,body.signed #userSearchForm>button{height:42px!important;min-height:42px!important;margin:0!important;box-sizing:border-box}
body.signed #userSearchForm input{width:100%;min-width:0}
body.signed #userSearchForm>button{width:auto!important;white-space:nowrap;padding:8px 14px!important}
.customer-company-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 14px}
body.signed .customer-company-tabs>button{min-height:30px!important;padding:4px 9px!important;font-size:12px;line-height:20px;border-radius:16px;flex:0 0 auto!important;width:auto!important}
@media(max-width:420px){body.signed #userSearchForm{grid-template-columns:1fr 1fr}body.signed #userSearchForm>label{grid-column:1/-1}body.signed #userSearchForm>button{width:100%!important}}
