.tour-funnel {
  --funnel-height: clamp(550px, calc(100svh - var(--funnel-sticky, 88px) - var(--space-24)), 620px);
  --funnel-pad: var(--space-16);
  --funnel-line: color-mix(in srgb, var(--ink) 14%, var(--white));
  --funnel-page: color-mix(in srgb, var(--blue) 3%, var(--white));
  --funnel-tint: color-mix(in srgb, var(--blue) 8%, var(--white));
  --funnel-rail: color-mix(in srgb, var(--blue) 17%, var(--white));
  --funnel-green: color-mix(in srgb, var(--ok) 88%, var(--sea));
  --funnel-pip: color-mix(in srgb, var(--funnel-green) 88%, var(--white));
  --funnel-ok: color-mix(in srgb, var(--funnel-green) 15%, var(--white));
  --funnel-ok-ink: color-mix(in srgb, var(--funnel-green) 62%, var(--ink));
  --funnel-fixed: var(--sea);
  --funnel-fixed-outline: color-mix(in srgb, var(--funnel-fixed) 48%, var(--white));
  --funnel-fixed-ink: color-mix(in srgb, var(--funnel-fixed) 76%, var(--ink));
  --funnel-warm: color-mix(in srgb, var(--sunset) 35%, var(--white));
  --reel-gap: clamp(5px, 1.4cqh, var(--space-8));
  --reel-inset: clamp(8px, 2.6cqh, var(--space-16));
  --reel-label: max(.75rem, 2.35cqh);
  --reel-control-size: 44px;
  --reel-transport-pad: clamp(calc(.75 * var(--space-8)), 1.25cqh, var(--space-8));
  --reel-transport-height: calc(var(--reel-control-size) + 2 * var(--reel-transport-pad) + 1px);
  position: relative;
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr);
  container-type: size;
  height: var(--funnel-height);
  overflow-anchor: none;
  border-color: var(--funnel-line);
  background: var(--funnel-page);
  box-shadow: var(--shadow-3);
  color: var(--ink);
  font: 650 var(--type-13)/1.35 var(--sans);
  font-variant-numeric: tabular-nums;
}

.tour-funnel-bar {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-inline: var(--funnel-pad);
  border-bottom: 1px solid var(--funnel-line);
  background: var(--white);
  font-weight: 850;
}

/* The bar's label is the opener (.demo-opener, 30 Nov): what the viewer is about to see, for the whole reel. */
.tour-funnel-opener { max-width: none; font-weight: 700; }
.tour-funnel-title { padding: var(--funnel-pad); }
.tour-funnel-stage { position: relative; min-width: 0; }
.tour-funnel-stage > * { position: absolute; inset: 0; }
.tour-funnel.is-ready :is(.tour-funnel-bar, .tour-funnel-stage) { cursor: pointer; }
.tour-funnel.is-launched :is(.tour-funnel-film, .tour-funnel-end, .tour-funnel-final) { bottom: var(--reel-transport-height); }
.tour-funnel-final { padding: var(--funnel-pad); }

.tour-funnel-cover {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-16);
  padding: var(--funnel-pad);
  text-align: center;
}

