/* ==========================================================================
   TripLead traveller styles (handle: triplead-traveller, depends on triplead-core)
   Loads on the traveller form (/post/), the destination funnel pages (/plan/{slug}/, section C)
   and the tracker (/t/{token}/, not found), plus the utility pages that reuse its slim chrome.
   Tokens come from :root in triplead.css. The two rules the form depends on ([hidden]
   and the honeypot) live in triplead.css so they can never go missing.

   Scopes:
   - .tl-tf-page   the form page. It sits inside Astra's header/footer and container, so
                   it resets lists, margins, buttons and inputs itself.
   - .tl-tracker   tracker and not-found, inside the .tl-slim.tl-traveller layout, which
                   already resets them (triplead.css section 4).
   No !important in this file.

   Breakpoints: form 1025px (desktop / tablet photo), 900px (step padding), 768px (phone: photo band,
   flat step on white, pinned Next), 600px (field pairs stack). BRIEF-23.
   Tracker 1000px (side cards drop below), 700px (mobile tracker).
   ========================================================================== */

/* ---- 0. Icon masks: --tl-i-alert is in triplead.css 3e; --tl-i-plane went with the old hero panel (BRIEF-23). */

/* ==========================================================================
   A. Traveller form (/post/)
   ========================================================================== */

/* ---- A1. Page frame ------------------------------------------------------- */
body.tl-traveller-form-body { background-color: var(--tl-wash); }
/* Since decision #17 /post/ sits in the slim TripLead header/footer: the slim main is a
   centred flex box, so the form wrapper fills it. */
.tl-app.tl-app--wide.tl-post-plan {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: var(--tl-font);
	color: var(--tl-body);
}

/* Decision #56 (2 Oct, BRIEF-post-wizard-refresh §1, Option D): ONE centred card, about 860px,
   nothing beside it at any width (the trust and tips rails and the per-step tip are gone from
   the markup, and their rules from this file). Markup: div.tl-tf-page.tl-tf-page--onecard
   [.tl-tf-page--hero] > div.tl-tf-main > form.tl-tf (the card). One column, capped at
   --tl-tf-card-w and centred inside the slim main (the 1248 frame); narrower than 860 + the
   gutters it fills the main as before, so tablets and phones (#47) keep their form width. */
.tl-tf-page {
	--tl-tf-card-w: 860px;
	display: grid;
	grid-template-columns: minmax(0, var(--tl-tf-card-w));
	justify-content: center;
	align-items: start;
	margin: 0 auto;
	padding: 32px 0 72px;
}
.tl-tf-page *,
.tl-tf-page *::before,
.tl-tf-page *::after { box-sizing: border-box; }
.tl-tf-page p { margin: 0; }
.tl-tf-page ul,
.tl-tf-page ol { margin: 0; padding: 0; list-style: none; }
.tl-tf-page :is(h1, h2, h3) { margin: 0; clear: none; font-family: inherit; }
.tl-tf-page fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tl-tf-page legend { padding: 0; }
.tl-tf-page .tl-icon { width: 20px; height: 20px; }

/* ---- A2. Photo (BRIEF-23): full-bleed on desktop and tablet, a short band on phones ------
   Markup (core-dev, includes/post-hero.php): div.tl-post-hero[aria-hidden] is the first child
   of main.tl-traveller-main--post, before #tl-post-plan, carrying the home hero's inline vars
   (--tl-hero-desktop|tablet|mobile, --tl-hero-pos-desktop|tablet|mobile) and optionally
   --tl-post-hero-pos ("x y", the per-hero /post focal point, Daniel #8). body.tl-post-has-hero
   and .tl-tf-page--hero only when it is printed.
   - 0.22.3 (Daniel): the photo itself is the HOMEPAGE hero's engine, triplead.css 3g (shared
     selectors, not copies): library image per breakpoint, the desktop cap at the source width
     with the edge fade into the page background, fixed scale, crop never stretch, the "none"
     sky, the wide-crop band on phones, and the crossfade layer. 0.22.24: NOT home's white
     scrim: /post/ is full colour with a bottom fade only (below), whatever data-overlay says. This file only sizes and places the box, and feeds 3g
     what home's JS measures (below). The card is opaque white.
   - The image comes only from the inline var: no CSS default, so a prefilled draft paints its
     own photo first (acceptance 1).
   - The photo box never depends on the step: same height and focal point on S1-S6.
   - The main is a block, not the slim layout's centring flex row, so the photo can be
     full-bleed: it cancels the main's side gutter with negative margins (no 100vw, which
     would scroll sideways by the scrollbar width). */
.tl-slim.tl-traveller .tl-traveller-main:is(.tl-traveller-main--post, .tl-traveller-main--funnel) {
	--tl-post-gutter: 24px;
	display: block;
	padding: 0 var(--tl-post-gutter);
}
body.tl-post-has-hero .tl-traveller-main--post,
.tl-traveller-main--funnel { --tl-post-hero-h: clamp(280px, 36vh, 360px); }
:is(.tl-traveller-main--post, .tl-traveller-main--funnel) > .tl-post-hero {
	position: relative; /* the crossfade layer's box; hero-context.js falls back to an instant swap without it */
	display: block;
	height: var(--tl-post-hero-h, 320px);
	margin: 0 calc(-1 * var(--tl-post-gutter, 24px));
	background-color: var(--tl-teal-soft); /* while the photo loads (3g sets the page background from 1025) */
	/* 3g's inputs. h0 = the fixed photo height (home measures its hero's form-mode height).
	   The width (--tl-hero-w) is written inline by hero-context.js, as on home. Focus: the
	   per-hero /post vertical focus (Daniel #8) inside 3g's cap and crop: y on desktop, x y on
	   tablet; unset (not printed) = home's own position. */
	/* The edge fade (3g) goes into the page background: /post/'s is the wash, not white. */
	--tl-page-bg: var(--tl-wash);
	--tl-hero-h0: var(--tl-post-hero-h, 320px);
	--tl-hero-focus-y: var(--tl-post-hero-y);
	--tl-hero-focus: var(--tl-post-hero-pos);
	/* The bottom fade's height (0.22.24, below). */
	--tl-post-hero-fade: 100px;
}
/* Full colour, bottom fade only (0.22.24, Daniel 2 Oct). Home's white scrim (3g's data-overlay
   strengths + ::after) no longer applies here; this ::after replaces it on tablet and desktop:
   clear photo, then the last --tl-post-hero-fade eases into the page background (the wash, the
   hero's --tl-page-bg), so the photo's bottom edge never shows as a line where the gutters
   meet the page. ::after follows the crossfade layer (.tl-hero-layer, the first child)
   in paint order at the same z-index 0, so a swap fades in under the same fade: the incoming
   photo is full colour with the same bottom edge. No text sits on the photo (the card is
   opaque white), so no scrim is needed for contrast. Phones: no ::after (A12, band). */
@media (min-width: 768px) {
	:is(.tl-traveller-main--post, .tl-traveller-main--funnel) > .tl-post-hero::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 0;
		pointer-events: none;
		background: linear-gradient(180deg, transparent calc(100% - var(--tl-post-hero-fade)), var(--tl-page-bg) 100%);
		/* Eased: half strength at 55% of the way down, so the ramp has no visible start line. */
		background: linear-gradient(180deg,
			transparent calc(100% - var(--tl-post-hero-fade)),
			color-mix(in srgb, var(--tl-page-bg) 18%, transparent) calc(100% - var(--tl-post-hero-fade) * 0.7),
			color-mix(in srgb, var(--tl-page-bg) 55%, transparent) calc(100% - var(--tl-post-hero-fade) * 0.4),
			var(--tl-page-bg) 100%);
	}
}

/* The card overlaps the photo: its lower third, plus --tl-post-hero-lift (0.22.3, Daniel:
   150px more), but always leaving at least 40px of photo under the header (short windows,
   where the photo is only 220-260px tall).
   position:relative (no z-index, so no stacking context: the destination list's z-index still
   works) paints it above the positioned photo, which comes earlier in the tree. The card is an
   opaque white panel, so nothing needs a scrim; only the photo is ever covered. */
.tl-traveller-main:is(.tl-traveller-main--post, .tl-traveller-main--funnel) { --tl-post-hero-lift: 150px; }
.tl-tf-page.tl-tf-page--hero {
	position: relative;
	margin-top: calc(-1 * min(var(--tl-post-hero-h, 0px) / 3 + var(--tl-post-hero-lift, 0px), var(--tl-post-hero-h, 0px) - 40px));
	padding-top: 0;
}

/* Crossfade layer: triplead.css 3g (home's M5x rules, shared). */

/* ---- A3. Form card, progress header host ------------------------------------ */
.tl-tf-page .tl-tf-main { min-width: 0; }
.tl-tf-page .tl-tf {
	background: var(--tl-white);
	border: 1px solid var(--tl-line);
	border-radius: 20px;
	box-shadow: var(--tl-shadow-card);
}
/* Progress header host (29 Sep): div.tl-tf-progress holds the shared header (triplead.css 3d).
   Same side padding as the steps (48px, 16px under 900px) so the title, bar and question
   line up; the bar is the divider now, so no border. Bar to question = the step's 32px
   (24px under 900px) top padding. */
.tl-tf-page .tl-tf-progress { padding: 24px 48px 0; }

/* Alert and saved-draft notices (above the step). */
.tl-tf-page .tl-tf-alert,
.tl-tf-page .tl-tf-draft {
	margin: 24px 48px 0;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.5;
}
.tl-tf-page .tl-tf-alert { background: var(--tl-danger-soft); color: var(--tl-danger); font-weight: 600; }
.tl-tf-page .tl-tf-draft {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	background: var(--tl-teal-soft);
	color: var(--tl-navy);
}

/* ---- A4. Steps ---------------------------------------------------------------- */
.tl-tf-page .tl-tf-step { padding: 32px 48px 32px; }
/* Without JS all six steps show as one long form: separate them. */
.tl-tf-page .tl-tf:not(.tl-js) .tl-tf-step + .tl-tf-step { border-top: 1px solid var(--tl-line); }
.tl-tf-page .tl-tf-step-head { margin-bottom: 8px; }
/* The step question (an h3 since 29 Sep, under the progress header's compact h2 label)
   stays the card's big heading, as in the locked mocks. */
.tl-tf-page .tl-tf-step-title {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--tl-navy);
}
.tl-tf-page .tl-tf-step-sub { margin-top: 8px; font-size: 18px; line-height: 1.5; color: var(--tl-body); }
.tl-tf-page .tl-tf-step-body > * + * { margin-top: 24px; }
.tl-tf-page .tl-tf-step-body { margin-top: 20px; }

/* Notes and disclaimers. */
.tl-tf-page .tl-tf-note {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--tl-wash);
	font-size: 15px;
	line-height: 1.5;
	color: var(--tl-body);
}
.tl-tf-page .tl-tf-note .tl-icon { width: 24px; height: 24px; color: var(--tl-teal); }
.tl-tf-page .tl-tf-disclaimer { font-size: 13.5px; line-height: 1.5; color: var(--tl-mute); }
.tl-tf-page .tl-tf-cond > * + * { margin-top: 16px; }

/* ---- A5. Fields ----------------------------------------------------------------- */
.tl-tf-page .tl-field,
.tl-tf-page .tl-fieldset { min-width: 0; }
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-label {
	display: block;
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--tl-navy);
}
/* .tl-req (the red required asterisk) is shared with the homepage and the agent app: triplead.css 3c (0.20.2). */
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-optional { font-weight: 400; color: var(--tl-mute); }
:is(.tl-tf-page, .tl-extras) .tl-help { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--tl-mute); }
/* .tl-field-head (label row) is shared with the homepage: triplead.css 3c (0.18.9). */
.tl-tf-page .tl-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; align-items: start; }
.tl-tf-page .tl-field-row--dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; }

/* Inputs, selects, textareas: the field skin (box, placeholder, hover, focus, datalist
   arrow, icon wrap, error border) is shared with the homepage mini-form and lives in
   triplead.css section 3b (0.18.7). Only the S1-specific pieces stay here. */
/* Select chevron drawn with two gradients so it can use tokens. */
.tl-tf-page .tl-select {
	padding-right: 40px;
	-webkit-appearance: none;
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--tl-mute) 50%),
		linear-gradient(135deg, var(--tl-mute) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	cursor: pointer;
}
.tl-tf-page .tl-input--date { padding-right: 10px; }
.tl-tf-page .tl-input-wrap--prefix .tl-input-prefix {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: var(--tl-control-h);
	border-right: 1px solid var(--tl-line);
	color: var(--tl-body);
	font-weight: 600;
}
.tl-tf-page .tl-input-wrap--prefix .tl-input { padding-left: 52px; }

/* The error message (.tl-field-error) is shared with the homepage since BRIEF-21: triplead.css 3e;
   the red field border is 3b. (The soft .tl-field-warning went with decision #75 2b: no markup.) */

/* Slice 19a: "Please confirm" on a value the AI wasn't sure of (server-draft mode only;
   traveller-form.js puts it under the control, before the error slot):
     .tl-field.is-tentative > p.tl-tentative > span.tl-tentative__label + button.tl-tentative__confirm
   Clear, not alarming: a soft amber panel with navy text (13.9:1 on amber-soft) and an
   amber dot (decorative, the words carry it), and an outlined Confirm (teal-hover on
   white 6.3:1, 44px tall). Not the danger colour: nothing is wrong yet. */
.tl-tf-page .tl-tentative {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
	margin: 8px 0 0;
	padding: 4px 4px 4px 12px;
	border-radius: var(--tl-radius-control);
	background: var(--tl-amber-soft);
	color: var(--tl-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}
.tl-tf-page .tl-tentative__label { position: relative; padding-left: 18px; }
.tl-tf-page .tl-tentative__label::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--tl-amber);
}
.tl-tf-page .tl-tentative__confirm {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 96px;
	min-height: 44px;
	margin: 0 0 0 auto;
	padding: 0 16px;
	border: 1.5px solid var(--tl-teal);
	border-radius: var(--tl-radius-btn);
	background: var(--tl-white);
	box-shadow: none;
	color: var(--tl-teal-hover);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.tl-tf-page .tl-tentative__confirm:is(:hover, :focus, :active) { border-color: var(--tl-teal); background: var(--tl-teal-soft); color: var(--tl-teal-hover); }

/* Counter (adults / children). Without JS it is a plain number input. */
.tl-tf-page .tl-counter {
	display: flex;
	align-items: stretch;
	max-width: 220px;
	height: var(--tl-control-h);
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	background: var(--tl-white);
	overflow: hidden;
}
.tl-tf-page .tl-counter:focus-within { border-color: var(--tl-teal); box-shadow: var(--tl-focus-ring); }
.tl-tf-page .tl-counter-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--tl-white);
	box-shadow: none;
	color: var(--tl-navy);
	cursor: pointer;
}
.tl-tf-page .tl-counter-btn:hover,
.tl-tf-page .tl-counter-btn:focus { background: var(--tl-wash); color: var(--tl-teal-hover); }
.tl-tf-page .tl-counter-btn:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
.tl-tf-page .tl-counter-btn--dec { border-right: 1px solid var(--tl-line); }
.tl-tf-page .tl-counter-btn--inc { border-left: 1px solid var(--tl-line); }
.tl-tf-page .tl-counter .tl-counter-input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}
.tl-tf-page .tl-counter .tl-counter-input:focus { box-shadow: none; }
.tl-tf-page .tl-counter-input::-webkit-inner-spin-button,
.tl-tf-page .tl-counter-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Child ages. */
.tl-tf-page .tl-child-ages { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px 24px; }
.tl-tf-page .tl-child-ages:empty { display: none; }
.tl-tf-page .tl-field--child-ages > * + * { margin-top: 12px; }
/* With no children the box holds only hidden or empty things (the empty ages grid, the hidden error,
   the hidden "Add another child", the <template>), but it still took the step body's 24px gap: 48px
   instead of 24 above "When are you thinking?" (ux-review, 17 Oct). Out of the flow until a child age
   field, an error or the button shows. */
.tl-tf-page .tl-field--child-ages:not(:has(.tl-field--child-age, .tl-field-error:not([hidden]), .tl-add-child:not([hidden]))) { display: none; }
.tl-tf-page .tl-add-child { min-height: var(--tl-control-h); padding: 0 18px; font-size: 15px; }

/* Nights. */
.tl-tf-page .tl-nights {
	display: flex;
	align-items: center;
	min-height: var(--tl-control-h);
	font-size: 17px;
	font-weight: 700;
	color: var(--tl-navy);
	white-space: nowrap;
}
.tl-tf-page .tl-nights:empty { display: none; }

/* Phone. */
.tl-tf-page .tl-phone { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }

/* Checkbox rows (flexible dates, consent, the destination tick box): the row itself is
   shared with the homepage since BRIEF-21 (triplead.css 3e, with its new focus ring). */
.tl-tf-page .tl-field--consent { padding: 16px 18px; border-radius: 12px; background: var(--tl-wash); }
.tl-tf-page .tl-field--consent.has-error { box-shadow: inset 0 0 0 1px var(--tl-danger); }

/* "What happens next" (BRIEF-what-happens-next §1, §2, §4; mock Images/what-happens-next-mockup.png
   panels 1-2; markup includes/what-happens-next.php, the form's last step, after Mobile, right above the
   consent box). div.tl-whn > h4.tl-whn__title + ol.tl-whn__steps > li.tl-whn__step > span.tl-whn__num
   + span.tl-whn__body > span.tl-whn__text (+ span.tl-whn__note) + p.tl-whn__close. Information, not a
   warning: the consent box's frame (wash, 12px radius, 16 / 18 padding, 24px step rhythm) with a 1px
   teal edge, teal circles with white digits (5.0:1), navy text. The note is body, not mute (mute on wash
   is 4.28:1). The closing line is teal-hover 600 (5.9:1 on wash) under a line rule. Full width at every
   width (a flex item of the step body, 100%). Astra's h4 / ol / li / p margins and list markers reset. */
