/*
 * Styling for the shared TPX step wizard (assets/js/tpx-wizard.js) --
 * Step 1a/1b, Step 1.5, Step 2, password-claim, and the three standalone
 * utility forms (feedback/delete-request/callback-request) all render
 * through this one stylesheet, since they all share the same
 * `.tpx-wizard` container + renderer.
 *
 * UPDATED v0.6.28 (spec 14.38): this file was deliberately plain since the
 * wizard's first build -- get the flow working/testable first, defer visual
 * design. tpx-start.css/tpx-report.css/tpx-together-walkthrough.css have
 * since established the real TPX brand system (deep magenta #ad1a66, soft
 * pink #fdc1e3/#f420ce stroke, near-white magenta #fbeaf2, 18px card
 * radius, soft shadows, gradient bands, pill buttons). This pass brings the
 * wizard family into that same system, following a direct instruction and
 * an approved visual demo -- see tpx-plugin-spec.md 14.38 for the full
 * before/after writeup.
 *
 * Token aliasing follows the exact convention tpx-start.css documents in
 * its own header comment: declared as --tpx-wiz-* on `.tpx-wizard` itself,
 * NOT reusing the --tpx-primary/--tpx-surface/etc names directly, because
 * `--x: var(--x, fallback)` on the same selector is a cyclic reference that
 * CSS silently resolves to the guaranteed-invalid value. Falls back to the
 * same hardcoded hex tpx-start.css/tpx-report.css use if no site-wide
 * --tpx-primary/etc is ever declared at :root.
 */

.tpx-wizard {
	--tpx-wiz-primary: var(--tpx-primary, #ad1a66);
	--tpx-wiz-primary-dark: var(--tpx-primary-dark, #6b0f3f);
	--tpx-wiz-primary-light: var(--tpx-primary-light, #fbeaf2);
	--tpx-wiz-accent: #f420ce; /* the soft-magenta stroke used on the relationship-type icons' shared zone -- reused deliberately, see .tpx-choice-option-image.is-selected below */
	--tpx-wiz-surface: var(--tpx-surface, #ffffff);
	--tpx-wiz-bg: var(--tpx-bg, #faf6f8);
	--tpx-wiz-text: var(--tpx-text, #241b20);
	--tpx-wiz-text-muted: var(--tpx-text-muted, #746b70);
	--tpx-wiz-border: var(--tpx-border, #eee0e7);
	--tpx-wiz-radius: var(--tpx-radius, 18px);
	--tpx-wiz-radius-sm: var(--tpx-radius-sm, 10px);
	--tpx-wiz-shadow: var(--tpx-shadow, 0 4px 24px rgba(173, 26, 102, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05));
	--tpx-wiz-shadow-lg: var(--tpx-shadow-lg, 0 20px 60px rgba(173, 26, 102, 0.22), 0 4px 12px rgba(0, 0, 0, 0.08));
	--tpx-wiz-font: var(--tpx-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);

	max-width: 640px;
	margin: 0 auto;
	padding: 2.1rem 2.2rem 2rem;
	font-family: var(--tpx-wiz-font);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--tpx-wiz-text);
	background: var(--tpx-wiz-surface);
	border-radius: var(--tpx-wiz-radius);
	box-shadow: var(--tpx-wiz-shadow-lg);
	position: relative;
	overflow: hidden;
}

.tpx-wizard * {
	box-sizing: border-box;
}

/* Gradient top bar echoing the brand-magenta-to-soft-pink sweep used on
   [tpx_start]'s hero collage tint and CTA states. */
.tpx-wizard::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--tpx-wiz-primary), var(--tpx-wiz-accent));
}

/* --- Header: spark mark + form title (renderHeader() in tpx-wizard.js) --- */

.tpx-wizard-header {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.4rem;
}

.tpx-wizard-spark {
	width: 30px;
	height: 24px;
	flex-shrink: 0;
}

.tpx-wizard-eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tpx-wiz-primary);
}

/* --- Progress: gradient fill track + step label ------------------------- */

.tpx-wizard-progress-track {
	height: 8px;
	border-radius: 999px;
	background: var(--tpx-wiz-primary-light);
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.tpx-wizard-progress-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--tpx-wiz-primary), var(--tpx-wiz-accent));
	transition: width 0.25s ease;
}

