body.onboarding {
  background: #f8fafc;
}
.setup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 38px;
}
.setup-header .brand {
  color: #344253;
  font-size: 23px;
}
.setup-header .brand svg {
  stroke: #3b4f66;
  width: 29px;
}
.setup-skip {
  font-size: 11px;
  color: #8493a6;
}
.setup-skip span {
  margin-left: 8px;
}
.setup-main {
  width: min(830px, 100%);
  margin: 0 auto;
  padding: 19px 35px 25px;
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 7px auto 43px;
}
.stepper span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #98a7b9;
  font-size: 10px;
}
.stepper b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #e0e7ef;
  border-radius: 50%;
  font-weight: 500;
  font-size: 10px;
  background: white;
}
.stepper .current {
  color: #3f7fc9;
}
.stepper .current b {
  color: white;
  background: #2c7bd9;
  border-color: #2c7bd9;
  box-shadow: 0 0 0 4px #edf4fc;
}
.stepper .complete b {
  color: #3d7bc3;
  background: #eaf3fe;
  border-color: #d7e8fb;
}
.stepper i {
  width: 46px;
  height: 1px;
  background: #e4eaf1;
}
.setup-intro {
  text-align: center;
  margin-bottom: 32px;
}
.setup-kicker {
  color: #7f9abc;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 550;
  margin-bottom: 13px;
}
.setup-intro h1 {
  font-size: 35px;
  letter-spacing: -1.15px;
  font-weight: 620;
  line-height: 1.18;
  margin: 0 0 14px;
  color: #2e4055;
}
.setup-intro p {
  color: #7b8da3;
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  border: 1px solid #e2e9f2;
  border-radius: 11px;
  background: white;
  padding: 17px;
  min-height: 100px;
  color: #60768f;
  box-shadow: 0 2px 4px #23395403;
}
.role-card:hover {
  border-color: #aecceb;
  box-shadow: 0 4px 14px #2463a30a;
}
.role-card .role-icon {
  color: #839bb6;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #f4f7fb;
  border-radius: 7px;
}
.role-card .role-icon svg {
  width: 17px;
  height: 17px;
}
.role-card strong {
  font-size: 12px;
  font-weight: 530;
  line-height: 1.4;
  padding-right: 8px;
}
.role-card.selected {
  background: #f3f8ff;
  border-color: #82b1e9;
  box-shadow: 0 0 0 1px #e3effe inset;
}
.role-card.selected .role-icon {
  color: #387dcc;
  background: #e7f1ff;
}
.role-card.selected::after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 10px;
  color: white;
  background: #3d87dc;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.other-role {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  color: #7c90aa;
}
.other-role input {
  display: block;
  width: 100%;
  padding: 11px;
  border: 1px solid #dce6f2;
  border-radius: 7px;
  margin-top: 7px;
  color: #526e8e;
  background: white;
}
.setup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 27px;
}
.setup-actions > span {
  font-size: 10px;
  color: #8c9db2;
}
.setup-actions > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.setup-actions .primary {
  padding: 11px 19px;
  font-size: 12px;
  border-radius: 8px;
  min-width: 126px;
}
.setup-actions .primary span {
  margin-left: 9px;
}
.setup-back {
  border: 0;
  background: none;
  font-size: 11px;
  color: #7f94ae;
  padding: 8px 0;
}
.setup-back:hover {
  color: #387dcc;
}
.observed-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 39px auto 0;
  padding-top: 27px;
  border-top: 1px solid #e7edf4;
  flex-wrap: wrap;
}
.observed-strip .logo-or-monogram {
  margin-left: -5px;
  border: 3px solid #f8fafc;
}
.observed-strip p {
  font-size: 10px;
  color: #93a3b7;
  margin-left: 13px;
  max-width: 220px;
}
.logo-or-monogram {
  width: 39px;
  height: 39px;
  border: 1px solid #e3ebf4;
  border-radius: 11px;
  background: #eff4fa;
  display: grid;
  place-items: center;
  color: #829ab7;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  flex: none;
}
.logo-or-monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}
.focus-panel {
  border: 1px solid #e3eaf3;
  border-radius: 13px;
  padding: 26px;
  background: white;
  box-shadow: 0 5px 20px #2c518209;
}
.website-label {
  display: flex;
  justify-content: space-between;
  color: #66809f;
  font-size: 11px;
  font-weight: 550;
  margin-bottom: 9px;
}
.website-label span {
  color: #a3b0c1;
  font-size: 10px;
  font-weight: 400;
}
.website-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  padding: 0 13px;
}
.website-field:focus-within {
  border-color: #8db8e9;
  box-shadow: 0 0 0 3px #f0f6ff;
}
.website-field span {
  color: #91a5be;
}
.website-field input {
  border: 0;
  outline: none;
  width: 100%;
  padding: 12px 0;
  color: #4f6c8e;
  background: none;
  font-size: 12px;
}
.website-field input::placeholder {
  color: #a2b0c2;
}
.focus-note {
  color: #91a1b6;
  font-size: 10px;
  line-height: 1.7;
  margin: 9px 0 0;
}
.focus-divider {
  margin: 25px 0;
  border-top: 1px solid #edf1f7;
}
#industry {
  width: 100%;
  max-width: none;
  padding: 11px;
  border-radius: 8px;
  color: #7088a5;
}
.task-label {
  margin-top: 24px;
}
.task-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.task-option {
  padding: 8px 12px;
  border: 1px solid #e1e9f3;
  border-radius: 7px;
  color: #7b90aa;
  background: #fcfdff;
  font-size: 11px;
}
.task-option.selected {
  color: #397fce;
  border-color: #a7c9f0;
  background: #f0f7ff;
}
.setup-footer {
  font-size: 10px;
  margin-top: 41px;
  color: #a0aec0;
}
.setup-footer span {
  margin: 0 10px;
}
#setupStatus {
  font-size: 11px;
  color: #986d4d;
  text-align: center;
  margin-bottom: 12px;
}
.preview-step {
  width: 100%;
}
.preview-context {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: -9px;
  margin-bottom: 25px;
}
.preview-context span {
  font-size: 10px;
  color: #7998bd;
  background: #eef5fd;
  border: 1px solid #e2edfa;
  padding: 4px 9px;
  border-radius: 5px;
}
.preparation {
  text-align: center;
  background: white;
  border: 1px solid #e1eaf4;
  border-radius: 13px;
  padding: 48px 25px;
  margin: 0 0 25px;
}
.preparation h3 {
  font-size: 16px;
  font-weight: 550;
  color: #6c87a9;
  margin: 17px 0 8px;
}
.preparation p {
  font-size: 11px;
  color: #93a7c0;
}
.preparation-orbit {
  height: 39px;
  width: 39px;
  border: 2px solid #e4eefb;
  border-top-color: #498cdb;
  border-radius: 50%;
  margin: auto;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.suggestion-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 21px 0 13px;
}
.suggestion-heading h2 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.3px;
  color: #4e6a8c;
}
.suggestion-heading p {
  font-size: 10px;
  color: #91a4bc;
  margin: 5px 0 0;
}
.advertiser-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.advertiser-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e9f4;
  border-radius: 10px;
  background: white;
  padding: 12px;
  text-align: left;
  color: #6d87a9;
  position: relative;
}
.advertiser-option.selected {
  border-color: #a3c7f0;
  background: #f4f9ff;
}
.advertiser-option .logo-or-monogram {
  width: 34px;
  height: 34px;
  font-size: 10px;
  border-radius: 9px;
}
.advertiser-text {
  min-width: 0;
}
.advertiser-option strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.advertiser-option small {
  display: block;
  font-size: 9px;
  color: #9caec3;
  margin-top: 3px;
}
.advertiser-option .selected-mark {
  position: absolute;
  right: 7px;
  top: 5px;
  color: #649bdb;
  font-size: 9px;
}
.ad-preview-heading {
  margin-top: 29px;
}
.setup-ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.setup-ad {
  overflow: hidden;
  border: 1px solid #e1eaf5;
  border-radius: 10px;
  background: white;
}
.setup-ad-head {
  padding: 11px 12px;
  font-size: 10px;
  color: #657f9f;
  font-weight: 550;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.setup-ad-media {
  height: 180px;
  background: #eef3f9;
  display: grid;
  place-items: center;
  color: #91a4bb;
  font-size: 10px;
}
.setup-ad-media img,
.setup-ad-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.setup-ad-copy {
  padding: 10px 12px;
  font-size: 10px;
  color: #8ca1bb;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.preview-source {
  text-align: right;
  font-size: 9px;
  color: #a0b0c5;
  margin: 9px 0 20px;
}
.mix-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 16px;
  background: #f0f5fc;
  border: 1px solid #e5edf8;
  border-radius: 8px;
  color: #91a8c5;
}
.mix-note > span {
  color: #81a5d0;
  font-size: 21px;
}
.mix-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}
.mix-note strong {
  font-weight: 550;
  color: #728dad;
}
.preview-error {
  border: 1px solid #eee3d3;
  background: #fffcf6;
  border-radius: 10px;
  padding: 22px;
  font-size: 12px;
  color: #997f5d;
}
.preview-error .button {
  margin-top: 15px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 650px) {
  .setup-header {
    padding: 21px;
  }
  .setup-main {
    padding: 10px 20px 20px;
  }
  .setup-intro h1 {
    font-size: 29px;
  }
  .setup-intro p {
    font-size: 12px;
  }
  .stepper {
    gap: 9px;
    margin: 10px 0 34px;
  }
  .stepper i {
    width: 18px;
  }
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .role-card {
    padding: 14px;
    min-height: 96px;
  }
  .setup-actions > span {
    max-width: 150px;
  }
  .setup-actions > div {
    gap: 13px;
  }
  .focus-panel {
    padding: 19px;
  }
  .advertiser-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .setup-ad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setup-footer {
    font-size: 9px;
  }
  .setup-footer span {
    margin: 0 5px;
  }
  .setup-actions .primary {
    padding: 10px 13px;
  }
  .setup-skip {
    font-size: 10px;
  }
  .setup-header .brand {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preparation-orbit {
    animation: none;
  }
}
/* The context panel becomes the actual preview as setup progresses. */
.setup-main {
  width: min(1190px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 44px;
  align-items: start;
  padding-top: 21px;
}
.setup-form-pane {
  padding-top: 4px;
  min-width: 0;
}
.setup-intro {
  text-align: left;
}
.stepper {
  justify-content: flex-start;
  margin-bottom: 37px;
}
.setup-intro h1 {
  font-size: 32px;
}
.role-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.role-card {
  min-height: 84px;
  padding: 13px 15px;
  gap: 7px;
}
.role-card .role-icon {
  height: 24px;
  width: 24px;
}
.role-card strong {
  font-size: 11px;
}
.setup-context {
  background: #edf4fd;
  border: 1px solid #e2ecfa;
  border-radius: 20px;
  padding: 34px 29px;
  min-height: 565px;
  margin-top: 1px;
  position: sticky;
  top: 24px;
}
.context-eyebrow {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #8ba7cc;
  margin-top: 17px;
}
.setup-context #contextIntro h2 {
  color: #4777b0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  font-weight: 550;
  margin: 22px 0;
}
.setup-context #contextIntro > p {
  font-size: 13px;
  color: #7c9cc5;
  line-height: 1.9;
}
.context-divider {
  width: 37px;
  border-top: 2px solid #abc8ec;
  margin: 31px 0;
}
.setup-context #contextIntro .context-detail {
  font-size: 11px;
  line-height: 1.8;
  max-width: 270px;
}
.setup-context .observed-strip {
  border-color: #dce8f8;
  margin-top: 48px;
  justify-content: flex-start;
}
.setup-context .observed-strip .logo-or-monogram {
  border-color: #edf4fd;
  background: white;
}
.setup-context .observed-strip p {
  color: #839fc4;
  max-width: 220px;
}
.setup-context .preview-context {
  justify-content: flex-start;
  margin-top: 0;
}
.setup-context .suggestion-heading {
  margin-top: 0;
}
.setup-context .advertiser-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.setup-context .advertiser-option {
  padding: 9px;
  gap: 7px;
}
.setup-context .advertiser-option .logo-or-monogram {
  width: 28px;
  height: 28px;
}
.setup-context .advertiser-option strong {
  font-size: 10px;
}
.setup-context .setup-ad-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.setup-context .setup-ad-media {
  height: 170px;
}
.setup-context .ad-preview-heading {
  margin-top: 24px;
}
.setup-context .mix-note {
  background: #f6faff;
}
.setup-context .preview-source {
  text-align: left;
}
.preview-step .setup-actions {
  align-items: center;
}
.setup-footer {
  text-align: left;
}
@media (max-width: 1000px) {
  .setup-main {
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  }
  .setup-context {
    padding: 26px 21px;
  }
  .setup-intro h1 {
    font-size: 28px;
  }
  .setup-actions {
    flex-wrap: wrap;
  }
  .role-card strong {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .setup-main {
    display: block;
    max-width: 590px;
  }
  .setup-context {
    position: static;
    min-height: 0;
    margin-top: 25px;
  }
  .setup-context #contextIntro {
    display: none;
  }
  .setup-context:has(#previewContent[hidden]):has(#observedStrip[hidden]) {
    display: none;
  }
  .setup-context .observed-strip {
    margin-top: 0;
    padding-top: 0;
    border: 0;
  }
  .setup-footer {
    text-align: center;
  }
  .setup-intro h1 {
    font-size: 31px;
  }
  .role-card strong {
    font-size: 12px;
  }
  .role-card {
    min-height: 90px;
  }
  .stepper {
    justify-content: center;
  }
  .setup-intro {
    text-align: center;
  }
  .setup-context .setup-ad-media {
    height: 210px;
  }
}
/* Keep the initial decision and Continue visible on common laptop screens. */
@media (min-width: 761px) {
  .setup-header {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .setup-main {
    padding-top: 8px;
  }
  .stepper {
    margin-top: 0;
    margin-bottom: 28px;
  }
  .setup-intro {
    margin-bottom: 23px;
  }
  .setup-intro h1 {
    font-size: 30px;
    margin-bottom: 11px;
  }
  .setup-kicker {
    margin-bottom: 10px;
  }
  .role-card {
    flex-direction: row;
    align-items: center;
    min-height: 61px;
    padding: 12px 14px;
    gap: 11px;
  }
  .role-card .role-icon {
    width: 29px;
    height: 29px;
    flex: none;
  }
  .role-card strong {
    padding-right: 8px;
  }
  .role-card.selected::after {
    width: 12px;
    height: 12px;
    font-size: 8px;
    right: 5px;
    top: 5px;
  }
  .setup-actions {
    margin-top: 20px;
  }
  .setup-footer {
    margin-top: 27px;
  }
}
#previewSelections .preview-context {
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 19px;
}
#previewSelections .advertiser-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#previewSelections .advertiser-option {
  padding: 10px 8px;
  gap: 7px;
}
#previewSelections .advertiser-option .logo-or-monogram {
  width: 27px;
  height: 27px;
  font-size: 9px;
  border-radius: 7px;
}
#previewSelections .advertiser-option strong {
  font-size: 10px;
}
#previewSelections .advertiser-option small {
  font-size: 8px;
}
#previewSelections .task-option {
  padding: 6px 9px;
  font-size: 10px;
}
#previewSelections .suggestion-heading {
  margin-top: 18px;
}
#previewSelections .suggestion-heading h2 {
  font-size: 14px;
}
.setup-context .ad-preview-heading {
  margin-top: 0;
}
.setup-context .setup-ad:last-child {
  display: block;
}
.setup-context .setup-ad:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.setup-context .setup-ad:last-child:nth-child(odd) .setup-ad-media {
  height: 185px;
}
.preview-step .setup-intro {
  margin-bottom: 20px;
}
@media (max-width: 650px) {
  #previewSelections .advertiser-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .setup-context .setup-ad:last-child:nth-child(odd) .setup-ad-media {
    height: 210px;
  }
}
/* Website starts preparation while the remaining setup stays lightweight. */
.stepper {
  gap: 10px;
}
.stepper i {
  width: 23px;
}
#step1 .focus-panel {
  margin-top: 29px;
}
@media (max-width: 650px) {
  .stepper {
    gap: 6px;
  }
  .stepper i {
    width: 9px;
  }
  .stepper span {
    gap: 5px;
    font-size: 9px;
  }
  .stepper b {
    width: 19px;
    height: 19px;
  }
}
