/* Sell That Cell workflow preview V1
   Preview-only styling for /phone?stc_preview=1 */

body.stc-workflow-preview {
  background:
    radial-gradient(circle at 12% 16%, rgba(10,143,53,.055), transparent 30%),
    radial-gradient(circle at 90% 72%, rgba(10,143,53,.05), transparent 28%),
    #ffffff;
  color: #071225;
}

.stc-workflow-page,
.stc-workflow-page * {
  box-sizing: border-box;
}

.stc-workflow-shell {
  width: min(1180px, calc(100% - 42px));
  margin: 0 auto;
  padding: 42px 0 58px;
}

.stc-workflow-top {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-bottom: 28px;
}

.stc-workflow-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 126px;
  height: 54px;
  padding: 0 22px;
  border-radius: 15px;
  background: rgba(255,255,255,.86);
  color: #071225 !important;
  text-decoration: none !important;
  border: 1px solid #edf1f4;
  box-shadow: 0 12px 28px rgba(7,18,37,.08);
  font-size: 18px;
  font-weight: 850;
  justify-self: start;
}

.stc-workflow-back span:first-child {
  color: #0aa53e;
  font-size: 24px;
  line-height: 1;
}

.stc-progress-card {
  justify-self: end;
  width: min(510px, 100%);
  min-height: 58px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid #edf1f4;
  box-shadow: 0 12px 30px rgba(7,18,37,.08);
  padding: 12px 18px;
}

.stc-progress-summary {
  font-size: 17px;
  font-weight: 850;
  color: #071225;
  white-space: nowrap;
}

.stc-progress-summary strong {
  color: #0aa53e;
}

.stc-progress-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0;
}

.stc-progress-step {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #8b94a6;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.stc-progress-step .dot {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #a9b2c2;
  background: #ffffff;
  color: transparent;
  font-size: 0;
}

.stc-progress-step.active {
  color: #0a8f35;
}

.stc-progress-step.active .dot {
  background: #0aa53e;
  border-color: #0aa53e;
  box-shadow: 0 0 0 4px rgba(10,165,62,.12);
}

.stc-progress-track .line {
  height: 2px;
  background: #cfd6e2;
  min-width: 54px;
  transform: translateY(-11px);
}

.stc-workflow-intro-card {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  padding: 38px 56px;
  text-align: center;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,253,248,.97) 56%, rgba(251,248,241,.96) 100%);
  border: 1px solid #edf1f4;
  box-shadow: 0 16px 38px rgba(7,18,37,.075);
}

.stc-workflow-intro-card h1 {
  margin: 0 0 16px;
  color: #071225;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.04em;
}

.stc-workflow-intro-card p {
  width: min(640px, 100%);
  margin: 0 auto;
  color: #526079;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
  font-weight: 600;
}

.stc-brand-grid {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  justify-content: center;
}

.stc-brand-card {
  min-height: 150px;
  border-radius: 17px;
  background: rgba(255,255,255,.92);
  border: 1px solid #edf1f4;
  box-shadow: 0 12px 30px rgba(7,18,37,.065);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none !important;
  color: #071225 !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stc-brand-card:hover,
.stc-brand-card:focus {
  transform: translateY(-3px);
  border-color: rgba(10,143,53,.25);
  box-shadow: 0 18px 40px rgba(7,18,37,.11);
  outline: none;
}

.stc-brand-card img {
  max-width: 170px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.stc-brand-card span {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 850;
}

.stc-brand-grid .stc-brand-card:nth-child(n+5) {
  transform: translateX(calc(50% + 9px));
}

.stc-brand-grid .stc-brand-card:nth-child(n+5):hover,
.stc-brand-grid .stc-brand-card:nth-child(n+5):focus {
  transform: translateX(calc(50% + 9px)) translateY(-3px);
}

.stc-workflow-trust {
  width: min(1010px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #edf1f4;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(7,18,37,.065);
  border-radius: 17px;
  overflow: hidden;
}

.stc-trust-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 24px 34px;
}

.stc-trust-item + .stc-trust-item {
  border-left: 1px solid #dfe6ee;
}

.stc-trust-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0aa53e;
}

.stc-trust-icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.stc-trust-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
  color: #071225;
}

.stc-trust-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  color: #526079;
}

.stc-workflow-empty {
  text-align: center;
  padding: 40px 20px;
}

.stc-workflow-description {
  display: none;
}

body.stc-workflow-preview #haveQuestion,
body.stc-workflow-preview #whyChoose {
  display: none !important;
}

