:root {
  --bwfc-ink: #171722;
  --bwfc-muted: #6c6978;
  --bwfc-line: #e6e2eb;
  --bwfc-soft: #f8f6fa;
  --bwfc-purple: #6f2bf4;
  --bwfc-purple-deep: #4d16bd;
  --bwfc-pink: #e5268f;
  --bwfc-mint: #dff8ee;
  --bwfc-green: #09785c;
  --bwfc-red: #a53446;
  --bwfc-shadow: 0 22px 65px rgba(31, 20, 54, 0.12);
}

html {
  background: #eee8f1;
  scroll-behavior: smooth;
}

body.bwf-commerce-page {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 9% 8%, rgba(231, 38, 143, 0.08), transparent 26rem),
    radial-gradient(circle at 91% 92%, rgba(111, 43, 244, 0.09), transparent 30rem),
    #eee8f1;
  color: var(--bwfc-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body.bwf-commerce-page.admin-bar .bwfc-shell {
  min-height: calc(100vh - 32px);
}

.bwfc-shell,
.bwfc-shell * {
  box-sizing: border-box;
}

.bwfc-shell {
  width: min(1440px, calc(100% - 24px));
  min-height: calc(100vh - 24px);
  margin: 12px auto;
  overflow: hidden;
  border: 1px solid rgba(55, 31, 78, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--bwfc-shadow);
}

.bwfc-topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 260px minmax(280px, 560px) 260px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--bwfc-line);
  background: rgba(255, 255, 255, 0.96);
}

.bwfc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--bwfc-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.bwfc-brand small {
  margin-left: 5px;
  padding-left: 13px;
  border-left: 1px solid #cfc8d5;
  color: #383443;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.bwfc-brand-logo {
  display: block;
  width: auto;
  height: 26px;
}

.bwfc-brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 18px;
  height: 20px;
  transform: rotate(18deg);
}

.bwfc-brand-mark i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--bwfc-purple), var(--bwfc-pink));
}

.bwfc-brand-mark i:nth-child(1) { height: 8px; }
.bwfc-brand-mark i:nth-child(2) { height: 14px; }
.bwfc-brand-mark i:nth-child(3) { height: 20px; }

.bwfc-progress-wrap {
  width: 100%;
}

.bwfc-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 7px;
  color: #747080;
  font-size: 11px;
  font-weight: 700;
}

.bwfc-progress-copy strong {
  color: var(--bwfc-purple-deep);
}

.bwfc-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #ede9f1;
}

.bwfc-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bwfc-purple), var(--bwfc-pink));
  transition: width 300ms ease;
}

.bwfc-help {
  justify-self: end;
  padding: 10px 15px;
  border: 1px solid #ddd7e2;
  border-radius: 10px;
  color: #4c4854;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.bwfc-help:hover,
.bwfc-help:focus-visible {
  border-color: var(--bwfc-purple);
  color: var(--bwfc-purple-deep);
}

.bwfc-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  min-height: calc(100vh - 145px);
}

.bwfc-guide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 630px;
  padding: clamp(34px, 4.2vw, 62px) 34px 26px;
  background:
    radial-gradient(circle at 8% 12%, rgba(111, 43, 244, 0.25), transparent 17rem),
    linear-gradient(150deg, #181820 0%, #18171f 62%, #24142c 100%);
  color: #fff;
}

.bwfc-guide-inner {
  position: sticky;
  top: 32px;
}

.bwfc-eyebrow {
  margin: 0 0 12px;
  color: #be94ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bwfc-guide h1,
.bwfc-mobile-guide h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 3.2vw, 46px);
  font-weight: 830;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.bwfc-guide [data-bwfc-guide-copy] {
  margin: 20px 0 0;
  color: #d1cbd7;
  font-size: 15px;
  line-height: 1.65;
}

.bwfc-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 27px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.bwfc-guide-card p {
  margin: 0;
  color: #bdb7c5;
  font-size: 12px;
  line-height: 1.55;
}

.bwfc-guide-card strong {
  color: #fff;
}

.bwfc-guide-card-icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border: 6px solid rgba(255, 255, 255, 0.18);
  border-top-color: #c582ff;
  border-radius: 50%;
}

.bwfc-guide-footer {
  display: grid;
  gap: 5px;
  margin-top: 42px;
  color: #89838f;
  font-size: 10px;
}