.tl-tf-page .tl-whn { padding: 16px 18px; border: 1px solid var(--tl-teal); border-radius: 12px; background: var(--tl-wash); color: var(--tl-navy); }
.tl-tf-page .tl-whn__title { margin: 0 0 12px; padding: 0; color: var(--tl-navy); font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: normal; text-transform: none; }
.tl-tf-page .tl-whn__steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tl-tf-page .tl-whn__step { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; margin: 0; padding: 0; list-style: none; }
.tl-tf-page .tl-whn__step::marker { content: none; }
/* The circle is centred on the first text line (15 x 1.45 = 21.75px). */
.tl-tf-page .tl-whn__num { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; background: var(--tl-teal); color: var(--tl-white); font-size: 13px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.tl-tf-page .tl-whn__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-tf-page .tl-whn__text { color: var(--tl-navy); font-size: 15px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.tl-tf-page .tl-whn__note { color: var(--tl-body); font-size: 13.5px; line-height: 1.5; }
.tl-tf-page .tl-whn__close { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--tl-line); color: var(--tl-teal-hover); font-size: 15px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }

.tl-tf-page .tl-link { color: var(--tl-teal-hover); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tl-tf-page .tl-link:hover { color: var(--tl-navy); }

/* ---- A6. Options ---------------------------------------------------------------- */
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-options { display: flex; flex-wrap: wrap; gap: 10px; }
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-option { position: relative; cursor: pointer; }
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-option-input { accent-color: var(--tl-teal); }

/* Chips: the input is visually hidden; the label is the control. Shared with /plan/{slug}/ and the
   after-posting extras page (.tl-extras, decision #75 step 3: same chip, same look). */
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-options--chips .tl-option-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-option--chips {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--tl-line);
	border-radius: var(--tl-radius-pill);
	background: var(--tl-wash);
	color: var(--tl-body);
	font-size: 15px;
	font-weight: 500;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-option--chips:hover { border-color: var(--tl-teal-bright); color: var(--tl-navy); }
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-option--chips:is(.is-checked, :has(.tl-option-input:checked)) {
	border-color: var(--tl-teal);
	background: var(--tl-teal-soft);
	color: var(--tl-teal-hover);
	font-weight: 700;
}
:is(.tl-tf-page, .tl-funnel-form, .tl-extras) .tl-option:has(.tl-option-input:focus-visible) { outline: 2px solid var(--tl-teal); outline-offset: 2px; }

/* ---- A6b. Cruise chips (Trello 52; mocks Images/cruise-region-filter-mockup.png, cruise-funnel-full-flow-mockup.png)
     /plan/cruise/: fieldset.tl-funnel-kind > div.tl-funnel-kind__chips > label.tl-funnel-chip--kind (C5c)
     /post/: div.tl-tf-cond--cruise-{kind|start|cabin} > fieldset.tl-fieldset--cruise-{…} >
       div.tl-options.tl-options--chips.tl-options--cruise > label.tl-option--chips (A6c)
     > input.tl-option-input + span.tl-option-label (+ span.tl-option-sub, e.g. "Europe, Asia")
   The chips ARE A6's chips (wash fill, line border, pill, 44px floor, 15px/500, chosen = teal-soft +
   teal border + 700, hover, focus ring). Only the inside differs, the same on both pages: the label
   and the sub-line stacked and centred in an equal grid cell (triplead.css 7k's trip length chips:
   8px sides so the longest label fits a 2-column cell at 320), 6px top and bottom so a two-line chip
   breathes; the row takes its tallest chip, so a one-line "Not sure" next to a two-line chip matches
   its height (the mock). The sub-line: 13px (the text size floor) / 400 / 1.3 in the chip's own
   colour, so it follows rest / hover / chosen with the label. Not --tl-mute: mute on the wash is
   4.3:1 and on teal-soft lower; the chip colours are 4.5:1+ on both. */
:is(.tl-tf-page, .tl-funnel-form) :is(.tl-options--cruise, .tl-funnel-kind__chips) .tl-option--chips {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 6px 8px;
	text-align: center;
}
:is(.tl-tf-page, .tl-funnel-form) :is(.tl-options--cruise, .tl-funnel-kind__chips) :is(.tl-option-label, .tl-option-sub) { max-width: 100%; line-height: 1.3; }
:is(.tl-tf-page, .tl-funnel-form) .tl-option-sub { display: block; font-size: 13px; font-weight: 400; }

/* ---- A6c. The wizard's cruise groups: equal columns, as 7k's trip length chips (triplead.css) ----
   10px gaps both ways. Kind (4 chips): 2 columns at every width (the mock's 2 x 2). Start (3) and
   cabin (5): 2 columns on phones, 3 from 768 (7k's breakpoint and its 3-up desktop row). The mock
   draws 3 on a phone, but a 3-column cell is 71px inside at 320 and 85 at 360: "Australian port"
   (111px at 700) and "Ocean view" (90) would wrap, so phones take 7k's 2 columns (existing pattern
   wins, flagged to Daniel). */
.tl-tf-page :is(.tl-fieldset--cruise-kind, .tl-fieldset--cruise-start, .tl-fieldset--cruise-cabin) .tl-options--cruise {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
@media (min-width: 768px) {
	.tl-tf-page :is(.tl-fieldset--cruise-start, .tl-fieldset--cruise-cabin) .tl-options--cruise { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Under 360 the kind chips stack, here and on /plan/cruise/ (C5c): at 320 a 2-column cell is 121px
   inside and "Antarctica, Galápagos" / "big ships, many ports" need 138 / 130 at the 13px floor, so
   the sub-lines broke into three-line ovals. One column keeps every line on one line (card 52
   check 7). From 360 the cell is 141 inside: 2 x 2 as the mock. */
@media (max-width: 359px) {
	.tl-tf-page .tl-fieldset--cruise-kind .tl-options--cruise { grid-template-columns: minmax(0, 1fr); }
}

/* (2 Oct, decision #57) The boxed radio variant (S3 "Flights needed?") is gone with its
   field; flights are the budget step's tick box. The contact form's "I'm a..." keeps its own
   boxed look in pages.css. */
.tl-tf-page .tl-options--inline .tl-option-input,
.tl-tf-page .tl-options--grid .tl-option-input { width: 20px; height: 20px; margin: 0; flex: none; }

/* Inline radios (budget type, firmness) and the checkbox grid (budget includes). */
.tl-tf-page .tl-options--inline { gap: 4px 28px; }
.tl-tf-page :is(.tl-options--inline, .tl-options--grid) .tl-option {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	color: var(--tl-navy);
	font-size: 15px;
}
.tl-tf-page .tl-options--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; }

/* Timing row (decision #75 2b, Images/form-short-mockup.png): "When are you thinking?" as ONE
   bordered row of three equal cells, the chosen one tinted.
     fieldset.tl-fieldset--timing > div.tl-options.tl-options--segmented >
       label.tl-option.tl-option--segment[.is-checked] > input.tl-option-input + span.tl-option-title
   The radio is visually hidden but stays in the tab order (arrow keys move the choice); the
   focused cell gets A6's 2px teal outline, lifted over its neighbours. The row is the field's
   box: the field skin's line border, white, 48px (--tl-control-h, a 44px+ target), 10px radius
   (8px on phones), like the inputs and the counters. Chosen = the chip's chosen look (teal-soft,
   teal-hover text 6.1:1) plus a 1.5px inset teal ring so it doesn't rest on the tint alone. The
   weight stays 600 when chosen (not the chip's 700): bold "Rough month" wrapped in a 114px cell.
   Full width at every width, like the fields under it (17 Oct, ux-review; the 540px cap is gone). At 390 a cell is 114-119px and the longest label at 15px/600 is ~95px:
   one line. Below about 340px a label may wrap to two lines inside its cell; nothing overflows. */
.tl-tf-page .tl-options--segmented {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	background: var(--tl-white);
}
.tl-tf-page .tl-options--segmented .tl-option-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.tl-tf-page .tl-option--segment {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: var(--tl-control-h);
	padding: 6px 4px;
	background: var(--tl-white);
	color: var(--tl-navy);
	text-align: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.tl-tf-page .tl-option--segment + .tl-option--segment { border-left: 1px solid var(--tl-line); }
.tl-tf-page .tl-option--segment:first-child { border-radius: 9px 0 0 9px; }
.tl-tf-page .tl-option--segment:last-child { border-radius: 0 9px 9px 0; }
.tl-tf-page .tl-option--segment:hover { background: var(--tl-wash); }
.tl-tf-page .tl-option--segment:is(.is-checked, :has(.tl-option-input:checked)) {
	background: var(--tl-teal-soft);
	box-shadow: inset 0 0 0 1.5px var(--tl-teal);
	color: var(--tl-teal-hover);
}
.tl-tf-page .tl-option--segment:has(.tl-option-input:focus-visible) { z-index: 1; }
.tl-tf-page .tl-option--segment .tl-option-title {
	min-width: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}
.tl-tf-page :is(.tl-fieldset--timing, .tl-fieldset--budget-for).has-error .tl-options--segmented { border-color: var(--tl-danger); }
/* Decision #82: "Is that per person, or for everyone?" is the same row with two cells (the base grid
   has three columns, which left an empty third of the row). It follows the budget chips 16px down, not
   the step's 24px: it's a follow-up of the band (Images/budget-toggle-mockup.png), like the rhythm
   inside .tl-tf-cond. JS hides it ([hidden]) for "Not sure" and 1 traveller, so no gap is left then. */
.tl-tf-page .tl-fieldset--budget-for .tl-options--segmented { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl-tf-page .tl-tf-step-body > .tl-field--budget-band + .tl-fieldset--budget-for { margin-top: 16px; }
/* Windows high contrast drops the tint and the inset ring: mark the chosen cell with a system outline. */
@media (forced-colors: active) {
	.tl-tf-page .tl-option--segment:is(.is-checked, :has(.tl-option-input:checked)) { outline: 2px solid Highlight; outline-offset: -3px; }
}

/* ---- A6d. /post/ cruise step 1: "Where would you like to cruise?" (0.24.313, PLAN-post-cruise-step1.md §3) ----
     div.tl-field.tl-tf-cruise-where > fieldset.tl-fieldset.tl-tf-cruise-where__group >
       legend.tl-label.tl-tf-cruise-where__legend + div.tl-options.tl-options--chips.tl-tf-cruise-where__chips >
         label.tl-option--chips.tl-tf-cruise-where__chip (quick picks; [hidden] when the kind filters them out)
         + button.tl-option--chips.tl-tf-cruise-where__else (.is-checked while open)
         + label.tl-option--chips.tl-tf-cruise-where__ideas
     + p.tl-cruise-dropped.tl-tf-cruise-where__dropped (triplead.css 3e) + p.tl-tf-cruise-where__limit
     + p.tl-field-error + div.tl-tf-cruise-where__else-field#tlf-cruise-else (the destination field, "Where else?")
   Existing pattern wins: the chips are A6's chips in A6's wrap line (the legend 8px over them, as "What kind of
   cruise?" just above); /plan/cruise/'s Where (C5b) is the same chip line, so the two read alike.
   - "Somewhere else" is a <button>: C5b's "Somewhere else" restated at (0,3,0)+ over Astra's bare button
     rules (they added a 1px shadow, 15px line height and a hover fill). Open, it takes the chip hover look
     (teal-bright edge, navy: the search is showing); the chosen look only while a pill is chosen (:has),
     as on /plan/cruise/. The markup's .is-checked (open) would otherwise paint it chosen with no pill, next
     to a ticked "Open to ideas".
   - The search opens 16px under the chips (C5b's .tl-funnel-where__field).
   - The 8-choice note is the shared error message (triplead.css 3e lists .tl-tf-cruise-where__limit). */
.tl-tf-page .tl-tf-cruise-where .tl-tf-cruise-where__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.tl-tf-page .tl-tf-cruise-where .tl-tf-cruise-where__else {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--tl-line);
	border-radius: var(--tl-radius-pill);
	background: var(--tl-wash);
	box-shadow: none;
	color: var(--tl-body);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tl-tf-page .tl-tf-cruise-where .tl-tf-cruise-where__else:is(:hover, :focus, :active, [aria-expanded="true"], .is-checked) {
	border-color: var(--tl-teal-bright);
	background: var(--tl-wash);
	box-shadow: none;
	color: var(--tl-navy);
	font-weight: 500;
}
.tl-tf-page .tl-tf-cruise-where:has(.tl-picker-chip) .tl-tf-cruise-where__else:is([aria-expanded="true"], .is-checked) {
	border-color: var(--tl-teal);
	background: var(--tl-teal-soft);
	color: var(--tl-teal-hover);
	font-weight: 700;
}
.tl-tf-page .tl-tf-cruise-where .tl-tf-cruise-where__else:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-tf-page .tl-tf-cruise-where > .tl-tf-cruise-where__else-field { margin-top: 16px; }

/* ---- A7. "Get inspired" ------------------------------------------------------------ */
/* The link, panel and option pills are shared with the homepage: triplead.css 3c (0.18.9).
   The destination field's layout (the label row with the link on its right, the input,
   tick box, error, hint, then the pills) is shared too: triplead.css 3e (BRIEF-21; 0.20.2
   order). S1 has no rule of its own here: the label row's height is the label's line at
   every width (3c cancels the link's hit area with its margins). */

/* ---- A8. Step nav ----------------------------------------------------------------- */
/* S1-S2: .tl-tf-nav > .tl-tf-nav-primary (Next, then Back where present: 17 Oct markup) +
   .tl-tf-nav-secondary (Save for later). Tablet/desktop: under the rule, Back on the left (order,
   A11) and Next on the right of one row, Save for later on its own row below. Phones: A12. */
.tl-tf-page .tl-tf-nav {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--tl-line);
}
.tl-tf-page .tl-tf-nav-primary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tl-tf-page .tl-tf-nav-secondary { display: flex; align-items: center; gap: 8px 24px; }
.tl-tf-page .tl-tf-nav-secondary:empty { display: none; }
.tl-tf-page :is(.tl-tf-back, .tl-tf-save, .tl-tf-draft-clear) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: transparent;
	box-shadow: none;
	color: var(--tl-teal);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}
.tl-tf-page :is(.tl-tf-back, .tl-tf-save, .tl-tf-draft-clear):hover,
.tl-tf-page :is(.tl-tf-back, .tl-tf-save, .tl-tf-draft-clear):focus { background: transparent; color: var(--tl-teal-hover); }
/* Back is the shared back link (triplead.css 7b, Daniel 6 Nov): chevron + span, the span underlines. /join/'s
   Back has the same chevron in its boxed button (um-forms.css). */
.tl-tf-page :is(.tl-tf-save, .tl-tf-draft-clear):is(:hover, :focus) { text-decoration: underline; }
.tl-tf-page .tl-tf-draft-clear { font-size: 15px; color: var(--tl-teal-hover); } /* on teal-soft: teal would be 4.14:1 */
.tl-tf-page .tl-tf-next { min-width: 180px; margin-left: auto; font-size: 17px; }
.tl-tf-page .tl-tf-next .tl-icon,
.tl-tf-page .tl-tf-post .tl-icon { width: 20px; height: 20px; }
/* Section 3 (Your details + Post, .tl-tf-step--post; the old S6 .tl-tf-step--review selectors were
   dropped on 17 Oct, the section carries both classes until core-dev removes --review): the body is
   a wrapping flex row and div.tl-tf-submit dissolves, so Post my plan, the note and Back (printed
   by the step after div.tl-tf-submit, 17 Oct markup) are its flex items. Every other child takes a
   full row. Layout: A11 (768+: Back left, Post right, the note under them, a rule above) and A12
   (phones: Post full width, note, Back link). The nav below carries only Save for later, no rule. */
.tl-tf-page .tl-tf-step--post .tl-tf-nav { margin-top: 8px; padding-top: 0; border-top: 0; }
.tl-tf.tl-js .tl-tf-step--post .tl-tf-step-body { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; }
.tl-tf.tl-js .tl-tf-step--post .tl-tf-step-body > * { flex: 1 1 100%; min-width: 0; }
.tl-tf.tl-js .tl-tf-step--post .tl-tf-submit { display: contents; }
.tl-tf.tl-js .tl-tf-step--post .tl-tf-step-body > .tl-tf-back { flex: 0 0 auto; margin-top: 24px; }
.tl-tf.tl-js .tl-tf-step--post .tl-tf-post { flex: 0 1 auto; width: auto; min-width: 220px; margin: 24px 0 0 auto; }
.tl-tf.tl-js .tl-tf-step--post .tl-tf-post-note { flex: 1 1 100%; text-align: right; }

/* ---- A9. Section 3: Your trip, Post my plan ------------------------------------------ */
/* VIS-05 (1 Oct): "Anything else?" starts at two text lines (2 x 24px + 12 + 12 padding + 2
   border = 74px) instead of 3b's 120px, and grows as the traveller types: field-sizing:content
   where supported (Chromium 123+); elsewhere core-dev's small JS fallback grows rows. The
   label, "(optional)" and resize handle are unchanged. */
/* No fixed height: core-dev's JS fallback (data-tl-autogrow="10") changes rows. Up to 10 lines
   (10 x 24 + 26 = 266px), then it scrolls. Beats 3b's min-height:120px ((0,2,0)) at (0,3,0). */
.tl-tf-page .tl-textarea.tl-textarea--grow { min-height: 74px; max-height: 266px; field-sizing: content; overflow-y: auto; }
/* "Your trip" summary (decision #75 2b, the mock): the review cards' replacement at the top of
   section 3. div.tl-tf-trip > div.tl-tf-trip-head > p.tl-tf-trip-title + a.tl-tf-trip-edit;
   ul.tl-tf-trip-lines > li.tl-tf-trip-line(--dest | --party). Same card as section 2's summary bar
   (.tl-tf-summary, Slice 14 below: wash, line border, 10px radius, teal-hover underlined Edit at
   15px/700 with a 44px target), so the two trip summaries match. The title is the in-card label
   (STYLE-CHECKLIST §2: 13px/700/0.16em capitals; teal-hover on the wash, 6.0:1, as mute is 4.28).
   The Edit's 44px box is pulled into the card's padding by negative margins, so the head stays one
   text line tall. Lines: 15px/1.5, the destination line navy, the party line body (7.0:1 on wash). */
.tl-tf-page .tl-tf-trip {
	padding: 12px 16px 14px;
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	background: var(--tl-wash);
}
.tl-tf-page .tl-tf-trip-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tl-tf-page .tl-tf-trip-title {
	min-width: 0;
	margin: 0;
	color: var(--tl-teal-hover);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.tl-tf-page .tl-tf-trip-edit {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 44px;
	margin: -12px -8px -12px 0;
	padding: 0 8px;
	border-radius: var(--tl-radius-btn);
	color: var(--tl-teal-hover);
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.tl-tf-page .tl-tf-trip-edit:hover { color: var(--tl-navy); }
.tl-tf-page .tl-tf-trip-lines { display: grid; gap: 2px; margin: 6px 0 0; padding: 0; list-style: none; }
.tl-tf-page .tl-tf-trip-line { min-width: 0; margin: 0; color: var(--tl-body); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.tl-tf-page .tl-tf-trip-line--dest { color: var(--tl-navy); font-weight: 600; }
/* 0.24.316 (PLAN-funnel-things-to-do.md): "Would love to do:" + the Things to do picks from the funnel page,
   right under "Your trip". div.tl-tf-love > p.tl-tf-love__label + ul.tl-tf-love__list > li.tl-tf-love__item >
   span.tl-tf-love__name + button.tl-tf-love__remove (x, JS only). One wrapping line: the label as the trip
   card's destination line (15 / 600 navy), each pick the destination pill (triplead.css 3e .tl-picker-chip:
   teal-soft, teal-bright edge, teal-hover 15 / 600, the control radius) at the compact --tl-pill-h height
   with a 44px-wide x (the pill's own remove: no border, the pill's text colour, the 2px teal ring inset).
   Without JS (no x) the name keeps 12px clear of the edge. 12px under the trip card (the find note's gap). */
.tl-tf-page .tl-tf-love { --tl-pill-h: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0 0; }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
	.tl-tf-page .tl-tf-love { --tl-pill-h: 36px; } /* the destination pills' height rule (triplead.css 3e .tl-dest) */
}
.tl-tf-page .tl-tf-love__label { margin: 0; color: var(--tl-navy); font-size: 15px; font-weight: 600; line-height: 1.5; }
.tl-tf-page .tl-tf-love__list { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.tl-tf-page .tl-tf-love__item {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: var(--tl-pill-h);
	margin: 0;
	padding: 0 0 0 12px;
	border: 1px solid var(--tl-teal-bright);
	border-radius: var(--tl-radius-control);
	background: var(--tl-teal-soft);
	color: var(--tl-teal-hover);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}
.tl-tf-page .tl-tf-love__name { min-width: 0; padding: 4px 12px 4px 0; overflow-wrap: anywhere; }
.tl-tf-page .tl-tf-love__item:has(> .tl-tf-love__remove:not([hidden])) .tl-tf-love__name { padding-right: 0; }
.tl-tf-page .tl-tf-love__remove {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: var(--tl-pill-h);
	margin: -1px 0;
	padding: 0;
	border: 0;
	border-radius: var(--tl-radius-control);
	background: transparent;
	box-shadow: none;
	color: var(--tl-teal-hover);
	font-family: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}
.tl-tf-page .tl-tf-love__remove:is(:hover, :focus) { background: transparent; color: var(--tl-navy); }
.tl-tf-page .tl-tf-love__remove:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
/* Decision #50: p.tl-tf-find-note ("Already posted this trip? Find your plan links.") right under the
   review. A footnote, not a field: 14px mute (4.6:1 on white), 12px under the review instead of the
   step body's 24px (same (0,2,0) as that rule, later). The link is .tl-link (teal-hover 600, underlined). */
.tl-tf-page .tl-tf-find-note { margin: 12px 0 0; color: var(--tl-mute); font-size: 14px; line-height: 1.5; }
.tl-tf-page .tl-tf-submit { margin-top: 28px; }
.tl-tf-page .tl-btn-block { display: flex; width: 100%; }
.tl-tf-page .tl-tf-post { font-size: 18px; }
/* Decision #75 2b: p.tl-tf-post-note ("Free to post. No obligation to book.") under Post my plan, where
   .tl-tf-legal was: the site's muted small text (STYLE-CHECKLIST §3: 14px, mute on white 4.6:1), centred
   (no JS / phones) or right-aligned under the button (A8, 768+). */
.tl-tf-page .tl-tf-post-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--tl-mute); text-align: center; }

/* Focus for everything clickable on the form page. */
.tl-tf-page :is(a, button, summary):focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }

/* ---- A11. Responsive ----------------------------------------------------------------- */
/* Tablet photo (768-1024: the hero library's tablet slot and its preload media). */
@media (min-width: 768px) and (max-width: 1024px) {
	body.tl-post-has-hero .tl-traveller-main--post,
	.tl-traveller-main--funnel { --tl-post-hero-h: clamp(220px, 30vh, 280px); }
}

@media (max-width: 899px) {
	.tl-tf-page { padding: 24px 0 48px; }
	.tl-tf-page .tl-tf { border-radius: 16px; }
	.tl-tf-page .tl-tf-progress { padding: 18px 16px 0; }
	.tl-tf-page .tl-tf-alert,
	.tl-tf-page .tl-tf-draft { margin: 16px 16px 0; }
	.tl-tf-page .tl-tf-step { padding: 24px 16px; }
	.tl-tf-page .tl-tf-step-title { font-size: 28px; }
	.tl-tf-page .tl-tf-step-sub { font-size: 16px; }
}

/* ---- A12. Phones (BRIEF-23 + TripLead_Post_Form_Mobile_Style.md, Daniel #9) -------------
   The /join look: no card, the step flat on a white page, content 12px from the screen edges
   (the /join field and progress inset; the header logo stays at 16), white 8px-radius fields.
   A short photo band sits between the header and the progress row. 0.22.3 (Daniel): Next
   (S6: Post my plan) is no longer pinned; it sits in the page flow at the end of the step,
   full width, as on /join; Back and Save for later stay text buttons, on the row above it. */
@media (max-width: 767px) {
	body.tl-traveller-form-body { background-color: var(--tl-white); }
	/* Side gutter: the shared phone form edge (#47, QA2-03: 16px, triplead.css token; was 12). */
	.tl-slim.tl-traveller .tl-traveller-main:is(.tl-traveller-main--post, .tl-traveller-main--funnel) { --tl-post-gutter: var(--tl-form-m-edge, 16px); background: var(--tl-white); }
	/* Astra's scroll-to-top button (fixed, bottom right, z 99): hidden, as on /join/ and the
	   other UM pages and the agent app (triplead.css). Astra shows it with an inline
	   display:block, so it's hidden with visibility. */
	body.tl-traveller-form-body #ast-scroll-top { visibility: hidden; pointer-events: none; }

	/* Band: min 120, target 160, max min(180px, 28% of the height). svh where supported, so it
	   doesn't jump as the URL bar hides. The photo is 3g-band (home's wide crop band, shared):
	   only the wide mobile crop, never the desktop photo; no scrim or fade on the band, as on
	   home (A2's ::after is 768+ only; the content:none below is a belt-and-braces guard). */
	:is(.tl-traveller-main--post, .tl-traveller-main--funnel) > .tl-post-hero {
		height: max(120px, min(160px, 28vh));
		height: max(120px, min(160px, 28svh));
	}
	body.tl-post-has-hero :is(.tl-traveller-main--post, .tl-traveller-main--funnel) > .tl-post-hero::after { content: none; }
	.tl-tf-page { padding: 0 0 32px; }
	/* 0.22.3 (Daniel): the flat white step rides 60px up over the band, so 100 of the 160px
	   photo shows (60 of 120 on short screens). The page is white edge to edge: it cancels the
	   main's 12px gutter and puts it back as padding, so the content stays 12px in and no photo
	   shows at the sides. 16px top corners; the progress row starts 24px below that white edge,
	   so no text is ever on the photo. position:relative (no z-index) paints it over the
	   positioned band. Reset to 0 wherever the band is hidden (short, keyboard). */
	.tl-traveller-main:is(.tl-traveller-main--post, .tl-traveller-main--funnel) { --tl-post-band-overlap: 60px; }
	.tl-tf-page.tl-tf-page--hero {
		margin: calc(-1 * var(--tl-post-band-overlap)) calc(-1 * var(--tl-post-gutter, 12px)) 0;
		padding: 0 var(--tl-post-gutter, 12px) 32px;
		border-radius: 16px 16px 0 0;
		background: var(--tl-white);
	}
	.tl-tf-page .tl-tf { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
	.tl-tf-page .tl-tf-progress { padding: 24px 0 0; }
	.tl-tf-page .tl-tf-alert,
	.tl-tf-page .tl-tf-draft { margin: 16px 0 0; }
	.tl-tf-page .tl-tf-step { padding: 28px 0 24px; }
	/* The step question uses the shared phone step heading (triplead.css tokens, also /join/'s
	   step headline): 22px / 700, not 28px / 800. */
	.tl-tf-page .tl-tf-step-title {
		font-size: var(--tl-form-step-title-size-m, 22px);
		font-weight: var(--tl-form-step-title-weight-m, 700);
		line-height: var(--tl-form-step-title-lh-m, 1.25);
		letter-spacing: var(--tl-form-step-title-ls-m, -0.01em);
	}

	/* Fields: /join's 8px radius (3b is 10px elsewhere). Same (0,2,0) as 3b; this file loads later. */
	.tl-tf-page :is(.tl-input, .tl-select, .tl-textarea) { border-radius: var(--tl-radius-control); }
	/* The timing row (A6) matches the fields round it: 8px, its end cells 7px inside the 1px border. */
	.tl-tf-page .tl-options--segmented { border-radius: var(--tl-radius-control); }
	.tl-tf-page .tl-option--segment:first-child { border-radius: calc(var(--tl-radius-control) - 1px) 0 0 calc(var(--tl-radius-control) - 1px); }
	.tl-tf-page .tl-option--segment:last-child { border-radius: 0 calc(var(--tl-radius-control) - 1px) calc(var(--tl-radius-control) - 1px) 0; }

	/* Helpers are one line of text, not cards. */
	.tl-tf-page .tl-tf-note { padding: 0; border: 0; border-radius: 0; background: none; }

	/* Step footer (decision #75 2b, Daniel 17 Oct; Images/form-short-mockup.png): the primary button
	   full width (STYLE-CHECKLIST §7), a plain "Back" text link centred under it (A8's text button,
	   no chrome, no arrow: A8), then Save for later centred on its
	   own row. DOM order = visual order on phones: S1-S2 .tl-tf-nav-primary holds Next then Back;
	   section 3's body ends Post, the note, Back (the note stays with Post, centred under it). In the
	   page flow, never sticky or fixed; nav spacing as before (margin 8 + padding 20 above, no rule). */
	.tl-tf-page .tl-tf-nav { gap: 12px; margin: 8px 0 0; padding: 20px 0 0; border-top: 0; }
	.tl-tf-page .tl-tf-nav-primary { flex-direction: column; align-items: stretch; gap: 8px; }
	.tl-tf-page .tl-tf-next { width: 100%; min-width: 0; margin: 0; }
	.tl-tf-page .tl-tf-nav-secondary { justify-content: center; }
	/* /join/'s button text (16px/600) and side padding, as before. */
	.tl-tf-page :is(.tl-tf-next, .tl-tf-post) { padding-left: 16px; padding-right: 16px; border-width: 1.5px; font-size: 16px; font-weight: 600; }
	.tl-tf-page .tl-tf-nav-primary > .tl-tf-back { align-self: center; }
	/* Section 3: Post full width, the note centred 12px under it, Back centred 8px under that. */
	.tl-tf.tl-js .tl-tf-step--post .tl-tf-post { flex: 1 1 100%; min-width: 0; margin: 28px 0 0; }
	.tl-tf.tl-js .tl-tf-step--post .tl-tf-post-note { text-align: center; }
	.tl-tf.tl-js .tl-tf-step--post .tl-tf-step-body > .tl-tf-back { margin: 8px auto 0; }
	.tl-tf-page .tl-tf-step--post .tl-tf-nav { margin-top: 12px; padding-top: 0; }
}

/* Tablet and desktop (decision #75 2b, Daniel 17 Oct): Back on the LEFT of the primary button. The
   markup puts the primary first (the phone order, A12), so Back is moved with order:
   - S1-S2: .tl-tf-nav-primary > Next + Back: Back order -1, Next keeps A8's margin-left:auto (right).
   - Section 3: the body ends div.tl-tf-submit (dissolved: Post + note) then Back. Back 1, Post 2
     (margin-left:auto, right), the note 3 (its own full row under them, right-aligned). Everything
     else in the body is order 0, so it stays above. The rule above the row (as the nav's rule on
     S1-S2: content, 32px, the rule, 24px, the buttons) is on the element before div.tl-tf-submit.
   Visual order Back, Post differs from the tab order Post, Back here: Daniel's call (primary first
   for keyboard and phones). */
@media (min-width: 768px) {
	.tl-tf-page .tl-tf-nav-primary > .tl-tf-back { order: -1; }
	.tl-tf.tl-js .tl-tf-step--post .tl-tf-step-body > :has(+ .tl-tf-submit) { padding-bottom: 32px; border-bottom: 1px solid var(--tl-line); }
	.tl-tf.tl-js .tl-tf-step--post .tl-tf-step-body > .tl-tf-back { order: 1; margin-top: 24px; }
	.tl-tf.tl-js .tl-tf-step--post .tl-tf-post { order: 2; margin-top: 24px; }
	.tl-tf.tl-js .tl-tf-step--post .tl-tf-post-note { order: 3; }
}

/* Short phones: 120px, so the first field stays above the fold. Very short (landscape, or 200%
   zoom) or the keyboard open: no band. html.tl-kb-open comes from traveller-form.js
   (visualViewport). All instant, so there's nothing to reduce for motion. */
@media (max-width: 767px) and (max-height: 619px) {
	:is(.tl-traveller-main--post, .tl-traveller-main--funnel) > .tl-post-hero { height: 120px; }
}
/* At any width: a landscape phone is usually 768+ wide, and a 220px tablet photo would fill
   half its screen. */
@media (max-height: 480px) {
	:is(.tl-traveller-main--post, .tl-traveller-main--funnel) > .tl-post-hero { display: none; }
	.tl-tf-page.tl-tf-page--hero { margin-top: 0; border-radius: 0; }
}
@media (min-width: 768px) and (max-height: 480px) {
	.tl-tf-page.tl-tf-page--hero { padding-top: 24px; }
}
@media (max-width: 767px) {
	html.tl-kb-open :is(.tl-traveller-main--post, .tl-traveller-main--funnel) > .tl-post-hero { display: none; }
	html.tl-kb-open .tl-traveller-main--post .tl-tf-page.tl-tf-page--hero { margin-top: 0; border-radius: 0; }
}
/* (1 Oct) The :has(text field:focus) backup that also hid the band on touch is gone. On a tap on
   Next (or any button) while a field had focus, the mousedown blurred the field, the band came back
   160px tall at once, and the button moved away before mouseup, so the tap was lost (seen in
   Chromium's touch emulation on S5 → Next). html.tl-kb-open follows the real keyboard (visualViewport),
   which closes after the tap's click, so it can't swallow it. */

@media (max-width: 600px) {
	.tl-tf-page .tl-field-row,
	.tl-tf-page .tl-field-row--dates { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	/* First | Last name stay side by side (the mock; Daniel 17 Oct), 12px apart. Matched by its fields:
	   the row has no modifier class. Errors at 360 ("Enter your first name.", 14px) wrap to 2 lines in
	   a 150px column, aligned at the top of each column. */
	.tl-tf-page .tl-field-row:has(> [data-tl-field="first_name"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.tl-tf-page .tl-nights { min-height: 0; }
	.tl-tf-page .tl-counter { max-width: none; }
	.tl-tf-page .tl-options--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* 0.18.9: ux n1's inline "Get inspired" (link re-ordered under the input, static panel)
	   is retired. The link stays in the label row (wraps under the label when narrow) and
	   the panel floats under the input at every width: triplead.css 3c. */
	.tl-tf-page .tl-phone { grid-template-columns: 100px minmax(0, 1fr); }
}

/* ==========================================================================
   U. Utility layout (slice 11): /join/, /login/, /password-reset/, /terms/,
      /privacy/, /agent-agreement/. Same slim header/footer as the tracker
      (.tl-slim.tl-traveller); the page body is .tl-app.tl-utility.
   ========================================================================== */
/* .tl-app brings max-width:960px and padding; each utility kind sets its own width. */
.tl-slim .tl-app.tl-utility { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0; }
.tl-slim .tl-app.tl-utility--legal { max-width: 780px; }
.tl-slim .tl-app.tl-utility:is(.tl-utility--login, .tl-utility--reset) { max-width: 460px; }
.tl-utility .tl-utility-form { width: 100%; }

/* Legal pages: one card, a comfortable reading column (about 70 characters). The slim
   layout resets p/ul/h margins and list bullets, so they are restored here. */
.tl-utility .tl-utility-article { margin: 0; padding: 40px 48px 44px; border-radius: 18px; box-shadow: var(--tl-shadow-card); }
.tl-utility .tl-utility-title { margin: 0 0 20px; font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--tl-navy); }
.tl-utility .tl-legal-content { max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--tl-body); }
.tl-utility .tl-legal-content > * + * { margin-top: 1em; }
.tl-utility .tl-legal-content h2 { margin-top: 1.8em; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--tl-navy); }
.tl-utility .tl-legal-content h3 { margin-top: 1.4em; font-size: 18px; font-weight: 700; color: var(--tl-navy); }
.tl-utility .tl-legal-content :is(ul, ol) { padding-left: 1.4em; }
.tl-utility .tl-legal-content ul { list-style: disc; }
.tl-utility .tl-legal-content ol { list-style: decimal; }
.tl-utility .tl-legal-content li + li { margin-top: 0.4em; }
.tl-utility .tl-legal-content a { color: var(--tl-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tl-utility .tl-legal-content a:hover { color: var(--tl-teal-hover); }
.tl-utility .tl-legal-content strong { color: var(--tl-navy); }
@media (max-width: 767px) {
	.tl-utility .tl-utility-article { padding: 24px 18px 28px; border-radius: 14px; }
	.tl-utility .tl-utility-title { font-size: 28px; }
	.tl-utility .tl-legal-content { font-size: 16px; }
}

/* ==========================================================================
   B. Tracker (/t/{token}/) and link-not-found
   ========================================================================== */

/* ---- B1. Traveller header (logo + "Need help? Contact support") -------------- */
.tl-slim.tl-traveller .tl-traveller-header { background: var(--tl-white); border-bottom: 1px solid var(--tl-line); }
.tl-slim .tl-traveller-help { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--tl-body); }
.tl-slim .tl-traveller-help-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--tl-teal);
	font-weight: 700;
}
.tl-slim .tl-traveller-help-link .tl-icon { width: 18px; height: 18px; }
.tl-slim .tl-traveller-help-link:hover span { text-decoration: underline; }
.tl-slim.tl-traveller .tl-traveller-main { padding: 40px 24px 64px; background: var(--tl-wash); }
/* On the utility UM pages (join, login, reset) the header link is a small outline
   button, as in the join mocks. */
body.tl-utility-body--um .tl-slim .tl-traveller-help-link {
	min-height: 40px;
	padding: 0 16px;
	border: 1.5px solid var(--tl-line);
	border-radius: var(--tl-radius-btn);
	background: var(--tl-white);
	color: var(--tl-teal);
	font-size: 15px;
}
body.tl-utility-body--um .tl-slim .tl-traveller-help-link .tl-icon { display: none; }
body.tl-utility-body--um .tl-slim .tl-traveller-help-link:hover { border-color: var(--tl-teal); background: var(--tl-teal-soft); }
body.tl-utility-body--um .tl-slim .tl-traveller-help-link:hover span { text-decoration: none; }
body.tl-utility-body--um .tl-slim .tl-traveller-help-link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
@media (max-width: 767px) {
	body.tl-utility-body--um .tl-slim .tl-traveller-help-link { min-height: 44px; padding: 0 14px; }
}
/* Slim header help link = the main nav link (marketing.css M2; STYLE-CHECKLIST §8, Daniel 4 Oct, chunk 5):
   navy 15px / 600 / 1.2, no underline, 44px tall; hover and focus teal-hover with a 2px underline at
   6px; the 2px teal ring at 2px; no arrow icon, no outline-button chrome (UM pages). Its place in the
   header is unchanged. Funnel pages keep their own header. (0,4,1) / (0,5,1): above B1's rules and
   the UM outline button. */
body:not(.tl-funnel-body) .tl-slim .tl-traveller-help-link,
body:not(.tl-funnel-body).tl-utility-body--um .tl-slim .tl-traveller-help-link {
	gap: 0;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: none;
	color: var(--tl-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}
body:not(.tl-funnel-body) .tl-slim .tl-traveller-help-link:is(:hover, :focus),
body:not(.tl-funnel-body).tl-utility-body--um .tl-slim .tl-traveller-help-link:is(:hover, :focus) { border: 0; background: none; color: var(--tl-teal-hover); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
body:not(.tl-funnel-body) .tl-slim .tl-traveller-help-link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
body:not(.tl-funnel-body) .tl-slim .tl-traveller-help-link .tl-icon { display: none; }
/* 320-359 (2 Oct): the logo must stay M2's size (150 x 34 at 320). Logo + the 16px gap +
   "Join as an agent" (143) or "Contact support →" (146) needed ~310px of a 288px row, so
   the logo flex-shrank (squashed to 139 wide) and the button wrapped to two lines. Here the
   gap is 8px, the outline button is 14px text with 10px sides (128 wide, still 44 tall),
   and the text link drops its decorative arrow (122 wide), as the UM button already does.
   Logo 150 + 8 + 128 = 286 <= 288 at 320. 360+ is unchanged. */
@media (max-width: 359px) {
	.tl-slim.tl-traveller .tl-traveller-header { gap: 8px; }
	.tl-slim .tl-traveller-help-link .tl-icon { display: none; }
	body.tl-utility-body--um .tl-slim .tl-traveller-help-link { padding: 0 10px; font-size: 14px; }
}

/* ---- B2. Page head and layout ---------------------------------------------------- */
/* 1120px: the same frame as "About this agent" (.tl-about), which the tracker links to, and
   the utility pages (Daniel, 1 Oct; was 1340px, the widest page on the site). From 1168px
   the columns are 790px main + 20px gap + 310px help at every width. */
.tl-slim .tl-app.tl-tracker { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0; }
.tl-tracker .tl-tracker-title { margin: 0; font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--tl-navy); }
.tl-tracker .tl-tracker-sub { margin-top: 8px; font-size: 18px; color: var(--tl-body); }
.tl-tracker .tl-tracker-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 20px; }
.tl-tracker .tl-tracker-main { display: grid; gap: 16px; min-width: 0; }
.tl-tracker .tl-tracker-main > .tl-card { margin: 0; }
.tl-tracker .tl-card { border-radius: 16px; box-shadow: none; } /* STYLE-CHECKLIST §6, chunk 4 (was 18 + --tl-shadow-card) */
.tl-tracker .tl-icon { width: 24px; height: 24px; }
.tl-tracker :is(a, button, summary):focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }

/* ---- B3. Links and the resend status (the summary card is gone: R2 trip card, B13) ------- */
/* Inline links (STYLE-CHECKLIST §8, chunk 5): 600, 1px underline at 3px (was 700 at 2px). "Back to home" is a
   plain inline link too: it goes back, so the onward arrow link doesn't fit. */
.tl-tracker .tl-link { color: var(--tl-teal-hover); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Resend link. */
.tl-tracker .tl-tracker-resend { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tl-tracker .tl-tracker-resend-form { margin: 0; }
.tl-tracker .tl-tracker-resend-status { display: flex; align-items: center; gap: 6px; max-width: 240px; font-size: 14px; line-height: 1.4; color: var(--tl-body); }
.tl-tracker .tl-tracker-resend-status.is-sent { color: var(--tl-success); font-weight: 600; }
.tl-tracker .tl-tracker-resend-status .tl-icon { width: 18px; height: 18px; }

/* ---- B5. Progress timeline (the dots and connectors; B13b lays it out) ---------------------- */
.tl-tracker .tl-timeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.tl-tracker .tl-timeline-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 6px; text-align: center; }
.tl-tracker .tl-timeline-step:not(:first-child)::before {
	content: "";
	position: absolute;
	top: 15px;
	left: -50%;
	right: 50%;
	height: 3px;
	margin: 0 18px;
	border-radius: 3px;
	background: var(--tl-line);
}
.tl-tracker .tl-timeline-step:is(.is-done, .is-current)::before { background: var(--tl-teal); }
.tl-tracker .tl-timeline-dot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	border: 2px solid var(--tl-line);
	border-radius: 50%;
	background: var(--tl-white);
	color: var(--tl-white);
}
.tl-tracker .tl-timeline-step.is-done .tl-timeline-dot { border-color: var(--tl-teal); background: var(--tl-teal); }
.tl-tracker .tl-timeline-step.is-current .tl-timeline-dot { border: 3px solid var(--tl-teal); box-shadow: inset 0 0 0 4px var(--tl-white); background: var(--tl-teal); }
.tl-tracker .tl-timeline-dot .tl-icon { width: 18px; height: 18px; stroke-width: 2.6; }
.tl-tracker .tl-timeline-label { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--tl-navy); }
.tl-tracker .tl-timeline-step.is-todo .tl-timeline-label { color: var(--tl-body); }
.tl-tracker .tl-timeline-desc { font-size: 14px; line-height: 1.45; color: var(--tl-mute); }

/* ---- B6. Agents ------------------------------------------------------------------------- */
.tl-tracker .tl-tracker-agents { padding: 22px 20px 20px; }
.tl-tracker .tl-tracker-agents-head { display: flex; align-items: flex-start; gap: 14px; }
.tl-tracker .tl-tracker-agents-icon { display: flex; color: var(--tl-teal); }
.tl-tracker .tl-tracker-agents-icon .tl-icon { width: 40px; height: 40px; stroke-width: 1.5; }
.tl-tracker .tl-tracker-agents-title { font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--tl-navy); }
.tl-tracker .tl-agent-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 18px; }
.tl-tracker .tl-agent-card {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--tl-line);
	border-radius: 14px;
	background: var(--tl-white);
}
.tl-tracker .tl-agent-card-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--tl-teal-soft);
	color: var(--tl-teal-hover);
	font-size: 26px;
	font-weight: 800;
}
.tl-tracker .tl-agent-card-body { min-width: 0; }
.tl-tracker .tl-agent-card-name { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--tl-navy); }
.tl-tracker .tl-agent-card-place { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--tl-body); }
.tl-tracker .tl-agent-card-place .tl-icon { width: 16px; height: 16px; color: var(--tl-navy); }
.tl-tracker .tl-agent-card .tl-pill { margin: 8px 0 0; padding: 4px 12px; font-size: 13px; }
/* Agent status pills (tracker mock: reviewing is green, not viewed is grey). */
.tl-tracker .tl-pill-contacted { background: var(--tl-teal-soft); color: var(--tl-teal-hover); }
/* "Being checked" (plan in review): amber wash, navy text (amber text fails contrast). */
.tl-tracker .tl-pill-review { background: var(--tl-amber-soft); color: var(--tl-navy); }
.tl-tracker .tl-pill-review::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--tl-amber);
}

