.website-prototype-builder {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid #d9dfdc;
  border-top: 4px solid #246b55;
  background: #f7f8f5;
}

.website-order-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 12px;
  padding: 0;
  list-style: none;
}

.website-order-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 4px;
  border-bottom: 2px solid #d9dfdc;
  color: #68736e;
}

.website-order-progress li span {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

.website-order-progress li strong {
  font-size: 14px;
}

.website-order-progress li.is-current,
.website-order-progress li.is-complete {
  border-color: #246b55;
  color: #246b55;
}

.website-order-panel {
  padding: 22px 0;
  scroll-margin-top: 24px;
}

.website-order-panel[hidden] {
  display: none;
}

.website-order-panel > h2 {
  margin: 8px 0 20px;
}

.website-order-intro {
  max-width: 680px;
  color: #52615b;
  line-height: 1.6;
}

.website-order-hint {
  align-self: center;
  color: #52615b;
  font-size: 14px;
}

.password-field {
  display: flex;
  align-items: stretch;
  max-width: 520px;
}

.password-field input {
  flex: 1;
  min-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.password-field button {
  min-width: 68px;
  border: 1px solid #aeb9b4;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  color: #294d3e;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.password-field button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #3159b8;
  outline-offset: 2px;
}

.website-order-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.requirements-document-upload {
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #d9dfdc;
  background: #f7f8f5;
}

.requirements-document-upload h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.requirements-document-upload > p {
  margin: 0 0 12px;
}

.requirements-upload-label {
  display: block;
  margin-bottom: 8px;
  color: #25312d;
  font-size: 14px;
  font-weight: 700;
}

.requirements-upload-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.requirements-upload-controls input[type="file"] {
  min-width: 0;
  max-width: 100%;
}

.requirements-upload-controls .btn {
  flex: 0 0 auto;
}

.requirements-upload-help {
  margin-top: 10px !important;
  font-size: 13px;
}

.requirements-upload-status {
  margin: 10px 0 0 !important;
  color: #3159b8;
  font-size: 14px;
}

.requirements-upload-status.is-success {
  color: #246b55;
}

.requirements-upload-status.is-error {
  color: #a23b32;
}

.website-prototype-heading {
  max-width: 680px;
  margin-bottom: 22px;
}

.website-prototype-step {
  color: #246b55;
  font-size: 12px;
  font-weight: 700;
}

.website-prototype-heading h2 {
  margin: 8px 0;
}

.website-prototype-heading p {
  margin: 0;
  color: #52615b;
}

.website-prototype-questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  max-width: 900px;
  margin-bottom: 8px;
}

.website-prototype-questions .form-row {
  min-width: 0;
}

.website-prototype-preview {
  margin-top: 28px;
  border: 1px solid #cbd2cf;
  background: #fff;
}

.website-prototype-preview[hidden] {
  display: none;
}

.prototype-status {
  max-width: 720px;
  margin: 12px 0 0;
  color: #3159b8;
  font-size: 14px;
}

.prototype-status.is-success {
  color: #246b55;
}

.prototype-status.is-fallback {
  color: #8a4a20;
}

.prototype-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid #e2e6e4;
  color: #66736e;
  font-size: 12px;
}

.prototype-dots {
  display: flex;
  gap: 5px;
}

.prototype-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c3cbc7;
}

.prototype-label {
  margin-left: auto;
  color: #246b55;
  font-size: 10px;
  font-weight: 700;
}

.prototype-page {
  --prototype-accent: #246b55;
  padding: 0 5.5%;
  color: #25312d;
  background: #fff;
}

.prototype-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  border-bottom: 1px solid #ecefed;
}

.prototype-nav strong {
  overflow: hidden;
  color: var(--prototype-accent);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-nav nav {
  display: flex;
  gap: 20px;
  color: #53615b;
  font-size: 12px;
}

.prototype-nav-action {
  padding: 9px 13px;
  color: #fff;
  background: var(--prototype-accent);
  font-size: 11px;
  font-weight: 700;
}

.prototype-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 7%;
  min-height: 310px;
  padding: 34px 0;
}

.prototype-copy {
  max-width: 520px;
}

.prototype-industry {
  color: var(--prototype-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.prototype-copy h3 {
  margin: 12px 0;
  font-size: 40px;
  line-height: 1.1;
}

.prototype-page[data-prototype-style="Elegant"] .prototype-copy h3 {
  font-family: Georgia, serif;
  font-weight: 500;
}

.prototype-page[data-prototype-style="Bold"] .prototype-copy h3 {
  font-weight: 800;
  text-transform: uppercase;
}

.prototype-page[data-prototype-style="Bold"] .prototype-hero {
  background: color-mix(in srgb, var(--prototype-accent) 6%, #fff);
}

.prototype-page[data-prototype-style="Minimal"] .prototype-art {
  background: #f7f8f5;
}

.prototype-page[data-prototype-style="Minimal"] .prototype-art-shape {
  right: 18%;
  width: 55%;
  height: 130px;
}

.prototype-copy p {
  max-width: 430px;
  margin: 0 0 20px;
  color: #5d6a65;
  line-height: 1.6;
}

.prototype-cta {
  display: inline-block;
  padding: 11px 16px;
  color: #fff;
  background: var(--prototype-accent);
  font-size: 12px;
  font-weight: 700;
}

.prototype-art {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  background: color-mix(in srgb, var(--prototype-accent) 12%, #e9ede9);
}

.prototype-art-sun {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 68px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--prototype-accent) 55%, #fff);
}

.prototype-art-shape {
  position: absolute;
  right: 10%;
  bottom: -45px;
  width: 75%;
  height: 175px;
  transform: rotate(-10deg);
  background: var(--prototype-accent);
}

.prototype-art-detail {
  position: absolute;
  right: 27%;
  bottom: -60px;
  width: 28%;
  height: 185px;
  transform: rotate(17deg);
  background: color-mix(in srgb, var(--prototype-accent) 42%, #fff);
}

.prototype-generated-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
}

.prototype-generated-section {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid var(--prototype-accent);
}

.prototype-generated-section h4 {
  margin: 0 0 8px;
  color: #25312d;
  font-size: 15px;
}

.prototype-generated-section p {
  margin: 0;
  color: #5d6a65;
  font-size: 13px;
  line-height: 1.5;
}

.prototype-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid #ecefed;
  color: #65716c;
  font-size: 11px;
}

.prototype-disclaimer {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid #e2e6e4;
  color: #66736e;
  font-size: 12px;
}

.website-order-details {
  scroll-margin-top: 24px;
}

@media (max-width: 640px) {
  .website-order-progress {
    gap: 8px;
  }

  .website-order-progress li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .website-order-progress li strong {
    font-size: 12px;
  }

  .website-order-actions {
    flex-direction: column-reverse;
  }

  .website-order-actions .btn {
    width: 100%;
  }

  .requirements-upload-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .requirements-upload-controls .btn {
    width: 100%;
  }

  .website-order-hint {
    align-self: flex-start;
  }

  .website-prototype-builder {
    padding: 20px 16px;
  }

  .website-prototype-questions,
  .prototype-hero {
    grid-template-columns: 1fr;
  }

  .prototype-nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .prototype-nav nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .prototype-hero {
    gap: 24px;
  }

  .prototype-generated-sections {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .prototype-copy h3 {
    font-size: 30px;
  }

  .prototype-art {
    min-height: 170px;
  }

  .prototype-footer {
    flex-direction: column;
    gap: 6px;
  }
}