/* Solution selector (Figma Configurator v2 in Pattern / solution-selector).
   A white card in two columns: the questions, then the chosen setup's numbers,
   line and buttons on the left; its stage (the robot and module on the soft
   grey gradient, the setup's name at its foot) on the right. The chosen setup
   uses `display: contents`, so its stage and info land in the card's grid.
   Loaded only where the block is (block.json "style"). */
.capra-selector {
	display: grid;
	grid-template-columns: minmax(0, 526fr) minmax(0, 672fr);
	grid-template-areas: "choices stage" "info stage";
	grid-template-rows: auto 1fr;
	border-radius: var(--wp--custom--radius--xl);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--raised);
}

/* Core's flow layout spaces blocks with margins; in the card's grid the gaps
   do that, so its pieces carry none (the selector's own specificity wins). */
.capra-selector > :not(.capra-setup, .capra-selector__live, .capra-selector__toggle),
.capra-selector .capra-setup > *,
.capra-selector .capra-setup__stage > *,
.capra-selector .capra-setup__info > *,
.capra-selector .capra-setup__stats > *,
.capra-selector .capra-setup__name > * {
	margin: 0;
}

.capra-selector__choices {
	grid-area: choices;
	display: grid;
	gap: var(--wp--preset--spacing--24);
	padding: var(--wp--preset--spacing--32) var(--wp--preset--spacing--40) 0;
	container-type: inline-size;
}

.capra-selector__question {
	display: grid;
	gap: var(--wp--preset--spacing--12);
	margin: 0;
	padding: 0;
	border: 0;
	min-inline-size: 0;
}

/* The questions are what the visitor reads first, so they are questions in the body face at Title/L, not
   11px mono caps (Jonas, 29 Oct 2026: "a bit small to read"). */
.capra-selector__question legend {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--10);
	margin-block-end: var(--wp--preset--spacing--20);
	padding: 0;
	font-size: var(--wp--preset--font-size--title-l);
	font-weight: var(--wp--custom--weight--semibold);
	--capra-leading: var(--wp--custom--leading--title);
	color: var(--wp--custom--token--text-primary);
}

/* Figma Step marker, Light / Number. */
.capra-selector__step {
	display: inline-grid;
	flex: none;
	place-items: center;
	inline-size: var(--wp--preset--spacing--24);
	block-size: var(--wp--preset--spacing--24);
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--text-primary);
	color: var(--wp--custom--token--text-inverse);
	font-size: var(--wp--preset--font-size--label-s);
	--capra-leading: 1;
}

.capra-selector__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--8);
}

/* Figma "Opt": a tile, icon and label; the chosen one gets a 2px action ring. */
.capra-selector__option {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--12);
	min-block-size: 48px;
	padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--16);
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--custom--token--bg-surface);
	box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-default);
	color: var(--wp--custom--token--text-primary);
	font-size: var(--wp--preset--font-size--label-m);
	font-weight: var(--wp--custom--weight--semibold);
	cursor: pointer;
	transition: box-shadow .2s ease;
}

@media (hover: hover) {
	.capra-selector__option:hover {
		box-shadow: inset 0 0 0 1px var(--wp--custom--token--border-strong);
	}
}

.capra-selector__option:has(input:checked) {
	box-shadow: inset 0 0 0 2px var(--wp--custom--token--bg-action), var(--wp--preset--shadow--low);
}

.capra-selector__option:has(input:focus-visible) {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 2px;
}

.capra-selector__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.capra-selector__option img {
	flex: none;
	inline-size: 22px;
	block-size: 22px;
}

/* One setup at a time, from the first paint (so the others' images wait);
   its stage and info take the card's grid areas. */
.capra-selector > .capra-setup:not(.is-on) {
	display: none;
}

.capra-selector > .capra-setup.is-on {
	display: contents;
}