/* Inspiration banner. */
.tl-tracker .tl-tracker-inspire {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 22px 24px;
	background: linear-gradient(90deg, var(--tl-teal-soft), var(--tl-wash));
}
.tl-tracker .tl-tracker-inspire-title { font-size: 20px; font-weight: 800; color: var(--tl-navy); }
.tl-tracker .tl-tracker-inspire-text { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--tl-body); }
.tl-tracker .tl-tracker-inspire-link .tl-icon { width: 18px; height: 18px; }

/* ---- B7. Side cards -------------------------------------------------------------------- */
.tl-tracker .tl-tracker-side { display: grid; gap: 16px; }

/* ---- B7b. Close confirmation (?close=confirm). The "Close this plan" link itself is B12. --- */
.tl-tracker .tl-tracker-close-confirm {
	margin-top: 12px;
	padding: 14px 16px;
	border: 1px solid var(--tl-line);
	border-left: 4px solid var(--tl-danger);
	border-radius: 10px;
	background: var(--tl-white);
}
.tl-tracker .tl-tracker-close-question { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--tl-navy); }
.tl-tracker .tl-tracker-close-question + .tl-tracker-close-text { margin-top: 4px; color: var(--tl-body); }
.tl-tracker .tl-tracker-close-text { font-size: 15px; line-height: 1.5; color: var(--tl-navy); }
.tl-tracker .tl-tracker-close-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 12px 0 0; }
.tl-tracker .tl-tracker-close-yes { padding: 0 20px; font-size: 16px; }
.tl-tracker .tl-tracker-close-no { display: inline-flex; align-items: center; min-height: 44px; color: var(--tl-teal); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.tl-tracker .tl-tracker-close-failed {
	position: relative;
	margin-top: 10px;
	padding-left: 24px;
	color: var(--tl-danger);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}
.tl-tracker .tl-tracker-close-failed::before {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--tl-i-alert) center / contain no-repeat;
	mask: var(--tl-i-alert) center / contain no-repeat;
}

/* ---- B7c. Ended tracker (expired / closed): a calm centred panel, no trip ------- */
/* Must out-rank .tl-slim .tl-app.tl-tracker (max-width:1120px). */
.tl-slim .tl-app.tl-tracker.tl-tracker--ended { max-width: 600px; }
.tl-tracker .tl-tracker-end {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 24px auto 0;
	padding: 52px 32px 40px;
	text-align: center;
}
.tl-tracker .tl-tracker-end-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin-bottom: 24px;
	border-radius: 50%;
	background: var(--tl-amber-soft);
	color: var(--tl-navy);
}
.tl-tracker .tl-tracker-end--closed .tl-tracker-end-icon { background: var(--tl-success-soft); color: var(--tl-success); }
.tl-tracker .tl-tracker-end-icon .tl-icon { width: 44px; height: 44px; stroke-width: 1.8; }
.tl-tracker .tl-tracker-end-title { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--tl-navy); }
.tl-tracker .tl-tracker-end-text { max-width: 440px; margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--tl-body); }
.tl-tracker .tl-tracker-end-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 320px; margin-top: 28px; }
.tl-tracker .tl-tracker-end-actions .tl-btn { width: 100%; }
.tl-tracker .tl-tracker-end-support { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- B10. "About this agent" (/agents/{state}/{city}/{slug}/[?from={token}]) -------------
   v2, 1 Oct 2026 (BRIEF-tracker-agent-page.md §B + Daniel's decisions on the mock). Mock:
   reviews/AGENT-ABOUT-MOCK-2026-10-01/ (mock.css's header is the markup contract); build shots:
   reviews/AGENT-ABOUT-BUILD-2026-10-01/. The mock's rules are folded in here, not layered on
   top, so each property lives in one place and nothing depends on a v2 modifier.
   Source order is the phone order (identity, contact, about, specialties). From 900px the
   contact card is a sticky right column; below 768px there are no cards (as the tracker).
   There is no mobile Call / Email bar any more: the contact block's two buttons are the only ones. */
.tl-slim .tl-app.tl-about { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0; }
.tl-about .tl-about-back { margin: 0 0 16px; }
.tl-about .tl-about-back-link { font-size: 16px; } /* the rest: the shared back link, triplead.css 7b */
.tl-about .tl-about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; } /* minmax(0) so a long unbroken bio cannot widen the page (QA06) */
.tl-about .tl-about-grid > .tl-card { margin: 0; padding: 28px; border-radius: 16px; box-shadow: none; } /* chunk 4 (was 18 + shadow) */
.tl-about .tl-card-title { font-size: 22px; }

/* Identity: the full name, one role line ("{Agency}, {City}" or "Independent travel agent"),
   the place line (everyone); under the hairline the quiet credentials line, then the one badge. */
.tl-about .tl-about-identity-head { display: flex; align-items: center; gap: 24px; }
.tl-about .tl-about-identity-body { min-width: 0; }
.tl-about .tl-about-name { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--tl-navy); overflow-wrap: anywhere; }
.tl-about .tl-about-role-line { margin: 6px 0 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--tl-body); }
.tl-about .tl-about-place { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; color: var(--tl-body); }
.tl-about .tl-about-place .tl-icon { flex: none; width: 18px; height: 18px; color: var(--tl-mute); }
.tl-about .tl-about-badges { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--tl-line); }
.tl-about .tl-about-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--tl-navy); }
.tl-about .tl-about-badge .tl-icon {
	flex: none;
	width: 36px;
	height: 36px;
	padding: 7px;
	border-radius: 50%;
	background: var(--tl-teal-soft);
	color: var(--tl-teal-hover);
}
/* "ABN registered · ATIA member (as stated by the agent)" (li.tl-about-badge--credentials, one
   text span): not a badge but a quiet full-width line in body colour, its small mute icon centred
   in the badge icon column so the text lines up with "Verified by TripLead". balance wraps it at
   the " · " on phones ("ABN registered · ATIA member" / "(as stated by the agent)"), never
   leaving "agent)" alone. (0,4,0) so the <=599 badge icon rule cannot re-badge it. */
.tl-about .tl-about-badge.tl-about-badge--credentials { flex: 1 0 100%; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--tl-body); text-wrap: balance; }
.tl-about .tl-about-badge.tl-about-badge--credentials .tl-icon { width: 36px; height: 21px; padding: 2px 9px 1px; border-radius: 0; background: none; color: var(--tl-mute); }
/* "Verified by TripLead" + "Checked by TripLead before they could see travel plans.": its own row. */
.tl-about .tl-about-badge--verified { flex: 1 0 100%; align-items: flex-start; }
.tl-about .tl-about-badge-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 7px; }
.tl-about .tl-about-badge-label { font-weight: 700; color: var(--tl-navy); }
.tl-about .tl-about-badge-note { font-size: 14px; line-height: 1.45; color: var(--tl-body); }

/* Contact: the title, the note, the number and email once (each with Copy), then Call + Email. */
.tl-about .tl-about-contact-note { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--tl-body); }
.tl-about .tl-about-contact-list { margin: 12px 0 0; }
/* dd is display:contents, so the value and Copy join the row grid: Copy sits on the label line
   and the value gets the row's full width below it. */
.tl-about .tl-contact-row {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	grid-template-areas: "icon label copy" "icon value value";
	/* The label line is 34px on every row (= Copy's 44px less its -6/-4 margins), so the Website
	   row, which has no Copy, and the rows before JS shows Copy put the value 6.5px under the
	   label like Mobile and Email do (21 Oct). */
	grid-template-rows: minmax(34px, auto) auto;
	align-items: center;
	padding: 10px 0 12px;
}
.tl-about .tl-contact-row + .tl-contact-row { border-top: 1px solid var(--tl-line); }
.tl-about .tl-contact-label { display: contents; }
.tl-about .tl-contact-label .tl-icon { grid-area: icon; align-self: start; width: 26px; height: 26px; margin-top: 10px; color: var(--tl-navy); stroke-width: 1.5; }
.tl-about .tl-contact-label span { grid-area: label; font-size: 14px; color: var(--tl-mute); }
.tl-about .tl-contact-value { display: contents; }
.tl-about .tl-contact-text { grid-area: value; min-width: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--tl-navy); overflow-wrap: anywhere; }
/* The email shows in full (80e, Daniel 23 Oct; was one line with an ellipsis, B3 / D8): it wraps
   after "@" and before dots only (span.tl-email, triplead.css 3). The title attribute, the Email
   button's mailto and what Copy copies are unchanged. */
.tl-about .tl-contact-text--email { overflow-wrap: normal; }
/* The website, the only link left in the list. It sits in the value line like Mobile and Email
   (normal flow, the value's 1.35 line height, wrapping anywhere). The 44px target is a ::after
   12px above and below, so it never moves the text. (21 Oct: it was a 44px inline-flex box with
   -11px margins; once a long URL wrapped, the box outgrew 44px and the -11px top margin pulled
   the text up over the "Website" label.) */
.tl-about .tl-contact-row--website .tl-contact-link { position: relative; display: block; justify-self: start; max-width: 100%; color: var(--tl-teal); text-decoration: none; }
.tl-about .tl-contact-row--website .tl-contact-link::after { content: ""; position: absolute; inset: -12px 0; }
.tl-about .tl-contact-row--website .tl-contact-link:hover { color: var(--tl-teal-hover); text-decoration: underline; }
.tl-about .tl-copy-btn {
	display: inline-flex;
	grid-area: copy;
	justify-self: end;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin: -6px 0 -4px;
	min-width: 44px;
	padding: 0 12px;
	border: 1px solid var(--tl-line); /* QA polish: a visible 44px target, not bare text */
	border-radius: var(--tl-radius-btn);
	background: transparent;
	box-shadow: none;
	color: var(--tl-teal);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}
.tl-about .tl-copy-btn .tl-icon { width: 18px; height: 18px; }
.tl-about .tl-copy-btn[hidden] { display: none; } /* the template prints it hidden; agent-app.js initCopy() shows it, so no dead Copy without JS */
.tl-about .tl-copy-btn:is(:hover, :focus) { border-color: var(--tl-teal); background: var(--tl-teal-soft); color: var(--tl-teal-hover); }
.tl-about .tl-copy-btn.is-copied,
.tl-about .tl-copy-btn.is-copied:is(:hover, :focus) { border-color: var(--tl-success); background: var(--tl-success-soft); color: var(--tl-success); }
/* Call and Email side by side; one full-width button when the agent hides their mobile. */
.tl-about .tl-about-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.tl-about .tl-about-contact-actions > .tl-btn:only-child { grid-column: 1 / -1; }
.tl-about .tl-about-contact-actions .tl-btn { width: 100%; min-width: 0; padding: 0 12px; font-size: 16px; }
.tl-about .tl-about-contact-actions .tl-icon { width: 20px; height: 20px; }

/* About (bio). */
.tl-about .tl-about-bio-text { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--tl-body); }
.tl-about .tl-about-bio-text > * + * { margin-top: 0.8em; }

/* Specialties (the same card on the public page and in the tracker view): soft pills, not selected chips. */
.tl-about .tl-about-spec { margin-top: 18px; }
.tl-about .tl-about-spec + .tl-about-spec { padding-top: 18px; border-top: 1px solid var(--tl-line); }
.tl-about .tl-about-spec-title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 17px; font-weight: 700; color: var(--tl-navy); }
.tl-about .tl-about-spec-title .tl-icon { width: 24px; height: 24px; color: var(--tl-teal); }
.tl-about .tl-about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0 36px; }
.tl-about .tl-about-pill { padding: 7px 18px; border-radius: var(--tl-radius-pill); background: var(--tl-teal-soft); color: var(--tl-teal-hover); font-size: 16px; line-height: 1.3; }
.tl-about .tl-about-budgets { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-left: 36px; font-size: 16px; color: var(--tl-body); }
.tl-about .tl-about-budgets .tl-icon { width: 22px; height: 22px; margin-left: -34px; color: var(--tl-mute); }
/* Decision #85: "Adventure focus: Ski & snow, …" under the trip type pills, on their 36px indent, in the
   budgets line's 16px body text (a plain line, not more pills: the pills are the trip types). */
.tl-about .tl-about-focus { margin: 12px 0 0 36px; font-size: 16px; line-height: 1.5; color: var(--tl-body); }
/* Tracker view with 2+ chips only: "Matches your plan:" and the overlap chips (trip type; one
   destination) as one line at the top of the card, 18px under the h2 like a first .tl-about-spec.
   The label is the spec title's type. If the chips don't fit beside it the whole list drops to its
   own row, so a chip never sits under the label on its own. The rule under the line is the
   spec + spec hairline; the first block can be destinations, trip types, the budgets line or
   Places, and with none of them there's no rule. */
.tl-about .tl-about-match { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; }
.tl-about .tl-about-match-label { font-size: 17px; font-weight: 700; color: var(--tl-navy); }
.tl-about .tl-about-match + :is(.tl-about-spec, .tl-about-budgets) { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tl-line); }
.tl-about .tl-about-pills--match { margin: 0; }
.tl-about .tl-about-pills--match .tl-about-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tl-about .tl-about-pills--match .tl-icon { flex: none; width: 18px; height: 18px; }

/* ---- B10x. Profile extras (BRIEF-agent-profile-extras §5, mock Images/agent-profile-extras-mockup.png;
   markup contract in templates/agent-about.php). Each block prints only when the agent filled it,
   so an agent with none renders exactly as before. Existing pattern wins: the extras reuse the
   profile's pill, spec title, hairline, button and contact-row metrics; only what's new is here. */

/* Business line with the small logo (only when the photo is the avatar): a 24px rounded square
   like the logo avatar (line border, white), centred on the first line of the role text. */
.tl-about .tl-about-role-line--logo { display: flex; align-items: flex-start; gap: 10px; }
.tl-about .tl-about-role-logo {
	flex: none;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	margin-block: calc((1.4em - 24px) / 2); /* centred on the 1.4 line box at 17 / 16px */
	border: 1px solid var(--tl-line);
	border-radius: 6px;
	background: var(--tl-white);
	object-fit: contain;
}
.tl-about .tl-about-role-text { min-width: 0; }

/* Headline: the mock's italic line in quotes (the text has none: CSS adds them). Body colour, 16px,
   under the place line. */
.tl-about .tl-about-headline { margin: 8px 0 0; font-size: 16px; font-style: italic; line-height: 1.5; color: var(--tl-body); }
.tl-about .tl-about-headline::before { content: "\201C"; }
.tl-about .tl-about-headline::after { content: "\201D"; }
/* With a headline the text block outgrows the avatar (112 / 72px), and the head's centring left the
   avatar level with the place or headline. The mock top-aligns it with the name (UX-profile-extras
   #5). Only the avatar moves: while it's the taller item it fills the line, so flex-start and
   centre are the same pixel. Scoped to heads with a headline so profiles without one keep 0.24.178. */
.tl-about .tl-about-identity-head:has(.tl-about-headline) > .tl-about-avatar { align-self: flex-start; }

/* "18 years in travel" · "Speaks …": quiet facts, not specialties, so not the teal specialty pill:
   the same pill metrics on the wash in body colour (7.0:1), under the badges. */
.tl-about .tl-about-traits { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.tl-about .tl-about-identity-head + .tl-about-traits { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tl-line); } /* no badges line above (never for an approved agent) */
.tl-about .tl-about-trait { margin: 0; padding: 7px 18px; border-radius: 18px; /* a pill on one line (half its height is under 18), a rounded box when "Speaks …" wraps */ background: var(--tl-wash); color: var(--tl-body); font-size: 16px; line-height: 1.3; }

/* Places I know first-hand: the first five pills, then "+ N more" inline after them; opened, the rest
   flow on as more pills and "Show fewer" moves to the end. The lists and the details become
   display: contents so every pill is an item of one wrapping row (lists keep their role in current
   browsers). Where ::details-content isn't supported the rest list simply shows as its own row. */
.tl-about .tl-about-spec--places { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-left: 36px; }
.tl-about .tl-about-spec--places > .tl-about-spec-title { flex: 0 0 calc(100% + 36px); margin: 0 0 2px -36px; }
.tl-about .tl-about-spec--places .tl-about-pills--places { display: contents; }
.tl-about .tl-about-budgets + .tl-about-spec--places { padding-top: 18px; border-top: 1px solid var(--tl-line); } /* its own row, as Trip types after Destinations */
.tl-about .tl-about-places-more { display: contents; }
.tl-about .tl-about-places-more::details-content { display: contents; }
.tl-about .tl-about-places-more:not([open]) .tl-about-pills--places-rest { display: none; }
.tl-about .tl-about-places-more:not([open]) .tl-about-more-open,
.tl-about .tl-about-places-more[open] .tl-about-more-closed { display: none; }
.tl-about .tl-about-places-more[open] > summary { order: 1; }
/* "+ N more" / "Show fewer": a pill-sized control, outlined in teal (4.9:1) so it reads as a
   button among the static pills; hover / focus as the Copy button. The pill stays the pills'
   height; a ::after makes the tap target 44px tall without moving anything. */
.tl-about .tl-about-pill.tl-about-pill--more {
	position: relative;
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	padding: 6px 17px;
	border: 1px solid var(--tl-teal);
	background: var(--tl-white);
	color: var(--tl-teal-hover);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
	white-space: nowrap;
}
.tl-about .tl-about-pill--more::-webkit-details-marker { display: none; }
.tl-about .tl-about-pill--more::marker { content: ""; }
.tl-about .tl-about-pill--more::after { content: ""; position: absolute; inset: -5px 0; }
.tl-about .tl-about-pill--more:hover { background: var(--tl-teal-soft); }

/* Training and awards: its own card (grid area "training"). Two groups with the spec titles' type
   and the spec + spec hairline; rows split by hairlines as the mock, the year right-aligned in mute. */
.tl-about .tl-about-training-group { margin-top: 18px; }
.tl-about .tl-about-training-group + .tl-about-training-group { padding-top: 18px; border-top: 1px solid var(--tl-line); }
.tl-about .tl-about-training-subtitle { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--tl-navy); }
.tl-about .tl-about-training-list { margin: 6px 0 0; padding: 0; list-style: none; }
.tl-about .tl-about-training-item { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; padding: 10px 0; }
.tl-about .tl-about-training-item + .tl-about-training-item { border-top: 1px solid var(--tl-line); }
.tl-about .tl-about-training-name { min-width: 0; font-size: 16px; line-height: 1.5; color: var(--tl-body); }
.tl-about .tl-about-training-year { flex: none; font-size: 14px; color: var(--tl-mute); font-variant-numeric: tabular-nums; }
.tl-about .tl-about-training-note { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--tl-mute); } /* 4.6:1 */