@media (max-width: 991px) {
  .stc-workflow-shell {
    width: min(100% - 34px, 780px);
    padding: 28px 0 42px;
  }

  .stc-workflow-top {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 26px;
  }

  .stc-workflow-back {
    min-width: 150px;
    height: 64px;
    border-radius: 20px;
    font-size: 20px;
  }

  .stc-progress-card {
    min-height: 64px;
    grid-template-columns: 145px minmax(0, 1fr);
    border-radius: 20px;
    padding: 12px 14px;
  }

  .stc-progress-summary {
    font-size: 21px;
  }

  .stc-progress-step {
    font-size: 13px;
  }

  .stc-progress-track .line {
    min-width: 34px;
  }

  .stc-workflow-intro-card {
    margin-bottom: 28px;
    padding: 46px 28px;
    border-radius: 22px;
  }

  .stc-workflow-intro-card h1 {
    font-size: clamp(32px, 7vw, 44px);
  }

  .stc-workflow-intro-card p {
    font-size: 22px;
    line-height: 1.55;
  }

  .stc-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 680px);
    gap: 16px;
  }

  .stc-brand-grid .stc-brand-card:nth-child(n+5),
  .stc-brand-grid .stc-brand-card:nth-child(n+5):hover,
  .stc-brand-grid .stc-brand-card:nth-child(n+5):focus {
    transform: none;
  }

  .stc-brand-grid .stc-brand-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }

  .stc-brand-card {
    min-height: 168px;
    border-radius: 15px;
  }

  .stc-brand-card img {
    max-width: 190px;
    max-height: 74px;
  }

  .stc-brand-card span {
    font-size: 20px;
  }

  .stc-workflow-trust {
    width: min(100%, 640px);
    grid-template-columns: 1fr;
    margin-top: 26px;
    border-radius: 17px;
  }

  .stc-trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 26px;
  }

  .stc-trust-item + .stc-trust-item {
    border-left: 0;
    border-top: 1px solid #dfe6ee;
  }

  .stc-trust-item h3,
  .stc-trust-item p {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .stc-workflow-shell {
    width: calc(100% - 28px);
    padding-top: 24px;
  }

  .stc-workflow-top {
    grid-template-columns: 1fr;
  }

  .stc-workflow-back {
    width: 120px;
    min-width: 120px;
    height: 52px;
    font-size: 17px;
  }

  .stc-progress-card {
    justify-self: stretch;
    width: 100%;
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 58px;
    padding: 10px 12px;
  }

  .stc-progress-summary {
    font-size: 17px;
  }

  .stc-progress-step {
    font-size: 11px;
  }

  .stc-progress-step .dot {
    width: 13px;
    height: 13px;
  }

  .stc-progress-track .line {
    min-width: 18px;
    transform: translateY(-10px);
  }

  .stc-workflow-intro-card {
    padding: 34px 20px;
  }

  .stc-workflow-intro-card h1 {
    font-size: 31px;
  }

  .stc-workflow-intro-card p {
    font-size: 17px;
  }

  .stc-brand-grid {
    gap: 12px;
  }

  .stc-brand-card {
    min-height: 128px;
  }

  .stc-brand-card img {
    max-width: 118px;
    max-height: 54px;
  }

  .stc-brand-card span {
    font-size: 16px;
  }
}


/* --- Workflow preview V2: /phone/apple model-selection page --- */

body.stc-apple-model-preview .stc-progress-track .line:nth-of-type(1) {
  background: #0aa53e;
}

body.stc-apple-model-preview .stc-progress-step.is-complete {
  color: #0a8f35;
}

body.stc-apple-model-preview .stc-progress-step.is-complete .dot {
  background: #0aa53e;
  border-color: #0aa53e;
  color: transparent;
}

body.stc-apple-model-preview .stc-progress-step.active .dot {
  background: #0aa53e;
  border-color: #0aa53e;
}

.stc-model-helper-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -10px auto 26px;
}

.stc-model-helper-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(10,143,53,.18);
  background: rgba(255,255,255,.9);
  color: #0a7f30 !important;
  text-decoration: none !important;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(7,18,37,.06);
}

.stc-model-helper-btn:hover,
.stc-model-helper-btn:focus {
  color: #087229 !important;
  border-color: rgba(10,143,53,.32);
  box-shadow: 0 14px 30px rgba(7,18,37,.09);
  outline: none;
}