.tour-funnel-cover h3,
.tour-funnel-end h3 {
  font-size: clamp(var(--type-24), 5.3cqh, 2rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.tour-funnel-cover h3 strong { color: var(--blue-dark); }

.tour-funnel-cover-card {
  display: grid;
  justify-items: center;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: clamp(220px, 46cqh, 284px);
  padding: var(--space-8);
  border: 1px solid var(--funnel-line);
  border-radius: var(--radius-16);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.tour-funnel-cover-card > b { color: var(--blue-dark); font-size: var(--type-24); }
.tour-funnel-cover-card > svg { width: 100%; height: 100%; }
#tour-funnel-cover-pips { fill: var(--blue-dark); }
.tour-funnel-cover-shape { fill: var(--funnel-page); }
.tour-funnel-cover-gates { fill: none; stroke: var(--funnel-rail); }
.tour-funnel-cover-result { display: grid; justify-items: center; color: var(--funnel-ok-ink); font-size: var(--type-20); }
.tour-funnel-cover-result svg { width: 34px; height: 12px; fill: var(--funnel-green); }

.tour-funnel-launch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 48px;
  padding: var(--space-8) var(--space-16);
  border: 1px solid var(--blue-dark);
  border-radius: var(--radius-pill);
  background: var(--blue-dark);
  color: var(--white);
  font: 850 var(--type-15)/1.2 var(--sans);
  cursor: pointer;
}

.tour-funnel-launch:hover { border-color: var(--ink); background: var(--ink); }
.tour-funnel-launch span { padding-inline-start: var(--space-8); border-inline-start: 1px solid currentColor; font-size: var(--type-13); }
.tour-funnel-launch svg, .tour-funnel-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour-funnel-film {
  display: grid;
  /* The notes row grows with the frame so each drop-off reads as one large line (30 Nov, user test). */
  grid-template-rows: minmax(0, 1fr) clamp(106px, 22cqh, 128px);
  gap: var(--space-8);
  padding: var(--space-8);
}

.tour-funnel-board { position: relative; isolation: isolate; }
.tour-funnel-opening, .tour-funnel-path, .tour-funnel-track, .tour-funnel-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tour-funnel-question {
  position: absolute;
  inset: 4% var(--space-8) auto;
  font-size: clamp(var(--type-17), 3.5cqh, var(--type-20));
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}
.tour-funnel-question strong { color: var(--blue-dark); }
.tour-funnel-question strong:last-child { color: var(--funnel-ok-ink); }

.tour-funnel-opening-card {
  position: absolute;
  inset: 32% var(--space-8) 0;
  border: 1px solid var(--funnel-line);
  border-radius: var(--radius-16);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.tour-funnel-opening-number, .tour-funnel-purchases {
  position: absolute;
  inset-inline: 0;
  text-align: center;
}
.tour-funnel-opening-number {
  top: 55%;
  transform: translateY(-50%);
  color: var(--blue-dark);
  font-size: clamp(var(--type-56), 18cqw, calc(var(--type-32) * 3));
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.07em;
}
.tour-funnel-purchases {
  top: 81%;
  width: fit-content;
  margin-inline: auto;
  padding: calc(var(--space-8) / 4) var(--space-8);
  border: 1px solid color-mix(in srgb, var(--funnel-green) 45%, var(--white));
  border-radius: var(--radius-pill);
  background: var(--funnel-ok);
  color: var(--funnel-ok-ink);
  font-size: var(--type-15);
}
.tour-funnel-purchases strong { margin-inline-start: 2px; font-size: var(--type-20); font-weight: 900; }

.tour-funnel-path-head {
  position: absolute;
  top: 0;
  inset-inline: var(--space-8);
  min-height: 28px;
  z-index: 1;
}

.tour-funnel-sources, .tour-funnel-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  color: var(--blue-dark);
}

.tour-funnel-sources span, .tour-funnel-key span {
  padding: calc(var(--space-8) * .375) var(--space-8);
  border: 1px solid var(--funnel-line);
  border-radius: var(--radius-pill);
  background: var(--white);
}
.tour-funnel-sources span { flex: 1; text-align: center; }
.tour-funnel-key b { font-size: var(--type-15); font-weight: 850; }
.tour-funnel-key span { display: flex; align-items: center; gap: calc(var(--space-8) * .625); color: var(--text-2); }
.tour-funnel-key i { width: 7px; height: 7px; background: var(--blue-dark); border-radius: 50%; }
.tour-funnel-key .tour-funnel-extra-key { background: var(--funnel-ok); color: var(--funnel-ok-ink); }
.tour-funnel-extra-key i { background: var(--funnel-green); }

.tour-funnel-journey {
  color: var(--blue-dark);
  font-size: var(--type-20);
  font-weight: 850;
  line-height: 1.2;
}

.tour-funnel-rail { fill: var(--funnel-tint); }
.tour-funnel-belt {
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 2;
  stroke-dasharray: 3 5;
  stroke-linecap: round;
}
.tour-funnel-dock { fill: var(--white); stroke: var(--funnel-line); }
.tour-funnel-dock.is-current, .tour-funnel-dock.is-fixed { fill: var(--funnel-tint); stroke: var(--blue-dark); }
.tour-funnel-path.is-replay .tour-funnel-dock.is-fixed { fill: var(--white); stroke: var(--funnel-line); }
.tour-funnel-dock-accent { display: none; stroke: var(--funnel-fixed); stroke-width: 2; stroke-linecap: round; }
.tour-funnel-path.is-replay .is-fixed .tour-funnel-dock-accent { display: inline; }
.tour-funnel-dock.is-leak { fill: var(--funnel-warm); stroke: var(--sunset); }
.tour-funnel-dock.is-result { fill: var(--funnel-ok); stroke: var(--funnel-green); stroke-width: 1.5; }
.tour-funnel-thumb {
  fill: none;
  stroke: color-mix(in srgb, var(--blue-dark) 62%, var(--white));
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tour-funnel-thumb > use:first-child { fill: var(--white); }
:is(.is-current, .is-fixed) .tour-funnel-thumb { stroke: var(--blue-dark); }
.tour-funnel-path.is-replay .is-fixed .tour-funnel-thumb { stroke: var(--funnel-fixed-ink); }
.is-result .tour-funnel-thumb { stroke: var(--funnel-ok-ink); }
.tour-funnel-thumb-after, .is-fixed .tour-funnel-thumb-before { display: none; }
.is-fixed .tour-funnel-thumb-after { display: inline; }

.tour-funnel-pill {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--space-8) / 2);
  width: fit-content;
  padding: 2px calc(var(--space-8) / 2);
  border: 1px solid var(--funnel-fixed-outline);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--funnel-fixed-ink);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.15;
}