.bwfc-main {
  position: relative;
  min-width: 0;
  padding: clamp(30px, 4.5vw, 66px);
  background:
    radial-gradient(circle at 95% 0%, rgba(111, 43, 244, 0.045), transparent 24rem),
    #fbfafc;
  outline: none;
}

.bwfc-mobile-guide {
  display: none;
}

.bwfc-notice {
  max-width: 920px;
  margin: 0 auto 16px;
  padding: 12px 15px;
  border: 1px solid #f1ccd2;
  border-radius: 12px;
  background: #fff1f3;
  color: var(--bwfc-red);
  font-size: 13px;
  font-weight: 650;
}

.bwfc-notice[data-kind="success"] {
  border-color: #bcebdc;
  background: #ecfbf5;
  color: var(--bwfc-green);
}

.bwfc-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--bwfc-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(28, 18, 45, 0.055);
}

.bwfc-panel + .bwfc-panel,
.bwfc-stack > * + * {
  margin-top: 18px;
}

.bwfc-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.bwfc-kicker {
  margin: 0 0 7px;
  color: var(--bwfc-purple-deep);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bwfc-panel h2,
.bwfc-panel h3 {
  margin: 0;
  color: var(--bwfc-ink);
  letter-spacing: -0.025em;
}

.bwfc-panel h2 {
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.14;
}

.bwfc-panel h3 {
  font-size: 18px;
}

.bwfc-subhead {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--bwfc-muted);
  font-size: 14px;
  line-height: 1.6;
}

.bwfc-form {
  display: grid;
  gap: 16px;
}

.bwfc-field {
  display: grid;
  gap: 7px;
}

.bwfc-field label,
.bwfc-field legend {
  color: #403c49;
  font-size: 12px;
  font-weight: 780;
}

.bwfc-field input,
.bwfc-field textarea,
.bwfc-field select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #d8d2df;
  border-radius: 11px;
  background: #fff;
  color: var(--bwfc-ink);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bwfc-field textarea {
  min-height: 110px;
  resize: vertical;
}

.bwfc-field input:focus,
.bwfc-field textarea:focus,
.bwfc-field select:focus {
  border-color: var(--bwfc-purple);
  box-shadow: 0 0 0 3px rgba(111, 43, 244, 0.12);
}

.bwfc-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.bwfc-start-cue {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  margin-bottom: -8px;
  color: var(--bwfc-purple-deep);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bwfc-start-cue span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 999px;
  background: var(--bwfc-purple);
  color: #fff;
  font-size: 15px;
  animation: bwfc-start-cue 1.7s ease-in-out infinite;
}