.tpx-wizard-progress-label {
	font-size: 0.78rem;
	color: var(--tpx-wiz-text-muted);
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.tpx-wizard-page-title {
	margin: 0.6rem 0 0.4rem;
	font-size: 1.35rem;
	color: var(--tpx-wiz-primary-dark);
	letter-spacing: -0.01em;
}

.tpx-wizard-intro {
	color: var(--tpx-wiz-text-muted);
	margin-bottom: 1.5rem;
	font-size: 0.94rem;
}

.tpx-wizard-fields {
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
}

/*
 * Direct-child combinator (`>`), not a plain descendant selector, and
 * deliberately so: this rule is meant to style ONLY the field's own
 * question label (e.g. "Best time to call"), which renderField() appends
 * as a direct child of `.tpx-field`. Every radio/likert/image_choice
 * option is ALSO a `<label>` (renderChoiceGroup()), nested one level
 * deeper inside `.tpx-choice-group` -- a plain `.tpx-field label`
 * descendant selector matches those too, and its specificity (one class +
 * one type selector) beats `.tpx-choice-option-likert`/`-image`'s single
 * class, silently forcing every option label to `display: block` and
 * breaking their own `display: flex` centering rules. This was invisible
 * for plain radio options and the image-choice grid (block-stacked
 * content happens to look almost identical to column-flex there), but
 * broke Likert-scale centering outright -- the 1-10 numbers rendered
 * pinned to the top-left of their circle instead of centered. Restricting
 * this selector to a direct child fixes all of it in one place, since it
 * no longer reaches into `.tpx-choice-group` at all.
 */
.tpx-field > label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.4rem;
	font-size: 0.94rem;
}

/* Required-field asterisk (spec 14.34): now the soft-magenta accent stroke
   rather than the deep-primary magenta, so it reads as a distinct "signal"
   color against the primary-colored buttons/pills around it. Applied via
   appendLabelContent() in tpx-wizard.js, so it reaches every field's own
   question label AND the consent checkbox's label the same way. */
.tpx-required-mark {
	color: var(--tpx-wiz-accent);
	font-weight: 700;
}

.tpx-field input[type="text"],
.tpx-field input[type="email"],
.tpx-field input[type="tel"],
.tpx-field input[type="password"],
.tpx-field textarea {
	width: 100%;
	padding: 0.75rem 0.95rem;
	border: 1.5px solid var(--tpx-wiz-border);
	border-radius: var(--tpx-wiz-radius-sm);
	font-size: 0.98rem;
	font-family: var(--tpx-wiz-font);
	background: var(--tpx-wiz-bg);
	box-sizing: border-box;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.tpx-field input:focus,
.tpx-field textarea:focus {
	outline: none;
	border-color: var(--tpx-wiz-primary);
	background: var(--tpx-wiz-surface);
	box-shadow: 0 0 0 3px rgba(173, 26, 102, 0.12);
}

.tpx-field textarea {
	min-height: 5rem;
	resize: vertical;
}

/* v0.6.39, spec 14.51: direct instruction -- the "My Love Letter To You"
   textarea (class-tpx-form-schemas.php: "{role}_love_letter_text") should be
   at least 3x taller than the generic 5rem textarea above, so it's visually
   obvious a long, freeform letter is expected rather than a short reply.
   Targeted by [name$="_love_letter_text"] rather than a per-field wrapper
   class -- the wizard only ever gives field wrappers a type-level class
   (.tpx-field-textarea, shared by every textarea field), not a per-key one --
   so an attribute selector on the input's own `name` (set 1:1 from
   field.key in tpx-wizard.js) is the only way to single this one field out
   without touching every other textarea (feedback message, mirror-exercise
   fields, "other" desire fields, etc). Matches both roles' keys
   (initiator_love_letter_text / partner_love_letter_text) via the
   ends-with selector. */
textarea[name$="_love_letter_text"] {
	min-height: 15rem;
}

/* Spec 14.66, direct instruction: live "Characters Left"/"Lines Left"
   counters under the love-letter textarea (assets/js/tpx-wizard.js's
   renderLoveLetterCounters()/updateLoveLetterCounters()), reflecting
   TPX_Love_Letter_PDF's real single-page capacity. Small, muted, and
   side-by-side by default (matches .tpx-field-help's own quiet treatment
   right below it) so this reads as a helpful status line, not a warning,
   until a visitor is actually close to the limit. */
.tpx-love-letter-counters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	margin: 0.4rem 0 0;
	font-size: 0.85rem;
}

