/* Mattress Finder: the quiz (the shared design system of plan 060 §4.2 and the `steps` style). Theme override points are
   the --wmf-* variables. Everything is scoped under .wmf-root; layouts follow the width of the column the quiz sits in
   (container queries), so the same page works in a theme's narrow column and on a full-width quiz page. */
.wmf-root {
	--wmf-accent: #DB3340;
	--wmf-on-accent: #FFFFFF;
	--wmf-accent-ink: #B52632;
	--wmf-ink: #1F2937;
	--wmf-muted: #6B7280;
	--wmf-line: #E6E8EC;
	--wmf-pale: #FDECEE;
	--wmf-bg: #F7F7F8;
	--wmf-card: #FFFFFF;
	--wmf-radius: 10px;
	--wmf-btn-radius: var(--wmf-radius);
	--wmf-font: inherit;
	--wmf-heading-font: var(--wmf-font);
	--wmf-z: 9993;
	--wmf-ok: #1F7A44;
	--wmf-panel-radius: calc(var(--wmf-radius) + 6px);
	container: wmf / inline-size;
	box-sizing: border-box;
	max-width: 100%;
	font-family: var(--wmf-font);
	color: var(--wmf-ink);
	line-height: 1.5;
	text-align: left;
}
.wmf-theme-night {
	--wmf-accent: #DB3340;
	--wmf-accent-ink: #F87171;
	--wmf-ink: #F9FAFB;
	--wmf-muted: #C3C8D0;
	--wmf-line: #374151;
	--wmf-pale: #2A3443;
	--wmf-bg: #111827;
	--wmf-card: #1F2937;
	--wmf-ok: #6EE7A0;
}
.wmf-theme-calm {
	--wmf-accent: #3E5C76;
	--wmf-accent-ink: #3E5C76;
	--wmf-ink: #1E293B;
	--wmf-muted: #5B6B7D;
	--wmf-line: #D6DEE7;
	--wmf-pale: #E4EBF2;
	--wmf-bg: #EEF2F6;
}
.wmf-theme-warm {
	--wmf-accent: #3A3430;
	--wmf-accent-ink: #3A3430;
	--wmf-ink: #2B2622;
	--wmf-muted: #6F6359;
	--wmf-line: #E3D7C6;
	--wmf-pale: #EFE4D4;
	--wmf-bg: #F4EDE3;
	--wmf-card: #FFFCF7;
}
.wmf-theme-theme {
	--wmf-accent: var(--wp--preset--color--primary, #DB3340);
}
.wmf-theme-theme,
.wmf-theme-custom {
	--wmf-accent-ink: var(--wmf-accent);
}
@supports (color: color-mix(in srgb, red, blue)) {
	.wmf-theme-theme,
	.wmf-theme-custom {
		--wmf-pale: color-mix(in srgb, var(--wmf-accent) 7%, var(--wmf-card));
	}
	.wmf-theme-custom {
		--wmf-muted: color-mix(in srgb, var(--wmf-ink) 72%, var(--wmf-card));
	}
}
.wmf-shape-pill {
	--wmf-btn-radius: 999px;
}
.wmf-shape-square {
	--wmf-btn-radius: 0;
}
.wmf-root *,
.wmf-root *::before,
.wmf-root *::after {
	box-sizing: border-box;
}
/* Reset what a theme's content column styles (".entry-content p, ul, button, input, h2 …"). */
.wmf-root :is(h1, h2, h3, p, ul, ol, li, fieldset, legend, form, figure) {
	margin: 0;
	padding: 0;
	border: 0;
	max-width: none;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	color: inherit;
	background: none;
}
.wmf-root :is(button, input) {
	margin: 0;
	box-shadow: none;
	text-shadow: none;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.3;
}
.wmf-root :is(ul, ol) {
	list-style: none;
}
.wmf-root a {
	color: var(--wmf-accent-ink);
}
.wmf-root img,
.wmf-root svg {
	max-width: 100%;
}
.wmf-root[hidden],
.wmf-root [hidden] {
	display: none !important;
}
.wmf-finder {
	max-width: 1180px;
	margin: 0 auto;
	padding: 20px 12px 32px;
	background: var(--wmf-bg);
	border-radius: var(--wmf-radius);
	overflow-wrap: break-word;
}
.wmf-nojs .wmf-start {
	display: none;
}
.wmf-screen {
	animation: wmf-in 0.25s ease-out;
}
@keyframes wmf-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Type. */
.wmf-root .wmf-title {
	margin: 0 0 10px;
	font-family: var(--wmf-heading-font);
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--wmf-ink);
	outline: none;
}
.wmf-root .wmf-lead {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 1.5;
}
.wmf-root .wmf-help,
.wmf-root .wmf-progress {
	margin: 0 0 18px;
	color: var(--wmf-muted);
	font-size: 15px;
}
.wmf-root .wmf-progress {
	margin: 0;
	font-weight: 600;
	font-size: 13px;
}