.bwfc-signal-network {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid #ded3ec;
  border-radius: 17px;
  background: linear-gradient(140deg, #f8f4ff, #fff8fc);
}

.bwfc-signal-network-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.bwfc-signal-network-head h3 {
  max-width: 530px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.12;
}

.bwfc-signal-network-head > strong {
  max-width: 165px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #21122d;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.bwfc-signal-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.bwfc-signal-stats div {
  display: grid;
  gap: 3px;
  min-height: 84px;
  align-content: center;
  padding: 13px;
  border: 1px solid rgba(111, 43, 244, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.bwfc-signal-stats strong {
  color: var(--bwfc-purple-deep);
  font-size: 23px;
  letter-spacing: -0.035em;
}

.bwfc-signal-stats span,
.bwfc-signal-network > p {
  color: var(--bwfc-muted);
  font-size: 11px;
  line-height: 1.45;
}

.bwfc-signal-network > p {
  margin: 15px 0 0;
}

@keyframes bwfc-start-cue {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

.bwfc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 19px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(100deg, var(--bwfc-purple), var(--bwfc-pink));
  box-shadow: 0 10px 22px rgba(111, 43, 244, 0.2);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.bwfc-button:hover,
.bwfc-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(111, 43, 244, 0.28);
}

.bwfc-button:disabled {
  transform: none;
  box-shadow: none;
  cursor: wait;
  opacity: 0.58;
}

.bwfc-button-secondary {
  border: 1px solid #d9d2e0;
  background: #fff;
  box-shadow: none;
  color: var(--bwfc-purple-deep);
}

.bwfc-button-quiet {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #ded8e5;
  background: #f8f5fb;
  box-shadow: none;
  color: var(--bwfc-purple-deep);
  font-size: 11px;
}

.bwfc-path-grid,
.bwfc-topic-grid,
.bwfc-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bwfc-path-card,
.bwfc-topic-card,
.bwfc-price-card {
  position: relative;
  padding: 20px;
  border: 1px solid #ded7e5;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

button.bwfc-path-card,
button.bwfc-topic-card,
button.bwfc-price-card {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.bwfc-path-card:hover,
.bwfc-path-card:focus-visible,
.bwfc-topic-card:hover,
.bwfc-topic-card:focus-visible,
.bwfc-price-card[data-selected="true"] {
  transform: translateY(-2px);
  border-color: #a978ff;
  box-shadow: 0 13px 28px rgba(77, 22, 189, 0.1);
  outline: none;
}

.bwfc-path-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: #f0e7ff;
  color: var(--bwfc-purple-deep);
  font-size: 17px;
  font-weight: 850;
}

.bwfc-path-card p,
.bwfc-topic-card p,
.bwfc-price-card p {
  margin: 7px 0 0;
  color: var(--bwfc-muted);
  font-size: 12px;
  line-height: 1.55;
}

.bwfc-topic-card {
  min-height: 154px;
}

.bwfc-topic-card strong {
  display: block;
  padding-right: 28px;
  font-size: 15px;
  line-height: 1.28;
}

.bwfc-purchase-success .bwfc-subhead {
  max-width: 760px;
}

.bwfc-trafficid-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  border-color: #d9c9f3;
  background: linear-gradient(145deg, #fbf9ff 0%, #f4edff 100%);
  box-shadow: 0 18px 42px rgba(77, 22, 189, 0.1);
}

.bwfc-trafficid-offer h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.12;
}

.bwfc-trafficid-offer-lede {
  margin: 12px 0 0;
  color: #484251;
  font-size: 14px;
  line-height: 1.6;
}

.bwfc-trafficid-offer-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.bwfc-trafficid-offer-points li {
  position: relative;
  padding-left: 25px;
  color: var(--bwfc-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.bwfc-trafficid-offer-points li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bwfc-mint);
  color: var(--bwfc-green);
  content: "\2713";
  font-size: 10px;
  font-weight: 900;
}

.bwfc-trafficid-offer-buy {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid #e3d7f6;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.bwfc-trafficid-offer-was {
  margin: 0;
  color: var(--bwfc-muted);
  font-size: 12px;
  line-height: 1.45;
}

.bwfc-trafficid-offer-price {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}

.bwfc-trafficid-offer-price strong {
  color: var(--bwfc-purple-deep);
  font-size: clamp(42px, 6vw, 54px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.bwfc-trafficid-offer-price span {
  color: #484251;
  font-size: 13px;
  font-weight: 700;
}

.bwfc-trafficid-offer-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.bwfc-trafficid-offer-actions .bwfc-button {
  width: 100%;
}

.bwfc-trafficid-offer-decline {
  justify-self: center;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--bwfc-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.bwfc-trafficid-offer-decline:hover,
.bwfc-trafficid-offer-decline:focus-visible {
  color: var(--bwfc-purple-deep);
}

.bwfc-trafficid-offer .bwfc-fine-print a { color: inherit; text-decoration: underline; }
.bwfc-trafficid-offer-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdecef;
  color: var(--bwfc-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.bwfc-trafficid-offer-status[hidden] {
  display: none;
}

.bwfc-trafficid-offer-notice {
  display: block;
  text-align: center;
}

.bwfc-trafficid-offer-notice .bwfc-trafficid-offer-lede {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
}

.bwfc-trafficid-offer-notice .bwfc-trafficid-offer-actions {
  display: flex;
  justify-content: center;
}

.bwfc-trafficid-offer-notice .bwfc-trafficid-offer-actions .bwfc-button {
  width: auto;
}

@media (max-width: 760px) {
  .bwfc-trafficid-offer {
    grid-template-columns: 1fr;
  }
}

.bwfc-topic-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 13px;
  border-radius: 9px;
  background: #f0e7ff;
  color: var(--bwfc-purple-deep);
  font-size: 10px;
  font-weight: 850;
}

.bwfc-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.bwfc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1edf4;
  color: #615d69;
  font-size: 10px;
  font-weight: 750;
}

.bwfc-pill-success {
  background: var(--bwfc-mint);
  color: var(--bwfc-green);
}

.bwfc-selected-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(300px, 1.45fr);
  gap: 16px;
}

.bwfc-selected-topic,
.bwfc-audience-box {
  min-width: 0;
  padding: 22px;
  border-radius: 17px;
}

.bwfc-selected-topic {
  border: 1px solid #d9cee7;
  background: linear-gradient(145deg, #f4effa, #fff 65%);
}

.bwfc-audience-box {
  border: 1px solid #efcde6;
  background:
    radial-gradient(circle at 90% 8%, rgba(229, 38, 143, 0.13), transparent 12rem),
    linear-gradient(145deg, #fff0fa, #f7f0ff);
}

.bwfc-selected-topic .bwfc-topic-name {
  margin: 8px 0;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.bwfc-topic-description {
  margin: 10px 0 0;
  color: var(--bwfc-muted);
  font-size: 12px;
  line-height: 1.58;
}

.bwfc-audience-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(166, 70, 145, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.bwfc-audience-total strong {
  display: block;
  color: var(--bwfc-purple-deep);
  font-size: clamp(34px, 5vw, 50px);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.bwfc-audience-total span {
  color: #786d7e;
  font-size: 11px;
}

.bwfc-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.bwfc-stat {
  padding: 11px;
  border: 1px solid rgba(117, 78, 132, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.55);
}

.bwfc-stat small,
.bwfc-stat strong {
  display: block;
}

.bwfc-stat small {
  color: #817789;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.bwfc-stat strong {
  margin-top: 3px;
  font-size: 13px;
}

.bwfc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.bwfc-actions-end {
  justify-content: flex-end;
}

.bwfc-loading-panel {
  min-height: 340px;
  padding-top: 92px;
  text-align: center;
}

.bwfc-loader {
  width: 38px;
  height: 38px;
  margin: 0 auto 18px;
  border: 4px solid #e8e0ee;
  border-top-color: var(--bwfc-purple);
  border-radius: 50%;
  animation: bwfc-spin 800ms linear infinite;
}

@keyframes bwfc-spin {
  to { transform: rotate(360deg); }
}

.bwfc-dots::after {
  content: "";
  display: inline-block;
  width: 1.4em;
  text-align: left;
  animation: bwfc-dots 1.25s steps(4, end) infinite;
}

@keyframes bwfc-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

.bwfc-check {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bwfc-mint);
  color: var(--bwfc-green);
  font-size: 27px;
  font-weight: 900;
}

.bwfc-center {
  text-align: center;
}

.bwfc-email-destination {
  width: fit-content;
  max-width: 100%;
  margin: 16px auto;
  padding: 12px 18px;
  overflow-wrap: anywhere;
  border: 1px solid #cbb7ea;
  border-radius: 12px;
  background: #f7f1ff;
  color: var(--bwfc-purple-deep);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.bwfc-email-unlock {
  max-width: 620px;
  margin: 0 auto 20px;
  color: #554b5e;
  font-size: 13px;
  line-height: 1.6;
}

.bwfc-resend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 17px;
  color: var(--bwfc-muted);
  font-size: 11px;
}

.bwfc-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid var(--bwfc-line);
  border-radius: 14px;
  background: #fff;
}

.bwfc-step-nav > span {
  display: grid;
  gap: 2px;
  text-align: right;
}

.bwfc-step-nav small {
  color: var(--bwfc-muted);
  font-size: 11px;
}

.bwfc-next-step {
  border-color: #d6c3f6;
  background: linear-gradient(145deg, #fbf8ff, #fff);
}

.bwfc-offer {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #d9c2ff;
  border-radius: 17px;
  background: linear-gradient(120deg, #f4eaff, #fff2fa);
}

.bwfc-top-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(920px, 100%);
  margin: 0 auto 18px;
  padding: 17px 20px;
  border: 1px solid #c8a5ff;
  border-radius: 17px;
  background:
    radial-gradient(circle at 88% 15%, rgba(229, 38, 143, 0.16), transparent 12rem),
    linear-gradient(120deg, #f1e6ff, #fff1f9);
  box-shadow: 0 12px 28px rgba(77, 22, 189, 0.08);
}

.bwfc-top-offer-pending {
  border-style: dashed;
}

.bwfc-offer-expired {
  border-color: #d7d1da;
  background: #f5f3f6;
  box-shadow: none;
}

.bwfc-offer-expired .bwfc-kicker,
.bwfc-offer-expired .bwfc-price strong,
.bwfc-offer-expired .bwfc-top-offer-price strong {
  color: #5f5664;
}

.bwfc-offer-expired .bwfc-timer {
  background: #4c4650;
}

.bwfc-top-offer h3,
.bwfc-top-offer p {
  margin: 0;
}

.bwfc-top-offer h3 {
  font-size: 18px;
  letter-spacing: -0.025em;
}

.bwfc-top-offer p:not(.bwfc-kicker) {
  max-width: 610px;
  margin-top: 4px;
  color: #665a70;
  font-size: 11px;
}

.bwfc-top-offer-price {
  display: grid;
  flex: 0 0 auto;
  gap: 7px;
  justify-items: end;
  font-size: 12px;
}

.bwfc-timer-label {
  color: #665a70;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bwfc-top-offer-price s {
  color: #887f8c;
}

.bwfc-top-offer-price strong {
  color: var(--bwfc-purple-deep);
  font-size: 17px;
}

.bwfc-offer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 17px;
  border-bottom: 1px solid rgba(111, 43, 244, 0.12);
}

.bwfc-offer-head strong {
  font-size: 13px;
}

.bwfc-timer {
  padding: 6px 10px;
  border-radius: 9px;
  background: #251332;
  color: #fff;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.bwfc-offer-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px;
}

.bwfc-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.bwfc-price s {
  color: #8d8491;
  font-size: 14px;
}

.bwfc-price strong {
  color: var(--bwfc-purple-deep);
  font-size: 30px;
  letter-spacing: -0.045em;
}

.bwfc-price small {
  color: var(--bwfc-muted);
}

.bwfc-lock-note {
  margin: 5px 0 0;
  color: #4d3b59;
  font-size: 11px;
  font-weight: 700;
}

.bwfc-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  color: #625d69;
  font-size: 11px;
  line-height: 1.5;
}

.bwfc-consent input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--bwfc-purple);
}

.bwfc-consent a {
  color: var(--bwfc-purple-deep);
}

.bwfc-creative-builder,
.bwfc-creative-proof {
  display: grid;
  gap: 20px;
}

.bwfc-creative-callout,
.bwfc-proof-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid #d7c2f7;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5efff, #fff5fb);
  color: #44374f;
}

.bwfc-creative-callout p,
.bwfc-proof-status p {
  margin: 5px 0 0;
  color: #6c6175;
  font-size: 12px;
  line-height: 1.55;
}

.bwfc-ai-artwork {
  display: grid;
  gap: 15px;
  padding: 20px;
  border: 1px solid #2f2a38;
  border-radius: 16px;
  background: #19171e;
  color: #fff;
  box-shadow: 0 14px 34px rgba(23, 19, 31, 0.13);
}

.bwfc-ai-artwork > p,
.bwfc-ai-artwork .bwfc-ai-result p,
.bwfc-ai-artwork .bwfc-ai-progress p {
  margin: 0;
  color: #c9c4d0;
  font-size: 12px;
  line-height: 1.55;
}

.bwfc-ai-head,
.bwfc-ai-result,
.bwfc-ai-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.bwfc-ai-head h3,
.bwfc-ai-result strong,
.bwfc-ai-progress strong {
  margin: 0;
  color: #fff;
}

.bwfc-ai-head .bwfc-kicker {
  margin-bottom: 5px;
  color: #bd9cff;
}

.bwfc-ai-artwork .bwfc-pill {
  border-color: #4b4457;
  background: #27232f;
  color: #e5d8ff;
}

.bwfc-ai-direction {
  display: grid;
  gap: 7px;
  color: #eeeaf2;
  font-size: 11px;
  font-weight: 750;
}

.bwfc-ai-direction textarea {
  min-height: 88px;
  border-color: #4b4457;
  background: #24212a;
  color: #fff;
}

.bwfc-ai-progress {
  justify-content: flex-start;
  padding: 14px;
  border: 1px solid #3b3545;
  border-radius: 12px;
  background: #211e27;
}

.bwfc-ai-progress .bwfc-loader {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin: 0;
  border-color: #4b4457;
  border-top-color: #bd9cff;
}

.bwfc-ai-result {
  align-items: stretch;
  justify-content: flex-start;
}

.bwfc-ai-result img {
  width: min(38%, 250px);
  aspect-ratio: 25 / 18;
  object-fit: cover;
  border: 1px solid #4b4457;
  border-radius: 12px;
}

.bwfc-ai-result > div {
  display: grid;
  flex: 1;
  gap: 10px;
  align-content: center;
  justify-items: start;
}

.bwfc-postcard-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bwfc-postcard-previews figure {
  min-width: 0;
  margin: 0;
}

.bwfc-postcard-side-title {
  margin: 0 0 8px;
  color: var(--bwfc-purple-deep);
  font-size: 15px;
}

.bwfc-postcard-canvas,
.bwfc-proof-images img {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid #d8d1df;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(31, 20, 54, 0.09);
}

.bwfc-postcard-canvas {
  position: relative;
}

.bwfc-postcard-canvas canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 25 / 18;
}

.bwfc-postcard-guide {
  position: absolute;
  z-index: 2;
  display: block;
  color: #17131f;
  font-size: clamp(7px, 1vw, 10px);
  font-weight: 800;
  line-height: 1.25;
  pointer-events: none;
}

.bwfc-postcard-cut-guide {
  top: 2.77778%;
  left: 2%;
  width: 96%;
  height: 94.44444%;
  border: 1px dashed rgba(0, 133, 214, 0.78);
  padding: 3px;
  color: #006aa8;
}

.bwfc-postcard-safe-guide {
  top: 5.66667%;
  left: 4.08%;
  width: 91.84%;
  height: 88.66667%;
  border: 1px dashed rgba(229, 38, 143, 0.82);
  padding: 3px;
  color: #a5005d;
}

.bwfc-postcard-mailing-guide {
  top: 42.66667%;
  right: 0;
  bottom: 0;
  left: 36.96%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 128, 92, 0.58);
  background: rgba(216, 247, 233, 0.72);
  color: #0b6848;
  text-align: center;
}

.bwfc-postcard-bottom-guide {
  top: 66.66667%;
  left: 0;
  width: 100%;
  height: 33.33333%;
  border-top: 2px dotted rgba(255, 206, 83, .92);
  background: linear-gradient(180deg, rgba(255, 206, 83, 0), rgba(255, 206, 83, .07));
  color: #fff3cf;
  text-align: right;
  padding: 8px;
}

.bwfc-proof-images img {
  aspect-ratio: 25 / 18;
  object-fit: contain;
}

.bwfc-postcard-previews figcaption {
  margin-top: 8px;
  color: #77707e;
  font-size: 10px;
  line-height: 1.45;
}

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

.bwfc-field-wide {
  grid-column: 1 / -1;
}

.bwfc-creative-fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e1dae7;
  border-radius: 14px;
}

.bwfc-creative-fieldset legend {
  padding: 0 7px;
  color: #403c49;
  font-size: 12px;
  font-weight: 800;
}

.bwfc-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.bwfc-color-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 45px;
  padding: 8px 10px;
  border: 1px solid #e3dde8;
  border-radius: 10px;
  color: #5f5866;
  font-size: 10px;
  font-weight: 750;
}

