.rc8-promotions-card {
  scroll-margin-top: 18px;
}

.rc8-promotions-card[hidden],
.rc8-promo-wizard[hidden] {
  display: none !important;
}

.rc8-promotions-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.rc8-promotions-heading h2 {
  margin: 3px 0 8px;
}

.rc8-promotions-heading p {
  margin: 0;
  color: #77756f;
  font-size: 14px;
  line-height: 1.45;
}

.rc8-promotion-create {
  width: 100%;
  margin: 20px 0 18px;
}

.rc8-promotion-list {
  display: grid;
  gap: 14px;
}

.rc8-promotion-row {
  overflow: hidden;
  border: 1px solid rgba(27,27,29,.07);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(30,26,22,.055);
}

.rc8-promotion-preview,
.rc8-review-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  color: #fff;
}

.rc8-promotion-preview {
  min-height: 116px;
  padding: 18px 20px;
}

.rc8-promotion-preview::after,
.rc8-review-preview::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -58px;
  top: -86px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
}

.tone-sunrise { background: linear-gradient(112deg,#f47c28,#f2a13a 55%,#f8c76e); }
.tone-ember { background: linear-gradient(112deg,#8f271f,#d84c31 52%,#f17a3b); }
.tone-citrus { background: linear-gradient(112deg,#779a1d,#b7c932 52%,#e7c545); }
.tone-forest { background: linear-gradient(112deg,#173d34,#2d7965 52%,#61aa87); }
.tone-berry { background: linear-gradient(112deg,#4c245e,#8b3472 50%,#c65386); }

.rc8-promotion-preview h3,
.rc8-review-preview h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 5px;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.rc8-promotion-preview h3 { font-size: 22px; }
.rc8-review-preview h3 { font-size: clamp(28px,7vw,42px); }

.rc8-promotion-preview p,
.rc8-review-preview p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.35;
}

.rc8-promotion-preview p { font-size: 13px; }
.rc8-review-preview p { font-size: 16px; }

.rc8-promotion-art,
.rc8-review-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.14);
}

.rc8-promotion-art {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  font-size: 30px;
}

.rc8-promotion-details {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.rc8-promotion-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #77756f;
  font-size: 12px;
}

.rc8-promotion-status {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.rc8-promotion-status.live { background: #e7f7ed; color: #14894e; }
.rc8-promotion-status.scheduled { background: #eef4ff; color: #2f6fd6; }
.rc8-promotion-status.ended,
.rc8-promotion-status.off { background: #f0efed; color: #716f6a; }

.rc8-promotion-empty {
  display: grid;
  gap: 6px;
  padding: 24px;
  border-radius: 26px;
  background: #f6f4f1;
  color: #77756f;
  line-height: 1.45;
}

.rc8-promotion-empty strong { color: #1b1b1d; }

.rc8-wizard-open,
.rc8-wizard-open body {
  overflow: hidden !important;
}

.rc8-promo-wizard {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #fff;
  color: #1b1b1d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, system-ui, sans-serif;
}

.rc8-wizard-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 4px minmax(0,1fr) auto;
}

.rc8-wizard-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: max(14px,env(safe-area-inset-top)) 22px 12px;
}

.rc8-wizard-brand {
  color: #f26a21;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.rc8-wizard-close,
.rc8-wizard-save-exit,
.rc8-wizard-back,
.rc8-wizard-next {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.rc8-wizard-close {
  justify-self: start;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4f3f1;
  color: #1b1b1d;
  font-size: 28px;
  line-height: 1;
}

.rc8-wizard-save-exit {
  justify-self: end;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d8d6d2;
  border-radius: 999px;
  background: #fff;
  color: #1b1b1d;
  font-size: 14px;
  font-weight: 650;
}

.rc8-wizard-progress { background: #eceae7; }
.rc8-wizard-progress span {
  display: block;
  width: 14%;
  height: 4px;
  background: #1b1b1d;
  transition: width .22s ease;
}

.rc8-wizard-body {
  overflow-y: auto;
  padding: clamp(34px,7vh,76px) 24px 130px;
}

.rc8-wizard-body > * {
  width: min(100%, 660px);
  margin-left: auto;
  margin-right: auto;
}

.rc8-question-head {
  margin-bottom: 34px;
}

.rc8-question-head > span {
  display: block;
  margin-bottom: 12px;
  color: #8b8984;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.rc8-question-head h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(38px,8vw,62px);
  font-weight: 620;
  line-height: .98;
  letter-spacing: -.055em;
}

.rc8-question-head p {
  margin: 18px 0 0;
  max-width: 560px;
  color: #77756f;
  font-size: 17px;
  line-height: 1.45;
}

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

.rc8-choice-card,
.rc8-wide-choice,
.rc8-tone-card {
  border: 1px solid #ddd9d4;
  background: #fff;
  color: #1b1b1d;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease,border-color .15s ease,box-shadow .15s ease;
}

.rc8-choice-card:hover,
.rc8-wide-choice:hover,
.rc8-tone-card:hover { transform: translateY(-1px); }

.rc8-choice-card.selected,
.rc8-wide-choice.selected,
.rc8-tone-card.selected {
  border-color: #1b1b1d;
  box-shadow: inset 0 0 0 2px #1b1b1d;
}

.rc8-choice-card {
  min-height: 160px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
}

.rc8-choice-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.rc8-choice-card strong { font-size: 18px; }
.rc8-choice-card small,
.rc8-wide-choice small { color: #77756f; font-size: 13px; line-height: 1.35; }

.rc8-big-field {
  position: relative;
  display: block;
}

.rc8-big-field input,
.rc8-big-field textarea,
.rc8-date-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbc8c2;
  border-radius: 18px;
  background: #fff;
  color: #1b1b1d;
  font: inherit;
  outline: none;
}

.rc8-big-field input {
  height: 76px;
  padding: 0 22px;
  font-size: 23px;
}

.rc8-big-field textarea {
  min-height: 190px;
  resize: vertical;
  padding: 20px 22px 38px;
  font-size: 20px;
  line-height: 1.45;
}

.rc8-big-field input:focus,
.rc8-big-field textarea:focus,
.rc8-date-field input:focus { border-color: #1b1b1d; box-shadow: inset 0 0 0 1px #1b1b1d; }

.rc8-big-field > small {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: #8b8984;
}

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

.rc8-tone-card {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
}

.rc8-tone-card span { font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .8; }
.rc8-tone-card strong { font-size: 20px; }
.rc8-tone-card.selected { border-color: #fff; box-shadow: inset 0 0 0 3px #fff,0 0 0 2px #1b1b1d; }

.rc8-stack-choices {
  display: grid;
  gap: 14px;
}

.rc8-wide-choice {
  min-height: 92px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
}

.rc8-wide-choice > span { font-size: 30px; text-align: center; }
.rc8-wide-choice div { display: grid; gap: 4px; }
.rc8-wide-choice strong { font-size: 18px; }

.rc8-date-field {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.rc8-date-field > span {
  color: #77756f;
  font-size: 13px;
  font-weight: 600;
}

.rc8-date-field input {
  height: 64px;
  padding: 0 18px;
  font-size: 17px;
}

.rc8-review-preview {
  min-height: 190px;
  padding: 28px;
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(30,26,22,.12);
}

.rc8-review-preview > div:first-child { position: relative; z-index: 1; }
.rc8-review-preview > div:first-child > span {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
}

.rc8-review-art {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  font-size: 38px;
}

.rc8-review-summary {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #e0ddd8;
  border-radius: 24px;
}

.rc8-review-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #eceae6;
}
.rc8-review-summary > div:last-child { border-bottom: 0; }
.rc8-review-summary span { color: #77756f; font-size: 14px; }
.rc8-review-summary strong { text-align: right; font-size: 15px; }

.rc8-wizard-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px max(14px,env(safe-area-inset-bottom));
  border-top: 1px solid #eceae7;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
}

.rc8-wizard-back {
  padding: 12px 0;
  background: transparent;
  color: #1b1b1d;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rc8-wizard-next {
  min-width: 142px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  background: #1b1b1d;
  color: #fff;
  font-weight: 700;
}

.rc8-wizard-next:disabled { opacity: .5; }

@media (max-width: 560px) {
  .rc8-promotion-preview { min-height: 108px; padding: 16px; }
  .rc8-promotion-preview h3 { font-size: 20px; }
  .rc8-promotions-heading { gap: 10px; }
  .rc8-choice-grid,
  .rc8-tone-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rc8-choice-card { min-height: 142px; padding: 18px; }
  .rc8-choice-card strong { font-size: 16px; }
  .rc8-question-head { margin-bottom: 26px; }
  .rc8-question-head h1 { font-size: clamp(36px,10vw,50px); }
  .rc8-question-head p { font-size: 16px; }
  .rc8-wizard-header { padding-left: 16px; padding-right: 16px; }
  .rc8-wizard-body { padding: 30px 16px 124px; }
  .rc8-wizard-footer { padding-left: 16px; padding-right: 16px; }
  .rc8-review-preview { min-height: 170px; padding: 22px; border-radius: 26px; }
  .rc8-review-art { width: 64px; height: 64px; border-radius: 21px; font-size: 32px; }
}

@media (max-width: 370px) {
  .rc8-choice-grid,
  .rc8-tone-grid { grid-template-columns: 1fr; }
}


.rc8-promo-social-helper {
  margin: 12px 0 0;
  color: #817d76;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.45;
}
