/* Layout: one 1120px column; sections alternate paper and tint bands; the hero pairs copy with a "pre-filing check" slip. */
:root {
	--paper: #ffffff;
	--surface: #ffffff;
	--tint: #f4f7f6;
	--ink: #10222b;
	--muted: #4f6369;
	--line: #d3dcdb;
	--primary: #0b5d63;
	--primary-strong: #074449;
	--on-primary: #ffffff;
	--stamp: #5a3fc0;
	--ok: #1d7446;
	--warn: #8a5d00;
	--bad: #b3261e;
	--ok-bg: #e2f3e8;
	--warn-bg: #fbf0d6;
	--bad-bg: #fbe4e2;
	--font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
	--font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
	--radius: 10px;
	--wrap: 1120px;
	--gutter: max(16px, env(safe-area-inset-left, 0px));
	color-scheme: light;
}

/* The site always uses a white background, whatever the visitor's system theme. */

/* Base ------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* Anything marked hidden stays hidden, whatever display a class gives it. */
[hidden] { display: none !important; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--primary); text-underline-offset: 0.18em; }
a:hover { color: var(--primary-strong); }

:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
	font-family: var(--font-display);
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin: 0;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.wm-skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.wm-skip:focus { left: 8px; }

.wm-wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.wm-eyebrow {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary);
}

.wm-lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.wm-fineprint { font-size: 0.92rem; color: var(--muted); max-width: 60em; }
.wm-mono { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* Buttons ---------------------------------------------------------- */

.wm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px;
	border: 2px solid transparent; border-radius: 999px;
	font: 700 1rem/1 var(--font-body);
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.wm-btn--primary { background: var(--primary); color: var(--on-primary); }
.wm-btn--primary:hover { background: var(--primary-strong); color: var(--on-primary); }
.wm-btn--ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.wm-btn--ghost:hover { background: var(--primary); color: var(--on-primary); }
.wm-btn--light { background: var(--paper); color: var(--ink); }
.wm-btn--light:hover { background: var(--surface); color: var(--ink); }
.wm-btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.wm-btn--wide { width: 100%; }

/* Header ----------------------------------------------------------- */

.wm-topline { background: var(--ink); color: var(--paper); font-size: 0.85rem; }
.wm-topline .wm-wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-block: 7px; }
.wm-topline a { color: inherit; }

.wm-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.admin-bar .wm-header { top: 32px; }
.wm-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.wm-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.wm-brand__logo { max-height: 44px; width: auto; }
.wm-brand__mark {
	width: 28px; height: 28px; border-radius: 50%;
	border: 3px solid var(--primary);
	background: radial-gradient(circle at center, var(--stamp) 0 4px, transparent 5px);
}
.wm-brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }

.wm-nav { display: flex; align-items: center; gap: 24px; }
.wm-nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.wm-nav__list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.wm-nav__list a:hover { color: var(--primary); text-decoration: underline; }

.wm-menu-toggle { display: none; }

@media (max-width: 820px) {
	.wm-menu-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer;
	}
	.wm-menu-toggle span[aria-hidden] {
		width: 18px; height: 2px; background: var(--ink); position: relative; display: block;
		box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
	}
	.wm-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 16px var(--gutter) 20px;
	}
	.wm-nav.is-open { display: flex; }
	.wm-nav__list { flex-direction: column; gap: 12px; }
	.wm-header { position: relative; }
}

/* Hero ------------------------------------------------------------- */

.wm-hero { padding-block: clamp(40px, 7vw, 80px) 48px; background: var(--tint); border-bottom: 1px solid var(--line); }
.wm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.wm-hero__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.wm-hero__price { color: var(--muted); }
.wm-hero__price strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.wm-checker {
	display: flex; flex-direction: column; gap: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 18px; max-width: 34em;
}
.wm-checker label { font-weight: 700; }
.wm-checker__row { display: flex; gap: 10px; flex-wrap: wrap; }
.wm-checker__row select { flex: 1 1 220px; min-width: 0; }
.wm-checker__result { font-size: 0.98rem; padding-top: 4px; }
.wm-checker__result.is-yes { color: var(--ok); }
.wm-checker__result.is-no { color: var(--warn); }