.bwfc-color-grid input[type="color"] {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  min-height: 31px;
  padding: 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.bwfc-return-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(150px, 1.3fr);
  gap: 14px;
}

.bwfc-creative-proof[data-status="approved"] {
  padding: 20px;
  border: 1px solid #9ddfc9;
  border-radius: 16px;
  background: #f2fcf8;
}

.bwfc-proof-consent {
  margin-top: 0;
  padding: 14px;
  border: 1px solid #d9d2e0;
  border-radius: 12px;
  background: #fff;
}

.bwfc-table-wrap {
  margin-top: 17px;
  overflow-x: auto;
  border: 1px solid #e3dce9;
  border-radius: 13px;
}

.bwfc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.bwfc-table th,
.bwfc-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eee9f1;
  text-align: left;
  white-space: nowrap;
}

.bwfc-table th {
  background: #f8f5fa;
  color: #706a76;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bwfc-table tr:last-child td {
  border-bottom: 0;
}

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

.bwfc-option-card {
  align-self: start;
  overflow: hidden;
}

.bwfc-option-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
}

.bwfc-option-card summary::-webkit-details-marker {
  display: none;
}

.bwfc-option-card summary > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bwfc-option-card summary strong {
  color: #302a36;
  font-size: 12px;
}

.bwfc-option-card summary small {
  color: #8b8590;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.4;
}

