/* Swop Explainer — frontend */
.swex {
	--swex-bg: #eef6fb;
	--swex-ink: #33424c;
	--swex-muted: #5f6c75;
	--swex-accent: #4ea7d6;
	--swex-radius: 20px;
	--swex-strong: color-mix(in srgb, var(--swex-accent) 62%, var(--swex-ink));
	--swex-surface: #fff;
	--swex-heart: #e08a7c;
	container-type: inline-size;
	box-sizing: border-box;
	width: 100%;
	min-width: min(100%, 300px);
	justify-self: stretch;
	align-self: stretch;
	margin: 0 0 1.5em;
	padding: clamp(18px, 4cqi, 40px);
	border-radius: var(--swex-radius);
	background: var(--swex-bg);
	color: var(--swex-ink);
	font: inherit;
	line-height: 1.55;
	overflow-wrap: break-word;
}
.swex *, .swex *::before, .swex *::after { box-sizing: border-box; }
.swex-stage > *, .swex-scene { min-width: 0; max-width: 100%; }

.swex-stage {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: clamp(20px, 5cqi, 56px);
	max-width: 1000px;
	margin: 0 auto;
}
@container (max-width: 620px) {
	.swex-stage { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.swex-figure { width: 100%; max-width: 380px; margin: 0 auto; }
	.swex-labels { font-size: 15px; }
}
/* Eén kolom: beeld, dan direct de navigatie, dan de tekst en als laatste de acties.
   Het beeld krijgt via het script een vaste hoogte, zodat de knoppen nooit verspringen. */
@container (max-width: 620px) {
	.swex .swex-figure { display: flex; flex-direction: column; justify-content: center; }
	.swex .swex-panel { gap: 14px; justify-content: flex-start; }
	.swex .swex-nav { order: -1; margin-top: 0; gap: 8px; }
	.swex .swex-tools { order: 1; min-height: 0; }
	.swex .swex-tools:not(:has(> :not([hidden]))) { display: none; }
	.swex .swex-kicker .swex-eyebrow { display: none; }
	.swex .swex-kicker { margin-bottom: 6px; }
	.swex .swex-title { margin-bottom: 8px; }
	.swex-text { line-height: 1.5; }
	.swex .swex-claims { margin-top: 12px; }
	.swex-note { margin-top: 14px; font-size: 12px; }
}

/* ---------- Illustratie ---------- */
.swex-figure { position: relative; color: var(--swex-accent); transition: color 1.2s ease; }
.swex-svg { display: block; width: 100%; height: auto; overflow: hidden; }
.swex-aura { opacity: 0.08; transform-box: fill-box; transform-origin: center; }
.swex-body { fill: #e3edf4; fill: color-mix(in srgb, var(--swex-ink) 7%, var(--swex-bg)); }
.swex-brain { fill: #dbe7f0; }
.swex-concha { fill: #cfdbe4; }
.swex-tragus { fill: #d7e2ea; stroke: #bccbd6; stroke-width: 0.8; }
.swex-organ { stroke: currentColor; stroke-width: 0; transition: stroke-width 0.5s ease, opacity 1s ease; }
.swex-organ.is-lit { stroke-width: 2.4; }
.swex-brainstem { fill: #c3d6e3; }
.swex-larynx { fill: #d3e0ea; }
.swex-lung { fill: #cfe5f0; }
.swex-lungs, .swex-heart { transform-box: fill-box; transform-origin: center; }
.swex-lungs { transform-origin: center 20%; }
.swex-stomach { fill: #eadfcf; }
.swex-gut { stroke: currentColor; stroke-width: 0; transition: opacity 1s ease; }
.swex-gut-base, .swex-gut-flow { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.swex-gut-base { stroke: #cfe4d6; stroke-width: 10; }
.swex-gut-flow { stroke: #9fcab0; stroke-width: 3; stroke-dasharray: 5 13; }
.swex-heart [data-organ="heart"] { fill: var(--swex-heart); }

.swex-nerve { opacity: 0.85; transition: opacity 1s ease; }
.swex-sig-halo, .swex-sig-core { stroke-dasharray: 10 120; stroke-dashoffset: 10; }
.swex-sig-halo { stroke-width: 9; opacity: 0.28; }
.swex-sig-core { stroke-width: 3.8; }

.swex-electrode { opacity: 0; transition: opacity 0.8s ease; }
.swex-cable { opacity: 0.6; }
.swex-ring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.swex[data-state="stimulation"] .swex-electrode { opacity: 1; }
.swex[data-state="stimulation"] .swex-ring { animation: swex-ring 2.4s ease-out infinite; }
.swex[data-state="stimulation"] .swex-ring-2 { animation-delay: 1.2s; }
.swex.is-holding .swex-ring { animation-duration: 1.1s; }
.swex.is-holding .swex-ring-2 { animation-delay: 0.55s; }
@keyframes swex-ring {
	0% { transform: scale(0.6); opacity: 0; }
	30% { opacity: 0.7; }
	100% { transform: scale(1.7); opacity: 0; }
}

.swex-labels { font-size: 12.5px; font-weight: 600; transition: opacity 0.8s ease; opacity: 0.55; }
.swex-labels text { fill: var(--swex-muted); }
.swex-labels path { stroke: var(--swex-muted); stroke-width: 1; opacity: 0.45; fill: none; stroke-dasharray: 2 3; }
.swex[data-state="overview"] .swex-labels { opacity: 1; }
.swex[data-state="stimulation"] [data-label="ear"],
.swex[data-state="stimulation"] [data-label="brainstem"] { opacity: 1; }
.swex-label { transition: opacity 0.8s ease; }
.swex[data-state="stimulation"] .swex-labels { opacity: 1; }
.swex[data-state="stimulation"] .swex-label:not([data-label="ear"]):not([data-label="brainstem"]) { opacity: 0.45; }

.swex-badge {
	position: absolute;
	top: 4%;
	left: 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--swex-strong);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0;
	transition: opacity 0.5s ease, background-color 1.2s ease;
}
.swex[data-state="contrast"] .swex-badge:not(:empty) { opacity: 1; }

/* ---------- Inzoomen op de hersenstam ---------- */
.swex-world { transform-box: view-box; transform-origin: 200px 110px; transition: transform 1.2s cubic-bezier(.5, 0, .2, 1); }
.swex[data-state="brain"] .swex-world { transform: translate(0, 120px) scale(2.4); }
.swex[data-state="brain"] .swex-labels { opacity: 0; }
.swex[data-state="brain"] .swex-electrode { opacity: 1; }
.swex[data-state="brain"] .swex-ring { animation: swex-ring 2.4s ease-out infinite; }
.swex[data-state="brain"] .swex-ring-2 { animation-delay: 1.2s; }
.swex-hub { opacity: 0; pointer-events: none; transition: opacity 0.6s ease; }
.swex[data-state="brain"] .swex-hub { opacity: 1; transition-delay: 0.9s; }
.swex-hub-veil { fill: var(--swex-bg); opacity: 0.45; }
.swex-hub-line { stroke-width: 2.5; stroke-dasharray: 3 6; opacity: 0.55; }
.swex-hub-node { fill: currentColor; stroke: #fff; stroke-width: 3; }
.swex-hub-target { fill: #fff; stroke: currentColor; stroke-width: 3; transform-box: fill-box; transform-origin: center; transition: fill 0.5s ease, transform 0.6s ease, opacity 0.6s ease; }
.swex-hub-target.is-lit { fill: currentColor; transform: scale(1.25); }
.swex-hub-alarm { stroke: #d9826e; }
.swex-hub-alarm.is-lit { fill: #f3d6ce; transform: scale(0.7); opacity: 0.6; }
.swex-hub-labels text { font-size: 15px; font-weight: 700; fill: var(--swex-ink); paint-order: stroke; stroke: var(--swex-bg); stroke-width: 4px; stroke-linejoin: round; }

/* ---------- Oorlelletje als vergelijking ---------- */
.swex-electrode-move { transition: transform 0.6s ease; }
.swex.is-sham .swex-electrode-move { transform: translate(-4px, 14px); }
.swex.is-sham .swex-sig { opacity: 0; }

/* ---------- Tekst ---------- */
.swex-panel { display: flex; flex-direction: column; gap: 18px; min-width: 0; align-self: stretch; justify-content: center; }
.swex-brand { display: flex; align-items: center; gap: 12px; }
.swex-logo { width: 64px; height: 64px; object-fit: contain; border-radius: calc(var(--swex-radius) * 0.6); }
.swex-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--swex-muted); }
.swex-kicker .swex-eyebrow { display: inline; font-size: inherit; }
.swex-kicker .swex-eyebrow::after { content: " · "; color: var(--swex-muted); }

.swex ol.swex-scenes { list-style: none; margin: 0; padding: 0; display: grid; }
.swex ol.swex-scenes > li.swex-scene { list-style: none; margin-left: 0; margin-right: 0; padding: 0; background: none; color: inherit; }
.swex ol.swex-scenes > li.swex-scene::before, .swex ol.swex-scenes > li.swex-scene::after { content: none; display: none; }
.swex-scene { grid-area: 1 / 1; margin: 0; padding: 0; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s; }
.swex-scene.is-active { visibility: visible; opacity: 1; transform: none; transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s, visibility 0s; }
.swex-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--swex-strong); transition: color 1.2s ease; }
.swex .swex-title { margin: 0 0 10px; font-size: clamp(22px, 3cqi, 30px); line-height: 1.15; font-weight: 800; color: var(--swex-ink); }
.swex-text { font-size: clamp(15px, 1.6cqi, 16.5px); color: var(--swex-muted); text-wrap: pretty; }
.swex-text p { margin: 0 0 0.7em; }
.swex-text p:last-child { margin-bottom: 0; }
.swex-text a { color: var(--swex-strong); }
.swex-cta-wrap { margin: 16px 0 0; }
.swex .swex-cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 999px;
	background: var(--swex-strong);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
}
.swex .swex-cta:hover { background: var(--swex-ink); }
.swex .swex-cta:focus-visible { outline: 3px solid var(--swex-ink); outline-offset: 3px; }

/* ---------- Meter en acties ---------- */
.swex-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 44px; }
.swex-meter {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--swex-surface);
	box-shadow: 0 3px 12px rgba(40, 70, 90, 0.08);
}
.swex-meter-heart { width: 20px; height: 14px; color: var(--swex-heart); transform-origin: center; }
.swex-bpm { min-width: 2.2ch; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--swex-ink); }
.swex-unit { font-size: 12px; font-weight: 700; color: var(--swex-muted); }
.swex-spark { width: 64px; height: 24px; color: var(--swex-accent); transition: color 1.2s ease; }
.swex-hrv { font-size: 12px; color: var(--swex-muted); white-space: nowrap; }
.swex-hrv strong { color: var(--swex-ink); }
@container (max-width: 420px) {
	.swex .swex-dots .swex-dot-btn { width: 22px; }
	.swex .swex-dots .swex-dot-btn[aria-current="step"]::after { width: 16px; margin-left: -8px; }
	.swex .swex-nav .swex-btn { width: 40px; height: 40px; }
	.swex .swex-nav .swex-play { width: 46px; height: 46px; }
	.swex .swex-buttons { gap: 6px; }
	.swex ul.swex-claims-list > li.swex-claim { flex-direction: column; align-items: flex-start; gap: 4px; }
	.swex .swex-claim-level { min-width: 0; }
	.swex-hrv-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.swex .swex-spark { display: none; }
	.swex .swex-tools .swex-balance { flex: 1 1 100%; min-width: 0; gap: 8px; padding: 8px 12px; }
	.swex .swex-action { gap: 8px; padding: 8px 14px; font-size: 14px; line-height: 1.25; text-align: left; }
	.swex .swex-tools .swex-meter { padding: 6px 12px; }
}

@container (max-width: 340px) {
	.swex .swex-dots .swex-dot-btn { width: 15px; }
	.swex .swex-dots .swex-dot-btn::after { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }
	.swex .swex-dots .swex-dot-btn[aria-current="step"]::after { width: 13px; margin-left: -6.5px; }
	.swex .swex-nav .swex-btn { width: 38px; height: 38px; }
	.swex .swex-nav .swex-play { width: 44px; height: 44px; }
	.swex .swex-buttons { gap: 4px; }
	.swex .swex-nav-row { gap: 8px; }
}

.swex-info { position: relative; display: flex; }
.swex .swex-info-btn {
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1.5px solid #c7d2d9;
	border-radius: 50%;
	background: var(--swex-surface);
	color: var(--swex-muted);
	font: italic 700 15px/1 Georgia, serif;
	cursor: pointer;
}
.swex-info-pop {
	position: absolute;
	z-index: 5;
	bottom: calc(100% + 10px);
	left: 50%;
	width: 270px;
	max-width: 80vw;
	padding: 12px 14px;
	transform: translateX(-50%);
	border-radius: 12px;
	background: var(--swex-ink);
	color: #f2f6f8;
	font-size: 13px;
	line-height: 1.5;
	box-shadow: 0 10px 30px rgba(20, 40, 50, 0.25);
}
.swex-info-pop[hidden] { display: none; }

.swex .swex-action {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 9px 18px;
	border: 1.5px solid var(--swex-strong);
	border-radius: 999px;
	background: var(--swex-surface);
	color: var(--swex-ink);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	touch-action: none;
	-webkit-user-select: none;
	user-select: none;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 1.2s ease;
}
.swex .swex-action[hidden] { display: none; }
.swex .swex-action[aria-pressed="true"] { background: var(--swex-strong); color: #fff; }
.swex-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; color: var(--swex-strong); }
.swex-action[aria-pressed="true"] .swex-dot { color: #fff; }
.swex-guide { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; color: var(--swex-strong); transform-origin: center; }
.swex-action[aria-pressed="true"] .swex-guide { color: #fff; }
.swex-cue { flex-basis: 100%; margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--swex-strong); font-variant-numeric: tabular-nums; }
.swex-cue[hidden] { display: none; }

/* Gas/rem-schuif */
.swex-balance { flex-basis: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; background: var(--swex-surface); box-shadow: 0 3px 12px rgba(40, 70, 90, 0.08); }
.swex-balance[hidden] { display: none; }
.swex-balance-end { flex: none; min-width: 2.6em; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--swex-ink); }
.swex-balance-end:first-child { color: #c0644f; }
.swex-balance-end:last-child { text-align: right; color: var(--swex-rem, var(--swex-strong)); }
.swex .swex-balance-input {
	--swex-fill: 0%;
	flex: 1;
	min-width: 0;
	height: 28px;
	margin: 0;
	padding: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.swex .swex-balance-input:disabled { cursor: default; }
.swex .swex-balance-input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #e2917f, var(--swex-rem, var(--swex-accent))); }
.swex .swex-balance-input::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #e2917f, var(--swex-rem, var(--swex-accent))); }
.swex .swex-balance-input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border: 3px solid #fff; border-radius: 50%; background: var(--swex-strong); box-shadow: 0 2px 8px rgba(30, 50, 60, 0.3); }
.swex .swex-balance-input::-moz-range-thumb { width: 22px; height: 22px; border: 3px solid #fff; border-radius: 50%; background: var(--swex-strong); box-shadow: 0 2px 8px rgba(30, 50, 60, 0.3); }
.swex .swex-balance-input:focus-visible { outline: 3px solid var(--swex-ink); outline-offset: 4px; border-radius: 8px; }
.swex-balance.is-driven .swex-balance-input::-webkit-slider-thumb { box-shadow: 0 0 0 6px color-mix(in srgb, var(--swex-accent) 25%, transparent); }
.swex.is-holding:not(.is-sham) .swex-balance.is-driven .swex-balance-input::-webkit-slider-thumb { box-shadow: 0 0 0 9px color-mix(in srgb, var(--swex-accent) 35%, transparent); }

/* Plek van het clipje */
.swex-site { display: inline-flex; border: 1.5px solid var(--swex-strong); border-radius: 999px; overflow: hidden; background: var(--swex-surface); }
.swex-site[hidden] { display: none; }
.swex .swex-site-btn { min-height: 40px; padding: 6px 14px; border: 0; background: transparent; color: var(--swex-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.swex .swex-site-btn[aria-pressed="true"] { background: var(--swex-strong); color: #fff; }
.swex-sham { flex-basis: 100%; margin: 2px 0 0; font-size: 14px; color: var(--swex-ink); }
.swex-sham[hidden] { display: none; }

/* Onderbouwing: één compacte regel met labels; de beweringen klappen open als kaart over de rest heen */
.swex .swex-claims { position: relative; margin: 14px 0 0; }
.swex .swex-claims-toggle { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: 100%; margin: 0; padding: 5px 10px 5px 12px; border: 1px solid color-mix(in srgb, var(--swex-ink) 12%, transparent); border-radius: 999px; background: var(--swex-surface); color: var(--swex-ink); font: inherit; font-size: 12px; font-weight: 700; line-height: 1.3; text-align: left; cursor: pointer; }
.swex .swex-claims-toggle:hover { border-color: var(--swex-strong); }
.swex .swex-claims-q { margin-right: 2px; color: var(--swex-muted); }
.swex .swex-claims-more { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--swex-ink) 8%, transparent); font-size: 14px; line-height: 1; transition: transform 0.2s ease; }
.swex .swex-claims-toggle[aria-expanded="true"] .swex-claims-more { transform: rotate(45deg); }
.swex .swex-claims-toggle .swex-claim-level { min-width: 0; padding: 2px 7px; font-size: 10px; }
.swex ul.swex-claims-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid color-mix(in srgb, var(--swex-ink) 9%, transparent);
	border-radius: calc(var(--swex-radius) * 0.6);
	background: var(--swex-surface);
	font-size: 14px;
	line-height: 1.45;
	color: var(--swex-ink);
}
.swex:not(.swex-nojs) ul.swex-claims-list { position: absolute; z-index: 6; top: calc(100% + 8px); left: 0; right: 0; box-shadow: 0 14px 34px rgba(30, 50, 60, 0.18); }
.swex ul.swex-claims-list[hidden] { display: none; }
.swex.swex-nojs .swex-claims-list { margin-top: 10px; }
.swex ul.swex-claims-list > li.swex-claim {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
	border: 0;
	color: var(--swex-ink);
	font-size: inherit;
	line-height: inherit;
}
.swex ul.swex-claims-list > li.swex-claim::before,
.swex ul.swex-claims-list > li.swex-claim::after { content: none; display: none; }
.swex .swex-claim-text { color: var(--swex-ink); }
.swex .swex-claim-level { flex: none; min-width: 7.5em; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.4; letter-spacing: 0.04em; text-align: center; text-transform: uppercase; white-space: nowrap; }
.swex .swex-claim-level.is-solid { background: #d8efe3; color: #1d6b45; }
.swex .swex-claim-level.is-hint { background: #dde9f7; color: #2b5d95; }
.swex .swex-claim-level.is-mixed { background: #f6ead2; color: #87571a; }
.swex .swex-claim-level.is-open { background: #e9e4f3; color: #5b4691; }
.swex .swex-claim-level.is-practice { background: #ece7df; color: #5e5244; }

/* ---------- Navigatie ---------- */
.swex-nav { display: flex; flex-direction: column; gap: 14px; }
.swex-progress { height: 4px; border-radius: 4px; background: rgba(120, 140, 155, 0.22); overflow: hidden; }
.swex-progress span { display: block; height: 100%; width: 0; background: var(--swex-strong); transition: background-color 1.2s ease; }
.swex-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.swex-dots { display: flex; flex: none; align-items: center; gap: 0; }
.swex .swex-dot-btn {
	position: relative;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}
.swex .swex-dot-btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	margin: -4.5px 0 0 -4.5px;
	border-radius: 50%;
	background: rgba(120, 140, 155, 0.4);
	transition: width 0.3s ease, margin 0.3s ease, background-color 0.3s ease;
}
.swex .swex-dot-btn[aria-current="step"]::after { width: 22px; margin-left: -11px; border-radius: 6px; background: var(--swex-strong); }
.swex-buttons { display: flex; align-items: center; gap: 10px; }
.swex .swex-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--swex-surface);
	color: var(--swex-ink);
	box-shadow: 0 4px 14px rgba(40, 70, 90, 0.1);
	cursor: pointer;
}
.swex .swex-btn svg { width: 20px; height: 20px; }
.swex .swex-play { width: 52px; height: 52px; background: var(--swex-strong); color: #fff; transition: background-color 1.2s ease; }
.swex-i-pause, .swex.is-playing .swex-i-play { display: none; }
.swex.is-playing .swex-i-pause { display: block; }
.swex-i-play { margin-left: 2px; }
.swex button:focus-visible { outline: 3px solid var(--swex-ink); outline-offset: 2px; }

.swex-note { max-width: 1000px; margin: 18px auto 0; font-size: 12.5px; color: var(--swex-muted); text-align: center; }
.swex-missing { padding: 12px 16px; border: 2px dashed #d92d20; color: #b42318; font: 14px/1.4 sans-serif; }
.swex-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Zonder JavaScript: alle stappen als lijst ---------- */
.swex-nojs [data-js] { display: none; }
.swex.swex-nojs ol.swex-scenes { display: block; }
.swex.swex-nojs ol.swex-scenes > li.swex-scene { visibility: visible; opacity: 1; transform: none; margin-bottom: 1.4em; }

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
	.swex *, .swex *::before, .swex *::after { transition-duration: 0.01ms !important; animation: none !important; }
	.swex-scene { transform: none; }
	.swex[data-state="stimulation"] .swex-ring { opacity: 0.5; transform: scale(1.3); }
}

/* Voiceover: schakelaar onder de navigatie (alleen als er audio is ingesteld) */
.swex .swex-voice-row { display: flex; justify-content: flex-end; margin-top: 10px; }
.swex .swex-voice,
.swex .swex-voice:hover,
.swex .swex-voice:focus { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; margin: 0; padding: 4px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--swex-ink); font: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; text-transform: none; letter-spacing: normal; cursor: pointer; }
.swex .swex-voice-track { position: relative; flex: none; width: 44px; height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--swex-ink) 22%, transparent); transition: background 0.2s ease; }
.swex .swex-voice-knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease; }
.swex .swex-voice[aria-checked="true"] .swex-voice-track { background: var(--swex-strong); }
.swex .swex-voice[aria-checked="true"] .swex-voice-knob { transform: translateX(18px); }
.swex .swex-voice-state { min-width: 2.2em; color: var(--swex-muted); font-weight: 600; text-align: left; }
.swex .swex-voice:focus-visible .swex-voice-track { outline: 3px solid var(--swex-strong); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.swex .swex-voice-track,
	.swex .swex-voice-knob { transition: none; }
}

/* Telefoon: illustratie compacter en de bediening direct onder de navigatie,
   zodat je ziet wat er in het lichaam gebeurt terwijl je een knop gebruikt. */
@container (max-width: 620px) {
	.swex .swex-panel > .swex-brand { order: -2; }
	.swex .swex-panel > .swex-tools { order: 0; }
	.swex .swex-panel > ol.swex-scenes { order: 1; }
	.swex .swex-svg { max-height: min(42vh, 400px); max-height: min(42svh, 400px); }
}

/* Gas/rem-balk altijd op een eigen regel, zodat hartslag en uitlegknop samen blijven */
.swex .swex-tools > .swex-balance { flex-basis: 100%; }
