/* Fix the native personal-sales table, not the external ledger or staff tables. */
body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register .partner-sales-list{min-width:0;max-width:100%;align-self:start}
body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register .data-table-wrap{width:100%;max-width:100%;min-width:0;height:auto!important;min-height:0!important}
body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table{width:100%!important;min-width:0!important;max-width:100%;height:auto!important}
body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table :is(tbody,tr){height:auto!important;min-height:0!important}
body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table .personal-sale-edit{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;width:24px!important;min-width:24px!important;max-width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;gap:0!important;border-radius:5px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;flex-shrink:0}
body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table .personal-sale-edit svg{display:block;width:13px;height:13px;flex:0 0 13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table .personal-sale-edit:focus-visible{outline:2px solid #ed925d;outline-offset:2px}
@media(min-width:761px){
 body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register .partner-sales-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(166px,16vw,210px);gap:9px;align-items:start}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table{table-layout:fixed!important}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table th{padding:4px!important;font-size:8px!important;line-height:1.15!important;letter-spacing:.03em}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table td{height:auto!important;padding:3px 4px!important;font-size:9px!important;line-height:1.15!important;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table th:nth-child(1){width:66px!important}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table th:nth-child(2){width:auto!important}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table th:nth-child(3){width:52px!important}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table th:nth-child(4){width:23%!important}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table th:nth-child(5){width:15%!important}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table :is(th:nth-child(6),td:nth-child(6)){box-sizing:border-box;width:34px!important;min-width:34px!important;padding:3px!important;text-align:right}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table td[colspan]{width:auto!important}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table td:first-child{white-space:nowrap;overflow-wrap:normal}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table td b{font-size:9px;line-height:1.15}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table td small{display:block;font-size:8px!important;line-height:1.15!important;margin:2px 0 0!important;overflow-wrap:anywhere}
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table .status-pill{min-height:0!important;padding:2px 4px!important;font-size:8px!important;line-height:1.15!important;white-space:normal}
 body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register .partner-sales-status{grid-row:auto;align-self:start;grid-template-columns:70px minmax(0,1fr);gap:5px 6px;border-left:1px solid var(--line);border-bottom:0;padding:0 0 0 8px}
 body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register .sales-status-heading{grid-column:1/-1;justify-content:space-between}
 body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register .sales-status-ring{width:70px;height:70px}
 body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register .sales-status-legend{grid-template-columns:minmax(0,1fr);gap:2px}
 body:not(.admin-mode) .workspace [data-view="sales"] .partner-sales-register :is(.sales-reset-filter,.sales-zero-note){grid-column:1/-1}
}
@media(max-width:760px){
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table td:last-child{width:auto!important;min-width:0;grid-template-columns:minmax(0,1fr)!important;justify-items:end}
}
@media(pointer:coarse){
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table .personal-sale-edit{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important}
}
@media(min-width:761px) and (pointer:coarse){
 body:not(.admin-mode) .workspace [data-view="sales"] .personal-sales-table :is(th:nth-child(6),td:nth-child(6)){width:42px!important;min-width:42px!important}
}