.capra-setup__answer,
.capra-selector__live {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.capra-setup__stage {
	grid-area: stage;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--8);
	min-block-size: 557px;
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--32) var(--wp--preset--spacing--32);
	border-radius: var(--wp--custom--radius--xl);
	background: linear-gradient(180deg, var(--wp--custom--token--bg-subtle) 0%, var(--wp--custom--token--bg-muted) 100%);
}

/* The robot fills the stage between the controls and the name. Its first image
   shows the load, a second one the module empty ("With load" off). */
.capra-setup__stage > .wp-block-image {
	flex: 1;
	display: grid;
	place-items: center;
	min-block-size: 0;
	padding-block-end: var(--wp--preset--spacing--40);   /* the hand's line */
}

/* Sized by its own shape within the stage (not a wider box), so the fade lands on the render: its soft shadow
   runs out at the sides and fades there rather than stopping in a line. */
.capra-setup__stage > .wp-block-image > :is(img, .capra-spin__canvas) {
	inline-size: auto;
	max-inline-size: min(100%, 640px);
	block-size: auto;
	max-block-size: 380px;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.capra-setup__stage > .wp-block-image ~ .wp-block-image,
.capra-setup.is-bare .capra-setup__stage > .wp-block-image:has(~ .wp-block-image) {
	display: none;
}

.capra-setup.is-bare .capra-setup__stage > .wp-block-image ~ .wp-block-image {
	display: grid;
}

/* The spin (spin.js): a canvas in the still's grid cell, sized as it is; it shows the frames once the robot is
   turned (or in Detail), the still stays for the first frame. A faint hint until the first drag; Full / Detail
   where a setup has a detail spin. */
.capra-setup__stage > .wp-block-image > :is(img, .capra-spin__canvas) {
	grid-area: 1 / 1;
}

.capra-setup__stage > .wp-block-image > .capra-spin__canvas {
	visibility: hidden;
}

.capra-setup__stage > .is-turned > .capra-spin__canvas {
	visibility: visible;
}

.capra-setup__stage > .is-turned > img {
	visibility: hidden;
}

.capra-setup__stage > .has-spin {
	position: relative;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.capra-setup__stage > .has-spin.is-dragging {
	cursor: grabbing;
}

.capra-setup__stage > .has-spin:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 4px;
	border-radius: var(--wp--custom--radius--md);
}

/* Until the first turn, the front of a turntable under the robot: two thin arcs bending away, it turns either way
   (Jonas, 29 Oct 2026: a picture, not words; drawn in the website Figma, Playground, "Selector · turn hint"). */
.capra-spin__hint {
	position: absolute;
	inset-block-end: var(--wp--preset--spacing--4);
	inset-inline-start: 50%;
	translate: -50% 0;
	inline-size: min(60%, 240px);
	aspect-ratio: 240 / 32;
	background: var(--wp--custom--token--text-muted);
	-webkit-mask: url("../../assets/img/selector/turn-arc.svg") center / contain no-repeat;
	mask: url("../../assets/img/selector/turn-arc.svg") center / contain no-repeat;
	opacity: .6;
	pointer-events: none;
	transition: opacity .4s ease;
}

.capra-spin__hint.is-gone {
	opacity: 0;
}

/* "Your setup" at the start of the stage's top line, "With load" at its end (Jonas, 29 Oct 2026: the
   result made for the visitor). The Tonal button's tint, light and lit edge (components.css), words, no
   icon (glass has nothing to blur on this flat stage). */
.capra-setup__stage > .is-style-capra-chip {
	position: relative;
	padding: var(--wp--preset--spacing--6) var(--wp--preset--spacing--12);
	background-color: color-mix(in srgb, var(--wp--custom--token--bg-action) 10%, transparent);
	box-shadow: var(--capra-shadow-tonal);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--label-s);
	font-weight: var(--wp--custom--weight--semibold);
	letter-spacing: normal;
	text-transform: none;
	color: var(--wp--custom--token--text-tonal);
}

/* kg / lb (the recessed "capra-units-toggle", components.css) on the weight question's line. */
.capra-selector__question:has(> .capra-selector__units) {
	position: relative;
}

