/* Customer account, authentication, and confirmation improvements.
   Loaded after styles.css so these additions preserve the existing Ahner palette. */

.account-portal {
  gap: 1.25rem;
}

/* Put returning customers' work ahead of account administration. */
.account-task-hero {
  background: #f1f6fc;
  box-shadow: none;
}
.account-task-hero .account-hero-main {
  gap: .6rem;
}
.account-task-hero .account-current-scope {
  color: #234b76;
  font-weight: 700;
  margin: 0;
}
.account-task-hero .account-hero-main > p {
  margin-bottom: 0;
}
.account-task-hero .account-resume-note {
  margin-top: .3rem;
  font-size: .84rem;
}
.account-task-hero .account-actions .btn-outline-primary {
  background: #fff;
  border-color: #aec4df;
  color: #075fb8;
  box-shadow: none;
}
.account-task-hero .account-actions .btn-outline-primary:hover,
.account-task-hero .account-actions .btn-outline-primary:focus-visible {
  background: #e8f2ff;
  border-color: #075fb8;
  color: #064c92;
}
.account-current-work {
  box-shadow: none;
  align-content: start;
}
.account-current-work > div + div {
  border-top: 1px solid #d8e1eb;
  padding-top: .8rem;
}
.account-current-work a {
  color: #075fb8;
  margin-top: .4rem;
  font-size: .85rem;
  font-weight: 700;
  text-underline-offset: .2em;
}
.account-current-work span:not(.account-label) {
  color: #52647a;
}

.account-destination,
.account-settings-page {
  scroll-margin-top: 7rem;
}

.account-company-scope {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 22rem) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid #b9d5f6;
  border-radius: 10px;
  background: #f2f8ff;
}

.account-company-scope label,
.account-company-scope-static strong {
  display: block;
  color: #10233f;
  font-size: 0.9rem;
  font-weight: 800;
}

.account-company-scope p,
.account-company-scope-static span {
  margin: 0.15rem 0 0;
  color: #536b84;
  font-size: 0.82rem;
}

.account-company-scope select {
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid #9fb9d6;
  border-radius: 7px;
  background: #fff;
  color: #10233f;
  padding: 0.45rem 2.25rem 0.45rem 0.7rem;
}

.account-company-scope-static {
  grid-template-columns: 1fr;
}

.account-section-nav {
  position: sticky;
  z-index: 20;
  top: 5rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.55rem;
  border: 1px solid #d8e1eb;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 35, 63, 0.08);
  backdrop-filter: blur(14px);
}

.account-section-nav a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  color: #243b57;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.account-section-nav a:hover,
.account-section-nav a:focus-visible,
.account-section-nav a[aria-current="location"] {
  background: #edf5ff;
  color: #075fb8;
}

.account-section-nav a:focus-visible,
.account-portal a:focus-visible,
.account-portal button:focus-visible,
.account-portal input:focus-visible,
.account-portal select:focus-visible,
.account-portal textarea:focus-visible,
.account-request-disclosure summary:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.3);
  outline-offset: 2px;
}

.account-section-nav strong {
  display: inline-grid;
  min-width: 1.55rem;
  min-height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: #eef2f7;
  color: #465d76;
  font-size: 0.72rem;
}

.account-section-nav a[aria-current="location"] strong {
  background: #fff;
  color: #075fb8;
}

.account-access-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid #b9d5f6;
  border-radius: 10px;
  background: #f2f8ff;
}

.account-access-banner h2 {
  margin: 0.15rem 0 0.3rem;
  color: #10233f;
  font-size: 1.08rem;
}

.account-access-banner p {
  color: #425b76;
  font-size: 0.9rem;
}

.account-access-banner form {
  margin: 0;
}

.account-access-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #075fb8;
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px #c9dcf2;
}

