:root {
  color: #17201b;
  background: #f7f8f6;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #f7f8f6;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px;
}

.join-page,
.staff-page {
  display: grid;
  gap: 16px;
  align-content: start;
}

.join-page {
  color: var(--join-text, #17201b);
  background: var(--join-bg, transparent);
  box-shadow: 0 0 0 100vmax var(--join-bg, transparent);
  clip-path: inset(0 -100vmax);
}

.join-page .action-panel {
  color: var(--join-text, #17201b);
  background: var(--join-panel-bg, #fffdfa);
  border-color: var(--join-panel-border, #e6ded1);
}

.join-page input {
  color: var(--join-input-text, #17201b);
  background: var(--join-input-bg, #ffffff);
  border-color: var(--join-input-border, #cfc6b8);
}

.join-page input::placeholder {
  color: var(--join-input-text, #17201b);
  opacity: 0.55;
}

.join-page .field-label {
  color: var(--join-text, #17201b);
}

.join-page .fine-print {
  color: var(--join-help-text, #49534d);
  opacity: 1;
}

.join-page .checkbox-row {
  color: var(--join-checkbox-text, #17201b);
}

.join-page .primary-button {
  color: var(--join-button-text, #fffaf0);
  background: var(--join-button-bg, #17201b);
}

.join-page .wallet-badge-link .loading-spinner {
  color: var(--join-button-bg, #17201b);
}

.wallet-preview {
  display: grid;
  gap: 18px;
  padding: 20px;
  color: #fffaf0;
  background: #176b5b;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgb(23 32 27 / 16%);
}

.wallet-preview__top,
.staff-header,
.card-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #176b5b;
  background: #fffaf0;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 4px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.72;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(1.55rem, 7vw, 2.4rem);
  line-height: 1;
}

h2 {
  font-size: 1.4rem;
}

.card-number {
  font-size: 1.05rem;
  font-weight: 800;
}

.card-name {
  font-size: 1.2rem;
  font-weight: 750;
}

.stamp-grid {
  display: grid;
  gap: 8px;
}

.stamp {
  aspect-ratio: 1;
  min-width: 0;
  border: 2px solid rgb(255 250 240 / 72%);
  border-radius: 50%;
  background: rgb(255 250 240 / 12%);
}

.stamp--filled {
  background: #f2c14e;
  border-color: #f2c14e;
}

.progress-copy {
  font-size: 1.1rem;
  font-weight: 800;
}

.reward-copy,
.fine-print {
  opacity: 0.78;
}

.action-panel,
.scanner-box,
.card-detail,
.staff-actions {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #fffdfa;
  border: 1px solid #e6ded1;
  border-radius: 8px;
}

.field-label {
  font-weight: 750;
}

.field-error {
  margin: -6px 0 0;
  color: #b3261e;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.35;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cfc6b8;
  border-radius: 8px;
  background: #fff;
}

input[aria-invalid="true"] {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgb(179 38 30 / 12%);
}

textarea {
  min-height: 108px;
  padding: 12px 14px;
  resize: vertical;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #253029;
  line-height: 1.4;
}

.checkbox-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  padding: 0;
}

.primary-button,
.secondary-button,
.redeem-button,
.stepper button {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.primary-button:disabled,
.secondary-button:disabled,
.redeem-button:disabled,
.stepper button:disabled,
.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.primary-button[aria-busy="true"],
.secondary-button[aria-busy="true"],
.redeem-button[aria-busy="true"],
.wallet-button[aria-busy="true"] {
  opacity: 1;
}

.primary-button {
  color: #fffaf0;
  background: #17201b;
}

.wallet-button {
  grid-auto-flow: column;
  grid-template-columns: auto auto;
  gap: 10px;
  justify-content: center;
  padding: 0 18px;
}

/* Official Apple/Google "Add to Wallet" badge as the clickable element.
   The badge artwork is the button, so no pill background; keep clear space
   around it and never recolor/distort it (per Apple/Google brand guidelines). */
.wallet-badge-link {
  display: grid;
  place-items: center;
  min-height: 60px;
  padding: 5px;
  text-decoration: none;
}

.wallet-badge {
  height: 52px;
  width: auto;
  display: block;
}

/* On tap, the badge is replaced in place by this spinner. The link keeps its
   fixed min-height, so the swap causes zero layout shift. */
.wallet-badge-link .loading-spinner {
  width: 28px;
  height: 28px;
  border-width: 3px;
  color: #17201b;
}

.secondary-button {
  padding: 0 16px;
  color: #17201b;
  background: #e7efe7;
}

.redeem-button {
  color: #17201b;
  background: #f2c14e;
}

.loading-content {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.loading-spinner {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.loading-panel {
  justify-items: center;
  align-content: center;
  min-height: 136px;
  text-align: center;
}

.loading-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loading-heading h1 {
  font-size: clamp(1.55rem, 7vw, 2.4rem);
}

.text-skeleton {
  display: inline-block;
  width: 104px;
  max-width: 38vw;
  height: 0.85em;
  color: transparent;
  background: linear-gradient(90deg, #d7d0c6 0%, #eee8df 48%, #d7d0c6 100%);
  background-size: 220% 100%;
  border-radius: 999px;
  animation: shimmer 1.2s ease-in-out infinite;
}

.scanner-box {
  min-height: 260px;
  place-items: center;
  color: #66716b;
}

.scan-frame {
  width: min(72vw, 280px);
  aspect-ratio: 1;
  border: 3px solid #176b5b;
  border-radius: 8px;
}

.card-detail .stamp-grid {
  width: 132px;
}

.card-detail .stamp {
  border-color: #aab7af;
}

.stepper {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 10px;
}

.stepper output {
  display: grid;
  min-height: 56px;
  place-items: center;
  border: 1px solid #d8d0c5;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 850;
}

.stepper button {
  color: #17201b;
  background: #e7efe7;
  font-size: 1.5rem;
}

.banner {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.banner--success {
  color: #14532d;
  background: #d8f3dc;
  border: 1px solid #95d5b2;
}

.banner--error {
  color: #7f1d1d;
  background: #fde2e2;
  border: 1px solid #f5a9a9;
}

.banner--reward {
  color: #17201b;
  background: #f2c14e;
  border: 1px solid #e0a82e;
}

.code-display {
  padding: 12px 14px;
  border: 1px dashed #176b5b;
  border-radius: 8px;
  background: #f0f7f4;
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-align: center;
}

.confirm-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.confirm-row .fine-print {
  grid-column: 1 / -1;
}

.card-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #ececec;
  box-shadow: 0 18px 48px rgb(23 32 27 / 14%);
}

.card-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-preview__logo {
  height: 30px;
  width: auto;
}

.card-preview__number {
  font-size: 1rem;
  font-weight: 800;
}

.card-preview__strip {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.card-preview__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.card-preview__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.55;
}

.card-preview__value {
  font-size: 1.1rem;
  font-weight: 750;
}

.card-preview__reward {
  text-align: right;
  font-weight: 600;
  opacity: 0.8;
}

.scanner-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.scanner-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanner-frame__status {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #fffaf0;
  background: rgb(23 32 27 / 82%);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.scanner-frame__status--blocking {
  inset: 0;
  place-content: center;
  border-radius: 0;
  font-size: 1rem;
}

.status-dot {
  width: 0.7em;
  height: 0.7em;
  background: #61d394;
  border-radius: 50%;
  animation: pulse 1s ease-in-out infinite;
}

.lookup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.lookup-row .secondary-button {
  padding: 0 20px;
}

.join-card {
  justify-items: center;
  text-align: center;
}

.join-card--toggle {
  text-align: left;
}

.join-card__head {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.join-card__head p {
  margin: 0;
}

.join-card__head .fine-print {
  margin-top: 3px;
}

.join-card__close {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.join-qr__img,
.join-qr__placeholder {
  width: min(64vw, 260px);
  border-radius: 8px;
}

.join-qr__img {
  height: auto;
  background: #fff;
}

.join-qr__placeholder {
  aspect-ratio: 1;
  background: linear-gradient(90deg, #ece7dd 0%, #faf7f0 48%, #ece7dd 100%);
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

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

@keyframes shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-spinner,
  .text-skeleton,
  .join-qr__placeholder,
  .status-dot,
  .owner-metric--loading,
  .chart-skeleton,
  .showcase-wallet-card,
  .showcase-card-preview {
    animation: none;
  }

  .showcase-card-preview {
    transition: none;
  }
}

.site {
  min-height: 100vh;
  color: #151916;
  background: #fffefb;
}

.site-nav,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 20px 0;
}

.site-footer__legal {
  flex-wrap: wrap;
}

.legal-updated {
  color: #8a938d;
  font-size: 0.9rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #ececec;
}

.legal-table th {
  color: #17201b;
  font-weight: 750;
}

.legal-table td {
  color: #59645e;
  line-height: 1.5;
}

.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e5ebe5;
}

.site-brand,
.site-nav__right,
.site-nav__links,
.language-switch,
.site-footer nav,
.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-brand {
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.site-nav__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-direction: row;
  width: auto;
  min-width: 320px;
  margin-left: auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 14px;
}

.site-nav__menu-stack {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  background: #ffffff;
  border: 1px solid #dfe7e1;
  border-radius: 8px;
  cursor: pointer;
}

.site-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  grid-column: 1;
  grid-row: 1;
  background: #17201b;
  border-radius: 999px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-menu-button span:nth-child(1) {
  transform: translateY(-6px);
}

.site-menu-button span:nth-child(3) {
  transform: translateY(6px);
}

.site-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.site-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.site-brand__mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav__links a,
.language-switch a,
.site-footer a {
  color: #4d5752;
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav__links a[aria-current="page"],
.language-switch a[aria-current="page"] {
  color: #17201b;
}

.language-switch {
  flex: 0 0 auto;
  width: fit-content;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #dfe7e1;
  border-radius: 8px;
}

.language-switch a {
  flex: none;
  display: grid;
  min-width: 38px;
  min-height: 32px;
  place-items: center;
  border-radius: 6px;
  font-size: 0.82rem;
}

.language-switch a[aria-current="page"] {
  color: #fffaf0;
  background: #17201b;
}

.site-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 0.84fr);
  min-height: calc(100vh - 112px);
  align-items: center;
  column-gap: clamp(36px, 5vw, 84px);
  overflow: hidden;
  padding: 54px max(24px, calc((100vw - 1240px) / 2)) 60px;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.site-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 690px);
  gap: 24px;
}

.site-hero h1 {
  display: grid;
  color: #101612;
  max-width: 660px;
  font-size: clamp(2.35rem, 3.8vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.site-hero h1 span {
  display: block;
}

.site-hero__copy {
  max-width: 560px;
  color: #435047;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.58;
}

.landing-visual {
  position: relative;
  width: min(100%, 640px);
  height: 650px;
  z-index: 1;
  justify-self: end;
}

.showcase-wallet-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 306px;
  padding: 8px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 8%) 0%, transparent 24%),
    #050605;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 52px;
  box-shadow:
    inset 0 0 0 6px #0d100e,
    inset 0 0 0 7px rgb(255 255 255 / 8%),
    0 28px 80px rgb(23 32 27 / 24%);
  transform: translate(-50%, -50%);
}

.showcase-wallet-screen {
  position: relative;
  overflow: hidden;
  background: #050605;
  border-radius: 43px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.showcase-wallet-screen:active {
  cursor: grabbing;
}

.showcase-wallet-screen::before {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 5;
  width: 78px;
  height: 22px;
  background: #050605;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 999px;
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 9%);
  content: "";
  transform: translateX(-50%);
}

.showcase-wallet-frame {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-wallet-card {
  position: absolute;
  top: 8.8%;
  left: 4.8%;
  z-index: 3;
  display: block;
  width: 90.35%;
  height: auto;
  border-radius: 6.3%;
  box-shadow: 0 16px 38px rgb(0 0 0 / 40%);
  animation: phoneCardIn 640ms cubic-bezier(0.2, 0.9, 0.18, 1);
}

.showcase-card-preview {
  position: absolute;
  z-index: 2;
  display: block;
  width: 142px;
  height: auto;
  padding: 0;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: 0 18px 48px rgb(23 32 27 / 16%);
  cursor: pointer;
  opacity: 0.96;
  transition:
    transform 720ms cubic-bezier(0.2, 0.9, 0.18, 1),
    opacity 420ms ease,
    filter 420ms ease;
  will-change: transform;
}

.showcase-card-preview:hover,
.showcase-card-preview:focus-visible {
  filter: saturate(1.08) contrast(1.03);
  outline: none;
}

.showcase-card-preview:focus-visible {
  box-shadow:
    0 18px 48px rgb(23 32 27 / 16%),
    0 0 0 4px rgb(23 107 91 / 20%);
}

.showcase-card-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.showcase-card-preview--left-high {
  left: -48px;
  top: 128px;
  transform: translate3d(0, 0, 0) rotate(-5deg);
  animation: floatLeftHigh 5.2s ease-in-out infinite;
}

.showcase-card-preview--right-middle {
  right: -44px;
  top: 232px;
  transform: translate3d(0, 0, 0) rotate(5deg);
  animation: floatRightMiddle 5.8s ease-in-out infinite;
}

.showcase-card-preview--left-low {
  left: -20px;
  top: 410px;
  width: 126px;
  transform: translate3d(0, 0, 0) rotate(4deg);
  animation: floatLeftLow 6.1s ease-in-out infinite;
}

@keyframes phoneCardIn {
  from {
    opacity: 0;
    transform: translateX(16px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes floatLeftHigh {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-5deg);
  }

  50% {
    transform: translate3d(-4px, -8px, 0) rotate(-3.5deg);
  }
}

@keyframes floatRightMiddle {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(5deg);
  }

  50% {
    transform: translate3d(5px, 8px, 0) rotate(3.5deg);
  }
}

@keyframes floatLeftLow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(4deg);
  }

  50% {
    transform: translate3d(-5px, 7px, 0) rotate(5.5deg);
  }
}

.site-actions {
  flex-wrap: wrap;
}

.site-actions .primary-button,
.site-actions .secondary-button {
  min-width: 158px;
  padding: 0 18px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 10px;
}

.hero-proof p {
  position: relative;
  padding: 0 0 0 16px;
  color: #5c6861;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.92rem;
  font-weight: 760;
}

.hero-proof p::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  background: #176b5b;
  border-radius: 50%;
  content: "";
}

.site-section {
  display: grid;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  gap: 30px;
  padding: 76px 0;
}

.site-section__intro {
  display: grid;
  max-width: 820px;
  gap: 12px;
}

.site-section--compact,
.site-section--split {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  border-top: 0;
}

.site-section h2,
.text-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.05;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.route-item {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 12px;
  padding: 24px 0 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-top: 1px solid #dfe7e1;
  border-radius: 0;
  text-decoration: none;
}

.route-item span {
  color: #176b5b;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.route-item strong {
  min-height: 0;
  font-size: 1.34rem;
  line-height: 1.18;
}

.route-item p {
  min-height: 0;
}

.route-item--step {
  min-height: 0;
}

.route-item--step strong {
  min-height: 0;
}

.route-item--simple {
  gap: 10px;
}

.site-section--benefit-scroll {
  display: block;
  width: 100%;
  max-width: none;
  height: var(--benefit-scroll-height, auto);
  min-height: 0;
  margin: 0;
  gap: 0;
  padding: 0;
}

.benefit-scroll__sticky {
  --benefit-scroll-gutter: max(24px, calc((100vw - 1240px) / 2));

  position: sticky;
  top: 0;
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 22px;
  overflow: hidden;
  align-self: start;
  padding: clamp(28px, 5vh, 48px) 0;
}

.benefit-scroll__progress {
  width: min(240px, 38vw);
  height: 4px;
  justify-self: center;
  overflow: hidden;
  background: #dfe7e1;
  border-radius: 999px;
}

.benefit-scroll__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #176b5b;
  border-radius: inherit;
  transform: scaleX(var(--benefit-scroll-progress, 0));
  transform-origin: left center;
}

.benefit-scroll__viewport {
  width: 100vw;
  overflow: hidden;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.benefit-grid--scroll {
  display: flex;
  width: max-content;
  max-width: none;
  gap: 22px;
  padding-left: var(--benefit-scroll-gutter);
  transform: translate3d(var(--benefit-track-x, 0px), 0, 0);
  will-change: transform;
}

.benefit-grid--scroll .benefit-card {
  flex: 0 0 clamp(390px, 37vw, 500px);
  min-height: 500px;
}

.benefit-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 14px;
  padding: 18px 14px 20px;
  color: inherit;
  background: #fffdfa;
  border: 0;
  border-radius: 8px;
}

.benefit-card > strong {
  color: #151916;
  font-size: clamp(1.48rem, 1.75vw, 1.9rem);
  line-height: 1.08;
}

.benefit-card > p {
  font-size: 0.95rem;
}

.benefit-visual {
  position: relative;
  display: grid;
  aspect-ratio: 8 / 5;
  place-items: center;
  overflow: hidden;
  background: #f5f7f3;
  border: 1px solid #e3e8e1;
  border-radius: 8px;
}

.benefit-visual--no-app {
  background: #fffdf8;
}

.no-app-phone-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.wallet-notification span,
.wallet-notification strong,
.segment-list span,
.segment-list strong,
.notification-composer span,
.notification-composer strong,
.setup-stack span {
  display: block;
  min-width: 0;
}

.wallet-notification span,
.segment-list span,
.notification-composer span {
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.78;
}

.benefit-visual--reviews {
  background:
    linear-gradient(180deg, rgb(66 133 244 / 9%), transparent 72%),
    #f8fbff;
}

.google-review-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-visual--nearby {
  background: #f8faf8;
}

.nearby-map-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-update-alert {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: min(88%, 316px);
  gap: 10px;
  padding: 10px 12px;
  color: #17201b;
  background: #ffffff;
  border: 1px solid rgb(23 107 91 / 72%);
  border-radius: 12px;
  box-shadow:
    0 0 0 3px rgb(23 107 91 / 13%),
    0 0 32px rgb(23 107 91 / 28%),
    0 20px 42px rgb(24 31 27 / 12%);
  transform: translateX(-50%);
}

.wallet-update-alert__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #ffffff;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.wallet-update-alert__icon img {
  display: block;
  width: 36px;
  height: 36px;
}

.wallet-update-alert strong,
.wallet-update-alert span {
  display: block;
  min-width: 0;
}

.wallet-update-alert strong {
  font-size: 0.96rem;
  line-height: 1.12;
}

.wallet-update-alert div > span {
  margin-top: 2px;
  color: #52605a;
  font-size: 0.8rem;
  line-height: 1.18;
}

.wallet-notification {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(82%, 254px);
  gap: 5px;
  padding: 12px 14px;
  color: #17201b;
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(215 223 216 / 80%);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgb(24 31 27 / 18%);
  backdrop-filter: blur(14px);
}

.wallet-notification strong {
  font-size: 0.94rem;
  line-height: 1.2;
}

.benefit-visual--inactive {
  background: #fffdf9;
}

.inactive-customer-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-update-alert--inactive {
  top: auto;
  bottom: 18px;
}

.segment-list {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: grid;
  gap: 7px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #eadfd7;
  border-radius: 8px;
}

.segment-list strong {
  color: #17201b;
  font-size: 0.94rem;
  line-height: 1.2;
}

.segment-list div {
  height: 7px;
  background: #ece4da;
  border-radius: 999px;
}

.segment-list div:nth-of-type(2) {
  width: 72%;
}

.segment-list div:nth-of-type(3) {
  width: 54%;
}

.wallet-notification--bottom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(80%, 244px);
}

.benefit-visual--custom {
  background: #fff8fb;
}

.custom-notification-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-update-alert--custom {
  top: auto;
  bottom: 12px;
  width: min(90%, 340px);
}

.notification-composer {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 56%;
  gap: 7px;
  padding: 14px;
  color: #17201b;
  background: #ffffff;
  border: 1px solid #dde6dc;
  border-radius: 8px;
}

.notification-composer strong {
  font-size: 0.8rem;
  line-height: 1.28;
}

.wallet-notification--wide {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: min(74%, 258px);
}

.benefit-visual--setup {
  background: #fffdf8;
}

.done-by-me-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.site-section--credibility {
  border-top: 0;
}

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

.credibility-stat {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid #dfe7e1;
}

.credibility-stat > span {
  color: #176b5b;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
}

.credibility-stat strong {
  color: #17201b;
  font-size: 1.08rem;
  line-height: 1.2;
}

.credibility-stat a {
  width: fit-content;
  color: #176b5b;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.credibility-stat a:hover,
.credibility-stat a:focus-visible {
  text-decoration: underline;
}

.route-item p,
.benefit-card p,
.credibility-stat p,
.feature-list p,
.section-lede,
.setup-list p,
.flow-card p,
.faq-item p,
.dashboard-preview p,
.site-band p,
.site-final-cta p,
.text-page p {
  color: #59645e;
  line-height: 1.55;
}

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

.flow-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
  padding: 12px;
  background: #fffdfa;
  border: 1px solid #dfe7e1;
  border-radius: 8px;
}

.flow-card > span {
  color: #176b5b;
  font-size: 0.76rem;
  font-weight: 900;
}

.flow-card strong {
  color: #151916;
  font-size: 1.05rem;
  line-height: 1.18;
}

.flow-card p {
  font-size: 0.94rem;
}

.flow-visual {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #f7f8f6;
  border: 1px solid #e4e9e3;
  border-radius: 8px;
}

.flow-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-card:last-child .flow-visual img {
  object-fit: contain;
}

.site-section--dashboard {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  border-top: 0;
  border-bottom: 0;
}

.dashboard-preview {
  display: grid;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 16px;
  background: #fffdfa;
  border: 1px solid #dfe7e1;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgb(23 32 27 / 12%);
}

.dashboard-preview__header {
  display: flex;
  align-items: flex-start;
}

.dashboard-preview__header div,
.dashboard-preview__metric,
.dashboard-preview__chart-panel,
.dashboard-activity-preview {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.dashboard-preview__header span,
.dashboard-preview__metric span,
.dashboard-preview__chart-panel > span,
.dashboard-activity-preview > span {
  color: #66716b;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-preview__header strong {
  color: #101612;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  line-height: 0.96;
}

.dashboard-preview__metrics {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-preview__metric {
  grid-template-rows: minmax(2.2em, auto) 1fr;
  min-height: 86px;
  gap: 8px;
  padding: 12px;
  color: inherit;
  font: inherit;
  text-align: left;
  background: #f7f8f6;
  border: 1px solid #e4e9e3;
  border-radius: 8px;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.dashboard-preview__metric span {
  min-height: 2.2em;
  font-size: 0.72rem;
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
}

.dashboard-preview__metric:hover,
.dashboard-preview__metric:focus-visible {
  border-color: #176b5b;
  outline: none;
}

.dashboard-preview__metric:active {
  transform: translateY(1px);
}

.dashboard-preview__metric--active {
  border-color: #176b5b;
  box-shadow: inset 0 0 0 2px #176b5b;
}

.dashboard-preview__metric strong {
  align-self: end;
  color: #17201b;
  font-size: clamp(1.25rem, 1.95vw, 1.82rem);
  line-height: 1;
}

.dashboard-preview__body {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
  gap: 12px;
}

.dashboard-preview__chart-panel,
.dashboard-activity-preview {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 14px;
  background: #f7f8f6;
  border: 1px solid #e4e9e3;
  border-radius: 8px;
}

.dashboard-preview__chart-panel > strong,
.dashboard-activity-preview > strong {
  color: #17201b;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.dashboard-activity-preview > strong {
  font-size: clamp(1rem, 1.55vw, 1.28rem);
}

.dashboard-preview__chart,
.dashboard-preview__line-chart {
  display: flex;
  min-height: 204px;
  margin-top: 10px;
  padding: 14px 4px 0;
  background:
    linear-gradient(#dfe7e1 1px, transparent 1px) 0 27% / 100% 50%,
    linear-gradient(#dfe7e1 1px, transparent 1px) 0 77% / 100% 50%;
}

.dashboard-preview__chart {
  align-items: end;
  gap: 7px;
}

.dashboard-preview__chart span {
  flex: 1;
  min-width: 4px;
  background: #176b5b;
  border-radius: 999px 999px 3px 3px;
  transition: height 180ms ease;
}

.dashboard-preview__line-chart {
  align-items: stretch;
}

.dashboard-preview__line-chart svg {
  display: block;
  width: 100%;
  min-height: 204px;
  overflow: visible;
}

.dashboard-preview__line-chart polyline {
  fill: none;
  stroke: #176b5b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.dashboard-preview__axis {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #66716b;
  font-size: 0.78rem;
  font-weight: 780;
}

.dashboard-activity-preview {
  align-content: start;
}

.dashboard-activity-preview__item {
  display: grid;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px solid #e4e9e3;
}

.dashboard-activity-preview__item:first-of-type {
  margin-top: 8px;
}

.dashboard-activity-preview__item time {
  color: #66716b;
  font-size: 0.74rem;
  font-weight: 850;
}

.dashboard-activity-preview__item strong {
  color: #17201b;
  font-size: 0.86rem;
  line-height: 1.15;
}

.dashboard-activity-preview__item p {
  font-size: 0.82rem;
  font-weight: 740;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list p {
  padding: 16px 0;
  border-top: 1px solid #dfe7e1;
}

.setup-list {
  display: grid;
  gap: 0;
}

.setup-list p {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-height: 90px;
  padding: 20px 0;
  border-top: 1px solid #dfe7e1;
  font-weight: 650;
}

.setup-list span {
  color: #ed1c24;
  font-size: 0.82rem;
  font-weight: 900;
}

.section-lede {
  max-width: 720px;
  font-size: clamp(1.12rem, 2.4vw, 1.5rem);
}

.site-band {
  background: transparent;
  color: #17201b;
  border-top: 0;
  border-bottom: 0;
}

.site-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  gap: 28px;
  align-items: start;
  padding: 76px 0;
}

.site-band h2 {
  max-width: 560px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.site-band p {
  color: #59645e;
  font-size: 1.12rem;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-top: 1px solid #dfe7e1;
}

.faq-item:last-child {
  border-bottom: 1px solid #dfe7e1;
}

.faq-item summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #17201b;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 850;
  line-height: 1.25;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  flex: 0 0 auto;
  color: #176b5b;
  font-size: 1.35rem;
  font-weight: 650;
  content: "+";
}

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

.faq-item p {
  max-width: 760px;
  padding: 0 44px 22px 0;
}

.faq-item h3 {
  margin: 0;
  color: #17201b;
  font-size: 1.18rem;
  line-height: 1.25;
}

.site-final-cta {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 0;
  background: transparent;
  border: 0;
  border-top: 0;
  border-radius: 0;
}

.site-final-cta div {
  display: grid;
  max-width: 720px;
  gap: 10px;
}

.site-final-cta h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.05;
}

.site-final-cta .primary-button {
  min-width: 170px;
  padding: 0 18px;
}

.curious-page {
  display: grid;
  min-height: calc(100vh - 184px);
  place-items: center;
  padding: 52px max(20px, calc((100vw - 760px) / 2)) 72px;
  background: transparent;
  border-top: 0;
}

.curious-panel {
  display: grid;
  width: min(100%, 720px);
  gap: 22px;
}

.curious-panel h1 {
  color: #101612;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
}

.curious-panel p:not(.eyebrow) {
  max-width: 620px;
  color: #435047;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.58;
}

.text-page {
  display: grid;
  width: min(760px, calc(100% - 32px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  gap: 22px;
  padding: 56px 0;
}

.text-page section {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #e5ded2;
}

.text-page h2 {
  font-size: 1.35rem;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: #fffdfa;
  border: 1px solid #e4ddcf;
  border-radius: 8px;
}

.contact-list a,
.text-page a {
  color: #176b5b;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 30px;
  color: #65716a;
  border-top: 1px solid #e5ebe5;
}

.operator-page {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  gap: 18px;
  align-content: start;
  padding: 24px 0 48px;
}

.operator-page--centered {
  width: min(100%, 520px);
  align-content: center;
  padding: 20px;
}

.operator-login {
  display: grid;
  gap: 16px;
}

.operator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 8px;
}

.operator-header h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.operator-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #53605a;
  font-weight: 720;
}

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

.metric-card,
.operator-panel {
  background: #fffdfa;
  border: 1px solid #e4ddcf;
  border-radius: 8px;
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 16px;
}

.metric-card strong {
  color: #121714;
  font-size: 1.6rem;
}

.metric-card p:not(.eyebrow) {
  color: #63706a;
  line-height: 1.4;
}

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

.operator-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 16px;
}

.operator-panel--wide {
  grid-column: span 2;
}

.operator-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.operator-panel h2 {
  font-size: 1.45rem;
}

.status-pill {
  padding: 6px 9px;
  color: #14532d;
  background: #d8f3dc;
  border: 1px solid #95d5b2;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.status-pill--warm {
  color: #7c4a03;
  background: #fff0c2;
  border-color: #ecc45c;
}

.operator-list {
  display: grid;
  border-top: 1px solid #e5ded2;
}

.operator-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.operator-copy-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5ded2;
  border-radius: 8px;
  background: #f8f5ee;
}

.operator-link {
  justify-self: start;
  min-width: 150px;
}

.operator-row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid #eee6da;
}

.operator-row span {
  color: #66716b;
  font-size: 0.92rem;
}

.operator-row strong {
  color: #17201b;
  font-weight: 780;
}

.operator-staff-qr {
  display: grid;
  gap: 12px;
}

.operator-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.operator-staff-qr__img,
.operator-staff-qr__placeholder {
  width: min(100%, 220px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid #e5ded2;
  border-radius: 8px;
  background: #fff;
}

.operator-staff-qr__placeholder {
  display: grid;
  place-items: center;
  color: #66716b;
  font-weight: 760;
}

.operator-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #e5ded2;
  border-radius: 8px;
}

.operator-table__row {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(0, 0.8fr)) minmax(160px, 1.4fr) minmax(92px, 0.7fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid #eee6da;
}

.operator-table__row:first-child {
  border-top: 0;
}

.operator-table__row--head {
  color: #66716b;
  background: #f7f8f6;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.operator-table__error {
  overflow: hidden;
  color: #7f1d1d;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-table__button {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

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

.account-form .primary-button {
  margin-top: 8px;
}

.shop-add-form,
.shop-edit-form {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.shop-add-form__wide {
  display: grid;
  gap: 6px;
}

.shop-edit-form__actions {
  display: flex;
  gap: 8px;
}

.shop-panel__head {
  align-items: center;
}

.shop-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  min-width: min(100%, 650px);
}

.shop-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(100%, 270px);
  min-width: 190px;
  padding: 0 6px 0 12px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 8px;
}

.shop-search:focus-within {
  border-color: #176b5b;
  box-shadow: 0 0 0 3px rgb(23 107 91 / 12%);
}

.shop-search input {
  min-height: 40px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.shop-search input:focus {
  outline: 0;
}

.shop-search__clear {
  min-height: 28px;
  padding: 0 8px;
  color: #46514a;
  background: #eef2ee;
  border: 0;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.shop-search__clear:hover,
.shop-search__clear:focus-visible {
  color: #134e43;
  background: #e8f3ef;
}

.shop-outreach-today {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  color: #46514a;
  background: #f7f8f6;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.outreach-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.outreach-chip {
  min-height: 34px;
  padding: 0 10px;
  color: #46514a;
  background: #fbfcfb;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 820;
  cursor: pointer;
}

.outreach-chip:hover,
.outreach-chip:focus-visible {
  border-color: #176b5b;
}

.outreach-chip--selected {
  color: #134e43;
  background: #e8f3ef;
  border-color: #9fcabd;
}

.prospect-track-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.prospect-track-summary__item {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
  padding: 10px;
  background: #f7f8f6;
  border: 1px solid #e1e6e1;
  border-radius: 8px;
}

.prospect-track-summary__item span {
  color: #66716b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.prospect-track-summary__item strong {
  overflow: hidden;
  color: #17201b;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prospect-track-summary__item--next {
  background: #e8f3ef;
  border-color: #cfe2dc;
}

.prospect-track-summary__item .design-status-select {
  min-height: 34px;
}

.prospect-crm {
  display: grid;
  gap: 12px;
}

.prospect-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prospect-filter {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #dce4dd;
  border-radius: 999px;
  background: #fbfcfb;
  color: #46514a;
  font-weight: 760;
  cursor: pointer;
}

.prospect-filter--active {
  border-color: #176b5b;
  background: #e8f3ef;
  color: #134e43;
}

.prospect-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #e1e6e1;
  border-radius: 8px;
}

.prospect-table__head,
.shop-row__summary {
  display: grid;
  grid-template-columns:
    34px minmax(130px, 0.88fr) minmax(190px, 1fr)
    repeat(6, minmax(62px, 0.34fr)) minmax(190px, 0.88fr);
  gap: 10px;
  align-items: center;
}

.prospect-table__head {
  padding: 10px 12px;
  color: #66716b;
  background: #f7f8f6;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.prospect-table__head span:first-child {
  grid-column: 2;
}

.shop-row {
  display: grid;
  border-top: 1px solid #e8eee9;
}

.shop-row:first-of-type {
  border-top: 0;
}

.shop-row__summary {
  min-width: 0;
  padding: 8px 12px;
  background: #fffdfa;
}

.shop-row--expanded .shop-row__summary {
  background: #fbfcfb;
}

.shop-row--follow-up-due .shop-row__summary {
  background: #fff9e9;
}

.shop-row__expand {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dce4dd;
  border-radius: 999px;
  background: #ffffff;
  color: #46514a;
  font-weight: 850;
  cursor: pointer;
}

.shop-row__main {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shop-row__main strong,
.shop-row__summary > span,
.shop-row__link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-row__main strong {
  font-size: 0.98rem;
}

.shop-row__main small {
  font-size: 0.76rem;
  color: #176b5b;
}

.shop-row__link {
  color: #176b5b;
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
}

.shop-row__summary > span {
  color: #66716b;
  font-size: 0.88rem;
}

.shop-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.shop-row__tags small {
  display: inline-flex;
  width: fit-content;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef1ee;
  color: #59635d;
}

.design-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.design-status-select {
  width: 100%;
  min-height: 32px;
  min-width: 0;
  padding: 0 8px;
  color: #46514a;
  background: #fbfcfb;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 820;
}

.design-status-select--draft {
  color: #705317;
  background: #fff7df;
  border-color: #e2c56d;
}

.design-status-select--ready {
  color: #134e43;
  background: #e8f3ef;
  border-color: #9fcabd;
}

.design-status-select--sent {
  color: #334f80;
  background: #ebf1ff;
  border-color: #adc0ed;
}

.design-status-select--approved {
  color: #fffdfa;
  background: #176b5b;
  border-color: #176b5b;
}

.design-studio-button {
  min-height: 32px;
  padding: 0 8px;
  color: #176b5b;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 840;
  cursor: pointer;
}

.design-studio-button:hover,
.design-studio-button:focus-visible {
  border-color: #176b5b;
}

.outreach-date-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  min-width: 0;
  padding: 2px 5px;
  border: 1px solid #e1e6e1;
  border-radius: 8px;
  background: #fbfcfb;
  color: #46514a;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 760;
  cursor: pointer;
}

.outreach-date-button:hover,
.outreach-date-button:focus-visible {
  border-color: #176b5b;
}

.outreach-date-button--set {
  color: #134e43;
  background: #e8f3ef;
  border-color: #b8d8cf;
}

.outreach-check__date {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #7a8580;
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.response-toggle {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: #eef2ee;
  border: 1px solid #dce4dd;
  border-radius: 8px;
}

.response-toggle__button {
  min-height: 32px;
  padding: 0 8px;
  color: #46514a;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.response-toggle__button.is-active {
  color: #fffdfa;
}

.response-toggle__button--no.is-active {
  background: #9b3328;
}

.response-toggle__button--maybe.is-active {
  color: #17201b;
  background: #f3d77d;
}

.response-toggle__button--yes.is-active {
  background: #176b5b;
}

.shop-row__drawer {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-top: 1px solid #e8eee9;
  background: #f8faf8;
}

.shop-row__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.shop-row__contact-grid > div {
  display: grid;
  gap: 2px;
}

.shop-row__contact-grid strong,
.shop-row__contact-grid .shop-row__link,
.shop-row__contact-grid > div > span:not(.field-label) {
  min-width: 0;
  overflow: hidden;
  color: #17201b;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-row__drawer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.shop-row__drawer-grid > div {
  display: grid;
  gap: 2px;
}

.shop-row__drawer-grid strong {
  color: #17201b;
  font-size: 0.9rem;
}

.shop-row__drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.outreach-history {
  display: grid;
  gap: 8px;
  padding: 12px;
  margin: 12px 0;
  background: #f7f8f6;
  border: 1px solid #e1e6e1;
  border-radius: 8px;
}

.outreach-history__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.outreach-history__head h3 {
  margin: 0;
  font-size: 0.94rem;
}

.outreach-history__head span {
  color: #66716b;
  font-size: 0.78rem;
  font-weight: 850;
}

.outreach-history ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.outreach-history li {
  display: grid;
  grid-template-columns: minmax(84px, 0.5fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  padding: 6px 8px;
  background: #ffffff;
  border: 1px solid #e8eee9;
  border-radius: 8px;
}

.outreach-history li span {
  color: #66716b;
  font-size: 0.78rem;
  font-weight: 800;
}

.outreach-history li strong {
  overflow: hidden;
  color: #17201b;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outreach-history li em {
  color: #9b3328;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 850;
}

.outreach-history__item--voided {
  opacity: 0.68;
}

@media (max-width: 1320px) {
  .prospect-table__head {
    display: none;
  }

  .shop-row__summary {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .shop-row__summary > span,
  .shop-row__link,
  .design-track,
  .outreach-date-button,
  .response-toggle {
    grid-column: 2;
  }

  .outreach-date-button {
    justify-content: flex-start;
  }

  .outreach-date-button::before {
    content: attr(data-label);
    min-width: 76px;
    color: #46514a;
    font-weight: 820;
  }
}

@media (max-width: 760px) {
  .shop-panel__head,
  .shop-panel__actions {
    align-items: stretch;
  }

  .shop-panel__actions,
  .shop-search,
  .shop-outreach-today {
    width: 100%;
  }

  .shop-panel__actions .secondary-button {
    width: 100%;
  }

  .prospect-track-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .outreach-history li {
    grid-template-columns: minmax(0, 1fr);
  }
}

.stage-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 26px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid #e1e6e1;
  background: #fbfcfb;
  color: #66716b;
  cursor: pointer;
}

.stage-chip::before {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8ddd8;
  content: "";
}

.stage-chip__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.stage-chip--on {
  border-color: #176b5b;
  background: #e8f3ef;
  color: #134e43;
  font-weight: 600;
}

.stage-chip--on::before {
  background: #176b5b;
}

.stage-chip--declined.stage-chip--on {
  border-color: #b9bdb9;
  background: #eef0ee;
  color: #6a706b;
}

.stage-chip--declined.stage-chip--on::before {
  background: #6a706b;
}

.shop-stage-view {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.poster-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.poster-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e1e6e1;
  background: #fbfcfb;
  text-align: center;
  cursor: pointer;
}

.poster-card strong {
  font-size: 0.85rem;
}

.poster-card span {
  font-size: 0.74rem;
  color: #66716b;
}

.poster-card--picked {
  border-color: #1b4dff;
  box-shadow: 0 0 0 2px rgba(27, 77, 255, 0.18);
}

.poster-mockup {
  width: 84px;
  height: 84px;
  background: #f4f6fb;
  border-radius: 8px;
}

.demo-assets {
  display: grid;
  gap: 10px;
}

.demo-assets .field-label {
  display: grid;
  gap: 6px;
}

.demo-assets__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.asset-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid #d7ddd7;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
}

.asset-status--saved {
  color: #14532d;
  background: #d8f3dc;
  border-color: #95d5b2;
}

.asset-status--missing {
  color: #66716b;
  background: #f4f6f4;
}

.demo-assets input[type="file"] {
  min-height: auto;
  padding: 10px;
}

.demo-studio {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef1ee;
}

.demo-studio__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.demo-studio__head h3 {
  margin: 0;
  font-size: 1rem;
}

.demo-studio__workspace {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 2fr);
  gap: 18px;
  align-items: start;
}

.demo-studio__controls,
.demo-style-form,
.demo-preview-grid,
.demo-links {
  display: grid;
  gap: 10px;
}

.demo-studio__controls {
  padding: 12px;
  border: 1px solid #e1e6e1;
  border-radius: 8px;
  background: #fbfcfb;
}

.demo-style-form {
  grid-template-columns: 1fr;
}

.demo-style-form .secondary-button,
.demo-style-form .demo-reward-field,
.demo-style-form label:has(input[type="range"]) {
  grid-column: 1 / -1;
}

.demo-studio__feedback {
  display: grid;
  gap: 8px;
}

.color-field {
  display: grid;
  gap: 5px;
}

.color-field span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
}

.color-field input[type="color"] {
  width: 42px;
  min-height: 42px;
  padding: 4px;
}

.color-field input[type="text"] {
  min-height: 42px;
}

.color-field--active {
  border-radius: 8px;
  outline: 2px solid rgba(28, 85, 62, 0.5);
  outline-offset: 3px;
}

.demo-preview-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
  align-items: start;
}

.preview-color-editor {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 44px minmax(116px, 150px) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dce5dc;
  border-radius: 8px;
  background: #fbfcfb;
}

.preview-color-editor .eyebrow {
  margin: 0 0 2px;
  color: #65716b;
}

.preview-color-editor strong {
  display: block;
  overflow-wrap: anywhere;
}

.preview-color-editor input[type="color"] {
  width: 44px;
  min-height: 40px;
  padding: 4px;
}

.preview-color-editor input[type="text"] {
  min-height: 40px;
}

.preview-color-editor__clear {
  min-height: 40px;
  padding-inline: 12px;
}

.phone-preview {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.phone-preview > .eyebrow {
  color: #53605a;
}

.demo-apple-card,
.demo-google-card,
.demo-join-phone {
  overflow: hidden;
  border: 1px solid #dfe5df;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(23 32 27 / 10%);
}

.demo-design-target {
  position: relative;
  cursor: pointer;
  outline: 1px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.16s ease, outline-width 0.16s ease;
}

.demo-design-target:hover,
.demo-design-target:focus-visible {
  outline-color: rgba(28, 85, 62, 0.44);
}

.demo-design-target--selected {
  outline-color: #1c553e;
  outline-width: 2px;
  outline-offset: 3px;
}

.demo-design-target--text,
.demo-design-target--inline {
  border-radius: 5px;
}

.demo-apple-card,
.demo-google-card {
  display: grid;
  gap: 16px;
  min-height: 390px;
  padding: 22px;
}

.demo-apple-card {
  grid-template-rows: auto auto auto auto;
}

.demo-google-card {
  grid-template-rows: auto auto auto auto;
  padding-bottom: 0;
}

.demo-card-top,
.demo-google-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  min-width: 0;
  width: 100%;
}

.demo-card-field--wide {
  grid-column: 1 / -1;
  min-width: 0;
}

.demo-card-field--reserved {
  visibility: hidden;
}

.demo-wallet-barcode {
  width: 100%;
  align-self: center;
  justify-self: stretch;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: currentColor;
  font-size: 0.74rem;
  font-weight: 850;
  opacity: 0.78;
}

.demo-wallet-barcode--apple {
  margin-top: 6px;
}

.demo-wallet-barcode--google {
  margin: 8px 0 10px;
}

.demo-card-top img,
.demo-google-card__head img {
  display: block;
  max-width: 72%;
  max-height: 52px;
  object-fit: contain;
}

.demo-card-top span,
.demo-card-fields strong,
.demo-google-card__body strong {
  display: block;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.demo-card-fields span,
.demo-google-card__body span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-strip {
  display: grid;
  width: 100%;
  aspect-ratio: 1125 / 432;
  min-height: 128px;
  place-items: center;
  border-radius: 8px;
  object-fit: cover;
  font-size: 0.82rem;
  font-weight: 800;
}

.demo-strip--google {
  align-self: end;
  margin-inline: -22px;
  width: calc(100% + 44px);
  border-radius: 0;
}

.demo-strip--empty {
  color: #66716b;
  background: repeating-linear-gradient(135deg, #edf1ed 0 10px, #f8faf8 10px 20px);
}

.demo-google-card__head {
  display: grid;
  min-height: 46px;
  align-items: center;
}

.demo-google-card__body {
  padding: 8px 0 2px;
  flex-wrap: wrap;
}

.demo-qr {
  display: grid;
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 8px;
  border: 1px solid #d8ddd8;
  border-radius: 6px;
  background: #ffffff;
}

.demo-qr span {
  background: #17201b;
  border-radius: 1px;
}

.demo-qr span:nth-child(2),
.demo-qr span:nth-child(4),
.demo-qr span:nth-child(7),
.demo-qr span:nth-child(9),
.demo-qr span:nth-child(11),
.demo-qr span:nth-child(13),
.demo-qr span:nth-child(17),
.demo-qr span:nth-child(19),
.demo-qr span:nth-child(22),
.demo-qr span:nth-child(24) {
  background: transparent;
}

.phone-preview--join {
  grid-column: 1 / -1;
  width: min(390px, 100%);
  justify-self: center;
}

.demo-join-phone {
  display: grid;
  gap: 16px;
  min-height: 760px;
  padding: 18px;
}

.demo-join-card {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
  padding: 18px;
  border: 1px solid #ececec;
  border-radius: 8px;
}

.demo-join-card__foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.demo-join-card__foot > div,
.demo-join-card__foot > strong {
  min-width: 0;
}

.demo-join-card__foot span {
  display: block;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-join-card__foot > strong {
  max-width: 68%;
  text-align: right;
  overflow-wrap: anywhere;
}

.demo-join-panel {
  display: grid;
  gap: 13px;
  width: 100%;
  min-width: 0;
  padding: 18px;
  color: #17201b;
  background: #fffdfa;
  border: 1px solid #e6ded1;
  border-radius: 8px;
}

.demo-preview-field {
  display: grid;
  gap: 8px;
  font-size: 1rem;
  font-weight: 850;
}

.demo-preview-text-button {
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.demo-preview-input {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid #cfc6b8;
  border-radius: 8px;
}

.demo-preview-input__value {
  width: fit-content;
  min-height: 0;
  min-width: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 850;
  text-align: left;
  overflow-wrap: anywhere;
}

.demo-join-panel input {
  min-height: 48px;
  color: #17201b;
}

.demo-join-panel input.demo-design-target,
.demo-preview-input.demo-design-target,
.demo-join-button.demo-design-target {
  outline-offset: -4px;
}

.demo-join-panel input.demo-design-target--selected,
.demo-preview-input.demo-design-target--selected,
.demo-join-button.demo-design-target--selected {
  box-shadow: inset 0 0 0 3px rgba(28, 85, 62, 0.28);
}

.demo-join-panel .fine-print {
  color: #49534d;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0.9;
}

.demo-join-panel .demo-consent-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 760;
  line-height: 1.35;
}

.demo-consent-row .demo-preview-text-button {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.demo-join-panel .demo-consent-row input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
}

.demo-join-button {
  min-height: 48px;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
  opacity: 0.62;
}

.demo-font-system {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.demo-font-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.demo-font-rounded {
  font-family: ui-rounded, "Arial Rounded MT Bold", Inter, ui-sans-serif, system-ui, sans-serif;
}

.demo-font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

.demo-handoff {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #dfe8df;
  border-radius: 8px;
  background: #fbfcfb;
}

.demo-links .fine-print {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .stage-selector {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
  }

  .stage-chip {
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .demo-studio__workspace,
  .demo-preview-grid,
  .demo-links {
    grid-template-columns: 1fr;
  }

  .preview-color-editor {
    grid-template-columns: 1fr 44px;
  }

  .preview-color-editor input[type="text"],
  .preview-color-editor__clear {
    grid-column: 1 / -1;
  }

  .demo-handoff {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.shop-detail__info {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.prospect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prospect-tags span {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef1ee;
  color: #46514a;
  font-size: 0.78rem;
  font-weight: 750;
}

.shop-detail__notes {
  white-space: pre-wrap;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f4f6f4;
  font-size: 0.9rem;
}

.shop-detail-section {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e1e6e1;
  border-radius: 8px;
  background: #fbfcfb;
}

.shop-detail-section summary {
  cursor: pointer;
  color: #17201b;
  font-size: 1rem;
  font-weight: 850;
}

.shop-checklist {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e4eae4;
  border-radius: 8px;
  background: #ffffff;
}

.shop-checklist h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1ee;
  background: #fbfcfb;
  font-size: 0.95rem;
}

.shop-checklist h3 span {
  color: #176b5b;
  font-size: 0.85rem;
}

.shop-checklist__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 12px;
  border-bottom: 1px solid #eef1ee;
  font-size: 0.92rem;
  cursor: pointer;
}

.shop-checklist__item:last-child {
  border-bottom: 0;
}

.shop-checklist__item input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: #176b5b;
}

.setup-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #dfe8df;
  border-radius: 8px;
  background: #fbfcfb;
}

.setup-action-panel h3,
.setup-action-panel p {
  margin: 0;
}

.setup-action-panel .secondary-button {
  white-space: nowrap;
}

.cafe-setup {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eef1ee;
}

.cafe-setup h3 {
  margin: 0;
  font-size: 0.95rem;
}

.cafe-creds {
  display: grid;
  gap: 4px;
}

.login-qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.login-qr {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.login-qr img,
.login-qr__placeholder {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e1e6e1;
}

.welcome-email {
  display: grid;
  gap: 8px;
}

.operator-error-log {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8ddd8;
  border-radius: 10px;
  background: #fbfcfb;
  color: #17201b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre;
  overflow: auto;
  resize: vertical;
}

.owner-page {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  gap: 16px;
  align-content: start;
  padding: 24px 0 48px;
  color: #17201b;
  background: #f7f8f6;
}

.owner-page--centered {
  width: min(100%, 520px);
  align-content: center;
  padding: 20px;
  background: #f7f8f6;
}

.owner-login {
  display: grid;
  gap: 16px;
}

.owner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.owner-header h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.owner-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #53605a;
  font-weight: 720;
}

.owner-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  background: #fffdfa;
  border: 1px solid #e0e6df;
  border-radius: 8px;
}

.range-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.range-tab {
  min-height: 38px;
  padding: 0 13px;
  color: #3f4a44;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.range-tab--active {
  color: #fffdfa;
  background: #17201b;
  border-color: #17201b;
}

.month-picker {
  position: relative;
  width: min(100%, 240px);
}

.month-picker__button {
  display: grid;
  width: 100%;
  min-height: 48px;
  gap: 2px;
  padding: 8px 38px 8px 12px;
  color: #17201b;
  background: #f7f8f6;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.month-picker__button::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #53605a;
  border-bottom: 2px solid #53605a;
  transform: rotate(45deg);
}

.month-picker__button span {
  color: #66716b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.month-picker__button strong {
  font-weight: 850;
}

.month-picker__menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  background: #fffdfa;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgb(23 32 27 / 14%);
}

.month-picker__option {
  min-height: 42px;
  padding: 0 10px;
  color: #2f3b35;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  font-weight: 780;
  cursor: pointer;
}

.month-picker__option--active,
.month-picker__option:hover,
.month-picker__option:focus-visible {
  color: #fffdfa;
  background: #17201b;
}

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

.owner-metric,
.owner-panel {
  background: #fffdfa;
  border: 1px solid #e0e6df;
  border-radius: 8px;
}

.owner-metric {
  display: grid;
  min-height: 138px;
  align-content: start;
  gap: 8px;
  padding: 15px;
  color: inherit;
  text-align: left;
}

.owner-metric span {
  color: #66716b;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.owner-metric strong {
  overflow-wrap: anywhere;
  color: #121714;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.05;
}

.owner-metric small {
  color: #63706a;
  font-size: 0.92rem;
  line-height: 1.35;
}

.owner-metric--active {
  border-color: #176b5b;
  box-shadow: inset 0 0 0 2px #176b5b;
}

.owner-metric--loading,
.chart-skeleton {
  min-height: 138px;
  background: linear-gradient(90deg, #e5ebe5 0%, #f7faf7 48%, #e5ebe5 100%);
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 12px;
  align-items: start;
}

.owner-grid--campaigns {
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

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

.owner-grid--operations {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.owner-card-stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

/* A card that mirrors its sibling's measured height and scrolls its inner list
   instead of growing the page. The header/banners stay put; the list scrolls. */
.owner-panel.owner-panel--scroll {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
}

.owner-panel.owner-panel--scroll .activity-list,
.owner-panel.owner-panel--scroll .campaign-list {
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
}

.owner-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.owner-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.owner-panel h2 {
  font-size: 1.45rem;
}

.owner-chart-panel {
  min-height: 380px;
}

.bar-chart {
  position: relative;
  width: 100%;
  min-height: 260px;
}

.bar-chart svg {
  display: block;
  overflow: visible;
}

.bar-chart__grid-line {
  stroke: #dfe6df;
  stroke-dasharray: 4 6;
  stroke-width: 1;
}

.bar-chart__axis-label,
.bar-chart__date-label {
  fill: #66716b;
  font-size: 11px;
  font-weight: 760;
}

.bar-chart__bar {
  fill: #176b5b;
  transition:
    fill 140ms ease,
    opacity 140ms ease;
}

.bar-chart__bar--active {
  fill: #0f4f43;
}

.bar-chart__hit-area {
  fill: transparent;
  cursor: crosshair;
}

.bar-chart__hit-area:focus-visible {
  outline: none;
}

.bar-chart__active-line {
  stroke: #8fb8ae;
  stroke-width: 1;
  opacity: 0.55;
  pointer-events: none;
}

.chart-tooltip {
  position: absolute;
  z-index: 4;
  width: 190px;
  padding: 10px 12px;
  color: #f9fbf8;
  background: #17201b;
  border: 1px solid #2d3a34;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgb(23 32 27 / 20%);
  font-size: 0.86rem;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.chart-tooltip__head,
.chart-tooltip__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chart-tooltip__head {
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.chart-tooltip__head span {
  color: #9ecfc4;
  font-weight: 850;
}

.chart-tooltip__row {
  padding-top: 8px;
  color: #dfe8e4;
}

.chart-tooltip__row i {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #6ee7d6;
  border-radius: 999px;
}

.chart-tooltip__row span {
  flex: 1 1 auto;
  color: #c8d3ce;
}

.chart-tooltip__row strong {
  color: #f9fbf8;
}

.line-chart {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 284px;
  color: #176b5b;
}

.line-chart svg {
  display: block;
  width: 100%;
  color: #176b5b;
  background: linear-gradient(#edf3ef 1px, transparent 1px) 0 0 / 100% 25%;
  border: 1px solid #e0e6df;
  border-radius: 8px;
  overflow: visible;
}

.line-chart__line {
  pointer-events: none;
}

.line-chart__active-line {
  stroke: #8fb8ae;
  stroke-width: 1;
  opacity: 0.55;
  pointer-events: none;
}

.line-chart__active-dot {
  fill: #17201b;
  stroke: #6ee7d6;
  stroke-width: 3;
  pointer-events: none;
}

.line-chart__hit-area {
  fill: transparent;
  cursor: crosshair;
}

.line-chart__hit-area:focus-visible {
  outline: none;
}

.line-chart__labels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  color: #66716b;
  font-weight: 780;
}

.line-chart__labels strong {
  color: #17201b;
}

.line-chart__labels span:last-child {
  text-align: right;
}

.snapshot-detail {
  display: grid;
  min-height: 260px;
  place-content: center;
  gap: 8px;
  text-align: center;
}

.snapshot-detail strong {
  color: #176b5b;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1;
}

.snapshot-detail p {
  color: #63706a;
  font-weight: 760;
}

.busy-chart,
.horizontal-bars {
  display: grid;
  gap: 14px;
}

.horizontal-bars h3 {
  margin: 0;
  font-size: 1rem;
}

.horizontal-bar {
  display: grid;
  grid-template-columns: 54px 1fr 42px;
  gap: 9px;
  align-items: center;
  color: #63706a;
  font-size: 0.88rem;
  font-weight: 760;
}

.horizontal-bar div {
  height: 12px;
  overflow: hidden;
  background: #e7efe7;
  border-radius: 999px;
}

.horizontal-bar i {
  display: block;
  height: 100%;
  min-width: 2px;
  background: #176b5b;
  border-radius: inherit;
}

.horizontal-bar strong {
  color: #17201b;
  text-align: right;
}

.activity-list {
  display: grid;
  border-top: 1px solid #e5ded2;
}

.activity-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #eee6da;
}

.activity-item time {
  color: #66716b;
  font-size: 0.82rem;
  font-weight: 780;
}

.activity-item strong {
  color: #17201b;
}

.activity-item span {
  color: #63706a;
  line-height: 1.35;
}

.customer-count {
  color: #176b5b;
  font-size: 0.9rem;
  font-weight: 850;
}

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

.customer-export .secondary-button {
  min-height: 40px;
  padding: 0 12px;
}

.customer-list {
  display: grid;
  border-top: 1px solid #e5ded2;
  /* Show ~10 customers (~72px/row), then scroll inside the panel so a long
     list doesn't push the rest of the dashboard down the page. */
  max-height: 45rem;
  overflow-y: auto;
}

.customer-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(140px, 0.8fr) minmax(112px, auto);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee6da;
}

.customer-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.customer-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 760;
  letter-spacing: 0.08em;
  color: #2f3a35;
}

.customer-row strong,
.customer-row span,
.customer-row small {
  overflow-wrap: anywhere;
}

.customer-row span,
.customer-row small,
.customer-row time {
  color: #63706a;
  line-height: 1.35;
}

.customer-row time {
  font-size: 0.86rem;
  font-weight: 760;
  text-align: right;
}

.customer-row__actions {
  justify-items: end;
}

.customer-delete-button {
  justify-self: end;
  font-size: 0.9rem;
  font-weight: 850;
}

.campaign-form {
  gap: 12px;
}

.campaign-info-row,
.channel-toggles,
.campaign-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.campaign-info-row {
  align-items: center;
  color: #66716b;
  font-size: 0.9rem;
  font-weight: 780;
}

.info-icon-button {
  position: relative;
  display: grid;
  width: 26px;
  min-width: 26px;
  min-height: 26px;
  place-items: center;
  color: #17201b;
  background: #e7efe7;
  border: 1px solid #dce5dd;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: help;
}

.info-icon-button::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 6;
  width: min(260px, 78vw);
  padding: 9px 10px;
  color: #fffdfa;
  background: #17201b;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

.info-icon-button:hover::after,
.info-icon-button:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.char-hint {
  margin-top: -6px;
  color: #66716b;
  font-size: 0.78rem;
  font-weight: 760;
  text-align: right;
}

.char-hint--limit {
  color: #7c4a03;
}

.campaign-item__meta span {
  padding: 5px 8px;
  color: #2d3b34;
  background: #e7efe7;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 820;
}

.campaign-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 12px;
}

.campaign-controls .field-label {
  display: grid;
  gap: 8px;
}

.channel-toggles label {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #f7f8f6;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  font-weight: 780;
}

.channel-toggles input {
  width: 18px;
  min-height: 18px;
}

.campaign-list {
  display: grid;
  border-top: 1px solid #e4e9e3;
}

.campaign-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #e4e9e3;
}

.campaign-item__content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.campaign-item strong {
  color: #121714;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.campaign-item p {
  color: #63706a;
  font-size: 0.9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.campaign-item span,
.campaign-item small {
  color: #63706a;
  line-height: 1.4;
}

.campaign-item--failed {
  border-left: 3px solid #c0392b;
  padding-left: 10px;
}

.campaign-item__error {
  color: #b3261e !important;
  font-weight: 760;
}

.campaign-item__actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 16px;
}

.campaign-form__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

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

.notification-settings-panel--loading {
  padding: 16px 0;
}

.notification-settings-save {
  min-height: 40px;
  padding: 0 13px;
  white-space: nowrap;
}

.notification-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.notification-copy-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: #fffdfa;
  border: 1px solid #e0e6df;
  border-radius: 8px;
}

.notification-copy-card--stamps {
  grid-column: 1 / -1;
}

.notification-copy-card--demo-send {
  grid-column: 1 / -1;
}

.notification-copy-card__head,
.stamp-copy-closers__head,
.stamp-copy-block__head {
  display: flex;
  gap: 8px;
  align-items: center;
}

.notification-copy-card__head,
.stamp-copy-closers__head,
.stamp-copy-block__head {
  justify-content: space-between;
}

.notification-copy-card__head div,
.stamp-copy-block__head,
.stamp-copy-closers__head {
  min-width: 0;
}

.notification-copy-card__head span,
.stamp-copy-block__head span,
.stamp-copy-closers__head span {
  display: block;
  color: #17201b;
  font-weight: 880;
  line-height: 1.2;
}

.notification-copy-card__head strong {
  display: block;
  margin-top: 3px;
  color: #66716b;
  font-size: 0.75rem;
  font-weight: 860;
  text-transform: uppercase;
}

.notification-info-button {
  margin-left: auto;
}

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

.demo-send-button {
  min-height: 42px;
  padding: 0 10px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.notification-info-button::after {
  right: 0;
  left: auto;
  transform: translateY(4px);
}

.notification-info-button:hover::after,
.notification-info-button:focus-visible::after {
  transform: translateY(0);
}

.stamp-copy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 42px minmax(280px, 0.95fr);
  gap: 10px;
  align-items: stretch;
}

.stamp-copy-block {
  align-content: start;
  padding: 12px;
  background: #fbf8f2;
  border: 1px solid #e3dbcf;
  border-radius: 8px;
}

.stamp-copy-main,
.stamp-copy-closers {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.stamp-copy-main .field-label,
.stamp-copy-closers .field-label {
  gap: 5px;
}

.icon-mix-button {
  display: grid;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  color: #17201b;
  background: #e7efe7;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 900;
}

.icon-mix-button:disabled {
  color: #9aa6a0;
  cursor: not-allowed;
}

.stamp-copy-mix-button {
  align-self: center;
  justify-self: center;
}

.stamp-template-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 5px 6px 5px 12px;
  background: #fffdfa;
  border: 1px solid #cfc6b8;
  border-radius: 8px;
}

.stamp-template-editor:focus-within {
  border-color: #176b5b;
  box-shadow: 0 0 0 3px rgb(23 107 91 / 10%);
}

.stamp-token-controls {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  align-items: center;
}

.stamp-token-arrow {
  display: grid;
  min-width: 30px;
  min-height: 30px;
  place-items: center;
  color: #17201b;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 900;
}

.stamp-token-arrow:not(:disabled):hover {
  background: #e7efe7;
}

.stamp-token-arrow:disabled {
  color: #9aa6a0;
  cursor: not-allowed;
}

.stamp-token-track {
  display: block;
  min-width: 0;
  min-height: 34px;
  padding: 7px 0 5px;
  background: transparent;
  border: none;
  color: #17201b;
  cursor: text;
  font-weight: 850;
  line-height: 1.4;
  outline: none;
}

.stamp-token-track:empty::before {
  color: #8b968f;
  content: attr(data-placeholder);
}

.stamp-number-chip {
  display: inline-grid;
  min-width: 30px;
  min-height: 26px;
  place-items: center;
  padding: 0 9px;
  color: #fffdfa;
  background: #17201b;
  border-radius: 7px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 4px 12px rgb(23 32 27 / 14%);
}

.stamp-preview-card {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  color: #17201b;
  background: #eef4ee;
  border: 1px solid #dce7dc;
  border-radius: 8px;
}

.stamp-preview-card span {
  display: block;
  color: #66716b;
  font-size: 0.74rem;
  font-weight: 860;
  line-height: 1.2;
  text-transform: uppercase;
}

.stamp-preview-card strong {
  display: block;
  margin-top: 2px;
  font-size: 0.92rem;
  line-height: 1.2;
}

.stamp-preview-card p {
  min-width: 0;
  margin: 0;
  font-weight: 820;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.stamp-preview-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.stamp-preview-dots i {
  display: block;
  width: 6px;
  height: 6px;
  background: #a6b4aa;
  border-radius: 50%;
}

.stamp-preview-dots i.active {
  width: 18px;
  background: #176b5b;
  border-radius: 999px;
}

.notification-copy-card textarea {
  min-height: 98px;
  resize: vertical;
}

.link-button {
  padding: 0;
  color: #176b5b;
  background: none;
  border: none;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
}

.link-button:disabled {
  color: #9aa6a0;
  cursor: default;
  text-decoration: none;
}

.link-button--danger {
  color: #b3261e;
}

.logo-upload {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.logo-upload__preview {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 16px;
  background: #eef2ee;
  border: 1px solid #dce5dd;
  overflow: hidden;
  color: #8a958f;
  font-size: 0.7rem;
  text-align: center;
}

.logo-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-upload__controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.logo-upload__choose {
  cursor: pointer;
}

.logo-upload__choose input {
  display: none;
}

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

.owner-qr-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
  margin: 0 auto;
}

.owner-qr-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eef2ee;
  border: 1px solid #dce5dd;
  border-radius: 8px;
}

.owner-qr-switch button {
  flex: 1 1 140px;
  min-height: 42px;
  padding: 0 12px;
  color: #4a554f;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
}

.owner-qr-switch button.is-active {
  color: #fffdfa;
  background: #18211d;
}

.owner-qr-switch button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.owner-qr-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  background: #f7f8f6;
  border: 1px solid #e4e9e3;
  border-radius: 8px;
}

.owner-qr-card--single .owner-qr-card__preview {
  width: min(100%, 260px);
}

.owner-qr-card__preview {
  display: grid;
  aspect-ratio: 1;
  width: min(100%, 220px);
  place-items: center;
  justify-self: center;
  padding: 10px;
  color: #8a958f;
  background: #fffdfa;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 760;
  text-align: center;
}

.owner-qr-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.owner-qr-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.owner-qr-link-row a {
  display: block;
  min-height: 38px;
  min-width: 0;
  overflow: hidden;
  padding: 9px 10px;
  color: #176b5b;
  background: #fffdfa;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.3;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.owner-qr-link-row a:hover,
.owner-qr-link-row a:focus-visible {
  border-color: #176b5b;
  text-decoration: underline;
}

.qr-copy-button {
  min-height: 38px;
  padding: 0 11px;
  color: #17201b;
  background: #e7efe7;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
  transition:
    background 130ms ease,
    border-color 130ms ease,
    color 130ms ease,
    transform 130ms ease;
}

.qr-copy-button:hover,
.qr-copy-button:focus-visible {
  border-color: #176b5b;
}

.qr-copy-button:active {
  transform: scale(0.96);
}

.qr-copy-button--copied {
  color: #fffdfa;
  background: #176b5b;
  border-color: #176b5b;
  animation: copy-pop 260ms ease-out;
}

@keyframes copy-pop {
  0% {
    transform: scale(0.96);
  }

  60% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* The notification-logo uploader, framed as a field inside the composer. */
.logo-field {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f7f8f6;
  border: 1px solid #e4e9e3;
  border-radius: 8px;
}

.logo-field .fine-print {
  margin: 0;
}

.logo-upload__preview {
  cursor: pointer;
  transition:
    border-color 120ms ease,
    background 120ms ease;
}

.logo-upload__preview--drag {
  border-color: #176b5b;
  border-style: dashed;
  background: #e7efe7;
}

.support-contacts {
  display: grid;
  gap: 10px;
}

.support-contact {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  color: inherit;
  background: #f7f8f6;
  border: 1px solid #e4e9e3;
  border-radius: 8px;
  text-decoration: none;
}

.support-contact:hover {
  border-color: #176b5b;
}

.support-contact__label {
  color: #66716b;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.support-contact strong {
  color: #17201b;
  font-size: 1.05rem;
}

.support-contact small {
  color: #63706a;
}

@media (min-width: 720px) {
  .join-page {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    padding-top: 40px;
  }

  .wallet-preview {
    min-height: 430px;
  }
}

@media (max-width: 720px), (prefers-reduced-motion: reduce) {
  .site-section--benefit-scroll {
    width: min(1120px, calc(100% - 32px));
    height: auto;
    min-height: 0;
    margin: 0 auto;
    gap: 30px;
    padding: 76px 0;
  }

  .benefit-scroll__sticky {
    position: static;
    min-height: 0;
    gap: 30px;
    overflow: visible;
    padding: 0;
  }

  .benefit-scroll__progress {
    display: none;
  }

  .benefit-scroll__viewport {
    overflow: visible;
  }

  .benefit-grid--scroll {
    display: grid;
    width: 100%;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    padding: 0;
    transform: none !important;
    will-change: auto;
  }

  .benefit-grid--scroll .benefit-card {
    flex: auto;
    min-height: 0;
  }
}

@media (max-width: 840px) {
  .site-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 54px;
    padding-top: 58px;
    padding-bottom: 70px;
    background: transparent;
  }

  .landing-visual {
    width: min(100%, 560px);
    height: 660px;
    margin-top: 0;
    justify-self: center;
  }

  .showcase-wallet-phone {
    width: 286px;
  }

  .showcase-card-preview {
    width: 108px;
    border-radius: 13px;
  }

  .showcase-card-preview--left-high {
    left: 0;
    top: 146px;
  }

  .showcase-card-preview--right-middle {
    right: 0;
    top: 254px;
  }

  .showcase-card-preview--left-low {
    left: 14px;
    top: 430px;
    width: 98px;
  }

  .route-grid,
  .benefit-grid,
  .credibility-grid,
  .site-section--compact,
  .site-section--split,
  .site-section--dashboard,
  .site-band__inner {
    grid-template-columns: 1fr;
  }

  .flow-story {
    grid-auto-flow: column;
    grid-auto-columns: minmax(218px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .flow-card {
    scroll-snap-align: start;
  }

  .dashboard-preview__body {
    grid-template-columns: 1fr;
  }

  .site-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }

  .operator-header,
  .operator-header__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .operator-metrics,
  .operator-grid {
    grid-template-columns: 1fr;
  }

  .operator-panel--wide {
    grid-column: auto;
  }

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

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

  .setup-action-panel .secondary-button {
    width: 100%;
  }

  .operator-table__row {
    grid-template-columns: 1fr 1fr;
  }

  .owner-header,
  .owner-header__actions,
  .owner-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .owner-metrics,
  .owner-grid {
    grid-template-columns: 1fr;
  }

  .campaign-controls {
    grid-template-columns: 1fr;
  }

  .notification-card-grid,
  .stamp-copy-layout {
    grid-template-columns: 1fr;
  }

  .notification-copy-card--demo-send {
    grid-column: 1;
  }

  .demo-send-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stamp-preview-card {
    grid-template-columns: 1fr;
  }

  .stamp-preview-dots {
    justify-content: flex-start;
  }

  .notification-copy-card--stamps {
    grid-column: auto;
  }

  .notification-settings-panel .owner-panel__head {
    align-items: stretch;
    flex-direction: column;
  }

  .notification-settings-save {
    width: 100%;
  }

  .campaign-item {
    grid-template-columns: 1fr;
  }

  .customer-row {
    grid-template-columns: 1fr;
  }

  .customer-row time {
    text-align: left;
  }

  .customer-row__actions,
  .customer-delete-button {
    justify-items: start;
    justify-self: start;
  }

  .campaign-item__meta {
    justify-content: flex-start;
  }

  .owner-qr-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav {
    align-items: center;
    padding: 14px 0;
  }

  .site-menu-button {
    display: grid;
    margin-left: auto;
  }

  .site-nav__right {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    align-items: stretch;
    flex: none;
    margin-left: 0;
    width: min(188px, calc(100vw - 32px));
    min-width: 0;
    max-width: calc(100vw - 32px);
    padding: 14px;
    background: rgb(251 252 250 / 96%);
    border: 1px solid #dfe7e1;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgb(23 32 27 / 12%);
  }

  .site-nav__right--open {
    display: grid;
    justify-content: start;
    justify-items: start;
    gap: 12px;
  }

  .site-nav__menu-stack {
    display: grid;
    justify-items: start;
    gap: 12px;
  }

  .site-nav__links {
    display: grid;
    gap: 6px;
  }

  .site-nav__links a {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: 0 10px;
    border-radius: 7px;
    white-space: nowrap;
  }

  .site-nav__links a[aria-current="page"] {
    background: #edf3ef;
  }

  .language-switch {
    justify-self: start;
    width: auto;
  }

  .language-switch a {
    min-width: 42px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav__links,
  .language-switch {
    gap: 10px;
  }

  .site-nav__links a,
  .language-switch a {
    font-size: 0.9rem;
  }

  .site-hero h1 {
    font-size: clamp(2.05rem, 9.4vw, 2.65rem);
    line-height: 1;
  }

  .site-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 10px 14px;
  }

  .hero-proof p {
    padding: 0 0 0 14px;
    font-size: 0.86rem;
  }

  .benefit-card {
    padding: 10px 10px 16px;
  }

  .google-review-card-image {
    width: 100%;
  }

  .wallet-update-alert {
    top: 8px;
    width: min(90%, 302px);
  }

  .wallet-update-alert--custom,
  .wallet-update-alert--inactive {
    top: auto;
  }

  .wallet-update-alert--inactive {
    bottom: 14px;
  }

  .notification-composer {
    width: 62%;
  }

  .wallet-notification,
  .wallet-notification--bottom,
  .wallet-notification--wide {
    width: min(84%, 246px);
  }

  .benefit-visual--setup {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .setup-stack {
    width: min(100%, 190px);
  }

  .credibility-stat > span {
    font-size: 2.65rem;
  }

  .flow-story {
    grid-auto-columns: minmax(238px, 86vw);
    width: calc(100% + 16px);
    margin-right: -16px;
  }

  .flow-visual {
    min-height: 154px;
  }

  .landing-visual {
    height: 560px;
  }

  .showcase-wallet-phone {
    width: 206px;
    padding: 6px;
    border-radius: 38px;
  }

  .showcase-wallet-screen {
    border-radius: 31px;
  }

  .showcase-wallet-screen::before {
    top: 13px;
    width: 62px;
    height: 18px;
  }

  .showcase-card-preview {
    width: 58px;
    border-radius: 10px;
  }

  .showcase-card-preview--left-high {
    left: 0;
    top: 138px;
  }

  .showcase-card-preview--right-middle {
    right: -10px;
    top: 214px;
  }

  .showcase-card-preview--left-low {
    left: 12px;
    top: 352px;
    width: 46px;
  }

  .site-actions .primary-button,
  .site-actions .secondary-button,
  .site-final-cta .primary-button {
    width: 100%;
  }

  .dashboard-preview {
    padding: 12px;
  }

  .dashboard-preview__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-preview__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .dashboard-preview__metric {
    min-height: 92px;
    min-width: 0;
    padding: 10px;
  }

  .dashboard-preview__metric:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .dashboard-preview__chart {
    min-height: 170px;
    gap: 7px;
  }

  .site-final-cta {
    padding-top: 26px;
  }

  .owner-page {
    width: min(100%, calc(100% - 20px));
    padding-top: 14px;
  }

  .month-picker {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .range-tab {
    flex: 1 1 auto;
  }
}