.tour-funnel-edit-label svg, .tour-funnel-pill svg, .tour-funnel-gain svg, .tour-funnel-link {
  flex: none;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour-funnel-page-pill {
  position: absolute;
  right: var(--space-8);
  top: var(--pill-top);
  z-index: 1;
  transform: translateY(-50%);
  white-space: nowrap;
}
.tour-funnel-page-pill-experience { --pill-top: 29.25%; }
.tour-funnel-page-pill-payment { --pill-top: 65.75%; }

.tour-funnel-stops {
  position: absolute;
  inset: 9% auto 1% var(--space-8);
  width: 37%;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tour-funnel-stops li {
  display: grid;
  align-content: center;
  justify-items: start;
  line-height: 1.15;
  color: var(--text-2);
  font-weight: 750;
}
.tour-funnel-stops strong {
  min-height: 1.12em;
  color: var(--ink);
  font-size: var(--type-24);
  font-weight: 900;
  letter-spacing: -.03em;
}
.tour-funnel-stops .is-current > span, .tour-funnel-stops .is-current strong { color: var(--blue-dark); }
.tour-funnel-stops :is(.is-result, .has-gain) strong,
.tour-funnel-stops .is-result > span { color: var(--funnel-ok-ink); }
.tour-funnel-count { display: flex; align-items: center; gap: calc(var(--space-8) / 2); }
.tour-funnel-stops .has-gain .tour-funnel-count {
  padding-inline: calc(var(--space-8) * .5);
  border-radius: var(--radius-8);
  background: var(--funnel-ok);
}
.tour-funnel-gain {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border: 1px solid color-mix(in srgb, var(--funnel-green) 44%, var(--white));
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--funnel-ok-ink);
  font-size: .75rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}
.tour-funnel-link { color: var(--funnel-fixed); }
.tour-funnel-replay-link { vector-effect: non-scaling-stroke; }
.tour-funnel-path.is-preview .tour-funnel-stops strong { display: none; }
.tour-funnel-path.is-preview .tour-funnel-stops .is-current span { font-weight: 900; }

.tour-funnel-dots { pointer-events: none; }
.tour-funnel-lens, .tour-funnel-payment-lens {
  position: absolute;
  width: clamp(37px, 15%, 54px);
  aspect-ratio: 1;
  transform: translate(-41%, -41%);
  overflow: visible;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px var(--white));
}
.tour-funnel-lens.is-leak { stroke: var(--ink); }
.tour-funnel-payment-lens { left: 64%; top: 72%; }

