/* Start-building page. Scoped independently from customer/admin workspaces. */
.bp-page {
  background: linear-gradient(180deg, #edf3ff 0, #f6faff 430px, #f9fbff 100%);
  padding-bottom: 48px;
  color: #263964;
}
.bp-page * {
  box-sizing: border-box;
}
.bp-page .shell {
  max-width: 1230px;
  width: calc(100% - 48px);
}
.bp-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  position: relative;
  min-height: 247px;
  padding-top: 23px;
  padding-bottom: 24px;
}
.bp-back {
  font-size: 12px;
  color: #6871db;
}
.bp-hero h1 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.4;
  margin: 15px 0 8px;
  letter-spacing: -1px;
  color: #182b59;
}
.bp-hero h1 > span {
  color: #554feb;
}
.bp-hero > div > p {
  font-size: 14px;
  color: #7c8ba6;
  margin: 0;
}
.bp-steps {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
  align-items: center;
  font-size: 12px;
  color: #8693af;
}
.bp-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bp-steps li:not(:last-child):after {
  content: "";
  width: 55px;
  border-top: 1px dashed #c4cff6;
  margin-left: 10px;
}
.bp-steps b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #d0dcfb;
  border-radius: 50%;
  color: #677ac0;
  background: #f7faff;
  font-size: 15px;
}
.bp-steps li:first-child {
  color: #404fbc;
  font-weight: 700;
}
.bp-steps li:first-child b {
  color: white;
  background: linear-gradient(135deg, #5c9bff, #6256fa);
  border: 3px solid #ccd9ff;
  box-shadow: 0 0 0 3px #e4ebff;
}
.bp-hero-art {
  height: 205px;
  position: relative;
  perspective: 700px;
}
.bp-art-window {
  position: absolute;
  inset: 10px 28px 0 48px;
  background: linear-gradient(150deg, #fff, #e8edff);
  border: 6px solid #ffffffa6;
  border-radius: 15px;
  box-shadow: 15px 18px 40px #8d9af328;
  transform: rotateY(-12deg) rotateZ(4deg);
  padding: 7px 12px;
  overflow: hidden;
}
.bp-art-window > i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9c8ff4;
  margin-right: 4px;
  vertical-align: top;
}
.bp-art-window > div {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  align-items: center;
}
.bp-art-window b {
  background: linear-gradient(120deg, #789fff, #8069f1);
  color: white;
  font-size: 32px;
  padding: 9px 16px;
  border-radius: 9px;
  box-shadow: 0 9px 14px #8e99e65c;
}
.bp-art-window span {
  font-size: 12px;
  font-weight: 700;
  color: #9aa5cf;
  flex: 1;
}
.bp-art-window em {
  display: block;
  height: 6px;
  width: 100%;
  background: #d9e2fb;
  border-radius: 5px;
  margin-top: 9px;
}
.bp-art-window em:last-child {
  width: 70%;
}
.bp-art-window svg {
  width: 62%;
  height: 70px;
  display: block;
  margin: 10px 0 0 auto;
  background: #e3ecff;
  border-radius: 8px;
}
.bp-art-note {
  position: absolute;
  bottom: 3px;
  left: 17px;
  background: #ffffffed;
  border: 1px solid white;
  border-radius: 11px;
  padding: 12px 18px;
  box-shadow: 0 10px 25px #8198d829;
  font-size: 12px;
  color: #6f79bb;
  transform: rotate(-7deg);
}
.bp-art-note strong {
  display: block;
  font-size: 12px;
  color: #9aa7c2;
  margin-top: 4px;
}
.bp-workspace {
  padding: 0 !important;
}
.bp-notice {
  padding: 12px 17px;
  border: 1px solid #dbe5fb;
  border-radius: 11px;
  background: #fff;
  font-size: 12px;
  margin: 0 0 14px;
  color: #7485a2;
}
.bp-notice a {
  color: #5859d1;
}
.bp-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(300px, 1fr);
  gap: 17px;
  align-items: start;
}
.bp-main {
  display: grid;
  gap: 13px;
  min-width: 0;
}
.bp-card {
  border: 1px solid #e3ebfa;
  border-radius: 14px;
  padding: 22px;
  background: #ffffffed;
  box-shadow: 0 6px 25px #6381b906;
  min-width: 0;
}
.bp-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 17px;
}
.bp-card-heading > b {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  color: white;
  background: linear-gradient(145deg, #6b9fff, #5357ee);
  font-size: 13px;
  box-shadow: 0 4px 8px #7686ec21;
  flex-shrink: 0;
}
.bp-card-heading h2 {
  font-size: 16px;
  color: #253863;
  margin: 0;
  line-height: 1.5;
}
.bp-card-heading p {
  font-size: 12px;
  color: #98a3b9;
  margin: 0 0 0 6px;
}
.bp-page fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.bp-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.bp-package {
  position: relative;
  border: 1px solid #dfe7f8;
  border-radius: 10px;
  padding: 17px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
}
.bp-package:has(input:checked) {
  border-color: #8c81ff;
  background: linear-gradient(125deg, #f9fbff, #f7f5ff);
  box-shadow: 0 2px 9px #8e83ff15;
}
.bp-package > input,
.bp-regions input {
  position: absolute;
  right: 12px;
  top: 14px;
  accent-color: #6658ff;
  width: 14px;
  height: 14px;
}
.bp-package-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: #eef3ff;
  border-radius: 10px;
  font-size: 25px;
  color: #617bff;
}
.bp-package:nth-child(2) .bp-package-icon {
  background: #f1edff;
  color: #8158ee;
}
.bp-package:nth-child(3) .bp-package-icon {
  background: #fff1ec;
  color: #f47e58;
}
.bp-package > strong {
  font-size: 13px;
  overflow-wrap: anywhere;
  padding-right: 6px;
}
.bp-package-price {
  font-size: 23px;
  font-weight: 750;
  color: #283b69;
  line-height: 1.3;
}
.bp-package:has(input:checked) .bp-package-price {
  color: #6352f0;
}
.bp-package-price small {
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.bp-package-detail {
  font-size: 12px;
  color: #91a0b7;
  line-height: 1.9;
}
.bp-package-detail:before {
  content: "✓";
  color: #7a83ee;
  margin-right: 5px;
}
.bp-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bp-regions label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e1e8f8;
  border-radius: 10px;
  padding: 14px 30px 14px 15px;
  cursor: pointer;
}
.bp-regions label:has(input:checked) {
  border-color: #8c83ff;
  background: #f6f7ff;
}
.bp-regions label:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}
.bp-region-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #eef2ff;
  border-radius: 12px;
  font-size: 23px;
  color: #6684f9;
  flex-shrink: 0;
}
.bp-regions strong {
  font-size: 13px;
  display: block;
}
.bp-regions small {
  display: block;
  font-size: 12px;
  color: #99a5bc;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.bp-field {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 11px 0;
  font-size: 12px;
  color: #627391;
}
.bp-field > span {
  padding-top: 9px;
}
.bp-page input:not([type="radio"]):not([type="hidden"]),
.bp-page textarea {
  border: 1px solid #dce5f5;
  background: #fff;
  border-radius: 6px;
  padding: 9px 11px;
  font: inherit;
  font-size: 12px;
  color: #3f5176;
  width: 100%;
  min-width: 0;
}
.bp-page input::placeholder,
.bp-page textarea::placeholder {
  color: #a1acc1;
}
.bp-page textarea {
  resize: vertical;
  line-height: 1.9;
}
.bp-page input:focus-visible,
.bp-page textarea:focus-visible,
.bp-page button:focus-visible,
.bp-page a:focus-visible {
  outline: 2px solid #8a7ef9;
  outline-offset: 3px;
}
.bp-page .bp-domain {
  display: flex;
  min-width: 0;
}
.bp-page .bp-domain input {
  border-radius: 6px 0 0 6px;
}
.bp-domain > span {
  padding: 9px 11px;
  background: #f5f7fd;
  border: 1px solid #dce5f5;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  color: #7685a7;
  overflow-wrap: anywhere;
  max-width: 55%;
  flex-shrink: 0;
}
.bp-field-help {
  font-size: 12px;
  color: #a2aec1;
  margin: 0 0 14px 162px;
}
.bp-material-note {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.bp-material-note > span {
  flex: 1;
  background: #f8faff;
  border: 1px solid #e3eafa;
  border-radius: 8px;
  padding: 11px;
  color: #7483bc;
  font-size: 12px;
}
.bp-fine {
  font-size: 11px !important;
  line-height: 1.9;
  color: #9aa7bc !important;
  margin: 12px 0 0;
}
.bp-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
  font-size: 12px;
  color: #8b9dbd;
  padding: 4px;
}
.bp-assurances > a {
  color: inherit;
}
.bp-summary {
  position: sticky;
  top: 18px;
  padding: 22px 20px;
}
.bp-summary > h2 {
  font-size: 17px;
  margin: 0 0 21px;
  color: #293766;
}
.bp-summary > h3 {
  font-size: 12px;
  color: #7b7aa7;
  margin: 0 0 9px;
}
.bp-template-preview {
  border: 1px solid #edf0fb;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1.8;
  background: #f4f7ff;
}
.bp-template-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.bp-template-placeholder {
  padding: 18px 16px;
  position: relative;
  height: 100%;
  background: linear-gradient(115deg, #f7faff, #e8eeff);
}
.bp-template-placeholder > span {
  display: block;
  color: #abb7d2;
  font-size: 8px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.bp-template-placeholder > strong {
  font-size: 15px;
  display: block;
  color: #53638f;
  max-width: 75%;
  line-height: 1.6;
}
.bp-template-placeholder > div {
  display: flex;
  gap: 7px;
  margin-top: 15px;
}
.bp-template-placeholder i {
  width: 39px;
  height: 22px;
  background: linear-gradient(145deg, #d9e6ff, #b9caff);
  border-radius: 4px;
}
.bp-template-placeholder p {
  font-size: 12px;
  color: #9aa8c3;
}
.bp-template-name {
  font-size: 12px;
  color: #a1aec4;
  line-height: 1.9;
  margin: 9px 0 13px;
  overflow-wrap: anywhere;
}
.bp-template-name a {
  color: #7878cd;
  display: inline-block;
}
.bp-summary-list {
  margin: 0;
  font-size: 12px;
}
.bp-summary-list > div {
  display: grid;
  grid-template-columns: 87px minmax(0, 1fr);
  gap: 7px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2fb;
}
.bp-summary-list dt {
  color: #91a0b9;
}
.bp-summary-list dd {
  color: #596c92;
  margin: 0;
  overflow-wrap: anywhere;
}
.bp-summary-list dt:before {
  content: "▧";
  color: #8196f4;
  margin-right: 7px;
}
.bp-summary-note {
  margin-top: 17px;
  padding: 13px 15px;
  background: linear-gradient(125deg, #f6f8ff, #f0f5ff);
  border-radius: 9px;
  font-size: 12px;
  color: #7d8eb1;
  line-height: 1.9;
}
.bp-summary-note strong {
  color: #5c6d96;
}
.bp-summary-note p {
  margin: 4px 0 0;
}
.bp-page .bp-submit {
  display: block;
  margin-top: 20px;
  border: 0;
  padding: 0;
}
.bp-submit > span {
  display: flex;
  align-items: baseline;
  font-size: 12px;
  color: #8999b5;
  gap: 7px;
}
.bp-submit [data-real-price] {
  margin-left: auto;
  color: #6551f6;
  font-size: 26px;
  line-height: 1.6;
}
.bp-submit small {
  font-size: 12px;
  color: #8b8fb7;
}
.bp-submit .button {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 13px 8px;
  border-radius: 8px;
  background: linear-gradient(100deg, #6794ff, #7053ff);
  border: 0;
  font-size: 12px;
  box-shadow: 0 5px 12px #8084ec22;
  white-space: normal;
}
.bp-submit .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.bp-page .draft-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #99a6bd;
}
.bp-page .draft-actions button {
  font-size: 12px;
}
.bp-login-action {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #6051d1;
  margin-top: 12px;
}
.bp-empty {
  grid-column: 1/-1;
  color: #94a1b9;
  font-size: 12px;
  padding: 10px;
}
.bp-warning {
  font-size: 12px;
  color: #a07034;
}
.bp-page .form-result {
  font-size: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .bp-page .shell {
    width: calc(100% - 36px);
  }
  .bp-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  }
  .bp-card {
    padding: 18px;
  }
  .bp-card-heading p {
    width: 100%;
    margin-left: 35px;
  }
  .bp-package {
    padding: 12px 9px;
  }
  .bp-package-price {
    font-size: 19px;
  }
  .bp-field {
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .bp-field-help {
    margin-left: 117px;
  }
  .bp-steps {
    gap: 15px;
  }
  .bp-steps li:not(:last-child):after {
    width: 25px;
  }
  .bp-hero h1 {
    font-size: 31px;
  }
  .bp-material-note {
    gap: 6px;
  }
  .bp-material-note > span {
    font-size: 12px;
    padding: 8px;
  }
}
@media (max-width: 850px) {
  .bp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bp-summary {
    position: static;
  }
  .bp-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 25px;
  }
  .bp-template-preview {
    max-width: 370px;
  }
  .bp-hero {
    grid-template-columns: 1fr 0.6fr;
  }
  .bp-hero h1 {
    font-size: 29px;
  }
  .bp-hero-art {
    height: 175px;
  }
  .bp-art-window {
    inset: 15px 0 0 5px;
  }
  .bp-art-note {
    left: -5px;
  }
  .bp-hero > div > p {
    font-size: 12px;
  }
  .bp-packages {
    gap: 12px;
  }
  .bp-package {
    padding: 16px;
  }
  .bp-package-price {
    font-size: 23px;
  }
}
@media (max-width: 550px) {
  .bp-page .shell {
    width: calc(100% - 28px);
  }
  .bp-hero {
    display: block;
    padding-top: 20px;
    min-height: 220px;
    padding-bottom: 23px;
  }
  .bp-hero-art {
    display: none;
  }
  .bp-hero h1 {
    font-size: 27px;
    margin-top: 18px;
    letter-spacing: -0.6px;
  }
  .bp-hero > div > p {
    max-width: 310px;
    line-height: 1.8;
  }
  .bp-steps {
    gap: 10px;
    font-size: 12px;
    margin-top: 22px;
  }
  .bp-steps li {
    gap: 7px;
  }
  .bp-steps li:not(:last-child):after {
    width: 19px;
    margin-left: 2px;
  }
  .bp-steps b {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .bp-card {
    padding: 17px 15px;
    border-radius: 12px;
  }
  .bp-card-heading h2 {
    font-size: 15px;
  }
  .bp-card-heading p {
    font-size: 12px;
    line-height: 1.7;
  }
  .bp-packages {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .bp-package {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 5px 10px;
    padding: 13px 27px 13px 12px;
    align-items: center;
  }
  .bp-package-icon {
    grid-row: 1/3;
  }
  .bp-package-price {
    grid-column: 3;
    grid-row: 1/3;
    font-size: 19px;
  }
  .bp-package-detail {
    font-size: 12px;
    grid-column: 2;
  }
  .bp-package-detail br {
    display: none;
  }
  .bp-package > input {
    right: 8px;
    top: 11px;
    width: 12px;
    height: 12px;
  }
  .bp-package > strong {
    font-size: 12px;
  }
  .bp-regions {
    gap: 9px;
  }
  .bp-regions label {
    padding: 12px 24px 12px 9px;
    gap: 7px;
    align-items: flex-start;
  }
  .bp-region-icon {
    width: 26px;
    height: 29px;
    border-radius: 7px;
    font-size: 19px;
  }
  .bp-regions strong {
    font-size: 12px;
  }
  .bp-regions small {
    font-size: 12px;
  }
  .bp-regions input {
    right: 7px;
    top: 13px;
    width: 12px;
    height: 12px;
  }
  .bp-field {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    margin: 13px 0;
  }
  .bp-field > span {
    padding: 0;
  }
  .bp-field-help {
    margin: 0 0 10px;
    font-size: 12px;
  }
  .bp-material-note {
    margin-bottom: 17px;
  }
  .bp-material-note > span {
    padding: 9px 7px;
    font-size: 12px;
  }
  .bp-summary-list {
    display: block;
  }
  .bp-summary {
    padding: 21px;
  }
  .bp-template-preview {
    max-width: none;
  }
  .bp-page {
    padding-bottom: 30px;
  }
  .bp-assurances {
    justify-content: flex-start;
    font-size: 12px;
    gap: 8px 18px;
  }
  .bp-summary-note {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bp-page * {
    scroll-behavior: auto;
    transition: none !important;
  }
}

.bp-package-icon svg,
.bp-region-icon svg {
  width: 24px;
  height: 24px;
}
.bp-hero-art::before,
.bp-hero-art::after {
  content: "";
  position: absolute;
  border: 1px solid #ffffffb0;
  border-radius: 20px;
  background: linear-gradient(130deg, #dbe6ff90, #cfc9ff70);
  inset: 15px 8px 9px 70px;
  transform: rotate(9deg);
  box-shadow: 0 0 65px #a2b6ff35;
}
.bp-hero-art::after {
  inset: 0 16px 17px 57px;
  transform: rotate(-5deg);
  background: linear-gradient(130deg, #ffffffa0, #cad8ff60);
}
.bp-art-window,
.bp-art-note {
  z-index: 1;
}
.bp-hero {
  background: radial-gradient(ellipse at 85% 50%, #c9d6ff65, transparent 65%);
}
.bp-page .bp-field,
.bp-page input:not([type="radio"]):not([type="hidden"]),
.bp-page textarea {
  font-size: 14px;
}
.build-materials-summary {
  margin: 25px 0;
  padding: 20px;
  background: #f6f8ff;
  border: 1px solid #e1e8f7;
  border-radius: 12px;
}
.build-materials-summary h2 {
  font-size: 16px;
  margin-top: 0;
}
.build-materials-summary dl {
  margin: 0;
}
.build-materials-summary dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 15px;
  margin: 12px 0;
  font-size: 14px;
}
.build-materials-summary dt {
  color: #7e8da8;
}
.build-materials-summary dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-width: 0;
}
@media (max-width: 550px) {
  .build-materials-summary dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
}
