/* Invoices: use the same full-width application frame as Customers and the
   other settled operating sections. The invoice cards retain their own
   internal spacing; this only removes the duplicate outer page gutter. */
.premium-app:has(.invoice-reference-page) > main > .content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 0 160px !important;
}

.premium-app .invoice-reference-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .premium-app:has(.invoice-reference-page) > main > .content {
    padding: 0 0 112px !important;
  }
}
