.sales-history-table,.purchase-history-table{min-width:1080px}
.sales-history-table{min-width:1080px;table-layout:fixed}
.sales-history-table thead th,.purchase-history-table thead th{padding:14px 15px;background:#f3f6f4;color:#53675d;font:600 10px "DM Mono",monospace;border-bottom:1px solid #dbe4df}
.sales-history-table tbody td,.purchase-history-table tbody td{padding:15px;line-height:1.45;vertical-align:middle;border-bottom:1px solid #e8eeeb}
.sales-history-table thead th,.sales-history-table tbody td{padding-right:8px;padding-left:8px}
.sales-history-table tbody tr,.purchase-history-table tbody tr{height:56px;transition:background-color .15s ease}
.sales-history-table thead th{padding:8px 6px}
.sales-history-table tbody td{padding:7px 6px;line-height:1.25}
.sales-history-table tbody tr{height:44px}
.sales-history-table th:nth-child(1),.sales-history-table td:nth-child(1){width:48px;text-align:center}
.sales-history-table th:nth-child(2),.sales-history-table td:nth-child(2){width:110px}
.sales-history-table th:nth-child(3),.sales-history-table td:nth-child(3){width:130px}
.sales-history-table th:nth-child(4),.sales-history-table td:nth-child(4){width:130px}
.sales-history-table th:nth-child(5),.sales-history-table td:nth-child(5){width:105px}
.sales-history-table th:nth-child(6),.sales-history-table td:nth-child(6){width:95px}
.sales-history-table th:nth-child(7),.sales-history-table td:nth-child(7){width:100px;text-align:center}
.sales-history-table th:nth-child(8),.sales-history-table td:nth-child(8){width:105px}
.sales-history-table th:nth-child(9){width:186px;text-align:right}
.sales-history-table tbody td:nth-child(9){width:186px}
.sales-history-table tbody tr:nth-child(even),.purchase-history-table tbody tr:nth-child(even){background:#fbfcfb}
.sales-history-table tbody tr:hover,.purchase-history-table tbody tr:hover{background:#f0f6f3}
.sales-history-number,.purchase-history-number{width:54px;text-align:center;color:#829189;font:11px "DM Mono",monospace}
.sales-history-actions,.purchase-history-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;min-width:170px}
.sales-history-actions .text-link,.purchase-history-actions .text-link{white-space:nowrap}
.sales-history-actions .row-action,.purchase-history-actions .row-action{width:28px;height:28px;padding:0;border:1px solid #ead8d5;border-radius:4px;color:#a64f3b;line-height:1}
.sales-history-actions .row-action:hover,.purchase-history-actions .row-action:hover{background:#fff1ee;color:#8d3525}
.purchase-history-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(180px,1fr) auto auto;align-items:end;gap:12px;padding:12px;background:#f7f9fc;border:1px solid #dfe6ef;border-radius:6px;margin-bottom:14px}
.purchase-history-filters label{display:block;min-width:0;color:#2345aa;font-size:12px;font-weight:700}
.purchase-history-filters input,.purchase-history-filters select{width:100%;height:38px;margin-top:6px;padding:0 11px;border:1px solid #d5dfeb;border-radius:5px;background:#fff;color:#20302c;font:13px "DM Sans",sans-serif}
.purchase-history-filters button{min-width:68px;height:36px}
@media(max-width:680px){.sales-history-table,.purchase-history-table{min-width:1040px}.sales-history-table thead th,.sales-history-table tbody td,.purchase-history-table thead th,.purchase-history-table tbody td{padding:12px}.sales-history-table thead th,.sales-history-table tbody td{padding:6px 5px}.sales-history-actions,.purchase-history-actions{gap:8px}}
@media(max-width:760px){.purchase-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.purchase-history-filters label:first-child{grid-column:1/-1}.purchase-history-filters button{width:100%}}