:root {
  --brand-primary: #FDB813;
  --brand-accent: #FECF81;
  --brand-ink: #100C04;
  --brand-text: #343434;
  --brand-muted: #8E8E93;
  --brand-green: #264027;
  --brand-blue: #0B3142;
  --surface: #FFFFFF;
  --surface-alt: #F5F5F5;
  --surface-cream: #FFF6DE;
  --surface-warm: #FCFBF7;
  --surface-ink: #15120C;
  --border: #E0E0E7;
  --shadow: 0 20px 60px rgba(16, 12, 4, 0.08);
  --shadow-strong: 0 28px 80px rgba(16, 12, 4, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--brand-text);
  font-family: "Zen Maru Gothic", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(224, 224, 231, 0.7);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.section__inner,
.form-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  width: 112px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.happi-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--surface);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(253, 184, 19, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.happi-button:hover,
.happi-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(253, 184, 19, 0.34);
}

.happi-button--quiet {
  background: var(--surface);
  color: var(--brand-ink);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: var(--surface-alt);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 92px;
}

.hero__copy {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 13px;
  border-radius: 999px;
  background: var(--brand-green);
  color: var(--surface);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.form-title {
  margin: 22px 0 18px;
  color: var(--brand-ink);
  font-weight: 900;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 86px);
}

.hero p {
  max-width: 540px;
  margin: 0 0 32px;
  color: var(--brand-text);
  font-size: 20px;
}

.hero__visual {
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: 54px;
  width: min(430px, 37vw);
  min-width: 280px;
  display: grid;
  gap: 18px;
}

.visual-tile {
  border-radius: 28px;
  padding: 24px;
  min-height: 220px;
  box-shadow: var(--shadow);
}

.visual-tile--yellow {
  background: var(--brand-primary);
}

.visual-tile--blue {
  background: var(--brand-blue);
}

.visual-tile img {
  margin-left: auto;
  max-height: 210px;
}

.happi-button--dark {
  background: var(--brand-ink);
  color: var(--brand-primary);
  box-shadow: 0 18px 34px rgba(16, 12, 4, 0.2);
}

.happi-button--dark:hover,
.happi-button--dark:focus {
  box-shadow: 0 20px 42px rgba(16, 12, 4, 0.26);
}

.happi-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid rgba(16, 12, 4, 0.2);
  border-radius: 999px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.landing-body {
  background: var(--surface-warm);
}

.landing-body .site-header {
  width: min(1180px, calc(100% - 28px));
  margin: 12px auto 0;
  border: 1px solid rgba(16, 12, 4, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(16, 12, 4, 0.08);
}

.landing-body .site-header__inner {
  width: 100%;
  min-height: 58px;
  padding: 0 10px 0 20px;
}

.landing-body .site-logo {
  width: 98px;
}

.landing-body .site-nav {
  gap: 16px;
  font-size: 14px;
}

.landing-body .site-nav .happi-button {
  min-height: 42px;
  padding: 9px 20px;
  color: var(--brand-ink);
}

.home-page {
  overflow: hidden;
  background: var(--surface-warm);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 246, 222, 0.98), rgba(252, 251, 247, 0.98)),
    var(--surface-cream);
}

.home-hero__inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 70px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.86fr);
  gap: 64px;
  align-items: center;
}

.home-hero__copy {
  max-width: 700px;
}

.home-hero__copy h1,
.home-section__heading h2,
.split-copy h2,
.final-cta h2 {
  margin: 18px 0 20px;
  color: var(--brand-ink);
  font-size: 76px;
  font-weight: 850;
  line-height: 1.02;
}

.home-hero__copy h1 span {
  display: block;
}

.home-hero__lead {
  max-width: 600px;
  margin: 0;
  color: var(--brand-text);
  font-size: 22px;
  line-height: 1.5;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.home-hero__actions form {
  margin: 0;
}

.landing-body .home-hero__actions .happi-button,
.landing-body .happi-link-button {
  min-height: 48px;
  padding: 11px 24px;
  font-size: 15px;
  font-weight: 850;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span,
.reward-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(16, 12, 4, 0.1);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--surface);
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.home-hero__visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.app-preview {
  position: relative;
  width: min(410px, 100%);
  border: 1px solid rgba(16, 12, 4, 0.1);
  border-radius: 34px;
  padding: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-strong);
}

.app-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-preview__top img {
  width: 106px;
  height: auto;
}

.app-preview__top span,
.plan-card__head span,
.protection-grid span {
  color: var(--brand-green);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-preview > strong {
  display: block;
  margin-top: 38px;
  color: var(--brand-ink);
  font-size: 44px;
  font-weight: 850;
  line-height: 1.04;
}

.app-preview > p {
  margin: 18px 0 0;
  color: var(--brand-text);
  font-size: 18px;
  line-height: 1.45;
}

.app-preview__tiles {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.app-preview__tiles article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.app-preview__tiles img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.app-preview__tiles strong {
  display: block;
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.app-preview__tiles span {
  display: block;
  margin-top: 4px;
  color: var(--brand-muted);
  font-size: 14px;
}

.hero-ticket {
  position: absolute;
  right: 6px;
  bottom: 54px;
  min-width: 166px;
  border-radius: 999px;
  padding: 20px 26px;
  background: var(--brand-primary);
  color: var(--brand-ink);
  box-shadow: 0 24px 58px rgba(253, 184, 19, 0.32);
}

.hero-ticket span,
.hero-ticket small {
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.hero-ticket strong {
  display: block;
  margin: 2px 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 38px;
  font-weight: 850;
  line-height: 1;
}

.home-section {
  padding: 96px 0;
}

.home-section--cream {
  background: var(--surface-cream);
}

.home-section--split {
  background: var(--surface);
  padding: 78px 0;
}

.home-section--ink {
  background: var(--surface-ink);
  color: var(--surface);
}

.home-section__heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.home-section__heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-section__heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.5fr);
  gap: 48px;
  align-items: end;
}

.home-section__heading h2,
.split-copy h2,
.final-cta h2 {
  font-size: 56px;
  line-height: 1.06;
}

.home-section__heading p,
.split-copy p,
.final-cta p {
  margin: 0;
  color: var(--brand-text);
  font-size: 20px;
  line-height: 1.55;
}

.home-section--ink .home-section__heading h2,
.home-section--ink .home-section__heading p {
  color: var(--surface);
}

.eyebrow--light {
  background: var(--brand-primary);
  color: var(--brand-ink);
}

.benefit-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 0.94fr));
  gap: 20px;
}

