/* Sales Reports only — balanced eight-column register. */
@media screen and (min-width: 1180px) {
  .page:has(.all-sales-report-panel) .all-sales-register-wrap {
    width: 100%;
    overflow-x: hidden;
  }

  .page:has(.all-sales-report-panel) .sales-register-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td) {
    box-sizing: border-box;
    min-width: 0;
  }

  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(1) { width: 9%; }
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(2) { width: 12%; }
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(3) { width: 12%; }
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(4) { width: 20%; }
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(5) { width: 21%; }
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(6) { width: 8%; }
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(7) { width: 12%; }
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(8) { width: 6%; }

  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(6),
  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(8) {
    text-align: center;
  }

  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(7) {
    text-align: right;
  }

  .page:has(.all-sales-report-panel) .sales-register-table :is(th, td):nth-child(8) {
    padding-inline: 6px;
    overflow: visible;
  }

  .page:has(.all-sales-report-panel) .sales-register-table .register-actions-cell > * {
    margin-inline: auto;
  }
}

.sales-report-table-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 18px;border:1px solid #d7e1ed;border-top:0;border-radius:0 0 10px 10px;background:#fff;color:#526987;font-size:13px}.sales-report-pagination-controls{display:flex;align-items:center;gap:9px}.sales-report-pagination-controls label{display:flex;align-items:center;gap:10px;white-space:nowrap}.sales-report-pagination-controls select{min-width:78px;height:38px;padding:6px 28px 6px 11px;border:1px solid #ccd8e7;border-radius:7px;background:#fff;color:#0b1f3a;font-weight:700}.sales-report-pagination-controls .btn{min-width:40px;height:38px;padding:6px 11px}.sales-report-bottom-summary{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(200px,1.2fr) auto;align-items:center;margin-top:10px;padding:15px 18px;border:1px solid #d7e1ed;border-radius:10px;background:#fff}.sales-report-bottom-summary>div{padding:0 32px;border-right:1px solid #d7e1ed}.sales-report-bottom-summary>div:first-child{padding-left:0}.sales-report-bottom-summary span{display:block;color:#607590;font-size:11px;font-weight:800;text-transform:uppercase}.sales-report-bottom-summary strong{display:block;margin-top:6px;color:#102746;font-size:20px}.sales-report-bottom-summary strong.received{color:#08a66c}.sales-report-bottom-summary strong.outstanding{color:#ec4c1b}.sales-report-bottom-summary aside{display:flex;gap:10px;padding-left:24px}.sales-report-bottom-summary .btn{min-height:42px;white-space:nowrap}@media(max-width:900px){.sales-report-table-footer{align-items:flex-start;flex-direction:column}.sales-report-pagination-controls{width:100%;flex-wrap:wrap}.sales-report-bottom-summary{grid-template-columns:1fr 1fr}.sales-report-bottom-summary>div{padding:10px 14px;border-right:0}.sales-report-bottom-summary aside{grid-column:1/-1;padding:10px 0 0}.sales-report-bottom-summary aside .btn{flex:1}}@media(max-width:560px){.sales-report-bottom-summary{grid-template-columns:1fr}.sales-report-bottom-summary aside{grid-column:auto;flex-direction:column}}