/* Cover image beside the headline */
.wm-cover { margin: 0; min-width: 0; }
.wm-cover img {
	display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 24px 48px -28px rgba(16, 34, 43, 0.55);
}

.wm-facts {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(40px, 6vw, 64px) 0 0; border-top: 2px solid var(--ink);
}
.wm-fact { padding: 16px 16px 0 0; }
.wm-fact + .wm-fact { padding-left: 16px; border-left: 1px solid var(--line); }
.wm-fact dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wm-fact dd { margin: 4px 0 0; display: flex; flex-direction: column; }
.wm-fact__value { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.wm-fact__note { font-size: 0.9rem; color: var(--muted); }

/* Sections --------------------------------------------------------- */

.wm-section { padding-block: clamp(56px, 8vw, 96px); }
.wm-section--tint { background: var(--tint); }
.wm-section__head { display: flex; flex-direction: column; gap: 10px; max-width: 44em; margin-bottom: 36px; }
.wm-section__head > p:not(.wm-eyebrow) { color: var(--muted); }

/* Prices */
.wm-prices { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wm-prices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wm-prices--1 { grid-template-columns: minmax(0, 420px); }
.wm-price {
	display: flex; flex-direction: column; gap: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 24px;
}
.wm-price--fast { border: 2px solid var(--primary); }
.wm-price__time { color: var(--muted); min-height: 3.2em; }
.wm-price__total { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.wm-price__split { font-size: 0.9rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.wm-price .wm-btn { margin-top: auto; }
#prices .wm-fineprint { margin-top: 24px; }

/* Eligibility */
.wm-cols { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wm-col { background: var(--surface); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.wm-col--yes { border-top-color: var(--primary); }
.wm-col--visa { border-top-color: var(--warn); }
.wm-col--none { border-top-color: var(--muted); }
.wm-col ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; }

.wm-countries { margin-top: 32px; background: var(--surface); border-radius: var(--radius); padding: 22px; }
.wm-countries__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.wm-search input { width: min(280px, 100%); }
.wm-countries__list {
	list-style: none; margin: 0; padding: 0;
	columns: 4 180px; column-gap: 24px;
	max-height: 340px; overflow-y: auto;
}
.wm-countries__list li { padding: 3px 0; break-inside: avoid; }
.wm-countries__empty { color: var(--muted); }

/* Steps: a real sequence, so it's numbered */
.wm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.wm-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); }
.wm-steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); color: var(--stamp); font-size: 0.9rem; }
.wm-steps p { color: var(--muted); }

/* Fees */
.wm-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 72px); }
.wm-split > div { display: flex; flex-direction: column; gap: 12px; }
.wm-ticks, .wm-crosses { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wm-ticks li, .wm-crosses li { padding-left: 30px; position: relative; }
.wm-ticks li::before, .wm-crosses li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.wm-ticks li::before { content: "✓"; color: var(--ok); }
.wm-crosses li::before { content: "✕"; color: var(--bad); }

/* Refunds: ordered by stage */
.wm-refunds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wm-refunds li { padding: 20px 20px 20px 0; border-top: 6px solid var(--ok); display: flex; flex-direction: column; gap: 6px; }
.wm-refunds li + li { padding-left: 20px; }
.wm-refunds li:nth-child(2) { border-top-color: var(--warn); }
.wm-refunds li:nth-child(3) { border-top-color: var(--bad); }
.wm-refunds__when { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.wm-refunds__amount { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }

/* FAQ */
.wm-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.wm-faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.wm-faq__item { border-bottom: 1px solid var(--line); }
.wm-faq__item summary {
	cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
	font-weight: 700; font-size: 1.08rem;
}
.wm-faq__item summary::-webkit-details-marker { display: none; }
.wm-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--primary); }
.wm-faq__item[open] summary::after { content: "−"; }
.wm-faq__answer { padding-bottom: 18px; color: var(--muted); max-width: 40em; }
.wm-faq__answer p + p { margin-top: 10px; }

/* CTA */
.wm-cta { background: var(--primary-strong); color: var(--on-primary); padding-block: 56px; }
.wm-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.wm-cta p { opacity: .85; margin-top: 6px; }

