/* nash-prod-account-polish-2026-08-26-i9 */

/* Final account-dashboard cascade corrections. Kept separate from the shared
   interior layer so the rest of the production storefront remains frozen. */

body#account-portal-page.system-page #wrapper .nd-account-masthead__breadcrumb a,
body#account-portal-page.system-page #wrapper .nd-account-masthead__breadcrumb a:hover,
body#account-portal-page.system-page #wrapper .nd-account-masthead__breadcrumb a:focus-visible {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.76) !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit !important;
  line-height: inherit !important;
  text-decoration: none;
}

body#account-portal-page.system-page #wrapper .nd-account-masthead__action span {
  margin-left: 0.4rem;
}

body.system-page[id^="account-portal-"] #wrapper .portal-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.system-page[id^="account-portal-"] #wrapper .portal-title {
  align-self: center;
}

body.system-page[id^="account-portal-"] #wrapper #account-summary-content {
  grid-template-rows: auto auto auto auto !important;
}

body.system-page[id^="account-portal-"] #wrapper #customer-information-content,
body.system-page[id^="account-portal-"] #wrapper #account-aging-content,
body.system-page[id^="account-portal-"] #wrapper #recent-payments-content {
  grid-template-rows: 2.5rem auto auto !important;
}

@media (min-width: 70.0625rem) {
  body#account-portal-page.system-page #wrapper .account-portal-body > #account-portal {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  body#account-portal-page.system-page #wrapper #account-summary {
    grid-column: span 4;
  }

  body#account-portal-page.system-page #wrapper #customer-information {
    grid-column: span 8;
  }

  body#account-portal-page.system-page #wrapper #account-aging {
    grid-column: span 7;
  }

  body#account-portal-page.system-page #wrapper #recent-payments {
    grid-column: span 5;
  }

  body#account-portal-page.system-page #wrapper #orders-and-invoices {
    grid-column: 1 / -1;
  }
}