/* Contact card extras, under Call / Email at the actions' 12px rhythm: Book (an outline button
   like Email, full width), Best times (a wash box), then the social icons. */
.tl-about .tl-about-contact-extras { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.tl-about .tl-about-book { width: 100%; min-width: 0; padding: 0 12px; font-size: 16px; }
.tl-about .tl-about-book .tl-icon { flex: none; width: 20px; height: 20px; }
.tl-about .tl-about-best-times { padding: 14px 16px; border-radius: 10px; background: var(--tl-wash); }
.tl-about .tl-about-best-times-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--tl-navy); }
.tl-about .tl-about-best-times-title .tl-icon { flex: none; width: 18px; height: 18px; color: var(--tl-navy); }
.tl-about .tl-about-best-times-text { margin: 4px 0 0 26px; font-size: 15px; line-height: 1.5; color: var(--tl-body); } /* 7.0:1 on the wash */
/* Icon-only links: 44 × 44 circles, teal icon (4.9:1), line border; hover / focus teal-soft with a
   teal border (the Copy button's states). The shared 2px teal focus ring follows the circle. */
.tl-about .tl-about-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tl-about .tl-about-social-item { margin: 0; }
.tl-about .tl-about-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tl-line);
	border-radius: 50%;
	background: var(--tl-white);
	color: var(--tl-teal);
	text-decoration: none;
}
.tl-about .tl-about-social-link .tl-icon { width: 20px; height: 20px; }
.tl-about .tl-about-social-link:is(:hover, :focus) { border-color: var(--tl-teal); background: var(--tl-teal-soft); color: var(--tl-teal-hover); }

/* Trip highlights (step 5): its own card (grid area "highlights", after Training and awards; the
   tracker view too). 3 across, 2 under 600 (BRIEF §3). Each tile is the mock's: a 4:3 photo with
   rounded top corners, the caption under it on the wash (body 7.0:1), the tile's bottom rounded.
   No overflow:hidden on the tile, so the link's focus ring isn't clipped. */
.tl-about .tl-about-highlights-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.tl-about .tl-about-highlight { display: flex; flex-direction: column; min-width: 0; margin: 0; border-radius: 12px; background: var(--tl-wash); }
.tl-about .tl-about-highlight-open { display: block; border-radius: 12px 12px 0 0; cursor: zoom-in; }
.tl-about .tl-about-highlight-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px 12px 0 0; background: var(--tl-teal-soft); transition: opacity 0.15s ease; }
.tl-about .tl-about-highlight-open:hover .tl-about-highlight-img { opacity: 0.9; }
.tl-about .tl-about-highlight-open:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-about .tl-about-highlight-caption { margin: 0; padding: 10px 12px 12px; font-size: 15px; line-height: 1.4; color: var(--tl-body); overflow-wrap: anywhere; }

/* The larger view: a native <dialog> (showModal) filling the viewport on the strong navy overlay
   (its own background, not ::backdrop, so the colour token applies in every engine; a click on it
   outside the photo closes, as the JS expects). The photo fits whatever the window: at most 1200px
   wide, and its height leaves room for the close button above and the caption below. Buttons are
   44px white circles, navy icons; the focus ring is white with a navy edge, so it shows on the
   overlay and on a pale photo alike. */
.tl-about .tl-about-lightbox[open] {
	position: fixed;
	inset: 0;
	box-sizing: border-box;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 68px 16px 24px;
	border: 0;
	background: var(--tl-overlay-strong);
	color: var(--tl-white);
	overflow: hidden;
}
.tl-about .tl-about-lightbox::backdrop { background: transparent; }
/* While it's open the page behind doesn't scroll (and its scrollbar doesn't show beside the overlay). */
html:has(.tl-about-lightbox[open]) { overflow: hidden; }
.tl-about .tl-about-lightbox-figure { display: flex; flex-direction: column; align-items: center; min-width: 0; max-width: 100%; margin: 0; }
.tl-about .tl-about-lightbox-img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(1200px, 100%);
	max-height: calc(100vh - 68px - 24px - 72px);
	max-height: calc(100dvh - 68px - 24px - 72px); /* the padding, and room for two caption lines */
	border-radius: 8px;
	object-fit: contain;
}
.tl-about .tl-about-lightbox-caption { max-width: 60ch; margin: 12px 0 0; font-size: 15px; line-height: 1.5; text-align: center; color: var(--tl-white); overflow-wrap: anywhere; }
.tl-about .tl-about-lightbox-text { font-weight: 600; }
.tl-about .tl-about-lightbox-place,
.tl-about .tl-about-lightbox-count { color: var(--tl-on-navy-text); } /* 11.5:1 on the overlay */
.tl-about .tl-about-lightbox-place:not([hidden])::before,
.tl-about .tl-about-lightbox-count:not([hidden]):not(:empty)::before { content: "· "; }
.tl-about :is(.tl-about-lightbox-nav, .tl-about-lightbox-close) {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tl-white);
	box-shadow: var(--tl-shadow-knob);
	color: var(--tl-navy);
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.tl-about :is(.tl-about-lightbox-nav, .tl-about-lightbox-close) .tl-icon { width: 22px; height: 22px; }
.tl-about :is(.tl-about-lightbox-nav, .tl-about-lightbox-close):is(:hover, :focus) { background: var(--tl-teal-soft); color: var(--tl-navy); }
.tl-about :is(.tl-about-lightbox-nav, .tl-about-lightbox-close):focus-visible { outline: 2px solid var(--tl-white); outline-offset: 2px; box-shadow: 0 0 0 6px var(--tl-navy); }
.tl-about .tl-about-lightbox-close { top: 12px; right: 12px; }
.tl-about .tl-about-lightbox-nav { top: 50%; transform: translateY(-50%); }
.tl-about .tl-about-lightbox-nav--prev { left: 16px; }
.tl-about .tl-about-lightbox-nav--next { right: 16px; }

/* Footer with the small print. */
.tl-slim .tl-traveller-footer--note { align-items: center; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.tl-slim .tl-traveller-footer-logo { display: inline-flex; flex: none; align-items: center; min-height: 44px; } /* a 44px target round the 40px logo */
.tl-slim .tl-traveller-footer-logo-img { display: block; width: auto; height: 40px; }
/* flex-basis auto, not a width: below 768px the footer is a column (triplead.css), where
   a 320px basis became a 320px-tall gap above Privacy (ux r1). */
.tl-slim .tl-slim-footer-note { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 14px; line-height: 1.5; color: var(--tl-body); }
.tl-slim .tl-traveller-footer--note .tl-slim-footer-link { color: var(--tl-teal); text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 900px) {
	.tl-about .tl-about-grid {
		grid-template-columns: minmax(0, 1fr) 340px;
		grid-template-areas: "identity contact" "bio contact" "specs contact" "training contact" "highlights contact";
		grid-template-rows: auto auto auto auto 1fr;
		align-items: start;
		/* Profile extras: the left cards are spaced by their own margin, not the row gap, so a row
		   with nothing in it (no bio; no specialties; no training) adds no gap. With
		   the gap, an empty row left 40px between two cards instead of 20. */
		row-gap: 0;
	}
	.tl-about .tl-about-grid > :is(.tl-about-bio, .tl-about-specialties, .tl-about-training, .tl-about-highlights) { margin-top: 20px; }
	.tl-about .tl-about-identity { grid-area: identity; }
	.tl-about .tl-about-bio { grid-area: bio; }
	.tl-about .tl-about-specialties { grid-area: specs; }
	.tl-about .tl-about-training { grid-area: training; }
	.tl-about .tl-about-highlights { grid-area: highlights; }
	.tl-about .tl-about-contact { grid-area: contact; position: sticky; top: 24px; align-self: start; }
}

/* Phones (<=767): no cards, flat sections in the 16px gutter on a white page, with the
   tracker's page padding and 32px section gap (B12h). */
@media (max-width: 767px) {
	body.tl-agent-about-body .tl-slim.tl-traveller .tl-traveller-main {
		padding: 24px var(--tl-form-m-edge, 16px) 40px;
		background: var(--tl-white);
	}
	.tl-about .tl-about-back { margin: -10px 0 8px; }
	.tl-about .tl-about-grid { gap: 32px; }
	.tl-about .tl-about-grid > .tl-card {
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}
	/* Contact gets a hairline on top: it's the one action block, so it reads as its own part. */
	.tl-about .tl-about-grid > .tl-about-contact { padding-top: 24px; border-top: 1px solid var(--tl-line); }
	.tl-about .tl-about-name { font-size: 26px; } /* the tracker's phone h1 */
	.tl-about .tl-about-role-line { font-size: 16px; }
	.tl-about .tl-about-badges { margin-top: 18px; padding-top: 16px; }
}

@media (max-width: 599px) {
	.tl-about .tl-about-identity-head { gap: 16px; }
	.tl-about .tl-about-identity .tl-agent-avatar.tl-agent-avatar--lg { width: 72px; height: 72px; font-size: 26px; }
	.tl-about .tl-about-badges { gap: 10px 18px; }
	.tl-about .tl-about-badge { font-size: 14px; }
	.tl-about .tl-about-badge .tl-icon { width: 30px; height: 30px; padding: 6px; }
	.tl-about .tl-about-badge.tl-about-badge--credentials .tl-icon { width: 30px; padding: 2px 6px 1px; }
	.tl-about .tl-about-badge-text { padding-top: 5px; }
	.tl-about .tl-card-title { font-size: 19px; }
	.tl-about .tl-about-bio-text { font-size: 16px; }
	.tl-about .tl-about-pills { margin-left: 0; gap: 8px; }
	.tl-about .tl-about-pill { padding: 6px 14px; font-size: 15px; }
	.tl-about .tl-about-budgets { padding-left: 0; }
	.tl-about .tl-about-budgets .tl-icon { margin-left: 0; }
	.tl-about .tl-about-focus { margin-left: 0; font-size: 15px; }
	/* Profile extras on phones: the pills' phone metrics; Places loses its indent like the others. */
	.tl-about .tl-about-traits { gap: 8px; }
	.tl-about .tl-about-trait { padding: 6px 14px; font-size: 15px; }
	.tl-about .tl-about-spec--places { gap: 8px; padding-left: 0; }
	.tl-about .tl-about-spec--places > .tl-about-spec-title { flex-basis: 100%; margin: 0 0 4px; }
	.tl-about .tl-about-pill.tl-about-pill--more { padding: 5px 13px; }
	.tl-about .tl-about-pill--more::after { inset: -7px 0; }
	.tl-about .tl-about-training-name { font-size: 15px; }
	/* Highlights: 2 across on phones (BRIEF §3), 12px apart, caption 14px. Lightbox arrows 8px in. */
	.tl-about .tl-about-highlights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.tl-about .tl-about-highlight-caption { padding: 8px 10px 10px; font-size: 14px; }
	.tl-about .tl-about-lightbox-nav--prev { left: 8px; }
	.tl-about .tl-about-lightbox-nav--next { right: 8px; }
	.tl-slim .tl-traveller-footer--note { flex-direction: column; text-align: center; }
}

/* Very narrow (<=359): the two buttons stack. */
@media (max-width: 359px) {
	.tl-about .tl-about-contact-actions { grid-template-columns: minmax(0, 1fr); }
}

/* ---- B8. Link not found ------------------------------------------------------------------ */
/* Must out-rank .tl-slim .tl-app.tl-tracker (max-width:1120px) above. */
.tl-slim .tl-app.tl-tracker.tl-tracker--not-found { max-width: 600px; }
.tl-tracker .tl-status-panel { margin: 24px auto 0; padding: 48px 32px 40px; text-align: center; }
.tl-tracker .tl-status-panel .tl-tracker-title + .tl-tracker-sub { margin-top: 10px; } /* H1 -> intro 10, STYLE-CHECKLIST §4 (chunk 3; was 8) */
/* Status panels ("Link not found" etc.): the page H1 (STYLE-CHECKLIST §1, chunk 2), triplead.css
   --tl-page-h1-* (40 / 34 / 30 / 26, 1.15). Was 36 / 28 at 1.1. */
.tl-tracker .tl-status-panel .tl-tracker-title { font-size: var(--tl-page-h1-size); line-height: var(--tl-page-h1-lh); }
.tl-tracker .tl-tracker-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 28px; }

/* ---- B9. Responsive -------------------------------------------------------------------- */
@media (max-width: 999px) {
	.tl-tracker .tl-tracker-layout { grid-template-columns: minmax(0, 1fr); }
	.tl-tracker .tl-tracker-side { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 767px) {
	.tl-slim .tl-traveller-help-text { display: none; }
	.tl-slim.tl-traveller .tl-traveller-main { padding: 24px 12px 40px; }
	.tl-tracker .tl-tracker-title { font-size: 32px; }
	.tl-tracker .tl-tracker-sub { font-size: 16px; }

	.tl-tracker .tl-tracker-agents { padding: 18px 12px 12px; }
	.tl-tracker .tl-tracker-agents-icon .tl-icon { width: 34px; height: 34px; }
	.tl-tracker .tl-tracker-agents-title { font-size: 19px; }
	.tl-tracker .tl-agent-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.tl-tracker .tl-agent-card { grid-template-columns: 56px minmax(0, 1fr); padding: 14px 12px; }
	.tl-tracker .tl-agent-card-avatar { width: 56px; height: 56px; font-size: 22px; }

	.tl-tracker .tl-tracker-side { grid-template-columns: minmax(0, 1fr); gap: 12px; }

	.tl-tracker .tl-tracker-inspire { padding: 18px 16px; }
	.tl-tracker .tl-tracker-inspire-link { width: 100%; }

	/* Flat on phones (STYLE-CHECKLIST §6, chunk 4): no border, radius or fill. The tracker's frame is 12px
	   in; 4px inline padding puts the text on the 16px phone gutter. */
	.tl-tracker .tl-status-panel { padding: 12px 4px 0; border: 0; border-radius: 0; background: none; }
	/* With no card, the not-found page is white (as /join/), so the teal links stay above AA. */
	body.tl-tracker-not-found-body .tl-slim.tl-traveller .tl-traveller-main { background: var(--tl-page-bg); }
	.tl-tracker .tl-tracker-end { padding: 40px 20px 28px; }
	.tl-tracker .tl-tracker-end-title { font-size: 26px; }
	.tl-tracker .tl-tracker-end-text { font-size: 16px; }
	.tl-tracker .tl-tracker-end-actions { max-width: none; }
	.tl-tracker .tl-tracker-close-form { flex-direction: column; align-items: stretch; }
	.tl-tracker .tl-tracker-close-yes { width: 100%; }
	.tl-tracker .tl-tracker-close-no { justify-content: center; }
	.tl-tracker .tl-tracker-actions .tl-btn { width: 100%; }
}

/* ---- Slice 12 markup ---------------------------------------------------------------
   Step 5 "Preferred contact" is a chip checkbox group (fieldset > legend + help + chips).
   The chips themselves use the shared .tl-options--chips rules; this only sets the
   legend -> help -> chips rhythm, which differs from label -> input -> help elsewhere. */
.tl-tf-page .tl-field--contact-prefs > .tl-label { margin-bottom: 2px; }
.tl-tf-page .tl-field--contact-prefs > .tl-help { margin: 0 0 12px; }

/* No-JS notice on /post/ (inside <noscript>), same look as the join one. */
.tl-tf-page .tl-tf-nojs {
	margin: 24px 48px 0;
	padding: 16px 18px;
	border: 1px solid var(--tl-danger);
	border-radius: 12px;
	background: var(--tl-danger-soft);
	color: var(--tl-danger);
	line-height: 1.5;
}
.tl-tf-page .tl-tf-nojs-title { font-size: 17px; font-weight: 700; }
.tl-tf-page .tl-tf-nojs-text { margin-top: 4px; font-size: 15px; }
/* The wizard can't work without JS, so don't show a half-working form under the notice.
   Browsers without the scripting media feature ignore this and keep the form. */
@media (scripting: none) {
	.tl-tf-page .tl-tf { display: none; }
}
@media (max-width: 899px) {
	.tl-tf-page .tl-tf-nojs { margin: 16px 16px 0; }
}

/* ---- Slice 14: pre-filled S2 summary bar -------------------------------------------
   "Japan · Family holiday   [Edit]" under the S2 header when the homepage mini-form
   filled S1. Wash bar, navy text (13.4:1), teal-hover Edit link (6.0:1 on wash), 44px
   tap target. The new-plan notice reuses .tl-tf-draft (its Start again button is hidden). */
.tl-tf-page .tl-tf-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 16px 0 0;
	padding: 4px 8px 4px 16px;
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	background: var(--tl-wash);
}
.tl-tf-page .tl-tf-summary-text { flex: 1 1 auto; min-width: 0; margin: 0; padding: 8px 0; color: var(--tl-navy); font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.tl-tf-page .tl-tf-summary-edit {
	display: inline-flex;
	flex: none;
	align-items: center;
	min-height: 44px;
	padding: 0 8px;
	border-radius: var(--tl-radius-btn);
	color: var(--tl-teal-hover);
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.tl-tf-page .tl-tf-summary-edit:hover { color: var(--tl-navy); }
/* BRIEF-21 (Daniel #13): "Kyoto, Japan + 2 more · Family holiday". Only the first destination
   (span.tl-tf-summary-dest, up to 100 characters of free text) is cut, with an ellipsis, at
   18em (the bar's width under 390px); the "+ 2 more · Family holiday" part (span.tl-tf-summary-rest)
   always shows and wraps as before. The full text is still on S1 behind Edit. */
.tl-tf-page .tl-tf-summary-dest {
	display: inline-block;
	max-width: 18em; /* not min(100%, 18em): a % max-width counts as none in the text's own
	                    width, and the Edit link then wraps under a one-line summary. */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}
@media (max-width: 389px) {
	.tl-tf-page .tl-tf-summary-dest { max-width: 100%; }
}

/* ---- QA06. Long unbroken text ------------------------------------------------------
   Free text (bio, names, places, trip names) can arrive as one unbroken string. Wrap it
   anywhere and let its grid/flex parent shrink below min-content, so it can never widen
   the page at 390px. Grid tracks elsewhere already use minmax(0, 1fr). */
.tl-about :is(.tl-about-grid > *, .tl-about-identity-head, .tl-about-identity-body, .tl-about-bio, .tl-about-contact, .tl-about-specialties, .tl-about-match, .tl-about-pills--match, .tl-about-spec, .tl-about-training, .tl-about-contact-extras, .tl-about-highlights) { min-width: 0; }
.tl-about :is(.tl-about-name, .tl-about-role-line, .tl-about-place, .tl-about-bio-text, .tl-about-pill, .tl-about-budgets, .tl-about-focus, .tl-about-contact-note, .tl-about-badge, .tl-about-role-text, .tl-about-headline, .tl-about-trait, .tl-about-training-name, .tl-about-best-times-text) { min-width: 0; overflow-wrap: anywhere; }
.tl-tracker :is(.tl-tracker-main, .tl-tracker-side, .tl-agent-card-about, .tl-agent-card-contact) { min-width: 0; }
.tl-tracker :is(.tl-tracker-title, .tl-tracker-sub, .tl-agent-card-name, .tl-agent-card-agency, .tl-agent-card-place, .tl-agent-card-note, .tl-tracker-end-text) { min-width: 0; overflow-wrap: anywhere; }
.tl-utility .tl-legal-content { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
	.tl-tf-page *,
	.tl-tracker * { transition: none; }
}


/* ---- B11. Tracker v2 (VIS-01, 1 Oct; Daniel approved css-check's mock-up) ---------------
   Markup: templates/tracker.php, div.tl-tracker.tl-tracker--v2 (review and live; expired and
   closed keep B7c's end panel). The trip is the page header (label, h1 + ONE status pill,
   "Submitted {date}"), the summary card holds the facts, the timeline and the link row, the
   side holds one quiet "Need a change or help?" block. B12 (tracker v3) refines all of this;
   the rules B12 replaced ("Step X of 4", "Lost your link?" in the row, "Found what you need?",
   Close inside the aside) are deleted here. Everything is (0,3,0) through
   .tl-tracker.tl-tracker--v2, so it beats B2-B9's (0,2,0) rules, the <=767 block included. */
/* Side: one help block. */
.tl-tracker.tl-tracker--v2 .tl-tracker-side { display: block; }
@media (max-width: 999px) {
	/* One column: the help block follows the cards, full width. */
	.tl-tracker.tl-tracker--v2 .tl-tracker-side { margin-top: 4px; }
}
/* ---- end B11 ---- */

/* ==========================================================================
   B12. Tracker v3 (BRIEF-tracker-agent-page.md §A + Daniel's §F/§G, 1 Oct 2026).
   Mock: reviews/TRACKER-MOCK-2026-10-01/ (mock.css's header is the markup contract).
   After B11 on purpose: it relies on source order to tie-break B11's (0,3,0) rules.
   Scoped through .tl-tracker.tl-tracker--v2 (the live wrapper, no new modifier), tokens only,
   no !important. The map / pin tile (B4 .tl-tracker-media) is untouched (Daniel, 1 Oct).

   The 1 Oct markup (header, snapshot, facts, util row) was replaced by the R2 trip card (18 Oct):
   B13 styles the card, the timeline and the help card; what is left here is the status line, "See
   full plan", the timeline label colours and pulse, the agents and Close.
   ========================================================================== */

.tl-tracker.tl-tracker--v2 {
	--tl-tracker-m-gap: 32px;                           /* phone gap between flat sections */
	--tl-tracker-pulse-time: 1.8s;
}

/* ---- B12a. Header: badge + at most one status line (A2) -------------------------------- */
.tl-tracker.tl-tracker--v2 .tl-tracker-status-line { margin: 10px 0 0; max-width: 46em; font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--tl-navy); }

/* ---- B12c. "See full plan": the rest of the plan, tucked away (§F1, §G6) ----------------
   Quieter than "See full timeline": a text toggle (no wash bar), the rows on a hairline. */
.tl-tracker.tl-tracker--v2 .tl-tracker-sent { margin-top: 14px; }
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--tl-teal);
	font-size: 15px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-toggle::-webkit-details-marker { display: none; }
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-toggle:hover > span { text-decoration: underline; text-underline-offset: 2px; }
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-toggle .tl-icon { width: 18px; height: 18px; transition: transform 0.15s ease; }
.tl-tracker.tl-tracker--v2 .tl-tracker-sent[open] .tl-tracker-sent-toggle .tl-icon { transform: rotate(180deg); }
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px 24px;
	margin: 6px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--tl-line);
}
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-row { min-width: 0; }
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-row dt { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--tl-body); }
.tl-tracker.tl-tracker--v2 .tl-tracker-sent-row dd { margin: 2px 0 0; font-size: 15px; line-height: 1.45; color: var(--tl-navy); overflow-wrap: anywhere; }

/* ---- B12e. Timeline: one label set, the current dot pulses (A3) ------------------------ */
.tl-tracker.tl-tracker--v2 .tl-timeline-step.is-current .tl-timeline-label { color: var(--tl-navy); }
.tl-tracker.tl-tracker--v2 .tl-timeline-step.is-todo .tl-timeline-label { font-weight: 600; }

@keyframes tl-dot-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.1); opacity: 0.8; }
}
/* Only the current dot, only while the plan is open (review / live), and only when the visitor
   hasn't asked for reduced motion (no-preference, so there's nothing to undo). Ended plans print
   no timeline; the data-status scope keeps it that way if one ever does. */
@media (prefers-reduced-motion: no-preference) {
	.tl-tracker.tl-tracker--v2:is([data-status="review"], [data-status="live"]) .tl-timeline-step.is-current .tl-timeline-dot {
		animation: tl-dot-pulse var(--tl-tracker-pulse-time) ease-in-out infinite;
	}
}

/* ---- B12f. Agents: one row per agent, the "what happens next" sentence (A5, §G2-3) ----- */
.tl-tracker.tl-tracker--v2 .tl-tracker-agents-head { align-items: center; }
.tl-tracker.tl-tracker--v2 .tl-tracker-agents-icon .tl-icon { width: 32px; height: 32px; }
.tl-tracker.tl-tracker--v2 .tl-agent-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tl-tracker.tl-tracker--v2 .tl-agent-card { grid-template-columns: 64px minmax(0, 1fr); row-gap: 4px; padding: 18px 20px; }
/* Name and agency on their own lines; place, pill on one wrapping line; "About this agent" or
   the Contact button on the next. The ::after is a zero-height line break, so the link keeps its own width. */
.tl-tracker.tl-tracker--v2 .tl-agent-card-body { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.tl-tracker.tl-tracker--v2 .tl-agent-card-body::after { content: ""; flex: 1 0 100%; order: 1; }
.tl-tracker.tl-tracker--v2 .tl-agent-card-name { flex: 1 0 100%; }
.tl-tracker.tl-tracker--v2 .tl-agent-card-agency { flex: 1 0 100%; margin: 0 0 2px; font-size: 15px; line-height: 1.4; color: var(--tl-body); }
/* 2px above and below the place and the pill: 6px between them when the longer pills drop under the place
   on phones (the gap alone is 2), and the same 24px row as ever when they share a line (the agency and
   the link below give the 2px back). */
.tl-tracker.tl-tracker--v2 .tl-agent-card-place { margin: 2px 0; }
/* The pill never wraps (the shared .tl-pill is nowrap; restated so nothing undoes it). */
.tl-tracker.tl-tracker--v2 .tl-agent-card .tl-pill { margin: 2px 0; white-space: nowrap; }
.tl-tracker.tl-tracker--v2 .tl-agent-card-about {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	order: 2;
	min-height: 44px;
	margin: 0 0 -6px; /* the 44px tap target, without 44px of visual gap */
	font-size: 15px;
	text-decoration: none;
}
.tl-tracker.tl-tracker--v2 .tl-agent-card-about:hover > span:first-child { text-decoration: underline; text-underline-offset: 2px; }
.tl-tracker.tl-tracker--v2 .tl-agent-card-about .tl-icon { width: 16px; height: 16px; }
/* "Contact {Name}" (a.tl-btn.tl-btn-outline) on a card showing the Unable note, in the About link's place:
   the shared outline button, with the gap and 18px icon of the tracker's other two ("Contact support",
   "Explore travel inspiration"). With the gaps around it, 12px to the pill and to the note.
   A long name wraps inside the button. Full width on phones (B12h), as those two. */
.tl-tracker.tl-tracker--v2 .tl-agent-card-contact { order: 2; gap: 8px; max-width: 100%; margin: 6px 0 8px; overflow-wrap: anywhere; }
.tl-tracker.tl-tracker--v2 .tl-agent-card-contact .tl-icon { flex: none; width: 18px; height: 18px; }
.tl-tracker.tl-tracker--v2 .tl-agent-card-note { grid-column: 2; margin: 0; font-size: 15px; line-height: 1.5; color: var(--tl-body); }
.tl-tracker.tl-tracker--v2 .tl-agent-card-note strong { color: var(--tl-navy); font-weight: 700; }
/* --tl-mute on white is 4.6:1 (the agents block is white at every width). */
.tl-tracker.tl-tracker--v2 :is(.tl-tracker-agents-more, .tl-tracker-agents-help) { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--tl-mute); }
.tl-tracker.tl-tracker--v2 .tl-tracker-agents-help { margin-top: 6px; }