/* Footer ----------------------------------------------------------- */

.wm-footer { background: var(--ink); color: var(--paper); padding-block: 56px 28px; font-size: 0.95rem; }
.wm-footer a { color: inherit; }
.wm-footer .wm-eyebrow { color: inherit; opacity: .7; margin-bottom: 10px; }
.wm-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.wm-footer__about { display: flex; flex-direction: column; gap: 10px; }
.wm-footer__notice { opacity: .8; max-width: 40em; }
.wm-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.wm-footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); opacity: .7; font-size: 0.85rem; }

/* Inner pages and forms -------------------------------------------- */

.wm-page { padding-block: clamp(40px, 6vw, 72px); }
.wm-page__wrap { max-width: 860px; }
.wm-page__head { margin-bottom: 28px; display: flex; flex-direction: column; gap: 8px; }
.wm-content > * + * { margin-top: 1em; }
.wm-entry { padding-block: 20px; border-bottom: 1px solid var(--line); }
.wm-entry__title a { color: var(--ink); text-decoration: none; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 12px;
	font: inherit; color: var(--ink);
	background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: 3px solid color-mix(in srgb, var(--primary) 25%, transparent); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--bad); }
input[type="file"] { font: inherit; max-width: 100%; }

.wm-form { display: flex; flex-direction: column; gap: 24px; }
.wm-step {
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
	margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0;
}
.wm-step legend { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; padding: 0 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px; }
.wm-step__n {
	display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--primary); color: var(--on-primary); font-family: var(--font-mono); font-size: .85rem;
}
.wm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.wm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wm-field label { font-weight: 700; }
.wm-field__error { color: var(--bad); font-size: 0.92rem; font-weight: 600; }
.wm-hint { color: var(--muted); font-size: 0.92rem; }
.wm-hp { position: absolute; left: -9999px; }

.wm-speeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.wm-speed { position: relative; cursor: pointer; }
.wm-speed input { position: absolute; opacity: 0; }
.wm-speed__body {
	display: flex; flex-direction: column; gap: 4px; height: 100%;
	border: 1.5px solid var(--line); border-radius: 8px; padding: 14px;
}
.wm-speed input:checked + .wm-speed__body { border: 2px solid var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--surface)); }
.wm-speed input:focus-visible + .wm-speed__body { outline: 3px solid var(--stamp); outline-offset: 2px; }
.wm-speed__name { font-weight: 700; }
.wm-speed__time { font-size: .9rem; color: var(--muted); }
.wm-speed__price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; font-variant-numeric: tabular-nums; margin-top: auto; }

.wm-summary { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.wm-summary > div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.wm-summary__total { font-weight: 700; font-size: 1.15rem; }
.wm-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.wm-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--primary); }