.stc-model-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stc-model-card {
  min-height: 238px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid #edf1f4;
  box-shadow: 0 12px 30px rgba(7,18,37,.065);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: center;
  padding: 22px 16px 18px;
  text-decoration: none !important;
  color: #071225 !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stc-model-card:hover,
.stc-model-card:focus {
  transform: translateY(-3px);
  border-color: rgba(10,143,53,.25);
  box-shadow: 0 18px 40px rgba(7,18,37,.11);
  outline: none;
}

.stc-model-card .stc-model-img {
  height: 118px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stc-model-card .stc-model-img img {
  max-width: 100%;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.stc-model-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -.015em;
  font-weight: 950;
  color: #071225;
}

.stc-model-card .stc-model-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(10,143,53,.095);
  color: #087229;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.stc-missing-product-card {
  border-style: dashed;
}

.stc-model-faq-block {
  width: min(1050px, calc(100% - 42px));
  margin: 6px auto 58px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.stc-model-faq-intro,
.stc-model-faq-list {
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid #edf1f4;
  box-shadow: 0 14px 34px rgba(7,18,37,.06);
}

.stc-model-faq-intro {
  padding: 30px 30px;
}

.stc-model-faq-intro .eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #0a8f35;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stc-model-faq-intro h2 {
  margin: 0 0 13px;
  color: #071225;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 950;
}

.stc-model-faq-intro p {
  margin: 0;
  color: #526079;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
}

.stc-model-faq-list {
  padding: 10px 0;
  overflow: hidden;
}

.stc-model-faq-item {
  padding: 20px 26px;
}

.stc-model-faq-item + .stc-model-faq-item {
  border-top: 1px solid #edf1f4;
}

.stc-model-faq-item h3 {
  margin: 0 0 8px;
  color: #071225;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 950;
}

.stc-model-faq-item p {
  margin: 0;
  color: #526079;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

body.stc-apple-model-preview .stc-workflow-description {
  display: none !important;
}

body.stc-apple-model-preview .faq_page {
  display: none !important;
}

body.stc-apple-model-preview #whyChoose {
  display: none !important;
}

@media (max-width: 991px) {
  .stc-model-grid {
    width: min(100%, 760px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .stc-model-card {
    min-height: 226px;
  }

  .stc-model-faq-block {
    grid-template-columns: 1fr;
    width: min(100% - 34px, 760px);
    margin-bottom: 46px;
  }
}

@media (max-width: 640px) {
  .stc-model-helper-row {
    margin-top: -8px;
  }

  .stc-model-helper-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 50px;
  }

  .stc-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stc-model-card {
    min-height: 194px;
    padding: 18px 12px 15px;
  }

  .stc-model-card .stc-model-img {
    height: 96px;
  }

  .stc-model-card .stc-model-img img {
    max-height: 96px;
  }

  .stc-model-card h2 {
    font-size: 15px;
  }

  .stc-model-card .stc-model-price {
    min-height: 30px;
    font-size: 13px;
    padding: 0 10px;
  }

  .stc-model-faq-intro,
  .stc-model-faq-list {
    border-radius: 18px;
  }

  .stc-model-faq-intro {
    padding: 24px 22px;
  }

  .stc-model-faq-item {
    padding: 18px 20px;
  }
}


/* --- Workflow preview V2.1: model helper popup polish --- */

.stc-model-help-modal .modal-dialog {
  max-width: 820px;
}

.stc-model-help-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(7,18,37,.22);
}

.stc-model-help-modal .modal-header {
  align-items: flex-start;
  padding: 28px 32px 22px;
  border-bottom: 1px solid #edf1f4;
  background:
    radial-gradient(circle at 92% 20%, rgba(10,143,53,.12), transparent 28%),
    linear-gradient(90deg, #ffffff 0%, #fbf8f1 100%);
}

.stc-model-help-modal .modal-header .close {
  opacity: 1;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7,18,37,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: -4px -4px 0 12px;
  padding: 0;
}

.stc-model-help-modal .modal-header .close img {
  max-width: 14px;
  max-height: 14px;
}

.stc-modal-kicker {
  margin: 0 0 8px;
  color: #0a8f35;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stc-model-help-modal .modal-title {
  margin: 0;
  color: #071225;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 950;
}

.stc-model-help-modal .modal-body {
  padding: 28px 32px 32px;
  background: #ffffff;
}

.stc-model-help-intro {
  border-radius: 18px;
  background: #f8fbf9;
  border: 1px solid #edf1f4;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.stc-model-help-intro p {
  margin: 0;
  color: #526079;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 650;
}

.stc-model-help-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stc-model-help-step {
  border-radius: 18px;
  border: 1px solid #edf1f4;
  box-shadow: 0 10px 26px rgba(7,18,37,.055);
  padding: 18px;
  background: #ffffff;
}

.stc-step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0aa53e;
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  margin-bottom: 12px;
}

.stc-model-help-step h6 {
  margin: 0 0 7px;
  color: #071225;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
}

.stc-model-help-step p {
  margin: 0;
  color: #526079;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.stc-model-number-list {
  max-height: 260px;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid #edf1f4;
  background: #fbfcfd;
}

.stc-model-number-link {
  display: grid;
  grid-template-columns: minmax(160px, .42fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  color: #071225 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #edf1f4;
}

.stc-model-number-link:last-child {
  border-bottom: 0;
}

.stc-model-number-link:hover,
.stc-model-number-link:focus {
  background: #f3fbf5;
  outline: none;
}

.stc-model-number-link strong {
  font-weight: 950;
}

.stc-model-number-link span {
  color: #526079;
  font-weight: 650;
}

.stc-model-help-note {
  margin-top: 18px;
  border-radius: 16px;
  background: rgba(10,143,53,.08);
  color: #071225;
  padding: 15px 18px;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.stc-model-help-note strong {
  color: #087229;
}

@media (max-width: 767px) {
  .stc-model-help-modal .modal-dialog {
    margin: 12px;
  }

  .stc-model-help-modal .modal-header,
  .stc-model-help-modal .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .stc-model-help-steps {
    grid-template-columns: 1fr;
  }

  .stc-model-number-link {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}


/* --- Workflow preview V2.2: cleaner model-help popup with collapsed model numbers --- */

.stc-model-example-card {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, #ffffff 0%, #fbf8f1 100%);
  border: 1px solid #edf1f4;
  box-shadow: 0 10px 26px rgba(7,18,37,.05);
  margin: 18px 0;
}

.stc-example-phone-screen {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dfe6ee;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
  overflow: hidden;
}

.stc-example-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border-bottom: 1px solid #edf1f4;
  color: #526079;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.stc-example-row:last-child {
  border-bottom: 0;
}

.stc-example-row strong {
  color: #071225;
  text-align: right;
  font-weight: 950;
}

.stc-model-example-card p {
  margin: 0;
  color: #526079;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
}

.stc-model-number-details {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid #edf1f4;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(7,18,37,.045);
}

.stc-model-number-details summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  color: #087229;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
  background: #f8fbf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stc-model-number-details summary::-webkit-details-marker {
  display: none;
}

.stc-model-number-details summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(10,143,53,.1);
  color: #087229;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  font-weight: 950;
}

.stc-model-number-details[open] summary::after {
  content: "–";
}

.stc-model-number-details .stc-model-number-list {
  border: 0;
  border-top: 1px solid #edf1f4;
  border-radius: 0;
  box-shadow: none;
  max-height: 245px;
}

@media (max-width: 767px) {
  .stc-model-example-card {
    grid-template-columns: 1fr;
  }

  .stc-example-row {
    font-size: 13px;
  }

  .stc-model-number-details summary {
    font-size: 15px;
    padding: 15px 16px;
  }
}


/* --- Workflow preview V2.4: simplified model-helper popup --- */

.stc-model-help-step .stc-step-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.stc-model-help-step .stc-step-heading .stc-step-num {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.stc-model-help-step .stc-step-heading h6 {
  margin: 0;
}

/* The example/model-number blocks were removed from the V2.4 popup. */
.stc-model-example-card,
.stc-model-number-details {
  display: none !important;
}


/* --- Workflow preview V2.5: hard-fix popup step title alignment --- */

.stc-model-help-modal .stc-model-help-step {
  display: block !important;
}

.stc-model-help-modal .stc-step-heading {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 0 10px 0 !important;
  white-space: nowrap !important;
}

.stc-model-help-modal .stc-step-heading .stc-step-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 999px !important;
  background: #0aa53e !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stc-model-help-modal .stc-step-heading h6 {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #071225 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

.stc-model-help-modal .stc-model-help-step > p {
  margin: 0 !important;
  color: #526079 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}


/* --- Workflow preview V2.6: no-separate-number fallback for modal steps --- */

.stc-model-help-modal .stc-simple-help-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}

.stc-model-help-modal .stc-simple-help-step {
  border-radius: 18px !important;
  border: 1px solid #edf1f4 !important;
  box-shadow: 0 10px 26px rgba(7,18,37,.055) !important;
  padding: 18px !important;
  background: #ffffff !important;
}

.stc-model-help-modal .stc-simple-help-step p {
  margin: 0 !important;
  color: #526079 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

.stc-model-help-modal .stc-simple-help-step p:first-child {
  margin-bottom: 9px !important;
}

.stc-model-help-modal .stc-simple-help-step p:first-child strong {
  color: #071225 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

@media (max-width: 767px) {
  .stc-model-help-modal .stc-simple-help-steps {
    grid-template-columns: 1fr !important;
  }
}