/* Centred on the question's line: a fieldset's box starts under its legend (24px, then its 20px margin), and the
   pills stand 36px tall. */
.capra-selector__units {
	position: absolute;
	inset-block-start: calc(-1 * var(--wp--preset--spacing--20) - 30px);
	inset-inline-end: 0;
}

.capra-selector__question:has(> .capra-selector__units:not([hidden])) legend {
	padding-inline-end: calc(82px + var(--wp--preset--spacing--10));
}

/* A column too narrow for both (phones, tablets on their side): kg / lb on its own line under the question,
   under its words. */
@container (max-width: 340px) {
	.capra-selector__question:has(> .capra-selector__units:not([hidden])) legend {
		margin-block-end: var(--wp--preset--spacing--12);
		padding-inline-end: 0;
	}

	.capra-selector__units {
		position: relative;
		inset: auto;
		justify-self: start;
		margin: 0 0 var(--wp--preset--spacing--8) calc(var(--wp--preset--spacing--24) + var(--wp--preset--spacing--10));
	}
}

.capra-setup__stage .is-style-capra-mono {
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--tracking--mono-caps);
}

/* The setup's name: the robot big, "+ the module" in action blue beside it. */
.capra-setup__name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: var(--wp--preset--spacing--12);
}

.capra-setup__name h3 {
	font-size: var(--wp--preset--font-size--heading-xl);
	letter-spacing: -0.02em;
}

.capra-setup__module {
	color: var(--wp--custom--token--text-link);
	font-size: var(--wp--preset--font-size--label-l);
	font-weight: var(--wp--custom--weight--semibold);
}

.capra-selector__toggle {
	grid-area: stage;
	z-index: 1;
	justify-self: end;
	align-self: start;
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--8);
	margin: calc(var(--wp--preset--spacing--24) + 4px) var(--wp--preset--spacing--32);   /* level with the chip (28 tall) */
	font-size: var(--wp--preset--font-size--label-s);
	font-weight: var(--wp--custom--weight--semibold);
	color: var(--wp--custom--token--text-primary);
	cursor: pointer;
}

.capra-selector__toggle[hidden],
.capra-selector__option[hidden] {   /* a weight for a robot the module does not fit (view.js) */
	display: none;
}

/* A switch: the box is the track, its ::before the knob. */
.capra-selector__toggle input {
	appearance: none;
	position: relative;
	inline-size: 34px;
	block-size: 20px;
	margin: 0;
	border-radius: var(--wp--custom--radius--full);
	background: var(--wp--custom--token--border-default);
	cursor: pointer;
	transition: background-color .2s ease;
}

.capra-selector__toggle input::before {
	content: "";
	position: absolute;
	inset-block-start: 2px;
	inset-inline-start: 2px;
	inline-size: 16px;
	block-size: 16px;
	border-radius: 50%;
	background: var(--wp--custom--token--bg-surface);
	box-shadow: var(--wp--preset--shadow--low);
	transition: translate .2s ease;
}

.capra-selector__toggle input:checked {
	background: var(--wp--custom--token--bg-action);
}

.capra-selector__toggle input:checked::before {
	translate: 14px 0;
}

.capra-selector__toggle input:focus-visible {
	outline: 2px solid var(--wp--custom--token--border-focus);
	outline-offset: 2px;
}

/* With reduced motion the pairs' raised half and the switch's knob jump. */
@media (prefers-reduced-motion: reduce) {
	.capra-selector__toggle input::before {
		transition: none;
	}
}

.capra-setup__info {
	grid-area: info;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--40) var(--wp--preset--spacing--32);
	container-type: inline-size;   /* the numbers fit the column, not the screen */
}

.capra-setup__info > .wp-block-buttons {
	margin-block-start: auto;
}