.account-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-portal a.account-stat {
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.account-portal a.account-stat:hover,
.account-portal a.account-stat:focus-visible {
  border-color: rgba(0, 113, 227, 0.34);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.account-panel-head h3,
.account-subsection-head h3,
.account-settings-head h2,
.account-library-card h3,
.account-document-card h3,
.account-part-card-list h4 {
  margin: 0.12rem 0 0;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.account-quote-grid,
.account-part-library,
.account-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-library-card,
.account-document-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dce4ed;
  border-radius: 9px;
  background: #fff;
}

.account-part-library-card {
  grid-template-columns: minmax(0, 1fr);
}

.account-part-preview {
  width: 100%;
  height: 9rem;
  border: 1px solid #dce4ed;
  border-radius: 7px;
  background: #f7f9fc;
  object-fit: contain;
}

.account-library-card-head {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: space-between;
}

.account-library-card-head > a:not(.btn),
.account-document-card > a:not(.btn),
.account-card-actions a:not(.btn),
.account-table-actions a:not(.btn),
.account-timeline a:not(.btn),
.account-data-list a:not(.btn) {
  color: #075fb8;
  font-weight: 750;
  text-underline-offset: 0.16em;
}

.account-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  margin: 0;
}

.account-card-facts > div {
  min-width: 0;
}

.account-card-facts dt {
  color: #5d7086;
  font-size: 0.76rem;
  font-weight: 700;
}

.account-card-facts dd {
  margin: 0.1rem 0 0;
  color: #172b45;
  font-size: 0.9rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.account-card-note,
.account-action-note {
  color: #52677f;
  font-size: 0.82rem !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account-card-note-warning {
  padding: 0.55rem 0.65rem;
  border-left: 3px solid #b45309;
  border-radius: 4px;
  background: #fff7ed;
  color: #7c2d12;
  font-weight: 700;
}

.account-card-actions,
.account-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.account-card-actions form {
  margin: 0;
}

.account-rename-part {
  padding-top: 0.65rem;
  border-top: 1px solid #e1e8f0;
}

.account-rename-part summary {
  width: fit-content;
  color: #075fb8;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 750;
  text-underline-offset: 0.16em;
}

.account-rename-part form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.account-rename-part label {
  grid-column: 1 / -1;
  color: #344a64;
  font-size: 0.78rem;
  font-weight: 750;
}

.account-rename-part input {
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #bfcbd8;
  border-radius: 7px;
  color: #172b45;
  font: inherit;
}

.account-record-history {
  padding-top: 0.7rem;
  border-top: 1px solid #e1e8f0;
}

.account-record-history h3,
.account-record-history h4 {
  margin: 0 0 0.55rem;
  color: #344a64;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.account-record-history ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-record-history li {
  display: grid;
  gap: 0.12rem;
  padding-left: 0.7rem;
  border-left: 3px solid #c8d8e9;
}

.account-record-history li > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
  justify-content: space-between;
}

.account-record-history strong {
  color: #172b45;
  font-size: 0.83rem;
}

.account-record-history time,
.account-record-history span {
  color: #60758c;
  font-size: 0.75rem;
}

.account-record-history p {
  color: #52677f;
  font-size: 0.8rem;
  line-height: 1.4;
}

.account-view-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e1e8f0;
}

.account-view-presets a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #c7d3df;
  border-radius: 999px;
  background: #fff;
  color: #344a64;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.account-view-presets a:hover,
.account-view-presets a:focus-visible,
.account-view-presets a[aria-current="page"] {
  border-color: #77a9df;
  background: #edf5ff;
  color: #075fb8;
}

.account-view-presets strong {
  display: inline-grid;
  min-width: 1.45rem;
  min-height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  font-size: 0.7rem;
}

.account-order-filters {
  display: grid;
  grid-template-columns: minmax(14rem, 1.4fr) minmax(10rem, 0.65fr) minmax(10rem, 0.65fr) auto auto;
  gap: 0.7rem;
  align-items: end;
  margin-bottom: 0.8rem;
  padding: 0.85rem;
  border: 1px solid #dce4ed;
  border-radius: 9px;
  background: #f8fafc;
}

.account-order-filters label {
  display: block;
  margin-bottom: 0.3rem;
  color: #344a64;
  font-size: 0.78rem;
  font-weight: 750;
}

.account-order-filters input,
.account-order-filters select {
  width: 100%;
  min-height: 2.65rem;
  border: 1px solid #bfcbd8;
  border-radius: 7px;
  background: #fff;
  color: #172b45;
  font: inherit;
  font-size: 0.9rem;
}

.account-order-filters select {
  padding: 0.55rem 2rem 0.55rem 0.65rem;
}

.account-filter-search > div {
  position: relative;
}

.account-filter-search i {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #5c7189;
}

.account-filter-search input {
  padding: 0.55rem 0.7rem 0.55rem 2.25rem;
}

.account-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid #bfcbd8;
  border-radius: 7px;
  background: #fff;
  color: #075fb8;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.account-filter-submit {
  min-height: 2.65rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid #075fb8;
  border-radius: 7px;
  background: #075fb8;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 750;
}

