/* Identità della fidelizzazione: una tessera concreta, con la palette Square. */
.loyalty-app {
  --loyalty-ink: #111;
  --loyalty-body: #1c1c1c;
  --loyalty-muted: #5a5a5a;
  --loyalty-line: #d8d8d8;
  --loyalty-paper: #f7f7f7;
  --loyalty-blue: #006aff;
  --loyalty-danger: #cf202f;
}


.loyalty-app .topbar {
  gap: 12px;
  padding: 12px clamp(16px, 3vw, 32px);
}
.loyalty-app .topbar > .brand { min-width: 0; flex: 1 1 auto; gap: 10px; }
.loyalty-app .topbar > .brand > div { min-width: 0; }
.loyalty-app .topbar > .brand strong { display: block; overflow: hidden; color: #111; text-overflow: ellipsis; white-space: nowrap; }
.loyalty-app .topbar > .brand small { color: var(--loyalty-muted); font-size: 12px; font-weight: 650; }
.loyalty-app .topbar > .brand .mark { flex: 0 0 44px; color: #111; background: #ebebeb; }
.loyalty-app .topbar__brand { min-width: 0; flex: 1 1 auto; gap: 10px; }
.loyalty-app .topbar__brand > span:last-child { min-width: 0; }
.loyalty-app .topbar__module-context {
  display: block;
  overflow: hidden;
  color: var(--loyalty-muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.loyalty-app .topbar > .badge { flex: 0 0 auto; margin-left: auto; }
.loyalty-app .nav { scrollbar-width: thin; }
.loyalty-app .nav a { color: var(--loyalty-body); font-weight: 600; text-decoration: none; }
.loyalty-app .nav a[aria-current="page"] { color: #fff; }
.loyalty-app .nav a:focus-visible { outline: 3px solid rgba(0, 106, 255, .55); outline-offset: 2px; }
.loyalty-app .nav-group { display: grid; flex: 0 0 auto; gap: 4px; padding: 0 12px 0 0; }
.loyalty-app .nav-group + .nav-group { padding-left: 12px; border-left: 1px solid #d8d8d8; }
.loyalty-app .nav-group__label { display: flex; align-items: center; gap: 6px; min-height: 16px; color: #155e63; font-size: 10px; font-weight: 800; letter-spacing: .09em; line-height: 1; text-transform: uppercase; }
.loyalty-app .nav-group__label::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.loyalty-app .nav-group[aria-label="Sezioni operatore"] .nav-group__label { color: #84552f; }
.loyalty-app .nav-group__links { display: flex; align-items: center; gap: 7px; }
.loyalty-app .menu-side__section-group { flex: none; margin: 5px 0 10px; }
.loyalty-app .menu-side__section-group + .menu-side__section-group { padding-top: 10px; border-top: 1px solid #e5e1dc; }
.loyalty-app .menu-side__section-group-title { margin: 0 12px 5px; color: #155e63; font-size: 10px; font-weight: 800; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.loyalty-app .menu-side__section-group[aria-label="Sezioni operatore"] .menu-side__section-group-title { color: #84552f; }
.loyalty-app .menu-side__section-group-links { display: flex; flex-direction: column; gap: 2px; }

.loyalty-app .page { padding-top: 24px; }
.loyalty-app:not(.loyalty-page-p1) .hero { display: none; }
.loyalty-app .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .62fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  min-height: 206px;
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--loyalty-ink);
  border-radius: 12px;
  background: var(--loyalty-ink);
  box-shadow: none;
  color: #fff;
}
.loyalty-app .hero::after { content: none; }
.loyalty-app .hero::before {
  position: absolute;
  top: -112px;
  right: 27%;
  width: 300px;
  height: 300px;
  border: 1px solid #292929;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.loyalty-app .hero > * { position: relative; z-index: 1; }
.loyalty-app .hero .eyebrow {
  margin: 0 0 12px;
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: none;
}
.loyalty-app .hero h1 {
  max-width: 670px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.loyalty-app .hero h1 span { display: block; color: #cbdcff; }
.loyalty-app .hero p:not(.eyebrow) {
  max-width: 580px;
  margin: 14px 0 0;
  color: #e0e0e0;
  font-size: 17px;
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero__join { background: #fff !important; color: #111 !important; }
.hero__join:hover { background: #e9e9e9 !important; }
.hero__join span { margin-left: 8px; font-size: 19px; }
.hero__member { border: 1px solid #6f6f6f; background: transparent !important; color: #fff !important; }
.hero__member:hover { background: #292929 !important; }
.loyalty-rule {
  display: grid;
  gap: 15px;
  min-height: 0;
  padding: 19px;
  border: 1px solid #e7ded2;
  border-radius: 12px;
  background: #f4eee5;
  color: #171512;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
}
.loyalty-rule__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #5d5246; font-size: 10px; font-weight: 800; letter-spacing: .095em; }
.loyalty-rule__auto { display: inline-flex; align-items: center; gap: 5px; color: #37634f; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.loyalty-rule__auto svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.loyalty-rule__formula { display: grid; grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr); align-items: center; gap: 7px; }
.loyalty-rule__value { display: grid; gap: 2px; min-width: 0; padding: 12px 13px; border: 1px solid #e6ded3; border-radius: 9px; background: #fffdfa; }
.loyalty-app .hero .loyalty-rule__value > span { color: #776b5e; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.loyalty-app .hero .loyalty-rule__value strong { color: #171512; font-size: clamp(29px, 3.2vw, 40px); line-height: .98; letter-spacing: -.045em; }
.loyalty-app .hero .loyalty-rule__value > small { color: #6d655d; font-size: 11px; }
.loyalty-app .hero .loyalty-rule__value strong small { color: #6d655d; font-size: 15px; letter-spacing: -.01em; }
.loyalty-rule__arrow { width: 28px; height: 20px; fill: none; stroke: #9b6237; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.loyalty-app .hero p.loyalty-rule__foot { max-width: none; margin: 0; color: #6d655d; font-size: 11px; line-height: 1.4; }

/* Pagina di presentazione: il programma si capisce prima di entrare nella tessera. */
.presentation-view { padding-top: 0 !important; }
.presentation-intro,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.presentation-intro { margin: 30px 0 22px; }
.section-kicker {
  margin: 0 0 7px;
  color: var(--loyalty-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
}
.presentation-intro h2,
.section-heading h3 { margin: 0; letter-spacing: -.03em; }
.presentation-intro h2 { max-width: 680px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.presentation-intro p:not(.section-kicker) { max-width: 680px; margin: 10px 0 0; color: var(--loyalty-muted); line-height: 1.55; }
.presentation-intro > .btn { flex: 0 0 auto; }
.featured-offer {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid #d7d1c9;
  border-radius: 12px;
  background: #f4f1ed;
}
.featured-offer__art {
  position: relative;
  display: block;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid #e3d9ce;
  border-radius: 9px;
  background: #e9e0d6;
}
.featured-offer__art img { display: block; width: 100%; height: 100%; min-height: 132px; object-fit: cover; object-position: 50% 58%; }
.featured-offer__copy { min-width: 0; }
.featured-offer__eyebrow { color: #704f34; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.featured-offer__copy h3 { margin: 7px 0 8px; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.15; letter-spacing: -.025em; }
.featured-offer__copy p { max-width: 660px; margin: 0; line-height: 1.5; }
.featured-offer__copy .featured-offer__note { margin-top: 8px; color: var(--loyalty-muted); font-size: 12px; }
.featured-offer__action { min-width: 168px; white-space: nowrap; }
.featured-offer__action span { margin-left: 8px; font-size: 20px; line-height: 0; }
.journey-section,
.rewards-section { margin-top: 34px; }
.section-heading { margin-bottom: 14px; }
.section-heading h3 { font-size: clamp(21px, 2.3vw, 27px); line-height: 1.2; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.journey-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--loyalty-line);
  border-radius: 10px;
  background: #fff;
}
.journey-step__icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #e3d5c3; border-radius: 12px; background: #f5eee5; color: #84552f; }
.journey-step__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.journey-step__number { display: block; margin: 0 0 4px; color: #875a36; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.journey-step h4 { margin: 0 0 6px; font-size: 17px; }
.journey-step p { margin: 0; color: var(--loyalty-muted); font-size: 14px; line-height: 1.45; }
.loyalty-app .reward-grid .tile strong { display: flex; align-items: center; gap: 10px; }
.reward-icon { flex: 0 0 34px; width: 34px; height: 34px; padding: 7px; border: 1px solid #e4d8ca; border-radius: 10px; background: #f6f0e8; color: #805432; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.presentation-view .reward-grid .tile p span { display: block; margin-top: 5px; color: var(--loyalty-muted); font-size: 12px; }
.member-note { position: relative; overflow: hidden; padding-left: 28px !important; background: #f5f5f5; }
.member-note__mark { position: absolute; top: 16px; right: 18px; color: #d2d2d2; font-size: 54px; font-weight: 800; line-height: 1; }
.member-note h3 { position: relative; margin: 8px 0; font-size: 23px; }
.member-note p:not(.section-kicker) { position: relative; max-width: 320px; line-height: 1.5; }
.member-note .btn { position: relative; margin-top: 8px; }
.member-rewards-heading { margin-top: 30px; }

.loyalty-app .view { padding-top: 4px; }
.loyalty-app .view > .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 20px 0 5px;
  padding-left: 10px;
  border-left: 3px solid var(--loyalty-blue);
  color: var(--loyalty-muted) !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  text-transform: none;
}
.loyalty-app .view > h2 {
  margin: 4px 0 18px;
  font-size: clamp(25px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.loyalty-app .panel,
.loyalty-app .tile {
  border-color: var(--loyalty-line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .035);
}
.loyalty-app .panel { padding: clamp(18px, 2.4vw, 26px); }
.loyalty-app .btn,
.loyalty-app .field input,
.loyalty-app .field select { min-height: 46px; }
.loyalty-app :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid rgba(0, 106, 255, .55);
  outline-offset: 2px;
}

/* Tessera P1: il saldo e la soglia del premio sono il punto visivo centrale. */
.loyalty-app .points-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-color: #111;
  background: #111;
  color: #fff;
}
.loyalty-app .points-card::after {
  position: absolute;
  right: -32px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid #343434;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.points-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  color: #c8c8c8;
  font-size: 12px;
}
.points-card__top span:first-child { color: #fff; font-weight: 700; }
.points-card__top span:last-child { font-variant-numeric: tabular-nums; }
.loyalty-app .points-card .points-card__caption { margin: 0 0 4px; color: #c8c8c8; }
.loyalty-app .points-card .metric {
  color: #fff;
  font-size: clamp(42px, 5vw, 58px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.loyalty-app .points-card .metric small { color: #ddd; font-size: 18px; letter-spacing: 0; }
.loyalty-app .points-card .bar { height: 8px; margin: 15px 0 9px; background: #444; }
.loyalty-app .points-card .bar span { position: relative; background: #fff; }
.loyalty-app .points-card .bar span::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 3px;
  height: 12px;
  background: var(--loyalty-blue);
  content: "";
}
.loyalty-app .points-card p.muted { color: #d0d0d0; }
.loyalty-app .points-card .btn { position: relative; z-index: 1; margin-top: 12px; background: #fff; color: #111; }
.loyalty-app .points-card .btn:hover { background: #e9e9e9; }
.loyalty-app .offer-card { border-left: 3px solid #111; }
.loyalty-app .offer-card h3 { margin-top: 12px; font-size: 21px; }
.loyalty-app .offer-card p { line-height: 1.55; }
.loyalty-app .reward-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.loyalty-app .reward-grid .tile {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px;
  background: #fff;
  color: var(--loyalty-body);
  text-align: left;
  transition: border-color .16s ease, background-color .16s ease;
}
.loyalty-app .reward-grid .tile:hover { border-color: #111; background: #f7f7f7; }
.loyalty-app .reward-grid .tile strong { font-size: 17px; line-height: 1.3; }
.loyalty-app .reward-grid .tile p { margin: 12px 0 0; color: var(--loyalty-muted); font-size: 14px; }

/* Gestionale clienti e andamento: dati leggibili prima delle decorazioni. */
.client-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--loyalty-line);
}
.client-row:last-child { border-bottom: 0; }
.client-row__identity { display: grid; gap: 4px; }
.client-row__identity small { color: var(--loyalty-muted); }
.client-row__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.loyalty-app .btn--danger {
  border: 1px solid var(--loyalty-danger);
  background: #fff;
  color: var(--loyalty-danger);
}
.loyalty-app .btn--danger:hover { background: #fce8e9; }
.analytics-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 22px; }
.analytics-kpi { min-height: 106px; padding: 18px; border: 1px solid var(--loyalty-line); border-radius: 10px; background: #fff; }
.analytics-kpi span { display: block; color: var(--loyalty-muted); font-size: 14px; }
.analytics-kpi strong { display: block; margin-top: 8px; color: #111; font-size: 28px; font-variant-numeric: tabular-nums; }
.leaderboard { overflow: hidden; padding: 0 !important; }
.leaderboard__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--loyalty-line); }
.leaderboard__head h3 { margin: 0; }
.leaderboard__head .field { min-width: 190px; margin: 0; }
.rank-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 120px; align-items: center; gap: 14px; padding: 17px 22px; border-bottom: 1px solid var(--loyalty-line); }
.rank-row:last-child { border-bottom: 0; }
.rank-row--lead { background: #f4f4f4; }
.rank-row__number { color: #555; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rank-row--lead .rank-row__number { color: #111; font-size: 24px; }
.rank-row__name { display: grid; gap: 4px; min-width: 0; }
.rank-row__name small { overflow: hidden; color: var(--loyalty-muted); text-overflow: ellipsis; white-space: nowrap; }
.rank-row__value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rank-row__bar { grid-column: 2 / -1; height: 4px; margin-top: -7px; background: #e5e5e5; }
.rank-row__bar span { display: block; height: 100%; background: #111; }
.loyalty-consent-flow { margin-top: 20px; border-top: 1px solid var(--loyalty-line); padding-top: 18px; }
.loyalty-consent-flow > h3 { margin: 0 0 14px; }
.loyalty-consent-flow .check { border-bottom: 1px solid #eee; }

@media (max-width: 700px) {
  .loyalty-app .topbar { gap: 8px; padding: 10px 12px; }
  .loyalty-app .topbar__brand { gap: 8px; }
  .loyalty-app .topbar > .brand { gap: 8px; }
  .loyalty-app .topbar > .brand .mark { width: 38px; height: 38px; flex-basis: 38px; font-size: 20px; }
  .loyalty-app .topbar > .brand small { font-size: 10px; }
  .loyalty-app .topbar__brand > span:last-child { font-size: 14px; }
  .loyalty-app .topbar__module-context { font-size: 10px; }
  .loyalty-app .topbar > .badge { max-width: 92px; padding: 6px 8px; font-size: 11px; line-height: 1.15; text-align: center; white-space: normal; }
  .loyalty-app .page { padding-top: 16px; }
  .loyalty-app .hero { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding: 22px; border-radius: 10px; }
  .loyalty-app .hero h1 { max-width: 440px; font-size: clamp(27px, 7vw, 34px); }
  .loyalty-app .hero p:not(.eyebrow) { margin-top: 10px; font-size: 15px; }
  .loyalty-app .hero::before { top: 20px; right: -155px; width: 250px; height: 250px; }
  .hero__actions { gap: 8px; margin-top: 16px; }
  .hero__actions .btn { flex: 1 1 135px; padding-inline: 10px; font-size: 13px; }
  .loyalty-rule { gap: 11px; padding: 14px; border-radius: 9px; }
  .loyalty-rule__formula { grid-template-columns: minmax(0,1fr) 25px minmax(0,1fr); gap: 5px; }
  .loyalty-rule__value { padding: 10px 9px; }
  .loyalty-app .hero .loyalty-rule__value strong { font-size: 31px; }
  .loyalty-app .hero .loyalty-rule__value strong small { font-size: 13px; }
  .loyalty-rule__arrow { width: 23px; }
  .loyalty-app .hero p.loyalty-rule__foot { font-size: 10px; }
  .presentation-intro,
  .section-heading { align-items: stretch; flex-direction: column; gap: 12px; }
  .presentation-intro { margin-top: 20px; }
  .presentation-intro h2 { font-size: 27px; }
  .presentation-intro > .btn,
  .section-heading > .btn { width: 100%; }
  .featured-offer { grid-template-columns: 78px minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px; }
  .featured-offer__art { min-height: 92px; }
  .featured-offer__art img { min-height: 92px; }
  .featured-offer__eyebrow { font-size: 9px; letter-spacing: .045em; }
  .featured-offer__copy h3 { margin: 5px 0 6px; font-size: 19px; }
  .featured-offer__copy p { font-size: 13px; line-height: 1.4; }
  .featured-offer__copy .featured-offer__note { font-size: 11px; }
  .featured-offer__action { grid-column: 1 / -1; width: 100%; }
  .journey-section,
  .rewards-section { margin-top: 26px; }
  .journey-grid { grid-template-columns: 1fr; gap: 8px; }
  .journey-step { grid-template-columns: 36px minmax(0, 1fr); min-height: auto; gap: 9px; padding: 13px 14px; }
  .journey-step__icon { width: 34px; height: 34px; border-radius: 10px; }
  .journey-step__icon svg { width: 19px; height: 19px; }
  .member-rewards-heading { margin-top: 24px; }
  .loyalty-app .view > .eyebrow { margin-top: 16px; }
  .loyalty-app .view > h2 { margin-bottom: 14px; }
  .loyalty-app .points-card { min-height: 0; }
  .points-card__top { margin-bottom: 20px; }
  .loyalty-app .reward-grid { grid-template-columns: 1fr; gap: 8px; }
  .loyalty-app .reward-grid .tile { min-height: 72px; flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .loyalty-app .reward-grid .tile p { flex: 0 0 auto; margin: 0; }
  .client-row { grid-template-columns: 1fr; gap: 10px; }
  .client-row__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .analytics-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .analytics-kpi { min-height: 88px; padding: 14px; }
  .analytics-kpi:last-child { grid-column: 1 / -1; }
  .analytics-kpi strong { font-size: 24px; }
  .leaderboard__head { align-items: stretch; flex-direction: column; padding: 16px; }
  .leaderboard__head .field { min-width: 0; }
  .rank-row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 14px 16px; }
  .rank-row__value { font-size: 14px; }
  .rank-row__bar { grid-column: 2 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .loyalty-app .reward-grid .tile { transition: none; }
}
.loyalty-app #p6 .grid { align-items: stretch; gap: 18px; }
.loyalty-app #p6 .panel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.loyalty-app #p6 .panel h3 { margin: 0 0 4px; }
.loyalty-app #p6 .panel > p { margin: 2px 0 6px; line-height: 1.55; }
.loyalty-app #p6 .p6-actions { display: flex; width: 100%; gap: 12px; margin: 8px 0 4px; }
.loyalty-app #p6 .p6-actions > .btn { flex: 1 1 190px; margin: 0; white-space: normal; }
.loyalty-app #p6 #reg-status { width: 100%; line-height: 1.5; }
.loyalty-app #p6 #reg-link { width: 100%; overflow-wrap: anywhere; }
.loyalty-app .member-catalog-hint { margin: 14px 0 0; }
.loyalty-app #member-rewards .tile.is-selected { border: 2px solid #155e63; background: #eef6f3; box-shadow: 0 0 0 3px rgba(21, 94, 99, .10); }
.loyalty-app #member-rewards .tile.is-selected:hover { background: #e7f2ee; }
.reward-choice-state { display: inline-flex; align-items: center; margin-top: 10px; padding: 5px 9px; border-radius: 99px; background: #155e63; color: white; font-size: 12px; font-weight: 700; }
.loyalty-app #member-open-reward:disabled { cursor: not-allowed; opacity: .55; }
.loyalty-app #p10 .member-rewards-heading { margin-top: 34px; margin-bottom: 8px; }
.loyalty-app #p10 .member-catalog-hint { max-width: 680px; margin: 0 0 18px; line-height: 1.5; }
.loyalty-app #member-rewards.member-reward-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
.loyalty-app #member-rewards.member-reward-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
.member-reward-category { display: grid; min-width: 0; align-content: start; gap: 10px; }
.member-reward-category__heading { display: block; min-height: 44px; }
.member-reward-category__heading > div { min-width: 0; }
.member-reward-category__heading h4 { margin: 0; font-size: 15px; line-height: 1.2; }
.member-reward-category__heading p { margin: 3px 0 0; color: var(--loyalty-muted); font-size: 12px; line-height: 1.25; }
.loyalty-app #member-rewards .member-reward-card {
  display: grid !important;
  grid-template-rows: auto 5px auto auto;
  align-content: space-between;
  min-width: 0;
  min-height: 220px !important;
  gap: 13px !important;
  padding: 18px !important;
  border-color: #e0d8ce;
  border-radius: 13px;
  background: #fff;
  text-align: left;
}
.loyalty-app #member-rewards .member-reward-card:hover { border-color: #9d795a; background: #fbf8f4; }
.loyalty-app #member-rewards .member-reward-card:focus-visible { outline: 3px solid rgba(0, 106, 255, .48); outline-offset: 3px; }
.member-reward-card__top,
.member-reward-card__identity,
.member-reward-card__name,
.member-reward-card__foot { display: flex; min-width: 0; }
.member-reward-card__top { align-items: flex-start; justify-content: space-between; gap: 10px; }
.member-reward-card__identity { align-items: center; gap: 11px; }
.loyalty-app #member-rewards .member-reward-card .reward-icon { flex-basis: 40px; width: 40px; height: 40px; padding: 8px; }
.member-reward-card__name { flex-direction: column; gap: 4px; }
.loyalty-app #member-rewards .member-reward-card .member-reward-card__name strong { font-size: 16px; line-height: 1.2; }
.member-reward-card__name small { color: var(--loyalty-muted); font-size: 12px; line-height: 1.3; }
.member-reward-card__cost { display: grid; flex: 0 0 auto; justify-items: end; color: #30271f; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.member-reward-card__cost small { margin-top: 4px; color: #756b60; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.member-reward-card__meter { display: block; height: 5px; overflow: hidden; border-radius: 99px; background: #e9e5df; }
.member-reward-card__meter > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #9a6945; transition: width .22s ease; }
.member-reward-card__foot { align-items: center; justify-content: space-between; gap: 8px; }
.member-reward-card__status { color: #5c554e; font-size: 12px; font-weight: 650; line-height: 1.3; }
.member-reward-card.is-available .member-reward-card__status { color: #155e63; }
.member-reward-card[aria-pressed="true"] .member-reward-card__status { color: #155e63; }
.loyalty-app #member-rewards .member-reward-card.is-selected { border: 2px solid #155e63; background: #f0f7f4; box-shadow: 0 0 0 3px rgba(21, 94, 99, .10); }
.reward-choice-state { margin: 0; padding: 5px 8px; white-space: nowrap; }
.reward-choice-state[hidden] { display: none !important; }
.member-reward-card__action { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid #ebe6df; color: #155e63; font-size: 12px; font-weight: 750; line-height: 1.2; }
.member-reward-card__action > span { font-size: 18px; line-height: 1; }
.loyalty-app #p2 .panel > .badge { margin-bottom: 10px; }
.loyalty-app #p2 .panel > h3 { margin: 7px 0 12px; }
.loyalty-app #p2 .p2-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; max-width: 430px; margin-top: 20px; }
.loyalty-app #p2 .p2-actions > .btn { width: 100%; min-height: 48px; margin: 0; }
@media (min-width: 701px) and (max-width: 900px) {
  .loyalty-app #member-rewards.member-reward-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .loyalty-app #member-rewards .member-reward-category:last-child { grid-column: 1 / -1; }
  .loyalty-app .nav-group__links { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .loyalty-app #p10 .member-rewards-heading { margin-top: 26px; }
  .loyalty-app #member-rewards.member-reward-categories { grid-template-columns: 1fr; gap: 18px; }
  .loyalty-app #member-rewards .member-reward-card { min-height: 194px !important; gap: 12px !important; padding: 15px !important; }
  .loyalty-app #member-rewards .member-reward-card .member-reward-card__name strong { font-size: 16px; }
  .member-reward-card__status { font-size: 12px; }
  .member-reward-card__meter > span { transition: none; }
}
@media (max-width: 650px) {
  .loyalty-app #p6 .grid { gap: 8px; }
  .loyalty-app #p6 .p6-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .loyalty-app #p6 .p6-actions > .btn { width: 100%; flex-basis: auto; }
  .loyalty-app #p6 .panel { gap: 8px; }
}
.loyalty-app #p11 .operator-access-grid { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 18px; align-items: stretch; }
.loyalty-app .operator-access-card, .loyalty-app .operator-access-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.operator-access-kicker { color: #155e63; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.operator-access-card h3, .operator-access-aside h3 { margin: 0; }
.operator-access-card form { width: 100%; display: grid; gap: 8px; }
.operator-access-card form .field { margin: 4px 0; }
.operator-access-card form .btn { margin-top: 8px; }
.operator-access-note { margin: 4px 0 0; font-size: 13px; line-height: 1.55; }
.operator-access-aside { background: #f7f8f6; }
.operator-access-aside p { margin: 0; line-height: 1.55; }
.operator-access-aside ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; line-height: 1.45; }
.loyalty-app #p8 table { min-width: 760px; }
.loyalty-app #p8 th:nth-child(2), .loyalty-app #p8 td:nth-child(2) { min-width: 190px; }
@media (max-width: 650px) { .loyalty-app #p11 .operator-access-grid { grid-template-columns: 1fr; gap: 8px; } }

/* Member reward catalog: browse by category and recognize rewards from real food photography. */
.loyalty-app .member-reward-tabs { display: flex; gap: 8px; margin: 0 0 18px; overflow-x: auto; padding: 3px 2px 8px; scrollbar-width: thin; }
.loyalty-app .member-reward-tabs [role="tab"] { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid #ded8cf; border-radius: 999px; background: #fff; color: #3d3832; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.loyalty-app .member-reward-tabs [role="tab"] span { display: grid; min-width: 21px; height: 21px; place-items: center; padding: 0 5px; border-radius: 50%; background: #f1eee9; color: #686158; font-size: 11px; }
.loyalty-app .member-reward-tabs [role="tab"][aria-selected="true"] { border-color: #155e63; background: #155e63; color: #fff; }
.loyalty-app .member-reward-tabs [role="tab"][aria-selected="true"] span { background: rgba(255,255,255,.18); color: #fff; }
.loyalty-app .member-reward-tabs [role="tab"]:focus-visible { outline: 3px solid rgba(0,106,255,.42); outline-offset: 2px; }
.loyalty-app #member-rewards [hidden] { display: none !important; }
.loyalty-app #member-rewards .member-reward-card { display: grid !important; grid-template-rows: auto auto 5px auto auto; align-content: start; min-height: 0 !important; gap: 11px !important; padding: 10px !important; overflow: hidden; }
.loyalty-app .member-reward-card__photo { display: block; width: calc(100% + 20px); height: 158px; margin: -10px -10px 2px; object-fit: cover; object-position: center 54%; border-radius: 12px 12px 4px 4px; background: #eee9e2; }
.loyalty-app #member-rewards .member-reward-card__identity { align-items: flex-start; }
.loyalty-app #member-rewards .member-reward-card__meter { margin: 0 2px; }
.loyalty-app #member-rewards .member-reward-card__action { margin: 0 2px 2px; }
.loyalty-app .member-reward-category { gap: 9px; }
.loyalty-app .points-accrual { display: grid; max-width: 580px; gap: 12px; margin: 24px auto 0; padding: 20px; border: 1px solid #dbe4df; border-radius: 13px; background: #f6f9f7; }
.loyalty-app .points-accrual__copy h4 { margin: 0 0 4px; font-size: 16px; }
.loyalty-app .points-accrual__copy p { margin: 0; color: #5a625d; font-size: 13px; line-height: 1.45; }
.loyalty-app .points-accrual__amount { max-width: 270px; margin: 0; font-weight: 700; }
.loyalty-app .points-accrual__amount input { width: 100%; min-height: 48px; font-size: 18px; font-variant-numeric: tabular-nums; }
.loyalty-app .points-accrual__preview { padding: 11px 13px; border-radius: 8px; background: #fff; color: #4d5751; font-size: 14px; }
.loyalty-app .points-accrual__preview strong { margin-left: 5px; color: #155e63; font-size: 16px; }
.loyalty-app .points-accrual > .btn { min-height: 48px; margin-top: 5px; }
.loyalty-app .points-redemption-link { display: flex; justify-content: flex-end; margin-top: 16px; }
.loyalty-app .verification-view { padding-bottom: 18px; }
.loyalty-app .verification-kicker { color: #155e63; }
.loyalty-app .verification-intro { max-width: 720px; margin: -4px 0 22px; color: #5a625d; line-height: 1.55; }
.loyalty-app .verification-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: 18px; align-items: stretch; }
.loyalty-app .verification-card, .loyalty-app .verification-guide { margin: 0; padding: clamp(20px, 3vw, 30px); }
.loyalty-app .verification-card { display: flex; flex-direction: column; align-items: flex-start; border-top: 4px solid #155e63; }
.verification-card__heading { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.verification-step { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 50%; background: #e7f1ed; color: #155e63; font-size: 13px; font-weight: 800; }
.verification-card__heading .section-kicker { margin: 0 0 3px; }
.verification-card__heading h3, .verification-guide h3 { margin: 0; }
.loyalty-app .verification-code-field { width: 100%; margin: 0; font-size: 14px; font-weight: 700; }
.loyalty-app .verification-code-field input { min-height: 58px; padding-inline: 16px; border-color: #a9b9b1; border-radius: 9px; font-size: 22px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.verification-help { margin: 8px 0 18px; color: #656d68; font-size: 13px; line-height: 1.45; }
.loyalty-app .verification-submit { min-width: 230px; min-height: 48px; }
.verification-guide { background: #f6f8f6; }
.verification-guide .badge { margin-bottom: 9px; }
.verification-guide ol { display: grid; gap: 12px; margin: 16px 0; padding-left: 20px; color: #444d47; line-height: 1.45; }
.verification-guide > p { margin: 0; color: #66706a; font-size: 13px; line-height: 1.5; }
@media (max-width: 760px) {
  .loyalty-app #member-rewards.member-reward-categories { grid-template-columns: 1fr; }
  .loyalty-app #member-rewards .member-reward-card__photo { height: 185px; }
  .loyalty-app .verification-layout { grid-template-columns: 1fr; gap: 12px; }
  .loyalty-app .verification-submit { width: 100%; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .loyalty-app #member-rewards .member-reward-category:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
  .loyalty-app .member-reward-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding: 0 0 8px; overflow: visible; }
  .loyalty-app .member-reward-tabs [role="tab"] { min-width: 0; justify-content: space-between; padding-inline: 11px; }
  .loyalty-app .points-accrual { margin-top: 18px; padding: 16px; }
  .loyalty-app .points-redemption-link { justify-content: stretch; }
  .loyalty-app .points-redemption-link .btn { width: 100%; }
}
.loyalty-app #p1 .reward-photo-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 8px 14px; min-height: 126px; padding: 12px; text-align: left; }
.loyalty-app #p1 .reward-photo-card > .member-reward-card__photo { grid-row: 1 / 3; width: 112px; height: 100px; margin: 0; border-radius: 8px; }
.loyalty-app #p1 .reward-photo-card > strong { min-width: 0; align-self: end; line-height: 1.25; }
.loyalty-app #p1 .reward-photo-card > p { min-width: 0; align-self: start; margin: 0; }
@media (max-width: 760px) {
  .loyalty-app #p1 .reward-photo-card { grid-template-columns: 88px minmax(0, 1fr); min-height: 104px; gap: 5px 12px; padding: 11px; }
  .loyalty-app #p1 .reward-photo-card > .member-reward-card__photo { width: 88px; height: 80px; }
}