.capra-setup__stats {
	display: grid;
	grid-template-columns: minmax(max-content, 1fr) minmax(max-content, 1.4fr) minmax(max-content, 1fr);   /* the middle one names the loads */
	gap: var(--wp--preset--spacing--16);
	padding-block-start: var(--wp--preset--spacing--20);
	border-block-start: 1px solid var(--wp--custom--token--border-subtle);
}

.capra-setup__stats .is-style-capra-stat > :first-child {
	white-space: nowrap;
}

/* A narrow column (phones, the use cases' card on a small laptop): the three numbers
   closer, each as wide as it needs, a long label on two lines; smaller still on the
   narrowest phones. Always side by side, never past the card (Jonas, 6 Nov 2026). */
@container (max-width: 330px) {
	.capra-setup__stats {
		grid-template-columns: repeat(3, auto);
		justify-content: space-between;
		gap: var(--wp--preset--spacing--12);
	}

	.capra-setup__stats .is-style-capra-stat > :first-child {
		font-size: var(--wp--preset--font-size--heading-xs);
	}
}

@container (max-width: 250px) {
	.capra-setup__info .capra-setup__stats .is-style-capra-stat > :first-child {   /* past the phones' rule below */
		font-size: var(--wp--preset--font-size--title-l);
	}
}

/* Without JavaScript the setups are listed, each a stage over its info. */
@media (scripting: none) {
	.capra-selector {
		display: flex;
		flex-direction: column;
		gap: var(--wp--preset--spacing--24);
		padding: var(--wp--preset--spacing--24);
	}

	.capra-selector > :is(.capra-selector__choices, .capra-selector__toggle) {
		display: none;
	}

	.capra-selector > .capra-setup:not(.is-on),
	.capra-selector > .capra-setup.is-on {
		display: block;
	}
}

/* One setup, no questions (a use case's "The setup"; marketing, 30 Oct 2026: the mega
   card with the top module, still turnable): the stage on the left, as the mega card's
   render, the numbers, the use case's words and Book a demo beside it. The chip and the
   "See …" button belong to the selector (the button would lead back to the page). */
.capra-selector--one {
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-areas: "stage info";
	grid-template-rows: auto;
}

.capra-selector--one .capra-setup__stage > .is-style-capra-chip,
.capra-selector--one .capra-setup__info .is-style-ghost {
	display: none;
}

.capra-selector--one .capra-setup__info {
	justify-content: center;
}

/* The whole card is Home's robot card (Jonas, 20 Nov 2026: "still feels a bit off compared to
   the big robot card on landing page"): one surface, its gradient and lit edge; the render on it
   without a panel of its own; beside it the use, the name at display size, the sentence, the
   numbers spread under a hairline, Book a demo. The use and name were moved out of the stage in
   capra_selector_one(); order sets the rest. */
.capra-selector--one {
	column-gap: var(--wp--preset--spacing--64);
	padding: var(--wp--preset--spacing--48) var(--wp--preset--spacing--64) var(--wp--preset--spacing--48) var(--wp--preset--spacing--40);
	border-radius: var(--wp--custom--radius--lg);
	background: linear-gradient(180deg, var(--wp--custom--token--bg-subtle) 0%, var(--wp--custom--token--bg-muted) 100%);
	box-shadow: var(--wp--preset--shadow--card), inset 0 0 0 1px rgba(255, 255, 255, .6);
}

.capra-selector--one .capra-setup__stage {
	min-block-size: 440px;
	padding: 0;
	border-radius: 0;
	background: none;
}

.capra-selector--one .capra-setup__info {
	gap: 0;
	padding: 0;
}

.capra-selector--one .capra-setup__info > .is-style-capra-mono {
	order: 1;
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--tracking--mono-caps);
}

.capra-selector--one .capra-setup__info > .capra-setup__name {
	order: 2;
	margin-block-start: var(--wp--preset--spacing--8);
}

.capra-selector--one .capra-setup__name h3 {
	font-size: var(--wp--preset--font-size--display-l);
	letter-spacing: var(--wp--custom--tracking--display-l);
	--capra-leading: var(--wp--custom--leading--display);
}