.benefit-card,
.journey-grid article,
.protection-grid article,
.comparison-card,
.plan-card,
.faq-grid details {
  border: 1px solid rgba(16, 12, 4, 0.1);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.benefit-card {
  min-height: 360px;
  display: grid;
  align-content: space-between;
  padding: 30px;
  overflow: hidden;
}

.benefit-card img {
  width: 128px;
  height: 128px;
  object-fit: contain;
}

.benefit-card span {
  display: block;
  margin-top: 28px;
  color: rgba(16, 12, 4, 0.62);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-card h3,
.journey-grid h3,
.comparison-card h3,
.plan-card h3 {
  margin: 8px 0 0;
  color: var(--brand-ink);
  font-size: 27px;
  font-weight: 850;
  line-height: 1.1;
}

.benefit-card p,
.journey-grid p,
.comparison-card li,
.protection-grid p,
.faq-grid p {
  margin: 14px 0 0;
  color: var(--brand-text);
}

.benefit-card--yellow {
  background: var(--brand-primary);
}

.benefit-card--dark {
  background: var(--brand-ink);
}

.benefit-card--dark h3,
.benefit-card--dark p,
.benefit-card--dark span {
  color: var(--surface);
}

.benefit-card--light {
  background: var(--surface);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-grid article {
  padding: 26px;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(253, 184, 19, 0.24);
}

.journey-grid h3 {
  margin-top: 28px;
  font-size: 24px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  border-radius: 44px;
  padding: 44px;
  background: var(--surface-cream);
}

.split-media {
  display: grid;
  place-items: center;
  min-height: 350px;
  border-radius: 34px;
  background: var(--surface);
}

.split-media img {
  width: min(300px, 78%);
  height: auto;
}

.split-copy {
  max-width: 620px;
}

.reward-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.reward-chips span {
  background: rgba(253, 184, 19, 0.14);
}

.protection-layout {
  display: grid;
  gap: 10px;
}

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

.protection-grid article {
  min-height: 260px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.protection-grid span {
  color: var(--brand-primary);
}

.protection-grid strong {
  display: block;
  margin-top: 26px;
  color: var(--surface);
  font-family: Inter, system-ui, sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.protection-grid p {
  color: rgba(255, 255, 255, 0.74);
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.plan-card--featured {
  background: var(--brand-ink);
  color: var(--surface);
  transform: translateY(-14px);
}

.plan-card--featured .plan-card__head span,
.plan-card--featured .plan-card__head h3,
.plan-card--featured .plan-price,
.plan-card--featured li {
  color: var(--surface);
}

.plan-card__head h3 {
  font-size: 30px;
}

.plan-price {
  display: block;
  margin: 26px 0 20px;
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.95;
}

.plan-price span,
.plan-price small {
  font-size: 22px;
}

.plan-card ul,
.comparison-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding: 15px 0;
  border-top: 1px solid rgba(16, 12, 4, 0.1);
  color: var(--brand-text);
  font-weight: 800;
}

.plan-card--featured li {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.plan-card form {
  margin-top: auto;
  padding-top: 24px;
}

.plan-card .happi-button {
  width: 100%;
}

.plan-disclaimer {
  margin: 24px 0 0;
  color: var(--brand-muted);
  font-size: 14px;
}

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

.comparison-card {
  padding: 30px;
}

.comparison-card--highlight {
  background: var(--brand-primary);
}

.comparison-card li {
  padding: 16px 0;
  border-top: 1px solid rgba(16, 12, 4, 0.12);
  font-weight: 800;
}

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

.faq-grid details {
  padding: 24px 26px;
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--brand-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
  cursor: pointer;
}

.faq-grid summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(253, 184, 19, 0.16);
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.final-cta {
  padding-bottom: 96px;
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: center;
  border-radius: 40px;
  padding: 56px;
  background: var(--brand-primary);
  box-shadow: 0 28px 70px rgba(253, 184, 19, 0.24);
}

.final-cta h2 {
  max-width: 740px;
  font-size: 56px;
}

.final-cta p {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--brand-ink);
}

.download-actions {
  display: grid;
  gap: 12px;
  border-radius: 28px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.download-actions strong {
  display: block;
  color: var(--brand-ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.download-actions a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-ink);
  color: var(--surface);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.download-actions span {
  color: var(--brand-muted);
  font-size: 14px;
}

.section {
  padding: 78px 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section-title {
  max-width: 720px;
  font-size: clamp(32px, 5vw, 56px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.feature-card,
.form-panel,
.redemption-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 28px;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--brand-ink);
  font-size: 24px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: var(--brand-muted);
}

.download-band {
  border-radius: 28px;
  padding: 38px;
  background: var(--brand-green);
  color: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 24px;
}

.download-band h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.download-band p {
  margin: 0 0 24px;
  max-width: 520px;
}

.form-page {
  min-height: calc(100vh - 72px);
  background: var(--surface-alt);
  padding: 38px 0 72px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(520px, 1fr);
  gap: 48px;
  align-items: start;
}

.form-aside {
  padding-top: 36px;
}

.form-aside p {
  max-width: 440px;
  margin: 0;
  color: var(--brand-text);
  font-size: 18px;
}

.form-panel {
  width: min(100%, 650px);
  margin-left: auto;
  padding: 28px;
  border-radius: 18px;
}

.form-title {
  margin-top: 0;
  font-size: clamp(34px, 4vw, 54px);
}

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

.form-row {
  display: grid;
  gap: 8px;
}

.form-row--full {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 900;
}

.happi-field,
.phone-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 10px 17px;
  background: var(--surface);
  color: var(--brand-text);
  font: inherit;
  letter-spacing: 0;
}

.happi-field:focus,
.phone-field:focus-within {
  border-color: var(--brand-primary);
  outline: 3px solid rgba(253, 184, 19, 0.2);
}

.happi-field--invalid,
.phone-field--invalid {
  border-color: rgba(207, 46, 46, 0.55);
  background: rgba(207, 46, 46, 0.03);
}

.phone-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  overflow: hidden;
}

.phone-field__prefix {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px 0 17px;
  border-right: 1px solid var(--border);
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.phone-field input {
  min-height: 46px;
  border: 0;
  border-radius: 0;
  padding-left: 14px;
}

.phone-field input:focus {
  outline: 0;
}

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

.form-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.error-box {
  margin: 0 0 18px;
  border: 1px solid rgba(207, 46, 46, 0.25);
  border-radius: 14px;
  padding: 13px 15px;
  background: rgba(207, 46, 46, 0.06);
  color: #8f1d1d;
  font-size: 14px;
  line-height: 1.45;
}

.error-box strong {
  display: block;
  font-weight: 900;
}

.error-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.field-error {
  color: #8f1d1d;
  font-size: 13px;
  line-height: 1.35;
}

.field-hint {
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.35;
}

.field-hint--success {
  color: #1d6f36;
}

.field-hint--error {
  color: #8f1d1d;
}

.otp-status {
  min-height: 20px;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.35;
}

.otp-status--success {
  color: #1d6f36;
}

.otp-status--error {
  color: #8f1d1d;
}

.happi-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.redemption-page {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 54px 20px;
  background: var(--surface-alt);
}

.redemption-panel {
  width: min(720px, 100%);
  padding: 42px;
  text-align: center;
}

.redemption-panel h1 {
  margin: 0 0 16px;
  color: var(--brand-ink);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
}

.redemption-panel p {
  margin: 0 auto 28px;
  max-width: 520px;
}

.admin-page {
  min-height: 100vh;
  padding: 28px 0 64px;
  background: #f4f6f7;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  background: #f4f6f7;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 4px;
  padding: 8px 12px;
  background: var(--brand-ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 18px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.admin-brand {
  display: grid;
  gap: 8px;
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.admin-brand .site-logo {
  width: 96px;
}

.admin-brand small {
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a,
.admin-logout {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  background: transparent;
  color: var(--brand-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background: rgba(253, 184, 19, 0.14);
  color: var(--brand-ink);
}

.admin-logout {
  margin-top: auto;
  width: 100%;
  border: 1px solid var(--border);
}

.admin-shell {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
}

.admin-page .form-title {
  margin: 6px 0 10px;
  font-size: 32px;
  line-height: 1.15;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-heading--stacked {
  align-items: flex-start;
}

.admin-heading__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.admin-subtitle {
  max-width: 680px;
  margin: -4px 0 0;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.admin-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(16, 12, 4, 0.035);
}

.admin-panel--spaced {
  margin-bottom: 18px;
}

.campaign-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--border);
}

.campaign-metric-grid > div {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
}

.campaign-metric-grid span,
.campaign-metric-grid small {
  display: block;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.campaign-metric-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--brand-ink);
  font-size: 24px;
  line-height: 1.2;
}

.campaign-metric-grid small {
  margin-top: 4px;
  font-weight: 500;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-heading--actions {
  align-items: center;
}

.panel-heading h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 20px;
  line-height: 1.2;
}

.panel-heading p {
  margin: 6px 0 0;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.panel-heading a,
.table-link {
  color: var(--brand-blue);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
}

.admin-table-wrap--flat {
  box-shadow: none;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  background: #fbfbfc;
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-table tbody tr:hover {
  background: #fafbf9;
}

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

.admin-table--compact th,
.admin-table--compact td {
  padding: 12px 14px;
}

.admin-table.source-performance-table {
  min-width: 640px;
  table-layout: fixed;
}

.admin-table.journey-conversion-table {
  min-width: 720px;
  table-layout: auto;
}

.journey-conversion-table th,
.journey-conversion-table td {
  padding-right: 8px;
  padding-left: 8px;
  overflow-wrap: normal;
  word-break: normal;
}

.journey-conversion-table th {
  white-space: nowrap;
}

.source-performance-table th:first-child,
.source-performance-table td:first-child {
  width: 28%;
}

.source-performance-table th:not(:first-child),
.source-performance-table td:not(:first-child) {
  padding-right: 6px;
  padding-left: 6px;
  text-align: right;
}

.admin-table strong {
  display: block;
  color: var(--brand-ink);
  line-height: 1.35;
}

.admin-table code {
  color: var(--brand-blue);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
}

.tracking-key,
.public-link {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.muted-text {
  display: block;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-actions--compact {
  gap: 8px 10px;
}

.admin-actions--boxed {
  gap: 8px;
}

.admin-actions a,
.admin-actions button {
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.admin-actions--boxed a,
.admin-actions--boxed button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 11px;
  background: var(--surface);
}

.admin-page .happi-button {
  min-height: 42px;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  box-shadow: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-grid--compact {
  gap: 12px;
}

.metric-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(16, 12, 4, 0.05);
}

.metric-card--quiet {
  box-shadow: none;
}

.metric-card span {
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  color: var(--brand-ink);
  font-size: 34px;
  line-height: 1.1;
}

.metric-card--accent {
  background: var(--brand-green);
}

.metric-card--accent span,
.metric-card--accent strong {
  color: var(--surface);
}

.metric-card__button {
  display: block;
  margin-top: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand-blue);
  font: inherit;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: underline;
  cursor: pointer;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--surface-alt);
  color: var(--brand-text);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.status-badge--active,
.status-badge--registered,
.status-badge--issued,
.status-badge--redeemed {
  background: rgba(38, 64, 39, 0.12);
  color: var(--brand-green);
}

.status-badge--inactive,
.status-badge--expired,
.status-badge--failed,
.status-badge--exhausted,
.status-badge--retry_exhausted,
.status-badge--not-redeemed {
  background: rgba(143, 29, 29, 0.1);
  color: #8f1d1d;
}

.status-badge--pending,
.status-badge--scheduled,
.status-badge--processing,
.status-badge--retrying {
  background: rgba(253, 184, 19, 0.18);
  color: #7a5200;
}

.status-badge--neutral {
  background: rgba(11, 49, 66, 0.08);
  color: var(--brand-blue);
}

.status-badge--skipped {
  background: #eceef0;
  color: #555b61;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 8px;
  padding: 3px 8px;
  background: rgba(16, 12, 4, 0.05);
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.copy-chip {
  min-height: 26px;
  margin-left: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 8px;
  background: var(--surface);
  color: var(--brand-blue);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.empty-state {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
}

.empty-state strong {
  color: var(--brand-ink);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.filter-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.7fr));
  gap: 12px;
  align-items: end;
}

.filter-toolbar--simple {
  grid-template-columns: minmax(260px, 1fr) 220px auto auto;
}

.filter-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.filter-toolbar__wide {
  grid-column: span 2;
}

.filter-toolbar__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quick-filter-row,
.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.quick-filter-row span {
  color: var(--brand-muted);
}

.quick-filter-row a,
.filter-chip-row span,
.timezone-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface);
  color: var(--brand-ink);
  text-decoration: none;
}

.filter-chip-row span,
.timezone-pill {
  background: #fbfbfc;
  color: var(--brand-muted);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.funnel-panel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.funnel-card,
.snapshot-grid article,
.journey-summary article,
.timeline-list article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.funnel-card {
  min-height: 126px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(16, 12, 4, 0.05);
}

.funnel-card span,
.snapshot-grid span,
.journey-summary span,
.timeline-list span {
  display: block;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.funnel-card strong,
.snapshot-grid strong,
.journey-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--brand-ink);
  font-size: 34px;
  line-height: 1.05;
}

.funnel-card small,
.timeline-list small {
  display: block;
  margin-top: 8px;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.funnel-card--accent {
  background: var(--brand-green);
}

.funnel-card--accent span,
.funnel-card--accent strong,
.funnel-card--accent small {
  color: var(--surface);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.admin-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.admin-tabs a.is-active {
  border-color: rgba(38, 64, 39, 0.18);
  background: rgba(38, 64, 39, 0.08);
  color: var(--brand-green);
}

.admin-tabs span {
  min-width: 24px;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--surface-alt);
  color: inherit;
  text-align: center;
}

.report-workspace {
  display: grid;
  gap: 18px;
}

.report-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.report-section-card {
  display: grid;
  min-height: 104px;
  align-content: start;
  gap: 7px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--brand-ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.report-section-card:hover,
.report-section-card:focus-visible {
  background: #f8faf8;
  box-shadow: none;
  transform: none;
}

.report-section-card.is-active {
  background: rgba(38, 64, 39, 0.08);
  box-shadow: inset 0 -3px 0 var(--brand-green);
}

.report-section-card:last-child {
  border-right: 0;
}

.report-section-card__kicker {
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.report-section-card__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.report-section-card__main strong {
  font-size: 18px;
  line-height: 1.15;
}

.report-section-card__main em {
  min-width: 38px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--surface);
  color: var(--brand-green);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.report-section-card small {
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.report-table-panel {
  display: grid;
  gap: 12px;
}

.report-table-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface-alt);
}

.report-table-head h3 {
  margin: 4px 0 5px;
  color: var(--brand-ink);
  font-size: 22px;
  line-height: 1.1;
}

.report-table-head p {
  max-width: 760px;
  margin: 0;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.table-count {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--surface);
  color: var(--brand-green);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.tab-panel {
  display: grid;
  gap: 12px;
}

.tab-panel + .tab-panel {
  margin-top: 18px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.admin-pagination__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-pagination a,
.admin-pagination span.is-current,
.admin-pagination span.is-disabled {
  min-height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 6px 9px;
  background: var(--surface);
  color: var(--brand-ink);
  text-decoration: none;
}

.admin-pagination span.is-current {
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: var(--surface);
}

.admin-pagination span.is-disabled {
  color: var(--brand-muted);
  opacity: 0.54;
}

.snapshot-grid,
.journey-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.snapshot-grid article,
.journey-summary article {
  padding: 16px;
  background: #fbfbfc;
}

.journey-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journey-summary strong {
  font-size: 18px;
  line-height: 1.25;
  word-break: break-word;
}

.split-admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 16px;
}

.timeline-list {
  display: grid;
  gap: 10px;
}

.timeline-list article {
  position: relative;
  padding: 14px 16px 14px 20px;
  background: #fbfbfc;
}

.timeline-list article::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 8px;
  width: 4px;
  border-radius: 999px;
  background: var(--brand-primary);
}

.timeline-list strong {
  display: block;
  margin-top: 4px;
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.admin-form-panel {
  max-width: 920px;
}

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

.conversion-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface-alt);
}

.conversion-grid span {
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.conversion-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--brand-ink);
  font-size: 30px;
  line-height: 1.1;
}

.admin-modal {
  width: min(980px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 40px));
  border: 0;
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(16, 12, 4, 0.24);
}

.admin-modal::backdrop {
  background: rgba(16, 12, 4, 0.42);
}

.admin-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-modal__header h2 {
  margin: 10px 0 0;
  color: var(--brand-ink);
  font-size: 28px;
  line-height: 1.15;
}

.modal-close {
  align-self: start;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--brand-ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 900;
  cursor: pointer;
}

.admin-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 6px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--brand-text);
  font-size: 14px;
  line-height: 1.4;
}

.admin-alert strong {
  flex: 0 0 auto;
  color: var(--brand-ink);
}

.admin-alert--success {
  border-left-color: #2e6b3b;
  background: #f5faf6;
}

.admin-alert--error {
  border-left-color: #a52a2a;
  background: #fff7f6;
}

.admin-alert--info {
  border-left-color: var(--brand-blue);
  background: #f4f9fc;
}

.data-freshness {
  display: grid;
  gap: 1px;
  border-left: 3px solid var(--brand-green);
  padding-left: 10px;
  color: var(--brand-muted);
  font-size: 11px;
  line-height: 1.35;
}

.data-freshness small,
.data-freshness strong {
  display: block;
}

.data-freshness strong {
  color: var(--brand-ink);
  font-size: 13px;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.kpi-strip article {
  min-width: 0;
  border-right: 1px solid var(--border);
  padding: 16px;
}

.kpi-strip article:last-child {
  border-right: 0;
}

.kpi-strip span,
.kpi-strip small,
.today-progress span,
.list-summary span {
  display: block;
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.kpi-strip strong,
.today-progress strong,
.list-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--brand-ink);
  font-size: 28px;
  line-height: 1;
}

.kpi-strip small {
  margin-top: 7px;
  color: var(--brand-green);
  font-size: 11px;
  text-transform: none;
}

.owner-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.7fr);
  gap: 18px;
}

.health-indicator {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
}

.health-indicator--good {
  background: rgba(38, 64, 39, 0.1);
  color: var(--brand-green);
}

.health-indicator--warning {
  background: rgba(253, 184, 19, 0.18);
  color: #765000;
}

.attention-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.attention-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  border-bottom: 1px solid var(--border);
  padding: 12px 2px;
  color: var(--brand-ink);
  text-decoration: none;
}

.attention-list a:last-child {
  border-bottom: 0;
}

.attention-list a:hover span {
  color: var(--brand-blue);
}

.attention-list span {
  font-size: 14px;
  font-weight: 800;
}

.attention-list strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 22px;
}

.attention-list small {
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.35;
}

.today-progress,
.list-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.registration-table {
  min-width: 1040px;
}

.today-progress article,
.list-summary div {
  border-right: 1px solid var(--border);
  padding: 14px 16px 2px 0;
}

.today-progress article + article,
.list-summary div + div {
  padding-left: 16px;
}

.today-progress article:last-child,
.list-summary div:last-child {
  border-right: 0;
}

.list-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.list-summary.list-summary--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.list-summary div {
  min-width: 0;
  padding: 14px 16px;
}

.list-summary div + div {
  padding-left: 16px;
}

.list-summary strong {
  font-size: 24px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.table-panel {
  display: grid;
  gap: 2px;
}

.table-panel > form {
  min-width: 0;
  width: 100%;
}

.row-menu {
  position: relative;
  width: max-content;
}

.row-menu summary {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 9px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.row-menu summary::-webkit-details-marker {
  display: none;
}

.row-menu[open] summary {
  border-color: rgba(11, 49, 66, 0.34);
  background: #f4f7f8;
}

.row-menu > div {
  display: grid;
  gap: 4px;
  width: 170px;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px;
  background: var(--surface);
}

.row-menu a,
.row-menu button {
  min-height: 34px;
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 6px 8px;
  background: transparent;
  color: var(--brand-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.row-menu a:hover,
.row-menu button:hover {
  background: var(--surface-alt);
}

.empty-state--actionable .happi-button {
  justify-self: start;
  margin-top: 8px;
}

.admin-form {
  display: grid;
  gap: 24px;
}

.form-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.form-section-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-heading > div > span {
  min-width: 26px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-green);
  color: var(--surface);
  font-size: 12px;
  font-weight: 900;
}

.form-section-heading h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 18px;
}

.form-section-heading p {
  max-width: 460px;
  margin: 2px 0 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.4;
}

.toggle-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
}

.toggle-row > span {
  display: grid;
  gap: 2px;
}

.toggle-row strong {
  color: var(--brand-ink);
  font-size: 14px;
}

.toggle-row small {
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.35;
}

.toggle-row input {
  width: 42px;
  height: 22px;
  accent-color: var(--brand-green);
}

.sticky-form-actions {
  position: sticky;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(16, 12, 4, 0.08);
  backdrop-filter: blur(10px);
}

.sticky-form-actions > div:first-child {
  display: grid;
  gap: 2px;
}

.sticky-form-actions strong {
  color: var(--brand-ink);
  font-size: 14px;
}

.sticky-form-actions span {
  color: var(--brand-muted);
  font-size: 12px;
}

.journey-identity {
  display: grid;
  gap: 16px;
}

.journey-identity > div:first-child > span {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.journey-identity > div:first-child > code {
  color: var(--brand-blue);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.journey-identity dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border);
}

.journey-identity dl > div {
  border-right: 1px solid var(--border);
  padding: 12px 14px 0 0;
}

.journey-identity dl > div + div {
  padding-left: 14px;
}

.journey-identity dl > div:last-child {
  border-right: 0;
}

.journey-identity dt {
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.journey-identity dd {
  margin: 4px 0 0;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.journey-stage-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-stage {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-top: 3px solid var(--border);
  padding: 12px 12px 0 0;
}

.journey-stage > span {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--brand-muted);
  font-size: 11px;
  font-weight: 900;
}

.journey-stage strong,
.journey-stage small {
  display: block;
}

.journey-stage strong {
  color: var(--brand-ink);
  font-size: 13px;
  line-height: 1.3;
}

.journey-stage small {
  margin-top: 3px;
  color: var(--brand-muted);
  font-size: 11px;
  line-height: 1.35;
}

.journey-stage--done {
  border-color: #2e6b3b;
}

.journey-stage--done > span {
  background: #2e6b3b;
  color: var(--surface);
}

.journey-stage--failed {
  border-color: #a52a2a;
}

.journey-stage--failed > span {
  background: #a52a2a;
  color: var(--surface);
}

.redemption-panel--wide {
  width: min(860px, 100%);
  text-align: left;
}

.redemption-panel--wide p {
  margin-left: 0;
}

.tnc-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.tnc-list article,
.login-note {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: var(--surface-alt);
}

.tnc-list strong,
.login-note strong {
  display: block;
  color: var(--brand-ink);
  font-size: 18px;
  line-height: 1.25;
}

.tnc-list span,
.login-note span {
  display: block;
  margin-top: 5px;
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.app-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 18px;
}

.app-choice {
  display: grid;
  gap: 6px;
  min-height: 118px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  background: var(--surface-alt);
  color: var(--brand-ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.app-choice:hover,
.app-choice:focus {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.app-choice span {
  color: var(--brand-muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.app-choice strong {
  font-size: 24px;
  line-height: 1.15;
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-bottom: 360px;
  }

  .hero__visual {
    left: 20px;
    right: 20px;
    width: auto;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-tile {
    min-height: 180px;
  }

  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-sidebar {
    position: static;
    width: 100%;
    min-width: 0;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .admin-page {
    min-width: 0;
  }

  .admin-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-logout {
    margin-top: 0;
  }

  .feature-grid,
  .form-shell,
  .metric-grid,
  .metric-grid--five,
  .conversion-grid,
  .funnel-panel,
  .report-section-grid,
  .snapshot-grid,
  .journey-summary,
  .split-admin-grid {
    grid-template-columns: 1fr;
  }

  .report-table-head {
    flex-direction: column;
  }

  .filter-bar,
  .filter-toolbar,
  .filter-toolbar--simple,
  .app-choice-grid {
    grid-template-columns: 1fr;
  }

  .filter-toolbar__wide {
    grid-column: auto;
  }

  .admin-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-page {
    padding-top: 30px;
  }

  .form-shell {
    gap: 24px;
  }

  .form-aside {
    padding-top: 0;
  }

  .form-panel {
    width: 100%;
    margin-left: 0;
  }

  .download-band {
    grid-template-columns: 1fr;
  }

  .download-band img {
    width: 180px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header__inner,
  .section__inner,
  .hero__inner,
  .form-shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header__inner {
    min-height: 68px;
  }

  .site-nav a:not(.happi-button) {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero__inner {
    padding-top: 54px;
    padding-bottom: 330px;
  }

  .hero__visual {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    bottom: 38px;
  }

  .visual-tile {
    min-height: 145px;
    padding: 16px;
    border-radius: 22px;
  }

  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-panel,
  .redemption-panel,
  .download-band {
    padding: 24px;
    border-radius: 22px;
  }

  .inline-action {
    grid-template-columns: 1fr;
  }

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-shell {
    width: min(100% - 28px, 1160px);
  }

  .admin-panel,
  .admin-modal {
    padding: 18px;
    border-radius: 18px;
  }

  .admin-nav {
    grid-template-columns: 1fr 1fr;
  }

  .panel-heading,
  .admin-modal__header {
    flex-direction: column;
  }
}

.admin-page .funnel-panel {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.admin-page .funnel-card {
  min-height: 112px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

.admin-page .funnel-card:last-child {
  border-right: 0;
}

@media (max-width: 1180px) {
  .admin-page .funnel-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-page .funnel-card:nth-child(3n) {
    border-right: 0;
  }

  .admin-page .funnel-card:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .admin-page .funnel-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page .funnel-card,
  .admin-page .funnel-card:nth-child(3n) {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .admin-page .funnel-card:nth-child(2n) {
    border-right: 0;
  }

  .admin-page .funnel-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 1100px) {
  .home-hero__copy h1 {
    font-size: 64px;
  }

  .home-section__heading h2,
  .split-copy h2,
  .final-cta h2 {
    font-size: 46px;
  }

  .home-hero__inner,
  .home-section__heading--split,
  .split-layout,
  .final-cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__inner {
    gap: 34px;
    padding-top: 62px;
    min-height: auto;
  }

  .home-hero__copy {
    max-width: 760px;
  }

  .home-hero__visual {
    min-height: 430px;
  }

  .benefit-mosaic,
  .plans-grid,
  .protection-grid,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-card--yellow {
    grid-column: 1 / -1;
  }

  .plan-card--featured {
    transform: none;
  }

  .split-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .landing-body .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 8px;
  }

  .landing-body .site-header__inner {
    min-height: 56px;
    padding-left: 16px;
  }

  .landing-body .site-logo {
    width: 92px;
  }

  .landing-body .site-nav .happi-button {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 14px;
  }

  .home-hero__inner,
  .section__inner,
  .final-cta__inner {
    width: min(100% - 28px, 1180px);
  }

  .home-hero__inner {
    min-height: auto;
    padding: 38px 0 34px;
  }

  .home-hero__copy h1 {
    font-size: 42px;
    line-height: 1.07;
  }

  .home-hero__lead,
  .home-section__heading p,
  .split-copy p,
  .final-cta p {
    font-size: 17px;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__actions form,
  .home-hero__actions .happi-button,
  .home-hero__actions .happi-link-button {
    width: 100%;
  }

  .home-hero__visual {
    min-height: auto;
    padding-bottom: 78px;
  }

  .app-preview {
    border-radius: 28px;
    padding: 22px;
  }

  .app-preview > strong {
    margin-top: 28px;
    font-size: 34px;
  }

  .app-preview > p {
    font-size: 16px;
  }

  .app-preview__top img {
    width: 90px;
  }

  .app-preview__top span {
    font-size: 11px;
  }

  .hero-ticket {
    right: 12px;
    bottom: 8px;
    min-width: 158px;
    padding: 18px 24px;
  }

  .hero-ticket strong {
    font-size: 36px;
  }

  .home-section {
    padding: 66px 0;
  }

  .home-section__heading,
  .home-section__heading--split {
    margin-bottom: 30px;
  }

  .home-section__heading h2,
  .split-copy h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .benefit-mosaic,
  .plans-grid,
  .protection-grid,
  .journey-grid,
  .comparison-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 300px;
    padding: 24px;
  }

  .split-layout {
    gap: 34px;
    padding: 22px;
    border-radius: 28px;
  }

  .split-media {
    min-height: 240px;
    border-radius: 24px;
  }

  .protection-grid article {
    min-height: auto;
  }

  .plan-card,
  .comparison-card,
  .faq-grid details {
    border-radius: 24px;
    padding: 24px;
  }

  .plan-price {
    font-size: 56px;
  }

  .final-cta {
    padding-bottom: 66px;
  }

  .final-cta__inner {
    padding: 28px;
    border-radius: 30px;
  }
}

.merchant-flow-body {
  background: #f6f7f8;
}

.merchant-flow-body .site-header {
  display: none;
}

.merchant-flow {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 34px 16px;
  background:
    radial-gradient(circle at 50% 8%, rgba(253, 184, 19, 0.12), transparent 34%),
    #f6f7f8;
  font-family: Inter, "Zen Maru Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.merchant-phone {
  position: relative;
  width: min(392px, 100%);
  min-height: 760px;
  display: flex;
  flex-direction: column;
  border: 5px solid #111;
  border-radius: 34px;
  padding: 16px 20px 24px;
  background: #fff;
  color: #111;
  box-shadow: 0 26px 72px rgba(17, 17, 17, 0.16);
  overflow: hidden;
}

.merchant-statusbar,
.merchant-phone__top,
.merchant-phone__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.merchant-statusbar {
  min-height: 24px;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.merchant-phone__top,
.merchant-phone__nav {
  min-height: 62px;
}

.merchant-phone__top img,
.merchant-phone__nav img {
  width: 82px;
  height: auto;
  margin: 0 auto;
}

.merchant-phone__nav > a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #111;
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
}

.merchant-avatar {
  width: 31px;
  height: 31px;
  position: relative;
  flex: 0 0 31px;
  border: 1px solid #e2e2e8;
  border-radius: 999px;
  background: #fff;
}

.merchant-avatar::before,
.merchant-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.8px solid #111;
}

.merchant-avatar::before {
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
}

.merchant-avatar::after {
  bottom: 7px;
  width: 12px;
  height: 7px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 0;
}

.merchant-center {
  margin-top: 16px;
  text-align: center;
}

.merchant-center--tight {
  margin-top: 8px;
}

.merchant-center--left {
  margin-top: 18px;
  text-align: left;
}

.merchant-center h1 {
  margin: 18px 0 8px;
  color: #111;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
}

.merchant-center p,
.merchant-step-copy {
  margin: 0;
  color: #7b7f88;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.merchant-pill {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #fdb813;
  border-radius: 999px;
  padding: 5px 12px;
  color: #435125;
  font-size: 13px;
  font-weight: 800;
}

.merchant-pill span,
.merchant-data-note span,
.merchant-safe-note span,
.merchant-time-note span {
  width: 14px;
  height: 14px;
  display: inline-block;
  border: 2px solid #264027;
  border-radius: 4px;
}

.merchant-pill span {
  border: 0;
  border-radius: 4px;
  background: #fdb813;
  transform: rotate(45deg);
}

.merchant-form {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.merchant-form label {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.merchant-form small,
.merchant-form em {
  color: #8e8e93;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.merchant-form em,
.merchant-error,
.merchant-otp-status.is-error {
  color: #8f1d1d;
}

.merchant-error {
  margin-top: 16px;
  border: 1px solid rgba(143, 29, 29, 0.18);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(143, 29, 29, 0.06);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.merchant-phone-field,
.merchant-icon-field {
  min-height: 52px;
  display: grid;
  align-items: center;
  border: 1px solid #dedfe5;
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}

.merchant-phone-field {
  grid-template-columns: 78px minmax(0, 1fr);
}

.merchant-phone-field:focus-within,
.merchant-icon-field:focus-within,
.merchant-otp-input:focus {
  border-color: #fdb813;
  outline: 3px solid rgba(253, 184, 19, 0.18);
}

.merchant-phone-field span {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #dedfe5;
  color: #111;
  font-size: 15px;
  font-weight: 900;
}

.merchant-phone-field input,
.merchant-icon-field input,
.merchant-icon-field select {
  width: 100%;
  min-height: 50px;
  border: 0;
  padding: 0 14px;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.merchant-phone-field input:focus,
.merchant-icon-field input:focus,
.merchant-icon-field select:focus {
  outline: 0;
}

.merchant-otp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.merchant-otp-head button,
.merchant-later {
  border: 0;
  background: transparent;
  color: #264027;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.merchant-otp-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dedfe5;
  border-radius: 9px;
  padding: 0 20px;
  background:
    linear-gradient(90deg, transparent 15%, #dedfe5 15%, #dedfe5 16%, transparent 16%) 0 0 / 16.66% 100%,
    #fff;
  color: #111;
  font-family: Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 25px;
}

.merchant-otp-input::placeholder {
  color: transparent;
}

.merchant-otp-status {
  min-height: 18px;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 700;
}

.merchant-otp-status.is-success {
  color: #1d6f36;
}

.merchant-primary {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #fdb813;
  color: #111;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(253, 184, 19, 0.28);
  cursor: pointer;
}

.merchant-safe-note,
.merchant-data-note,
.merchant-time-note {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 28px;
  color: #8e8e93;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.merchant-safe-note strong,
.merchant-data-note,
.merchant-time-note {
  color: #61656d;
}

.merchant-success-mark {
  width: 72px;
  height: 72px;
  position: relative;
  margin: 18px auto 10px;
  border-radius: 999px;
  background: #1f6d36;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.16), 0 18px 28px rgba(31, 109, 54, 0.2);
}

.merchant-success-mark::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 25px;
  height: 14px;
  border-left: 6px solid #fff;
  border-bottom: 6px solid #fff;
  transform: rotate(-45deg);
}

.merchant-ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 8px;
  min-height: 198px;
  margin-top: 22px;
  border-radius: 14px;
  padding: 22px;
  background:
    radial-gradient(circle at 4px 4px, rgba(255, 255, 255, 0.32) 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(135deg, #ffe79a, #fdb813);
  color: #164620;
  box-shadow: 0 18px 32px rgba(253, 184, 19, 0.22);
}

.merchant-ticket span {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.merchant-ticket strong {
  color: #164620;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.12;
}

.merchant-ticket::after {
  content: "";
  width: 44px;
  height: 44px;
  align-self: center;
  justify-self: end;
  border: 3px solid #164620;
  border-radius: 8px;
  background: linear-gradient(#164620, #164620) center top 11px / 44px 3px no-repeat;
}

.merchant-ticket__line {
  grid-column: 1 / -1;
  border-top: 2px dashed rgba(22, 70, 32, 0.34);
}

.merchant-ticket small {
  color: #164620;
  font-size: 11px;
  font-weight: 800;
}

.merchant-ticket small:last-child {
  text-align: right;
}

.merchant-availability {
  min-height: 64px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  border: 1px solid #e3e4e8;
  border-radius: 12px;
  padding: 10px 14px;
  background: #fafafa;
}

.merchant-availability span {
  width: 25px;
  height: 25px;
  border-radius: 999px 999px 999px 3px;
  background: #1f6d36;
  transform: rotate(-45deg);
}

.merchant-availability p {
  margin: 0;
  color: #62666e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.merchant-availability strong {
  color: #111;
  font-size: 28px;
  line-height: 1;
}

.merchant-later {
  display: block;
  margin: 18px auto 0;
  text-align: center;
}

.merchant-used-stamp {
  width: 100%;
  min-height: 128px;
  display: grid;
  place-items: center;
  margin-top: 20px;
  border: 1px solid #e1e1d4;
  background:
    linear-gradient(90deg, transparent 11px, #f6f7e9 11px) left / 22px 100%,
    #fcfced;
  color: #1f6d36;
  font-size: 44px;
  font-weight: 900;
  transform: rotate(-8deg);
  text-transform: uppercase;
}

.merchant-used-stamp::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 58px;
  border: 6px solid #1f6d36;
  border-radius: 8px;
}

.merchant-protection-card,
.merchant-mini-protection {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1.5px solid #fdb813;
  border-radius: 12px;
  background: #fffdf5;
}

.merchant-protection-card {
  margin-top: 28px;
  padding: 18px 20px;
}

.merchant-shield {
  width: 47px;
  height: 52px;
  position: relative;
  display: inline-block;
  border: 4px solid #1f6d36;
  border-radius: 18px 18px 24px 24px;
}

.merchant-shield::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 16px;
  height: 9px;
  border-left: 4px solid #1f6d36;
  border-bottom: 4px solid #1f6d36;
  transform: rotate(-45deg);
}

.merchant-protection-card p,
.merchant-mini-protection p {
  margin: 0;
  color: #345340;
  font-size: 13px;
  font-weight: 800;
}

.merchant-protection-card strong {
  display: block;
  grid-column: 2;
  margin-top: -8px;
  color: #1f6d36;
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
}

.merchant-protection-card small {
  grid-column: 2;
  color: #345340;
  font-size: 13px;
  font-weight: 900;
}

.merchant-time-note {
  margin-top: 12px;
  padding-top: 0;
}

.merchant-steps {
  display: grid;
  grid-template-columns: 32px minmax(72px, 118px) 32px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.merchant-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e8e9ec;
  color: #444;
  font-size: 13px;
  font-weight: 900;
}

.merchant-steps span.is-active {
  background: #fdb813;
  color: #111;
}

.merchant-steps i {
  height: 2px;
  background: #e4e4e8;
}

.merchant-steps--done i {
  background: #fdb813;
}

.merchant-step-copy {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
}

.merchant-icon-field {
  grid-template-columns: 42px minmax(0, 1fr);
}

.merchant-icon-field > span {
  width: 22px;
  height: 22px;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 2px solid #444;
  border-radius: 5px;
  color: #444;
  font-size: 12px;
  font-weight: 900;
}

.merchant-icon-field--select select {
  appearance: none;
}

.merchant-icon-field--select {
  position: relative;
}

.merchant-icon-field--select::after {
  content: "⌄";
  position: absolute;
  right: 14px;
  top: 12px;
  color: #444;
  font-size: 18px;
}

.merchant-data-note {
  grid-template-columns: 18px auto;
  justify-content: center;
  margin-top: 20px;
  padding-top: 0;
}

.merchant-mini-protection {
  min-height: 80px;
  margin-top: 16px;
  padding: 12px 14px;
}

.merchant-mini-protection .merchant-shield {
  width: 42px;
  height: 46px;
}

.merchant-mini-protection strong {
  color: #1f6d36;
  font-weight: 900;
}

@media (max-width: 520px) {
  .merchant-flow {
    padding: 0;
    background: #fff;
  }

  .merchant-phone {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Merchant campaign commercial mobile flow */
.merchant-statusbar {
  display: none !important;
}

.merchant-flow-body {
  background: #fff;
}

.merchant-flow {
  min-height: 100vh;
  min-height: 100svh;
  display: block;
  padding: 0;
  background: #fff;
  font-family: "Zen Maru Gothic", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.merchant-phone {
  width: min(430px, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  padding: max(22px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: none;
  overflow: visible;
}

.merchant-phone__top,
.merchant-phone__nav {
  min-height: 44px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  margin-bottom: 22px;
}

.merchant-phone__top img,
.merchant-phone__nav img {
  width: 92px;
  justify-self: center;
  margin: 0;
}

.merchant-phone--used .merchant-phone__top img {
  width: 74px;
}

.merchant-header-spacer {
  width: 36px;
  height: 36px;
}

.merchant-phone__nav > a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  justify-self: start;
  color: #111;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.merchant-avatar {
  width: 31px;
  height: 31px;
  justify-self: end;
  border-color: #e5e5ea;
}

.merchant-center {
  margin-top: 10px;
  text-align: center;
}

.merchant-center--tight {
  margin-top: 0;
}

.merchant-center--left {
  margin-top: 18px;
  text-align: left;
}

.merchant-center h1 {
  margin: 20px 0 9px;
  color: #101010;
  font-size: clamp(27px, 7.2vw, 32px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.merchant-center p,
.merchant-step-copy {
  color: #777b84;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.merchant-pill {
  min-height: 30px;
  padding: 5px 12px;
  border: 1.5px solid #fdb813;
  border-radius: 999px;
  background: #fffef9;
  color: #4a542d;
  font-size: 13px;
  font-weight: 800;
}

.merchant-form {
  gap: 10px;
  margin-top: 27px;
}

.merchant-form label {
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.merchant-form small,
.merchant-form em {
  color: #858993;
  font-size: 12px;
  font-weight: 700;
}

.merchant-phone-field,
.merchant-icon-field {
  min-height: 52px;
  border: 1px solid #dedfe5;
  border-radius: 9px;
  background: #fff;
}

.merchant-phone-field {
  grid-template-columns: 78px minmax(0, 1fr);
}

.merchant-dial-code {
  position: relative;
  gap: 6px;
}

.merchant-dial-code::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.8px solid #111;
  border-bottom: 1.8px solid #111;
  transform: translateY(-2px) rotate(45deg);
}

.merchant-phone-field input,
.merchant-icon-field input,
.merchant-icon-field select {
  min-height: 50px;
  padding: 0 14px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.merchant-phone-field input::placeholder,
.merchant-icon-field input::placeholder,
.merchant-icon-field select:invalid {
  color: #a7aab2;
}

.merchant-phone-field:focus-within,
.merchant-icon-field:focus-within,
.merchant-otp-boxes input:focus {
  border-color: #fdb813;
  outline: 3px solid rgba(253, 184, 19, 0.17);
}

.merchant-phone-field.is-invalid,
.merchant-otp-boxes.has-error input {
  border-color: #a52222;
  outline: 3px solid rgba(165, 34, 34, 0.12);
}

.merchant-form .merchant-field-error,
.merchant-otp-section.has-error .merchant-otp-head span {
  color: #a52222;
  font-style: normal;
}

.merchant-otp-head {
  margin-top: 14px;
}

.merchant-otp-head button {
  color: #234f30;
  font-size: 13px;
  font-weight: 900;
}

.merchant-otp-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.merchant-otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.merchant-otp-boxes input {
  width: 100%;
  height: 49px;
  border: 1px solid #dedfe5;
  border-radius: 7px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.merchant-otp-status {
  min-height: 18px;
  color: #858993;
  font-size: 12px;
  font-weight: 700;
}

.merchant-primary {
  min-height: 55px;
  border-radius: 9px;
  margin-top: 17px;
  background: #fdb813;
  color: #111;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 15px 28px rgba(253, 184, 19, 0.26);
}

.merchant-safe-note {
  margin-top: 48px;
  padding-top: 0;
}

.merchant-data-note,
.merchant-time-note {
  margin-top: 20px;
  padding-top: 0;
}

.merchant-success-wrap {
  position: relative;
  width: 122px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 4px auto 7px;
}

.merchant-success-mark {
  width: 72px;
  height: 72px;
  margin: 0;
}

.merchant-used-hero {
  width: min(360px, 100%);
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin: 2px auto 0;
}

.merchant-used-hero .merchant-success-wrap {
  width: 122px;
  height: 86px;
  margin: 0;
}

.merchant-used-hero .merchant-success-mark {
  width: 72px;
  height: 72px;
}

.merchant-used-hero .merchant-center {
  margin-top: 0;
  text-align: left;
}

.merchant-used-hero .merchant-center h1 {
  margin: 0 0 4px;
  font-size: clamp(22px, 5.1vw, 26px);
}

.merchant-used-hero .merchant-center p {
  margin: 0;
  font-size: 12px;
}

.merchant-confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: #fdb813;
  transform: rotate(-18deg);
}

.merchant-confetti--one {
  left: 6px;
  top: 32px;
  background: #1f6d36;
}

.merchant-confetti--two {
  left: 24px;
  top: 8px;
}

.merchant-confetti--three {
  right: 10px;
  top: 16px;
}

.merchant-confetti--four {
  right: 2px;
  bottom: 26px;
  background: #1f6d36;
}

.merchant-ticket {
  min-height: 196px;
  grid-template-columns: minmax(0, 1fr) 54px;
  margin-top: 22px;
  border-radius: 13px;
  padding: 20px 18px;
  background:
    radial-gradient(circle at 4px 4px, rgba(255, 255, 255, 0.34) 1px, transparent 1px) 0 0 / 9px 9px,
    repeating-radial-gradient(circle at center, rgba(255, 244, 179, 0.3) 0 2px, transparent 2px 7px),
    linear-gradient(135deg, #ffe187, #fdb813);
}

.merchant-ticket strong {
  font-size: 27px;
  line-height: 1.08;
}

.merchant-availability {
  min-height: 64px;
  margin-top: 16px;
  border-color: #e5e6ea;
  border-radius: 12px;
  background: #fbfbfb;
}

.merchant-used-stamp {
  position: relative;
  width: min(292px, 100%);
  min-height: 126px;
  margin: 24px auto 26px;
  border: 1px solid #e2e2d6;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 10px, #f7f8ec 10px) left / 20px 100%,
    #fffef0;
  color: #1f6d36;
  font-size: 42px;
  font-weight: 900;
  transform: rotate(-7deg);
}

.merchant-used-stamp::before {
  width: 158px;
  height: 58px;
  border-width: 5px;
  border-radius: 8px;
}

.merchant-protection-card {
  margin-top: 0;
  padding: 16px 18px;
  border: 1.5px solid #fdb813;
  border-radius: 12px;
  background: #fffefa;
}

.merchant-protection-card strong {
  font-size: 31px;
}

.merchant-steps {
  margin-top: 24px;
}

.merchant-step-copy {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

.merchant-icon-field {
  grid-template-columns: 44px minmax(0, 1fr);
}

.merchant-field-icon {
  position: relative;
  width: 21px;
  height: 21px;
  justify-self: center;
  display: block;
  border: 1.8px solid #40444b;
  border-radius: 5px;
}

.merchant-field-icon::before,
.merchant-field-icon::after {
  content: "";
  position: absolute;
}

.merchant-field-icon--email::before {
  left: 3px;
  right: 3px;
  top: 6px;
  height: 8px;
  border-left: 1.8px solid #40444b;
  border-bottom: 1.8px solid #40444b;
  transform: rotate(-45deg);
}

.merchant-field-icon--lock {
  border-radius: 4px;
}

.merchant-field-icon--lock::before {
  left: 4px;
  top: -7px;
  width: 9px;
  height: 9px;
  border: 1.8px solid #40444b;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.merchant-field-icon--user {
  border: 0;
}

.merchant-field-icon--user::before {
  left: 6px;
  top: 2px;
  width: 8px;
  height: 8px;
  border: 1.8px solid #40444b;
  border-radius: 999px;
}

.merchant-field-icon--user::after {
  left: 3px;
  bottom: 2px;
  width: 14px;
  height: 8px;
  border: 1.8px solid #40444b;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.merchant-field-icon--card::before {
  left: 3px;
  right: 3px;
  top: 6px;
  height: 0;
  border-top: 1.8px solid #40444b;
}

.merchant-field-icon--card::after {
  left: 4px;
  bottom: 4px;
  width: 7px;
  height: 1.8px;
  background: #40444b;
  box-shadow: 0 -4px 0 #40444b;
}

.merchant-field-icon--work {
  border-radius: 4px;
}

.merchant-field-icon--work::before {
  left: 6px;
  top: -5px;
  width: 7px;
  height: 5px;
  border: 1.8px solid #40444b;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.merchant-field-icon--work::after {
  left: -2px;
  right: -2px;
  top: 8px;
  height: 0;
  border-top: 1.8px solid #40444b;
}

.merchant-icon-field--select::after {
  content: "";
  right: 16px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #40444b;
  border-bottom: 2px solid #40444b;
  transform: rotate(45deg);
}

.merchant-mini-protection {
  min-height: 79px;
  margin-top: 17px;
  border: 1.5px solid #fdb813;
  border-radius: 12px;
  background: #fffefa;
}

.merchant-phone__top > img,
.merchant-phone__nav > img {
  width: 92px;
  height: auto;
}

.merchant-avatar {
  display: none;
  place-items: center;
  border: 1px solid #e7e8ec;
  background: #fff;
}

.merchant-avatar::before,
.merchant-avatar::after {
  display: none;
}

.merchant-avatar img {
  width: 16px !important;
  height: 16px;
  margin: 0;
}

.merchant-pill img {
  width: 16px;
  height: 16px;
}

.merchant-safe-note img,
.merchant-data-note img,
.merchant-time-note img {
  width: 17px;
  height: 17px;
}

.merchant-safe-note {
  color: #737780;
}

.merchant-field-icon {
  width: 22px;
  height: 22px;
  justify-self: center;
  display: block;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.merchant-field-icon::before,
.merchant-field-icon::after {
  content: none;
}

.merchant-icon-field input,
.merchant-icon-field select {
  padding-left: 10px;
}

.merchant-ticket {
  position: relative;
}

.merchant-ticket::after {
  display: none;
}

.merchant-ticket__icon {
  width: 48px;
  height: 48px;
  align-self: center;
  justify-self: end;
}

.merchant-ticket__meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.merchant-ticket__meta small {
  color: #164620;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.merchant-ticket__meta small:last-child {
  text-align: right;
}

.merchant-ticket__meta span {
  display: block;
  margin-bottom: 2px;
  color: rgba(22, 70, 32, 0.76);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.merchant-availability img {
  width: 28px;
  height: 28px;
  justify-self: center;
}

.merchant-used-stamp-img {
  width: min(330px, 100%);
  display: block;
  margin: 14px auto 20px;
}

.merchant-shield-img {
  width: 52px;
  height: 52px;
  align-self: center;
  justify-self: center;
}

.merchant-protection-card .merchant-shield-img,
.merchant-mini-protection .merchant-shield-img {
  grid-row: 1 / span 3;
}

.merchant-mini-protection .merchant-shield-img {
  width: 47px;
  height: 47px;
}

.merchant-time-note {
  grid-template-columns: 18px auto;
  justify-content: center;
  align-items: center;
}

.merchant-center h1 {
  font-size: clamp(26px, 6.8vw, 30px);
  font-weight: 900;
}

.merchant-center p,
.merchant-step-copy,
.merchant-form small,
.merchant-otp-status,
.merchant-existing-user,
.merchant-field-note {
  color: #676c75;
}

.merchant-summary-card {
  margin-top: 20px;
  border: 1px solid #ece2c1;
  border-radius: 16px;
  padding: 14px 15px;
  background: linear-gradient(180deg, #fffdfa, #fff7df);
}

.merchant-summary-card > span {
  display: block;
  color: #707680;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.merchant-summary-card > strong {
  display: block;
  margin-top: 4px;
  color: #142d18;
  font-size: 18px;
  font-weight: 900;
}

.merchant-summary-card dl,
.merchant-voucher-details,
.merchant-redeemed-card dl {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.merchant-summary-card dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.merchant-summary-card div,
.merchant-voucher-details div,
.merchant-redeemed-card dl div {
  min-width: 0;
}

.merchant-summary-card dt,
.merchant-voucher-details dt,
.merchant-redeemed-card dt {
  color: #747983;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.merchant-summary-card dd,
.merchant-voucher-details dd,
.merchant-redeemed-card dd {
  margin: 2px 0 0;
  color: #222;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.merchant-otp-boxes.is-disabled {
  opacity: 0.72;
}

.merchant-otp-section.is-pending .merchant-otp-boxes {
  display: none;
}

.merchant-otp-boxes input:disabled {
  background: #fafafa;
}

.merchant-otp-head span {
  color: #234f30;
  font-size: 13px;
  font-weight: 900;
}

.merchant-voucher-details {
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ececef;
  border-radius: 13px;
  margin-top: 13px;
  padding: 12px 14px;
  background: #fff;
}

.merchant-terms-link {
  min-height: 44px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  color: #1f6d36;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.merchant-redeem-dialog[hidden] {
  display: none;
}

.merchant-redeem-dialog {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.38);
}

.merchant-redeem-dialog__panel {
  width: min(390px, 100%);
  border-radius: 22px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.24);
}

.merchant-redeem-dialog__panel h2 {
  margin: 0 0 8px;
  color: #111;
  font-size: 22px;
  font-weight: 900;
}

.merchant-redeem-dialog__panel p {
  margin: 0;
  color: #5f6670;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.merchant-redeem-code {
  margin-top: 15px;
  border: 1px dashed #c6d7ca;
  border-radius: 13px;
  padding: 12px 14px;
  background: #f8fcf8;
}

.merchant-redeem-code span {
  display: block;
  color: #64706a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.merchant-redeem-code strong {
  display: block;
  margin-top: 3px;
  color: #1f6d36;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
}

.merchant-secondary {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  margin-top: 10px;
  background: #f3f4f6;
  color: #333;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
}

.merchant-redeemed-card {
  margin-top: 18px;
  border: 1px solid #dfe9e1;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(180deg, #fbfffc, #f5fbf6);
}

.merchant-redeemed-card__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.merchant-redeemed-card__head img {
  width: 42px;
  height: 42px;
}

.merchant-redeemed-card__head span {
  color: #6b7370;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.merchant-redeemed-card__head strong {
  display: block;
  margin-top: 2px;
  color: #1f6d36;
  font-size: 18px;
  font-weight: 900;
}

.merchant-redeemed-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 14px;
  border-top: 1px solid #dfe9e1;
  padding-top: 13px;
}

.merchant-protection-card em,
.merchant-mini-protection small {
  display: block;
  color: #687069;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.merchant-protection-card em {
  grid-column: 2;
  margin-top: 2px;
}

.merchant-protection-card em a {
  color: #1f6d36;
  font-weight: 900;
  text-decoration: none;
}

.merchant-protection-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: 16px;
}

.merchant-register-bridge {
  margin: 14px 0 0;
  color: #4d5650;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.merchant-flow-context {
  max-width: 330px;
  margin: 10px auto 0;
  color: #56605a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.merchant-step-name {
  margin: 4px 0 0;
  color: #1f6d36;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.merchant-icon-field--password {
  grid-template-columns: 44px minmax(0, 1fr) 48px;
}

.merchant-password-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.merchant-password-toggle img {
  width: 20px;
  height: 20px;
}

.merchant-field-note {
  display: block;
  margin-top: -4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.merchant-consent {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 10px;
  color: #4d5650 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35;
}

.merchant-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #fdb813;
}

.merchant-consent a {
  color: #1f6d36;
  font-weight: 900;
  text-decoration: none;
}

.merchant-existing-user {
  margin: 13px 0 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.merchant-primary--sticky {
  position: sticky;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 6;
}

.merchant-later-note {
  margin: 7px 0 0;
  color: #676c75;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.merchant-terms-link--compact {
  min-height: 32px;
  margin-top: 4px;
}

.merchant-phone--profile .merchant-phone__nav {
  margin-bottom: 12px;
}

.merchant-phone--profile .merchant-center--left {
  margin-top: 12px;
}

.merchant-phone--profile .merchant-center h1 {
  margin-top: 14px;
}

.merchant-form--profile {
  gap: 7px;
  margin-top: 18px;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.merchant-form--profile .merchant-field-note {
  line-height: 1.28;
}

.merchant-form--profile .merchant-mini-protection {
  min-height: 70px;
  margin-top: 10px;
}

.merchant-form--profile .merchant-primary {
  margin-top: 11px;
  margin-bottom: 8px;
}

/* Public registration 3-step mobile wizard */
.register-flow .merchant-phone__nav {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  margin-bottom: 18px;
}

.register-flow .merchant-phone__nav > a {
  justify-self: start;
}

.register-flow .merchant-phone__nav > img {
  justify-self: center;
}

.register-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 3px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #f6f6f6;
  justify-self: end;
}

.register-language-switcher button,
.register-language-switcher a {
  width: 31px;
  min-width: 31px;
  min-height: 30px;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: #666;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.register-language-switcher button.is-active,
.register-language-switcher button[aria-pressed="true"],
.register-language-switcher a[aria-current="page"] {
  background: #fdb813;
  color: #111;
  box-shadow: 0 4px 10px rgba(253, 184, 19, 0.22);
}

.register-language-switcher button:focus-visible {
  outline: 2px solid #1f6d36;
  outline-offset: 2px;
}

.register-phone {
  min-height: 100svh;
}

.register-safe-note[hidden] {
  display: none;
}

.register-error {
  margin-bottom: 14px;
}

.register-step-panel[hidden] {
  display: none;
}

.register-step-form {
  gap: 10px;
  margin-top: 24px;
}

.register-flow .merchant-step-copy {
  font-size: 15px;
}

.register-flow .merchant-step-name {
  font-size: 16px;
}

.register-steps {
  width: min(230px, 70%);
  display: grid;
  grid-template-columns: 30px 1fr 30px 1fr 30px;
  align-items: center;
  gap: 0;
  margin: 8px auto 12px;
}

.register-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e7e8ec;
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.register-steps span.is-active {
  background: #fdb813;
  box-shadow: 0 8px 16px rgba(253, 184, 19, 0.25);
}

.register-steps i {
  height: 2px;
  background: #dfe1e6;
}

.register-steps span.is-active + i,
.register-steps--two i:first-of-type,
.register-steps--done i {
  background: #fdb813;
}

.register-next:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.register-next.is-ready {
  background: #fdb813;
  color: #111;
  box-shadow: 0 15px 28px rgba(253, 184, 19, 0.26);
}

.register-flow #register-send-otp.is-resend {
  width: auto;
  justify-self: center;
  min-height: 28px;
  order: 7;
  border: 0;
  margin-top: 0;
  padding: 2px 8px;
  background: transparent;
  color: #1f6d36;
  font-size: 13px;
  font-weight: 900;
  box-shadow: none;
}

.register-flow #register-send-otp.is-resend + .register-next {
  order: 6;
}

.register-flow #register-send-otp.is-resend ~ [data-register-back] {
  order: 8;
}

.register-flow .merchant-secondary {
  box-shadow: none;
}

.register-safe-note {
  margin-top: 24px;
  font-size: 14px;
}

.register-safe-note strong {
  font-size: 16px;
}

.register-safe-note small {
  font-size: 14px;
}

.register-mini-protection {
  min-height: 78px;
  margin-top: 12px;
}

.register-consent {
  margin-top: 8px;
}

.register-step-panel--profile .merchant-center--left {
  margin-top: 12px;
}

.register-step-panel--profile .merchant-center h1 {
  margin-top: 14px;
}

.register-step-panel--profile .register-step-form {
  gap: 7px;
  margin-top: 17px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.register-step-panel--profile .merchant-icon-field {
  min-height: 50px;
}

.register-step-panel--profile .merchant-icon-field input,
.register-step-panel--profile .merchant-icon-field select {
  min-height: 48px;
}

.register-step-panel--profile .merchant-field-note {
  line-height: 1.28;
}

.register-step-panel--profile .register-mini-protection {
  min-height: 70px;
  margin-top: 8px;
}

.register-step-panel--profile .register-consent {
  margin-top: 6px;
  min-height: 44px;
  font-size: 13px !important;
  line-height: 1.3;
}

.register-step-panel--profile .register-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.register-step-panel--profile .merchant-primary {
  position: sticky;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 4;
  margin-top: 9px;
  margin-bottom: 6px;
}

.register-flow .merchant-field-note.is-success {
  color: #1f6d36;
}

.register-flow .merchant-field-note.is-error {
  color: #b42318;
}

.register-name-confirmation[hidden],
.register-flow .merchant-otp-section[hidden] {
  display: none;
}

.register-name-confirmation {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 24, 20, 0.56);
}

.register-name-confirmation__panel {
  width: min(100%, 380px);
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13, 34, 24, 0.24);
}

.register-name-confirmation__panel h2 {
  margin: 0;
  color: #111;
  font-size: 22px;
  line-height: 1.2;
}

.register-name-confirmation__panel p {
  margin: 12px 0 0;
  color: #535a54;
  font-size: 14px;
  line-height: 1.55;
}

.register-name-confirmation__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.register-name-confirmation__actions .merchant-primary,
.register-name-confirmation__actions .merchant-secondary {
  min-height: 48px;
}

.merchant-field-error[hidden] {
  display: none;
}

/* Registration privacy notice and terms */
.legal-flow-body {
  min-width: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(253, 184, 19, 0.18), transparent 34%),
    #f5f4ef;
}

.legal-flow {
  width: min(100%, 760px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px;
}

.legal-document {
  border: 1px solid #e3e5df;
  border-radius: 28px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(13, 34, 24, 0.1);
}

.legal-document__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.legal-document__header > img {
  width: 104px;
  height: auto;
}

.legal-document__header .register-language-switcher {
  justify-self: end;
}

.legal-document__back {
  color: #175b32;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.legal-document__hero {
  margin: 36px 0 24px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8e3, #f4f8f4);
}

.legal-document__hero h1 {
  margin: 0;
  color: #111;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
}

.legal-document__sections {
  display: grid;
  gap: 14px;
}

.legal-document__sections section {
  padding: 20px;
  border: 1px solid #e4e7e2;
  border-radius: 18px;
  background: #fff;
}

.legal-document__sections h2 {
  margin: 0 0 8px;
  color: #174d2d;
  font-size: 18px;
}

.legal-document__sections h3 {
  margin: 18px 0 6px;
  color: #1f6d36;
  font-size: 16px;
}

.legal-document__introduction small {
  display: block;
  margin-bottom: 10px;
  color: #727872;
  font-size: 12px;
  font-weight: 800;
}

.legal-document__sections p,
.legal-document__sections li {
  margin: 0;
  color: #535a54;
  font-size: 15px;
  line-height: 1.7;
}

.legal-document__sections p + p {
  margin-top: 10px;
}

.legal-document__sections ol,
.legal-document__sections ul {
  margin: 8px 0 0;
  padding-left: 24px;
}

.legal-document__sections ol ol {
  margin-top: 6px;
}

.legal-document__sections ol + p,
.legal-document__sections ul + p {
  margin-top: 10px;
}

.legal-document__sections li + li {
  margin-top: 6px;
}

.legal-document__link {
  display: inline-flex;
  margin-top: 12px;
  color: #1f6d36;
  font-size: 15px;
  font-weight: 800;
}

.legal-document__language-notice {
  margin: 18px 4px 0;
  color: #7a807b;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.legal-document__cta {
  margin-top: 24px;
  text-decoration: none;
}

@media (max-width: 600px) {
  .legal-flow {
    padding: 0;
  }

  .legal-document {
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
  }

  .legal-document__header {
    grid-template-columns: 1fr auto;
  }

  .legal-document__header > img {
    grid-row: 1;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .legal-document__back {
    grid-row: 2;
  }

  .legal-document__header .register-language-switcher {
    grid-row: 2;
  }

  .legal-document__hero {
    margin-top: 24px;
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .register-flow .merchant-phone {
    padding-left: 20px;
    padding-right: 20px;
  }

  .register-step-form {
    margin-top: 20px;
  }

  .register-step-panel--profile .register-step-form {
    margin-top: 15px;
  }

  .register-mini-protection {
    min-height: 72px;
  }
}

@media (max-width: 340px) {
  .register-flow .merchant-phone__nav {
    grid-template-columns: 98px 1fr 98px;
  }

  .register-language-switcher button {
    width: 29px;
    min-width: 29px;
  }
}

/* Post-registration conversion journey */
.post-registration-body .site-header {
  display: none;
}

.post-registration-body {
  min-width: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(253, 184, 19, 0.2), transparent 34%),
    #f5f4ef;
}

.post-registration-page {
  min-height: 100svh;
  display: grid;
  place-items: start center;
  color: #171717;
  font-family: "Zen Maru Gothic", Inter, system-ui, sans-serif;
}

.post-registration-shell {
  width: min(430px, 100%);
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(28, 34, 29, 0.12);
}

.post-registration-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 24px 12px;
  background: #fffbf3;
}

.post-registration-nav > img {
  width: 106px;
  height: auto;
}

.post-language-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  background: #f6f6f6;
}

.post-language-switcher a,
.post-language-switcher button {
  width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: #666;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.post-language-switcher a.is-active,
.post-language-switcher button.is-active {
  background: #fdb813;
  color: #171717;
  box-shadow: 0 4px 10px rgba(253, 184, 19, 0.24);
}

.post-language-switcher a:focus-visible,
.post-language-switcher button:focus-visible,
.post-open-app a:focus-visible,
.post-primary-action:focus-visible {
  outline: 3px solid #1f6d36;
  outline-offset: 3px;
}

.post-success-visual {
  height: 190px;
  position: relative;
  margin: 0 18px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff9e8;
}

.post-success-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 43%;
}

.post-registration-content {
  display: flex;
  flex-direction: column;
  padding: 22px 20px max(24px, env(safe-area-inset-bottom));
}

.post-registration-content h1 {
  order: 2;
  margin: 10px 0 8px;
  color: #171717;
  font-size: clamp(31px, 9vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.post-registration-lead {
  order: 3;
  margin: 0;
  color: #555b57;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.post-benefit-status--unavailable {
  border-color: #eadfca;
  background: #fbf7ee;
}

.post-benefit-status--pending {
  border-color: #d7e4ea;
  background: #f2f7f9;
}

.post-brand-shield,
.post-brand-lock {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 auto;
  background: #fdb813;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.post-brand-shield {
  -webkit-mask-image: url("/images/happi/merchant-flow/icons/shield-check.svg");
  mask-image: url("/images/happi/merchant-flow/icons/shield-check.svg");
}

.post-brand-lock {
  -webkit-mask-image: url("/images/happi/merchant-flow/icons/lock.svg");
  mask-image: url("/images/happi/merchant-flow/icons/lock.svg");
}

.post-next-step {
  order: 5;
  display: grid;
  gap: 3px;
  margin: 16px 2px 12px;
}

.post-next-step strong {
  color: #171717;
  font-size: 15px;
  font-weight: 900;
}

.post-next-step span {
  color: #666d68;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.post-primary-action {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 17px;
  padding: 0 20px;
  background: #fdb813;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(253, 184, 19, 0.28);
  cursor: pointer;
}

.post-primary-action span:last-child {
  font-size: 23px;
}

.post-secure-note {
  order: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 11px 0 0;
  color: #6a706c;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.post-secure-note img {
  width: 15px;
}

.post-secure-note .post-brand-shield {
  width: 15px;
  height: 15px;
}

.post-download-hero {
  height: 326px;
  position: relative;
  overflow: hidden;
  background: #fff7e7;
}

.post-download-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58px;
  background: linear-gradient(to bottom, transparent, rgba(255, 248, 232, 0.9));
}

.post-download-hero > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
}

.post-download-content {
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin: -20px 12px 18px;
  border-radius: 26px;
  padding: 58px 28px max(24px, env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 18px 45px rgba(33, 46, 37, 0.14);
  text-align: center;
}

.post-download-ready-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  position: absolute;
  top: -31px;
  left: 50%;
  border: 7px solid #fff;
  border-radius: 999px;
  background: #fff4d6;
  box-shadow: 0 10px 26px rgba(253, 184, 19, 0.2);
  transform: translateX(-50%);
}

.post-download-ready-icon img {
  width: 29px;
  height: 29px;
}

.post-download-content h1 {
  order: initial;
  margin: 2px 0 5px;
  font-size: clamp(30px, 8.5vw, 36px);
  line-height: 1.08;
  text-align: center;
}

.post-download-ready-copy {
  color: #fdb813;
  font-size: 15px;
  line-height: 1.3;
}

.post-download-content .post-registration-lead {
  order: initial;
  margin-top: 6px;
  font-size: 13.5px;
  text-align: center;
}

.post-open-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 16px 0 0;
  color: #7a807c;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12.5px;
}

.post-open-app > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin-right: 3px;
  border-radius: 999px;
  background: #fff4d6;
  color: #fdb813;
}

.post-open-app > span img {
  width: 12px;
  height: 12px;
}

.post-open-app .post-brand-lock {
  width: 12px;
  height: 12px;
}

.post-open-app a {
  color: #fdb813;
  font-weight: 800;
  text-underline-offset: 3px;
}

.post-login-reminder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 13px 0 0;
  padding-top: 0;
  color: #737a75;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11.5px;
  line-height: 1.35;
}

.post-login-reminder img {
  width: 18px;
  height: 18px;
}

.post-login-reminder .post-brand-shield {
  width: 18px;
  height: 18px;
}

.post-heart-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  color: #e2e5e1;
}

.post-heart-divider::before,
.post-heart-divider::after {
  content: "";
  height: 1px;
  background: #e6e8e5;
}

.post-heart-divider span {
  font-size: 22px;
  line-height: 1;
}

/* Registration completion refresh */
.post-success-visual {
  height: 218px;
  margin: 0 12px;
  border-radius: 18px;
}

.post-success-visual > img {
  object-position: center;
}

.post-registration-content {
  padding: 18px 16px max(22px, env(safe-area-inset-bottom));
  text-align: center;
}

.post-registration-content h1,
.post-registration-lead,
.post-benefit-grid,
.post-next-step,
.post-registration-content form,
.post-secure-note,
.post-help-note {
  order: initial;
}

.post-registration-content h1 {
  margin: 0 0 6px;
  font-size: clamp(29px, 8vw, 36px);
}

.post-registration-lead {
  max-width: 360px;
  margin-inline: auto;
  font-size: 13px;
}

.post-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.post-benefit-card {
  min-width: 0;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f0e2c2;
  border-radius: 18px;
  padding: 14px 10px 13px;
  background: linear-gradient(180deg, #fffdf8 0%, #fffaf0 100%);
}

.post-benefit-card.post-benefit-status--unavailable {
  border-color: #eadfca;
  background: #fbf7ee;
}

.post-benefit-card.post-benefit-status--pending {
  border-color: #d7e4ea;
  background: #f2f7f9;
}

.post-benefit-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #fff4d6;
}

.post-benefit-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.post-benefit-card:first-child .post-benefit-card__icon img {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
}

.post-benefit-card strong {
  margin-top: 9px;
  color: #171717;
  font-size: 12px;
  line-height: 1.25;
}

.post-benefit-card > span:last-child {
  margin-top: 6px;
  color: #68706a;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10.5px;
  line-height: 1.38;
}

.post-benefit-card--protection strong {
  color: #171717;
}

.post-benefit-card--protection > span:last-child {
  color: #68706a;
}

.post-next-step {
  margin: 16px 2px 10px;
  text-align: left;
}

.post-primary-action {
  justify-content: center;
  min-height: 54px;
  border-radius: 15px;
  padding: 0 18px;
}

.post-primary-action__icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  font-size: 20px;
  line-height: 1;
}

.post-primary-action span:last-child {
  font-size: 16px;
}

.post-help-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 6px;
  margin: 14px 0 0;
  border-top: 1px solid #efe9dc;
  padding-top: 12px;
  color: #7b807c;
  font-family: Inter, system-ui, sans-serif;
  font-size: 10.5px;
  line-height: 1.35;
}

.post-help-note strong {
  width: 100%;
  color: #353936;
}

.post-help-note a {
  color: #f2a900;
  font-weight: 800;
  text-decoration: none;
}

.post-download-hero {
  height: 238px;
}

.post-download-hero > img {
  object-position: center;
}

.post-download-content {
  margin: -16px 10px 16px;
  padding: 52px 22px max(24px, env(safe-area-inset-bottom));
}

.post-download-ready-icon {
  width: 66px;
  height: 66px;
  top: -33px;
  overflow: hidden;
  border: 6px solid #fff;
  background: #fff;
}

.post-download-ready-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-download-content .post-registration-lead {
  max-width: 320px;
}

.post-store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.post-store-links a {
  display: block;
  border-radius: 10px;
  transition: transform 160ms ease;
}

.post-store-links a:hover {
  transform: translateY(-2px);
}

.post-store-links a:focus-visible {
  outline: 3px solid #1f6d36;
  outline-offset: 3px;
}

.post-store-links img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 520px) {
  .post-registration-page {
    padding: 24px;
  }

  .post-registration-shell {
    min-height: calc(100svh - 48px);
    border-radius: 32px;
  }
}

@media (max-width: 340px) {
  .post-registration-nav,
  .post-registration-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .post-success-visual,
  .post-download-hero {
    margin-left: 14px;
    margin-right: 14px;
  }

  .post-download-hero {
    height: 276px;
    margin-left: 0;
    margin-right: 0;
  }

  .post-download-content {
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .post-benefit-card {
    min-height: 168px;
    padding-inline: 7px;
  }

  .post-benefit-card > span:last-child {
    font-size: 9.8px;
  }

  .post-registration-content h1 {
    font-size: 29px;
  }

  .post-language-switcher a {
    width: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-store-links a {
    transition: none;
  }
}

/* Registration completion page */
.post-registration-page:not(.post-registration-download) .post-success-visual {
  height: auto;
  aspect-ratio: 1308 / 1238;
  margin: 0;
  border-radius: 0;
}

.post-registration-page:not(.post-registration-download) .post-success-visual > img {
  object-position: center;
}

.post-registration-page:not(.post-registration-download) .post-registration-content {
  padding: 28px 30px max(38px, env(safe-area-inset-bottom));
  text-align: center;
}

.post-registration-page:not(.post-registration-download) .post-registration-content h1 {
  max-width: none;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(36px, 9.5vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.post-registration-page:not(.post-registration-download) .post-registration-lead {
  max-width: none;
  margin: 28px 0 0;
  color: #666;
  font-size: 17px;
  line-height: 1.45;
}

.post-activation-offer {
  max-width: 350px;
  margin: 24px auto 0;
  color: #626262;
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.48;
}

.post-activation-offer strong {
  color: #565656;
  font-weight: 800;
}

.post-registration-content--activation form {
  width: 100%;
  max-width: 292px;
  margin: 34px auto 0;
}

.post-registration-page:not(.post-registration-download) .post-primary-action {
  min-height: 58px;
  border-radius: 999px;
  box-shadow: none;
}

.post-registration-page:not(.post-registration-download) .post-primary-action span:last-child {
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
}

.post-registration-content--activation .post-help-note {
  min-height: 0;
  display: block;
  margin: 16px 0 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #aaa;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.post-registration-content--activation .post-help-note a {
  color: #e8a900;
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 340px) {
  .post-registration-page:not(.post-registration-download) .post-registration-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .post-registration-page:not(.post-registration-download) .post-registration-content h1 {
    font-size: 33px;
  }

  .post-registration-page:not(.post-registration-download) .post-registration-lead,
  .post-activation-offer {
    font-size: 15px;
  }
}

/* Public recovery and merchant access errors */
.public-access-body {
  background:
    radial-gradient(circle at 50% -8%, rgba(253, 184, 19, 0.2), transparent 34%),
    #f5f4ef;
}

.public-access-page {
  min-height: 100svh;
  display: grid;
  place-items: start center;
  color: #171717;
  font-family: "Zen Maru Gothic", Inter, system-ui, sans-serif;
}

.public-access-shell {
  width: min(430px, 100%);
  min-height: 100svh;
  overflow: hidden;
  background: #fffaf0;
  box-shadow: 0 24px 70px rgba(28, 34, 29, 0.12);
}

.public-access-nav {
  position: relative;
  z-index: 3;
  min-height: 88px;
  background: #fffaf0;
}

.public-access-nav > a {
  display: inline-flex;
  align-items: center;
}

.public-access-nav > a img {
  width: 106px;
  height: auto;
  display: block;
}

.public-access-hero {
  height: 370px;
  position: relative;
  overflow: hidden;
  background: #fff4d8;
}

.public-access-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255, 250, 240, 0.94));
}

.public-access-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
}

.public-access-shell--invalid .public-access-hero img {
  object-position: 50% 48%;
}

.public-access-shell--generic .public-access-hero img {
  object-position: 52% 46%;
}

.public-access-content {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin: -28px 12px 18px;
  border-radius: 34px;
  padding: 66px 28px max(30px, env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 18px 45px rgba(33, 46, 37, 0.14);
  text-align: center;
}

.public-access-status-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  position: absolute;
  top: -35px;
  left: 50%;
  border: 7px solid #fff;
  border-radius: 999px;
  background: #fff9ea;
  color: #f5a800;
  box-shadow: 0 10px 26px rgba(67, 53, 23, 0.16);
  transform: translateX(-50%);
}

.public-access-shell--invalid .public-access-brand-icon,
.public-access-shell--invalid .public-access-brand-copy {
  color: #fdb813;
}

.public-access-shell--invalid .public-access-brand-cta {
  color: #fff;
}

.public-access-shell--generic .public-access-status-icon {
  background: #f2faf4;
  color: #0c743f;
}

.public-access-status-icon svg {
  width: 35px;
  height: 39px;
}

.public-access-content h1 {
  margin: 0;
  color: #171717;
  font-size: clamp(34px, 9vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.public-access-shell--generic .public-access-content h1 {
  color: #0c743f;
}

.public-access-heading {
  margin-top: 15px;
  color: #0c743f;
  font-size: 18px;
  line-height: 1.3;
}

.public-access-content > p:not(.public-access-help-row) {
  margin: 14px auto 0;
  max-width: 330px;
  color: #555b57;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
}

.public-access-primary,
.public-access-secondary {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 19px;
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.public-access-primary {
  margin-top: 28px;
  background: #fdb813;
  color: #171717;
  box-shadow: 0 13px 27px rgba(253, 184, 19, 0.31);
}

.public-access-secondary {
  margin-top: 14px;
  border: 2px solid #0c743f;
  background: #fff;
  color: #0c743f;
}

.public-access-primary:hover,
.public-access-secondary:hover {
  transform: translateY(-1px);
}

.public-access-primary:focus-visible,
.public-access-secondary:focus-visible,
.public-access-support-link:focus-visible,
.public-access-back-link:focus-visible,
.public-access-help-row a:focus-visible {
  outline: 3px solid #1f6d36;
  outline-offset: 3px;
}

.public-access-support-link {
  align-self: center;
  margin-top: 20px;
  color: #0c743f;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.public-access-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  color: #e2e5e1;
}

.public-access-divider::before,
.public-access-divider::after {
  content: "";
  height: 1px;
  background: #e6e8e5;
}

.public-access-divider span {
  font-size: 22px;
  line-height: 1;
}

.public-access-back-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  align-self: center;
  margin-top: 17px;
  color: #0c743f;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.public-access-back-link svg {
  width: 25px;
  height: 28px;
}

.public-access-help-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 17px 0 0;
  color: #6a706c;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.public-access-help-row a {
  color: #0c743f;
  font-weight: 800;
  text-underline-offset: 3px;
}

.public-access-headset {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-right: 3px;
  border-radius: 999px;
  background: #e8f6ec;
  color: #0c743f;
}

.public-access-headset svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 520px) {
  .public-access-page {
    padding: 24px;
  }

  .public-access-shell {
    min-height: calc(100svh - 48px);
    border-radius: 32px;
  }
}

@media (max-width: 340px) {
  .public-access-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .public-access-hero {
    height: 320px;
  }

  .public-access-content {
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .public-access-content h1 {
    font-size: 31px;
  }

  .post-language-switcher button {
    width: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-access-primary,
  .public-access-secondary {
    transition: none;
  }
}

/* Admin workspace responsive behavior */
.admin-table {
  min-width: 720px;
}

.finance-review-table {
  min-width: 840px;
}

.admin-table-wrap--scrollable {
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  touch-action: pan-x pan-y;
}

.table-scroll-hint {
  display: none;
  margin: 0 0 8px;
  color: var(--brand-muted);
  font-size: 12px;
  font-weight: 700;
}

.report-workspace .admin-table,
.admin-page:has(.journey-summary) .admin-table {
  min-width: 980px;
}

@media (max-width: 1180px) {
  .kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kpi-strip article:nth-child(3n) {
    border-right: 0;
  }

  .kpi-strip article:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .owner-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  html,
  body,
  .admin-layout,
  .admin-page,
  .admin-shell,
  .admin-sidebar,
  .admin-panel,
  .report-workspace,
  .admin-table-wrap {
    min-width: 0;
    max-width: 100%;
  }

  html,
  body,
  .admin-layout {
    width: 100%;
    overflow-x: hidden;
  }

  .admin-sidebar {
    gap: 14px;
    padding: 16px 18px;
    overflow: hidden;
  }

  .admin-brand {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
  }

  .admin-brand .site-logo {
    grid-row: 1 / span 2;
    width: 78px;
  }

  .admin-nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .admin-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
  }

  .admin-logout {
    min-height: 38px;
  }

  .today-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .today-progress article:nth-child(3n) {
    border-right: 0;
  }

  .today-progress article:nth-child(-n + 3) {
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
  }

  .today-progress article:nth-child(n + 4) {
    padding-top: 14px;
  }

  .report-section-grid {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-table-wrap--scrollable {
    overflow-x: scroll;
  }

  .table-scroll-hint {
    display: block;
  }

  .report-section-card {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .report-section-card:last-child {
    border-bottom: 0;
  }

  .report-section-card.is-active {
    box-shadow: inset 3px 0 0 var(--brand-green);
  }

  .journey-identity dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-identity dl > div,
  .journey-identity dl > div + div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 10px 8px;
  }

  .journey-stage-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 0;
  }
}

@media (max-width: 640px) {
  .admin-page {
    padding: 20px 0 48px;
  }

  .admin-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .admin-nav a {
    flex: 0 0 auto;
    justify-content: flex-start;
    white-space: nowrap;
  }

  .admin-page .form-title {
    font-size: 28px;
  }

  .admin-shell {
    width: min(100% - 20px, 1160px);
  }

  .admin-panel,
  .admin-modal {
    border-radius: 8px;
    padding: 14px;
  }

  .admin-heading__actions,
  .filter-toolbar__actions,
  .sticky-form-actions,
  .form-section-heading {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .admin-heading__actions .happi-button,
  .filter-toolbar__actions .happi-button,
  .sticky-form-actions .happi-button {
    width: 100%;
  }

  .kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-strip article,
  .kpi-strip article:nth-child(3n) {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .kpi-strip article:nth-child(2n) {
    border-right: 0;
  }

  .kpi-strip article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .today-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .today-progress article,
  .today-progress article:nth-child(3n),
  .today-progress article:nth-child(n + 4) {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 10px;
  }

  .today-progress article:nth-child(2n) {
    border-right: 0;
  }

  .today-progress article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .list-summary,
  .list-summary.list-summary--four {
    grid-template-columns: 1fr;
  }

  .list-summary div,
  .list-summary div + div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 12px 14px;
  }

  .list-summary div:last-child {
    border-bottom: 0;
  }

  .admin-pagination__links {
    justify-content: flex-start;
  }

  .sticky-form-actions {
    bottom: 6px;
  }

  .sticky-form-actions .form-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .journey-stage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .campaign-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .campaign-metric-grid {
    grid-template-columns: 1fr;
  }
}
.campaign-portfolio-alert {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.campaign-portfolio-alert div {
    display: grid;
    gap: 4px;
}

.campaign-portfolio-alert a {
    color: inherit;
    font-weight: 900;
}

.campaign-portfolio__summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 18px;
}

.campaign-portfolio__summary article {
    border-left: 1px solid var(--line);
    display: grid;
    gap: 4px;
    padding: 4px 16px;
}

.campaign-portfolio__summary article:first-child {
    border-left: 0;
    padding-left: 0;
}

.campaign-portfolio__summary span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.campaign-portfolio__summary strong {
    font-size: 22px;
}

@media (max-width: 1100px) {
    .campaign-portfolio__summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 18px;
    }

    .campaign-portfolio__summary article:nth-child(4) {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 700px) {
    .campaign-portfolio-alert {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .campaign-portfolio__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .campaign-portfolio__summary article:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .campaign-portfolio__summary article:nth-child(even) {
        border-left: 1px solid var(--line);
        padding-left: 16px;
    }
}

.campaign-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.campaign-review-grid > div {
    min-width: 0;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
}

.campaign-review-grid > div:nth-child(3n) {
    border-right: 0;
}

.campaign-review-grid > div:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.campaign-review-grid dt {
    color: var(--brand-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.campaign-review-grid dd {
    margin: 7px 0 0;
    color: var(--brand-ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .campaign-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .campaign-review-grid > div,
    .campaign-review-grid > div:nth-child(3n),
    .campaign-review-grid > div:nth-last-child(-n + 3) {
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .campaign-review-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .campaign-review-grid > div:last-child {
        border-bottom: 0;
    }
}

/* Campaign Setup Wizard mirrors the established Happi Admin operating layout. */
.admin-app .campaign-setup-wizard {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.admin-app .campaign-setup-wizard .wizard-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 8px;
}

.admin-app .campaign-setup-wizard .wizard-header {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}

.admin-app .campaign-setup-wizard .wizard-header > div {
  min-width: 0;
}

.admin-app .campaign-setup-wizard .wizard-header .form-title {
  margin: 4px 0 8px;
  font-size: 28px;
  line-height: 1.2;
}

.admin-app .campaign-setup-wizard .wizard-header .admin-subtitle,
.admin-app .campaign-setup-wizard .panel-title p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.6;
}

.admin-app .campaign-setup-wizard .wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfbfa;
}

.admin-app .campaign-setup-wizard .wizard-steps a {
  position: relative;
  min-width: 0;
  min-height: 48px;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 16px;
  background: transparent;
  color: var(--brand-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.admin-app .campaign-setup-wizard .wizard-steps a:last-child {
  border-right: 0;
}

.admin-app .campaign-setup-wizard .wizard-steps a span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid #d9ddda;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-muted);
  line-height: 1;
}

.admin-app .campaign-setup-wizard .wizard-steps a.is-active {
  background: rgba(38, 64, 39, 0.08);
  color: var(--brand-green);
  box-shadow: inset 0 -3px 0 var(--brand-green);
}

.admin-app .campaign-setup-wizard .wizard-steps a.is-active span {
  border-color: var(--brand-green);
  background: var(--brand-green);
  color: #fff;
}

.admin-app .campaign-setup-wizard .wizard-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: none;
}

.admin-app .campaign-setup-wizard .panel-title {
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-app .campaign-setup-wizard .panel-title h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.admin-app .campaign-setup-wizard .source-title {
  align-items: center;
}

.admin-app .campaign-setup-wizard .selected-total {
  min-width: 92px;
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 10px 12px;
  background: #1f5b35;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.admin-app .campaign-setup-wizard .selected-total span {
  display: block;
  margin-bottom: 3px;
  font-size: 24px;
  line-height: 1;
}

.admin-app .campaign-setup-wizard .auto-include-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fbfbfa;
}

.admin-app .campaign-setup-wizard .auto-include-bar .toggle-row {
  flex: 1 1 420px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.admin-app .campaign-setup-wizard .auto-include-hint {
  flex: 1 0 100%;
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 20px;
}

.admin-app .campaign-setup-wizard .source-tabs {
  gap: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 0 12px;
  background: #fbfbfa;
}

.admin-app .campaign-setup-wizard .source-tabs a {
  min-height: 46px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 12px 16px 9px;
  background: transparent;
}

.admin-app .campaign-setup-wizard .source-tabs a.is-active {
  border-bottom-color: var(--brand-green);
  color: var(--brand-green);
}

.admin-app .campaign-setup-wizard [data-source-panel] {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  padding: 16px;
  background: #fff;
}

.admin-app .campaign-setup-wizard .selected-source-summary {
  margin-bottom: 14px;
  border: 1px solid #c8d8ce;
  border-left: 3px solid #1f5b35;
  border-radius: 6px;
  padding: 12px;
  background: #f7faf8;
}

.admin-app .campaign-setup-wizard .selected-source-summary__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-app .campaign-setup-wizard .selected-source-summary__header > div:first-child {
  min-width: 0;
}

.admin-app .campaign-setup-wizard .selected-source-summary__header strong,
.admin-app .campaign-setup-wizard .selected-source-summary__header span {
  display: block;
}

.admin-app .campaign-setup-wizard .selected-source-summary__header span {
  margin-top: 3px;
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.45;
}

.admin-app .campaign-setup-wizard .selected-source-summary__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.admin-app .campaign-setup-wizard .selected-source-summary__actions .status-badge {
  margin-top: 0;
}

.admin-app .campaign-setup-wizard .selected-source-summary__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 210px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.admin-app .campaign-setup-wizard .selected-source-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e1e8e3;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
}

.admin-app .campaign-setup-wizard .selected-source-item > div {
  min-width: 0;
}

.admin-app .campaign-setup-wizard .selected-source-item strong,
.admin-app .campaign-setup-wizard .selected-source-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-app .campaign-setup-wizard .selected-source-item span {
  margin-top: 2px;
  color: var(--brand-muted);
  font-size: 12px;
}

.admin-app .campaign-setup-wizard .selected-source-summary__pager {
  margin-top: 10px;
}

.admin-app .campaign-setup-wizard .source-link-button {
  border: 0;
  padding: 2px;
  background: transparent;
  color: var(--brand-blue);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-app .campaign-setup-wizard .source-link-button:hover,
.admin-app .campaign-setup-wizard .source-link-button:focus-visible {
  color: var(--brand-green);
  text-decoration: underline;
}

.admin-app .campaign-setup-wizard .source-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-app .campaign-setup-wizard .source-toolbar__filters {
  display: grid;
  min-width: 0;
  flex: 1 1 560px;
  gap: 10px;
}

.admin-app .campaign-setup-wizard .source-toolbar__filters--referral-system {
  grid-template-columns: minmax(220px, 1fr) 150px 150px auto;
}

.admin-app .campaign-setup-wizard .source-toolbar__filters--user-referral {
  grid-template-columns: minmax(260px, 1fr) 150px auto;
}

.admin-app .campaign-setup-wizard .source-toolbar__actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-app .campaign-setup-wizard .source-toolbar .happi-field,
.admin-app .campaign-setup-wizard .source-toolbar .happi-button {
  min-height: 40px;
}

.admin-app .campaign-setup-wizard .source-error-alert {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.admin-app .campaign-setup-wizard .source-error-alert > div {
  display: grid;
  gap: 3px;
}

.admin-app .campaign-setup-wizard .source-candidate-table {
  height: 360px;
  max-width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
}

.admin-app .campaign-setup-wizard .source-candidate-table .admin-table {
  min-width: 720px;
}

.admin-app .campaign-setup-wizard .source-candidate-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8f9f8;
}

.admin-app .campaign-setup-wizard .pager-row {
  margin-top: 12px;
}

.admin-app .campaign-setup-wizard .wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  background: transparent;
}

.admin-app .campaign-setup-wizard .wizard-footer > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
  color: var(--brand-muted);
  font-size: 12px;
}

.admin-app .campaign-setup-wizard .wizard-footer > div:first-child strong {
  color: var(--brand-ink);
  font-size: 13px;
}

.admin-app .campaign-setup-wizard .wizard-footer .form-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .admin-app .campaign-setup-wizard .source-toolbar__filters--referral-system,
  .admin-app .campaign-setup-wizard .source-toolbar__filters--user-referral {
    grid-template-columns: minmax(220px, 1fr) 150px;
  }

  .admin-app .campaign-setup-wizard .source-toolbar__actions {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .admin-app .campaign-setup-wizard .wizard-header,
  .admin-app .campaign-setup-wizard .panel-title,
  .admin-app .campaign-setup-wizard .selected-source-summary__header {
    display: block;
  }

  .admin-app .campaign-setup-wizard .wizard-header .happi-button {
    width: 100%;
    margin-top: 12px;
  }

  .admin-app .campaign-setup-wizard .wizard-header .form-title {
    font-size: 23px;
  }

  .admin-app .campaign-setup-wizard .wizard-steps a {
    min-height: 44px;
    padding: 9px 6px;
    font-size: 0;
  }

  .admin-app .campaign-setup-wizard .wizard-steps a span {
    font-size: 12px;
  }

  .admin-app .campaign-setup-wizard .wizard-panel {
    padding: 14px;
  }

  .admin-app .campaign-setup-wizard .selected-total,
  .admin-app .campaign-setup-wizard .selected-source-summary__actions {
    margin-top: 10px;
  }

  .admin-app .campaign-setup-wizard .auto-include-bar {
    display: block;
  }

  .admin-app .campaign-setup-wizard .auto-include-bar .toggle-row {
    width: 100%;
    margin-bottom: 12px;
  }

  .admin-app .campaign-setup-wizard .source-tabs {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .admin-app .campaign-setup-wizard .source-tabs a {
    justify-content: flex-start;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
    padding: 11px 12px;
  }

  .admin-app .campaign-setup-wizard .source-tabs a:last-child {
    border-bottom: 0;
  }

  .admin-app .campaign-setup-wizard .source-tabs a.is-active {
    border-left-color: var(--brand-green);
    border-bottom-color: var(--border);
    box-shadow: none;
  }

  .admin-app .campaign-setup-wizard [data-source-panel] {
    padding: 10px;
  }

  .admin-app .campaign-setup-wizard .selected-source-summary__items,
  .admin-app .campaign-setup-wizard .source-toolbar__filters--referral-system,
  .admin-app .campaign-setup-wizard .source-toolbar__filters--user-referral {
    grid-template-columns: 1fr;
  }

  .admin-app .campaign-setup-wizard .selected-source-summary__actions {
    justify-content: space-between;
  }

  .admin-app .campaign-setup-wizard .source-toolbar__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-app .campaign-setup-wizard .source-toolbar__actions .happi-button,
  .admin-app .campaign-setup-wizard .source-error-alert .happi-button {
    width: 100%;
  }

  .admin-app .campaign-setup-wizard .source-error-alert,
  .admin-app .campaign-setup-wizard .wizard-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-app .campaign-setup-wizard .wizard-footer .form-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .admin-app .campaign-setup-wizard .wizard-footer .happi-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
    .campaign-review-grid {
        grid-template-columns: 1fr;
    }

    .campaign-review-grid > div,
    .campaign-review-grid > div:nth-child(2n),
    .campaign-review-grid > div:nth-child(3n),
    .campaign-review-grid > div:nth-last-child(-n + 3) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .campaign-review-grid > div:last-child {
        border-bottom: 0;
    }
}