/* The card every question, the email step and the inbox screen sit in (L7, L10). */
.wmf-root .wmf-panel {
	max-width: 720px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid var(--wmf-line);
	border-radius: var(--wmf-panel-radius);
	background: var(--wmf-card);
	box-shadow: 0 8px 30px rgba(32, 33, 36, 0.06);
}
.wmf-root .wmf-capture,
.wmf-root .wmf-inbox {
	max-width: 600px;
}
.wmf-root .wmf-top {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: -8px 0 20px;
}
.wmf-root .wmf-top .wmf-back {
	align-self: flex-start;
}

/* Progress (L6): a 4 px line, dots, or the words. */
.wmf-meter {
	display: flex;
	gap: 6px;
	height: 4px;
	border-radius: 4px;
	overflow: hidden;
}
.wmf-meter--line {
	background: var(--wmf-line);
}
.wmf-meter i {
	display: block;
	height: 100%;
	border-radius: 4px;
	background: var(--wmf-accent);
	transition: width 0.3s;
}
.wmf-meter--dots i {
	flex: 1;
	background: var(--wmf-line);
}
.wmf-meter--dots i.is-done {
	background: var(--wmf-accent);
}

/* Buttons and links. */
.wmf-root .wmf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	border: 2px solid var(--wmf-accent);
	border-radius: var(--wmf-btn-radius);
	background: var(--wmf-accent);
	color: var(--wmf-on-accent);
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.wmf-root .wmf-btn:hover {
	filter: brightness(0.92);
	color: var(--wmf-on-accent);
}
.wmf-root .wmf-btn:disabled {
	opacity: 0.7;
	cursor: progress;
}
.wmf-root .wmf-btn--lg {
	min-height: 54px;
	padding: 14px 34px;
	font-size: 17px;
}
.wmf-root .wmf-btn--block,
.wmf-root .wmf-next {
	width: 100%;
}
.wmf-root .wmf-btn--ghost {
	background: transparent;
	color: var(--wmf-accent-ink);
}
.wmf-root .wmf-btn--ghost:hover {
	filter: none;
	color: var(--wmf-accent-ink);
	background: var(--wmf-pale);
}
/* Links styled as buttons keep their colours inside a theme's content links (e.g. ".entry-content a"). */
.wmf-finder a.wmf-btn,
.wmf-finder a.wmf-btn:visited,
.wmf-finder a.wmf-btn:hover {
	color: var(--wmf-on-accent);
	text-decoration: none;
}
.wmf-finder a.wmf-btn--ghost,
.wmf-finder a.wmf-btn--ghost:visited,
.wmf-finder a.wmf-btn--ghost:hover {
	color: var(--wmf-accent-ink);
}
.wmf-root :focus-visible {
	outline: 3px solid var(--wmf-accent);
	outline-offset: 2px;
}
.wmf-root .wmf-back,
.wmf-root .wmf-link {
	min-height: 44px;
	padding: 8px 2px;
	border: 0;
	background: none;
	color: var(--wmf-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.wmf-root .wmf-back {
	text-decoration: none;
	font-size: 14px;
}

/* The intro as a hero (L4, L5). Text only without a picture; with one: photo on top on a phone, beside the text wide. */
.wmf-root .wmf-hero {
	display: grid;
	gap: 20px;
	align-items: center;
	padding: 8px 4px 16px;
}
.wmf-hero__media {
	order: -1;
	overflow: hidden;
	border-radius: var(--wmf-panel-radius);
	background: var(--wmf-pale);
}
.wmf-root .wmf-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 200px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.wmf-root .wmf-hero__eyebrow {
	margin: 0 0 10px;
	color: var(--wmf-accent-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.wmf-root .wmf-hero .wmf-title {
	font-size: 34px;
	line-height: 1.08;
	font-weight: 400;
	letter-spacing: -0.02em;
}
.wmf-root .wmf-hero .wmf-lead {
	margin: 12px 0 22px;
	color: var(--wmf-muted);
}
.wmf-root .wmf-hero .wmf-start {
	width: 100%;
}
.wmf-root .wmf-hero__points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
	gap: 10px 8px;
	margin: 24px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--wmf-line);
	font-size: 13px;
	line-height: 1.3;
}
.wmf-root .wmf-hero__points li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.wmf-hero__points li::before,
.wmf-why li::before,
.wmf-confirmed::before,
.wmf-choice[aria-pressed="true"]::after {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--wmf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.wmf-hero__points li::before {
	width: 28px;
	height: 28px;
	background-size: 28px;
}

/* Answer cards (L8). */
.wmf-root .wmf-choices {
	display: grid;
	gap: 10px;
	margin: 0 0 8px;
}
.wmf-root .wmf-choices--icons,
.wmf-root .wmf-choices--many {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wmf-root .wmf-choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	width: 100%;
	padding: 14px 18px;
	border: 2px solid var(--wmf-line);
	border-radius: var(--wmf-radius);
	background: var(--wmf-card);
	color: var(--wmf-ink);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.wmf-root .wmf-choice:hover {
	border-color: var(--wmf-muted);
	background: var(--wmf-card);
	color: var(--wmf-ink);
}
.wmf-root .wmf-choice[aria-pressed="true"] {
	border-color: var(--wmf-accent);
	background: var(--wmf-pale);
	color: var(--wmf-ink);
}
.wmf-choice[aria-pressed="true"]::after {
	position: absolute;
	top: 8px;
	right: 8px;
}
.wmf-root .wmf-choices--icons .wmf-choice {
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	min-height: 128px;
	padding: 16px 10px;
	text-align: center;
	font-size: 18px;
}
.wmf-root .wmf-choices--row {
	grid-template-columns: 1fr; /* A phone: one row each; two across from 520 px. */
}
.wmf-root .wmf-choices--row .wmf-choice {
	flex-direction: row;
	justify-content: flex-start;
	min-height: 76px;
	padding-right: 40px; /* Room for the check mark. */
	text-align: left;
}
.wmf-choice__icon {
	flex: none;
}
.wmf-root .wmf-choices--many .wmf-choice {
	flex-direction: column;
	justify-content: center;
	gap: 0;
	min-height: 72px;
	padding: 10px 6px;
	text-align: center;
	font-size: 17px;
}
/* A choice's second line (the inches of a size in feet), smaller and grey, never broken inside. */
.wmf-root .wmf-choice__sub {
	display: block;
	margin-top: 2px;
	color: var(--wmf-muted);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}
.wmf-choice__icon svg {
	display: block;
	width: 72px;
	height: 48px;
	fill: none;
	stroke: var(--wmf-accent);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.wmf-choices--row .wmf-choice__icon svg {
	width: 42px;
	height: 32px;
}
.wmf-theme-night .wmf-choice__icon svg,
.wmf-theme-night .wmf-icon {
	stroke: var(--wmf-accent-ink);
}

/* The number box (W2): big digits, the unit after the box, the error line under it. */
.wmf-root .wmf-number {
	margin: 0 0 24px;
}
.wmf-root .wmf-number__box {
	display: flex;
	align-items: stretch;
	max-width: 280px;
	overflow: hidden;
	border: 2px solid var(--wmf-ink);
	border-radius: var(--wmf-radius);
	background: var(--wmf-card);
}
.wmf-root .wmf-number__input {
	flex: 1;
	width: 100%;
	min-width: 0;
	min-height: 64px;
	padding: 10px 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wmf-ink);
	font: inherit;
	font-size: 36px;
	line-height: 1;
	outline: none;
}
/* Focus: a dark ring, so an empty focused box never looks like the error (the error keeps the red outline and line). */
.wmf-root .wmf-number__box:focus-within {
	outline: 3px solid var(--wmf-ink);
	outline-offset: 2px;
}
.wmf-root .wmf-number__box:has([aria-invalid="true"]) {
	border-color: var(--wmf-accent);
	outline: 3px solid var(--wmf-accent);
	outline-offset: 2px;
}
.wmf-root .wmf-number__input[aria-invalid="true"] {
	color: var(--wmf-accent-ink);
}
.wmf-root .wmf-number__unit {
	display: flex;
	align-items: center;
	padding: 0 18px;
	background: var(--wmf-bg);
	color: var(--wmf-muted);
	font-size: 19px;
	font-weight: 700;
}
.wmf-root .wmf-number__error {
	margin-top: 8px;
}

/* "Me and my partner": the partner's weight and sleep position under the choice. */
.wmf-root .wmf-partner {
	display: grid;
	gap: 16px;
	margin: 14px 0 0;
	padding: 16px;
	border-radius: var(--wmf-radius);
	background: var(--wmf-bg);
}
.wmf-root .wmf-partner__label {
	margin: 0 0 10px;
	font-weight: 700;
	font-size: 15px;
}
.wmf-root .wmf-partner .wmf-number {
	margin: 0;
}
.wmf-root .wmf-partner .wmf-number__input {
	min-height: 52px;
	font-size: 22px;
}
.wmf-root .wmf-partner + .wmf-error {
	margin-top: 12px;
}
.wmf-root .wmf-partner ~ .wmf-next {
	margin-top: 24px;
}
.wmf-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.wmf-root .wmf-pill {
	min-height: 48px;
	padding: 10px 16px;
	border: 2px solid var(--wmf-line);
	border-radius: 999px;
	background: var(--wmf-card);
	color: var(--wmf-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
.wmf-root .wmf-pill[aria-pressed="true"] {
	border-color: var(--wmf-accent);
	background: var(--wmf-pale);
	color: var(--wmf-accent-ink);
}

/* The email step. */
.wmf-root .wmf-found {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: var(--wmf-radius);
	background: var(--wmf-pale);
	font-weight: 600;
}
.wmf-root .wmf-form {
	display: grid;
	gap: 16px;
	margin-bottom: 4px;
}
.wmf-field label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 15px;
}
.wmf-root .wmf-field input {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 2px solid var(--wmf-line);
	border-radius: var(--wmf-radius);
	background: var(--wmf-card);
	color: var(--wmf-ink);
	font: inherit;
	font-size: 17px;
}
/* R19: the weight box's dark ring (keyboard and tap); a field in error keeps its red line and ring. */
.wmf-root .wmf-field input:focus {
	border-color: var(--wmf-ink);
	outline: 3px solid var(--wmf-ink);
	outline-offset: 2px;
}
.wmf-root .wmf-field input[aria-invalid="true"] {
	border-color: var(--wmf-accent-ink);
	outline-color: var(--wmf-accent);
}
.wmf-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.wmf-root .wmf-check input {
	flex: none;
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	accent-color: var(--wmf-accent);
}
.wmf-check label {
	font-size: 15px;
}
.wmf-root .wmf-error {
	margin: 4px 0 0;
	color: var(--wmf-accent-ink);
	font-weight: 600;
	font-size: 15px;
}
/* Plan 043: the consent line under the send button (no tick box; the press is the agreement). */
.wmf-root .wmf-consent--notice {
	margin: -6px 0 0;
	color: var(--wmf-muted);
	font-size: 14px;
	text-align: center;
}

/* The results (W22, L9): the best fit large, then each class with its cards. */
.wmf-root .wmf-result .wmf-title {
	font-size: 29px;
	font-weight: 400;
	letter-spacing: -0.01em;
}
.wmf-root .wmf-confirmed {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--wmf-ok);
	font-size: 14px;
	font-weight: 700;
}
.wmf-root .wmf-confirmed::before {
	background-color: var(--wmf-ok);
}
.wmf-root .wmf-result .wmf-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 14px;
}
.wmf-root .wmf-result .wmf-chips li {
	padding: 6px 12px;
	border: 1px solid var(--wmf-line);
	border-radius: 999px;
	background: var(--wmf-card);
	font-size: 14px;
}
.wmf-root .wmf-verdict {
	margin: 0 0 24px;
	font-size: 17px;
}
.wmf-verdict strong {
	color: var(--wmf-accent-ink);
	font-weight: 700; /* Mock-up 020 (approved): the firmness word bold and in the accent colour (QA 1 N1). */
}
.wmf-root .wmf-message {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-left: 4px solid var(--wmf-accent);
	background: var(--wmf-pale);
}
.wmf-root .wmf-cards {
	display: grid;
	gap: 16px;
}
.wmf-root .wmf-card {
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--wmf-line);
	border-radius: var(--wmf-panel-radius);
	background: var(--wmf-card);
}
.wmf-root .wmf-best .wmf-card {
	border: 2px solid var(--wmf-accent);
	box-shadow: 0 10px 30px rgba(32, 33, 36, 0.08);
}
.wmf-root .wmf-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--wmf-pale);
}
.wmf-root .wmf-card__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wmf-root .wmf-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 5px 10px;
	border-radius: 4px;
	background: var(--wmf-card);
	color: var(--wmf-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.wmf-root .wmf-card--best .wmf-tag {
	background: var(--wmf-accent);
	color: var(--wmf-on-accent);
}
.wmf-root .wmf-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}
.wmf-root .wmf-card__range {
	color: var(--wmf-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.wmf-root .wmf-card__name {
	margin: 2px 0 10px;
	font-family: var(--wmf-heading-font);
	font-size: 20px;
	line-height: 1.2;
	font-weight: 700;
}
.wmf-root .wmf-card__price {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}
.wmf-root .wmf-best .wmf-card__name {
	font-size: 24px;
}
.wmf-root .wmf-best .wmf-card__price {
	font-size: 30px;
	color: var(--wmf-accent-ink);
}
.wmf-root .wmf-card__for {
	margin: 2px 0 0;
	color: var(--wmf-muted);
	font-size: 14px;
}
.wmf-root .wmf-why {
	display: grid;
	gap: 8px;
	margin: 14px 0 16px;
	padding: 14px 0 0;
	border-top: 1px solid var(--wmf-line);
	font-size: 15px;
}
.wmf-root .wmf-why:empty {
	display: none;
}
.wmf-root .wmf-why li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.wmf-root .wmf-note,
.wmf-root .wmf-card__trust {
	margin: -4px 0 14px;
	color: var(--wmf-muted);
	font-size: 13px;
}
.wmf-root .wmf-note {
	color: var(--wmf-ink);
	font-weight: 600;
}
.wmf-root .wmf-choose {
	width: 100%;
	margin-top: auto;
}
.wmf-root .wmf-group {
	margin-top: 32px;
}
.wmf-root .wmf-group__title {
	margin: 0 0 14px;
	font-family: var(--wmf-heading-font);
	font-size: 20px;
	font-weight: 700;
}
/* On a phone a card in a group is a row (photo left), so ten matches stay a short scroll. */
@container wmf (max-width: 519px) {
	.wmf-root .wmf-group .wmf-card {
		flex-direction: row;
	}
	.wmf-root .wmf-group .wmf-card__media {
		flex: 0 0 36%;
		aspect-ratio: auto;
		min-height: 150px;
	}
	.wmf-root .wmf-group .wmf-card__body {
		padding: 12px 14px;
	}
	.wmf-root .wmf-group .wmf-card__name {
		margin-bottom: 4px;
		font-size: 16px;
	}
	.wmf-root .wmf-group .wmf-card__price {
		font-size: 19px;
	}
	.wmf-root .wmf-group .wmf-why {
		margin: 8px 0 10px;
		padding-top: 8px;
		font-size: 13px;
	}
	.wmf-root .wmf-group .wmf-why li::before {
		width: 16px;
		height: 16px;
		background-size: 16px;
	}
	.wmf-root .wmf-group .wmf-choose {
		min-height: 44px;
		padding: 8px 10px;
		font-size: 14px;
	}
}
.wmf-finder .wmf-title:focus-visible {
	outline: none;
}
.wmf-root .wmf-talk {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 32px 0 8px;
	padding: 18px;
	border: 1px solid var(--wmf-line);
	border-radius: var(--wmf-panel-radius);
	background: var(--wmf-card);
	font-size: 17px;
	text-align: center;
}
.wmf-root .wmf-wa {
	border-color: #1F8F4E;
	background: #1F8F4E;
}
.wmf-after {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
}
.wmf-root .wmf-sent {
	font-size: 15px;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
}
.wmf-sent__to {
	min-width: 0;
	color: var(--wmf-muted);
	overflow-wrap: anywhere;
}
.wmf-icon {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--wmf-accent);
	stroke-width: 2;
}
.wmf-root .wmf-noscript {
	padding: 12px 14px;
	background: var(--wmf-pale);
}
.wmf-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.wmf-root .wmf-sr,
.wmf-root .wmf-typo:not(.is-shown) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* The popup: above the page, below an off-canvas cart drawer (--wmf-z, a setting). */
.wmf-root[data-wmf-dialog] {
	position: fixed;
	inset: 0;
	z-index: var(--wmf-z);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(17, 24, 39, 0.6);
}
.wmf-dialog__box {
	position: relative;
	width: 100%;
	max-width: 820px;
	max-height: 100%;
	overflow: auto;
	overscroll-behavior: contain;
	border-radius: var(--wmf-panel-radius);
	background: var(--wmf-bg);
}
.wmf-dialog__box .wmf-finder {
	max-width: none;
	padding-top: 48px;
}
.wmf-root .wmf-dialog__close {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 1;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wmf-ink);
	cursor: pointer;
}
.wmf-dialog__close svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