.capra-selector--one .capra-setup__info > :is(p:not([class*="capra-"]):not(.is-style-capra-mono), .capra-setup__text) {
	order: 3;
	max-inline-size: 40ch;
	margin-block-start: var(--wp--preset--spacing--16);
	font-size: var(--wp--preset--font-size--body-l);
	color: var(--wp--custom--token--text-body);
}

/* The form's words: sentences, then a list of checks (Figma "List item · Check"). */
.capra-setup__text > * {
	margin: 0;
}

.capra-setup__text > * + * {
	margin-block-start: var(--wp--preset--spacing--16);
}

.capra-selector--one .capra-setup__info > .capra-setup__stats {
	order: 4;
	margin-block-start: var(--wp--preset--spacing--32);
	padding-block-start: var(--wp--preset--spacing--24);
	border-block-start-color: var(--wp--custom--token--border-default);
}

/* The figures at Home's size: heavy, heading-m, their labels mono caps L (desktop; a narrow
   column keeps its own smaller rule below). */
@container (min-width: 331px) {
	.capra-selector--one .capra-setup__stats .is-style-capra-stat > :first-child {
		font-size: var(--wp--preset--font-size--heading-m);
		font-weight: var(--wp--custom--weight--heavy);
		letter-spacing: var(--wp--custom--tracking--heading-m);
		--capra-leading: var(--wp--custom--leading--heading-m);
	}

	.capra-selector--one .capra-setup__stats .is-style-capra-stat > :nth-child(2) {
		font-size: var(--wp--preset--font-size--mono-caps-l);
	}
}

.capra-selector--one .capra-setup__info > .capra-render-note {
	order: 5;
	margin-block-start: var(--wp--preset--spacing--16);
}

.capra-selector--one .capra-setup__info > .wp-block-buttons {
	order: 6;
	margin-block-start: var(--wp--preset--spacing--32);
}

/* Tablet and phone (Figma Tablet / Mobile): one column, the stage under the
   questions, the numbers and buttons under the stage. */
@media (max-width: 900px) {
	.capra-selector {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "choices" "stage" "info";
		grid-template-rows: none;
	}

	.capra-selector--one {
		grid-template-areas: "stage" "info";
	}

	/* The render runs to the card's top and sides, its corners rounded (Jonas, 11 Nov 2026:
	   a white band showed above it), and the words have room to breathe (it was cramped). */
	.capra-selector--one {
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) var(--wp--preset--spacing--24);
	}

	.capra-selector--one .capra-setup__stage {
		min-block-size: 0;
		margin-inline: 0;
	}

	.capra-selector--one .capra-setup__name h3 {
		font-size: var(--wp--preset--font-size--heading-xl);
		letter-spacing: var(--wp--custom--tracking--heading-xl);
		--capra-leading: var(--wp--custom--leading--heading-xl);
	}

	.capra-selector__choices {
		padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--20) var(--wp--preset--spacing--24);
	}

	.capra-setup__stage {
		min-block-size: 0;
		margin-inline: var(--wp--preset--spacing--12);
		padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--16) var(--wp--preset--spacing--20);
		border-radius: var(--wp--custom--radius--lg);
	}

	/* The robot's box by the renders' shape (1048 x 720), before it loads too: the card keeps one height. */
	.capra-setup__stage > .wp-block-image > :is(img, .capra-spin__canvas) {
		inline-size: 100%;
		aspect-ratio: 1048 / 720;
		object-fit: contain;
	}

	.capra-selector__toggle {   /* the top line: the stage's 12 inset and 16 padding */
		margin: calc(var(--wp--preset--spacing--16) + 4px) calc(var(--wp--preset--spacing--12) + var(--wp--preset--spacing--16));
	}

	.capra-setup__info {
		padding: var(--wp--preset--spacing--20);
	}

	/* Between the questions and the numbers the stage is a band across the card, not a
	   framed picture: edge to edge, square, and no line over the numbers (Jonas, 4 Nov
	   2026). The use cases' card keeps its stage framed at the top. */
	.capra-selector:not(.capra-selector--one) .capra-setup__stage {
		margin-inline: 0;
		border-radius: 0;
	}

	.capra-selector:not(.capra-selector--one) .capra-selector__toggle {
		margin-inline: var(--wp--preset--spacing--20);
	}

	.capra-selector:not(.capra-selector--one) .capra-setup__stage {   /* the chip on the questions' edge */
		padding-inline: var(--wp--preset--spacing--20);
	}

	.capra-setup__stats {
		padding-block-start: 0;
		border-block-start: 0;
	}

	/* Room round the turning robot: air under the chip, and the hand's line under it
	   ("cramped", Jonas, 4 Nov 2026). */
	.capra-selector:not(.capra-selector--one) .capra-setup__stage > .wp-block-image {
		padding-block: var(--wp--preset--spacing--32) var(--wp--preset--spacing--48);
	}
}