.tpx-love-letter-counter {
	color: var(--tpx-wiz-text-muted);
	transition: color 0.15s ease;
}

/* Once either figure is down to a handful, switch to the same warning
   color this file's .tpx-wizard-error already uses -- a visitor should
   notice they're near the edge before they actually hit it. */
.tpx-love-letter-counter.is-low {
	color: #b00020;
	font-weight: 600;
}

/* A brief flash on the counters row itself when a keystroke/paste gets
   rejected for not fitting -- the textarea's own value silently reverts
   (see wireLoveLetterLimit()), so without this a visitor who pastes too
   much text would see nothing happen at all and might just retry the same
   paste. Re-triggerable on back-to-back rejections (the JS forces a
   reflow before re-adding this class) rather than only ever animating once. */
@keyframes tpx-love-letter-counters-flash {
	0%, 100% { background: transparent; }
	30% { background: #fdecef; }
}

.tpx-love-letter-counters-flash {
	animation: tpx-love-letter-counters-flash 0.6s ease;
	border-radius: var(--tpx-wiz-radius-sm);
}

/* Password show/hide toggle (spec 14.34) -- a small text button floated
   inside the input's own right edge, rather than a separate element beside
   it, so it doesn't disturb the field's existing width:100% layout above.
   wrapPasswordField() in tpx-wizard.js builds this structure; the input's
   `type` toggles between "password" and "text" on click, which the
   `input[type="password"]` rule above already styles identically to
   `input[type="text"]`, so nothing visually jumps when it toggles. */
.tpx-password-field {
	position: relative;
}

.tpx-password-field input {
	padding-right: 4.2rem;
}

.tpx-password-toggle {
	position: absolute;
	top: 50%;
	right: 0.45rem;
	transform: translateY(-50%);
	background: var(--tpx-wiz-primary-light);
	border: none;
	border-radius: 999px;
	color: var(--tpx-wiz-primary-dark);
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	padding: 0.35rem 0.7rem;
}

.tpx-password-toggle:hover {
	background: #f6d8e6;
}

/* Consent checkbox -- kept as a plain checkbox+text row (not a pill, unlike
   the radio/likert/image choice groups below), but promoted to its own
   soft card so it doesn't read as an afterthought at the bottom of a page
   full of pill buttons. */
.tpx-field-consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-weight: 500;
	background: var(--tpx-wiz-bg);
	border: 1px solid var(--tpx-wiz-border);
	border-radius: var(--tpx-wiz-radius-sm);
	padding: 0.9rem 1rem;
	font-size: 0.9rem;
}

.tpx-field-consent input[type="checkbox"] {
	margin-top: 0.2rem;
	accent-color: var(--tpx-wiz-primary);
	flex-shrink: 0;
}

/* --- Choice groups -------------------------------------------------------
 * Three variants share `.tpx-choice-option`: plain radio (gender,
 * short/full, etc.), likert (1-10 numbered circles), and image_choice (the
 * relationship-type picker). All three now get pill/card treatment with a
 * shared `.is-selected` state (renderChoiceGroup() in tpx-wizard.js applies
 * it uniformly as of v0.6.28) rather than only the image/likert variants
 * having one.
 */

