.report-filters{display:grid;grid-template-columns:repeat(5,minmax(125px,1fr)) auto;align-items:end;gap:12px;padding:16px;margin-bottom:10px}
.report-filters .field{gap:5px}
.report-filters .field>span{font-size:11px}
.report-filters select,.report-filters input{padding:8px;font-size:12px}
.report-filters>.btn{white-space:nowrap}
.reports-page>.page-head{align-items:flex-start;flex-wrap:wrap}
.report-presets{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff}
.reports-page .report-presets{flex-wrap:wrap;max-width:100%}
.report-presets button{min-height:32px;padding:5px 10px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:750}
.report-presets button[aria-pressed="true"]{background:var(--soft);color:var(--blue)}
.report-presets button:hover{background:#f1f6fa;color:var(--blue)}
.report-caption{margin:0 0 16px;color:var(--muted);font-size:11px}
.report-error{margin:12px 0;padding:12px 14px;border:1px solid #f0c9b8;border-radius:10px;background:#fff7f2;color:var(--bad)}
.report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:16px}
.report-summary .stat{padding:13px 15px}
.report-summary .stat>strong{font-size:29px}
.report-panel .panel-head p{max-width:690px}
.report-table{min-width:910px}
.report-table th,.report-table td{padding:12px 11px}
.report-table tbody th{border-top:1px solid var(--line);background:#fff;font-size:12px;color:var(--navy)}
.report-manager{padding:0;border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:800;text-align:left}
.report-manager:hover{text-decoration:underline;text-underline-offset:3px}
.report-manager:disabled{color:var(--navy);cursor:default;text-decoration:none}
.report-table tbody th small,.report-table td small{display:block;margin-top:3px;font-size:10px;color:var(--muted);font-weight:550}
.report-table tbody td{white-space:nowrap}
.report-total{font-weight:800;background:#f4f8fa}
.report-total th,.report-total td{border-top:2px solid #cbdce5!important}
.report-details{min-width:108px}
.report-details summary{display:flex;align-items:center;gap:5px;color:var(--blue);font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.report-details[open]{position:relative;min-width:260px;max-width:min(480px,55vw);padding-bottom:5px}
.report-details[open] summary{margin-bottom:8px}
.report-order{display:flex;align-items:center;gap:9px;width:100%;min-width:0;padding:8px 6px;border:0;border-top:1px solid #e8edf1;background:#fff;text-align:left}
.report-order:hover{background:#f3f8fb}
.report-order>span:first-child{display:grid;min-width:0;flex:1}
.report-order strong,.report-order small,.report-order-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.report-order strong{font-size:11px}
.report-order small,.report-order-date{font-size:10px;color:var(--muted)}
.report-order-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.report-order-status,.report-payment{max-width:140px;padding:3px 7px;border-radius:16px;background:var(--soft);color:var(--blue);font-size:9px}
.report-payment{background:#edf0f2;color:#4d6471}
.report-empty{padding:7px 0;color:var(--muted);font-size:11px}
@media(max-width:1000px){.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.report-filters>.btn{justify-self:start}.report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .reports-page>.page-head{align-items:flex-start;gap:10px;margin-bottom:16px}
 .reports-page>.page-head h1{font-size:clamp(25px,7vw,34px)}
 .report-presets{width:100%;justify-content:flex-start}
 .report-presets button{flex:1 1 auto;padding-inline:8px}
 .report-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}
 .report-filters .field{min-width:0}
 .report-filters .field>span{font-size:10px}
 .report-filters input,.report-filters select{padding:8px 6px;font-size:11px}
 .report-filters>.field:first-child{grid-column:1/-1}
 .report-filters>.btn{grid-column:1/-1;justify-self:stretch;width:100%}
 .report-caption{margin-bottom:12px;font-size:10px;line-height:1.45}
 .report-summary{gap:8px;margin-bottom:12px}
 .report-summary .stat{padding:10px}
 .report-summary .stat>strong{font-size:25px}
 .report-summary .stat>span{font-size:11px}
 .report-panel .panel-head{padding:14px 13px 10px}
 .report-panel .panel-head h2{font-size:17px}
 .report-panel .panel-head p{font-size:10px}
 .report-panel .table-wrap{overflow:visible}
 .report-table{width:100%;min-width:0}
 .report-table thead{display:none}
 .report-table tbody{display:grid;gap:9px;padding:9px}
 .report-table tbody tr:not(.report-empty-row){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
 .report-table tbody tr:not(.report-empty-row)>th{grid-column:1/-1;min-width:0;padding:11px 12px;border-top:0;border-bottom:1px solid var(--line);background:#f6f9fb;font-size:13px}
 .report-table tbody tr:not(.report-empty-row)>td{display:grid;align-content:start;gap:3px;min-width:0;white-space:normal;padding:8px 10px;border-top:1px solid #edf1f4;font-size:14px;font-weight:750}
 .report-table tbody tr:not(.report-empty-row)>td::before{content:attr(data-label);color:var(--muted);font-size:9px;font-weight:700;line-height:1.3}
 .report-table tbody tr:not(.report-empty-row)>td:last-child{grid-column:1/-1}
 .report-table tbody tr:not(.report-empty-row)>td:last-child::before{display:none}
 .report-table tbody tr:not(.report-empty-row)>td small{white-space:normal;line-height:1.35}
 .report-table .report-empty-row td{white-space:normal}
 .report-total{margin-top:2px;background:#f4f8fa!important}
 .report-total th,.report-total td{border-top:0!important}
 .report-total th{background:#eef4f8!important}
 .report-details{min-width:0;width:100%}
 .report-details[open]{position:static;width:100%;min-width:0;max-width:none;padding-bottom:3px}
 .report-details summary{white-space:normal}
 .report-details[open] summary{margin-bottom:6px}
 .report-order{flex-wrap:wrap;gap:5px;padding:8px 2px}
 .report-order>span:first-child{flex-basis:100%}
 .report-order strong{white-space:normal}
 .report-order small{white-space:normal}
 .report-order-badges{flex-basis:100%}
 .report-order-status,.report-payment{max-width:100%;white-space:normal}
 .report-order-date{flex-basis:100%}
}
