.fdvc {
	--fdvc-base: var(--fdvc-background, var(--wp--preset--color--base, transparent));
	--fdvc-ink: var(--fdvc-text, currentColor);
	--fdvc-brand: var(--fdvc-accent, var(--wp--preset--color--primary, var(--wp--preset--color--accent, var(--e-global-color-primary, currentColor))));
	--fdvc-border: color-mix(in srgb, currentColor 28%, transparent);
	background: var(--fdvc-base);
	color: var(--fdvc-ink);
	border: 1px solid currentColor;
	border-color: var(--fdvc-border);
	border-radius: 1.25rem;
	box-sizing: border-box;
	margin-block: 1.5rem;
	padding: clamp(1rem, 5vw, 2.5rem);
	width: 100%;
}
.fdvc *, .fdvc *::before, .fdvc *::after { box-sizing: border-box; }
.fdvc [hidden] { display: none !important; }
.fdvc-font-sans { --fdvc-font: system-ui, sans-serif; }
.fdvc-font-serif { --fdvc-font: Georgia, serif; }
.fdvc-font-upload { --fdvc-font: FDVC-Custom, system-ui, sans-serif; }
.fdvc:is(.fdvc-font-sans, .fdvc-font-serif, .fdvc-font-upload),
.fdvc:is(.fdvc-font-sans, .fdvc-font-serif, .fdvc-font-upload) :is(h2, h3, h4, legend, input, button, label) {
	font-family: var(--fdvc-font);
}
.fdvc :is(h2, h3, h4) { margin: 0 0 .45rem; color: inherit; }
.fdvc p { margin: 0 0 .75rem; }
.fdvc-header { margin-bottom: 1.65rem; }
.fdvc-header p { margin-bottom: 0; }
.fdvc-progress-label { font-size: .9em; margin-bottom: .3rem; }
.fdvc progress { display: block; width: 100%; height: .5rem; margin-bottom: 1.5rem; accent-color: var(--fdvc-brand); }
.fdvc-step { display: grid; gap: .6rem; border: 0; min-width: 0; margin: 0; padding: 0; }
.fdvc-step legend { font-weight: 700; font-size: 1.18em; margin-bottom: .75rem; padding: 0; }
.fdvc-choice {
	display: flex;
	align-items: center;
	gap: .7rem;
	min-height: 3rem;
	padding: .65rem .85rem;
	margin: 0;
	border: 1px solid currentColor;
	border-color: var(--fdvc-border);
	border-radius: .6rem;
	cursor: pointer;
	color: inherit;
}
.fdvc-choice:hover, .fdvc-choice:has(:checked) {
	border-color: var(--fdvc-brand);
	background: color-mix(in srgb, var(--fdvc-brand) 10%, transparent);
}
.fdvc-choice input[type="radio"] {
	appearance: auto;
	position: static;
	opacity: 1;
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
	flex: 0 0 auto;
	accent-color: var(--fdvc-brand);
}
.fdvc :is(button, input, a):focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.fdvc-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.fdvc-next { margin-inline-start: auto; }
.fdvc button {
	appearance: none;
	background: transparent;
	background: color-mix(in srgb, var(--fdvc-brand) 12%, transparent);
	border: 2px solid var(--fdvc-brand);
	border-radius: .6rem;
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	min-height: 44px;
	padding: .55rem 1rem;
	text-transform: none;
	box-shadow: none;
}
.fdvc button:hover { background: color-mix(in srgb, var(--fdvc-brand) 20%, transparent); color: inherit; }
.fdvc button:disabled { cursor: wait; opacity: .65; }
.fdvc button.fdvc-secondary { background: transparent; border-color: var(--fdvc-border); font-weight: 500; }
.fdvc-summary {
	border-inline-start: .25rem solid var(--fdvc-brand);
	background: color-mix(in srgb, var(--fdvc-brand) 8%, transparent);
	padding: 1rem;
	border-radius: .35rem;
}
.fdvc-summary p, .fdvc-comparison article p:last-child { margin-bottom: 0; }
.fdvc-comparison {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: .8rem;
	margin-block: .85rem;
}
.fdvc-comparison article {
	border: 1px solid currentColor;
	border-color: var(--fdvc-border);
	border-radius: .6rem;
	padding: .85rem;
}
.fdvc-comparison article strong { display: block; }
.fdvc-contact { margin-top: 1.5rem; border-top: 1px solid var(--fdvc-border); padding-top: 1.25rem; }
.fdvc-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: .75rem;
	margin-block: .85rem;
}
.fdvc-fields label { display: block; color: inherit; }
.fdvc-fields input {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: .3rem 0 0;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 1px solid currentColor;
	border-color: var(--fdvc-border);
	border-radius: .45rem;
	padding: .55rem .65rem;
}
.fdvc-privacy { font-size: .9em; }
.fdvc-privacy a { color: inherit; text-decoration: underline; }
.fdvc-status { margin-top: .8rem; padding: .75rem; border-inline-start: .25rem solid var(--fdvc-brand); }
.fdvc-status[data-error] { border-inline-start-style: double; }
.fdvc-step + .fdvc-step:not([hidden]) { margin-top: 1.2rem; }
.fdvc-step[hidden] + .fdvc-step { margin-top: 0; }
.fdvc-results { margin-top: 1rem; }