.tour-funnel-notes { position: relative; }
.tour-funnel-notes > * {
  height: 100%;
  padding: var(--space-8) var(--space-16);
  border: 1px solid var(--funnel-line);
  border-radius: var(--radius-8);
  background: var(--white);
}
.tour-funnel-notes :is(.tour-funnel-reason, .tour-funnel-analysis, .tour-funnel-patches, .tour-funnel-payoff) {
  display: grid;
  gap: calc(var(--space-8) / 2);
  align-content: center;
}
.tour-funnel-notes ul { display: grid; gap: calc(var(--space-8) / 4); margin: 0; padding: 0; list-style: none; }
.tour-funnel-notes li { display: flex; align-items: center; gap: calc(var(--space-8) * .75); line-height: 1.2; }
.tour-funnel-notes li svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
/* Words pop in one by one, like the home hero reel's insight (.hr-word). */
.tour-funnel-word { display: inline-block; }

/* Insight lines (30 Nov, user test: the small drop-off cards went unnoticed): large and bold like .hr-insight,
   the figure highlighted with a wipe. A loss sits on the sunset side (fill with ink text), never red. */
.tour-funnel-insight {
  color: var(--ink);
  font-size: clamp(var(--type-20), 3.9cqh, var(--type-24));
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.tour-funnel-insight strong {
  padding-inline: .13em;
  border-radius: var(--radius-8);
  background: linear-gradient(var(--funnel-warm), var(--funnel-warm)) left center / var(--mark, 100%) 100% no-repeat;
  color: var(--ink);
  font-weight: 900;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.tour-funnel-reason, .tour-funnel-analysis { border-inline-start: 3px solid var(--sunset); border-radius: 0 var(--radius-8) var(--radius-8) 0; }
.tour-funnel-reason ul { color: var(--text-2); font-size: var(--type-15); font-weight: 750; }
.tour-funnel-reason li svg { color: color-mix(in srgb, var(--sunset) 70%, var(--ink)); }

.tour-funnel-analysis > p, .tour-funnel-patches > p { color: var(--text-2); font-size: var(--type-15); font-weight: 750; line-height: 1.25; }
.tour-funnel-analysis .tour-funnel-secondary { font-size: clamp(var(--type-17), 3.2cqh, var(--type-20)); }
.tour-funnel-patches { border-inline-start: 3px solid var(--blue-dark); border-radius: 0 var(--radius-8) var(--radius-8) 0; }
.tour-funnel-notes .tour-funnel-patches ul { gap: calc(var(--space-8) / 2); }
.tour-funnel-patches li {
  width: fit-content;
  padding: calc(var(--space-8) / 4) var(--space-8);
  border-radius: var(--radius-8);
  background: var(--funnel-tint);
  color: var(--blue-dark);
  font-size: var(--type-15);
  font-weight: 850;
}
.tour-funnel-notes .tour-funnel-payoff {
  border-inline-start: 3px solid var(--funnel-green);
  border-radius: 0 var(--radius-8) var(--radius-8) 0;
  background: var(--funnel-ok);
}
.tour-funnel-payoff strong {
  color: var(--funnel-ok-ink);
  font-size: clamp(var(--type-24), 5.4cqh, var(--type-32));
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.tour-funnel-payoff > span { color: var(--ink); font-size: var(--type-17); font-weight: 800; line-height: 1.2; }

.tour-funnel-caption {
  display: grid;
  align-content: center;
  color: var(--ink);
  font-size: var(--type-15);
  font-weight: 800;
  line-height: 1.3;
}
/* The narration between the insights: bigger and bolder, its one figure coloured (30 Nov). */
.tour-funnel-notes .tour-funnel-caption {
  font-size: clamp(var(--type-17), 3.5cqh, var(--type-20));
  line-height: 1.22;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
.tour-funnel-notes .tour-funnel-caption strong { color: var(--blue-dark); font-weight: 900; }
.tour-funnel-notes .tour-funnel-caption .is-loss {
  padding-inline: .13em;
  border-radius: var(--radius-8);
  background: var(--funnel-warm);
  color: var(--ink);
}

.tour-funnel-end {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-16);
  padding: var(--funnel-pad);
}
.tour-funnel-end h3 { max-width: 16ch; }
.tour-funnel-end h3 em { color: var(--funnel-ok-ink); }
.tour-funnel-end .tour-funnel-caption { gap: calc(var(--space-8) / 2); padding-block-start: var(--space-8); border-top: 1px solid var(--funnel-line); }
.tour-funnel-end .tour-funnel-caption strong { color: var(--funnel-ok-ink); }
.tour-funnel-end .tour-funnel-caption p { color: var(--text-2); font-size: var(--type-13); font-weight: 650; }

.tour-funnel-recap {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  line-height: 1.2;
}
.tour-funnel-recap caption { padding-block-end: var(--space-8); text-align: left; }
.tour-funnel-recap caption > * { vertical-align: middle; }
.tour-funnel-recap th, .tour-funnel-recap td { text-align: right; }
.tour-funnel-recap thead th { padding: 0 calc(var(--space-8) / 2) var(--space-8); color: var(--text-2); }
.tour-funnel-recap tbody tr { background: var(--white); }
.tour-funnel-recap tbody :is(th, td) {
  height: 44px;
  padding: calc(var(--space-8) * .75) calc(var(--space-8) / 2);
  border-top: 1px solid var(--funnel-line);
}
.tour-funnel-recap tbody th { position: relative; padding-inline-start: var(--space-8); text-align: left; font-weight: 850; }
.tour-funnel-recap tbody .tour-funnel-pill { display: flex; margin-top: calc(var(--space-8) / 2); white-space: nowrap; }
.tour-funnel-recap tbody td { position: relative; color: var(--muted); white-space: nowrap; }
.tour-funnel-recap tbody td:last-child {
  padding-inline: calc(var(--space-8) * 1.5) var(--space-8);
  color: var(--ink);
  font-size: var(--type-17);
  font-weight: 900;
}
.tour-funnel-recap tbody tr:first-child th { border-top-left-radius: var(--radius-8); }
.tour-funnel-recap tbody tr:first-child td:last-child { border-top-right-radius: var(--radius-8); }
.tour-funnel-recap-fixed::before {
  content: "";
  position: absolute;
  inset: var(--space-8) auto var(--space-8) 0;
  width: 2px;
  border-radius: var(--radius-pill);
  background: var(--funnel-fixed);
}
.tour-funnel-edit-label { display: flex; align-items: center; gap: calc(var(--space-8) / 2); }
.tour-funnel-edit-label svg { color: var(--funnel-fixed-ink); }
.tour-funnel-recap .tour-funnel-link {
  position: absolute;
  right: -38px;
  top: calc(100% - 11px);
  z-index: 1;
  width: 60px;
  height: 54px;
  pointer-events: none;
}
.tour-funnel-recap tbody td:nth-of-type(1), .tour-funnel-recap thead th:nth-child(2) { padding-inline-end: 16px; }
.tour-funnel-recap .tour-funnel-count { justify-content: flex-end; }
.tour-funnel-recap tbody :is(.tour-funnel-recap-gain, .tour-funnel-recap-carried):last-child { color: var(--funnel-ok-ink); }
.tour-funnel-recap-gain { background: var(--funnel-ok); }
.tour-funnel-recap tbody .tour-funnel-recap-result th {
  border-radius: 0 0 0 var(--radius-8);
  color: var(--funnel-ok-ink);
  font-weight: 900;
}
.tour-funnel-recap tbody .tour-funnel-recap-result td:last-child {
  border-radius: 0 0 var(--radius-8) 0;
  background: color-mix(in srgb, var(--funnel-green) 22%, var(--white));
  box-shadow: inset 0 -2px var(--funnel-green);
  font-size: var(--type-24);
}

/* Omnichannel playback controls. */
.tour-funnel-controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: var(--reel-gap);
  padding: var(--reel-transport-pad) var(--reel-inset);
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}

.tour-funnel-toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--reel-control-size);
  height: var(--reel-control-size);
  padding: 0;
  border: 0;
  border-radius: var(--radius-8);
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
}