/* Phones: the selector is the screen's width, not a card inside the page's margins:
   the questions, the band and the numbers all start on the page's edge (Jonas, 4 Nov
   2026: "so much side padding"). Cancels the gutter like every full-bleed section. */
@media (max-width: 744px) {
	.capra-selector-section > .capra-selector:not(.capra-selector--one) {
		margin-inline:
			calc(-1 * var(--wp--style--root--padding-left, 0px))
			calc(-1 * var(--wp--style--root--padding-right, 0px));
		border-radius: 0;
		box-shadow: none;
	}

	.capra-selector-section > .capra-selector:not(.capra-selector--one) :is(.capra-selector__choices, .capra-setup__stage, .capra-setup__info) {
		padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
	}

	.capra-selector-section > .capra-selector:not(.capra-selector--one) .capra-selector__toggle {
		margin-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
	}
}

@media (max-width: 600px) {
	.capra-selector__options:has(img) .capra-selector__option {
		flex-direction: column;
		justify-content: center;
		gap: var(--wp--preset--spacing--6);
		min-block-size: 76px;
		text-align: center;
		font-size: var(--wp--preset--font-size--label-s);
	}

	.capra-setup__name h3 {
		font-size: var(--wp--preset--font-size--heading-l);
	}

	.capra-setup__stats .is-style-capra-stat > :first-child {
		font-size: var(--wp--preset--font-size--heading-xs);
	}

}

/* In the editor: everything as edited, one setup under another. */
.capra-selector--editing {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--24);
	padding: var(--wp--preset--spacing--24);
}

.capra-selector.capra-selector--editing > .capra-setup {   /* every setup, not just the one the page shows */
	display: grid;
	gap: var(--wp--preset--spacing--16);
	padding: var(--wp--preset--spacing--16);
	border: 1px dashed var(--wp--custom--token--border-default);
	border-radius: var(--wp--custom--radius--lg);
}

.capra-selector--editing .capra-setup__answer {
	position: static;
	inline-size: auto;
	block-size: auto;
	overflow: visible;
	clip-path: none;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--mono-caps-m);
	text-transform: uppercase;
	color: var(--wp--custom--token--text-muted);
}

.capra-selector--editing .capra-setup__answer::before {
	content: "Answer to question 2: ";
}

/* The section round the card (capra/solution-selector): the page's column. The page
   already has its gutter, so the section adds none (it added a second: the card sat
   160 in at 1440 and 40 on phones; Jonas, 4 Nov 2026). */
.capra-selector-section {
	padding: 0 0 var(--wp--preset--spacing--96);
}

.capra-selector-section > .capra-selector {
	max-inline-size: var(--wp--style--global--content-size);
	margin-inline: auto;
}

.capra-selector--editing .capra-setup > * {
	grid-area: auto;             /* one under another, not in the page's card areas */
}

.capra-selector--editing .capra-setup__stage > .wp-block-image ~ .wp-block-image {
	display: grid;               /* both images, with and without the load, to edit */
}
