.consult-progress-shell:has(.ws-customer-portal) {
  max-width: 1280px;
  padding-top: 64px;
}
.ws-customer-portal {
  --portal-border: #e0e8f2;
  color: #24334b;
}
.ws-portal-next {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  padding: 44px;
  background: #132c4e;
  border-radius: 18px;
  color: #fff;
}
.ws-portal-next .eyebrow {
  color: #b1cdfb;
}
.ws-portal-next .eyebrow span {
  display: inline-block;
  margin-left: 14px;
  padding: 5px 9px;
  background: #294568;
  border-radius: 4px;
  color: #fff;
}
.ws-portal-next h2 {
  margin: 20px 0 14px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.4;
  letter-spacing: -0.045em;
}
.ws-portal-next p:not(.eyebrow) {
  color: #c3d0e3;
  line-height: 1.9;
}
.ws-portal-next .button {
  margin-top: 26px;
  background: #fff;
  color: #173756;
}
.ws-portal-next dl {
  display: grid;
  align-content: center;
  gap: 20px;
  border-left: 1px solid #37506e;
  padding-left: 36px;
}
.ws-portal-next dt {
  color: #a9bfda;
  font-size: 12px;
}
.ws-portal-next dd {
  margin: 7px 0 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.ws-portal-next dd small {
  margin-left: 10px;
  color: #a9bfda;
}
.ws-portal-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 26px 0 38px;
  padding: 0;
  gap: 10px;
}
.ws-portal-progress li {
  padding: 20px 18px;
  border: 1px solid var(--portal-border);
  border-radius: 8px;
  color: #7b879a;
}
.ws-portal-progress li span {
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}
.ws-portal-progress strong {
  font-size: 16px;
}
.ws-portal-progress small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}
.ws-portal-progress .is-complete {
  color: #416c64;
  background: #f6faf8;
}
.ws-portal-progress [aria-current] {
  border-color: #3469e8;
  background: #f0f5ff;
  color: #285bdd;
}
.ws-portal-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.ws-portal-nav a {
  padding: 12px 20px;
  border-radius: 100px;
  background: #f1f5fa;
  color: #38536f;
  font-size: 14px;
}
.ws-portal-section {
  padding: 38px;
  margin-bottom: 24px;
  border: 1px solid var(--portal-border);
  border-radius: 14px;
}
.ws-portal-section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.ws-portal-section header h2 {
  font-size: 25px;
  margin-top: 10px;
  letter-spacing: -0.04em;
}
.ws-portal-section header > span {
  font-size: 13px;
  color: #64748c;
}
.ws-portal-section > p {
  line-height: 1.9;
  color: #63758e;
}
.ws-portal-details {
  border-top: 1px solid var(--portal-border);
  margin-top: 24px;
  padding-top: 22px;
}
.ws-portal-details summary {
  cursor: pointer;
  padding: 4px 0 16px;
  font-size: 14px;
  font-weight: 600;
}
.ws-portal-facts,
.ws-portal-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
  margin-block: 24px;
}
.ws-portal-facts dt,
.ws-portal-metrics span,
.ws-portal-metrics small {
  display: block;
  color: #70819a;
  font-size: 13px;
}
.ws-portal-facts dd {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.8;
}
.ws-portal-metrics strong {
  display: block;
  margin: 10px 0;
  font-size: 22px;
  line-height: 1.6;
}
.ws-portal-order fieldset {
  border: 0;
  padding: 24px 0 0;
}
.ws-portal-order h3 {
  font-size: 21px;
  margin-bottom: 16px;
}
.ws-portal-order p {
  color: #70819a;
  line-height: 1.8;
}
.ws-portal-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.ws-portal-order .consult-consent {
  margin-block: 20px;
}
.ws-portal-production .ws-production-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
}
.ws-portal-production .ws-production-panel {
  padding: 24px;
}
.ws-portal-materials > summary {
  cursor: pointer;
  padding: 4px 0;
  font-size: 18px;
  font-weight: 600;
}
.ws-portal-materials[open] > summary {
  margin-bottom: 24px;
}
.ws-customer-portal section[id],
.ws-customer-portal #handoff,
.ws-customer-portal #customer-review,
.ws-customer-portal #submit-materials {
  scroll-margin-top: 120px;
}
.ws-customer-portal a:focus-visible,
.ws-customer-portal summary:focus-visible {
  outline: 3px solid #82aaff;
  outline-offset: 4px;
}
@media (max-width: 800px) {
  .ws-portal-next {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 30px;
  }
  .ws-portal-next dl {
    border-left: 0;
    border-top: 1px solid #37506e;
    padding: 24px 0 0;
  }
  .ws-portal-progress {
    gap: 5px;
  }
  .ws-portal-progress li {
    padding: 14px 6px;
    text-align: center;
  }
  .ws-portal-progress strong {
    font-size: 13px;
  }
  .ws-portal-section {
    padding: 24px;
  }
  .ws-portal-section header,
  .ws-portal-production .ws-production-layout {
    display: block;
  }
  .ws-portal-section header > span {
    display: block;
    margin-top: 15px;
  }
  .ws-portal-facts,
  .ws-portal-metrics,
  .ws-portal-contact {
    grid-template-columns: 1fr;
  }
  .ws-portal-production .ws-production-panel {
    padding: 20px;
  }
  .ws-portal-nav {
    gap: 6px;
  }
  .ws-portal-nav a {
    padding: 10px 13px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ws-customer-portal {
    scroll-behavior: auto;
  }
}