.account-results-summary {
  margin: 0 0 0.65rem !important;
  color: #52677f;
  font-size: 0.85rem !important;
}

.account-filter-empty {
  padding: 1.5rem;
  border: 1px dashed #bdc9d6;
  border-radius: 8px;
  color: #52677f;
  text-align: center;
}

.account-filter-empty h3 {
  margin: 0 0 0.35rem;
  color: #172b45;
  font-size: 1rem;
}

.account-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.account-pagination span {
  color: #465d76;
  font-size: 0.85rem;
  font-weight: 700;
}

.account-order-card[hidden] {
  display: none !important;
}

.account-order-toggle {
  grid-template-columns: minmax(10rem, 1fr) minmax(7rem, 0.4fr) minmax(7rem, auto) auto auto;
}

.account-order-detail {
  gap: 1.1rem;
  padding-top: 1rem;
}

.account-subsection-head {
  display: flex;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.account-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-timeline li {
  position: relative;
  display: grid;
  gap: 0.25rem;
  min-height: 3.3rem;
  padding: 0 0 1rem 1.75rem;
}

.account-timeline li::before {
  position: absolute;
  top: 0.26rem;
  left: 0.22rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid #7790aa;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.account-timeline li::after {
  position: absolute;
  top: 1.05rem;
  bottom: 0;
  left: 0.55rem;
  width: 1px;
  background: #cdd7e2;
  content: "";
}

.account-timeline li:last-child::after {
  display: none;
}

.account-timeline li.is-latest::before {
  border-color: #15733c;
  background: #15733c;
  box-shadow: 0 0 0 4px #eaf7ef;
}

.account-timeline li > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
}

.account-timeline strong {
  color: #172b45;
  font-size: 0.9rem;
}

.account-timeline time,
.account-event-reference,
.account-event-actor {
  color: #60758c;
  font-size: 0.78rem;
  font-weight: 650;
}

.account-event-actor {
  display: block;
}

.account-timeline p {
  color: #52677f;
  font-size: 0.85rem;
  line-height: 1.45;
}

.account-timeline-global {
  max-width: 54rem;
}

.account-customer-actions {
  padding: 0.9rem;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #fff;
}

.account-action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-action-links a {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  padding: 0.5rem 0.7rem;
  border: 1px solid #b9cbe0;
  border-radius: 7px;
  color: #075fb8;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.account-action-links a:hover,
.account-action-links a:focus-visible {
  border-color: #6ea2dc;
  background: #edf5ff;
}

.account-action-note {
  margin-top: 0.6rem !important;
}

.account-request-disclosure {
  border: 1px solid #c9d8e7;
  border-radius: 8px;
  background: #f8fbff;
}

.account-request-disclosure summary {
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  color: #075fb8;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.account-request-disclosure[open] summary {
  border-bottom: 1px solid #d8e4ef;
}

.account-order-request-form {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0.9rem;
}

.account-order-request-form label {
  display: block;
  margin-bottom: 0.3rem;
  color: #344a64;
  font-size: 0.8rem;
  font-weight: 750;
}

.account-order-request-form label span {
  color: #64748b;
  font-weight: 500;
}

.account-order-request-form select,
.account-order-request-form textarea,
.account-order-request-form input[type="file"] {
  width: 100%;
  border: 1px solid #bfcbd8;
  border-radius: 7px;
  background: #fff;
  color: #172b45;
  font: inherit;
  font-size: 0.88rem;
}

.account-order-request-form select,
.account-order-request-form input[type="file"] {
  min-height: 2.65rem;
  padding: 0.55rem 0.65rem;
}

.account-order-request-form textarea {
  min-height: 7rem;
  padding: 0.65rem;
  resize: vertical;
}

.account-order-request-form small,
.account-request-file-name {
  display: block;
  margin-top: 0.3rem;
  color: #60758c;
  font-size: 0.75rem;
}

.account-request-privacy,
.account-request-status {
  padding: 0.7rem 0.8rem;
  border-radius: 7px;
  background: #eef5fc;
  color: #405a74;
  font-size: 0.8rem !important;
  line-height: 1.45;
}

.account-request-status {
  padding: 0;
  background: transparent;
}

.account-request-actions,
.account-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.account-request-actions > a,
.account-document-actions > a:not(.btn) {
  color: #075fb8;
  font-size: 0.82rem;
  font-weight: 750;
}

.account-parts-table caption {
  padding: 0.7rem 0.8rem;
  background: #fff;
  color: #344a64;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: left;
}

.account-parts-table small {
  display: block;
  margin-top: 0.15rem;
  color: #61768d;
  font-size: 0.75rem;
  font-weight: 500;
}

.account-parts-mobile {
  display: none;
}

.account-part-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-part-card-list > li {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem;
  border: 1px solid #dce4ed;
  border-radius: 8px;
  background: #fff;
}

.account-part-card-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: space-between;
}