/* ---- B12g. Close: a plain text action at the very bottom (A7, §G4) --------------------- */
.tl-tracker.tl-tracker--v2 > .tl-tracker-close--v2 { margin-top: 40px; padding: 8px 0 0; border-top: 1px solid var(--tl-line); }
.tl-tracker.tl-tracker--v2 .tl-tracker-close--v2 .tl-tracker-close-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tl-body);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--tl-line);
	text-underline-offset: 3px;
}
.tl-tracker.tl-tracker--v2 .tl-tracker-close--v2 .tl-tracker-close-link:hover { color: var(--tl-navy); text-decoration-color: currentColor; }
.tl-tracker.tl-tracker--v2 .tl-tracker-close--v2 .tl-tracker-close-link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-tracker.tl-tracker--v2 .tl-tracker-close--v2 .tl-tracker-close-confirm { max-width: 560px; margin-top: 16px; }
/* Muted by size, not colour: --tl-mute on the desktop wash is 4.4:1. */
.tl-tracker.tl-tracker--v2 .tl-tracker-close-note { margin: -6px 0 0; font-size: 13px; line-height: 1.45; color: var(--tl-body); }

/* ---- B12h. Phones (<=767): no cards, flat sections in the 16px gutter (A1, #47) -------- */
@media (max-width: 767px) {
	/* The page goes white on phones (as /post/ does), so flat sections need no fill of their
	   own. :has() keeps the ended and not-found panels on their wash. */
	body.tl-tracker-body .tl-slim.tl-traveller .tl-traveller-main:has(> .tl-tracker--v2) {
		padding: 24px var(--tl-form-m-edge, 16px) 40px;
		background: var(--tl-white);
	}
	.tl-tracker.tl-tracker--v2 .tl-tracker-status-line { font-size: 16px; }
	.tl-tracker.tl-tracker--v2 .tl-tracker-layout,
	.tl-tracker.tl-tracker--v2 .tl-tracker-main { gap: var(--tl-tracker-m-gap); }
	.tl-tracker.tl-tracker--v2 .tl-tracker-side { margin-top: 0; }

	/* Cards off: agents, each agent, help (the trip card: B13e). */
	.tl-tracker.tl-tracker--v2 :is(.tl-tracker-agents, .tl-agent-card, .tl-tracker-help) {
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}
	.tl-tracker.tl-tracker--v2 .tl-tracker-sent-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }

	/* One label set at every width, short enough for the phone row. */
	.tl-tracker.tl-tracker--v2 .tl-timeline-label { font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--tl-body); }
	.tl-tracker.tl-tracker--v2 .tl-timeline-step.is-current .tl-timeline-label { font-weight: 700; color: var(--tl-navy); }

	.tl-tracker.tl-tracker--v2 .tl-tracker-agents-icon .tl-icon { width: 28px; height: 28px; }
	.tl-tracker.tl-tracker--v2 .tl-agent-cards { margin-top: 16px; }
	.tl-tracker.tl-tracker--v2 .tl-agent-card { grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; }
	.tl-tracker.tl-tracker--v2 .tl-agent-card-note { grid-column: 1 / -1; }
	.tl-tracker.tl-tracker--v2 .tl-agent-card-contact { width: 100%; padding: 8px 16px; } /* 8: a long name wraps, and needs room */
	/* Flat rows need a divider once there are 2-3 agents (the mock showed one). (0,4,0) beats the
	   cards-off :is() rule above. */
	.tl-tracker.tl-tracker--v2 .tl-agent-cards { gap: 20px; }
	.tl-tracker.tl-tracker--v2 .tl-agent-card + .tl-agent-card { padding-top: 20px; border-top: 1px solid var(--tl-line); }

	.tl-tracker.tl-tracker--v2 > .tl-tracker-close--v2 { margin-top: var(--tl-tracker-m-gap); }
	.tl-tracker.tl-tracker--v2 .tl-tracker-close--v2 .tl-tracker-close-confirm { max-width: none; }
}
/* ---- end B12 ---- */

/* ==========================================================================
   B13. Trip card header, tracker v3 (Rework R2/R3, PLAN-form-shorten.md §12-§13, 18 Oct). ONE
   component on the tracker (/t/{token}/) and the posted page (/post/?extras=1): the trip card
   (templates/tracker-trip-card.php), the timeline, the help card (templates/tracker-help-card.php).
   Structure from Images/tracker-header-mockup.png only (tile left + "Trip details" right, a
   horizontal 4-step timeline under it, the help card on the right); its logo, blues, copy and fonts
   are ignored: TripLead tokens and the tracker's existing card, pill and timeline look.
   Scoped through .tl-tracker.tl-tracker--v3 ((0,2,0)+), after B11/B12 so it wins their (0,3,0) ties
   by source order where it restates them. Frame: B2's 1120 (790 main + 20 + 310 side); the side is a
   sidebar from 1024 (was 1000) and follows main below that.
   ========================================================================== */
.tl-tracker.tl-tracker--v3 { --tl-trip-pad: 24px; }
@media (max-width: 1023px) {
	.tl-tracker.tl-tracker--v3 .tl-tracker-layout { grid-template-columns: minmax(0, 1fr); }
	.tl-tracker.tl-tracker--v3 .tl-tracker-side { margin-top: 8px; }
}
.tl-tracker.tl-tracker--v3 .tl-tracker-main { gap: 20px; }
.tl-tracker.tl-tracker--v3 .tl-trip-card :where(p, h1, h2, h3, ul, li) { margin: 0; }

/* ---- B13a. Trip card: the heading block left, "Trip details" right (768+) -----------------
   R5 (Daniel, ux-review R4): no photos yet, so the tile is a small square beside the heading at every
   width (64px: the agent card's avatar, B12f; 56 on phones, as there), one neutral tile for every
   region (soft teal into wash, teal pin; data-region stays in the markup for photos, unstyled). The
   heading block holds the status line now, so it gets the slightly wider column (5:4 by fr, 32px gap). */
.tl-tracker.tl-tracker--v3 .tl-trip-card {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
	align-items: start;
	gap: 0 32px;
	padding: var(--tl-trip-pad);
}
.tl-tracker.tl-tracker--v3 .tl-trip-card__head { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
/* The card follows its column, not the viewport: under 680px of main column (1024 to 1072 with a 15px
   scrollbar, where the side card takes 330px, and phones, where B13e stacks it anyway) the heading
   block and "Trip details" stack, so a long destination ("Japan, South Korea, China, …") never runs to
   six lines in a 225px column. A card with a map doesn't stack here: B13f. */
.tl-tracker.tl-tracker--v3 .tl-tracker-main { container-type: inline-size; }
@container (max-width: 679px) {
	.tl-tracker.tl-tracker--v3 .tl-trip-card { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
}
.tl-tracker.tl-tracker--v3 .tl-trip-card__media {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--tl-teal-soft), var(--tl-wash));
	color: var(--tl-teal);
}
.tl-tracker.tl-tracker--v3 .tl-trip-card__media .tl-icon { width: 28px; height: 28px; stroke-width: 1.6; }

/* Heading beside the tile: kicker (the in-card label, STYLE-CHECKLIST §2: 13/700/0.16em capitals,
   mute on white 4.6:1), the destination (24/800, the card's title size), "Posted {date}" (14 body),
   the status pill (B6 pills), then the status line (B12a's navy 600, 15px here). */
.tl-tracker.tl-tracker--v3 .tl-trip-card__heading { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 2px; }
.tl-tracker.tl-tracker--v3 .tl-trip-card__kicker { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tl-mute); }
.tl-tracker.tl-tracker--v3 .tl-trip-card__title { margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--tl-navy); overflow-wrap: anywhere; }
.tl-tracker.tl-tracker--v3 .tl-trip-card__meta { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--tl-body); }
.tl-tracker.tl-tracker--v3 .tl-trip-card__pill { margin-top: 12px; padding: 5px 12px; font-size: 14px; white-space: nowrap; }
/* 3: the status line, straight after the pill (R5; its old place under the timeline is gone). */
.tl-tracker.tl-tracker--v3 .tl-trip-card__status { max-width: 32em; margin: 12px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--tl-navy); }
.tl-tracker.tl-tracker--v3 .tl-pill-live::before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; }

/* "Trip details": the card's sub-heading (18/700, the body H3 type), then one row per fact on a
   hairline (the mock's rows): 24px teal icon, the main line 16/600 navy, the sub line 14 body. */
.tl-tracker.tl-tracker--v3 .tl-trip-card__details { min-width: 0; }
.tl-tracker.tl-tracker--v3 .tl-trip-card__subtitle { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--tl-navy); }
.tl-tracker.tl-tracker--v3 .tl-trip-facts { margin-top: 8px; padding: 0; list-style: none; }
.tl-tracker.tl-tracker--v3 .tl-trip-fact { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; column-gap: 14px; padding: 12px 0; }
.tl-tracker.tl-tracker--v3 .tl-trip-fact + .tl-trip-fact { border-top: 1px solid var(--tl-line); }
.tl-tracker.tl-tracker--v3 .tl-trip-fact > .tl-icon { width: 24px; height: 24px; margin-top: 1px; color: var(--tl-teal); stroke-width: 1.6; }
.tl-tracker.tl-tracker--v3 .tl-trip-fact__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-tracker.tl-tracker--v3 .tl-trip-fact__main { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--tl-navy); overflow-wrap: anywhere; }
.tl-tracker.tl-tracker--v3 .tl-trip-fact__sub { font-size: 14px; line-height: 1.45; color: var(--tl-body); overflow-wrap: anywhere; }
/* "See full plan" (B12c) sits under the rows, on the same hairline. */
.tl-tracker.tl-tracker--v3 .tl-trip-card .tl-tracker-sent { margin-top: 0; border-top: 1px solid var(--tl-line); }
.tl-tracker.tl-tracker--v3 .tl-trip-card .tl-tracker-sent-list { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 0; }

/* ---- B13b. Timeline: horizontal from 768 (B5's dots and connectors), vertical on phones ------ */
.tl-tracker.tl-tracker--v3 .tl-trip-progress { padding: 4px 0 0; }
.tl-tracker.tl-tracker--v3 .tl-timeline { margin: 0; padding: 0 8px; list-style: none; }
.tl-tracker.tl-tracker--v3 .tl-timeline-label { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--tl-navy); }
.tl-tracker.tl-tracker--v3 .tl-timeline-step.is-todo .tl-timeline-label { font-weight: 600; color: var(--tl-body); }
.tl-tracker.tl-tracker--v3 .tl-timeline-date { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--tl-teal-hover); }
.tl-tracker.tl-tracker--v3 .tl-timeline-desc { display: block; max-width: 18em; font-size: 14px; line-height: 1.45; color: var(--tl-body); }

/* ---- B13c. Help card: icon disc, title, text, Contact support (the primary button), then the
   resend as a full-width row under a line, the keep note last ------------------------------------ */
.tl-tracker.tl-tracker--v3 .tl-tracker-help { padding: 24px; border: 1px solid var(--tl-line); border-radius: 16px; background: var(--tl-white); }
.tl-tracker.tl-tracker--v3 .tl-tracker-help :where(p, h2) { margin: 0; }
.tl-tracker.tl-tracker--v3 .tl-tracker-help-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--tl-teal-soft); color: var(--tl-teal-hover); }
.tl-tracker.tl-tracker--v3 .tl-tracker-help-icon .tl-icon { width: 28px; height: 28px; stroke-width: 1.8; }
.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-help-title { margin-top: 16px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--tl-navy); }
.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-help-text { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--tl-body); }
/* "Contact support" (a.tl-btn.tl-btn-outline, R5): the shared outline secondary button (white, teal
   border and text; teal-soft on hover, triplead.css), full width in the card. Layout only here. */
.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-help-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: var(--tl-control-h); margin-top: 18px; font-size: 16px; text-decoration: none; }
.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-help-link .tl-icon { width: 18px; height: 18px; }
.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-resend { display: block; margin: 20px calc(-1 * 24px) 0; border-top: 1px solid var(--tl-line); }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-form { margin: 0; }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-button {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) 18px;
	align-items: center;
	column-gap: 14px;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--tl-navy);
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-button:is(:hover, :focus) { background: var(--tl-wash); color: var(--tl-navy); }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-button:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-button > .tl-icon { width: 24px; height: 24px; color: var(--tl-navy); stroke-width: 1.6; }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-button > .tl-icon:last-child { width: 18px; height: 18px; color: var(--tl-teal); stroke-width: 2.2; }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-label { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--tl-navy); }
.tl-tracker.tl-tracker--v3 .tl-tracker-resend-to { font-size: 13px; line-height: 1.4; color: var(--tl-body); overflow-wrap: anywhere; }
.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-resend-status { max-width: none; margin: 0; padding: 0 24px 12px; }
.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-keep { margin: 0 calc(-1 * 24px); padding: 14px 24px 0; border-top: 1px solid var(--tl-line); font-size: 13px; line-height: 1.5; color: var(--tl-body); }

/* The status line after "Add to my plan" (?extras=added): above the layout. */
.tl-tracker.tl-tracker--v3 > .tl-tracker-extras-status { margin: 0 0 16px; }
/* "TripLead reopened this plan on 23 Oct 2026." (decision #80 B, p.tl-notice.tl-notice-muted.tl-tracker-
   reopened: svg info + span), above the layout while a reopened plan is live. 80e (Daniel, 23 Oct): white
   like the tracker's cards so it reads as part of the page: the .tl-card skin (white, 1px --tl-line,
   16px radius, no shadow; it beats .tl-app .tl-notice-muted's wash by specificity), but compact: one
   line, 12 / 20 padding (the icon lines up with the agents card's), a 20px icon beside the text,
   centred on its first line, body colour 16 / 1.5. Phones: 14px (the tracker's small-text size), 12 / 14 padding, 8px gap, so it is
   one line from 390 up (the text is about 292px at 14px; it wraps at 375 and below). 20px to the layout.
   On phones the cards go flat (B13e) but this keeps its border: unboxed it would be a stray line. */
.tl-tracker.tl-tracker--v3 > .tl-tracker-reopened { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; padding: 12px 20px; font-size: 16px; line-height: 1.5; color: var(--tl-body); }
.tl-tracker.tl-tracker--v3 > .tl-tracker-reopened .tl-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; }
/* The tracker's info-note skin, shared by the reopened note and "Keep an eye out for agents" (rule 9:
   the existing info note on the screen wins). One rule so they can't drift. 0,3,0 beats .tl-app
   .tl-notice (10px radius) and .tl-app .tl-notice-muted (wash) at 0,2,0. Phones: the agents note
   takes the wash back (B13e), the page being white there. */
.tl-tracker.tl-tracker--v3 > .tl-tracker-reopened,
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note { border: 1px solid var(--tl-line); border-radius: 16px; background: var(--tl-white); box-shadow: none; }
/* "Keep an eye out for agents" (Daniel, 31 Oct 2026; Images/tracker-agents-note-mockup.png): section.tl-notice.
   tl-notice-muted.tl-tracker-agents-note on every live plan (never in review), after "Your agents" or,
   with 0 agents, straight after the timeline > h2 title +
   p text with span.tl-email. Skin above (white on the wash page from 768, wash on the white phone
   page: the mock's "light-blue info note"). Margin 0: the
   .tl-notice 16px bottom margin would add to .tl-tracker-main's 20px grid gap. 16 / 20 padding: the
   text lines up with the agents card's 20px sides (as .tl-tracker-reopened's does). Title: the
   tracker's small heading (18/700/1.3 navy, as "Need a change or help?" and "Trip details"; the mock
   drew about 16), 6px to the text (help card title to text). Text: body 16 / 1.5, 14 on phones (the
   reopened note's sizes). The address is plain body text (Daniel: not teal, not a link), kept in one
   piece (nowrap, and the <wbr>s in span.tl-email taken out of layout; about 151px at 14px, fits 320). */
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note { margin: 0; padding: 16px 20px; }
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--tl-navy); }
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note-text { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--tl-body); }
/* 0.24.163 (Daniel's copy v2): ul.tl-tracker-agents-note-list > li after the intro. Disc list as
   pages.css .tl-contact__notice-list (existing pattern: padding-left 1.25em, disc, 4px between items);
   8px under the intro (the mock); the intro's size and colour; last item no bottom margin (Astra's
   ul margin-bottom and li margins zeroed by the scoped selector, no !important needed). */
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note-list { margin: 8px 0 0; padding: 0 0 0 1.25em; list-style: disc; font-size: 16px; line-height: 1.5; color: var(--tl-body); }
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note-list > li { margin: 0; padding: 0; }
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note-list > li + li { margin-top: 4px; }
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note-email { color: inherit; font-weight: inherit; text-decoration: none; white-space: nowrap; }
.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note-email wbr { display: none; } /* Chromium still breaks at <wbr> under nowrap; out of layout, it can't */

/* ---- B13d. Tablet: the card stays two columns to 768; the timeline keeps B5's row ------------- */
/* ---- B13e. Phones (<=767): flat, as B12h. Tile 72px beside the heading, the rows full width
   under it; the timeline vertical (a line down the dots). --------------------------------------- */