.bwfc-option-status {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f1edf5;
  color: #6c6274;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.bwfc-suppression-drop {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 22px 16px;
  border: 1px dashed #b5a8bf;
  border-radius: 13px;
  background: #fcfbfd;
  color: #4e4656;
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.bwfc-suppression-drop:hover,
.bwfc-suppression-drop:focus-visible,
.bwfc-suppression-drop[data-dragging="true"] {
  border-color: var(--bwfc-purple);
  background: #f7f2ff;
  box-shadow: 0 0 0 3px rgba(111, 43, 244, 0.1);
}

.bwfc-suppression-drop > span:last-child {
  color: #827889;
  font-size: 10px;
}

.bwfc-upload-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: #ede5fb;
  color: var(--bwfc-purple-deep);
  font-size: 17px;
  font-weight: 800;
}

.bwfc-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bwfc-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #918999;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.bwfc-divider::before,
.bwfc-divider::after {
  height: 1px;
  flex: 1;
  background: #e3dce9;
  content: "";
}

.bwfc-import-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dcd5e2;
  border-radius: 11px;
  background: #fff;
  color: #4d4654;
  font-size: 10px;
  line-height: 1.5;
}

.bwfc-import-summary[data-kind="ready"] {
  border-color: #9ddfc9;
  background: #f2fcf8;
}