.tour-funnel-toggle:hover { background: var(--blue-soft); }

.tour-funnel-seek {
  appearance: none;
  flex: 1;
  min-width: 0;
  height: var(--reel-control-size);
  margin: 0;
  border-radius: var(--radius-8);
  background: linear-gradient(to right, var(--blue-dark) var(--progress, 0%), var(--muted) var(--progress, 0%)) center / 100% 3px no-repeat;
  cursor: pointer;
}

.tour-funnel-seek::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--blue-dark);
  border-radius: 50%;
  background: var(--white);
}

.tour-funnel-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue-dark);
  border-radius: 50%;
  background: var(--white);
}

.tour-funnel-time {
  flex: 0 0 12ch;
  color: var(--muted);
  font-size: min(var(--type-13), var(--reel-label));
  letter-spacing: 0;
  text-align: end;
}

.tour-funnel :is(button, input):focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 2px; }

/* Phones (30 Nov fix): the end table fits the reel at 390, so the «Dopo» column is never clipped. */
@media (max-width: 429px) {
  .tour-funnel-recap tbody td:last-child { padding-inline: var(--space-8) calc(var(--space-8) * .75); }
  .tour-funnel-recap .tour-funnel-count { flex-direction: column; align-items: flex-end; gap: 0; }
}

