/* Order reading: compact controls, generous table space; no shared page overrides. */
.page-orders>.page-head,.store-content.page-orders>.page-head{margin-bottom:8px;min-height:0;align-items:center}
.page-orders>.page-head h1{font-size:23px;line-height:1.3}
.page-orders>.page-head p:empty{display:none}
.page-orders>.filters,.store-content.page-orders>.filters{gap:6px 10px;padding-bottom:8px;margin-bottom:8px;align-items:center}
.page-orders>.filters>.tabs .btn,.store-content.page-orders>.filters>.tabs .btn{min-height:32px;padding:4px 11px;font-size:13px}
.page-orders>.filters>.tabs .btn,.store-content.page-orders>.filters>.tabs .btn{white-space:nowrap}
.page-orders .query-range-scope,.store-content.page-orders .query-range-scope{flex:1 1 300px;gap:4px 10px;justify-content:flex-end;font-size:12px}
.page-orders>.filters>.query-date-field,.store-content.page-orders>.filters>.query-date-field{flex:0 1 190px}
.page-orders>.filters>.query-date-field>input,.store-content.page-orders>.filters>.query-date-field>input{min-width:130px}
.page-orders>.filters>.filter-refinements,.store-content.page-orders>.filters>.filter-refinements{flex:1 1 100%;width:100%;max-width:100%}
.page-orders .filter-fields,.store-content.page-orders .filter-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px 12px;align-items:center}
.page-orders .filter-fields>.field,.store-content.page-orders .filter-fields>.field{flex:1 1 130px;flex-direction:row;align-items:center;gap:6px;min-width:0;font-size:12px;white-space:nowrap}
.page-orders .filter-fields>.field.search,.store-content.page-orders .filter-fields>.field.search{flex:1.4 1 190px;grid-column:auto}
.page-orders .filter-fields>.field>select,.page-orders .filter-fields>.field>input,.store-content.page-orders .filter-fields>.field>select,.store-content.page-orders .filter-fields>.field>input{min-height:32px;height:32px;width:100%;min-width:0;flex:1 1 0;font-size:13px;padding:4px 8px}
.page-orders .filter-fields>.btn,.store-content.page-orders .filter-fields>.btn{min-height:32px;align-self:center;justify-self:start;padding:4px 10px}
.page-orders>.panel>.panel-head,.store-content.page-orders>.panel>.panel-head{padding:9px 14px 8px;min-height:0;gap:8px}
.page-orders>.panel>.panel-head h2{font-size:15px;line-height:1.4}
.page-orders>.panel .table-wrap,.store-content.page-orders>.panel .table-wrap{max-height:calc(100dvh - 280px);min-height:220px}
.page-orders>.panel th,.page-orders>.panel td,.store-content.page-orders>.panel th,.store-content.page-orders>.panel td{padding:7px 11px;line-height:1.35;font-size:13px}
.page-orders>.panel th,.store-content.page-orders>.panel th{font-size:12px}
.page-orders>.panel td small,.store-content.page-orders>.panel td small{margin-top:2px;line-height:1.3;font-size:11px}
.store-content.page-orders>.panel td:nth-child(4){line-height:1.45}
.page-orders>.panel td:last-child>.btn,.store-content.page-orders>.panel td:last-child>.btn{min-height:30px;padding:4px 7px}
.page-orders .pagination,.store-content.page-orders .pagination{padding:7px 14px;min-height:0;font-size:12px}
@media(max-width:1200px){
 .page-orders .filter-fields,.store-content.page-orders .filter-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:960px){
 .page-orders .query-range-scope,.store-content.page-orders .query-range-scope{flex-basis:100%;justify-content:flex-start}
 .page-orders .filter-fields,.store-content.page-orders .filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
 .page-orders>.panel .table-wrap,.store-content.page-orders>.panel .table-wrap{max-height:calc(100dvh - 335px)}
}
@media(max-width:740px){
 .page-orders>.page-head,.store-content.page-orders>.page-head{align-items:flex-start}
 .page-orders .filter-fields,.store-content.page-orders .filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-orders .filter-fields>.field,.store-content.page-orders .filter-fields>.field{flex-direction:column;align-items:stretch;white-space:normal}
 .page-orders .filter-fields>.field.search,.store-content.page-orders .filter-fields>.field.search{grid-column:1/-1}
 .page-orders>.filters>.query-date-field,.store-content.page-orders>.filters>.query-date-field{flex:1 1 calc(50% - 14px)}
 .page-orders>.filters>.query-date-field>input,.store-content.page-orders>.filters>.query-date-field>input{min-width:0}
 .page-orders>.filters>.tabs .btn,.store-content.page-orders>.filters>.tabs .btn{min-height:44px}
 .page-orders .filter-fields>.field>select,.page-orders .filter-fields>.field>input,.store-content.page-orders .filter-fields>.field>select,.store-content.page-orders .filter-fields>.field>input{min-height:44px;height:44px;font-size:16px}
 .page-orders .filter-fields>.btn,.store-content.page-orders .filter-fields>.btn,.store-content.page-orders>.panel td:last-child>.btn{min-height:44px}
 .page-orders>.panel .table-wrap,.store-content.page-orders>.panel .table-wrap{max-height:60dvh}
 .page-orders>.panel th,.page-orders>.panel td,.store-content.page-orders>.panel th,.store-content.page-orders>.panel td{padding:8px 10px}
}