.bwfc-import-summary[data-kind="warning"] {
  border-color: #e3c77a;
  background: #fffaf0;
}

.bwfc-import-summary[data-kind="error"] {
  border-color: #efb5bd;
  background: #fff5f6;
  color: #8a2535;
}

.bwfc-import-summary p {
  margin: 0;
}

.bwfc-import-summary .bwfc-meta-row {
  margin-top: 0;
}

.bwfc-targeting {
  margin-top: 18px;
  overflow: hidden;
  border: 2px solid #8464d7;
  border-radius: 16px;
  background: #f4f1ff;
  box-shadow: 0 12px 30px rgba(68, 44, 128, 0.09);
}

.bwfc-targeting summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 19px;
  cursor: pointer;
  list-style: none;
}

.bwfc-targeting summary::-webkit-details-marker {
  display: none;
}

.bwfc-targeting summary > div {
  min-width: 0;
}

.bwfc-targeting summary > div > strong {
  display: block;
  color: #21172f;
  font-size: 15px;
  line-height: 1.35;
}

.bwfc-targeting summary > span {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  background: #251a32;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.bwfc-targeting[open] {
  background: #fff;
}

.bwfc-targeting[open] summary {
  border-bottom: 1px solid #dcd2f1;
  background: #f4f1ff;
}

