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

body.signed #orderDateFilterForm{display:block;padding:10px;margin:10px 0 12px;background:#f8fbfa;border:0;border-radius:10px}
body.signed #orderDateFilterForm .date-filter-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 10px}
body.signed #orderDateFilterForm .order-date-selectors{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);width:100%;max-width:none;margin:0;grid-column:auto;gap:7px}
body.signed #orderDateFilterForm .order-date-selectors>label{font-size:0!important;line-height:0;gap:0!important;margin:0;min-width:0}
body.signed #orderDateFilterForm .order-date-selectors input,body.signed #orderDateFilterForm .order-date-selectors select{height:38px;min-height:38px!important;line-height:20px;margin:0;padding:7px 8px;font-size:13px!important}
body.signed #orderDateFilterForm .date-shortcuts{display:flex;gap:5px;flex-wrap:nowrap;align-self:center}
body.signed #orderDateFilterForm .date-shortcuts button{min-height:34px;height:34px;font-size:12px;padding:6px 10px;margin:0;white-space:nowrap}
body.signed #orderDateFilterForm .date-batch-actions{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:none;gap:7px;border:0;padding:0;margin:0}
body.signed #orderDateFilterForm .date-batch-actions:empty{display:none}
body.signed #orderDateFilterForm .date-batch-actions button{min-height:36px;height:36px;padding:7px 5px;margin:0;font-size:12px;line-height:20px;white-space:nowrap}
body.signed #orderDateFilterForm #orderDateFilterError:empty{display:none}
@media(max-width:600px){
body.signed #orderDateFilterForm .date-filter-fields{grid-template-columns:minmax(0,1fr);gap:7px}
body.signed #orderDateFilterForm .order-date-selectors{grid-column:1/-1}
body.signed #orderDateFilterForm .order-date-selectors input,body.signed #orderDateFilterForm .order-date-selectors select{font-size:16px!important;height:40px;min-height:40px!important}
body.signed #orderDateFilterForm .date-shortcuts{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:7px}
body.signed #orderDateFilterForm .date-shortcuts button{width:100%;min-height:32px;height:32px;padding:5px 8px}
body.signed #orderDateFilterForm .date-batch-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body.signed #orderDateFilterForm .date-batch-actions button{height:38px;min-height:38px;padding:7px 2px;font-size:11px}
}
@media(min-width:851px){body.signed:is([data-business-role="system_admin"],[data-business-role="admin"],[data-business-role="agency_admin"])>.sidebar{width:200px;padding:28px 16px}body.signed:is([data-business-role="system_admin"],[data-business-role="admin"],[data-business-role="agency_admin"])>main{margin-left:200px}body.signed:is([data-business-role="system_admin"],[data-business-role="admin"],[data-business-role="agency_admin"])>.sidebar .brand{font-size:21px;gap:9px}body.signed:is([data-business-role="system_admin"],[data-business-role="admin"],[data-business-role="agency_admin"])>.sidebar nav button{font-size:17px;padding:12px}}