.tpx-choice-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.tpx-choice-option {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--tpx-wiz-border);
	border-radius: 999px;
	padding: 0.55rem 1.15rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--tpx-wiz-text);
	background: var(--tpx-wiz-bg);
	cursor: pointer;
	transition: all 0.15s ease;
}

.tpx-choice-option:hover {
	border-color: var(--tpx-wiz-primary);
}

.tpx-choice-option.is-selected {
	background: var(--tpx-wiz-primary);
	border-color: var(--tpx-wiz-primary);
	color: #fff;
	box-shadow: var(--tpx-wiz-shadow);
}

/* The native radio input for a plain choice option stays in the DOM (not
   display:none) so keyboard focus and screen readers still see a real
   radio group -- just visually collapsed, since the pill's own
   background/border now carries the selected state. Same technique the
   image/likert variants already used before this round. */
.tpx-choice-option-radio-input,
.tpx-choice-option-likert-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tpx-choice-group-likert {
	gap: 0.4rem;
}

.tpx-choice-option-likert {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border-radius: 50%;
	font-size: 0.9rem;
}

.tpx-choice-option-likert.is-selected {
	background: var(--tpx-wiz-primary);
	border-color: var(--tpx-wiz-primary);
	color: #fff;
}

.tpx-wizard-links {
	margin: 0.5rem 0 1.25rem;
}

.tpx-wizard-links a {
	color: var(--tpx-wiz-primary);
	font-weight: 600;
}

.tpx-wizard-attribution {
	margin: 1rem 0 0;
	font-size: 0.78rem;
	font-style: italic;
	color: var(--tpx-wiz-text-muted);
}

.tpx-choice-group-images {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 0.85rem;
	width: 100%;
}

/* Direct instruction: 50% larger images on the relationship-type picker
   specifically (field.large_images -- see TPX_Form_Schemas::relationship_type_field()
   and renderChoiceGroup()'s handling of it), not every image_choice field --
   the Step 2 love-letter design picker shares .tpx-choice-group-images and
   must keep its existing size. Both the column minimum and the image's own
   cap are scaled by the same 1.5x (130px->195px, 160px->240px) so tiles grow
   in proportion rather than just the image overflowing its old tile size. */
.tpx-choice-group-images-lg {
	grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
}

.tpx-choice-group-images-lg .tpx-choice-option-image img {
	max-width: 240px;
}

.tpx-choice-option-image {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 0.6rem 0.6rem;
	border: 2px solid var(--tpx-wiz-border);
	border-radius: var(--tpx-wiz-radius-sm);
	background: var(--tpx-wiz-bg);
	text-align: center;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.tpx-choice-option-image:hover {
	border-color: var(--tpx-wiz-accent);
	transform: translateY(-2px);
}

/* Selection ring reuses --tpx-wiz-accent (#f420ce) -- the same stroke color
   already baked into these icons' own "shared zone" circle (see
   TPX_Form_Schemas::relationship_type_field()'s SVGs), so the selected
   state reads as part of the icon set rather than a generic UI overlay. */
.tpx-choice-option-image.is-selected {
	border-color: var(--tpx-wiz-accent);
	background-color: var(--tpx-wiz-primary-light);
	box-shadow: var(--tpx-wiz-shadow);
}

.tpx-choice-option-image img {
	width: 100%;
	max-width: 160px;
	height: auto;
	border-radius: 4px;
}

.tpx-choice-option-caption {
	font-size: 0.85rem;
	font-weight: 600;
}

/* The radio input for an image choice stays in the DOM (not display:none)
   so keyboard focus and screen readers still see a real radio group --
   just visually collapsed since the image + border already communicate
   selection state. */
.tpx-choice-option-image-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tpx-field-help {
	font-size: 0.85rem;
	color: var(--tpx-wiz-text-muted);
	margin: 0.4rem 0 0;
}

.tpx-field-display {
	padding: 0.5rem 0;
	color: var(--tpx-wiz-text);
}

.tpx-wizard-error {
	color: #7a0d1e;
	font-weight: 600;
	font-size: 0.9rem;
	background: #fdecef;
	border: 1px solid #f3c6cf;
	border-left: 4px solid #b00020;
	border-radius: var(--tpx-wiz-radius-sm);
	padding: 0.75rem 0.9rem;
}

.tpx-wizard-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.tpx-wizard-nav-spacer {
	width: 1px; /* keeps the step dots centered on page 1, where Back isn't rendered */
}

.tpx-wizard-step-dots {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.tpx-wizard-step-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tpx-wiz-border);
}