.bwfc-targeting > form {
  padding: 18px 19px 20px;
}

.bwfc-target-recap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.bwfc-target-recap > span {
  display: grid;
  gap: 2px;
  max-width: 250px;
  padding: 7px 10px;
  border: 1px solid #d7ccef;
  border-radius: 9px;
  background: #fff;
  color: #39284f;
  font-size: 10px;
  font-weight: 750;
}

.bwfc-target-recap small {
  color: #7e6b98;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bwfc-target-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 16px 0;
}

.bwfc-target-rule {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(155px, 0.8fr) minmax(180px, 1.2fr) auto;
  align-items: end;
  gap: 11px;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid #e0d9e7;
  border-radius: 12px;
  background: #fbfafc;
}

.bwfc-rule-remove {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d8d0de;
  border-radius: 9px;
  background: #fff;
  color: #6a5e70;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.bwfc-actions-between {
  justify-content: space-between;
  margin-top: 16px;
}

.bwfc-optional {
  margin-top: 17px;
  border: 1px solid #e3dce9;
  border-radius: 13px;
  background: #fff;
}

.bwfc-optional[open] {
  border-color: #cdaeff;
  background: linear-gradient(145deg, #f7f1ff, #fff7fc);
  box-shadow: 0 10px 24px rgba(77, 22, 189, 0.07);
}

.bwfc-optional[open] summary {
  color: var(--bwfc-purple-deep);
}

.bwfc-optional summary {
  padding: 14px 16px;
  color: #4b4651;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.bwfc-optional > div {
  padding: 0 16px 16px;
}

.bwfc-fine-print {
  margin: 9px 0 0;
  color: #8b8590;
  font-size: 10px;
  line-height: 1.55;
}

.bwfc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 10px 22px;
  border-top: 1px solid var(--bwfc-line);
  background: #fff;
  color: #8b8590;
  font-size: 10px;
}

