:root {
  --ink: #161512;
  --muted: #69645d;
  --copper: #a66a2c;
  --gold: #c38a33;
  --gold-dark: #85551f;
  --manila: #e8c98e;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --line: #e4d8c7;
  --green: #27704b;
  --green-bg: #eaf5ee;
  --amber-bg: #fff5df;
  --red: #a33b32;
  --shadow: 0 18px 50px rgba(41, 31, 20, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
body.intro-pending { overflow: hidden; }
.swoosh-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  opacity: 1;
  transition: opacity .35s ease;
}
.swoosh-bag {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 980px);
  height: auto;
  transform: translate(-145vw, -50%);
  opacity: 0;
  will-change: transform, opacity, filter;
}
.swoosh-intro.intro-running .swoosh-bag { animation: continuousBagSwoosh 2.145s cubic-bezier(.18,.72,.22,1) forwards; }
.swoosh-intro.intro-finished { opacity: 0; pointer-events: none; }
@keyframes continuousBagSwoosh {
  0% { transform: translate(-145vw, -50%) scale(1.02); opacity: 0; filter: blur(1.5px); }
  8% { opacity: 1; }
  100% { transform: translate(45vw, -50%) scale(1.02); opacity: 1; filter: blur(.5px); }
}
@media (prefers-reduced-motion: reduce) {
  .swoosh-bag { animation: none !important; }
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.topbar {
  min-height: 86px;
  padding: 10px clamp(16px, 4vw, 56px);
  display: grid;
  grid-template-columns: 180px 1fr minmax(200px, 310px);
  align-items: center;
  gap: 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.local-flower-logo {
  width: 166px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}
.inabag-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.inabag-brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-words { font-size: 26px; font-weight: 900; letter-spacing: -.04em; }
.brand-words .media { color: var(--copper); }
.merchant-brand { flex-direction: column; gap: 0; line-height: 1; }
.brand-subline { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.catalog-button { min-height: 54px; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.1; text-align: left; }
.catalog-button small { color: var(--muted); font-size: 9px; font-weight: 750; }
.catalog-brand { justify-content: center; }
.catalog-brand-note { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 750; white-space: nowrap; }

.button, button.button {
  min-height: 44px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.button:hover { transform: translateY(-1px); background: var(--gold-dark); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(195, 138, 51, .28);
  outline-offset: 2px;
}
.button.secondary { color: var(--ink); background: #ede9e2; }
.button.outline { color: var(--ink); background: #fff; border: 1px solid #cfc5b7; }
.button.dark { background: var(--ink); }
.button.small { min-height: 36px; padding: 8px 12px; font-size: 12px; }
.button.full { width: 100%; }
.button[disabled] { opacity: .55; cursor: wait; transform: none; }
.text-step-link {
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--copper);
  font-weight: 900;
  cursor: pointer;
}
.text-step-link:hover { color: var(--gold-dark); }

.page { max-width: 1260px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 44px) 64px; }
.eyebrow { color: var(--copper); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(38px, 6vw, 66px); line-height: 1.08; letter-spacing: -.03em; }
h2 { margin-bottom: 10px; font-size: clamp(28px, 4vw, 40px); line-height: 1.18; letter-spacing: -.02em; }
h3 { margin-bottom: 8px; font-size: 19px; }
.lead { max-width: 760px; color: #55504a; font-size: clamp(16px, 2vw, 19px); }
.muted { color: var(--muted); }
.tiny { color: var(--muted); font-size: 11px; }
.section { margin-top: 30px; }

.operator-intro {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items: end;
}
.operator-intro.single-column { grid-template-columns: 1fr; }
.merchant-landing {
  min-height: calc(100vh - 214px);
  display: grid;
  place-items: center;
}
.merchant-hero {
  width: min(1080px, 100%);
  padding: 48px 0 30px;
  text-align: center;
}
.merchant-hero h1 { margin: 10px auto 18px; font-size: clamp(48px, 6.5vw, 74px); line-height: 1.03; letter-spacing: -.025em; }
.merchant-hero .lead { margin: 0 auto; max-width: 650px; }
.merchant-primary-actions { margin: 22px auto 0; display: flex; justify-content: center; }
.how-drawer-panel {
  padding: 26px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
}
.how-drawer-panel h2 { margin: 6px 0 18px; font-size: clamp(27px, 3vw, 39px); white-space: nowrap; }
.how-drawer-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); gap: 32px; align-items: end; }
.how-drawer-row > p { margin-bottom: 0; color: var(--muted); }
.how-drawer-actions { display: grid; gap: 9px; }
.referral-invite {
  margin: 22px auto 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border: 1px solid #d6b170;
  border-radius: 14px;
  background: linear-gradient(90deg, #fff8e9, #fffdf8);
  text-align: left;
}
.share-plane { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: 22px; transform: rotate(-25deg); }
.referral-copy { display: grid; gap: 2px; }
.referral-copy strong { font-size: 17px; }
.referral-copy span { color: var(--muted); font-size: 12px; }
.share-business-button { white-space: nowrap; }
.share-modal-card { width: min(620px, 100%); }
.share-choice { color: var(--ink); text-decoration: none; }
.logo-upload-field { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbf8f2; }
.campaign-reach-line { margin: -2px 0 22px; color: var(--copper); font-size: clamp(17px, 2vw, 22px); font-weight: 900; }
.preview-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.preview-heading h2 { margin-bottom: 4px; }
.preview-heading p { margin-bottom: 0; color: var(--copper); font-size: 17px; font-weight: 850; }

.insert-shell {
  padding: clamp(12px, 2vw, 22px);
  border: 2px solid #bb9250;
  border-radius: 4px;
  background: linear-gradient(135deg, #f0d7a5, var(--manila));
  box-shadow: var(--shadow);
}
.insert-head {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.insert-head strong { font-size: 19px; }
.insert-edition { color: #72532a; font-size: 12px; font-weight: 800; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}
.offer-card {
  min-height: 122px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #c9a66b;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(70, 43, 7, .06);
}
.offer-card:hover, .offer-card:focus-visible { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(70, 43, 7, .12); }
.logo-wrap { width: 100%; height: 43px; display: grid; place-items: center; }
.logo-wrap img { max-width: 94%; max-height: 42px; object-fit: contain; }
.offer-card .offer { font-size: 17px; font-weight: 950; line-height: 1; }
.offer-card .detail { color: #56514a; font-size: 10px; line-height: 1.15; }
.offer-card.ad-here { border: 3px solid var(--ink); background: #fff8e7; }
.offer-card.ad-here strong { font-size: 15px; line-height: 1.05; }
.megaphone { font-size: 25px; }
.insert-foot { margin-top: 11px; display: flex; justify-content: space-between; gap: 12px; color: #654b29; font-size: 11px; font-weight: 750; }

/* Customer InaBag: same visual system as the approved business journey. */
.customer-experience .page { max-width: 1460px; padding-top: 24px; }
.customer-experience .insert-shell {
  padding: 18px;
  border: 1px solid #c7a164;
  border-radius: 18px;
  background: linear-gradient(145deg, #f3dfb8 0%, #ead09c 100%);
  box-shadow: 0 20px 55px rgba(78, 54, 24, .13);
}
.customer-experience .insert-head { margin: 0 2px 15px; }
.customer-experience .insert-head strong { font-size: 21px; letter-spacing: -.02em; }
.customer-experience .insert-edition {
  padding: 7px 10px;
  border: 1px solid rgba(133, 85, 31, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  color: var(--gold-dark);
}
.customer-experience .offer-grid { gap: 12px; }
.customer-experience .offer-card {
  min-height: 196px;
  padding: 13px 10px 12px;
  gap: 7px;
  border-color: #ddc9a6;
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(70, 43, 7, .07);
}
.customer-experience .offer-card:hover,
.customer-experience .offer-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(112, 73, 24, .16);
}
.customer-experience .offer-card .logo-wrap { height: 96px; }
.customer-experience .offer-card .logo-wrap img { max-width: 100%; max-height: 90px; }
.customer-experience .offer-card.merchant-jiffy-lube {
  border: 2px solid var(--gold);
  box-shadow: 0 9px 24px rgba(133, 85, 31, .16);
}
.customer-experience .offer-card.merchant-jiffy-lube .logo-wrap img,
.customer-experience .offer-card.merchant-pep-boys .logo-wrap img { max-width: 108%; }
.customer-experience .offer-card .offer { font-size: 19px; line-height: 1.05; }
.customer-experience .offer-card .detail { min-height: 28px; font-size: 12px; line-height: 1.2; }
.customer-experience .offer-card.ad-here {
  border: 2px solid var(--ink);
  background: linear-gradient(180deg, #fffaf0 0%, #f7e7c7 100%);
}
.customer-experience .offer-card.ad-here strong { font-size: 19px; line-height: 1.1; }
.customer-experience .offer-card.ad-here .detail { min-height: 0; color: var(--copper); font-weight: 850; }
.customer-experience .insert-foot { margin: 15px 2px 0; color: #63491f; font-size: 12px; }

.purchase-preview {
  display: grid;
  grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: stretch;
}
.ad-preview-frame {
  min-height: 520px;
  padding: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 2px solid #bb9250;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0d7a5, var(--manila));
}
.ad-preview-label { color: #654b29; font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.purchase-ad {
  width: min(300px, 100%);
  min-height: 410px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid #c9a66b;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 10px 26px rgba(70, 43, 7, .16);
}
.final-ad-edition { color: #765a32; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.purchase-ad .logo-wrap { height: 74px; }
.purchase-ad .logo-wrap img { max-width: 100%; max-height: 70px; }
.purchase-ad .offer { margin-top: 4px; font-size: 42px; font-weight: 950; line-height: 1; letter-spacing: -.04em; }
.purchase-ad .detail { color: #4f4a43; font-size: 18px; font-weight: 750; line-height: 1.15; }
.final-ad-rule { width: 100%; height: 1px; margin: 4px 0 2px; background: #e6ded2; }
.final-ad-response { width: 100%; display: grid; grid-template-columns: 1fr 104px; align-items: center; gap: 12px; text-align: left; }
.final-ad-cta { display: grid; gap: 4px; }
.final-ad-cta strong { font-size: 17px; }
.final-ad-cta span { color: var(--muted); font-size: 10px; font-weight: 750; }
.sample-qr { width: 104px; height: 104px; padding: 5px; border: 1px solid #ddd5ca; background: #fff; }
.final-ad-terms { margin-top: auto; color: #766f66; font-size: 8px; line-height: 1.2; }
.scan-card-page { min-height: calc(100vh - 158px); display: grid; place-items: center; }
.scan-card-stage {
  width: min(520px, 100%);
  padding: clamp(24px, 6vw, 52px);
  display: grid;
  place-items: center;
  border: 1px solid #c7a164;
  border-radius: 20px;
  background: linear-gradient(145deg, #f3dfb8 0%, #ead09c 100%);
  box-shadow: 0 20px 55px rgba(78, 54, 24, .13);
}
.scan-card-ad { width: min(330px, 100%); min-height: 450px; }
.scan-card-ad .sample-qr { width: 118px; height: 118px; }
.purchase-summary { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.availability-result { max-width: 540px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 18px;
  display: none;
  place-items: center;
  background: rgba(12, 11, 9, .72);
}
.modal.open { display: grid; }
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eeeae4;
  font-size: 25px;
  cursor: pointer;
}
.modal-logo { width: 190px; height: 70px; margin: 6px auto 18px; display: block; object-fit: contain; }
.modal-offer { font-size: 40px; font-weight: 950; text-align: center; letter-spacing: -.04em; }
.modal-detail { margin-bottom: 18px; color: #504b45; font-size: 18px; text-align: center; }
.value-note { margin-bottom: 18px; padding: 11px; border-radius: 10px; background: var(--cream); color: #665f56; text-align: center; font-size: 12px; }
.co-brand-note { display: flex; align-items: center; justify-content: center; gap: 10px; }
.co-brand-note img { width: 62px; height: 38px; object-fit: contain; }
.actions, .choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-grid { margin: 16px 0; }
.choice {
  min-height: 94px;
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.choice span, .choice strong, .choice small { display: block; }
.choice span { font-size: 23px; }
.choice small { margin-top: 3px; color: var(--muted); }
.profile-fields { display: grid; grid-template-columns: .7fr 1.3fr; gap: 12px; }
.hidden { display: none !important; }
.confirmation { text-align: center; }
.confirmation-brands { margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.confirmation-brands img { width: 130px; height: 54px; object-fit: contain; }
.confirmation-brands span { color: var(--gold-dark); font-size: 22px; font-weight: 900; }
.confirmation-actions { display: grid; gap: 9px; }
.checkmark {
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-size: 32px;
  font-weight: 900;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(35, 27, 18, .045);
}
.card.no-shadow { box-shadow: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.status-row { display: flex; gap: 7px; flex-wrap: wrap; }
.status {
  padding: 6px 9px;
  border-radius: 99px;
  background: #f0ece6;
  color: #5b554d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.status.ok { color: var(--green); background: var(--green-bg); }
.status.review { color: #805400; background: var(--amber-bg); }
.status.demo { color: #654719; background: #f6e5c4; }
.status.sample { color: #654719; background: #f6e5c4; }

.flow-head { margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.progress { flex: 1; height: 7px; overflow: hidden; border-radius: 99px; background: #ebe5dc; }
.progress-fill { width: 16.66%; height: 100%; background: var(--gold); transition: width .25s ease; }
.step-count { min-width: 72px; color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.merchant-screen { display: none; }
.merchant-screen.active { display: block; }
.field { margin: 15px 0; }
.field label { margin-bottom: 6px; display: block; color: #39352f; font-size: 12px; font-weight: 850; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cec4b7;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 88px; resize: vertical; }
.field-help { margin-top: 5px; color: var(--muted); font-size: 11px; }
.flow-actions { margin-top: 24px; display: flex; justify-content: space-between; gap: 10px; }
.info-box { padding: 14px; border: 1px solid #e1d3bc; border-radius: 12px; background: #fbf3e5; }
.info-box.ok { border-color: #c8dfd1; background: var(--green-bg); }
.info-box.warning { border-color: #e8c983; background: var(--amber-bg); }
.order { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.order-row { padding: 11px 13px; display: grid; grid-template-columns: 185px 1fr; gap: 12px; border-top: 1px solid #eee9e1; font-size: 13px; }
.order-row:first-child { border-top: 0; }
.order-row b { color: #555047; }
.review-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 0; border-radius: 0; }
.review-order-grid .order-row { min-height: 64px; grid-template-columns: 140px minmax(0, 1fr); align-items: center; border: 1px solid var(--line); border-top: 0; }
.review-order-grid .order-row:nth-child(-n+2) { border-top: 1px solid var(--line); }
.review-order-grid .order-row:nth-child(odd) { border-right: 0; }
.review-order-grid .order-row:first-child { border-radius: 12px 0 0 0; }
.review-order-grid .order-row:nth-child(2) { border-radius: 0 12px 0 0; }
.review-order-grid .order-row:nth-last-child(2) { border-radius: 0 0 0 12px; }
.review-order-grid .order-row:last-child { border-radius: 0 0 12px 0; }
.price { font-size: 38px; font-weight: 950; letter-spacing: -.04em; }
.system-message { display: none; margin-top: 12px; padding: 11px; border-radius: 9px; font-size: 12px; }
.system-message.show { display: block; }
.system-message.ok { color: var(--green); background: var(--green-bg); border: 1px solid #c8dfd1; }
.system-message.warn { color: #755000; background: var(--amber-bg); border: 1px solid #e8c983; }
.system-message.error { color: var(--red); background: #fbeceb; border: 1px solid #e6bbb7; }

.metric { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.metric span { display: block; color: var(--muted); font-size: 11px; }
.metric b { display: block; margin-top: 4px; font-size: 24px; }
.timeline { display: grid; gap: 9px; }
.timeline-item { padding: 13px; display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 11px; }
.timeline-item small { display: block; margin-top: 3px; color: var(--muted); }
.timeline-state { color: var(--green); font-size: 10px; font-weight: 900; }
.timeline-state.next { color: #8b5b08; }

.results-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: center;
}
.results-hero h1 { max-width: 850px; }
.results-brand {
  min-height: 210px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(35, 27, 18, .045);
  text-align: center;
}
.results-brand img { width: 210px; max-width: 100%; height: 62px; object-fit: contain; }
.results-brand strong { font-size: 30px; line-height: 1; }
.results-brand span { color: var(--muted); font-size: 13px; }
.results-kpis .hero-metric { border-color: #c7a164; background: #fff8e9; }
.results-comparison { display: grid; grid-template-columns: 1.22fr .78fr; gap: 18px; }
.comparison-card { min-width: 0; }
.inabag-comparison { border-color: #c7a164; box-shadow: 0 18px 45px rgba(120, 80, 20, .10); }
.comparison-head { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.comparison-head h2 { margin-bottom: 0; font-size: clamp(34px, 4.5vw, 50px); }
.comparison-badge { padding: 7px 10px; border-radius: 99px; background: #fff1cf; color: #795313; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.muted-badge { background: #f0ece6; color: #5b554d; }
.comparison-bars { display: grid; gap: 17px; }
.bar-row { display: grid; grid-template-columns: 132px minmax(80px, 1fr) 70px; gap: 12px; align-items: center; }
.bar-row span { color: var(--muted); font-size: 11px; }
.bar-row b { font-size: 12px; text-align: right; }
.bar-track { height: 11px; overflow: hidden; border-radius: 99px; background: #eee8de; }
.bar-track i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--copper), var(--gold)); }
.digital-comparison .bar-track i { background: #a9a39a; }
.bar-track.inverse i { background: #7a756d; }
.result-funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.result-funnel div { min-height: 120px; padding: 18px 12px; display: grid; place-items: center; align-content: center; border-radius: 10px; background: #f8f3ea; text-align: center; }
.result-funnel div + div { background: #f6eddc; }
.result-funnel b { font-size: 26px; }
.result-funnel span { color: var(--muted); font-size: 10px; }
.compact-metrics { gap: 9px; }
.compact-metrics .metric { padding: 12px; }
.compact-metrics .metric b { font-size: 20px; }
.sample-disclosure { margin: 24px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.offer-list { display: grid; gap: 12px; }
.saved-offer { padding: 18px; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.saved-offer img { width: 100px; height: 55px; object-fit: contain; }
.saved-offer .offer-value { font-size: 24px; font-weight: 950; }

.catalog-groups { display: grid; gap: 28px; }
.catalog-title-row { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.catalog-title-row h1 { margin-bottom: 0; }
.catalog-title-row strong { color: var(--copper); font-size: 18px; }
.catalog-month-head { margin-bottom: 9px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.catalog-month-head h2 { margin: 0; font-size: 25px; }
.catalog-month-head span { color: var(--muted); font-size: 12px; font-weight: 800; }
.catalog-table { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(35,27,18,.04); }
.catalog-header, .catalog-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr .7fr .8fr .8fr .45fr; gap: 12px; align-items: center; }
.catalog-header { padding: 9px 14px; background: #f5f0e8; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.catalog-row { min-height: 78px; padding: 12px 14px; border-top: 1px solid #eee8df; font-size: 12px; }
.catalog-row > div:not(.catalog-merchant) { display: grid; gap: 2px; }
.catalog-row small { color: var(--muted); font-size: 10px; }
.catalog-merchant { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; }
.catalog-merchant img { width: 68px; height: 42px; object-fit: contain; }
.catalog-merchant span { min-width: 0; display: grid; }
.catalog-status, .shared-flag { width: fit-content; padding: 5px 7px; border-radius: 99px; background: #f0ece6; color: #5b554d; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.catalog-status.used { color: var(--green); background: var(--green-bg); }
.catalog-status.claimed, .catalog-status.saved { color: #805400; background: var(--amber-bg); }
.catalog-status.expired { color: var(--red); background: #fbeceb; }
.catalog-status.shared, .shared-flag.yes { color: #704a93; background: #f1eafa; }
.shared-flag:not(.yes) { padding-left: 0; background: transparent; }
.catalog-open { color: var(--copper); font-weight: 900; text-decoration: none; }
.catalog-open:hover { text-decoration: underline; }
.footer { padding: 22px 16px; color: #746e66; font-size: 11px; text-align: center; }

@media (max-width: 1000px) {
  .offer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .customer-experience .offer-card { min-height: 180px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .how-drawer-row, .results-hero, .results-comparison { grid-template-columns: 1fr; }
  .how-drawer-panel h2 { white-space: normal; }
  .how-drawer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-header { display: none; }
  .catalog-row { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .catalog-row > div:nth-of-type(5), .catalog-row > div:nth-of-type(6), .catalog-row > div:nth-of-type(7), .catalog-row .catalog-open { align-self: center; }
}

@media (max-width: 720px) {
  .topbar { min-height: 72px; grid-template-columns: 92px minmax(0, 1fr) minmax(112px, 150px); gap: 8px; padding: 8px 10px; }
  .local-flower-logo { width: 90px; height: 50px; }
  .inabag-brand { min-width: 0; justify-content: flex-start; gap: 6px; }
  .inabag-brand img { width: 28px; height: 28px; }
  .brand-words { font-size: 17px; white-space: nowrap; }
  .header-actions .button { min-height: 38px; padding: 8px 9px; font-size: 10px; }
  .catalog-button small { font-size: 8px; white-space: normal; }
  .catalog-brand-note { display: none; }
  .operator-intro, .grid-2, .grid-3, .grid-4, .purchase-preview { grid-template-columns: 1fr; }
  .operator-intro { align-items: start; }
  .merchant-landing { min-height: auto; }
  .merchant-hero { padding-top: 24px; }
  .merchant-hero h1 { font-size: clamp(40px, 12.5vw, 54px); }
  .how-drawer-panel { padding: 20px; }
  .how-drawer-actions { grid-template-columns: 1fr; }
  .referral-invite { grid-template-columns: 42px 1fr; padding: 15px; }
  .share-plane { width: 38px; height: 38px; font-size: 19px; }
  .share-business-button { grid-column: 1 / -1; width: 100%; }
  .bar-row { grid-template-columns: 105px minmax(60px, 1fr) 58px; gap: 8px; }
  .result-funnel { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-card { min-height: 116px; }
  .customer-experience .page { padding: 14px 10px 34px; }
  .customer-experience .insert-shell { padding: 10px; border-radius: 14px; }
  .customer-experience .insert-head { margin-bottom: 10px; }
  .customer-experience .insert-head strong { font-size: 16px; }
  .customer-experience .insert-edition { padding: 5px 7px; font-size: 10px; }
  .customer-experience .offer-grid { gap: 8px; }
  .customer-experience .offer-card { min-height: 156px; padding: 9px 7px; border-radius: 10px; }
  .customer-experience .offer-card .logo-wrap { height: 78px; }
  .customer-experience .offer-card .logo-wrap img { max-height: 74px; }
  .customer-experience .offer-card .offer { font-size: 16px; }
  .customer-experience .offer-card .detail { min-height: 24px; font-size: 11px; }
  .customer-experience .offer-card.ad-here strong { font-size: 17px; }
  .customer-experience .insert-foot { display: grid; gap: 3px; font-size: 10px; text-align: center; }
  .scan-card-page { padding-top: 22px; }
  .scan-card-stage { padding: 22px 16px; }
  .scan-card-ad { min-height: 430px; }
  .actions, .choice-grid, .profile-fields { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 18px; }
  .flow-actions { flex-direction: column-reverse; }
  .flow-actions .button { width: 100%; }
  .order-row { grid-template-columns: 1fr; gap: 3px; }
  .review-order-grid { grid-template-columns: 1fr; }
  .review-order-grid .order-row { min-height: 0; grid-template-columns: 1fr; border: 1px solid var(--line); border-top: 0; border-radius: 0 !important; }
  .review-order-grid .order-row:first-child { border-top: 1px solid var(--line); border-radius: 12px 12px 0 0 !important; }
  .review-order-grid .order-row:last-child { border-radius: 0 0 12px 12px !important; }
  .saved-offer { grid-template-columns: 74px 1fr; gap: 12px; }
  .saved-offer img { width: 70px; }
  .saved-offer .button { grid-column: 1 / -1; }
  .catalog-month-head { display: block; }
  .catalog-month-head span { display: block; margin-top: 3px; }
  .catalog-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .catalog-merchant { grid-column: 1 / -1; }
  .catalog-open { justify-self: end; }
}

@media print {
  .header-actions, .operator-intro, .footer { display: none !important; }
  body { background: #fff; }
  .topbar { border: 0; }
  .page { max-width: none; padding: 10px; }
  .insert-shell { box-shadow: none; }
}


/* V27.1.2 refinement pass */
.topbar { align-items:center; }
.reach-highlight{margin:0 0 22px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fbf6ec;display:grid;gap:4px}
.reach-highlight span{color:var(--copper);font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.reach-highlight strong{font-size:clamp(24px,3.2vw,38px);line-height:1.05}
.reach-highlight small{color:var(--muted);font-size:12px;line-height:1.45}
.response-first .card{width:100%}
.single-comparison{grid-template-columns:1fr}
.results-kpis{margin-top:30px}
.merchant-hero>.eyebrow{margin-bottom:12px}
.merchant-hero h1{margin-top:0;margin-bottom:28px;line-height:.98}
.how-drawer-panel{padding-top:30px;padding-bottom:30px}
.how-drawer-panel>.eyebrow{margin-bottom:12px}
.how-drawer-panel h2{margin:0 0 24px;line-height:1.05}
.how-drawer-row p{margin-top:0}
.merchant-screen>.eyebrow{margin-bottom:10px}
.merchant-screen>h2{margin-top:0;margin-bottom:22px;line-height:1.06}
.campaign-reach-line{margin:-4px 0 24px;padding:13px 15px;border-left:4px solid var(--copper);background:#fbf6ec;color:var(--muted);line-height:1.45}
.campaign-reach-line strong{color:var(--ink)}
@media(max-width:720px){
  .customer-experience .topbar{grid-template-columns:70px minmax(0,1fr) 126px;min-height:62px;padding:6px 8px;gap:6px}
  .customer-experience .local-flower-logo{width:68px;height:38px;object-fit:contain}
  .customer-experience .inabag-brand{gap:4px}
  .customer-experience .inabag-brand img{width:24px;height:24px}
  .customer-experience .brand-words{font-size:14px}
  .customer-experience .catalog-button{min-height:34px!important;padding:7px 8px!important;font-size:9px!important;line-height:1.05;text-align:center}
  .customer-experience .catalog-button small{display:none!important}
  .merchant-hero{padding-top:18px}
  .merchant-hero>.eyebrow{margin-bottom:10px}
  .merchant-hero h1{margin-bottom:22px}
  .how-drawer-panel{padding:18px 16px}
  .how-drawer-panel h2{margin-bottom:18px}
  .reach-highlight{margin-bottom:18px;padding:15px}
  .reach-highlight strong{font-size:25px}
  .response-first .result-funnel{grid-template-columns:repeat(2,1fr)}
  .results-hero{gap:18px}
  .results-hero h1{margin-bottom:16px}
  .section{margin-top:20px}
}


/* V27.1.2 review refinements — 2026-08-30 */
.gold-action{
  background:var(--gold)!important;
  border-color:var(--gold)!important;
  color:#fff!important;
}
.gold-action:hover{filter:brightness(.97)}
.compact-return{white-space:nowrap;text-align:center;justify-content:center}
.customer-experience .catalog-button{align-items:center;justify-content:center;text-align:center;white-space:nowrap}
.catalog-brand .brand-words{justify-content:center;text-align:center}

/* Keep the merchant header visually on one line. */
.merchant-brand{display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:center!important;gap:9px!important;white-space:nowrap}
.merchant-brand .brand-subline{margin:0!important;display:inline!important;letter-spacing:.09em;font-size:9px!important}

/* Merchant selling message: no reach bubble; compact centered statement. */
.reach-message{
  max-width:820px;
  margin:0 auto 26px!important;
  text-align:center;
  font-size:clamp(26px,3.1vw,38px)!important;
  line-height:1.05!important;
  white-space:normal!important;
  text-wrap:balance;
}

/* Campaign proof uses exactly the same visual language as an InaBag offer card. */
.ad-preview-frame{display:grid;justify-items:center}
.customer-ad-preview{
  width:min(360px,100%);
  min-height:250px;
  padding:22px 16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:none;
}
.customer-ad-preview .logo-wrap{height:125px!important}
.customer-ad-preview .logo-wrap img{max-height:110px!important;max-width:100%!important}
.customer-ad-preview .offer{font-size:32px!important}
.customer-ad-preview .detail{font-size:18px!important;min-height:0!important}

/* No stale "draft saved" banner. Validation/errors can still use the message box. */
#draftMessage:empty{display:none!important}

/* General alignment / vertical-space QA */
.topbar>*{min-width:0}
.page>h1,.page>.eyebrow,.page>.lead{text-wrap:balance}
.merchant-screen>.eyebrow,.merchant-screen>h2,.preview-heading{text-align:left}

@media(max-width:720px){
  .customer-experience .topbar{
    grid-template-columns:72px minmax(0,1fr) 104px!important;
    min-height:60px!important;
    padding:6px 8px!important;
    gap:6px!important;
  }
  .customer-experience .local-flower-logo{width:68px!important;height:36px!important}
  .customer-experience .inabag-brand{justify-content:center!important;text-align:center!important}
  .customer-experience .brand-words{font-size:14px!important}
  .customer-experience .header-actions .button{min-height:34px!important;padding:7px 9px!important;font-size:10px!important;line-height:1!important}
  .customer-experience .catalog-button{font-size:10px!important}
  .customer-experience .insert-head{align-items:center!important}
  .customer-experience .insert-head strong{line-height:1.05;text-align:left}

  .catalog-brand .brand-words{font-size:13px!important}
  .compact-return{font-size:9.5px!important;padding-left:7px!important;padding-right:7px!important}

  body:not(.customer-experience) .topbar{
    grid-template-columns:86px minmax(0,1fr) 132px!important;
    min-height:62px!important;
    padding:7px 10px!important;
    gap:7px!important;
  }
  body:not(.customer-experience) .local-flower-logo{width:82px!important;height:42px!important}
  .merchant-brand{gap:5px!important}
  .merchant-brand .brand-words{font-size:16px!important}
  .merchant-brand .brand-subline{font-size:7px!important;letter-spacing:.06em!important}
  .send-self-button{
    min-height:36px!important;
    padding:7px 8px!important;
    font-size:9px!important;
    line-height:1.05!important;
    white-space:normal!important;
    text-align:center!important;
  }

  .merchant-hero{padding-top:14px!important}
  .merchant-hero h1{font-size:clamp(39px,11.5vw,50px)!important;line-height:.96!important;margin-bottom:20px!important;text-align:center}
  .merchant-hero>.eyebrow{text-align:center}
  .how-drawer-panel{padding:17px 15px!important}
  .how-drawer-panel>.eyebrow{text-align:center}
  .reach-message{
    max-width:330px;
    margin:0 auto 18px!important;
    font-size:clamp(24px,7.4vw,30px)!important;
    line-height:1.05!important;
  }
  .how-drawer-row>p{text-align:center;font-size:14px;line-height:1.45}
  .campaign-reach-line{text-align:center;border-left:0!important;border-top:3px solid var(--copper);padding:11px 12px!important;font-size:15px!important}
  .merchant-screen>.eyebrow,.merchant-screen>h2,.preview-heading{text-align:center!important}
  .merchant-screen>h2{font-size:clamp(28px,8vw,36px)!important;margin-bottom:18px!important}
  .preview-heading{display:block!important;margin-bottom:14px!important}
  .preview-heading p{text-align:center!important}
  .customer-ad-preview{width:min(280px,100%);min-height:205px;padding:17px 12px}
  .customer-ad-preview .logo-wrap{height:98px!important}
  .customer-ad-preview .logo-wrap img{max-height:90px!important}
  .customer-ad-preview .offer{font-size:26px!important}
  .customer-ad-preview .detail{font-size:15px!important}
}


/* V27.1.2 QA3 — visual synchronization pass */
:root{--qa3-header-h:76px}

/* CUSTOMER HEADER: equal outside columns keep the center brand truly centered. */
.customer-experience .topbar{
  grid-template-columns:156px minmax(0,1fr) 156px;
  padding-top:8px;padding-bottom:8px;
}
.customer-experience .header-actions{justify-content:flex-end}
.customer-experience .catalog-button,.customer-experience .compact-return{
  min-width:112px;min-height:42px;padding:9px 14px;border-radius:12px;
  font-size:13px;line-height:1;white-space:nowrap;
}
.customer-experience .catalog-brand .brand-words{font-size:22px}

/* Merchant wordmark is one visual line at every breakpoint. */
.merchant-brand{display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;text-decoration:none}
.merchant-wordmark{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap;line-height:1}
.merchant-wordmark strong{font-size:25px;font-style:normal;font-weight:950;letter-spacing:-.045em}
.merchant-wordmark strong span{color:var(--copper)}
.merchant-wordmark em{font-size:9px;font-style:normal;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:var(--muted)}
.send-self-button{white-space:nowrap!important;min-width:184px;max-width:220px}

/* Landing space: concise selling statement replaces the old numeric bubble. */
.merchant-hero{padding-top:28px}
.merchant-hero h1{margin-bottom:22px}
.how-drawer-panel{padding:24px 28px}
.reach-message{max-width:900px;margin:0 auto 20px!important;font-size:clamp(25px,2.55vw,34px)!important;line-height:1.08!important;text-align:center}
.how-drawer-row{align-items:center}

/* Hide the dormant draft-status slot unless it is being used for a real warning/error. */
#draftMessage:not(.warn):not(.error){display:none!important}

/* Campaign preview reuses the EXACT customer-card geometry and emphasis. */
.ad-preview-frame{min-height:0;padding:18px;border-radius:14px;align-content:start}
.customer-ad-preview{
  width:min(330px,100%);min-height:196px!important;padding:13px 10px 12px!important;gap:7px!important;
  border:2px solid var(--gold)!important;border-radius:12px!important;background:#fff!important;
  box-shadow:0 9px 24px rgba(133,85,31,.16)!important;
}
.customer-ad-preview .logo-wrap{height:96px!important}
.customer-ad-preview .logo-wrap img{max-height:90px!important;max-width:108%!important}
.customer-ad-preview .offer{font-size:19px!important;line-height:1.05!important}
.customer-ad-preview .detail{min-height:28px!important;font-size:12px!important;line-height:1.2!important}

/* Desktop rhythm. */
.catalog-title-row{gap:16px}
.catalog-title-row h1{line-height:1}
.page>.eyebrow{margin-bottom:9px}

@media(max-width:720px){
  /* Customer header is compact, centered and symmetrical. */
  .customer-experience .topbar{
    grid-template-columns:88px minmax(0,1fr) 88px!important;
    min-height:58px!important;padding:5px 7px!important;gap:4px!important;
  }
  .customer-experience .local-flower-logo{width:76px!important;height:38px!important;object-position:center!important;justify-self:center}
  .customer-experience .inabag-brand{justify-self:center!important;justify-content:center!important;gap:4px!important}
  .customer-experience .inabag-brand img{width:24px!important;height:24px!important}
  .customer-experience .brand-words{font-size:14px!important;line-height:1!important}
  .customer-experience .header-actions{justify-self:end!important;width:auto}
  .customer-experience .catalog-button,.customer-experience .compact-return{
    min-width:82px!important;min-height:34px!important;padding:7px 8px!important;border-radius:10px!important;
    font-size:9.5px!important;line-height:1!important;white-space:nowrap!important;
  }
  .customer-experience .catalog-brand .brand-words{font-size:13px!important}

  /* Catalog page hierarchy: header says My Offers; headline below owns "Catalog". */
  .catalog-title-row{display:block!important;text-align:left}
  .catalog-title-row h1{font-size:clamp(38px,10vw,48px)!important;margin-bottom:18px!important;line-height:.98!important}
  .catalog-title-row strong{display:block;font-size:19px!important;line-height:1.15}
  .customer-experience .page>.lead{font-size:16px;line-height:1.4;margin-top:10px}

  /* Merchant header: one line, no stacked BUSINESS SERVICES. */
  body:not(.customer-experience) .topbar{
    grid-template-columns:86px minmax(0,1fr) 145px!important;
    min-height:58px!important;padding:5px 8px!important;gap:5px!important;
  }
  body:not(.customer-experience) .local-flower-logo{width:80px!important;height:38px!important;justify-self:center}
  .merchant-wordmark{gap:4px!important}
  .merchant-wordmark strong{font-size:16px!important;letter-spacing:-.04em!important}
  .merchant-wordmark em{font-size:6.2px!important;letter-spacing:.055em!important}
  .send-self-button{
    min-width:137px!important;max-width:137px!important;min-height:34px!important;padding:7px 6px!important;
    font-size:8.1px!important;line-height:1!important;white-space:nowrap!important;border-radius:10px!important;
  }

  /* Merchant landing: less vertical mass; message lands in two lines on normal phones. */
  .page{padding-top:18px}
  .merchant-hero{padding-top:8px!important}
  .merchant-hero>.eyebrow{margin-bottom:9px!important}
  .merchant-hero h1{font-size:clamp(38px,10.5vw,46px)!important;line-height:.95!important;margin:0 auto 16px!important}
  .how-drawer-panel{padding:14px 13px 15px!important}
  .how-drawer-panel>.eyebrow{margin-bottom:8px!important}
  .reach-message{
    max-width:355px!important;margin:0 auto 14px!important;font-size:clamp(21px,5.8vw,24px)!important;
    line-height:1.08!important;letter-spacing:-.02em!important;text-wrap:balance!important;
  }
  .how-drawer-row{gap:14px!important}
  .how-drawer-row>p{font-size:13px!important;line-height:1.38!important;margin:0!important}
  .how-drawer-actions{gap:7px!important}
  .how-drawer-actions .button{min-height:40px;padding:9px 10px}

  /* Flow pages: center headings, eliminate dead vertical slots. */
  #merchantFlow{padding:16px 13px!important}
  .flow-head{margin-bottom:14px!important}
  #draftMessage{margin:0!important}
  .merchant-screen>.eyebrow{text-align:center!important;margin-bottom:7px!important}
  .merchant-screen>h2{text-align:center!important;margin:0 0 16px!important;font-size:clamp(27px,7.4vw,33px)!important;line-height:1.02!important}
  .campaign-reach-line{margin:0 0 17px!important;padding:9px 10px!important;font-size:13px!important;line-height:1.32!important}

  /* Customer-ready ad = same card proportions as the InaBag mobile tile. */
  .purchase-preview{gap:16px!important}
  .ad-preview-frame{padding:12px!important}
  .ad-preview-label{font-size:9px}
  .customer-ad-preview{
    width:min(100%, 280px)!important;min-height:156px!important;padding:9px 7px!important;border-radius:10px!important;
  }
  .customer-ad-preview .logo-wrap{height:78px!important}
  .customer-ad-preview .logo-wrap img{max-height:74px!important;max-width:108%!important}
  .customer-ad-preview .offer{font-size:16px!important}
  .customer-ad-preview .detail{min-height:24px!important;font-size:11px!important}
}


/* V27.1.2 QA4 — final MVP density + save-later + preview QA */
#merchantFlow.card{padding:18px 22px}
#merchantFlow .flow-head{margin-bottom:14px}
#merchantFlow .merchant-screen>.eyebrow{margin-bottom:5px}
#merchantFlow .merchant-screen>h2{margin-bottom:12px}
#merchantFlow .field{margin:8px 0}
#merchantFlow .field label{margin-bottom:4px}
#merchantFlow .field input,#merchantFlow .field select,#merchantFlow .field textarea{padding:9px 11px}
#merchantFlow .grid-2{gap:12px}
#merchantFlow .flow-actions{margin-top:14px}
#merchantFlow .campaign-reach-line{margin:0 0 12px;padding:9px 12px}
#merchantFlow .logo-upload-field{padding:10px 12px}
#merchantFlow .creative-status-column{display:grid;align-content:center;gap:10px}
.save-later-card{width:min(520px,100%)}
.save-later-card h2{margin-bottom:8px}
.save-later-card .field{margin:10px 0}
.preview-qr-wrap{margin-top:8px;display:grid;justify-items:center;gap:3px}
.preview-qr-wrap small{color:var(--muted);font-size:9px;font-weight:700}
.customer-ad-preview{overflow:hidden}
.customer-ad-preview .logo-wrap{width:100%;height:88px!important}
.customer-ad-preview .logo-wrap img{max-width:88%!important;max-height:76px!important;object-fit:contain}
.customer-ad-preview .offer{font-size:28px!important}
.customer-ad-preview .detail{font-size:15px!important}
.preview-sample-qr{width:70px!important;height:70px!important}
.ad-preview-frame{min-height:390px}
.purchase-preview{align-items:start}
@media(max-width:720px){
  #merchantFlow.card{padding:14px 12px}
  #merchantFlow .flow-head{margin-bottom:10px}
  #merchantFlow .merchant-screen>h2{margin-bottom:10px!important}
  #merchantFlow .field{margin:7px 0}
  #merchantFlow .field input,#merchantFlow .field select,#merchantFlow .field textarea{padding:9px 10px}
  #merchantFlow .grid-2{gap:8px}
  #merchantFlow .flow-actions{margin-top:12px}
  #merchantFlow .campaign-reach-line{margin-bottom:10px}
  .save-later-card{padding:20px 16px}
  .customer-ad-preview{width:min(250px,100%);min-height:250px;padding:14px 10px}
  .customer-ad-preview .logo-wrap{height:74px!important}
  .customer-ad-preview .logo-wrap img{max-height:62px!important}
  .customer-ad-preview .offer{font-size:25px!important}
  .customer-ad-preview .detail{font-size:14px!important}
  .preview-sample-qr{width:62px!important;height:62px!important}
  .ad-preview-frame{min-height:330px;padding:14px}
}

/* V28 — catalog Reopen action */
.catalog-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 2px solid #c9952f;
  border-radius: 999px;
  background: #fff8e8;
  color: #8a5b00;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-open:hover { background: #f8e6b4; text-decoration: none; }

/* V28 final — unmistakable catalog Reopen control */
.catalog-row .catalog-open, a.catalog-open {
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  min-width:88px !important; min-height:36px !important; padding:8px 16px !important;
  border-radius:999px !important; background:#d8a72e !important; border:2px solid #d8a72e !important;
  color:#fff !important; font-weight:900 !important; line-height:1 !important; text-decoration:none !important;
  box-shadow:none !important; white-space:nowrap !important;
}
.catalog-row .catalog-open:hover, .catalog-row .catalog-open:focus, a.catalog-open:hover, a.catalog-open:focus {
  background:#c7961f !important; border-color:#c7961f !important; color:#fff !important; text-decoration:none !important;
}
@media (max-width:720px){
  .catalog-row .catalog-open, a.catalog-open { min-width:82px !important; min-height:34px !important; padding:7px 14px !important; justify-self:end !important; }
}


/* V28 FINAL — My Offers Reopen control, desktop + mobile */
.catalog-row .catalog-open.catalog-reopen-v28,
a.catalog-open.catalog-reopen-v28 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 88px !important;
  min-height: 36px !important;
  padding: 8px 16px !important;
  border: 2px solid #d8a72e !important;
  border-radius: 999px !important;
  background: #d8a72e !important;
  color: #fff !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}
.catalog-row .catalog-open.catalog-reopen-v28:hover,
.catalog-row .catalog-open.catalog-reopen-v28:focus {
  background: #c7961f !important;
  border-color: #c7961f !important;
  color: #fff !important;
  text-decoration: none !important;
}
@media (max-width: 720px) {
  .catalog-row .catalog-open.catalog-reopen-v28,
  a.catalog-open.catalog-reopen-v28 {
    min-width: 82px !important;
    min-height: 34px !important;
    padding: 7px 14px !important;
    justify-self: end !important;
  }
}