.tpx-wizard-step-dot.is-done {
	background: var(--tpx-wiz-accent);
}

.tpx-wizard-step-dot.is-current {
	background: var(--tpx-wiz-primary);
	width: 18px;
	border-radius: 999px;
}

.tpx-wizard-nav button {
	font-family: var(--tpx-wiz-font);
	font-size: 0.95rem;
	cursor: pointer;
	border: none;
	/* v0.6.39, spec 14.51: Next/Back render underlined in some themes --
	   the theme's own link/button styling can out-specificity a bare
	   `button` element selector. !important guarantees this never happens
	   regardless of what the active theme does. */
	text-decoration: none !important;
}

.tpx-wizard-next {
	background: linear-gradient(120deg, var(--tpx-wiz-primary), var(--tpx-wiz-primary-dark));
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	padding: 0.75rem 1.6rem;
	box-shadow: var(--tpx-wiz-shadow);
	transition: transform 0.1s ease, box-shadow 0.15s ease;
}

.tpx-wizard-next:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: var(--tpx-wiz-shadow-lg);
}

.tpx-wizard-next:disabled {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

.tpx-wizard-back {
	background: none;
	color: var(--tpx-wiz-text-muted);
	font-weight: 600;
	padding: 0.75rem 0.25rem;
}

.tpx-wizard-back:hover {
	color: var(--tpx-wiz-primary);
}

.tpx-wizard-complete {
	text-align: center;
	font-size: 1.1rem;
	color: var(--tpx-wiz-primary-dark);
	font-weight: 600;
	padding: 2rem 0;
}

/* v0.6.41, spec 14.56: the live countdown notice tpx-wizard.js's
   onSuccess() renders under .tpx-wizard-complete before a
   redirectUrlTemplate reload -- deliberately quieter than the success
   message above it (muted, smaller, no top padding of its own) since it's
   a secondary "here's what's about to happen" line, not the headline. */
.tpx-wizard-redirect-notice {
	text-align: center;
	font-size: 0.92rem;
	color: var(--tpx-wiz-text-muted);
	margin: -1.25rem 0 1.5rem;
}

/* Progressive-reveal "Add another" button (spec 14.33) -- e.g. Step 1a's
   "Your Passions" page, where only the mandatory first field shows by
   default and the rest are revealed one at a time on request. Filled
   soft-magenta rather than a bare dashed outline (spec 14.38) -- the
   interaction is unchanged, it's just given enough visual weight next to
   the new pill buttons/cards around it that it doesn't get missed. */
.tpx-field-add-another {
	margin: 0.25rem 0 0.25rem;
}

.tpx-wizard-add-another {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1.05rem;
	border-radius: 999px;
	border: 1.5px dashed var(--tpx-wiz-primary);
	background: var(--tpx-wiz-primary-light);
	color: var(--tpx-wiz-primary-dark);
	font-size: 0.86rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
}

.tpx-wizard-add-another::before {
	content: "+";
	font-weight: 800;
}

.tpx-wizard-add-another:hover {
	background: #f6d8e6;
}

@media (max-width: 600px) {
	.tpx-wizard {
		padding: 1.6rem 1.3rem 1.5rem;
	}
}

/* v0.6.83 (BLD-006, DEC-017): the WhatsApp offer on the Step 1a/1b
   confirmation screens -- the same block the emails carry (map §7): brand
   colour on a soft tint, one button, no images. Rendered only for a person
   who isn't opted in. */
.tpx-wizard .tpx-wa-offer {
	margin: 0 auto 1.5rem;
	max-width: 520px;
	padding: 1.1rem 1.25rem 1.2rem;
	background: var(--tpx-wiz-primary-light);
	border-left: 4px solid var(--tpx-wiz-primary);
	border-radius: var(--tpx-wiz-radius-sm);
	text-align: left;
	box-sizing: border-box;
}
.tpx-wizard .tpx-wa-offer-heading {
	margin: 0 0 0.3rem;
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--tpx-wiz-primary-dark);
}
.tpx-wizard .tpx-wa-offer-text {
	margin: 0 0 0.9rem;
	font-size: 0.94rem;
	line-height: 1.5;
	color: var(--tpx-wiz-text);
}
.tpx-wizard .tpx-wa-offer-btn {
	display: inline-block;
	padding: 0.7rem 1.35rem;
	border-radius: 999px;
	background: var(--tpx-wiz-primary);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none !important;
	line-height: 1.2;
}
.tpx-wizard .tpx-wa-offer-btn:hover,
.tpx-wizard .tpx-wa-offer-btn:focus-visible {
	background: var(--tpx-wiz-primary-dark);
}
.tpx-wizard .tpx-wa-offer-btn:focus-visible {
	outline: 3px solid var(--tpx-wiz-primary);
	outline-offset: 2px;
}
.tpx-wizard .tpx-wa-offer-foot {
	margin: 0.75rem 0 0;
	font-size: 0.8rem;
	color: var(--tpx-wiz-text-muted);
}