.account-part-card-head > strong {
  flex: 0 0 auto;
  color: #075fb8;
  font-size: 0.82rem;
}

.account-document-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.account-document-card p {
  margin-top: 0.25rem;
  color: #60758c;
  font-size: 0.82rem;
}

.account-document-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.8rem;
  margin: 0.7rem 0 0;
}

.account-document-meta dt {
  color: #60758c;
  font-size: 0.72rem;
  font-weight: 700;
}

.account-document-meta dd {
  margin: 0.08rem 0 0;
  color: #172b45;
  font-size: 0.84rem;
  font-weight: 750;
}

.account-order-document-card {
  margin-bottom: 0.65rem;
}

.account-settings-head {
  margin-bottom: 0.8rem;
}

.account-settings-head p {
  margin-top: 0.35rem;
  color: #52677f;
}

.account-settings-page {
  max-width: 1120px;
  margin-inline: auto;
}

.account-settings-grid {
  align-items: start;
}

.account-settings-identity {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  max-width: min(26rem, 42vw);
  justify-items: end;
  text-align: right;
}

.account-settings-identity span,
.account-settings-identity small {
  color: #60758c;
  font-size: 0.76rem;
  font-weight: 700;
}

.account-settings-identity strong {
  max-width: 100%;
  color: #172b45;
  overflow-wrap: anywhere;
}

.account-detail-page {
  max-width: 1120px;
  margin-inline: auto;
}

.account-breadcrumb a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: #075fb8;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.account-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid #d8e1eb;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(21, 128, 61, 0.07)), #f8fafc;
}

.account-detail-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.account-detail-hero p {
  max-width: 48rem;
  margin-top: 0.5rem;
  color: #4a6078;
}

.account-detail-hero-summary {
  display: grid;
  gap: 0.3rem;
  justify-items: end;
  min-width: 12rem;
}

.account-detail-hero-summary > span:not(.account-status) {
  color: #60758c;
  font-size: 0.78rem;
  font-weight: 700;
}

.account-detail-hero-summary > strong {
  color: #075fc7;
  font-size: 1.65rem;
}

.account-detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-detail-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.account-detail-primary-actions form {
  margin: 0;
}

.account-form .form-label span {
  color: #64748b;
  font-weight: 500;
}

/* Authentication presentation */
.customer-auth-shell {
  max-width: 660px;
  margin-inline: auto;
}

.customer-auth-intro {
  max-width: 42rem;
  margin-inline: auto;
}

.customer-auth-card {
  max-width: 560px;
  margin-inline: auto;
}

.customer-auth-benefits,
.customer-auth-note {
  padding: 0.85rem 1rem;
  border: 1px solid #cddcec;
  border-radius: 8px;
  background: #f6faff;
  color: #3d5671;
  font-size: 0.88rem;
  line-height: 1.5;
}