.wm-notice { border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.wm-notice--ok { background: var(--ok-bg); border: 1px solid var(--ok); }
.wm-notice--error { background: var(--bad-bg); border: 1px solid var(--bad); }
.wm-notice ul { margin: 0; padding-left: 1.2em; }
.wm-notice a { color: var(--ink); }
.wm-ref { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 500; letter-spacing: .06em; }

.wm-form--inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.wm-form--inline .wm-field { flex: 1 1 220px; }
.wm-track { display: flex; flex-direction: column; gap: 24px; }
.wm-status { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.wm-pill { display: inline-block; padding: 4px 14px; border-radius: 999px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; background: var(--tint); color: var(--ink); }
.wm-pill--approved { background: var(--ok-bg); color: var(--ok); }
.wm-pill--needs_info { background: var(--warn-bg); color: var(--warn); }
.wm-pill--refused, .wm-pill--cancelled { background: var(--bad-bg); color: var(--bad); }
.wm-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.wm-timeline li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.wm-timeline li::before { content: ""; position: absolute; left: -25px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); }
.wm-timeline__status { font-weight: 700; }
.wm-timeline time { font-size: .9rem; color: var(--muted); }

/* Responsive ------------------------------------------------------- */

@media (max-width: 900px) {
	.wm-hero__grid, .wm-faq, .wm-split { grid-template-columns: minmax(0, 1fr); }
	.wm-cover img { aspect-ratio: 16 / 10; }
	.wm-cols, .wm-steps, .wm-prices, .wm-prices--2 { grid-template-columns: minmax(0, 1fr); }
	.wm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wm-fact:nth-child(3) { padding-left: 0; border-left: 0; }
	.wm-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
	.wm-grid { grid-template-columns: minmax(0, 1fr); }
	.wm-refunds { grid-template-columns: minmax(0, 1fr); }
	.wm-refunds li + li { padding-left: 0; }
	.wm-price__time { min-height: 0; }
	.admin-bar .wm-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Sign-in and account ---------------------------------------------- */

.wm-nav__account { color: var(--ink); font-weight: 600; text-decoration: none; }
.wm-nav__account:hover { color: var(--primary); text-decoration: underline; }

.wm-signin {
	max-width: 460px; margin: 0 auto;
	display: flex; flex-direction: column; gap: 18px;
}
.wm-signin h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.wm-signin__intro { color: var(--muted); font-size: 1.1rem; }
.wm-signin__notes { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.wm-signin__note { color: var(--muted); }

.wm-account { display: flex; flex-direction: column; gap: 24px; }
.wm-account__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wm-account__head h1 { margin-bottom: 6px; }
.wm-account__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wm-account__actions form { margin: 0; }
.wm-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wm-app { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.wm-app__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.wm-app__top > div { min-width: 0; }
.wm-app__name { font-weight: 700; font-size: 1.1rem; }
.wm-app__meta { color: var(--muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.wm-app__note { background: var(--warn-bg); border-radius: 8px; padding: 10px 12px; }
.wm-app__history summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.wm-app__history .wm-timeline { margin-top: 14px; }

/* Country picker with flags ---------------------------------------- */

.wm-cselect { position: relative; min-width: 0; }
.wm-checker__row .wm-cselect { flex: 1 1 220px; }
.wm-cselect__native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wm-cselect__btn {
	position: relative; width: 100%; min-height: 48px;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 40px 10px 12px;
	font: inherit; color: var(--ink); text-align: left;
	background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer;
}
.wm-cselect__btn > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-cselect__btn::after {
	content: ""; position: absolute; right: 16px; top: 50%;
	width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.wm-cselect__btn[aria-expanded="true"] { border-color: var(--primary); }
.wm-cselect__btn[aria-invalid="true"] { border-color: var(--bad); }
.wm-cselect__placeholder { color: var(--muted); }
.wm-flag {
	flex: none; width: 24px; height: 18px; object-fit: cover; border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(16, 34, 43, 0.12);
}
.wm-flag--none { display: inline-block; background: var(--tint); }
.wm-cselect__panel {
	position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
	min-width: min(320px, calc(100vw - 32px));
	background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
	box-shadow: 0 18px 40px -20px rgba(16, 34, 43, 0.4);
	padding: 8px;
}
.wm-cselect__search { min-height: 42px; }
.wm-cselect__list { list-style: none; margin: 8px 0 0; padding: 0; max-height: 280px; overflow-y: auto; }
.wm-cselect__opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.wm-cselect__opt[hidden] { display: none; }
.wm-cselect__opt.is-active { background: var(--tint); }
.wm-cselect__opt[aria-selected="true"] { font-weight: 700; }
.wm-cselect__empty { color: var(--muted); padding: 10px; }

/* Popular passports ------------------------------------------------ */

.wm-popular { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wm-popular__card {
	display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "flag name" "flag price" "cta cta";
	align-items: center; column-gap: 14px; row-gap: 2px;
	height: 100%; padding: 18px;
	color: var(--ink); text-decoration: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.wm-popular__card:hover { color: var(--ink); border-color: var(--primary); box-shadow: 0 14px 30px -22px rgba(16, 34, 43, 0.5); transform: translateY(-2px); }
.wm-popular__flag { grid-area: flag; width: 48px; height: 36px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(16, 34, 43, 0.12); }
.wm-popular__name { grid-area: name; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.wm-popular__price { grid-area: price; color: var(--muted); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.wm-popular__cta { grid-area: cta; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--primary); font-weight: 700; }

/* Eligibility now sits on white, so its boxes need edges. */
.wm-col { border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wm-countries { border: 1px solid var(--line); }

.wm-cselect__group {
	padding: 10px 10px 4px;
	font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.wm-cselect__group[hidden] { display: none; }

@media (max-width: 900px) {
	.wm-popular { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
	.wm-popular { grid-template-columns: minmax(0, 1fr); }
}

/* Footer independence notice (moved from the header) */
.wm-footer__base { display: flex; flex-direction: column; gap: 6px; }
.wm-footer__independent { display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* How it works page ------------------------------------------------ */

.wm-how-hero__inner { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.wm-how-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wm-how-notice {
	max-width: 44em; padding: 14px 16px;
	background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 8px;
	color: var(--muted); font-size: 0.95rem;
}
.wm-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wm-callout {
	margin-top: 36px; padding: 20px 22px;
	background: var(--ok-bg); border: 1px solid var(--ok); border-radius: var(--radius);
	display: flex; flex-direction: column; gap: 8px; max-width: 52em;
}
#steps .wm-fineprint { margin-top: 18px; }
.wm-split > div > p + p { margin-top: 0; }
.wm-fee-table-wrap { overflow-x: auto; display: flex; flex-direction: column; gap: 10px; }
.wm-fee-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-variant-numeric: tabular-nums; }
.wm-fee-table th, .wm-fee-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wm-fee-table thead th { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.wm-fee-table tbody th { font-weight: 700; }
.wm-fee-table tbody th span { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.wm-fee-table tbody tr:last-child > * { border-bottom: 0; }
#covers .wm-split h3 { margin-bottom: 4px; }
.wm-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wm-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.wm-card p { color: var(--muted); }
.wm-card--link { color: var(--ink); text-decoration: none; transition: border-color .15s; }
.wm-card--link:hover { color: var(--ink); border-color: var(--primary); }
.wm-card--link h3::after { content: " →"; color: var(--primary); }
.wm-follow { display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 900px) {
	.wm-steps--4, .wm-cards3 { grid-template-columns: minmax(0, 1fr); }
}

/* Date picker (flatpickr), restyled to match the site ---------------- */

.wm-form input.wm-date {
	cursor: pointer; padding-right: 44px;
	background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%234f6369' stroke-width='1.6'%3E%3Crect x='2' y='3.5' width='14' height='12.5' rx='2.5'/%3E%3Cpath d='M2 7.5h14M6 1.5v3.5M12 1.5v3.5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.flatpickr-calendar {
	width: 320px; padding: 12px;
	font-family: var(--font-body);
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
	box-shadow: 0 22px 48px -24px rgba(16, 34, 43, 0.45);
}
.flatpickr-calendar::before, .flatpickr-calendar::after { display: none; }
.flatpickr-calendar.open { margin-top: 6px; }
.flatpickr-months { align-items: center; padding-bottom: 6px; }
.flatpickr-months .flatpickr-month { height: 44px; color: var(--ink); fill: var(--ink); }
.flatpickr-current-month { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 0 0; font-size: 1rem; left: 10%; width: 80%; }
.flatpickr-current-month .flatpickr-monthDropdown-months,
.wm-fp-year {
	appearance: none; -webkit-appearance: none;
	height: 34px; min-height: 0; width: auto; padding: 0 26px 0 10px;
	font: 600 0.98rem var(--font-body); color: var(--ink);
	background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%234f6369' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center;
	border: 0; border-radius: 8px; cursor: pointer;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover, .wm-fp-year:hover { background-color: var(--line); }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
	top: 16px; width: 34px; height: 34px; padding: 9px; border-radius: 8px; color: var(--ink); fill: var(--ink);
}
.flatpickr-months .flatpickr-prev-month { left: 12px; }
.flatpickr-months .flatpickr-next-month { right: 12px; }
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover { background: var(--tint); }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--primary); }
.flatpickr-innerContainer, .flatpickr-rContainer, .flatpickr-days, .dayContainer { width: 100%; min-width: 0; max-width: none; }
span.flatpickr-weekday { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); }
.flatpickr-day {
	max-width: none; height: 40px; line-height: 40px; margin: 1px 0;
	border-radius: 10px; border: 0; color: var(--ink); font-variant-numeric: tabular-nums;
}
.flatpickr-day:hover, .flatpickr-day:focus { background: var(--tint); border: 0; }
.flatpickr-day.today { box-shadow: inset 0 0 0 1.5px var(--primary); }
.flatpickr-day.today:hover { background: var(--tint); color: var(--ink); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: var(--line); }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { color: var(--line); background: none; cursor: not-allowed; }
@media (max-width: 420px) {
	.flatpickr-calendar { width: calc(100vw - 32px); }
}

/* Key facts, as a block of their own -------------------------------- */

.wm-section--facts { padding-block: clamp(44px, 6vw, 72px); }
.wm-section--facts .wm-facts { margin: 0; border-top: 0; gap: 16px; }
.wm-section--facts .wm-facts .wm-fact {
	padding: 20px 20px 22px;
	background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius);
}
.wm-section--facts .wm-fact__value { font-size: 1.9rem; line-height: 1.15; margin-top: 6px; }
@media (max-width: 400px) {
	.wm-section--facts .wm-facts { grid-template-columns: minmax(0, 1fr); }
}

/* Help Centre ------------------------------------------------------ */

.wm-help-search input {
	min-height: 54px; max-width: 560px; padding-left: 46px; font-size: 1.05rem;
	background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%234f6369' stroke-width='1.8'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5L17 17'/%3E%3C/svg%3E") no-repeat 16px center;
}
.wm-help-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wm-help-chips a {
	padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
	color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.wm-help-chips a:hover { border-color: var(--primary); color: var(--primary); }
.wm-help { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.wm-help__main { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.wm-help__section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 96px; }
.wm-help__section[hidden], .wm-faq__item[hidden] { display: none; }
.wm-help__empty { color: var(--muted); }
.wm-help__side { position: sticky; top: 96px; }
.admin-bar .wm-help__side { top: 128px; }
.wm-glance {
	display: flex; flex-direction: column; gap: 14px; padding: 22px;
	background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius);
}
.wm-glance dl { margin: 0; display: flex; flex-direction: column; }
.wm-glance dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.wm-glance dt { color: var(--muted); }
.wm-glance dd { margin: 0; font-weight: 700; text-align: right; }
.wm-glance__link { font-size: 0.95rem; text-align: center; }

@media (max-width: 900px) {
	.wm-help { grid-template-columns: minmax(0, 1fr); }
	.wm-help__side { position: static; }
}

/* Support ---------------------------------------------------------- */

.wm-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wm-callout--warn { margin-top: 18px; background: var(--warn-bg); border-color: var(--warn); }
#request { scroll-margin-top: 80px; }
#request .wm-split > div:first-child { gap: 14px; }
#request textarea { min-height: 130px; resize: vertical; }

@media (max-width: 900px) {
	.wm-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.wm-ways { grid-template-columns: minmax(0, 1fr); }
}

/* Passport cards (home grid and the full list by region) ------------ */

.wm-countries--grid { background: none; border: 0; padding: 0; margin-top: 40px; }
.wm-countries--grid .wm-countries__bar { margin-bottom: 18px; }
.wm-countries--grid .wm-hint { margin-top: 4px; }
.wm-passports { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wm-passports > li[hidden] { display: none; }
.wm-pass {
	display: grid; grid-template-columns: 38% minmax(0, 1fr); align-items: center;
	height: 100%; min-height: 92px; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none;
	box-shadow: 0 1px 2px rgba(16, 34, 43, 0.06);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.wm-pass:hover { color: var(--ink); border-color: var(--primary); box-shadow: 0 14px 30px -22px rgba(16, 34, 43, 0.5); transform: translateY(-2px); }
.wm-pass__img { position: relative; align-self: stretch; background: var(--tint); }
.wm-pass__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.wm-pass__name { padding: 14px 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.wm-countries__more { display: flex; justify-content: center; margin-top: 28px; }
.wm-btn--soft { background: var(--surface); color: var(--ink); border-color: var(--line); }
.wm-btn--soft:hover { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.wm-chip-count { margin-left: 4px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.wm-regions { display: flex; flex-direction: column; gap: 48px; }
.wm-region { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 96px; }
.wm-region[hidden] { display: none; }
.wm-region__count { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; color: var(--muted); }

@media (max-width: 1100px) {
	.wm-passports { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.wm-passports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.wm-passports { grid-template-columns: minmax(0, 1fr); }
	.wm-pass { min-height: 76px; grid-template-columns: 112px minmax(0, 1fr); }
}

/* Show every flag whole, whatever its shape (square, 3:2, 2:1). */
.wm-pass__img img {
	inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px);
	object-fit: contain; filter: drop-shadow(0 0 1px rgba(16, 34, 43, 0.35));
}
.wm-popular__flag { height: auto; max-height: 40px; object-fit: contain; box-shadow: none; border-radius: 0; filter: drop-shadow(0 0 1px rgba(16, 34, 43, 0.35)); }
.wm-flag { height: auto; max-height: 20px; object-fit: contain; box-shadow: none; border-radius: 0; filter: drop-shadow(0 0 1px rgba(16, 34, 43, 0.35)); }
.wm-flag--none { height: 18px; }

/* Application form as steps ---------------------------------------- */

.wm-wizard.is-wizard [data-wm-step]:not(.is-current) { display: none; }
.wm-progress {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.wm-progress li {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 8px; min-width: 0;
	color: var(--muted); font-weight: 600; font-size: 0.95rem;
	border-right: 1px solid var(--line);
}
.wm-progress li:last-child { border-right: 0; }
.wm-progress__n {
	display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
	border: 1.5px solid currentColor; font-family: var(--font-mono); font-size: 0.8rem;
}
.wm-progress__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-progress li.is-current { background: var(--primary); color: var(--on-primary); }
.wm-progress li.is-current .wm-progress__n { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }
.wm-progress li.is-done { color: var(--primary); cursor: pointer; }
.wm-progress li.is-done:hover .wm-progress__label { text-decoration: underline; }
.wm-step legend:focus { outline: none; }
.wm-step__cols { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.wm-step__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wm-glance--small { padding: 18px; gap: 8px; }
.wm-glance--small dl > div { padding: 7px 0; }
.wm-step__nav { display: flex; justify-content: flex-end; gap: 12px; padding-top: 6px; }
.wm-step__nav [data-wm-back] { margin-right: auto; }
.wm-step__nav .wm-btn { min-width: 160px; }
.wm-step__sub { font-size: 1.05rem; }
.wm-review dl { margin: 10px 0 0; display: flex; flex-direction: column; }
.wm-review dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.wm-review dt { color: var(--muted); }
.wm-review dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

@media (max-width: 700px) {
	.wm-step__cols { grid-template-columns: minmax(0, 1fr); }
	.wm-progress { display: flex; }
	.wm-progress li { flex: 0 0 52px; }
	.wm-progress li.is-current { flex: 1 1 auto; }
	.wm-progress li:not(.is-current) .wm-progress__label { display: none; }
	.wm-step__nav .wm-btn { min-width: 0; flex: 1; }
	.wm-step__nav [data-wm-back] { flex: 0 0 auto; }
}

/* Country pages ---------------------------------------------------- */

.wm-country-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.wm-answer {
	display: flex; align-items: center; gap: 16px; max-width: 40em;
	padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: 10px;
	font-size: 1.1rem;
}
.wm-answer img { flex: none; width: 56px; height: auto; filter: drop-shadow(0 0 1px rgba(16, 34, 43, 0.35)); }
.wm-product h2 { font-size: 1.6rem; }
.wm-product__note { color: var(--muted); }
.wm-country__cta { display: flex; justify-content: center; margin-top: 32px; }

@media (max-width: 900px) {
	.wm-country-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Footer disclaimer, opened on demand */
.wm-disclaimer { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(255, 255, 255, .15); }
.wm-disclaimer summary {
	cursor: pointer; list-style: none; position: relative;
	padding: 16px 32px 16px 0; font-weight: 700;
}
.wm-disclaimer summary::-webkit-details-marker { display: none; }
.wm-disclaimer summary::after {
	content: ""; position: absolute; right: 6px; top: 50%;
	width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
	transition: transform .15s;
}
.wm-disclaimer[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.wm-disclaimer__body { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; max-width: 60em; opacity: .85; font-size: 0.92rem; }
.wm-disclaimer + .wm-footer__base, .wm-wrap:has(.wm-disclaimer) + .wm-footer__base { margin-top: 20px; border-top: 0; }

/* Unfinished application bar, photo step and small helpers ---------- */

.wm-resume { background: var(--primary-strong); color: var(--on-primary); }
.wm-resume__row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-block: 10px; }
.wm-resume__row p { flex: 1 1 260px; font-weight: 600; }
.wm-resume__close {
	width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
	background: transparent; color: inherit; font-size: 1.5rem; line-height: 1;
}
.wm-resume__close:hover { background: rgba(255, 255, 255, .15); }
.wm-linklike { padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.wm-callout--info { margin: 0; padding: 14px 16px; background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 8px; }
.wm-docs { gap: 16px; }
.wm-docs__title { font-size: 1.35rem; }
.wm-docs__have { color: var(--ok); font-weight: 600; font-size: 0.92rem; }
.wm-docs__have::before { content: "✓ "; }
.wm-track .wm-notice h2 { font-size: 1.4rem; }

/* Extra travellers and groups -------------------------------------- */

.wm-travellers { display: flex; flex-direction: column; gap: 16px; }
.wm-travellers:empty { display: none; }
.wm-traveller { margin: 0; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 10px; background: var(--tint); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.wm-traveller__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wm-traveller__head h3 { font-size: 1.1rem; }
.wm-add-traveller { align-self: flex-start; }
.wm-group__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wm-group__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wm-group__list li.is-current { font-weight: 600; }
.wm-group__name { flex: 1 1 180px; font-weight: 700; }
.wm-group__ref { color: var(--muted); font-size: 0.9rem; }
.wm-group__need { color: var(--warn); font-weight: 600; font-size: 0.92rem; }
.wm-group__here { color: var(--muted); font-size: 0.92rem; }

/* Yes / no questions (second passport) ------------------------------ */

.wm-choice { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wm-choice legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.wm-choice__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.wm-radio {
	display: inline-flex; align-items: center; gap: 10px; min-width: 120px;
	padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface);
	font-weight: 600; cursor: pointer;
}
.wm-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--primary); }
.wm-radio:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--surface)); }
.wm-choice [data-wm-other-country] { max-width: 420px; }
.wm-traveller .wm-choice { padding-top: 4px; }

/* Parent or guardian for under-18s */
.wm-guardian { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px dashed var(--line); border-radius: 10px; background: var(--surface); }
.wm-guardian[hidden] { display: none; }

/* Saved details from a previous application */
.wm-profile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.wm-profile ul { margin: 0; padding-left: 1.2em; }

/* Photos on the status page: instant save, preview, replace, remove, QR for phones */

.wm-docs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wm-doc {
	display: flex; flex-direction: column; overflow: hidden;
	border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface);
	transition: border-color .15s;
}
.wm-doc.has-photo { border-style: solid; border-color: var(--ok); }
.wm-doc.is-busy { opacity: .6; pointer-events: none; }
.wm-doc__preview { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--tint); }
.wm-doc__preview img { width: 100%; height: 100%; object-fit: contain; }
.wm-doc__empty { color: var(--muted); font-size: 0.92rem; }
.wm-doc__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.wm-doc__label { font-weight: 700; }
.wm-doc__status { min-height: 1.4em; font-size: 0.9rem; font-weight: 600; color: var(--ok); }
.wm-doc__status.is-error { color: var(--bad); }
.wm-doc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.wm-doc__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wm-doc__input:focus-visible + .wm-doc__remove, .wm-doc__pick:focus-within { outline: 3px solid var(--stamp); outline-offset: 2px; }
.wm-doc__pick { cursor: pointer; }
.wm-qr { display: flex; align-items: center; gap: 18px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.wm-qr__code { flex: none; width: 132px; height: 132px; padding: 6px; background: #fff; border-radius: 8px; }
.wm-qr__code svg { display: block; width: 100%; height: 100%; }

@media (max-width: 640px) {
	.wm-docs__grid { grid-template-columns: minmax(0, 1fr); }
}