/* v0.6.84 (DEC-042): the end-of-Step-1a message leads the confirmation
   screen -- a readable paragraph rather than a centred headline. */
.tpx-wizard .tpx-wizard-complete--step1a {
	max-width: 520px;
	margin: 0 auto 1.5rem;
	padding: 1.75rem 0 0;
	text-align: left;
	font-size: 1.05rem;
	line-height: 1.6;
	font-weight: 400;
	color: var(--tpx-wiz-text);
}
.tpx-wizard .tpx-wizard-complete--step1a strong {
	color: var(--tpx-wiz-primary-dark);
	font-weight: 700;
}
.tpx-wizard .tpx-wizard-complete--failed {
	padding: 1rem 1.15rem;
	margin-top: 1.5rem;
	background: #fff7e6;
	border-left: 4px solid #b26a00;
	border-radius: var(--tpx-wiz-radius-sm);
}
/* v0.6.84 (DEC-038): the longer explanation under the WhatsApp button. */
.tpx-wizard .tpx-wa-offer-foot {
	font-size: 0.86rem;
	line-height: 1.55;
}
.tpx-wizard .tpx-wa-offer-foot strong { color: var(--tpx-wiz-text); }

/* v0.6.91 (BLD-012 Part 1): the Practitioner Agreement in full, in a
   scrolling box above "I have read and accept the Practitioner Agreement". */
.tpx-agreement-box {
	max-height: 320px;
	overflow-y: auto;
	margin: 0 0 14px;
	padding: 14px 18px;
	border: 1px solid var(--tpx-border, #eee0e7);
	border-radius: 10px;
	background: #fcf8fa;
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--tpx-text, #241b20);
}
.tpx-agreement-box:focus {
	outline: 2px solid var(--tpx-primary, #ad1a66);
	outline-offset: 2px;
}
.tpx-agreement-box-title {
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--tpx-primary-dark, #6b0f3f);
}
.tpx-agreement-box-body p,
.tpx-agreement-box-body ul,
.tpx-agreement-box-body ol {
	margin: 0 0 0.8em;
}
.tpx-agreement-box-body ul,
.tpx-agreement-box-body ol {
	padding-left: 1.3em;
}