/* Wider columns. */
@container wmf (min-width: 520px) {
	.wmf-root .wmf-group .wmf-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wmf-root .wmf-talk {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}
	.wmf-root .wmf-partner {
		grid-template-columns: minmax(160px, 200px) 1fr;
		align-items: start;
	}
	.wmf-root .wmf-next {
		width: auto;
		min-width: 180px;
		justify-self: start;
	}
	.wmf-root .wmf-choices--row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@container wmf (min-width: 640px) {
	.wmf-root .wmf-choices--icons:not(.wmf-choices--row),
	.wmf-root .wmf-choices--many {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.wmf-root .wmf-choices--icons:not(.wmf-choices--row) .wmf-choice {
		min-height: 150px;
	}
}
@container wmf (min-width: 760px) {
	.wmf-finder {
		padding: 48px 32px 56px;
	}
	.wmf-root .wmf-panel {
		padding: 40px 48px 44px;
	}
	.wmf-root .wmf-title {
		font-size: 28px;
	}
	.wmf-root .wmf-hero {
		grid-template-columns: 55fr 45fr;
		gap: 48px;
		padding: 24px 12px 8px;
	}
	.wmf-root .wmf-hero:not(.wmf-hero--media) {
		grid-template-columns: minmax(0, 720px);
		justify-content: center;
	}
	.wmf-hero__media {
		order: 2;
	}
	.wmf-root .wmf-hero__img {
		max-height: none;
		aspect-ratio: 4 / 3;
	}
	.wmf-root .wmf-hero .wmf-title {
		font-size: 52px;
	}
	.wmf-root .wmf-hero .wmf-lead {
		font-size: 20px;
		margin: 18px 0 28px;
	}
	.wmf-root .wmf-hero .wmf-start {
		width: auto;
	}
	.wmf-root .wmf-hero__points {
		display: flex;
		flex-wrap: wrap;
		gap: 12px 24px;
		font-size: 14px;
	}
	.wmf-root .wmf-hero__points li {
		flex-direction: row;
		gap: 12px;
		text-align: left;
	}
	.wmf-root .wmf-result .wmf-title {
		font-size: 40px;
	}
	.wmf-root .wmf-verdict {
		font-size: 18px;
	}
	.wmf-root .wmf-best .wmf-card {
		flex-direction: row;
	}
	.wmf-root .wmf-best .wmf-card__media {
		flex: 0 0 46%;
		aspect-ratio: auto;
		min-height: 360px;
	}
	.wmf-root .wmf-best .wmf-card__body {
		justify-content: center;
		padding: 36px 40px;
	}
	.wmf-root .wmf-best .wmf-card__name {
		font-size: 28px;
	}
	.wmf-root .wmf-best .wmf-card__price {
		font-size: 34px;
	}
	.wmf-root .wmf-best .wmf-choose {
		align-self: flex-start;
		width: auto;
		min-width: 260px;
		margin-top: 4px;
	}
	.wmf-root .wmf-talk {
		padding: 22px 28px;
	}
}
@container wmf (min-width: 1000px) {
	.wmf-root .wmf-group .wmf-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
/* The result layouts of the Look tab: "list" draws every card as a row. */
@container wmf (min-width: 520px) {
	.wmf-result-list .wmf-group .wmf-cards {
		grid-template-columns: 1fr;
	}
	.wmf-result-list .wmf-group .wmf-card {
		flex-direction: row;
	}
	.wmf-result-list .wmf-group .wmf-card__media {
		flex: 0 0 34%;
		aspect-ratio: auto;
		min-height: 200px;
	}
}
@media (max-width: 520px) {
	.wmf-root[data-wmf-dialog] {
		padding: 0;
	}
	.wmf-dialog__box {
		height: 100%;
		border-radius: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.wmf-root .wmf-screen {
		animation: none;
	}
	.wmf-root .wmf-choice,
	.wmf-meter i {
		transition: none;
	}
}
.wmf-nomotion .wmf-screen {
	animation: none;
}
.wmf-nomotion .wmf-choice,
.wmf-nomotion .wmf-meter i {
	transition: none;
}
/* A new screen scrolled into view clears a site's sticky header (the same room as the one-page style). */
.wmf-root,
.wmf-root .wmf-finder {
	scroll-margin-top: 96px;
}
.wmf-root .wmf-dialog__box .wmf-finder {
	scroll-margin-top: 0; /* In the popup: no site header over it. */
}
/*
 * Brief 052: the email typo hint takes room only while shown (the button below moves down for a shopper who mistyped).
 * While empty it is taken out of the form's grid (above, with .wmf-sr) but stays rendered (not display: none), so its
 * aria-live line is still in the accessibility tree and the "Did you mean …?" is read out when it comes.
 */
.wmf-root .wmf-typo {
	margin: -8px 0 4px;
}
.wmf-root .wmf-typo .wmf-link {
	min-height: 44px;
	text-align: left;
}
.wmf-root .wmf-test {
	margin: 0 0 12px;
}

/* Branch G: the "Check your inbox" screen and the confirm link's landing (L10: the same card as the questions). */
.wmf-root .wmf-inbox {
	display: grid;
	gap: 12px;
	justify-items: center;
	text-align: center;
}
.wmf-root .wmf-inbox-art-wrap {
	width: 100%;
	max-width: 220px;
}
.wmf-root .wmf-inbox-img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.wmf-root .wmf-inbox__words {
	min-width: 0;
}
/* R20: the address on its own line; it breaks after the @, then after a dot, mid-word only when a part is wider than the box. */
.wmf-root .wmf-mail-line {
	display: block;
}
.wmf-root .wmf-mail {
	display: inline-block;
	max-width: 100%;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.wmf-root .wmf-inbox__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
}
.wmf-root .wmf-inbox__status:empty {
	display: none;
}

/* The page write-up under the quiz (L11): the same column, a thin rule above it, the FAQ as open-and-close rows. It
   sits outside .wmf-root, so the colours carry their own fallbacks. */
.wmf-writeup.wmf-writeup {
	/* Doubled class: a block theme's constrained-layout width rule must not widen the 720 px column (L11). */
	max-width: 720px;
	margin: 48px auto 0;
	padding: 36px 16px 0;
	border-top: 1px solid var(--wmf-line, #E6E8EC);
	line-height: 1.7;
}
.wmf-writeup[hidden] {
	display: none !important; /* WU1, WU5: a theme's "section { display: block }" must not bring it back. */
}
.wmf-writeup h2,
.wmf-writeup h3 {
	line-height: 1.25;
	margin: 0 0 14px;
}
.wmf-writeup__text p {
	margin: 0 0 14px;
}
.wmf-faq {
	margin-top: 28px;
}
.wmf-faq__item {
	border-top: 1px solid var(--wmf-line, #E6E8EC);
	padding: 16px 0;
}
.wmf-faq__item:last-child {
	border-bottom: 1px solid var(--wmf-line, #E6E8EC);
}
.wmf-faq__item summary {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	list-style: none;
	cursor: pointer;
}
.wmf-faq__item summary::-webkit-details-marker {
	display: none;
}
.wmf-faq__item summary::after {
	content: "+";
	color: var(--wmf-accent, #DB3340);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}
.wmf-faq__item[open] summary::after {
	content: "\2212";
}
.wmf-writeup .wmf-faq__q {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}
.wmf-faq__a {
	margin: 10px 0 0;
}