.customer-auth-benefits ul {
  display: grid;
  gap: 0.25rem;
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.customer-auth-error-summary {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e0a5aa;
  border-radius: 8px;
  background: #fff4f4;
  color: #7f1d1d;
}

.customer-auth-error-summary:focus {
  outline: 3px solid rgba(180, 35, 45, 0.22);
  outline-offset: 2px;
}

.customer-field-error {
  display: block;
  margin-top: 0.35rem;
  color: #a61e2b;
  font-size: 0.82rem;
  font-weight: 650;
}

.auth-password-toggle {
  min-width: 3.2rem;
  min-height: 2.15rem;
}

/* Confirmation and review-request additions */
.order-account-callout,
.customer-confirm-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid #b9d5f6;
  border-radius: 10px;
  background: #f2f8ff;
}

.order-account-callout h2,
.customer-confirm-account h2 {
  margin: 0;
  color: #10233f;
  font-size: 1.05rem;
}

.order-account-callout p,
.customer-confirm-account p {
  margin: 0.3rem 0 0;
  color: #425b76;
  font-size: 0.86rem;
  line-height: 1.45;
}

.customer-mobile-part-list {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-mobile-part-list > li {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  border-top: 1px solid #dfe6ee;
}

.customer-mobile-part-list h3 {
  margin: 0;
  color: #10233f;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.customer-mobile-part-list dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.customer-mobile-part-list dt {
  color: #60758c;
  font-size: 0.72rem;
  font-weight: 700;
}

.customer-mobile-part-list dd {
  margin: 0.08rem 0 0;
  color: #243b57;
  font-size: 0.83rem;
  overflow-wrap: anywhere;
}

.customer-confirm-shell {
  max-width: 920px;
  margin-inline: auto;
}

.customer-confirm-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

.customer-confirm-facts > div {
  padding: 0.75rem;
  border-radius: 7px;
  background: #f6f8fb;
}

.customer-confirm-facts dt {
  color: #60758c;
  font-size: 0.76rem;
  font-weight: 700;
}

.customer-confirm-facts dd {
  margin: 0.15rem 0 0;
  color: #172b45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .account-section-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-order-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .account-company-scope {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .account-company-scope .btn {
    width: 100%;
  }

  .account-section-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-access-banner,
  .order-account-callout,
  .customer-confirm-account {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .account-access-banner form,
  .account-access-banner .btn,
  .order-account-callout .btn,
  .customer-confirm-account .btn {
    width: 100%;
  }

  .account-stat-grid,
  .account-quote-grid,
  .account-part-library,
  .account-document-grid,
  .customer-confirm-facts {
    grid-template-columns: 1fr;
  }

  .account-detail-hero,
  .account-detail-summary-grid {
    grid-template-columns: 1fr;
  }

  .account-detail-hero-summary {
    justify-items: start;
  }

  .account-settings-identity {
    max-width: 100%;
    justify-items: start;
    text-align: left;
  }

  .account-detail-primary-actions,
  .account-detail-primary-actions form,
  .account-detail-primary-actions .btn {
    width: 100%;
  }

  .account-stat {
    min-height: 0;
  }

  .account-order-filters {
    grid-template-columns: 1fr;
  }

  .account-filter-search,
  .account-filter-reset,
  .account-filter-submit {
    grid-column: auto;
    width: 100%;
  }

  .account-order-toggle {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem 0.75rem;
  }

  .account-order-id,
  .account-order-meta,
  .account-status,
  .account-order-total {
    grid-column: 1;
    justify-self: start;
  }

  .account-chevron {
    grid-column: 2;
    grid-row: 1;
  }

  .account-detail-actions,
  .account-detail-actions form,
  .account-detail-actions .btn,
  .account-action-links,
  .account-action-links a {
    width: 100%;
  }

  .account-parts-table-desktop,
  .order-confirm-table-wrap.customer-parts-desktop,
  .customer-parts-desktop {
    display: none;
  }

  .account-parts-mobile,
  .customer-mobile-part-list {
    display: grid;
    gap: 0.65rem;
  }

  .account-card-facts,
  .customer-mobile-part-list dl {
    grid-template-columns: 1fr 1fr;
  }

  .account-document-card {
    grid-template-columns: 1fr;
  }

  .account-document-meta {
    grid-template-columns: 1fr;
  }

  .account-request-actions,
  .account-request-actions .btn,
  .account-request-actions > a {
    width: 100%;
  }

  .account-request-actions > a {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
  }

  .account-pagination .btn {
    min-height: 2.65rem;
  }
}

@media (max-width: 430px) {
  .account-section-nav a {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: 0.55rem;
  }

  .account-card-facts,
  .customer-mobile-part-list dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-portal a.account-stat {
    transition: none;
  }
}

/* One restrained account/authentication language across customer destinations. */
.account-portal { color: #102337; }
.account-portal > *, .account-panel, .account-library-card { min-width: 0; }
.account-task-hero, .account-detail-hero { background: #fff; border: 1px solid #d6dfe8; border-radius: 10px; box-shadow: none; }
.account-task-hero { padding: clamp(1.1rem, 3vw, 2rem); }
.account-hero-card, .account-current-work { border-radius: 8px; background: #f5f7fa; box-shadow: none; }
.account-panel, .account-library-card { border-color: #d6dfe8; border-radius: 8px; box-shadow: none; }
.account-panel { padding: clamp(1rem, 2.5vw, 1.5rem); }
.account-company-scope { border-color: #d6dfe8; background: #fff; border-radius: 8px; }
.account-section-nav { position: static; box-shadow: none; border-radius: 8px; backdrop-filter: none; }
.account-section-nav a[aria-current="location"] { color: #fff; background: #0068cf; }
.account-section-nav a[aria-current="location"] strong { color: #0068cf; }
.account-destination[hidden] { display: none !important; }
.account-empty { padding: 1.5rem 1rem; }
.account-empty > i { font-size: 1.7rem; }
.account-record-history summary { cursor: pointer; color: #526477; font-size: .85rem; font-weight: 700; }
.account-record-history[open] summary { margin-bottom: .75rem; }
.account-settings-identity form { margin-top: .7rem; }
.account-settings-identity small { max-width: 28rem; }
.customer-auth-shell.section { max-width: 620px; padding: clamp(1rem, 3vw, 2rem) 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.customer-auth-shell .container-narrow { padding: 0; }
.customer-auth-intro { text-align: left !important; margin-bottom: 1.5rem !important; }
.customer-auth-intro h1 { color: #102337; font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.2; }
.customer-auth-card.card-elev { max-width: none !important; padding: clamp(1.1rem, 4vw, 2rem); border: 1px solid #d6dfe8; border-radius: 10px; background: #fff; box-shadow: none; }
.customer-auth-benefits, .customer-auth-note { background: #fff; border-width: 0 0 1px; border-radius: 0; padding: .6rem 0 1rem; }
.customer-auth-shell .btn, .account-portal .btn { border-radius: 8px; }
@media (max-width: 760px) {
  .account-hero { grid-template-columns: 1fr; }
  .account-section-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .account-section-nav a { gap: .3rem; padding: .45rem; font-size: .8rem; }
  .account-section-nav a > i { display: none; }
  .account-section-nav a { grid-template-columns: minmax(0, 1fr) auto; }
  .account-task-hero .account-actions { display: flex; flex-wrap: wrap; }
  .account-task-hero .account-actions .btn { width: auto; flex: 1 1 9rem; }
}
@media print { .account-destination[hidden] { display: block !important; } }
.account-portal .account-label { color: #526477; }
.account-empty { background: #fff; border-style: solid; border-color: #d6dfe8; }
.order-confirm .order-table-muted { color: #526477; }
.order-confirm a:not(.btn) { color: #005ab3; }
.order-account-callout { background: #fff; border-color: #d6dfe8; border-radius: 8px; }
.account-older-revision { padding:1rem; border:1px solid #d6dfe8; border-radius:8px; }
.account-older-revision summary { color:#526477; font-weight:700; cursor:pointer; }
.account-older-revision[open] summary { margin-bottom:1rem; }
.account-older-revision .account-library-card { border:0; padding:0; }
@media (max-width:430px) { .account-portal .account-card-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:380px) { .account-section-nav { grid-template-columns:repeat(2,minmax(0,1fr)); } }