.bwfc-footer nav {
  display: flex;
  gap: 14px;
}

.bwfc-footer a {
  color: #625d69;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  body.bwf-commerce-page.admin-bar .bwfc-shell {
    min-height: calc(100vh - 46px);
  }

  .bwfc-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .bwfc-topbar {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 12px 17px;
  }

  .bwfc-progress-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
  }

  .bwfc-help {
    padding: 8px 11px;
  }

  .bwfc-workspace {
    display: block;
    min-height: auto;
  }

  .bwfc-guide {
    display: none;
  }

  .bwfc-main {
    min-height: calc(100vh - 150px);
    padding: 25px 17px 38px;
  }

  .bwfc-mobile-guide {
    display: block;
    width: min(920px, 100%);
    margin: 0 auto 20px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1a1821, #2e1635);
  }

  .bwfc-mobile-guide h1 {
    font-size: 28px;
  }
}

@media (max-width: 680px) {
  .bwfc-brand {
    font-size: 18px;
  }

  .bwfc-brand small {
    font-size: 11px;
  }

  .bwfc-panel {
    padding: 21px 17px;
    border-radius: 17px;
  }

  .bwfc-panel-head,
  .bwfc-offer-body,
  .bwfc-top-offer,
  .bwfc-step-nav,
  .bwfc-resend-row,
  .bwfc-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bwfc-inline-form,
  .bwfc-path-grid,
  .bwfc-topic-grid,
  .bwfc-price-grid,
  .bwfc-selected-layout,
  .bwfc-audience-options,
  .bwfc-stat-grid,
  .bwfc-postcard-previews,
  .bwfc-creative-fields,
  .bwfc-color-grid {
    grid-template-columns: 1fr;
  }

  .bwfc-target-settings,
  .bwfc-target-rule {
    grid-template-columns: 1fr;
  }

  .bwfc-targeting summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .bwfc-targeting summary > span {
    align-self: flex-start;
  }

  .bwfc-signal-network {
    padding: 18px;
  }

  .bwfc-signal-network-head {
    flex-direction: column;
  }

  .bwfc-signal-network-head > strong {
    max-width: none;
  }

  .bwfc-signal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bwfc-return-row {
    grid-template-columns: minmax(90px, 0.7fr) minmax(130px, 1.3fr);
  }

  .bwfc-creative-callout,
  .bwfc-proof-status,
  .bwfc-ai-head,
  .bwfc-ai-result,
  .bwfc-ai-progress {
    align-items: stretch;
    flex-direction: column;
  }

  .bwfc-ai-result img {
    width: 100%;
  }

  .bwfc-inline-form .bwfc-button,
  .bwfc-actions .bwfc-button {
    width: 100%;
  }

  .bwfc-audience-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .bwfc-offer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bwfc-top-offer-price {
    justify-items: start;
  }

  .bwfc-step-nav > span {
    text-align: left;
  }

  .bwfc-table-wrap {
    overflow: visible;
    border: 0;
  }

  .bwfc-table,
  .bwfc-table tbody,
  .bwfc-table tr,
  .bwfc-table td {
    display: block;
    width: 100%;
  }

  .bwfc-table thead {
    display: none;
  }

  .bwfc-table tr {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #e3dce9;
    border-radius: 11px;
    background: #fff;
  }

  .bwfc-table td {
    display: grid;
    grid-template-columns: minmax(86px, 0.7fr) minmax(0, 1.3fr);
    gap: 10px;
    padding: 9px 11px;
    white-space: normal;
  }

  .bwfc-table td::before {
    color: #827b87;
    content: attr(data-label);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .bwfc-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bwfc-progress span,
  .bwfc-button,
  .bwfc-path-card,
  .bwfc-topic-card,
  .bwfc-price-card { transition: none; }
  .bwfc-loader { animation-duration: 1.8s; }
  .bwfc-start-cue span { animation: none; }
}
