/* Wider desktop workspace for the website builder. */
@media (min-width: 1100px) {
  .progress-shell,
  .builder-layout {
    width: calc(100% - 48px);
    max-width: 1720px;
  }

  .builder-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(500px, 1fr);
    gap: 30px;
  }

  .builder-panel {
    padding: 46px 52px;
  }

  .two-column input,
  .two-column select {
    height: 48px;
    min-height: 48px;
    padding: 0 16px;
  }

  #other-business-type-field {
    grid-column: 2;
  }

  .preview-panel {
    padding: 18px;
  }

  .website-preview {
    min-height: 500px;
  }

  .preview-hero {
    min-height: 295px;
    padding: 62px 40px;
  }

  .preview-hero h2 {
    max-width: 560px;
    font-size: 2.55rem;
  }

  .preview-hero > p:not(:first-child) {
    max-width: 540px;
  }

  .price-card {
    padding: 22px;
  }
}

.builder-logo .brand-word {
  color: var(--ink);
}

.builder-account {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.monthly-plan-agreement {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f9fc;
}

.care-plan-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.care-plan-detail-card {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.care-plan-detail-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.care-plan-detail-card:has(input:checked) {
  border-color: #246bfe;
  background: #f1f5ff;
  box-shadow: 0 0 0 2px rgba(36,107,254,.12);
}

.care-plan-check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: .78rem;
  font-weight: 900;
}

.care-plan-detail-card:has(input:checked) .care-plan-check {
  border-color: #246bfe;
  background: #246bfe;
  color: #fff;
}

.care-plan-detail-card h3 {
  margin: 0 34px 14px 0;
  color: var(--ink);
  font-size: 1rem;
}

.care-plan-detail-card.no-care-plan p {
  margin-top: 18px;
}

.care-plan-detail-card ul {
  margin: 0;
  padding-left: 20px;
}

.care-plan-detail-card li {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}

.care-plan-detail-card p {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .care-plan-details {
    grid-template-columns: 1fr;
  }
}

.conditional-field[hidden] {
  display: none;
}

.price-lock-message {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #d9e4f5;
  text-align: center;
  font-weight: 700;
}

.price-card:not(.price-locked) .price-lock-message,
.price-card.price-locked .price-details {
  display: none;
}

.price-details > div {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.price-card > .price-details {
  display: block;
}

.preview-panel > .price-card,
.feature > strong {
  display: none;
}

.feature {
  grid-template-columns: auto 1fr;
}

.price-modal[hidden] {
  display: none;
}

.price-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.price-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, .72);
  backdrop-filter: blur(5px);
}

.price-modal-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 38px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.price-modal-dialog h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  letter-spacing: -.05em;
}

.price-modal-dialog > p:not(.eyebrow) {
  color: var(--muted);
}

.price-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal-total {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 24px;
  padding: 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}

.modal-deposit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(23,105,255,.3);
  border-radius: 14px;
  background: rgba(23,105,255,.07);
  color: var(--ink);
  font-weight: 700;
}

.modal-deposit strong {
  flex: 0 0 auto;
  color: var(--primary);
  font-size: 1.45rem;
}

.modal-total strong {
  font-size: 2rem;
}

#modal-estimate-items {
  list-style: none;
  margin: 14px 0 18px;
  padding: 0;
}

#modal-estimate-items li {
  display: flex;
  justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.modal-payment-note {
  margin: 12px 2px 22px;
  font-size: .88rem;
  line-height: 1.5;
}

.price-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 620px) {
  .price-modal-dialog {
    padding: 30px 20px 22px;
  }

  .price-modal-actions {
    flex-direction: column-reverse;
  }
}

.field-help {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: .75rem;
}

.field-message {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: #b45309;
  font-size: .75rem;
  font-weight: 700;
}

.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.photo-upload-grid .upload-box {
  margin-top: 12px;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.preview-actions .secondary-preview-action {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--blue);
}

.theme-bold .preview-actions .secondary-preview-action,
.preview-hero.has-main-photo .preview-actions .secondary-preview-action {
  color: #fff;
}

.preview-hero.has-main-photo {
  color: #fff;
  background-position: center;
  background-size: cover;
}

.preview-hero.has-main-photo > p:first-child,
.preview-hero.has-main-photo > p:not(:first-child) {
  color: #fff;
}

.preview-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 16px 16px;
}

.preview-gallery[hidden] {
  display: none;
}

.preview-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 620px) {
  .photo-upload-grid {
    grid-template-columns: 1fr;
  }
}