@media (max-width: 767px) {
	.tl-tracker.tl-tracker--v3 .tl-tracker-main { gap: var(--tl-tracker-m-gap); }
	.tl-tracker.tl-tracker--v3 :is(.tl-trip-card, .tl-tracker-help) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card__head { gap: 14px; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card__media { width: 56px; height: 56px; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card__media .tl-icon { width: 26px; height: 26px; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card__pill { margin-top: 10px; }

	.tl-tracker.tl-tracker--v3 .tl-trip-progress { padding: 0; }
	.tl-tracker.tl-tracker--v3 .tl-timeline { padding: 0; }
	.tl-tracker.tl-tracker--v3 .tl-timeline { display: grid; grid-auto-flow: row; grid-auto-columns: auto; }
	.tl-tracker.tl-tracker--v3 .tl-timeline-step {
		display: grid;
		grid-template-columns: 32px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 2px;
		align-items: start;
		padding: 0 0 20px;
		text-align: left;
	}
	.tl-tracker.tl-tracker--v3 .tl-timeline-step:last-child { padding-bottom: 0; }
	.tl-tracker.tl-tracker--v3 .tl-timeline-step::before { content: none; }
	.tl-tracker.tl-tracker--v3 .tl-timeline-dot { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
	.tl-tracker.tl-tracker--v3 .tl-timeline-step > :not(.tl-timeline-dot) { grid-column: 2; }
	.tl-tracker.tl-tracker--v3 .tl-timeline-label { padding-top: 5px; font-size: 15px; white-space: normal; }
	.tl-tracker.tl-tracker--v3 .tl-timeline-step.is-current .tl-timeline-label { font-weight: 700; }
	.tl-tracker.tl-tracker--v3 .tl-timeline-desc { display: block; max-width: none; }
	/* The line down to the next dot, from under this dot to the bottom of the step. Teal when the
	   next step is reached. */
	.tl-tracker.tl-tracker--v3 .tl-timeline-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 36px;
		bottom: 4px;
		left: 14.5px;
		width: 3px;
		border-radius: 3px;
		background: var(--tl-line);
	}
	.tl-tracker.tl-tracker--v3 .tl-timeline-step:has(+ :is(.is-done, .is-current))::after { background: var(--tl-teal); }

	.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-resend { margin-right: 0; margin-left: 0; }
	.tl-tracker.tl-tracker--v3 .tl-tracker-resend-button { padding-right: 0; padding-left: 0; }
	.tl-tracker.tl-tracker--v3 .tl-tracker-resend-button:is(:hover, :focus) { background: none; }
	.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-resend-status { padding: 0 0 12px; }
	.tl-tracker.tl-tracker--v3 .tl-tracker-help .tl-tracker-keep { margin: 0; padding: 14px 0 0; }
	.tl-tracker.tl-tracker--v3 .tl-tracker-help { padding-top: var(--tl-tracker-m-gap); border-top: 1px solid var(--tl-line); }
	.tl-tracker.tl-tracker--v3 > .tl-tracker-reopened { gap: 8px; padding: 12px 14px; font-size: 14px; }
	.tl-tracker.tl-tracker--v3 > .tl-tracker-reopened .tl-icon { margin-top: 1px; }
	/* The cards go flat, but the note keeps its box (like the reopened note). With agents it belongs to
	   them, so 20px (the desktop gap), not the 32px between flat sections. With 0 agents it follows the
	   timeline at the plain 32px. */
	.tl-tracker.tl-tracker--v3 .tl-tracker-agents-note { padding: 14px; background: var(--tl-wash); }
	.tl-tracker.tl-tracker--v3 .tl-tracker-agents + .tl-tracker-agents-note { margin-top: calc(20px - var(--tl-tracker-m-gap)); }
	.tl-tracker.tl-tracker--v3 :is(.tl-tracker-agents-note-text, .tl-tracker-agents-note-list) { font-size: 14px; }
}

/* ---- B13f. The destination map (figure.tl-trip-map, Images/tracker-current-dummy.png; the tracker
   only, and only with a map: everything hangs off .tl-trip-card--map, so a card with the tile and the
   posted page are untouched). The head stays full width on top; the map sits left of "Trip details",
   whose heading, rows and "See full plan" are the live ones, not the mock's 2-column facts.
   Side by side from 600, stacked below it: this is a viewport query on purpose, the same width as the
   <source media="(max-width: 599px)">, so the layout and the image swap flip together, and the phone
   rules live in that one query, so there's no gap between the two at a fractional width. Neither B13a's
   @container stack nor B13e's <=767 stack applies here, as both exist to give a long title room and the
   title is full width on this card; (0,4,0) beats their (0,3,0).
   Columns: B13a's 5:4 and 32px gap, with the map capped at the image's own 393px, reached at the 790
   main column. Facts floor: 238px at 600 (200px of text beside the icon).
   Height from 600 up (Daniel, 6 Nov): the figure stretches to the row, whose height comes from
   .tl-trip-card__details alone, as the picture is out of flow and adds none (min-height 200). The file
   is 786 x 920 (393 x 460 at 1x), covered and centred, so a box shorter than that crops top and bottom
   only; the pins sit in a centred 393 x 240 area, scaled with the width. The cap: at the column width x
   460 / 393 the box is the file's own ratio, so it never crops the sides or upscales (460 at the full
   393). Hence the card as the container: cqw can't be taken from the figure's own width. When the facts
   run past the cap (narrow columns where they wrap, or "See full plan" open) the map holds at the cap
   at the top of the column, and the facts run on below it. No JS.
   Phones: full width, height from the phone file's ratio, so 150px tall at 390 (358 x 150). That leaves
   no spare room for an overlay (the chip covered a lower-left pin, QA M06), so below 600 the label is a
   plain caption under the map and the whole list wraps. From 600 the chip only prints with 4+ places,
   and those plans' facts keep the box tall enough to clear the pins (docs/CSS.md).
   A plain image: no cursor, hover or transition rules here on purpose. */
.tl-tracker.tl-tracker--v3 .tl-trip-card.tl-trip-card--map {
	--tl-trip-map-w: 393px;
	container-type: inline-size; /* for the figure's cqw cap; B13a's @container still reads .tl-tracker-main */
	grid-template-columns: minmax(0, min(var(--tl-trip-map-w), calc((100% - 32px) * 5 / 9))) minmax(0, 1fr);
	gap: 24px 32px; /* 24: the card's padding, and its stacked row gap */
}
.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-card__head { grid-column: 1 / -1; }
/* max-height: the column's width (the track above, with 100% as 100cqw) x 460 / 393, the file's ratio. */
.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map {
	position: relative;
	align-self: stretch;
	min-width: 0;
	min-height: 200px;
	max-height: calc(min(var(--tl-trip-map-w), (100cqw - 32px) * 5 / 9) * 460 / 393);
	margin: 0;
}
.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map__picture { position: absolute; inset: 0; display: block; }
/* 12px: the pin tile's radius. Teal-soft shows while it loads (as .tl-about-highlight-img). */
.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map__image { display: block; width: 100%; height: 100%; border-radius: 12px; background: var(--tl-teal-soft); object-fit: cover; object-position: center; }
/* The chip, 12px in from the capped box's lower-left corner. The type and padding of the card's status
   pill (.tl-trip-card__pill: 14/600, 5 / 12), a control's 8px radius as the mock, one line with an ellipsis. */
.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map__label {
	position: absolute;
	bottom: 12px;
	left: 12px;
	box-sizing: border-box;
	max-width: calc(100% - 24px);
	overflow: hidden;
	padding: 5px 12px;
	border-radius: var(--tl-radius-control);
	background: var(--tl-white);
	color: var(--tl-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (max-width: 599px) {
	.tl-tracker.tl-tracker--v3 .tl-trip-card.tl-trip-card--map { container-type: normal; grid-template-columns: minmax(0, 1fr); }
	.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map { min-height: 0; max-height: none; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map__picture { position: static; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map__image { height: auto; }
	.tl-tracker.tl-tracker--v3 .tl-trip-card--map .tl-trip-map__label {
		position: static;
		max-width: none;
		margin-top: 8px;
		overflow: visible;
		padding: 0;
		border-radius: 0;
		background: none;
		color: var(--tl-mute); /* 4.6:1: the page is white on phones (B12h) */
		font-weight: 400;
		line-height: 1.4;
		text-align: left;
		text-overflow: clip;
		white-space: normal;
	}
}
/* ---- end B13 ---- */

/* ==========================================================================
   C. Destination funnel page (/plan/{slug}/, decision #59)
   ========================================================================== */
/* Mock: Images/funnel-japan-mockup-v3.png, built from the phone version. Markup contract:
   templates/funnel-page.php header (core-dev). What it reuses, rather than copies:
   - the frame: /post/'s slim main (A2: gutter, wash, block main) and its photo, the same
     .tl-post-hero element and engine (A2 + triplead.css 3g; the selectors take
     :is(.tl-traveller-main--post, .tl-traveller-main--funnel)): full colour with the
     bottom fade on tablet/desktop, the wide-crop band on phones (A12);
   - the fields: the label and the chips are A5/A6's (:is(.tl-tf-page, .tl-funnel-form));
     the destination field behind Change is the homepage/S1 field (triplead.css 3b, 3c, 3e,
     5e: .tl-funnel-form joins every :is(.tl-tf-page, .tl-home-form) list);
   - the button: the shared .tl-btn (triplead.css 3), full width.
   Layout. DOM order = phone order: the form card, then the preview card.
   - Phones (<768): /post/'s phone sheet. The white page rides 60px up over the 160px band
     (16px top corners), content 16px from the edges, the form flat on it, then the
     preview as a bordered card under Continue and the note (never above Continue).
   - Tablet (768-1023): the two cards stacked, 680px, centred, over the photo.
   - Desktop (>=1024): side by side, 680 : 380 with a 32px gap (1092px, centred in the
     1248 frame), tops lined up (one grid row, align-items: start), over the photo.
   The pair overlaps the photo exactly as /post/'s card does (A2: the photo's lower third
   + --tl-post-hero-lift, at least 40px of photo left under the header). The cards are
   opaque white, so no text is ever on the photo.
   No !important in this section. */

/* ---- C1. Frame ------------------------------------------------------------------- */
.tl-app.tl-app--wide.tl-funnel {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: var(--tl-font);
	color: var(--tl-body);
}
.tl-funnel *,
.tl-funnel *::before,
.tl-funnel *::after { box-sizing: border-box; }
.tl-funnel .tl-funnel__pair {
	position: relative; /* paints over the positioned photo (no z-index: the suggestion list keeps its own) */
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	max-width: 680px;
	margin: calc(-1 * min(var(--tl-post-hero-h, 0px) / 3 + var(--tl-post-hero-lift, 0px), var(--tl-post-hero-h, 0px) - 40px)) auto 0;
	padding: 0 0 72px;
}
@media (min-width: 1024px) {
	.tl-funnel .tl-funnel__pair {
		grid-template-columns: minmax(0, 680fr) minmax(0, 380fr);
		gap: 32px;
		max-width: 1092px;
	}
}

/* ---- C2. Cards: /post/'s card (A3: white, line border, 20px radius, card shadow) --- */
.tl-funnel .tl-funnel-card {
	min-width: 0;
	margin: 0;
	background: var(--tl-white);
	border: 1px solid var(--tl-line);
	border-radius: 20px;
	box-shadow: var(--tl-shadow-card);
}
.tl-funnel .tl-funnel-form { padding: 48px 48px 40px; }
.tl-funnel .tl-funnel-preview { padding: 24px; }
/* Resets at (0,1,0) (:where), under every class rule below; they beat Astra's bare p/h1/h2. */
.tl-funnel :where(p, h1, h2, dl, dd) { margin: 0; }
.tl-funnel :where(h1, h2) { clear: none; font-family: inherit; }

/* ---- C3. Head: kicker, H1, intro ------------------------------------------------------
   The kicker is the site's eyebrow (pages.css P2: 13px/700, tracked capitals) in the teal
   of the mock (teal-hover, 6.4:1 on white); the H1 is the info pages' H1 (pages.css P1b:
   40 / 34 / 30, 800, -0.02em); the intro is /post/'s step sub (A4: 18px, 16 on phones). */
.tl-funnel .tl-funnel-kicker {
	color: var(--tl-teal-hover);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}
.tl-funnel .tl-funnel-title {
	margin-top: 10px;
	color: var(--tl-navy);
	font-size: 40px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	overflow-wrap: break-word;
}
.tl-funnel .tl-funnel-intro {
	margin-top: 12px;
	color: var(--tl-body);
	font-size: 18px;
	line-height: 1.5;
}

/* ---- C4. Destination: the locked summary row + Change ---------------------------------
   A wash panel with the field label small above the value. The label is body, not mute:
   mute on the wash is under 4.5:1. Change is a text button (teal-hover, 6.1:1 on the
   wash), 44px tall. Open (.is-open), the summary is [hidden] and the homepage field shows
   in its place (triplead.css 3e). */
.tl-funnel .tl-funnel-dest { margin-top: 28px; }
.tl-funnel .tl-funnel-dest__summary {
	display: flex;
	flex-wrap: wrap; /* 200% text: Change drops under the value rather than squeezing it */
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	min-height: 72px;
	padding: 12px 12px 12px 18px;
	border: 1px solid var(--tl-line);
	border-radius: 12px;
	background: var(--tl-wash);
}
.tl-funnel .tl-funnel-dest__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.tl-funnel .tl-funnel-dest__label { color: var(--tl-body); font-size: 13px; font-weight: 500; line-height: 1.4; }
.tl-funnel .tl-funnel-dest__value { color: var(--tl-navy); font-size: 18px; font-weight: 700; line-height: 1.35; overflow-wrap: break-word; }
/* A <button> that reads as a link: every box and type property reset (Astra's and the Kit's
   bare button rules, up to (0,2,1)). */
.tl-funnel .tl-funnel-dest__change {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: transparent;
	box-shadow: none;
	color: var(--tl-teal-hover);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
}
.tl-funnel .tl-funnel-dest__change:is(:hover, :focus, :active) { background: transparent; box-shadow: none; color: var(--tl-navy); }
.tl-funnel .tl-funnel-dest__change:hover span:first-child { text-decoration: underline; text-underline-offset: 2px; }
.tl-funnel .tl-funnel-dest__change:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-funnel .tl-funnel-dest.has-error .tl-funnel-dest__summary { border-color: var(--tl-danger); }
/* The open field is 3e's .tl-dest; its label row is 3c's. */
.tl-funnel .tl-funnel-dest__field { min-width: 0; }

/* ---- C5. Trip type chips ---------------------------------------------------------------
   The fieldset/legend reset (A1's is .tl-tf-page only), then A6's chips. "More types" is a
   chip-sized button, white with a dashed teal-bright border and teal-hover text (6.4:1),
   the mock's look; hover/focus take the chip's checked colours. The extra chips are
   [hidden] until it is pressed (funnel.js). */
.tl-funnel .tl-funnel-types { min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.tl-funnel .tl-funnel-types legend { float: none; width: auto; margin: 0; padding: 0; }
.tl-funnel .tl-funnel-types > .tl-funnel-types__legend { margin-bottom: 12px; }
.tl-funnel .tl-funnel-chip { max-width: 100%; }
.tl-funnel .tl-funnel-chip .tl-option-label { overflow-wrap: anywhere; }
.tl-funnel .tl-funnel-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 1px dashed var(--tl-teal-bright);
	border-radius: var(--tl-radius-pill);
	background: var(--tl-white);
	box-shadow: none;
	color: var(--tl-teal-hover);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.tl-funnel .tl-funnel-more:is(:hover, :focus, :active) { border-color: var(--tl-teal); background: var(--tl-teal-soft); box-shadow: none; color: var(--tl-teal-hover); }
.tl-funnel .tl-funnel-more:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
/* A trip type is required: the chips take the danger border while the error shows. */
.tl-funnel .tl-funnel-types.has-error .tl-option--chips { border-color: var(--tl-danger); }

/* ---- C5b. Trip type page (/plan/cruise/, decision #74 chunk 5; markup: the header of
   templates/funnel-type-page.php) -------------------------------------------------------------
   Same card, locked row, chips, Continue and preview as the destination page; only these differ.
   - The locked row is "Trip type / Cruise". Change opens the C5 trip type chips in place of the
     row, and the row is left empty (.is-open), so it goes: the chips then sit where the row was
     (28px under the intro, 24 on phones), as on the destination page.
   - "Where would you like to cruise? (optional)": a fieldset reset like C5's, its legend the C5
     legend (A5 label, 12px under it, 10 on phones), then one wrap line of A6 chips: the quick
     picks (checkboxes), "Somewhere else" (a <button>) and "Not sure yet" (a checkbox), 10px gap.
   - "Somewhere else" is a <button>, so it restates A6's chip at (0,3,0)+ and resets every box and
     type property Astra's bare button rules paint (up to (0,2,1): background, shadow, line-height,
     hover fill). Open ([aria-expanded="true"]) it takes the chip hover look (teal-bright border,
     navy text): the search is showing. It takes the checked look only while a pill is chosen
     (:has), so it never reads as chosen next to a ticked "Not sure yet" (exclusive, funnel-type.js).
   - The search ([data-tl-funnel-field], the homepage field, triplead.css 3e) opens 16px under the
     chips.
   - The 8-choice limit (.has-error on the group): only the note shows it, the shared error message
     (triplead.css 3e, .tl-field-error's rule lists .tl-funnel-where__limit). The chips keep their
     normal / checked look (Daniel, 15 Oct: no chip is wrong, there are just too many), and the
     "Where else?" box keeps its line border: 3b's ".has-error .tl-input" would paint it red because
     the group is the .has-error box. Its own errors ([aria-invalid], a .has-error on the field) and
     its hover / focus borders still apply. C5's required trip type error is unchanged. */
.tl-funnel .tl-funnel-dest--type.is-open { display: none; }
.tl-funnel .tl-funnel-where { min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.tl-funnel .tl-funnel-where legend { float: none; width: auto; margin: 0; padding: 0; }
.tl-funnel .tl-funnel-where > .tl-funnel-where__legend { margin-bottom: 12px; }
.tl-funnel .tl-funnel-where .tl-funnel-chip--else {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--tl-line);
	border-radius: var(--tl-radius-pill);
	background: var(--tl-wash);
	box-shadow: none;
	color: var(--tl-body);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tl-funnel .tl-funnel-where .tl-funnel-chip--else:is(:hover, :focus, :active, [aria-expanded="true"]) {
	border-color: var(--tl-teal-bright);
	background: var(--tl-wash);
	box-shadow: none;
	color: var(--tl-navy);
}
.tl-funnel .tl-funnel-where:has(.tl-picker-chip) .tl-funnel-chip--else[aria-expanded="true"] {
	border-color: var(--tl-teal);
	background: var(--tl-teal-soft);
	color: var(--tl-teal-hover);
	font-weight: 700;
}
.tl-funnel .tl-funnel-where .tl-funnel-chip--else:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-funnel .tl-funnel-where > .tl-funnel-where__field { margin-top: 16px; }
.tl-funnel .tl-funnel-where.has-error > .tl-funnel-where__field:not(.has-error) :is(.tl-input, .tl-select, .tl-textarea):not([aria-invalid="true"], :hover, :focus) { border-color: var(--tl-line); }

/* ---- C5c. "What kind of cruise? (optional)" (Trello 52; /plan/cruise/ only) ---------------------
   fieldset.tl-funnel-kind[hidden while another trip type is chosen] > legend.tl-funnel-kind__legend +
   div.tl-funnel-kind__chips > label.tl-funnel-chip--kind (4 radios). Between the trip type and
   "Where would you like to cruise?". The C5 / C5b group: fieldset reset, 28px above (24 on phones),
   the A5 legend 12px over the chips (10 on phones). The chips: A6b (label + sub-line, centred) in a
   2 x 2 grid with the chip group's 10px gaps (the mock). The region chips below stay C5b's wrap line:
   the mock draws them 2-up too, but the live funnel chips (and Japan's) wrap, and the existing
   pattern wins. Region chips the kind filters out are [hidden] + .is-kind-hidden (funnel-type.js):
   triplead.css 0's ":is(…, .tl-funnel-form) [hidden] { display: none !important }" already beats
   A6's inline-flex, so they leave no gap in the wrap line; no rule here. */
.tl-funnel .tl-funnel-kind { min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.tl-funnel .tl-funnel-kind legend { float: none; width: auto; margin: 0; padding: 0; }
.tl-funnel .tl-funnel-kind > .tl-funnel-kind__legend { margin-bottom: 12px; }
.tl-funnel .tl-funnel-kind .tl-funnel-kind__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* Under 360: one column, as the wizard's kind chips (A6c says why). */
@media (max-width: 359px) {
	.tl-funnel .tl-funnel-kind .tl-funnel-kind__chips { grid-template-columns: minmax(0, 1fr); }
}

/* ---- C6. Continue + the note ------------------------------------------------------------ */
.tl-funnel .tl-funnel-submit { display: flex; width: 100%; margin: 32px 0 0; }
.tl-funnel .tl-funnel-note { margin-top: 12px; color: var(--tl-mute); font-size: 14px; line-height: 1.5; text-align: center; }

/* ---- C7. Preview card, "What an agent sees" ---------------------------------------------
   The eyebrow (as the kicker), then label/value rows on line dividers: label body 15px,
   value navy 600 right-aligned; placeholders muted italic (mute on white 4.6:1). An empty
   Trip value (.is-empty, before a choice) keeps the row's height from its label. The contact
   line is one line in the 380px desktop card; narrower, it balances over two. */
.tl-funnel .tl-funnel-preview__title {
	color: var(--tl-teal-hover);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.tl-funnel .tl-funnel-preview__rows { margin: 8px 0 0; padding: 0; }
.tl-funnel .tl-funnel-preview__row {
	display: flex;
	flex-wrap: wrap; /* 200% text: the value drops under its label, whole words */
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--tl-line);
}
.tl-funnel .tl-funnel-preview__label { flex: none; margin: 0; color: var(--tl-body); font-size: 15px; font-weight: 400; line-height: 1.4; }
.tl-funnel .tl-funnel-preview__value {
	min-width: 0;
	margin: 0;
	color: var(--tl-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin-left: auto;
	text-align: right;
	overflow-wrap: break-word;
}
.tl-funnel .tl-funnel-preview__value--placeholder { color: var(--tl-mute); font-style: italic; font-weight: 400; }
.tl-funnel .tl-funnel-preview__contact { margin-top: 14px; color: var(--tl-body); font-size: 13px; line-height: 1.5; text-wrap: balance; }
.tl-funnel .tl-funnel-preview__note { margin-top: 8px; color: var(--tl-mute); font-size: 13px; line-height: 1.5; text-wrap: pretty; }

/* ---- C8. Tablet: stacked (768-1023) ------------------------------------------------------ */
@media (max-width: 1023px) {
	.tl-funnel .tl-funnel-form { padding: 40px 40px 32px; }
	.tl-funnel .tl-funnel-title { font-size: 34px; }
}

/* ---- C9. Phones (<768): /post/'s sheet (A12) ----------------------------------------------
   The white sheet rides --tl-post-band-overlap (60px) up over the band, cancels the 16px
   gutter and puts it back as padding, 16px top corners. The form is flat on it (no card),
   the preview a bordered card (no shadow) 32px under the note. */
@media (max-width: 767px) {
	.tl-funnel .tl-funnel__pair {
		gap: 32px;
		max-width: none;
		margin: calc(-1 * var(--tl-post-band-overlap, 60px)) calc(-1 * var(--tl-post-gutter, 16px)) 0;
		padding: 0 var(--tl-post-gutter, 16px) 40px;
		border-radius: 16px 16px 0 0;
		background: var(--tl-white);
	}
	.tl-funnel .tl-funnel-form { padding: 24px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
	.tl-funnel .tl-funnel-preview { padding: 20px; border-radius: var(--tl-radius-card); box-shadow: none; }
	.tl-funnel .tl-funnel-title { margin-top: 8px; font-size: 30px; }
	.tl-funnel .tl-funnel-intro { margin-top: 10px; font-size: 16px; }
	.tl-funnel .tl-funnel-dest { margin-top: 20px; }
	.tl-funnel .tl-funnel-dest__summary { min-height: 68px; padding-left: 16px; }
	.tl-funnel .tl-funnel-types { margin-top: 24px; }
	.tl-funnel .tl-funnel-types > .tl-funnel-types__legend { margin-bottom: 10px; }
	.tl-funnel .tl-funnel-kind { margin-top: 24px; }
	.tl-funnel .tl-funnel-kind > .tl-funnel-kind__legend { margin-bottom: 10px; }
	.tl-funnel .tl-funnel-where { margin-top: 24px; }
	.tl-funnel .tl-funnel-where > .tl-funnel-where__legend { margin-bottom: 10px; }
	.tl-funnel .tl-funnel-submit { margin-top: 24px; }
	body.tl-funnel-body #ast-scroll-top { visibility: hidden; pointer-events: none; }
}
@media (max-width: 319px) {
	.tl-funnel .tl-funnel-title { font-size: 26px; }
}
/* No band (very short screens, any width; A12's rule hides the photo): no overlap. */
@media (max-height: 480px) {
	.tl-funnel .tl-funnel__pair { margin-top: 0; border-radius: 0; }
}
@media (min-width: 768px) and (max-height: 480px) {
	.tl-funnel .tl-funnel__pair { padding-top: 24px; }
}
/* ---- end C ---- */

/* ==========================================================================
   D. Funnel guide (/plan/{slug}/ when "Show in search" is approved; decision #86 step 3)
   ========================================================================== */
/* Markup contract: templates/funnel-guide.php and templates/funnel-crumbs.php (core-dev). Mock:
   Images/funnel-guide-fiji-mockup.png (structure and look; its copy is a draft).
   - Where: section.tl-guide is a SIBLING of #tl-funnel inside main (after it closes), so no C rule
     reaches it and nothing here reaches the form: every rule is under .tl-guide, or under the
     breadcrumb's own classes (D2). No C rule changed. The breadcrumb renders only inside the
     guide; paid visits get neither (the pre-#86 page, §8.23, 29 Oct).
   - Width: the funnel pair's (C1): 1092px from 1024, 680 at 768-1023, centred, so the guide's left
     edge is the form card's. Phones: main's 16px gutter (A12), flat on the white page.
   - Surface: the funnel page sits on the wash from 768 (the slim pages' background), and the guide
     is long reading text with a wash steps panel and wash answer panels, so from 768 it is one more
     funnel card under the pair (C2: white, 1px line, 20px radius, card shadow). Phones: flat (no
     card on phones, STYLE-CHECKLIST §6), as the form above it. It starts 72px under the cards (the
     pair's own bottom padding; no negative margin, so nothing new reaches the first screen at
     1024 x 768) and leaves 72px (48 on phones) to the footer line.
   - Existing patterns (STYLE-CHECKLIST rule 6) win over the mock, each named where it is used:
     breadcrumb = /contact/'s success crumbs (pages.css); H2 / intro / H3 = the FAQ H2, section
     intro and body H3 (§1, §3); steps = the homepage How it works stepper (marketing.css M6 / M9);
     questions = the /faqs/ accordion (marketing.css M12); related links = the trip type chip's box
     (A6) as links; final band = the homepage navy traveller panel (marketing.css) with its white
     button, the site primary button on phones.
   - marketing.css and pages.css don't load here, so the few values they keep as scoped tokens are
     restated in D1's token block (same values, named for this section). No !important. */

/* ---- D1. Tokens, frame, resets --------------------------------------------------------- */
.tl-guide {
	/* = pages.css --tl-page-row-line: the /faqs/ question rows' hairline (decorative, 1.12:1). */
	--tl-guide-row-line: #eef3f7;
	/* = marketing.css --tl-i-step-arrow (the stepper's arrow between steps, a mask). */
	--tl-guide-i-step-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h25M20 4l8 8-8 8'/%3E%3C/svg%3E");
	/* The question chevron (the /faqs/ accordion's down / up chevron), a mask coloured by the text. */
	--tl-guide-i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
}
.tl-guide {
	box-sizing: border-box;
	width: 100%;
	max-width: 1092px;
	margin: 0 auto 72px;
	padding: 48px;
	border: 1px solid var(--tl-line);
	border-radius: 20px;
	background: var(--tl-white);
	box-shadow: var(--tl-shadow-card);
	color: var(--tl-body);
	font-family: var(--tl-font);
	font-size: 15px;
	line-height: 1.6;
	overflow-wrap: break-word;
}
.tl-guide *,
.tl-guide *::before,
.tl-guide *::after { box-sizing: border-box; }
/* Resets at (0,1,0) (:where), under every class rule below; they beat Astra's bare p / h / list / details rules. */
.tl-guide :where(h2, h3, p, ol, ul, li, details, summary) { margin: 0; padding: 0; clear: none; }
.tl-guide :where(h2, h3) { font-family: inherit; }
.tl-guide :where(a, summary):focus:not(:focus-visible) { outline: 0; } /* Astra's dotted a:focus ring after a click */
@media (min-width: 768px) and (max-width: 1023px) {
	.tl-guide { max-width: 680px; padding: 40px; }
}
@media (max-width: 767px) {
	.tl-guide { max-width: none; margin: 0; padding: 0 0 48px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
}

/* ---- D2. Breadcrumb "Home › Fiji" (inside the guide only) --------------------------------
   /contact/'s success crumbs (pages.css): 14 / 500 mute, the link mute too, underlined (1px, 3px
   offset) and navy on hover, the 2px teal ring; its ::before makes the hit area 44px tall without
   moving the text (13px each way, not /contact/'s 12: the 18px inline box + 24 is only 42); the "›"
   5px off each side. It sits 16px above the guide's H2, on the guide's white card (mute 4.55:1).
   It never renders outside the guide: paid visits get no breadcrumb (§8.23, 29 Oct). */
.tl-traveller-main--funnel .tl-funnel-crumbs { color: var(--tl-mute); font-family: var(--tl-font); font-size: 14px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__list { display: block; margin: 0; padding: 0; list-style: none; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__item { display: inline; margin: 0; padding: 0; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__sep { margin-inline: 5px; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__current { color: inherit; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__link {
	position: relative;
	border-radius: 2px;
	color: inherit;
	font-weight: 500;
	text-decoration: none;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__link::before { content: ""; position: absolute; inset: -13px -4px; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__link:hover { color: var(--tl-navy); text-decoration: underline; text-decoration-thickness: 1px; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__link:focus:not(:focus-visible) { outline: 0; }
.tl-guide > .tl-funnel-crumbs { margin: 0 0 16px; }

/* ---- D3. Head: H2 + the service definition -----------------------------------------------
   The FAQ H2 (STYLE-CHECKLIST §1: 23 / 800 / 1.3 / -0.01em navy, 21 on phones) and, 12px under it,
   the section intro (§3: 15 / 1.6 body, 36em). */
.tl-guide .tl-guide__title { color: var(--tl-navy); font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.tl-guide .tl-guide__lead { max-width: 36em; margin-top: 12px; color: var(--tl-body); font-size: 15px; line-height: 1.6; }

/* ---- D4. Sections: two columns from 768 (the mock), one on phones ------------------------
   20px under the intro (16 on phones; §4 intro -> content). Titles = the body H3 (18 / 700 / 1.3 /
   -0.01em navy), the text 8px under. Body: 15 / 1.6 body; paragraphs and lists 0.75em apart (the
   /faqs/ answers'); lists indented 1.4em with their own markers (the legal pages'). Links: the
   inline link (§8). */
.tl-guide .tl-guide__sections { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 20px; }
@media (min-width: 768px) {
	.tl-guide .tl-guide__sections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
}
@media (min-width: 1024px) {
	.tl-guide .tl-guide__sections { gap: 32px 48px; }
}
.tl-guide .tl-guide__section { min-width: 0; }
.tl-guide :is(.tl-guide__section-title, .tl-guide__steps-title, .tl-guide__faqs-title) { color: var(--tl-navy); font-size: var(--tl-h3-size); font-weight: 700; line-height: var(--tl-h3-lh); letter-spacing: -0.01em; }
.tl-guide .tl-guide__section-title + .tl-guide__body { margin-top: 8px; }
.tl-guide .tl-guide__body { color: var(--tl-body); font-size: 15px; line-height: 1.6; }
.tl-guide .tl-guide__body > :is(p, ul, ol) + :is(p, ul, ol) { margin-top: 0.75em; }
.tl-guide .tl-guide__body :is(ul, ol) { padding-left: 1.4em; }
.tl-guide .tl-guide__body ul { list-style: disc; }
.tl-guide .tl-guide__body ol { list-style: decimal; }
.tl-guide .tl-guide__body li + li { margin-top: 4px; }
.tl-guide .tl-guide__body strong { color: var(--tl-navy); font-weight: 700; }
.tl-guide .tl-guide__body a {
	border-radius: 2px;
	color: var(--tl-teal-hover);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	overflow-wrap: anywhere; /* a pasted URL as the link text */
	transition: color 0.15s ease;
}
.tl-guide .tl-guide__body a:hover { color: var(--tl-navy); text-decoration-thickness: 2px; }
.tl-guide .tl-guide__body a:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }

/* ---- D5. "How TripLead works for {Name} trips": the homepage stepper ---------------------
   Panel (768+) = the How it works card: wash, 1px line, 16px radius, 40 / 48 / 44 padding (32 /
   32 / 36 under 1024); flat on phones (#70). Steps = M6 / M9: a 40px teal circle with a 16 / 800
   white number, 16px to the text; the title the body H3 8px down, 6px above the text (14 / 1.45 /
   500 body, 6.8:1 on the wash). From 1024 three across with the 32 x 24 teal arrow 52px into the
   72px gap (48 / 40px / 28 wide up to 1279, M9's narrower row). Under 1024 the steps (in a 600px
   card or on a phone) are the vertical timeline: a 2px dashed teal line from circle to circle. */
.tl-guide .tl-guide__steps { margin-top: 48px; }
@media (min-width: 768px) {
	.tl-guide .tl-guide__steps { padding: 40px 48px 44px; border: 1px solid var(--tl-line); border-radius: 16px; background: var(--tl-wash); }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.tl-guide .tl-guide__steps { padding: 32px 32px 36px; }
}
.tl-guide .tl-guide__step-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 20px; list-style: none; }
.tl-guide .tl-guide__step {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: start;
	gap: 0 16px;
	padding-bottom: 24px;
}
.tl-guide .tl-guide__step:last-child { padding-bottom: 0; }
.tl-guide .tl-guide__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 48px;
	bottom: 6px;
	left: 19px;
	border-left: 2px dashed var(--tl-teal);
}
.tl-guide .tl-guide__step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tl-teal);
	color: var(--tl-white); /* 4.9:1 */
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}
.tl-guide .tl-guide__step-text { display: block; min-width: 0; }
.tl-guide .tl-guide__step-title { display: block; margin: 6px 0 6px; color: var(--tl-navy); font-size: var(--tl-h3-size); font-weight: 700; line-height: var(--tl-h3-lh); letter-spacing: -0.01em; }
.tl-guide .tl-guide__step-desc { display: block; color: var(--tl-body); font-size: 14px; font-weight: 500; line-height: 1.45; }
@media (min-width: 1024px) {
	.tl-guide .tl-guide__step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 72px; margin-top: 28px; }
	.tl-guide .tl-guide__step { padding-bottom: 0; }
	.tl-guide .tl-guide__step-title { margin-top: 8px; }
	.tl-guide .tl-guide__step:not(:last-child)::after {
		top: 8px;
		right: -52px;
		bottom: auto;
		left: auto;
		width: 32px;
		height: 24px;
		border: 0;
		background-color: var(--tl-teal);
		-webkit-mask: var(--tl-guide-i-step-arrow) center / contain no-repeat;
		mask: var(--tl-guide-i-step-arrow) center / contain no-repeat;
	}
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.tl-guide .tl-guide__steps { padding: 32px 32px 36px; }
	.tl-guide .tl-guide__step-list { gap: 28px 48px; }
	.tl-guide .tl-guide__step:not(:last-child)::after { right: -40px; width: 28px; }
}
@media (max-width: 767px) {
	.tl-guide .tl-guide__steps { margin-top: 40px; }
}

/* ---- D6. "Common questions": the /faqs/ accordion ----------------------------------------
   M12: a hairline (the lighter row line) above every question and under the last; the question
   16 / 600 / 1.4 navy in a 44px+ row (13px top and bottom), its hover / focus area 8px past the
   column each side; a 14px chevron on the right, level with the first line, pointing up when open;
   hover teal-hover (open or closed); focus the 2px teal ring inset (-2px). The answer is the wash
   panel: 8px radius, reaching 16px past the column (to the screen edges, square, on phones), 14 /
   16 padding, 15 / 1.6 body (6.8:1 on the wash), 16px of white under it. No animation (Daniel, on
   /faqs/). From 1024 the list is 75% of the guide (the /faqs/ 9-of-12 column). The first question
   is open on load (template). */
.tl-guide .tl-guide__faqs { margin-top: 48px; }
.tl-guide .tl-guide__faq-list { margin-top: 12px; border-bottom: 1px solid var(--tl-guide-row-line); }
@media (min-width: 1024px) {
	.tl-guide .tl-guide__faq-list { max-width: 75%; }
}
.tl-guide .tl-guide__faq { border-top: 1px solid var(--tl-guide-row-line); }
.tl-guide .tl-guide__faq-q {
	position: relative;
	display: block;
	min-height: 44px;
	margin: 0 -8px;
	padding: 13px 38px 13px 8px; /* 8 + the 14px chevron + 16px before it */
	border-radius: 8px;
	color: var(--tl-navy);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	overflow-wrap: anywhere;
	cursor: pointer;
}
.tl-guide .tl-guide__faq-q::-webkit-details-marker { display: none; }
.tl-guide .tl-guide__faq-q::marker { content: ""; }
.tl-guide .tl-guide__faq-q::after {
	content: "";
	position: absolute;
	top: calc(13px + (1.4em - 14px) / 2);
	right: 8px;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: var(--tl-guide-i-chevron) center / contain no-repeat;
	mask: var(--tl-guide-i-chevron) center / contain no-repeat;
}
.tl-guide .tl-guide__faq[open] > .tl-guide__faq-q::after { transform: rotate(180deg); }
.tl-guide .tl-guide__faq-q:hover { color: var(--tl-teal-hover); }
.tl-guide .tl-guide__faq-q:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
.tl-guide .tl-guide__faq-a { margin: 0 -16px 16px; padding: 14px 16px 16px; border-radius: 8px; background: var(--tl-wash); }
@media (max-width: 767px) {
	.tl-guide .tl-guide__faqs { margin-top: 40px; }
	.tl-guide .tl-guide__faq-a { border-radius: 0; }
}

/* ---- D7. "Other popular destinations" ---------------------------------------------------
   The label (15 / 700 navy) then the links on one wrapping row. Each link is the trip type chip's
   box (A6: 44px, 18px sides, 1px line, pill radius, 15px) as a link: white, teal-hover 600 text
   (6.5:1); hover the chip's teal-bright border and navy text; the 2px teal ring. Hidden by the
   template when no other page is eligible. */
.tl-guide .tl-guide__related { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 40px; }
.tl-guide .tl-guide__related-title { color: var(--tl-navy); font-size: 15px; font-weight: 700; line-height: 1.4; }
.tl-guide .tl-guide__related-list { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; list-style: none; }
.tl-guide .tl-guide__related-item { min-width: 0; max-width: 100%; }
.tl-guide .tl-guide__related-link {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--tl-line);
	border-radius: var(--tl-radius-pill);
	background: var(--tl-white);
	color: var(--tl-teal-hover);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.tl-guide .tl-guide__related-link:hover { border-color: var(--tl-teal-bright); color: var(--tl-navy); }
.tl-guide .tl-guide__related-link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
@media (max-width: 767px) {
	.tl-guide .tl-guide__related { margin-top: 32px; }
}

/* ---- D8. The final band: "Ready to plan {Name}?", its line, "Start your {Name} plan" ------
   768+: the homepage navy traveller panel: solid navy (no gradient), 16px radius, its decorative
   teal-bright ring top right (clipped), and its white button with a navy label (14.4:1), 16 / 700,
   48px, 0 24px, 8px radius; hover the on-navy text colour; focus the white 2px ring at 3px. The
   copy (div.tl-guide__end-copy, Daniel 29 Oct, §8.18) is the /faqs/ navy CTA card's: title 26 /
   800 / 1.2 white (14.4:1), line 15 / 1.5 on-navy text (11.4:1), 10px apart (that card's gap).
   The :has() rule puts the copy left and the button right. The copy grows from 240px, so at 768
   (a 520px band) both fit on one row and a long {Name} wraps the title, not the row; the button
   keeps its width unless it alone is wider than the band. With the button alone it is centred.
   Phones: no panel (the navy panel is hidden on the homepage's phones, #70, and §6 has no cards on
   phones): the title and line as plain text in page colours (the title is the guide H2 on phones:
   navy 21 / 800 / 1.3 / -0.01em, G2; the line body on white 7.2:1, text-wrap: pretty so "book."
   isn't left alone at 360-390), then the site primary button, full width (§7), 20px under the line (the
   /faqs/ card's 10px gap + its button's 10px). The arrow icon is 18px (the FAQ CTA buttons').
   Margins are set here (0, then 10px) so Astra's heading and paragraph margins can't reach them.
   48px above (40 on phones). */
.tl-guide .tl-guide__end { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 32px; margin-top: 48px; }
.tl-guide .tl-guide__end:has(> :not(.tl-guide__cta)) { justify-content: space-between; }
.tl-guide .tl-guide__end > :not(.tl-guide__cta) { position: relative; z-index: 1; min-width: 0; }
.tl-guide .tl-guide__end-copy { flex: 1 1 240px; }
.tl-guide .tl-guide__end :is(h2, h3) { margin: 0; color: var(--tl-white); font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.tl-guide .tl-guide__end p { margin: 0; color: var(--tl-on-navy-text); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.tl-guide .tl-guide__end :is(h2, h3) + p { margin-top: 10px; }
.tl-guide .tl-guide__cta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 100%;
	min-height: var(--tl-control-h);
	padding: 0 24px;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: var(--tl-white);
	box-shadow: none;
	color: var(--tl-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.tl-guide .tl-guide__cta .tl-icon { flex: none; width: 18px; height: 18px; }
.tl-guide .tl-guide__cta:is(:hover, :focus, :active, :visited) { color: var(--tl-navy); text-decoration: none; }
.tl-guide .tl-guide__cta:hover { background: var(--tl-on-navy-text); }
.tl-guide .tl-guide__cta:focus-visible { outline: 2px solid var(--tl-white); outline-offset: 3px; }
@media (min-width: 768px) {
	.tl-guide .tl-guide__end { overflow: hidden; min-height: 112px; padding: 32px 40px; border-radius: 16px; background: var(--tl-navy); }
	.tl-guide .tl-guide__end::after {
		content: "";
		position: absolute;
		z-index: 0;
		top: -120px;
		right: -110px;
		width: 220px;
		height: 220px;
		border: 2px solid var(--tl-teal-bright);
		border-radius: 50%;
		opacity: 0.4;
		pointer-events: none;
	}
}
@media (max-width: 767px) {
	.tl-guide .tl-guide__end { margin-top: 40px; }
	.tl-guide .tl-guide__end-copy { flex-basis: 100%; }
	.tl-guide .tl-guide__end :is(h2, h3) { color: var(--tl-navy); font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
	.tl-guide .tl-guide__end p { color: var(--tl-body); }
	.tl-guide .tl-guide__end-text { text-wrap: pretty; }
	.tl-guide .tl-guide__cta { width: 100%; background: var(--tl-teal); color: var(--tl-white); }
	.tl-guide .tl-guide__cta:is(:hover, :focus, :active, :visited) { color: var(--tl-white); }
	.tl-guide .tl-guide__cta:is(:hover, :focus-visible) { background: var(--tl-teal-hover); }
	.tl-guide .tl-guide__cta:focus-visible { outline-color: var(--tl-teal); outline-offset: 2px; }
}

/* ---- D9. Phones' type steps, reduced motion --------------------------------------------- */
@media (max-width: 767px) {
	.tl-guide .tl-guide__title { font-size: 21px; }
	.tl-guide .tl-guide__sections { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.tl-guide :is(a, summary),
	.tl-traveller-main--funnel .tl-funnel-crumbs .tl-funnel-crumbs__link { transition: none; }
}
/* ---- D10. "Things to do in {Name}" cards and "Further reading" links (0.24.316, PLAN-funnel-things-to-do.md) ----
   Mock: Images/funnel-things-to-do-mockup.png (locked). Markup: the header of templates/funnel-things.php.
   Both sections sit inside the guide card (section.tl-guide), between the steps (D5) and the questions
   (D6), so they take the guide's frame, resets, type and rhythm; existing patterns win (STYLE-CHECKLIST
   "How to use" 6), each named where used:
   - Heads: the guide H2 (D3: 23 / 800 navy, 21 on phones) and its intro (15 / 1.6 body, 36em, 12px
     under); 48px above each section (40 on phones), as D5 / D6 / D8.
   - Filter chips (JS only): A6's chip (wash pill, line border, 15 / 500 body, chosen = teal-soft + teal
     edge + teal-hover 700; /plan/cruise/'s chips) at the status chip's compact 36px to look at with a
     44px hit area (triplead.css 7g), as a <button>, so Astra's button rules are restated away.
   - Cards: white, 1px line, the card radius (--tl-radius-card, 14px), no shadow (the guide's inner
     panels are flat), the photo 16:9 on top (object-fit: cover: the 4:3 uploads crop top and bottom; the
     mock's colour blocks are wider still), body 16px padding. Title = the body H3 (D4: 18 / 700 navy,
     17 on phones), the short line 14 / 1.5 body, tags the inbox activity tag's family as an outline
     (13px floor, line border, body text), actions pinned to the card's foot so a row's cards line up.
   - "+ Add to my plan": a link-button (teal-hover 15 / 700, 44px hit area). The checkbox stays in the
     tab order (visually hidden, as A6's chip inputs); the label shows its focus ring. Added (checked,
     JS also sets li.is-added and "✓ Added"): the success green (7.3:1 on white) and the card takes the
     chosen chip's teal edge, so the choice doesn't rest on the label alone.
   - More text + "Good to know" (0.24.320 v2): the D6 answer panel (wash, 8px radius, 14 / 1.6 body) with
     "Good to know" as the in-card label (13 / 700 navy) over a plain list, above the actions; always shown
     from 1024, behind "Read more" / "Read less" (a quiet text button: 14 / 600 body, underlined on hover,
     44px hit area) at 768-1023, in the sheet on phones.
   - Photo badges: "where" = a white pill, navy 13 / 600 (14.4:1); credit = 13px white on --tl-overlay
     (the sheets' backdrop navy at 72%, over 8:1 on any photo), bottom left.
   - (The closing bar, div.tl-things__end, was removed in 0.24.327 with its rules; Daniel.)
   - Phones (under 768): the cards are one sideways row with scroll snap, 80% wide (the next card peeks),
     bleeding to the screen edges (the guide is flat there, inside the page's 16px gutter); the chips
     row scrolls the same way. Only those two rows scroll sideways; the page never does.
   - Sheet (JS, phones): the filter / pass sheet's mechanics (triplead.css 7c: fixed, the --tl-overlay
     backdrop, white panel, card radius on top, 100dvh - 24 max, safe area) with the photo full width
     on top, the kicker (13 / 700 / 0.16em teal-hover capitals, the in-card label), title = the guide's
     phone H2 (21 / 800), the D6 panel for the text, the outline button for Add (white, teal edge, 48px)
     turning success-soft when added, and the primary button for "Continue to my plan".
   - Further reading: three link cards across from 1024 (the Things cards' box), one column under it;
     badge = a 40px teal-soft square, teal-hover 13 / 800 (5.6:1); name 16 / 700 navy; line 14 / 1.5
     body; host 13 / 600 teal-hover with the arrow icon turned to ↗ (outside links only). The whole card
     is the link: hover = the chip's teal-bright edge, focus = the 2px teal ring.
   (0,2,0)+ through .tl-guide (the sheet through .tl-things-sheet); no !important. */
.tl-guide :is(.tl-things, .tl-reading) { margin-top: 48px; }
.tl-guide :is(.tl-things__title, .tl-reading__title) { color: var(--tl-navy); font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tl-guide :is(.tl-things__intro, .tl-reading__intro) { max-width: 36em; margin-top: 12px; color: var(--tl-body); font-size: 15px; line-height: 1.6; }

/* Filter chips. */
.tl-guide .tl-things__chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tl-guide .tl-things__chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--tl-line);
	border-radius: var(--tl-radius-pill);
	background: var(--tl-wash);
	box-shadow: none;
	color: var(--tl-body);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tl-guide .tl-things__chip::after { content: ""; position: absolute; inset: -5px -1px; } /* 44px to tap; the 8px row gap keeps neighbours apart */
.tl-guide .tl-things__chip:is(:hover, :focus, :active) { border-color: var(--tl-teal-bright); background: var(--tl-wash); box-shadow: none; color: var(--tl-navy); }
.tl-guide .tl-things__chip[aria-pressed="true"] { border-color: var(--tl-teal); background: var(--tl-teal-soft); color: var(--tl-teal-hover); font-weight: 700; }
.tl-guide .tl-things__chip:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-guide .tl-things__chip:focus:not(:focus-visible) { outline: 0; }

/* The cards. */
.tl-guide .tl-things__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.tl-guide .tl-things__chips + .tl-things__list { margin-top: 16px; }
.tl-guide .tl-things__card {
	position: relative; /* the containing block of its screen-reader texts, so on phones they stay inside the scrolling row (else they sat at their static place and widened the page) */
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--tl-line);
	border-radius: var(--tl-radius-card);
	background: var(--tl-white);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tl-guide .tl-things__card[hidden] { display: none; }
.tl-guide .tl-things__card:is(.is-added, :has(.tl-things__add-input:checked)) { border-color: var(--tl-teal); box-shadow: inset 0 0 0 1px var(--tl-teal); }
.tl-guide .tl-things__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tl-wash); }
.tl-guide .tl-things__img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover; }
.tl-guide .tl-things__where {
	position: absolute;
	top: 10px;
	right: 10px;
	max-width: calc(100% - 20px);
	padding: 3px 10px;
	border-radius: var(--tl-radius-pill);
	background: var(--tl-white);
	color: var(--tl-navy);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* The photo credit, on the photo bottom left (card and phone sheet). 0.24.323 (UX P2-1): it wraps instead
   of cutting with "…" (a Creative Commons credit must show in full, licence included): up to the photo's
   width less 8px each side, 1.35 lines; one line keeps the pill look, two lines the same box at an 8px
   radius. White 13 / 500 on --tl-overlay (navy at 72%, over 8:1 on any photo). The sheet sits outside
   .tl-guide, so it is named here too. */
:is(.tl-guide, .tl-things-sheet) .tl-things__credit {
	position: absolute;
	bottom: 8px;
	left: 8px;
	max-width: calc(100% - 16px);
	padding: 2px 8px;
	border-radius: 8px;
	background: var(--tl-overlay);
	color: var(--tl-white);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	overflow-wrap: anywhere;
	white-space: normal;
}
.tl-guide .tl-things__body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 14px 16px 6px; }
.tl-guide .tl-things__card-title { color: var(--tl-navy); font-size: var(--tl-h3-size); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tl-guide .tl-things__short { margin-top: 6px; color: var(--tl-body); font-size: 14px; line-height: 1.5; }
.tl-guide .tl-things__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; }
.tl-guide .tl-things__tag { padding: 2px 9px; border: 1px solid var(--tl-line); border-radius: var(--tl-radius-pill); color: var(--tl-body); font-size: 13px; font-weight: 500; line-height: 1.4; }
.tl-guide .tl-things__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; margin-top: auto; padding-top: 6px; }
/* "+ Add to my plan": the checkbox is visually hidden and focusable; the label is the control. */
.tl-guide .tl-things__add { position: relative; display: inline-flex; align-items: center; min-height: 44px; margin-left: -6px; padding: 0 6px; border-radius: var(--tl-radius-btn); color: var(--tl-teal-hover); font-size: 15px; font-weight: 700; line-height: 1.3; cursor: pointer; transition: color 0.15s ease; }
.tl-guide .tl-things__add-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.tl-guide .tl-things__add:hover { color: var(--tl-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tl-guide .tl-things__add:has(.tl-things__add-input:focus-visible) { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
.tl-guide .tl-things__add:has(.tl-things__add-input:checked) { color: var(--tl-success); }
/* The more text and Good to know (div.tl-things__more, 0.24.320 / PLAN-funnel-things-v2.md). It sits
   between the tags and the actions; the actions stay pinned to the card's foot (margin-top: auto in the
   body's column), so across a row of equal-height cards every "+ Add to my plan" lines up.
   - From 1024 (D1): always shown, no toggle (the [hidden] toggle stays hidden: rule below).
   - 768-1023 (D2): funnel.js hides it until "Read more" (the card gets .is-open).
   0.24.323 (Daniel): every card fills its grid cell at every width, so a row's outlines line up (2 columns
   at 768-1023, 3 from 1024; on phones the sideways row is one grid row, so its cards match too). An open
   card on a tablet may make its row partner taller; the partner's extra room goes above its actions.
   The panel never stretches: it keeps its content height and the actions' auto top margin takes the rest.
   - Phones: hidden; the sheet shows it.
   The panel is D6's answer panel (wash, 8px radius), 10px under the tags or short line. */
.tl-guide .tl-things__more { min-width: 0; margin-top: 10px; }
.tl-guide .tl-things__more[hidden] { display: none; }
/* "Read more" / "Read less" (a <button> since 0.24.320, tablets and phones only): the site's quiet text
   button (14 / 600 body, underlined on hover, 44px to tap) with Astra's button look reset away. */
.tl-guide .tl-things__more-toggle {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0 -6px 0 0;
	padding: 0 6px;
	border: 0;
	border-radius: var(--tl-radius-btn);
	background: transparent;
	box-shadow: none;
	color: var(--tl-body);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: color 0.15s ease;
}
.tl-guide .tl-things__more-toggle[hidden] { display: none; }
.tl-guide .tl-things__more-toggle:is(:hover, :focus, :active) { background: transparent; box-shadow: none; color: var(--tl-navy); }
.tl-guide .tl-things__more-toggle:hover { color: var(--tl-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tl-guide .tl-things__more-toggle:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: -2px; }
.tl-guide .tl-things__more-body { padding: 12px 14px 14px; border-radius: 8px; background: var(--tl-wash); }
:is(.tl-guide, .tl-things-sheet) .tl-things__more-text { margin: 0; color: var(--tl-body); font-size: 14px; line-height: 1.6; }
:is(.tl-guide, .tl-things-sheet) .tl-things__more-text + .tl-things__tips { margin-top: 10px; }
:is(.tl-guide, .tl-things-sheet) .tl-things__tips-title { margin: 0; color: var(--tl-navy); font-size: 13px; font-weight: 700; line-height: 1.4; }
:is(.tl-guide, .tl-things-sheet) .tl-things__tips-list { margin: 4px 0 0; padding: 0 0 0 1.2em; color: var(--tl-body); font-size: 14px; line-height: 1.5; list-style: disc; }
:is(.tl-guide, .tl-things-sheet) .tl-things__tips-list > li { margin: 2px 0 0; padding: 0; }

/* Further reading. */
.tl-guide .tl-reading__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
@media (min-width: 1024px) {
	.tl-guide .tl-reading__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.tl-guide .tl-reading__item { display: flex; min-width: 0; }
.tl-guide .tl-reading__link {
	display: flex;
	flex: 1 1 auto;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--tl-line);
	border-radius: var(--tl-radius-card);
	background: var(--tl-white);
	color: var(--tl-body);
	text-decoration: none;
	transition: border-color 0.15s ease;
}
.tl-guide .tl-reading__link:is(:hover, :focus, :active, :visited) { color: var(--tl-body); text-decoration: none; }
.tl-guide .tl-reading__link:hover { border-color: var(--tl-teal-bright); }
.tl-guide .tl-reading__link:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-guide .tl-reading__badge { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--tl-teal-soft); color: var(--tl-teal-hover); font-size: 13px; font-weight: 800; line-height: 1; letter-spacing: 0.04em; }
.tl-guide .tl-reading__text { display: flex; flex-direction: column; min-width: 0; }
.tl-guide .tl-reading__name { color: var(--tl-navy); font-size: 16px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.tl-guide .tl-reading__link:hover .tl-reading__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tl-guide .tl-reading__line { margin-top: 2px; color: var(--tl-body); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.tl-guide .tl-reading__host { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--tl-teal-hover); font-size: 13px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.tl-guide .tl-reading__host .tl-icon { flex: none; width: 14px; height: 14px; stroke-width: 2.2; transform: rotate(45deg); } /* arrow-up turned to ↗ */
/* 0.24.320 link previews (a.tl-reading__link--preview.--img-above / --img-below > span.tl-reading__media >
   img.tl-reading__img 600 x 314): the same card, the image across its full width (to the border, the
   card radius on its outer corners, as the Things cards' photos), 1.91:1 from its width / height
   attributes plus aspect-ratio, so nothing shifts when it loads. Badge and text keep today's row under
   (above) or over (below) it. In a row of cards (3 across from 1024, the items stretch) "above" images
   sit at the top and "below" images at the foot, so images line up across the row; the text takes the
   rest. Cards without a preview are unchanged. */
/* 0.24.326 (PLAN-funnel-reading-image.md, Daniel): a card that prints a preview image has no badge (li.tl-reading__item--preview),
   so it is one column: the image across the card, the text block the card's full width inside the 16px padding (the
   same 16px the standard card keeps on every side). Standard cards (badge + text) are untouched. */
.tl-guide .tl-reading__link--preview { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; padding: 0; overflow: hidden; }
.tl-guide .tl-reading__link--img-below { grid-template-rows: minmax(0, 1fr) auto; }
.tl-guide .tl-reading__link--preview > .tl-reading__media { display: block; grid-column: 1 / -1; aspect-ratio: 600 / 314; overflow: hidden; background: var(--tl-wash); }
.tl-guide .tl-reading__link--preview .tl-reading__img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover; }
.tl-guide .tl-reading__link--preview > .tl-reading__text { margin: 16px; }

/* 768-1023: the guide card is 600px inside: two columns of cards. */
@media (min-width: 768px) and (max-width: 1023px) {
	.tl-guide .tl-things__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* Phones: one sideways row (snap), bleeding to the screen edges; the chips scroll the same way. */
@media (max-width: 767px) {
	.tl-guide :is(.tl-things, .tl-reading) { margin-top: 40px; }
	.tl-guide :is(.tl-things__title, .tl-reading__title) { font-size: 21px; }
	.tl-guide :is(.tl-things__chips, .tl-things__list) {
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-padding-inline: 16px;
		scrollbar-width: none;
	}
	.tl-guide :is(.tl-things__chips, .tl-things__list)::-webkit-scrollbar { display: none; }
	.tl-guide .tl-things__chips { flex-wrap: nowrap; padding-top: 5px; padding-bottom: 5px; margin-top: 11px; } /* room for the chips' 44px hit area inside the scroller */
	.tl-guide .tl-things__chip { flex: none; }
	.tl-guide .tl-things__chips + .tl-things__list { margin-top: 11px; }
	.tl-guide .tl-things__list {
		display: grid;
		grid-auto-columns: min(80%, 320px);
		grid-auto-flow: column;
		grid-template-columns: none;
		gap: 12px;
		padding-bottom: 4px;
		scroll-snap-type: x mandatory;
	}
	.tl-guide .tl-things__card { scroll-snap-align: start; }
	.tl-guide .tl-things__card-title { font-size: 17px; }
	.tl-guide .tl-reading__badge { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.tl-guide :is(.tl-things__chip, .tl-things__card, .tl-things__add, .tl-things__more-toggle, .tl-reading__link) { transition: none; }
}

/* The phone sheet (funnel.js, appended to <body>, so outside .tl-guide: it restates the font and resets). */
body.tl-things-sheet-open { overflow: hidden; }
.tl-things-sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; font-family: var(--tl-font); }
.tl-things-sheet[hidden] { display: none; }
.tl-things-sheet *, .tl-things-sheet *::before, .tl-things-sheet *::after { box-sizing: border-box; }
.tl-things-sheet :where(p, ul, li) { margin: 0; padding: 0; }
.tl-things-sheet .tl-things-sheet__backdrop { position: absolute; inset: 0; background: var(--tl-overlay); }
.tl-things-sheet .tl-things-sheet__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 560px;
	max-height: calc(100dvh - 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
	border-radius: var(--tl-radius-card) var(--tl-radius-card) 0 0;
	background: var(--tl-white);
	color: var(--tl-body);
	animation: tl-pass-fade-in 0.2s ease-out;
}
.tl-things-sheet .tl-things-sheet__media { position: relative; aspect-ratio: 16 / 9; margin: 0 -16px; overflow: hidden; background: var(--tl-wash); }
.tl-things-sheet .tl-things-sheet__media img { display: block; width: 100%; height: 100%; max-width: none; margin: 0; border-radius: 0; object-fit: cover; }
.tl-things-sheet .tl-things-sheet__media:empty { display: none; }
.tl-things-sheet .tl-things-sheet__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tl-white);
	box-shadow: var(--tl-shadow-pop);
	color: var(--tl-navy);
	font-family: inherit;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}
.tl-things-sheet .tl-things-sheet__close:hover { background: var(--tl-teal-soft); color: var(--tl-teal-hover); }
.tl-things-sheet .tl-things-sheet__close:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-things-sheet .tl-things-sheet__where { margin-top: 16px; color: var(--tl-teal-hover); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; }
.tl-things-sheet .tl-things-sheet__title { margin-top: 4px; padding-right: 0; color: var(--tl-navy); font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tl-things-sheet .tl-things-sheet__where[hidden] + .tl-things-sheet__title { margin-top: 16px; }
.tl-things-sheet .tl-things-sheet__body { margin-top: 10px; }
.tl-things-sheet .tl-things-sheet__body > .tl-things__more-text { font-size: 15px; }
.tl-things-sheet .tl-things-sheet__body > .tl-things__tips { margin-top: 12px; padding: 12px 14px 14px; border-radius: 8px; background: var(--tl-wash); }
.tl-things-sheet :is(.tl-things-sheet__add, .tl-things-sheet__go) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: var(--tl-control-h);
	margin: 0;
	padding: 0 20px;
	border: 1.5px solid var(--tl-teal);
	border-radius: var(--tl-radius-btn);
	box-shadow: none;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.tl-things-sheet .tl-things-sheet__add { margin-top: 16px; background: var(--tl-white); color: var(--tl-teal); }
.tl-things-sheet .tl-things-sheet__add:is(:hover, :focus) { border-color: var(--tl-teal); background: var(--tl-teal-soft); color: var(--tl-teal-hover); }
.tl-things-sheet .tl-things-sheet__add.is-added { border-color: var(--tl-success); background: var(--tl-success-soft); color: var(--tl-success); }
.tl-things-sheet .tl-things-sheet__go { margin-top: 10px; background: var(--tl-teal); color: var(--tl-white); }
.tl-things-sheet .tl-things-sheet__go:is(:hover, :focus, :active, :visited) { color: var(--tl-white); text-decoration: none; }
.tl-things-sheet .tl-things-sheet__go:hover { border-color: var(--tl-teal-hover); background: var(--tl-teal-hover); }
.tl-things-sheet .tl-things-sheet__go .tl-icon { flex: none; width: 18px; height: 18px; }
.tl-things-sheet :is(.tl-things-sheet__add, .tl-things-sheet__go):focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.tl-things-sheet .tl-things-sheet__panel { animation: none; }
}

/* ---- end D ---- */

/* ==========================================================================
   E. The posted page: /post/?extras=1 (decision #75 step 3; Rework R3, PLAN-form-shorten.md §12-§13,
      18 Oct). Markup: templates/traveller-extras.php header. "My tracker, first time": the tracker's
      own page (div.tl-app.tl-tracker.tl-tracker--v2.tl-tracker--v3.tl-tracker--posted.tl-extras), so
      the frame, the trip card, the timeline and the help card are B2/B11-B13's, unchanged. This
      section adds the posted head and the "Help agents get it right" card (form.tl-card.tl-extras-card).
      Fields, chips, labels, help, errors and the honeypot are the form's (A5, A6, triplead.css 2b/3b/3e
      reach .tl-extras through their :is() lists). The 0.24.40 /post/-shell rules are gone.
      Expired: div.tl-tracker.tl-tracker--not-found.tl-extras--expired > section.tl-status-panel = B8.
   ========================================================================== */
/* Resets only inside the extras card, so the trip and help cards match the tracker exactly. */
.tl-extras .tl-extras-card :where(p, h2, h3, dl, dd) { margin: 0; }
.tl-extras fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tl-extras legend { float: none; width: auto; margin: 0; padding: 0; border: 0; }

/* Posted head, above the layout: the tick disc beside the title, the sent line, "Open my tracker".
   Title 32/800 (26 on phones): the tracker's state-panel title (B7c). Tick 48: the closed tick (B7c). */
.tl-tracker.tl-tracker--posted .tl-tracker-posted-head {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: start;
	column-gap: 16px;
	margin-bottom: 24px;
}
.tl-tracker.tl-tracker--posted .tl-tracker-posted-head > :not(.tl-extras-tick) { grid-column: 2; }
.tl-extras .tl-extras-tick {
	display: flex;
	grid-row: 1 / span 3;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tl-success-soft);
	color: var(--tl-success);
}
.tl-extras .tl-extras-tick .tl-icon { width: 24px; height: 24px; stroke-width: 2.4; }
.tl-tracker.tl-tracker--posted .tl-tracker-posted-title { margin: 4px 0 0; font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--tl-navy); overflow-wrap: anywhere; }
.tl-tracker.tl-tracker--posted .tl-tracker-posted-sent { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--tl-body); }
/* The full address, any length: it wraps after "@" and before dots (.tl-email, triplead.css 3, 80e)
   rather than widening the page. */
.tl-extras .tl-extras-email { color: var(--tl-navy); font-weight: 600; }
/* "Open my tracker" (a.tl-link > span + svg): the tracker's "About this agent" link (B12f): teal-hover
   600 15px, the label underlined on hover, a 16px arrow, a 44px target pulled into the spacing. */
.tl-tracker.tl-tracker--posted .tl-extras-tracker { margin: 2px 0 0; }
.tl-tracker.tl-tracker--posted .tl-link.tl-extras-tracker-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-bottom: -10px;
	color: var(--tl-teal-hover);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.tl-tracker.tl-tracker--posted .tl-link.tl-extras-tracker-link:hover > span:first-child { text-decoration: underline; text-underline-offset: 2px; }
.tl-tracker.tl-tracker--posted .tl-extras-tracker-link .tl-icon { width: 16px; height: 16px; }

/* "Help agents get it right": a tracker card (B2 .tl-card: white, line, 16px radius) in the main
   column under the timeline, 28 / 32 inside. H2 23/800 (21 on phones), the body section H2 size. */
.tl-tracker .tl-card.tl-extras-card { margin: 4px 0 0; padding: 28px 32px 32px; }
.tl-extras .tl-extras-heading { font-size: 23px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; color: var(--tl-navy); }
.tl-extras .tl-extras-intro { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--tl-body); }
/* The general error: /post/'s alert (A3). */
.tl-extras .tl-extras-alert {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--tl-danger-soft);
	color: var(--tl-danger);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

/* "Already in your plan": a plain label (STYLE-CHECKLIST §2 in-card label: 13 / 700 / 0.16em capitals,
   mute on white) over the label / value list (§6: label 14 mute, value navy), under a line. */
.tl-extras .tl-extras-had { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--tl-line); }
.tl-extras .tl-extras-had-title { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tl-mute); }
.tl-extras .tl-extras-had-list { display: grid; gap: 10px; margin-top: 10px; }
.tl-extras .tl-extras-had-row { min-width: 0; }
.tl-extras .tl-extras-had-row dt { font-size: 14px; line-height: 1.4; color: var(--tl-mute); }
.tl-extras .tl-extras-had-row dd { margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--tl-navy); overflow-wrap: anywhere; }

/* Groups: a legend (A5's label: 16/600 navy, 8px to the control; the "(pick any)" hint 400 mute) over
   A6's chips; 24px between groups = /post/'s gap between fields. */
.tl-extras .tl-extras-group { min-width: 0; margin-top: 24px; }
.tl-extras .tl-extras-legend { display: block; margin: 0 0 8px; padding: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--tl-navy); }
.tl-extras .tl-extras-legend .tl-optional { font-weight: 400; color: var(--tl-mute); }
/* No width change on tick (Daniel, 27 Oct, decision #85 §12): A6's checked chip is 700 against 500
   unticked, so ticking changed a chip's width by up to 6px and pushed its row along ("What kind of adventure?",
   Trip style and every other chip group here). In the extras card the ticked chip keeps 500; the tint,
   teal border and teal-hover text still mark it. Locked chips (600) are never toggled, so they are left
   out. (0,5,0) beats A6's checked rule (0,4,0). The /post/ form keeps A6 as it is (same jump, not
   changed here; /plan/{slug}/ funnels share A6 and are out of scope). */
.tl-extras .tl-option--chips:not(.is-locked):is(.is-checked, :has(.tl-option-input:checked)) { font-weight: 500; }
/* Locked chips (already on the plan: checked + disabled; ux-review P1). "Already set", not a live
   choice: a neutral fill and a mute border instead of the teal-soft / teal of a live pick, navy 600
   text (12.9:1 on neutral-soft), a navy tick before the label, the default cursor and no hover.
   (0,4,0), the same as A6's checked rule (its :has() counts (0,2,0)) and later, so it wins. The tick is
   um-forms.css's --tl-i-check mask (that token is scoped to the UM pages, so it is set here too). */
.tl-extras {
	--tl-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.tl-extras .tl-options .tl-option--chips.is-locked,
.tl-extras .tl-options .tl-option--chips.is-locked:hover {
	gap: 6px;
	padding-left: 14px;
	border-color: var(--tl-mute);
	background: var(--tl-neutral-soft);
	color: var(--tl-navy);
	font-weight: 600;
	cursor: default;
}
.tl-extras .tl-options .tl-option--chips.is-locked::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: var(--tl-i-check) center / contain no-repeat;
	mask: var(--tl-i-check) center / contain no-repeat;
}

/* "Where to stay and special requirements": a disclosure row (teal 700, a chevron that turns). The
   label wraps at 360: the chevron stays on the first line and the text wraps beside it; one line =
   12 + 21 + 12 = 45px, two 66px. Its 12px padding + 12px margins keep the 24px rhythm with the groups
   round it. Without the toggle (div.tl-extras-more--open) it is a plain box. */
.tl-extras .tl-extras-more { margin-top: 12px; }
.tl-extras .tl-extras-more-toggle {
	display: inline-flex;
	align-items: flex-start;
	box-sizing: border-box;
	max-width: 100%;
	padding: 12px 0;
	gap: 10px;
	min-height: 44px;
	color: var(--tl-teal);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}
.tl-extras .tl-extras-more-toggle::-webkit-details-marker { display: none; }
.tl-extras .tl-extras-more-toggle::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: none;
	margin: 5px 2px 0;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(-45deg);
	transition: transform 0.15s ease;
}
.tl-extras .tl-extras-more[open] > .tl-extras-more-toggle::before { margin-top: 3px; transform: rotate(45deg); }
.tl-extras .tl-extras-more-toggle:hover { color: var(--tl-teal-hover); text-decoration: underline; }
.tl-extras .tl-extras-more-toggle:focus-visible { outline: 2px solid var(--tl-teal); outline-offset: 2px; border-radius: 4px; }
.tl-extras .tl-extras-more > .tl-extras-group:first-of-type { margin-top: 12px; }
.tl-extras .tl-extras-more--open > .tl-extras-group:first-of-type { margin-top: 0; }
.tl-extras .tl-extras-more:not([open]):not(.tl-extras-more--open) + .tl-extras-group { margin-top: 12px; }

/* The note: label, help (A5), the field skin's textarea (3b) and error (3e). */
.tl-extras .tl-extras-group--extra-note .tl-extras-legend { margin-bottom: 0; }
.tl-extras .tl-extras-group--extra-note .tl-help { margin: 2px 0 8px; }

/* Actions. Phones: Add full width, Skip (outline) full width under it. 768+: a rule, Skip left by
   order, Add right at 220 x 48 (the /post/ footer's slots). Both 16/700, no shadow (STYLE-CHECKLIST §7). */
.tl-extras .tl-extras-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.tl-extras .tl-extras-actions .tl-btn { width: 100%; min-height: var(--tl-control-h); padding: 0 24px; box-shadow: none; font-size: 16px; font-weight: 700; }
.tl-extras .tl-extras-card.is-submitting .tl-extras-actions .tl-btn { opacity: 0.6; cursor: progress; pointer-events: none; }
@media (min-width: 768px) {
	.tl-extras .tl-extras-actions { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--tl-line); }
	.tl-extras .tl-extras-actions .tl-btn { width: auto; }
	.tl-extras .tl-extras-actions .tl-extras-add { order: 2; min-width: 220px; }
	.tl-extras .tl-extras-actions .tl-extras-skip { order: 1; }
}

/* Phones: the page goes white and the cards flat (B12h / B13e); the posted head 26px; the extras
   card flat under a line, as the tracker's flat sections. The expired view is white as not-found (B9). */
@media (max-width: 767px) {
	body.tl-extras-body .tl-slim.tl-traveller .tl-traveller-main:has(> .tl-tracker--posted) {
		padding: 24px var(--tl-form-m-edge, 16px) 40px;
		background: var(--tl-white);
	}
	body.tl-extras-body .tl-slim.tl-traveller .tl-traveller-main:has(> .tl-extras--expired) { background: var(--tl-page-bg); }
	/* Astra's scroll-to-top button sat on the note field: hidden, as on /post/ and the UM pages. */
	body.tl-extras-body #ast-scroll-top { visibility: hidden; pointer-events: none; }
	.tl-tracker.tl-tracker--posted .tl-tracker-posted-head { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; margin-bottom: 28px; }
	.tl-extras .tl-extras-tick { width: 40px; height: 40px; }
	.tl-extras .tl-extras-tick .tl-icon { width: 20px; height: 20px; }
	.tl-tracker.tl-tracker--posted .tl-tracker-posted-title { margin-top: 2px; font-size: 26px; }
	.tl-tracker .tl-card.tl-extras-card { margin: 0; padding: var(--tl-tracker-m-gap) 0 0; border: 0; border-top: 1px solid var(--tl-line); border-radius: 0; background: none; box-shadow: none; }
	.tl-extras .tl-extras-heading { font-size: 21px; }
}

/* Tracker: the status line after Add (p.tl-tracker-extras-status.is-added[role=status], svg +
   span), under "Submitted {date}". The resend line's sent look (B3: 14px, success 600, 18px icon). */
.tl-tracker .tl-tracker-extras-status { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--tl-success); }
.tl-tracker .tl-tracker-extras-status .tl-icon { flex: none; width: 18px; height: 18px; }

/* ==========================================================================
   F. The follow-up feedback page: /feedback/{token}/ and /feedback/{token}/stop/ (decision #77;
      BRIEF-traveller-followups §4, mock Images/followups-mockup.png panel 2). Markup contract: the
      header of templates/followup-page.php (core-dev). In the slim traveller chrome
      (body.tl-traveller-body.tl-followup-body.tl-followup-body--{form|stop|stop-done|expired}).
      Family: the tracker's state panels (B7c / B8): one centred 600px card on the desktop wash, flat
      on a white page on phones (STYLE-CHECKLIST §6). The head is the posted page's (E): a 48px success
      tick, a 32/800 title (26 on phones). Legends are the extras legends (16/600 navy); the agents
      question is /post/'s segmented timing row (A6); the comment is the field skin (triplead.css 3b;
      .tl-followup joins its :is() lists, 2b's [hidden] and honeypot and 3e's error).
      Expired (bad or old link) = the tracker's not-found panel (B8), untouched here except the
      white phone page. Funnel pages are not touched (nothing here reaches .tl-funnel).
   ========================================================================== */
.tl-slim .tl-app.tl-followup { width: 100%; max-width: 600px; margin: 0 auto; padding: 0; }
.tl-followup .tl-fu-card :where(p, h1, h2) { margin: 0; }
.tl-followup fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.tl-followup legend { float: none; width: auto; margin: 0; padding: 0; border: 0; }

/* The card: B8's place (24px under the header line), the tracker card skin (B2: white, line, 16px). */
.tl-followup .tl-card.tl-fu-card { margin: 24px 0 0; padding: 40px 40px 36px; }

/* Head: the tick disc over the title (the mock), then the sub line. The tick = the posted page's (E). */
.tl-followup .tl-fu-tick {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0 0 16px;
	border-radius: 50%;
	background: var(--tl-success-soft);
	color: var(--tl-success);
}
.tl-followup .tl-fu-tick .tl-icon { width: 24px; height: 24px; stroke-width: 2.4; }
.tl-followup .tl-fu-title { font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; color: var(--tl-navy); overflow-wrap: anywhere; }
.tl-followup .tl-fu-sub { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--tl-body); overflow-wrap: anywhere; }

/* The general error: the extras alert (E) = /post/'s. */
.tl-followup .tl-fu-alert {
	margin-top: 20px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--tl-danger-soft);
	color: var(--tl-danger);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}

/* Confirm (the tapped answer, with no JS or before the instant save lands). While it shows it is the
   one primary action, so Send steps down to the outline button (STYLE-CHECKLIST §7: one primary per
   view); once JS hides it ([hidden], 2b) or the page is saved, Send is the primary again. */
.tl-followup .tl-fu-confirm { margin-top: 20px; }
.tl-followup .tl-fu-confirm-btn { width: 100%; }
.tl-followup.is-saved .tl-fu-confirm { display: none; }
.tl-followup:not(.is-saved) .tl-fu-confirm:not([hidden]) ~ .tl-fu-form .tl-fu-send { background: var(--tl-white); color: var(--tl-teal); }
.tl-followup:not(.is-saved) .tl-fu-confirm:not([hidden]) ~ .tl-fu-form .tl-fu-send:is(:hover, :focus) { background: var(--tl-teal-soft); border-color: var(--tl-teal); color: var(--tl-teal-hover); }

/* Groups: 28px under the head, 24px apart (/post/'s field gap). Legend = the extras legend. */
.tl-followup .tl-fu-form { margin-top: 28px; }
.tl-followup .tl-fu-group { min-width: 0; }
.tl-followup .tl-fu-group + .tl-fu-group { margin-top: 24px; }
.tl-followup .tl-fu-legend { display: block; margin: 0 0 8px; padding: 0; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--tl-navy); }
.tl-followup .tl-fu-legend .tl-optional { font-weight: 400; color: var(--tl-mute); }

/* "Did agents get in touch?": /post/'s segmented row (A6 timing row), value for value: one bordered
   48px row of three equal cells, the chosen one teal-soft with a 1.5px inset teal ring and teal-hover
   text; 10px radius (8 on phones). The radio is visually hidden but focusable; the ring is on the
   cell. Chosen without JS through :has(:checked); .is-checked (set by the server and kept in step by
   followup-page.js) only counts with JS or where :has() is missing, so a no-JS change can't leave
   two cells tinted. */
.tl-followup .tl-fu-choices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	background: var(--tl-white);
}
.tl-followup .tl-fu-choice {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: var(--tl-control-h);
	padding: 6px 4px;
	background: var(--tl-white);
	color: var(--tl-navy);
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.tl-followup .tl-fu-choice + .tl-fu-choice { border-left: 1px solid var(--tl-line); }
.tl-followup .tl-fu-choice:first-child { border-radius: 9px 0 0 9px; }
.tl-followup .tl-fu-choice:last-child { border-radius: 0 9px 9px 0; }
.tl-followup .tl-fu-choice-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.tl-followup .tl-fu-choice-label { min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.tl-followup .tl-fu-choice:hover { background: var(--tl-wash); }
.tl-followup .tl-fu-choice:has(.tl-fu-choice-input:checked),
.tl-followup.tl-js .tl-fu-choice.is-checked {
	background: var(--tl-teal-soft);
	box-shadow: inset 0 0 0 1.5px var(--tl-teal);
	color: var(--tl-teal-hover);
}
.tl-followup .tl-fu-choice:has(.tl-fu-choice-input:focus-visible) { z-index: 1; outline: 2px solid var(--tl-teal); outline-offset: 2px; }
.tl-followup .tl-fu-group--agents.has-error .tl-fu-choices { border-color: var(--tl-danger); }
@supports not selector(:has(a)) {
	.tl-followup .tl-fu-choice.is-checked { background: var(--tl-teal-soft); box-shadow: inset 0 0 0 1.5px var(--tl-teal); color: var(--tl-teal-hover); }
	.tl-followup .tl-fu-choice:focus-within { z-index: 1; outline: 2px solid var(--tl-teal); outline-offset: 2px; }
}
@media (forced-colors: active) {
	.tl-followup .tl-fu-choice:has(.tl-fu-choice-input:checked) { outline: 2px solid Highlight; outline-offset: -3px; }
}

/* "How was TripLead?": five gold stars (the mock), each a 44px target. The "★" text is hidden and the
   star is drawn: the span is the edge (--tl-star-edge 5.2:1 when on, --tl-mute 4.6:1 when off) masked to a
   star; its ::before is the fill (--tl-star / --tl-star-off) 3px in. A star is on when it or a later
   star is checked (:has, so it works without JS); .is-on (server + followup-page.js) counts with JS or
   where :has() is missing. Hover (mouse only) previews up to the star under the pointer. Focus: the
   2px teal ring round the 44px cell. */
.tl-followup {
	--tl-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.3 6.9 1-5 4.9 1.2 6.9L12 17.6l-6.2 3.3L7 14 2 9.1l6.9-1z'/%3E%3C/svg%3E");
}
.tl-followup .tl-fu-stars { display: flex; flex-wrap: wrap; gap: 2px; margin-left: -6px; }
.tl-followup .tl-fu-star {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	cursor: pointer;
}
.tl-followup .tl-fu-star-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
.tl-followup .tl-fu-star-icon {
	position: relative;
	display: block;
	width: 32px;
	height: 32px;
	overflow: hidden;
	background-color: var(--tl-mute);
	color: transparent;
	font-size: 0;
	line-height: 0;
	-webkit-mask: var(--tl-i-star) center / contain no-repeat;
	mask: var(--tl-i-star) center / contain no-repeat;
	transition: background-color 0.15s ease;
}
.tl-followup .tl-fu-star-icon::before {
	content: "";
	position: absolute;
	inset: 3px;
	background-color: var(--tl-star-off);
	-webkit-mask: var(--tl-i-star) center / contain no-repeat;
	mask: var(--tl-i-star) center / contain no-repeat;
	transition: background-color 0.15s ease;
}
.tl-followup .tl-fu-star:is(:has(.tl-fu-star-input:checked), :has(~ .tl-fu-star .tl-fu-star-input:checked)) .tl-fu-star-icon,
.tl-followup.tl-js .tl-fu-star.is-on .tl-fu-star-icon { background-color: var(--tl-star-edge); }
.tl-followup .tl-fu-star:is(:has(.tl-fu-star-input:checked), :has(~ .tl-fu-star .tl-fu-star-input:checked)) .tl-fu-star-icon::before,
.tl-followup.tl-js .tl-fu-star.is-on .tl-fu-star-icon::before { background-color: var(--tl-star); }
@media (hover: hover) {
	.tl-followup .tl-fu-stars:hover .tl-fu-star .tl-fu-star-icon { background-color: var(--tl-mute); }
	.tl-followup .tl-fu-stars:hover .tl-fu-star .tl-fu-star-icon::before { background-color: var(--tl-star-off); }
	.tl-followup .tl-fu-stars .tl-fu-star:is(:hover, :has(~ .tl-fu-star:hover)) .tl-fu-star-icon { background-color: var(--tl-star-edge); }
	.tl-followup .tl-fu-stars .tl-fu-star:is(:hover, :has(~ .tl-fu-star:hover)) .tl-fu-star-icon::before { background-color: var(--tl-star); }
}
.tl-followup .tl-fu-star:has(.tl-fu-star-input:focus-visible) { outline: 2px solid var(--tl-teal); outline-offset: 0; }
@supports not selector(:has(a)) {
	.tl-followup .tl-fu-star.is-on .tl-fu-star-icon { background-color: var(--tl-star-edge); }
	.tl-followup .tl-fu-star.is-on .tl-fu-star-icon::before { background-color: var(--tl-star); }
	.tl-followup .tl-fu-star:focus-within { outline: 2px solid var(--tl-teal); outline-offset: 0; }
}
@media (forced-colors: active) {
	.tl-followup .tl-fu-star-icon { forced-color-adjust: none; background-color: CanvasText; }
	.tl-followup .tl-fu-star-icon::before { forced-color-adjust: none; background-color: Canvas; }
	.tl-followup .tl-fu-star:is(:has(.tl-fu-star-input:checked), :has(~ .tl-fu-star .tl-fu-star-input:checked)) .tl-fu-star-icon::before { background-color: Highlight; }
}

/* "Anything we could do better?": the label is a legend look-alike; the textarea is 3b's field skin
   (120px, 10px radius, teal focus ring); the counter 14px mute on the right; the error is 3e's. */
.tl-followup .tl-fu-comment { min-height: 120px; }
.tl-followup .tl-fu-count { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--tl-mute); text-align: right; font-variant-numeric: tabular-nums; }
.tl-followup .tl-fu-group--comment .tl-field-error { margin-top: 2px; }

/* Send: the primary .tl-btn, full width (the mock), 24px under the comment. The privacy line 14px
   mute, centred, 12px under it. One Send: dimmed while the form posts. */
.tl-followup .tl-fu-send { display: flex; width: 100%; margin-top: 24px; }
.tl-followup .tl-fu-form.is-submitting .tl-fu-send { opacity: 0.6; cursor: progress; pointer-events: none; }
.tl-followup .tl-fu-privacy { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--tl-mute); text-align: center; }

/* Expired (S7, Daniel 20 Oct): B8's not-found panel, but with this page's title and sub (32/800, 26 on
   phones; sub 16/1.5), so every /feedback/ state has one title size. STYLE-CHECKLIST §1 exception "card
   state panels". (0,4,0) beats B8's (0,3,0); the tracker's own /t/{bad}/ keeps the page H1. */
.tl-followup.tl-followup--expired .tl-status-panel .tl-tracker-title { font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.tl-followup.tl-followup--expired .tl-status-panel .tl-tracker-sub { font-size: 16px; line-height: 1.5; }

/* Stop and stop-done: a state panel like B7c / B8 (centred copy, 48 / 32 / 40 inside). The stop
   button is the primary .tl-btn at 240px min (the tracker's state actions), full width on phones.
   Done: the tick centred over the title. */
.tl-followup .tl-card.tl-fu-stop { padding: 48px 32px 40px; text-align: center; }
.tl-followup .tl-fu-stop .tl-fu-tick { margin: 0 auto 20px; }
.tl-followup .tl-fu-stop .tl-fu-sub { max-width: 440px; margin-right: auto; margin-left: auto; }
.tl-followup .tl-fu-stop .tl-fu-alert { text-align: left; }
.tl-followup .tl-fu-stop-form { margin-top: 28px; }
.tl-followup .tl-fu-stop-btn { min-width: 240px; }

/* Phones (<=767): flat on a white page in the 16px gutter, as the tracker and the posted page (B9 /
   B12h / E): the main is 12px in, the card 4px more. Title 26, tick 40. Astra's scroll-to-top button
   hidden (it would sit on the comment field), as on /post/ and the extras page. */
@media (max-width: 767px) {
	body.tl-followup-body .tl-slim.tl-traveller .tl-traveller-main { background: var(--tl-page-bg); }
	body.tl-followup-body #ast-scroll-top { visibility: hidden; pointer-events: none; }
	.tl-followup .tl-card.tl-fu-card { margin-top: 0; padding: 12px 4px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
	.tl-followup .tl-fu-tick { width: 40px; height: 40px; margin-bottom: 14px; }
	.tl-followup .tl-fu-tick .tl-icon { width: 20px; height: 20px; }
	.tl-followup .tl-fu-title,
	.tl-followup.tl-followup--expired .tl-status-panel .tl-tracker-title { font-size: 26px; }
	.tl-followup .tl-fu-choices { border-radius: var(--tl-radius-control); }
	.tl-followup .tl-fu-choice:first-child { border-radius: calc(var(--tl-radius-control) - 1px) 0 0 calc(var(--tl-radius-control) - 1px); }
	.tl-followup .tl-fu-choice:last-child { border-radius: 0 calc(var(--tl-radius-control) - 1px) calc(var(--tl-radius-control) - 1px) 0; }
	.tl-followup .tl-card.tl-fu-stop { padding: 12px 4px 0; }
	/* Expired: B8's panel, but on the form's line (36px under the header, STYLE-CHECKLIST §4), not 24px lower. */
	.tl-followup.tl-followup--expired .tl-status-panel { margin-top: 0; }
	.tl-followup .tl-fu-stop-btn { width: 100%; min-width: 0; }
}
/* ---- end F ---- */

/* ==========================================================================
   S. 0.24.307 scheduled release: approved, agents get it at a picked time (PLAN-scheduled-release.md §10).
   Markup: templates/tracker.php div.tl-tracker--v3.tl-tracker--scheduled[data-scheduled="1"] (data-status
   stays "review"), templates/tracker-trip-card.php. No mock: the tracker's own parts, retuned.
   - Badge "Approved" (span.tl-pill.tl-pill-review.tl-pill-scheduled): a positive state, so the "Shared"
     pill's green (--tl-success on --tl-success-soft, 7.3:1), not B6's amber "Being checked". Its dot is a
     ring (2px currentColor, hollow), where Shared's is solid: approved, not out yet.
   - Status line (.tl-trip-card__status--scheduled): B13a's status line as it is, no rule.
   - Step 3 (li.is-current.is-scheduled, "From 8:30am Tuesday 17 November"): upcoming, so neither done
     (filled + tick) nor current (filled ring, pulsing): a dashed teal ring on white with a small teal
     centre (graphic 4.7:1 on white), and no pulse (nothing is happening until that time). The connector
     into it is dashed teal (3px bars, 6px on, 4px off), across from 768 and down on phones (B13e's line
     on the step before). Label and date: B13b's current label and teal date, unchanged.
   (0,4,0)+ through .tl-tracker--v3.tl-tracker--scheduled beats B6 (0,2,x), B5 (0,3,0) and B12e's pulse.
   ========================================================================== */
.tl-tracker.tl-tracker--v3.tl-tracker--scheduled .tl-pill-review.tl-pill-scheduled { background: var(--tl-success-soft); color: var(--tl-success); }
.tl-tracker.tl-tracker--v3.tl-tracker--scheduled .tl-pill-review.tl-pill-scheduled::before { box-sizing: border-box; width: 9px; height: 9px; border: 2px solid currentColor; background: transparent; }
.tl-tracker.tl-tracker--v3.tl-tracker--scheduled .tl-timeline-step.is-scheduled .tl-timeline-dot {
	border: 3px dashed var(--tl-teal);
	box-shadow: none;
	background: radial-gradient(circle, var(--tl-teal) 0 4px, var(--tl-white) 4.5px);
	animation: none;
}
.tl-tracker.tl-tracker--v3.tl-tracker--scheduled .tl-timeline-step.is-scheduled::before { background: repeating-linear-gradient(90deg, var(--tl-teal) 0 6px, transparent 6px 10px); }
@media (max-width: 767px) {
	.tl-tracker.tl-tracker--v3.tl-tracker--scheduled .tl-timeline-step:has(+ .is-scheduled)::after { background: repeating-linear-gradient(180deg, var(--tl-teal) 0 6px, transparent 6px 10px); }
}
/* ---- end S ---- */
