/* Compact, read-only sales reports. */
.sales-active .workspace-tabs{display:none}
#sales-view{min-width:0}
.sales-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}
.sales-heading h2{font-size:1.08rem}.sales-heading button{min-height:38px;padding:7px 12px;font-size:.8rem}
.sales-intro,.sales-readonly{font-size:.78rem;color:var(--muted,#65758b);line-height:1.6;margin-bottom:13px}
.sales-filters{display:grid;gap:12px;padding:14px;background:#fff;border:1px solid var(--line,#e1e7ef);border-radius:10px}
.sales-kinds{display:flex;gap:4px;padding:3px;border-radius:7px;background:#edf2f8;width:fit-content;max-width:100%}
.sales-kind{min-height:35px;padding:6px 18px;font-size:.8rem;border-radius:5px;color:#677b90;white-space:nowrap;font-weight:500}
.sales-kind[aria-pressed=true]{background:#fff;color:var(--blue,#175bb8);box-shadow:0 1px 4px #17365412;font-weight:650}
.sales-kind:disabled{cursor:default;opacity:.45}
.sales-fields{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px;max-width:760px}
.sales-fields label{font-size:.75rem;color:#65758b;min-width:0;font-weight:500}
.sales-fields select{font-size:.8rem;min-height:40px;padding:8px 10px;margin-top:4px;width:100%;max-width:100%;border-radius:6px}
.sales-notice{font-size:.79rem;line-height:1.6;color:#74849a;margin:12px 0;overflow-wrap:anywhere}
.sales-notice:empty{display:none}.sales-notice.is-error{color:#a74648;background:#fff3ef;border:1px solid #efd9d2;border-radius:7px;padding:10px 12px}
.sales-report-info{display:flex;align-items:center;justify-content:space-between;gap:7px 15px;flex-wrap:wrap;margin:13px 0 9px}
.sales-coverage{font-size:.79rem;color:#526b87;overflow-wrap:anywhere}.sales-updated{font-size:.69rem;color:#8795a7;overflow-wrap:anywhere}
.sales-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 15px}
.sales-total{min-width:0;border:1px solid #e1e7ef;background:#fff;border-radius:9px;padding:11px 13px}
.sales-total.total{background:#edf4fe;border-color:#d1e1f7}.sales-total>span{display:block;font-size:.76rem;color:#667d98;margin-bottom:4px}
.sales-total>strong{display:block;font-size:1.18rem;font-weight:700;line-height:1.5;color:#214d80}
.sales-amount{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;word-break:normal}
.sales-amount small{font-size:.68rem;font-weight:400;color:#8291a4;margin-left:3px;white-space:nowrap}
.sales-result-count{font-size:.75rem;color:#7c8ca1;margin-bottom:7px}
.sales-results{min-width:0;border:1px solid #e1e7ef;border-radius:9px;background:#fff;overflow:hidden}
.sales-results:empty{display:none}
.sales-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:.83rem;text-align:right}
.sales-table th,.sales-table td{padding:11px 13px;border-bottom:1px solid #eaf0f5;vertical-align:middle;min-width:0}
.sales-table thead th{background:#f6f8fb;color:#6c8199;font-size:.75rem;font-weight:500}
.sales-table th:first-child{width:34%;text-align:left}.sales-table tr:last-child th,.sales-table tr:last-child td{border-bottom:0}
.sales-store-name strong{display:block;font-size:.83rem;line-height:1.5;overflow-wrap:anywhere;font-weight:600;color:#304b6b}
.sales-row-status{display:block;font-size:.68rem;line-height:1.5;color:#a07842;font-weight:400;margin-top:2px;overflow-wrap:anywhere}
.sales-table tbody td:first-of-type{font-weight:650;color:#244d7c}
.sales-empty{padding:26px 12px;text-align:center;font-size:.8rem;color:#8494a8;line-height:1.7}
.sales-warnings{margin:12px 0 0;padding:10px 13px 10px 28px;border-radius:7px;border:1px solid #eee3c8;background:#fffcf3;color:#957a42;font-size:.74rem;line-height:1.7;overflow-wrap:anywhere}
.sales-readonly{font-size:.69rem;color:#93a0b1;margin:13px 0 0}
@media(max-width:760px){
 .sales-heading h2{font-size:.95rem}.sales-heading button{font-size:.73rem;padding:6px 10px}
 .sales-intro{font-size:.72rem;margin-bottom:10px}.sales-filters{padding:10px;gap:10px}
 .sales-kinds{width:100%}.sales-kind{flex:1;min-width:0;padding:5px 9px;font-size:.75rem;min-height:34px}
 .sales-fields{gap:7px;grid-template-columns:minmax(0,1fr)}.sales-fields label{font-size:.72rem}.sales-fields select{font-size:.77rem;min-height:39px;padding:8px 7px}
 .sales-report-info{display:block;margin:11px 0 8px}.sales-coverage{font-size:.73rem}.sales-updated{font-size:.64rem;margin-top:3px}
 .sales-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:9px 0 12px}.sales-total{padding:8px 9px;border-radius:7px}.sales-total>span{font-size:.68rem;margin-bottom:3px}.sales-total>strong{font-size:.9rem;line-height:1.45}.sales-total.total{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px}.sales-total.total>span{margin-bottom:0;flex:none}.sales-total.total>strong{font-size:1rem;min-width:0}.sales-amount small{font-size:.6rem;margin-left:2px}
 .sales-result-count{font-size:.69rem}.sales-table{display:block;font-size:.75rem}.sales-table caption{display:none}.sales-table thead{display:none}.sales-table tbody{display:block}
 .sales-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid #e5ebf2;padding:9px 10px 8px}
 .sales-table tbody tr:last-child{border-bottom:0}.sales-table th:first-child{width:auto;grid-column:1/-1;text-align:left}
 .sales-table th,.sales-table td{display:block;padding:0;border:0;min-width:0}.sales-store-name{margin-bottom:5px}.sales-store-name strong{font-size:.78rem}.sales-row-status{font-size:.64rem;margin-top:1px}
 .sales-table td{padding-right:6px;text-align:left;line-height:1.5}.sales-table td:last-child{padding-right:0}.sales-table td::before{content:attr(data-label);display:block;font-size:.63rem;font-weight:400;color:#8a99ac;margin-bottom:1px}
 .sales-empty{font-size:.74rem;padding:22px 10px}.sales-notice{font-size:.73rem}.sales-warnings{font-size:.69rem;padding:9px 11px 9px 25px}.sales-readonly{font-size:.63rem}
}
