/* JTEL 052 — Sales detailed statement */
.sales-detail-filter{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:12px 14px}.sales-detail-filter>label{display:flex;flex-direction:column;gap:4px;min-width:105px;flex:1 1 115px;font-size:12px;font-weight:600}.sales-detail-filter>label>input:not([type=checkbox]),.sales-detail-filter>label>select{width:100%;min-height:34px;padding:5px 7px;border:1px solid #a9b8c6;border-radius:5px;background:#fff;color:#223445;font:inherit}.sales-detail-filter .sales-detail-refunds{flex:0 0 auto;min-width:120px;flex-direction:row;align-items:center;gap:7px;padding-bottom:8px}.sales-detail-filter .report-filter-right-actions{margin-left:auto}.sales-detail-scroll{overflow:auto;max-height:calc(100vh - 350px);min-height:220px}.sales-detail-table{min-width:1700px;width:100%;font-size:11px}.sales-detail-table thead th{position:sticky;top:0;z-index:3;white-space:nowrap;background:#647b8d;color:#fff}.sales-detail-table td{white-space:nowrap;padding:6px 7px}.sales-detail-table td.sales-detail-description{white-space:normal;min-width:200px;max-width:310px;overflow-wrap:anywhere}.sales-detail-table .sales-detail-subtotal td{background:#dbe5ee!important;font-weight:700;border-top:1px solid #879eae}.sales-detail-table .sales-detail-group td{background:#edf2f6!important;font-weight:700;color:#2e4b60}.sales-detail-table tfoot td{position:sticky;bottom:0;z-index:2;background:#cbd7e1!important;font-weight:700}.sales-detail-table .number-cell{text-align:right;font-variant-numeric:tabular-nums}.sales-detail-table .sales-detail-refund td{color:#8b3440}.sales-detail-table tbody tr:nth-child(even):not(.sales-detail-subtotal):not(.sales-detail-group){background:#f3f6f8}@media(max-width:760px){.sales-detail-filter>label{flex-basis:145px}.sales-detail-scroll{max-height:calc(100vh - 440px)}}

/* 052 refinement: report actions, permissions and compact US report */
.sales-detail-nonadmin .sales-admin-only{display:none!important}
.sales-detail-report-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-left:auto}
.sales-detail-report-controls label{display:flex;align-items:center;gap:5px;font:600 11px "Segoe UI",Arial,sans-serif}
.sales-detail-report-controls select{height:30px;min-width:120px;border:1px solid #9aabba;border-radius:4px;padding:3px 6px;background:#fff;color:#243b50}
.sales-detail-table{min-width:1550px}
.sales-detail-table td.sales-detail-description{min-width:240px;max-width:340px}
.sales-detail-table .sales-detail-refund td{background:#fff7d6!important;color:#4d4850}
.sales-detail-table .sales-detail-refund:hover td{background:#fff1b8!important}
@media(max-width:900px){.sales-detail-report-controls{margin-left:0}.sales-detail-scroll{max-height:calc(100vh - 420px)}}
