.reports-workspace { min-width:0; display:grid; gap:18px; }
.reports-workspace > h2, .report-heading h2 { margin:0; font-size:1.25rem; }
.reports-workspace > div:empty { display:none; }
.reports-workspace .note { background:transparent; padding:0; border:0; }
.report-filters { padding-block:6px 18px; border-bottom:1px solid var(--line); }
.report-filters fieldset { border:0; padding:0; margin:0; display:flex; align-items:end; flex-wrap:wrap; gap:14px; min-width:0; }
.report-filters .field { min-width:0; max-width:25rem; }
.report-filter-pair { display:flex; gap:14px; flex-wrap:wrap; min-width:0; }
.report-filter-pair .field { flex:1; min-width:10rem; }
.report-filters .note { margin-bottom:0; max-width:72ch; }
.report-heading, .report-actions, .report-pagination { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.report-heading { justify-content:space-between; margin-bottom:12px; }
.report-result { min-width:0; }
.report-result > .note, .report-warning { max-width:75ch; line-height:1.55; margin-block:6px; }
.report-result > .table-wrap { margin-top:18px; }
.report-totals { margin-block:18px; max-width:700px; min-width:0; }
.report-totals > summary { cursor:pointer; font-weight:600; padding-block:8px; }
.report-totals .table-wrap { margin-top:8px; }
.report-method { max-width:75ch; margin-block:12px; }
.report-method > summary { cursor:pointer; color:var(--muted); padding-block:6px; }
.report-method .note { line-height:1.55; }
.report-filters select { max-width:100%; }
.report-warning { padding:12px 14px; border:1px solid var(--line); border-radius:8px; font-weight:500; }
.report-table { font-variant-numeric:tabular-nums; }
.report-table td { vertical-align:top; }
.report-table a { font-size:inherit; white-space:nowrap; }
.report-pagination { margin-top:18px; justify-content:flex-end; }
.report-empty { padding-block:30px; }
.report-print { display:none; }
@media (max-width:700px) {
  .report-filters fieldset, .report-filter-pair { flex-direction:column; align-items:stretch; width:100%; }
  .report-filters .field { max-width:none; }
  .report-actions { width:100%; flex-direction:column; align-items:stretch; }
  .report-actions button { flex:1; }
  .report-pagination { justify-content:flex-start; }
}
@media print {
  @page shop-report { size:A4 landscape; margin:10mm; }
  body.printing-shop-reports > :not(.report-print) { display:none !important; }
  body.printing-shop-reports { display:block; margin:0; color:#111; background:#fff; }
  .report-print { display:block; font-size:9pt; page:shop-report; }
  .report-print h1 { font-size:16pt; margin:0 0 8pt; }
  .report-print p { margin:4pt 0; }
  .report-print .table-wrap { overflow:visible; max-width:none; }
  .report-print table { font-size:7.5pt; table-layout:fixed; min-width:0; width:100%; }
  .report-print th, .report-print td { padding:3pt; overflow-wrap:anywhere; white-space:normal; }
  .report-print thead { display:table-header-group; }
  .report-print tr { break-inside:avoid; }
}