@media (max-width: 359px) {
  .tour-funnel-end { gap: var(--space-8); padding: var(--space-8); }
  .tour-funnel-end h3 { font-size: var(--type-24); }
  .tour-funnel-recap tbody :is(th, td) { height: 40px; padding-block: calc(var(--space-8) / 2); }
  .tour-funnel-recap tbody td:last-child { padding-inline: var(--space-8) calc(var(--space-8) * .75); }
  .tour-funnel-recap .tour-funnel-count { flex-direction: column; align-items: flex-end; gap: 0; }
  .tour-funnel-stops { width: 40%; }
  .tour-funnel-path.is-replay .tour-funnel-stops li > span { font-size: .75rem; white-space: nowrap; }
  .tour-funnel-page-pill { top: calc(var(--pill-top) - 3px); }
}

/* Short frames (375×667 phones, 30 Nov fit pass): the end table, its title and its caption fit above the controls. */
@container (max-height: 590px) {
  .tour-funnel-end { gap: var(--space-8); padding-block: var(--space-8); }
  .tour-funnel-end h3 { font-size: var(--type-24); }
  .tour-funnel-recap caption { padding-block-end: calc(var(--space-8) / 2); }
  .tour-funnel-recap thead th { padding-block-end: calc(var(--space-8) / 2); }
  .tour-funnel-recap tbody :is(th, td) { height: 38px; padding-block: calc(var(--space-8) / 2); }
  .tour-funnel-end .tour-funnel-caption { padding-block-start: calc(var(--space-8) / 2); }
}
