.bb-intake {
  padding: 28px;
  border: 1px solid #ead7c6;
  border-radius: 8px;
  background: #ffffff;
}

.bb-intake-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.bb-intake-progress span {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fbf4ee;
  color: #5d4a3f;
  font-size: 13px;
  font-weight: 800;
}

.bb-intake-progress span.is-active {
  background: #7a3f1d;
  color: #fff;
}

.bb-step {
  display: none;
}

.bb-step.is-active {
  display: block;
}

.bb-step h2 {
  margin-top: 0;
}

.bb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bb-wide {
  grid-column: 1 / -1;
}

.bb-intake label,
.bb-intake legend {
  display: grid;
  gap: 6px;
  color: #324337;
  font-weight: 800;
}

.bb-intake-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff3e8;
  color: #5d4a3f;
  font-weight: 700;
}

.bb-intake-note a {
  color: #7a3f1d;
  font-weight: 900;
}

.bb-intake input,
.bb-intake select,
.bb-intake textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d8c0ab;
  border-radius: 8px;
  background: #fff;
  color: #201713;
  font: inherit;
}

.bb-intake textarea {
  resize: vertical;
}

.bb-intake fieldset {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid #ead7c6;
  border-radius: 8px;
}

.bb-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 700 !important;
}

.bb-check input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.bb-intake-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.bb-prev {
  background: #fbf4ee !important;
  color: #201713 !important;
}

.bb-submit {
  display: none !important;
}

.bb-submit.is-active {
  display: inline-flex !important;
}

.bb-next.is-hidden,
.bb-prev.is-hidden {
  display: none !important;
}

.bb-intake-alert {
  display: none;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 8px;
  background: #edf4ee;
  color: #201713;
  font-weight: 700;
}

.bb-intake-alert.is-error {
  display: block;
  background: #fff1ed;
  color: #7a2d18;
}

.bb-intake-alert.is-success {
  display: block;
  background: #edf7fb;
  color: #7a3f1d;
}

@media (max-width: 760px) {
  .bb-intake {
    padding: 18px;
  }

  .bb-intake-progress,
  .bb-form-grid {
    grid-template-columns: 1fr;
  }
}
