/**
 * Gravity Forms Funnel Form — frontend styles
 * Scoped under .gfsf-shell / .gf-survey-flow
 */

.gfsf-shell {
	--gfsf-primary: #2563eb;
	--gfsf-accent: var(--gfsf-primary);
	--gfsf-primary-soft: color-mix(in srgb, var(--gfsf-primary) 12%, #fff);
	--gfsf-accent-soft: color-mix(in srgb, var(--gfsf-accent) 12%, #fff);
	--gfsf-page-bg: #e8f2fc;
	--gfsf-text: #1f2937;
	--gfsf-muted: #6b7280;
	--gfsf-border: #e5e7eb;
	--gfsf-surface: #ffffff;
	--gfsf-radius: 16px;
	--gfsf-radius-sm: max(0px, calc(var(--gfsf-radius, 16px) - 6px));
	--gfsf-radius-md: max(0px, calc(var(--gfsf-radius, 16px) - 2px));
	--gfsf-radius-lg: calc(var(--gfsf-radius, 16px) * 1.25);
	--gfsf-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);

	max-width: 720px;
	margin: 3rem auto;
	padding-inline: 1rem;
	font-family: inherit;
	color: var(--gfsf-text);
}

/* Body-portaled Driver/Property/Business modals lose .gfsf-shell inheritance.
   Defaults match .gfsf-shell; openPanel JS copies the form-specific values. */
.gfsf-driver__panel,
.gfsf-driver-modal,
.gfsf-property__panel,
.gfsf-property-modal,
.gfsf-business__panel,
.gfsf-business-modal {
	--gfsf-radius: 16px;
	--gfsf-radius-sm: max(0px, calc(var(--gfsf-radius, 16px) - 6px));
	--gfsf-radius-md: max(0px, calc(var(--gfsf-radius, 16px) - 2px));
	--gfsf-radius-lg: calc(var(--gfsf-radius, 16px) * 1.25);
}

/* Full-page backdrop; Singular Themer layouts are skipped when this is active. */
.gfsf-backdrop {
	--gfsf-page-bg: #e8f2fc;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0.5rem 0 2.5rem;
	background-color: var(--gfsf-page-bg);
	box-sizing: border-box;
}

body:has(.gfsf-backdrop),
body:has(.gfsf-shell--backdrop) {
	background-color: var(--gfsf-page-bg, #e8f2fc);
}

body:has(.gfsf-backdrop) #main,
body:has(.gfsf-backdrop) .site-main,
body:has(.gfsf-backdrop) .ct-container,
body:has(.gfsf-backdrop) .ct-container-full,
body:has(.gfsf-backdrop) .entry-content {
	background-color: transparent;
}

/* Extra breathing room when the survey is the page’s main content. */
.entry-content:has(.gfsf-shell) {
	padding-block: 1.25rem;
}

.gfsf-shell--with-sidebar {
	max-width: 1040px;
}

.gfsf-layout {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.gfsf-shell--with-sidebar .gfsf-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
	gap: 1.25rem 1.75rem;
	align-items: start;
}

.gfsf-main {
	min-width: 0;
}

.gfsf-sidebar {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	min-width: 0;
}

@media (max-width: 860px) {
	.gfsf-shell--with-sidebar .gfsf-layout {
		grid-template-columns: 1fr;
	}
}

.gfsf-shell .gform_wrapper.gf-survey-flow,
.gfsf-shell .gform_wrapper {
	background: var(--gfsf-surface);
	border-radius: var(--gfsf-radius-lg, 20px);
	box-shadow: var(--gfsf-shadow);
	padding: 2rem 1.75rem 1.5rem;
	border: 1px solid var(--gfsf-border);
}

/* Wrap Form: white parent panel around progress + form + sidebar (header stays outside). */
.gfsf-shell--wrapped {
	max-width: 800px;
}

.gfsf-shell--wrapped.gfsf-shell--with-sidebar {
	max-width: 1140px;
}

.gfsf-shell--wrapped .gfsf-panel {
	background: var(--gfsf-surface);
	border: 1px solid var(--gfsf-border);
	border-radius: var(--gfsf-radius-lg, 20px);
	box-shadow: var(--gfsf-shadow);
	padding: 1.35rem 2rem 1.5rem;
	box-sizing: border-box;
}

.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome {
	margin-bottom: 1rem;
	padding-inline: 0.15rem;
}

.gfsf-shell--wrapped .gform_wrapper.gf-survey-flow,
.gfsf-shell--wrapped .gform_wrapper {
	background: transparent;
	border: 0;
	box-shadow: none;
	border-radius: 0;
	padding: 0.25rem 0 0;
}

.gfsf-shell--wrapped .gfsf-agent {
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.gfsf-shell--wrapped .gfsf-review {
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
	animation: none;
	will-change: auto;
}

.gfsf-shell--wrapped .gfsf-savings {
	box-shadow: none;
}

@media (max-width: 600px) {
	.gfsf-shell--wrapped .gfsf-panel {
		padding: 1rem 1rem 1.15rem;
		border-radius: var(--gfsf-radius, 16px);
	}
}

/* Chrome: progress */
/* Page-level survey header (above chrome + layout) */
.gfsf-page-header {
	text-align: center;
	margin: 0 0 1.5rem;
	padding: 0 0.75rem;
}

.gfsf-page-header__title {
	margin: 0;
	font-size: clamp(1.65rem, 2.4vw, 2.15rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #0f172a;
}

.gfsf-page-header__secondary-title {
	margin: 0.35rem auto 0;
	max-width: 46rem;
	/* Primary title is 4px larger than this secondary size. */
	font-size: clamp(calc(1.65rem - 4px), calc(2.4vw - 4px), calc(2.15rem - 4px));
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--gfsf-primary, #2563eb);
}

.gfsf-page-header__desc {
	margin: 0.65rem auto 0;
	max-width: 42rem;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--gfsf-muted, #6b7280);
}

.gfsf-page-header__arrow {
	display: flex;
	justify-content: center;
	margin-top: 0.85rem;
	color: var(--gfsf-accent, var(--gfsf-primary, #2563eb));
	animation: gfsf-arrow-bounce 1.6s ease-in-out infinite;
}

.gfsf-page-header__arrow svg {
	width: 1.75rem;
	height: 1.75rem;
	stroke: currentColor;
}

@keyframes gfsf-arrow-bounce {
	0%,
	100% {
		transform: translateY(0);
		opacity: 0.85;
	}
	50% {
		transform: translateY(6px);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gfsf-page-header__arrow {
		animation: none;
	}
}

/* Mobile: hide bounce chevron under the page header description. */
@media (max-width: 600px) {
	.gfsf-page-header__arrow {
		display: none !important;
	}

	/* Nudge content up — pull title closer to the top of the viewport. */
	.gfsf-shell {
		margin-top: -2rem;
		margin-bottom: 1.25rem;
	}

	.gfsf-backdrop {
		padding-top: 0;
		padding-bottom: 1.25rem;
	}

	.entry-content:has(.gfsf-shell) {
		padding-top: 0;
		padding-bottom: 0.5rem;
	}

	.gfsf-page-header {
		margin-top: -0.35rem;
		margin-bottom: 0.65rem;
		padding-inline: 0.5rem;
	}

	.gfsf-page-header__title {
		font-size: clamp(1.45rem, 6.5vw, 1.85rem);
	}

	.gfsf-page-header__secondary-title {
		font-size: clamp(calc(1.45rem - 4px), calc(6.5vw - 4px), calc(1.85rem - 4px));
		margin-top: 0.25rem;
	}

	.gfsf-page-header__desc {
		margin-top: 0.45rem;
		font-size: 0.98rem;
	}

	.gfsf-chrome {
		margin-bottom: 0;
	}
}

.gfsf-chrome {
	margin-bottom: 1.25rem;
	padding: 0 0.25rem;
}

.gfsf-chrome--progress-hidden .gfsf-progress-meta {
	display: none;
}

/*
 * Mobile: dock progress to the bottom of the viewport and free the top.
 * Same chrome node (JS keeps updating it) — only layout changes.
 */
@media (max-width: 600px) {
	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden),
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10050;
		width: 100%;
		max-width: 100vw;
		box-sizing: border-box;
		margin: 0;
		padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
		/* Inverse: primary bar, white progress + label. */
		background: var(--gfsf-primary, #2563eb);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		border-top: 0;
		box-shadow: 0 -10px 28px color-mix(in srgb, var(--gfsf-primary, #2563eb) 35%, transparent);
		color: #fff;
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress-row,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress-row {
		align-items: center;
		gap: 0.75rem;
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress-meta,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress-meta {
		flex: 1 1 auto;
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-step-label,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-step-label {
		margin-bottom: 0.35rem;
		font-size: 0.65rem;
		color: #fff;
		opacity: 0.92;
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__icon,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__icon {
		width: 1.55rem;
		height: 1.55rem;
		border-radius: 999px;
		background: #fff;
		color: var(--gfsf-primary, #2563eb);
		box-shadow: none;
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__icon svg,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__icon svg {
		width: 0.85rem !important;
		height: 0.85rem !important;
		stroke: currentColor;
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__track,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__track {
		height: 8px;
		background: color-mix(in srgb, #fff 28%, transparent);
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__fill,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__fill {
		background: #fff;
		box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__fill::before,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__fill::before {
		background: var(--gfsf-primary, #2563eb);
		box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 10px rgba(255, 255, 255, 0.45);
	}

	.gfsf-shell > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__fill::after,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden) .gfsf-progress__fill::after {
		background: linear-gradient(
			105deg,
			transparent 30%,
			rgba(255, 255, 255, 0.35) 50%,
			transparent 70%
		);
	}

	/* Keep Continue / form footer clear of the docked bar. */
	.gfsf-shell:has(> .gfsf-chrome:not(.gfsf-chrome--progress-hidden)),
	.gfsf-shell--wrapped:has(.gfsf-panel > .gfsf-chrome:not(.gfsf-chrome--progress-hidden)) {
		padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
	}

	.gfsf-shell > .gfsf-chrome.gfsf-chrome--progress-hidden,
	.gfsf-shell--wrapped .gfsf-panel > .gfsf-chrome.gfsf-chrome--progress-hidden {
		display: none;
	}
}

.gfsf-progress-row {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
}

.gfsf-progress-meta {
	flex: 1 1 220px;
	min-width: 0;
}

.gfsf-step-label {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gfsf-muted);
	margin-bottom: 0.45rem;
	transition: opacity 0.2s ease, transform 0.25s ease;
}

.gfsf-step-label.is-updating {
	opacity: 0;
	transform: translateY(4px);
}

.gfsf-progress {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.gfsf-progress__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 999px;
	background: var(--gfsf-primary, #2563eb);
	color: #fff;
	flex-shrink: 0;
	box-shadow: none;
}

.gfsf-progress__icon svg {
	width: 0.95rem;
	height: 0.95rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.25;
}

.gfsf-progress__track {
	display: block;
	flex: 1;
	height: 6px;
	background: #e8eef9;
	border-radius: 999px;
	overflow: hidden;
	position: relative;
}

.gfsf-progress__fill {
	display: block;
	position: relative;
	height: 100%;
	width: 0%;
	border-radius: 999px;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--gfsf-primary) 82%, #0f172a) 0%,
		var(--gfsf-primary) 55%,
		color-mix(in srgb, var(--gfsf-primary) 75%, #fff) 100%
	);
	box-shadow: 0 0 10px color-mix(in srgb, var(--gfsf-primary) 35%, transparent);
	transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: width;
}

.gfsf-progress__fill::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(
		105deg,
		transparent 30%,
		rgba(255, 255, 255, 0.55) 50%,
		transparent 70%
	);
	transform: translateX(-120%);
	opacity: 0;
	pointer-events: none;
}

.gfsf-progress__fill.is-animating::after {
	animation: gfsf-progress-sheen 0.75s ease;
}

.gfsf-progress__fill::before {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--gfsf-primary) 55%, transparent),
		0 0 12px color-mix(in srgb, var(--gfsf-primary) 45%, transparent);
	transform: translate(35%, -50%) scale(0.65);
	opacity: 0;
	pointer-events: none;
}

.gfsf-progress__fill.is-animating::before {
	animation: gfsf-progress-cap 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes gfsf-progress-sheen {
	0% {
		opacity: 0;
		transform: translateX(-120%);
	}
	35% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateX(120%);
	}
}

@keyframes gfsf-progress-cap {
	0% {
		opacity: 0;
		transform: translate(35%, -50%) scale(0.4);
	}
	40% {
		opacity: 1;
		transform: translate(35%, -50%) scale(1);
	}
	100% {
		opacity: 0;
		transform: translate(35%, -50%) scale(0.7);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gfsf-progress__fill {
		transition: width 0.2s linear;
		box-shadow: none;
	}

	.gfsf-progress__fill::before,
	.gfsf-progress__fill::after,
	.gfsf-progress__fill.is-animating::before,
	.gfsf-progress__fill.is-animating::after {
		animation: none !important;
		opacity: 0 !important;
	}

	.gfsf-step-label,
	.gfsf-step-label.is-updating {
		transition: none;
		opacity: 1;
		transform: none;
	}
}

/* Field step visibility (single-page stepper) */
.gfsf-shell .gf-survey-flow--singlepage .gfield.gfsf-step-hidden,
.gfsf-shell.gfsf-stepper-active .gfield.gfsf-step-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	pointer-events: none !important;
}

.gfsf-shell {
	scroll-margin-top: 16px;
}

.gfsf-shell .gf-survey-flow--singlepage .gfield.gfsf-step-active {
	position: relative;
	animation: gfsf-fade-in 0.28s ease;
	scroll-margin-top: 16px;
}

.gfsf-shell.gfsf-multipage-active .gform_page:visible .gfield {
	scroll-margin-top: 16px;
}

/* Section step: show grouped fields together (compact multi-field layout) */
.gfsf-shell.gfsf-section-step .gform_fields {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 1rem 1.1rem !important;
	align-items: flex-start !important;
}

.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active {
	animation: none;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box !important;
	margin: 0 !important;
	float: none !important;
}

.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_left_half,
.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_right_half,
.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gfield--width-half {
	width: calc(50% - 0.55rem) !important;
	max-width: calc(50% - 0.55rem) !important;
}

.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_left_third,
.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_middle_third,
.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_right_third {
	width: calc(33.333% - 0.75rem) !important;
	max-width: calc(33.333% - 0.75rem) !important;
}

.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active .gfield_label,
.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active legend.gfield_label {
	position: relative !important;
	display: block !important;
	font-size: 0.92rem !important;
	font-weight: 650 !important;
	line-height: 1.35 !important;
	text-align: left !important;
	margin-bottom: 0.45rem !important;
	padding-right: 0 !important;
	min-height: 2.7rem;
	box-sizing: border-box !important;
}

.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gfield_error .gfield_label,
.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gfield_error legend.gfield_label {
	padding-right: 3.6rem !important;
}

/* Keep Required out of the text flow so long titles don't shove inputs around */
.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active .gfield_required:not(:has(.gfield_required)) {
	position: absolute !important;
	top: 0.1rem !important;
	right: 0 !important;
	margin: 0 !important;
	padding: 0.12rem 0.38rem !important;
}

.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active .gfield_required:not(:has(.gfield_required))::before {
	font-size: 0.55rem;
	letter-spacing: 0.05em;
}

.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active .gfield_description {
	text-align: left !important;
	font-size: 0.85rem !important;
	margin-bottom: 0.55rem !important;
}

.gfsf-shell.gfsf-section-step .gfield--type-section.gfsf-step-active,
.gfsf-shell.gfsf-section-step .gfsf-field--section.gfsf-step-active {
	width: 100% !important;
	max-width: 100% !important;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid var(--gfsf-border);
	margin-bottom: 0.25rem !important;
}

.gfsf-shell.gfsf-section-step .gsection_title {
	font-size: 1.35rem !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	color: var(--gfsf-text) !important;
	text-align: left !important;
	margin: 0 0 0.35rem !important;
}

.gfsf-shell.gfsf-section-step .gsection_description {
	text-align: left !important;
	color: var(--gfsf-muted) !important;
	margin: 0 !important;
}

.gfsf-shell.gfsf-section-step .gfsf-field--input .ginput_container,
.gfsf-shell.gfsf-section-step .gfsf-field--select .ginput_container {
	max-width: 100% !important;
	margin: 0 !important;
}

@media (max-width: 600px) {
	.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_left_half,
	.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_right_half,
	.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gfield--width-half,
	.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_left_third,
	.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_middle_third,
	.gfsf-shell.gfsf-section-step .gfield.gfsf-step-active.gf_right_third {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Intro video — clipped 16:9 frame; media never escapes as page background.
   Specifity must beat Gravity Forms theme reset (`position: unset` on nested divs). */
.gfsf-shell .gform_wrapper .gfsf-intro-video,
.gfsf-shell .gfsf-intro-video {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	height: auto !important;
	margin: 0 0 1.25rem !important;
	border-radius: var(--gfsf-radius-md, 14px);
	overflow: hidden !important;
	isolation: isolate;
	contain: paint;
	background: #0f172a;
	color: #fff;
}

.gfsf-shell .gform_wrapper .gfsf-intro-video__media,
.gfsf-shell .gfsf-intro-video__media {
	position: absolute !important;
	inset: 0 !important;
	z-index: 0;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden !important;
	pointer-events: none;
}

.gfsf-shell .gform_wrapper .gfsf-intro-video__img,
.gfsf-shell .gform_wrapper .gfsf-intro-video__fallback,
.gfsf-shell .gform_wrapper .gfsf-intro-video iframe,
.gfsf-shell .gform_wrapper .gfsf-intro-video video,
.gfsf-shell .gfsf-intro-video__img,
.gfsf-shell .gfsf-intro-video__fallback,
.gfsf-shell .gfsf-intro-video iframe,
.gfsf-shell .gfsf-intro-video video {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	border: 0 !important;
}

.gfsf-shell .gform_wrapper .gfsf-intro-video video,
.gfsf-shell .gfsf-intro-video video {
	object-fit: contain !important;
	background: #0f172a;
	z-index: 2;
}

.gfsf-shell .gfsf-intro-video__fallback {
	background: color-mix(in srgb, var(--gfsf-accent, #2563eb) 35%, #0f172a);
}

.gfsf-shell .gform_wrapper .gfsf-intro-video__poster,
.gfsf-shell .gfsf-intro-video__poster {
	position: absolute !important;
	inset: 0 !important;
	z-index: 1;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	cursor: pointer;
	background: transparent !important;
	color: inherit;
}

.gfsf-shell .gfsf-intro-video__play {
	position: absolute !important;
	inset: 50% auto auto 50% !important;
	transform: translate(-50%, -50%);
	width: 4rem;
	height: 4rem;
	display: grid !important;
	place-items: center;
	border-radius: 999px;
	background: var(--gfsf-primary, #2563eb);
	color: #fff;
	pointer-events: none;
	box-shadow: 0 4px 18px color-mix(in srgb, var(--gfsf-primary, #2563eb) 45%, transparent);
}

.gfsf-shell .gfsf-intro-video__play svg {
	width: 2rem;
	height: 2rem;
	stroke: currentColor;
	fill: none;
}

.gfsf-shell .gfsf-intro-video.is-playing .gfsf-intro-video__poster,
.gfsf-shell .gfsf-intro-video.is-playing .gfsf-intro-video__media {
	display: none !important;
}

.gfsf-shell .gfsf-intro-video.is-playing iframe,
.gfsf-shell .gfsf-intro-video.is-playing video {
	z-index: 2;
}

.gfsf-shell .gfsf-intro-video.gfsf-step-hidden {
	display: none !important;
}

/* Video field step — full-width player; optional multi under */
.gfsf-shell.gfsf-video-step .gfield.gfsf-step-active.gfield--type-gfsf_video,
.gfsf-shell.gfsf-video-step .gfield.gfsf-step-active.gfsf-field--gfsf_video {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 1rem !important;
}

.gfsf-shell.gfsf-video-step .gfield.gfsf-step-active.gfield--type-gfsf_video .gfield_label,
.gfsf-shell.gfsf-video-step .gfield.gfsf-step-active.gfsf-field--gfsf_video .gfield_label {
	font-size: 1.35rem !important;
	text-align: center !important;
	margin-bottom: 0.75rem !important;
}

.gfsf-shell.gfsf-video-step .ginput_container_gfsf_video {
	width: 100%;
	max-width: 40rem;
	margin: 0 auto;
}

.gfsf-shell.gfsf-video-step .gfield.gfsf-step-active.gfsf-field--choices .gfield_label,
.gfsf-shell.gfsf-video-step .gfield.gfsf-step-active.gfield--type-checkbox .gfield_label,
.gfsf-shell.gfsf-video-step .gfield.gfsf-step-active.gfield--type-multi_choice .gfield_label {
	font-size: 1.05rem !important;
	text-align: center !important;
	margin-bottom: 0.65rem !important;
}

.gfsf-video-editor-placeholder {
	margin: 0;
	padding: 0.75rem 1rem;
	border: 1px dashed var(--gfsf-border, #e5e7eb);
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px));
	color: var(--gfsf-muted, #6b7280);
	font-size: 0.9rem;
	line-height: 1.4;
}

@keyframes gfsf-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Labels / descriptions — description sits under title, above options */
.gfsf-shell .gform_wrapper .gfield {
	display: flex !important;
	flex-direction: column !important;
}

.gfsf-shell .gform_wrapper .gfield .gfield_label,
.gfsf-shell .gform_wrapper .gfield legend.gfield_label {
	order: 1;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--gfsf-text);
	text-align: center;
	margin-bottom: 20px !important;
}

/* Required indicator → compact pill beside the label (leaf node only) */
.gfsf-shell .gform_wrapper .gfield_required:has(.gfield_required) {
	display: inline !important;
	margin: 0 0 0 0.45rem !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	position: static !important;
	top: auto !important;
	vertical-align: middle;
}

.gfsf-shell .gform_wrapper .gfield_required:has(.gfield_required)::before {
	content: none !important;
}

.gfsf-shell .gform_wrapper .gfield_required:not(:has(.gfield_required)) {
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: middle;
	position: relative;
	top: -0.12em;
	margin: 0 0 0 0.45rem !important;
	padding: 0.16rem 0.42rem !important;
	border-radius: 999px !important;
	background: color-mix(in srgb, #dc2626 11%, #fff) !important;
	background-color: color-mix(in srgb, #dc2626 11%, #fff) !important;
	color: transparent !important;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, #dc2626 22%, transparent) !important;
	font-size: 0 !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	white-space: nowrap;
}

.gfsf-shell .gform_wrapper .gfield_required:not(:has(.gfield_required))::before {
	content: 'Required';
	color: #b91c1c;
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.2;
}

/* Show the pill only after a failed attempt to leave an incomplete required field. */
.gfsf-shell .gform_wrapper .gfield.gfield_error .gfield_required:not(:has(.gfield_required)) {
	display: inline-flex !important;
}

.gfsf-shell .gform_wrapper .gfield:has(> .gfield_description) .gfield_label,
.gfsf-shell .gform_wrapper .gfield:has(> .gfield_description) legend.gfield_label,
.gfsf-shell .gform_wrapper .gfield:has(.gfield_description) .gfield_label {
	margin-bottom: 0.4rem !important;
}

.gfsf-shell .gform_wrapper .gfield .gfield_description,
.gfsf-shell .gform_wrapper .gfield .gfield_description.gfield_description {
	order: 2;
	text-align: center;
	color: var(--gfsf-muted);
	font-size: 0.95rem;
	margin-top: 0 !important;
	margin-bottom: 20px !important;
	padding-top: 0 !important;
}

.gfsf-shell .gform_wrapper .gfield > .gfield_required {
	order: 3;
	align-self: center !important;
	margin: 0 0 1.1rem !important;
	top: 0 !important;
}

.gfsf-shell .gform_wrapper .gfield.gfield_error:has(> .gfield_description + .gfield_required) > .gfield_description {
	margin-bottom: 0.7rem !important;
}

.gfsf-shell .gform_wrapper .gfield:has(> .gfield_required) .ginput_container {
	order: 4;
}

.gfsf-shell .gform_wrapper .gfield:has(> .gfield_required) .validation_message,
.gfsf-shell .gform_wrapper .gfield:has(> .gfield_required) .gfield_validation_message {
	order: 5;
}

.gfsf-shell .gform_wrapper .gfield .ginput_container {
	order: 3;
}

.gfsf-shell .gform_wrapper .gfield .validation_message,
.gfsf-shell .gform_wrapper .gfield .gfield_validation_message {
	order: 4;
}

/*
 * Choice cards — columns via GF ready-class `gf_list_2col` (auto-added in
 * Funnel Mode). Fallback grid here so it works across GF themes.
 */
.gfsf-shell .gfield.gf_list_2col .gfield_checkbox,
.gfsf-shell .gfield.gf_list_2col .gfield_radio {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.85rem !important;
	width: 100% !important;
	box-sizing: border-box;
	align-items: stretch;
}

.gfsf-shell .gfield.gf_list_3col .gfield_checkbox,
.gfsf-shell .gfield.gf_list_3col .gfield_radio {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0.85rem !important;
	width: 100% !important;
	box-sizing: border-box;
	align-items: stretch;
}

.gfsf-shell .gfsf-choice,
.gfsf-shell .gchoice,
.gfsf-shell .gfield_radio li,
.gfsf-shell .gfield_checkbox li,
.gfsf-shell .gfield_radio .gchoice,
.gfsf-shell .gfield_checkbox .gchoice {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100%;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	float: none !important;
}

.gfsf-shell .gfsf-choice > label,
.gfsf-shell .gfsf-choice__label,
.gfsf-shell .gchoice > label,
.gfsf-shell .gfield_radio li > label,
.gfsf-shell .gfield_checkbox li > label {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 0.75rem !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 4.5rem;
	height: 100%;
	box-sizing: border-box !important;
	padding: 1rem 0.95rem !important;
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
	border: 1px solid rgba(15, 23, 42, 0.08) !important;
	border-radius: var(--gfsf-radius, 16px) !important;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 10px 24px rgba(15, 23, 42, 0.05);
	cursor: pointer;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease,
		background 0.18s ease;
	margin: 0 !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
}

.gfsf-shell .gfsf-choice > label:hover,
.gfsf-shell .gfsf-choice__label:hover,
.gfsf-shell .gchoice > label:hover,
.gfsf-shell .gfield_radio li > label:hover,
.gfsf-shell .gfield_checkbox li > label:hover {
	border-color: color-mix(in srgb, var(--gfsf-primary) 40%, #e5e7eb) !important;
	box-shadow:
		0 2px 6px rgba(15, 23, 42, 0.05),
		0 14px 28px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.gfsf-shell .gfsf-choice.is-selected > label,
.gfsf-shell .gfsf-choice.is-selected .gfsf-choice__label,
.gfsf-shell .gchoice.is-selected > label,
.gfsf-shell .gfield_radio li.is-selected > label,
.gfsf-shell .gfield_checkbox li.is-selected > label {
	border-color: var(--gfsf-primary) !important;
	background:
		linear-gradient(
			180deg,
			color-mix(in srgb, var(--gfsf-accent) 8%, #fff) 0%,
			color-mix(in srgb, var(--gfsf-accent) 14%, #fff) 100%
		) !important;
	box-shadow:
		0 0 0 1px var(--gfsf-primary),
		0 12px 28px color-mix(in srgb, var(--gfsf-primary) 18%, transparent);
	transform: none;
}

.gfsf-shell .gfsf-choice__icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 2.5rem;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px));
	background: color-mix(in srgb, var(--gfsf-accent) 12%, #fff) !important;
	color: var(--gfsf-accent) !important;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gfsf-accent) 18%, transparent);
	flex-shrink: 0;
}

.gfsf-shell .gfsf-choice.is-selected .gfsf-choice__icon {
	background: var(--gfsf-accent) !important;
	color: #fff !important;
	box-shadow: none;
}

.gfsf-shell .gfsf-choice__icon--empty {
	background: #f1f5f9 !important;
	color: #94a3b8 !important;
	box-shadow: inset 0 0 0 1px #e2e8f0;
}

.gfsf-shell .gfsf-choice__icon svg,
.gfsf-shell .gfsf-field-icon svg {
	display: block;
	width: 1.25rem !important;
	height: 1.25rem !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gfsf-shell .gfsf-progress__icon svg {
	display: block;
	width: 0.95rem !important;
	height: 0.95rem !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2.25;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Non-selectable break between popular carriers and the full A–Z list */
.gfsf-shell .gfsf-choice--separator,
.gfsf-shell .gchoice.gfsf-choice--separator {
	grid-column: 1 / -1 !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0.35rem 0 0.15rem !important;
	padding: 0.55rem 0.25rem 0.15rem !important;
	pointer-events: none !important;
	list-style: none !important;
}

.gfsf-shell .gfsf-choice--separator .gfsf-choice__separator-label {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 0.72rem !important;
	font-weight: 650 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b !important;
	border-top: 1px solid #e2e8f0;
	padding-top: 0.65rem;
}

.gfsf-shell .gfsf-choice__body {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center;
	gap: 0.2rem !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	text-align: left !important;
}

.gfsf-shell .gfsf-choice__title {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center !important;
	gap: 0.4rem !important;
	font-weight: 650 !important;
	font-size: 0.95rem !important;
	letter-spacing: -0.01em;
	color: var(--gfsf-text) !important;
	line-height: 1.3 !important;
}

.gfsf-shell .gfsf-choice__title-text {
	display: inline !important;
	font-weight: 650 !important;
	font-size: inherit !important;
	color: var(--gfsf-text) !important;
}

.gfsf-shell .gfsf-choice__badge {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0.16rem 0.45rem !important;
	border-radius: 999px !important;
	background: #ecfdf5 !important;
	color: #047857 !important;
	font-size: 0.58rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}

.gfsf-shell .gfsf-choice__desc {
	display: block !important;
	width: 100%;
	font-size: 0.8rem !important;
	font-weight: 400 !important;
	color: var(--gfsf-muted) !important;
	line-height: 1.35 !important;
	margin: 0 !important;
}

.gfsf-shell .gfsf-choice__control {
	margin-left: auto !important;
	display: inline-flex !important;
	align-items: center;
	flex-shrink: 0;
}

.gfsf-shell .gfsf-choice input[type="radio"],
.gfsf-shell .gfsf-choice input[type="checkbox"],
.gfsf-shell .gchoice input[type="radio"],
.gfsf-shell .gchoice input[type="checkbox"],
.gfsf-shell .gfield_radio input[type="radio"],
.gfsf-shell .gfield_checkbox input[type="checkbox"],
.gfsf-shell .gfield--type-multi_choice input[type="radio"],
.gfsf-shell .gfield--type-multi_choice input[type="checkbox"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 1.15rem !important;
	height: 1.15rem !important;
	border: 2px solid #c4c9d4 !important;
	border-radius: 50% !important;
	background: #fff !important;
	background-image: none !important;
	margin: 0 !important;
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	opacity: 1 !important;
	flex-shrink: 0;
	float: none !important;
	box-shadow: none !important;
	clip: auto !important;
	overflow: visible !important;
	clip-path: none !important;
}

/* Hide GF theme checkmark glyphs / pseudo icons */
.gfsf-shell .gfsf-choice input[type="radio"]::before,
.gfsf-shell .gfsf-choice input[type="radio"]::after,
.gfsf-shell .gfsf-choice input[type="checkbox"]::before,
.gfsf-shell .gfsf-choice input[type="checkbox"]::after,
.gfsf-shell .gchoice input[type="radio"]::before,
.gfsf-shell .gchoice input[type="radio"]::after,
.gfsf-shell .gchoice input[type="checkbox"]::before,
.gfsf-shell .gchoice input[type="checkbox"]::after,
.gfsf-shell .gfield--type-multi_choice input[type="radio"]::before,
.gfsf-shell .gfield--type-multi_choice input[type="radio"]::after,
.gfsf-shell .gfield--type-multi_choice input[type="checkbox"]::before,
.gfsf-shell .gfield--type-multi_choice input[type="checkbox"]::after,
.gfsf-shell .gfsf-choice__control .gform-icon,
.gfsf-shell .gchoice .gform-icon {
	content: none !important;
	display: none !important;
	background: none !important;
	border: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

.gfsf-shell .gfsf-choice input[type="checkbox"],
.gfsf-shell .gchoice input[type="checkbox"],
.gfsf-shell .gfield_checkbox input[type="checkbox"],
.gfsf-shell .gfield--type-multi_choice input[type="checkbox"] {
	border-radius: 0.3rem !important;
}

/* Selected: solid fill + visible 2px border (same radius as the control) */
.gfsf-shell .gfsf-choice input[type="radio"]:checked,
.gfsf-shell .gfsf-choice input[type="checkbox"]:checked,
.gfsf-shell .gchoice input[type="radio"]:checked,
.gfsf-shell .gchoice input[type="checkbox"]:checked,
.gfsf-shell .gfield_radio input[type="radio"]:checked,
.gfsf-shell .gfield_checkbox input[type="checkbox"]:checked,
.gfsf-shell .gfield--type-multi_choice input[type="radio"]:checked,
.gfsf-shell .gfield--type-multi_choice input[type="checkbox"]:checked {
	border-width: 2px !important;
	border-style: solid !important;
	border-color: #fff !important;
	background: var(--gfsf-primary) !important;
	background-image: none !important;
	box-shadow: 0 0 0 1.5px var(--gfsf-primary) !important;
	color: transparent !important;
}

.gfsf-shell .gfsf-choice input[type="checkbox"]:checked,
.gfsf-shell .gchoice input[type="checkbox"]:checked,
.gfsf-shell .gfield_checkbox input[type="checkbox"]:checked,
.gfsf-shell .gfield--type-multi_choice input[type="checkbox"]:checked {
	border-radius: 0.3rem !important;
}

.gfsf-shell .gfsf-choice input[type="radio"]:checked,
.gfsf-shell .gchoice input[type="radio"]:checked,
.gfsf-shell .gfield_radio input[type="radio"]:checked,
.gfsf-shell .gfield--type-multi_choice input[type="radio"]:checked {
	border-radius: 50% !important;
}

/* Select-all row spans full GF column grid */
.gfsf-shell .gchoice_select_all,
.gfsf-shell .gfield-choice-toggle-all {
	grid-column: 1 / -1 !important;
}

/* Yes / No tiles — bordered cards with soft fills (primary vs semantic red).
   Must use !important to beat standard choice card gradients. */
.gfsf-shell .gfield.gfsf-field--yn .gfield_radio,
.gfsf-shell .gfield.gfsf-field--yn .gfield_checkbox {
	gap: 1rem !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice,
.gfsf-shell .gfield.gfsf-field--yn .gchoice {
	min-width: 0;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice > label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice > label {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	aspect-ratio: 1 / 1 !important;
	min-height: 11rem !important;
	padding: 1.5rem 1rem !important;
	border: 0 !important;
	outline: 0 !important;
	border-radius: calc(var(--gfsf-radius, 16px) * 1.125) !important;
	text-align: center !important;
	background-image: none !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--yes .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--yes > label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.gfsf-choice--yes > label {
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 14%, #fff) !important;
	background-color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 14%, #fff) !important;
	color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 72%, #0f172a) !important;
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, var(--gfsf-primary, #2563eb) 22%, transparent),
		inset 0 0 28px 2px color-mix(in srgb, var(--gfsf-primary, #2563eb) 18%, transparent) !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--no .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--no > label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.gfsf-choice--no > label {
	background: color-mix(in srgb, #dc2626 12%, #fff) !important;
	background-color: color-mix(in srgb, #dc2626 12%, #fff) !important;
	color: color-mix(in srgb, #dc2626 78%, #0f172a) !important;
	box-shadow:
		inset 0 0 0 1px color-mix(in srgb, #dc2626 20%, transparent),
		inset 0 0 28px 2px color-mix(in srgb, #dc2626 16%, transparent) !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__label:hover,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice > label:hover,
.gfsf-shell .gfield.gfsf-field--yn .gchoice > label:hover {
	transform: translateY(-2px);
	filter: brightness(0.99);
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice.is-selected .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice:has(input:checked) .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.is-selected > label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice:has(input:checked) > label {
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, var(--gfsf-primary, #2563eb) 42%, transparent),
		inset 0 0 36px 4px color-mix(in srgb, var(--gfsf-primary, #2563eb) 24%, transparent) !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--yes.is-selected .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--yes:has(input:checked) .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.gfsf-choice--yes.is-selected > label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.gfsf-choice--yes:has(input:checked) > label {
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 22%, #fff) !important;
	background-color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 22%, #fff) !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--no.is-selected .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--no:has(input:checked) .gfsf-choice__label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.gfsf-choice--no.is-selected > label,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.gfsf-choice--no:has(input:checked) > label {
	background: color-mix(in srgb, #dc2626 20%, #fff) !important;
	background-color: color-mix(in srgb, #dc2626 20%, #fff) !important;
	box-shadow:
		inset 0 0 0 1.5px color-mix(in srgb, #dc2626 40%, transparent),
		inset 0 0 36px 4px color-mix(in srgb, #dc2626 22%, transparent) !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__icon {
	width: 4.75rem !important;
	height: 4.75rem !important;
	border-radius: var(--gfsf-radius, 16px) !important;
	background: #fff !important;
	color: var(--gfsf-primary, #2563eb) !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
	margin: 0 !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--no .gfsf-choice__icon,
.gfsf-shell .gfield.gfsf-field--yn .gchoice.gfsf-choice--no .gfsf-choice__icon {
	border-radius: 999px !important;
	color: #dc2626 !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__icon svg {
	width: 2.4rem !important;
	height: 2.4rem !important;
	stroke-width: 2.5;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__body {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex: 0 0 auto !important;
	flex-grow: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	text-align: center !important;
	padding: 0 !important;
	margin: 0 !important;
	gap: 0 !important;
	width: 100%;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__title {
	display: flex !important;
	justify-content: center !important;
	width: 100%;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__title,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__title-text {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.02em;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--yes .gfsf-choice__title,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--yes .gfsf-choice__title-text {
	color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 72%, #0f172a) !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--no .gfsf-choice__title,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice--no .gfsf-choice__title-text {
	color: color-mix(in srgb, #dc2626 78%, #0f172a) !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__badge,
.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__desc {
	display: none !important;
}

.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__control {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 600px) {
	.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__label,
	.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice > label {
		min-height: 9.5rem !important;
		aspect-ratio: auto !important;
		padding: 1.25rem 0.85rem !important;
		gap: 10px !important;
	}

	.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__icon {
		width: 3.6rem !important;
		height: 3.6rem !important;
	}

	.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__icon svg {
		width: 1.75rem !important;
		height: 1.75rem !important;
	}

	.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__title,
	.gfsf-shell .gfield.gfsf-field--yn .gfsf-choice__title-text {
		font-size: 14px !important;
	}
}

/* Text-like inputs — rounded controls matching survey card vibe */
.gfsf-shell .gform_wrapper .gfsf-field--input:not(.gfsf-field--address):not(.gfsf-field--name) .ginput_container,
.gfsf-shell .gform_wrapper .gfsf-field--select .ginput_container {
	position: relative;
	width: 100%;
	max-width: 28rem;
	margin: 0 auto;
}

.gfsf-shell .gform_wrapper .gfsf-field--address .ginput_container,
.gfsf-shell .gform_wrapper .gfsf-field--name .ginput_container,
.gfsf-shell .gform_wrapper .ginput_container_address,
.gfsf-shell .gform_wrapper .ginput_container_name,
.gfsf-shell .gform_wrapper .gfsf-field--address .ginput_complex,
.gfsf-shell .gform_wrapper .gfsf-field--name .ginput_complex {
	position: relative;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.75rem 0.85rem !important;
	box-sizing: border-box !important;
}

.gfsf-shell .gform_wrapper .ginput_complex > span,
.gfsf-shell .gform_wrapper .ginput_container_address > span,
.gfsf-shell .gform_wrapper .ginput_container_name > span {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.35rem !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
}

.gfsf-shell .gform_wrapper .ginput_complex > span.ginput_left,
.gfsf-shell .gform_wrapper .ginput_complex > span.ginput_right,
.gfsf-shell .gform_wrapper .ginput_container_address > span.ginput_left,
.gfsf-shell .gform_wrapper .ginput_container_address > span.ginput_right,
.gfsf-shell .gform_wrapper .ginput_container_name > span.ginput_left,
.gfsf-shell .gform_wrapper .ginput_container_name > span.ginput_right {
	width: calc(50% - 0.425rem) !important;
	max-width: calc(50% - 0.425rem) !important;
}

.gfsf-shell .gform_wrapper .ginput_complex .gform-field-label,
.gfsf-shell .gform_wrapper .ginput_complex label,
.gfsf-shell .gform_wrapper .ginput_container_address .gform-field-label,
.gfsf-shell .gform_wrapper .ginput_container_address label,
.gfsf-shell .gform_wrapper .ginput_container_name .gform-field-label,
.gfsf-shell .gform_wrapper .ginput_container_name label,
.gfsf-shell .gform_wrapper .hidden_sub_label {
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	color: var(--gfsf-muted) !important;
	line-height: 1.3 !important;
	margin: 0 !important;
}

.gfsf-shell .gfsf-field-icon {
	position: absolute;
	left: 0.9rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	width: 1.25rem;
	height: 1.25rem;
	color: var(--gfsf-accent);
	pointer-events: none;
	z-index: 1;
}

.gfsf-shell .gfsf-field-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.gfsf-shell .gform_wrapper input[type="text"],
.gfsf-shell .gform_wrapper input[type="email"],
.gfsf-shell .gform_wrapper input[type="tel"],
.gfsf-shell .gform_wrapper input[type="url"],
.gfsf-shell .gform_wrapper input[type="number"],
.gfsf-shell .gform_wrapper input[type="password"],
.gfsf-shell .gform_wrapper input[type="date"],
.gfsf-shell .gform_wrapper input[type="time"],
.gfsf-shell .gform_wrapper input[type="search"],
.gfsf-shell .gform_wrapper input:not([type]),
.gfsf-shell .gform_wrapper textarea,
.gfsf-shell .gform_wrapper select {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0.95rem 1.05rem !important;
	border: 1.5px solid rgba(15, 23, 42, 0.1) !important;
	border-radius: var(--gfsf-radius-md, 14px) !important;
	font-size: 1.05rem !important;
	font-family: inherit !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: var(--gfsf-text) !important;
	background-color: #fff !important;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 8px 20px rgba(15, 23, 42, 0.045) !important;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
	appearance: none !important;
	-webkit-appearance: none !important;
}

/* Shared control height so Address State select matches city/zip inputs. */
.gfsf-shell .gform_wrapper input[type="text"],
.gfsf-shell .gform_wrapper input[type="email"],
.gfsf-shell .gform_wrapper input[type="tel"],
.gfsf-shell .gform_wrapper input[type="url"],
.gfsf-shell .gform_wrapper input[type="number"],
.gfsf-shell .gform_wrapper input[type="password"],
.gfsf-shell .gform_wrapper input[type="date"],
.gfsf-shell .gform_wrapper input[type="time"],
.gfsf-shell .gform_wrapper input[type="search"],
.gfsf-shell .gform_wrapper input:not([type]),
.gfsf-shell .gform_wrapper select {
	height: 3.25rem !important;
	min-height: 3.25rem !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 3.2rem !important;
}

.gfsf-shell .gform_wrapper textarea {
	height: auto !important;
	min-height: 8.5rem !important;
	padding: 0.95rem 1.05rem !important;
	line-height: 1.4 !important;
	resize: vertical;
}

.gfsf-shell .gform_wrapper select {
	padding-right: 2.6rem !important;
	color: var(--gfsf-text) !important;
	-webkit-text-fill-color: var(--gfsf-text) !important;
	/* Single background shorthand — split bg-* can blank selected text in WebKit/Blink. */
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem 1rem !important;
	cursor: pointer;
	display: block !important;
	opacity: 1 !important;
}

.gfsf-shell .gform_wrapper select option {
	color: var(--gfsf-text) !important;
	background-color: #fff !important;
	/* Avoid -webkit-text-fill-color on option — blanks closed <select> text in WebKit/Blink. */
	line-height: normal !important;
}

/* Harden selects inside Address / Name complex fields */
.gfsf-shell .gform_wrapper .ginput_container_address select,
.gfsf-shell .gform_wrapper .ginput_container_name select,
.gfsf-shell .gform_wrapper .ginput_complex select {
	color: var(--gfsf-text) !important;
	-webkit-text-fill-color: var(--gfsf-text) !important;
	opacity: 1 !important;
	display: block !important;
	width: 100% !important;
	height: 3.25rem !important;
	min-height: 3.25rem !important;
	line-height: 3.2rem !important;
	flex: 0 0 auto !important;
}

.gfsf-shell .gform_wrapper input::placeholder,
.gfsf-shell .gform_wrapper textarea::placeholder {
	color: #94a3b8 !important;
	opacity: 1 !important;
	font-weight: 400 !important;
}

.gfsf-shell .gform_wrapper input:hover,
.gfsf-shell .gform_wrapper textarea:hover,
.gfsf-shell .gform_wrapper select:hover {
	border-color: color-mix(in srgb, var(--gfsf-primary) 35%, #d1d5db) !important;
}

.gfsf-shell .gform_wrapper input:not([type='radio']):not([type='checkbox']):not([type='hidden']):not([type='submit']):not([type='button']):not([type='image']):focus,
.gfsf-shell .gform_wrapper textarea:focus,
.gfsf-shell .gform_wrapper select:focus {
	outline: none !important;
	border-color: var(--gfsf-primary) !important;
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--gfsf-primary) 22%, transparent),
		0 8px 22px color-mix(in srgb, var(--gfsf-primary) 12%, transparent) !important;
}

/* Choice controls: no focus glow — selected/checked styles carry the signal. */
.gfsf-shell .gfsf-choice input[type='radio']:focus,
.gfsf-shell .gfsf-choice input[type='checkbox']:focus,
.gfsf-shell .gchoice input[type='radio']:focus,
.gfsf-shell .gchoice input[type='checkbox']:focus,
.gfsf-shell .gfield_radio input[type='radio']:focus,
.gfsf-shell .gfield_checkbox input[type='checkbox']:focus,
.gfsf-shell .gfield--type-multi_choice input[type='radio']:focus,
.gfsf-shell .gfield--type-multi_choice input[type='checkbox']:focus {
	outline: none !important;
	box-shadow: none !important;
}

.gfsf-shell .gfsf-choice input[type='radio']:checked:focus,
.gfsf-shell .gfsf-choice input[type='checkbox']:checked:focus,
.gfsf-shell .gchoice input[type='radio']:checked:focus,
.gfsf-shell .gchoice input[type='checkbox']:checked:focus,
.gfsf-shell .gfield_radio input[type='radio']:checked:focus,
.gfsf-shell .gfield_checkbox input[type='checkbox']:checked:focus,
.gfsf-shell .gfield--type-multi_choice input[type='radio']:checked:focus,
.gfsf-shell .gfield--type-multi_choice input[type='checkbox']:checked:focus {
	box-shadow: 0 0 0 1.5px var(--gfsf-primary) !important;
}

.gfsf-shell .gfsf-field--input .ginput_container:has(.gfsf-field-icon) > input,
.gfsf-shell .gfsf-field--input .ginput_container:has(.gfsf-field-icon) input:first-of-type {
	padding-left: 2.75rem !important;
}

.gfsf-shell .gform_wrapper .gfsf-field--select select,
.gfsf-shell .gform_wrapper .gfsf-field--select .ginput_container {
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 600px) {
	.gfsf-shell .gform_wrapper .ginput_complex > span.ginput_left,
	.gfsf-shell .gform_wrapper .ginput_complex > span.ginput_right,
	.gfsf-shell .gform_wrapper .ginput_container_address > span.ginput_left,
	.gfsf-shell .gform_wrapper .ginput_container_address > span.ginput_right,
	.gfsf-shell .gform_wrapper .ginput_container_name > span.ginput_left,
	.gfsf-shell .gform_wrapper .ginput_container_name > span.ginput_right {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Nav controls — beat theme button width:auto rules */
.gfsf-shell .gfsf-nav,
.gfsf-shell .gform_wrapper .gfsf-nav,
.gfsf-shell form .gfsf-nav {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	justify-content: space-between !important;
	gap: 0.75rem !important;
	margin-top: 1.75rem !important;
	padding: 0.5rem 0 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn,
.gfsf-shell button.gfsf-nav__btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	border: 0 !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
	padding: 0.85rem 1.4rem !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	cursor: pointer;
	font-family: inherit !important;
	line-height: 1.3 !important;
	transition: background 0.15s ease, filter 0.15s ease;
	box-sizing: border-box !important;
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn--back,
.gfsf-shell button.gfsf-nav__btn--back {
	display: none !important;
	order: 1;
	flex: 0 0 auto !important;
	align-self: stretch !important;
	width: auto !important;
	max-width: none !important;
	min-width: 7.5rem !important;
	background: #fff !important;
	color: var(--gfsf-text) !important;
	border: 1px solid var(--gfsf-border) !important;
	padding: 0.85rem 1.4rem !important;
	text-align: center !important;
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn--back.is-visible,
.gfsf-shell button.gfsf-nav__btn--back.is-visible {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn--back:hover {
	background: #f9fafb !important;
	border-color: #d1d5db !important;
	color: var(--gfsf-text) !important;
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn--next,
.gfsf-shell button.gfsf-nav__btn--next {
	display: none !important;
	order: 2;
	flex: 1 1 auto !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	align-self: stretch !important;
	background: var(--gfsf-primary) !important;
	color: #fff !important;
	margin: 0 0 0 auto !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
	text-align: center !important;
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn--next.is-visible,
.gfsf-shell button.gfsf-nav__btn--next.is-visible {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn--next:hover {
	filter: brightness(1.05);
}

.gfsf-shell .gfsf-nav .gfsf-nav__btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/*
 * Continue / Next — trailing stroke arrow after the label.
 * Scoped to funnel Continue controls only (not Submit, Back, Save, confirmation CTAs).
 * Arrow is an inline SVG (.gfsf-continue-arrow) injected by JS — stroke uses currentColor
 * (white on primary green). CSS mask-image on ::after was unreliable (stroke-only data-URI
 * masks often paint fully transparent).
 */
.gfsf-shell button.gform_next_button,
.gfsf-shell .gform_next_button:is(button),
.gfsf-shell .gfsf-nav .gfsf-nav__btn--next.is-visible,
.gfsf-shell button.gfsf-nav__btn--next.is-visible,
.gfsf-property__continue:not([hidden]),
.gfsf-business__continue:not([hidden]) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.4em;
}

.gfsf-shell .gfsf-continue-arrow {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	flex-shrink: 0;
	align-self: center;
	font-size: inherit;
	width: 1em;
	height: 1em;
	line-height: 1;
	color: inherit;
	pointer-events: none;
}

.gfsf-shell .gfsf-continue-arrow svg {
	display: block;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	max-width: 1em;
	max-height: 1em;
	stroke: currentColor;
}

[dir='rtl'] .gfsf-shell .gfsf-continue-arrow,
.gfsf-shell[dir='rtl'] .gfsf-continue-arrow {
	transform: scaleX(-1);
}

.gfsf-shell .gform_footer,
.gfsf-shell .gform_page_footer,
.gfsf-shell .gform-page-footer {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	justify-content: space-between !important;
	gap: 0.75rem !important;
	margin-top: 1.5rem !important;
	padding: 0 !important;
	border: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Promo banner under Continue / submit
 * GF Orbital / theme framework resets border + background on wrapper descendants,
 * so these need shell-scoped selectors and !important. */
.gfsf-shell .gfsf-promo,
.gfsf-shell .gform_wrapper .gfsf-promo,
.gfsf-shell form .gfsf-promo {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.65rem !important;
	margin: 0.85rem 0 0 !important;
	padding: 0.85rem 1rem !important;
	background: #ecfdf3 !important;
	background-color: #ecfdf3 !important;
	border: 1.5px dashed #86efac !important;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px)) !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	box-shadow: none !important;
}

.gfsf-shell .gfsf-promo .gfsf-promo__icon,
.gfsf-shell .gform_wrapper .gfsf-promo .gfsf-promo__icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	margin-top: 0.1rem !important;
	color: #16a34a !important;
	background: transparent !important;
	border: 0 !important;
}

.gfsf-shell .gfsf-promo .gfsf-promo__icon svg,
.gfsf-shell .gform_wrapper .gfsf-promo .gfsf-promo__icon svg {
	display: block !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 2 !important;
}

.gfsf-shell .gfsf-promo .gfsf-promo__text,
.gfsf-shell .gform_wrapper .gfsf-promo .gfsf-promo__text,
.gfsf-shell .gfsf-promo__text {
	display: block !important;
	flex: 1 1 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	font-size: 0.9rem !important;
	line-height: 1.45 !important;
	font-weight: 600 !important;
	color: #166534 !important;
	text-align: left !important;
}

/* Bundle banner — same layout, accent-colored, under field description */
.gfsf-shell .gfsf-promo--bundle,
.gfsf-shell .gform_wrapper .gfsf-promo--bundle,
.gfsf-shell form .gfsf-promo--bundle {
	margin: 0.65rem 0 1rem !important;
	background: color-mix(in srgb, var(--gfsf-accent) 14%, #fff) !important;
	background-color: color-mix(in srgb, var(--gfsf-accent) 14%, #fff) !important;
	border: 1.5px dashed color-mix(in srgb, var(--gfsf-accent) 50%, #fff) !important;
}

.gfsf-shell .gfsf-promo--bundle .gfsf-promo__icon,
.gfsf-shell .gform_wrapper .gfsf-promo--bundle .gfsf-promo__icon {
	color: var(--gfsf-accent) !important;
}

.gfsf-shell .gfsf-promo--bundle .gfsf-promo__text,
.gfsf-shell .gform_wrapper .gfsf-promo--bundle .gfsf-promo__text {
	color: color-mix(in srgb, var(--gfsf-accent) 62%, #0f172a) !important;
}

.gfsf-shell .gfsf-promo--bundle[hidden],
.gfsf-shell .gform_wrapper .gfsf-promo--bundle[hidden] {
	display: none !important;
}

.gfsf-shell .gfsf-promo.gfsf-step-hidden,
.gfsf-shell .gform_wrapper .gfsf-promo.gfsf-step-hidden {
	display: none !important;
}

/* Featured Google review — larger card under promo / Continue */
.gfsf-shell .gfsf-featured-review,
.gfsf-shell .gform_wrapper .gfsf-featured-review {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0.9rem 0 0 !important;
	box-sizing: border-box !important;
}

.gfsf-shell .gfsf-featured-review__card,
.gfsf-shell .gform_wrapper .gfsf-featured-review__card {
	display: block !important;
	padding: 1.15rem 1.25rem 1.05rem !important;
	background: #ffffff !important;
	border: 1px solid var(--gfsf-border) !important;
	border-radius: calc(var(--gfsf-radius, 16px) * 1.125) !important;
	box-shadow: 0 6px 22px rgba(16, 24, 40, 0.1) !important;
	box-sizing: border-box !important;
}

.gfsf-shell .gfsf-featured-review__top {
	display: flex !important;
	align-items: center !important;
	gap: 0.85rem !important;
	margin-bottom: 0.65rem !important;
}

.gfsf-shell .gfsf-featured-review__photo {
	display: block !important;
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	flex-shrink: 0 !important;
	background: #f3f4f6 !important;
}

.gfsf-shell .gfsf-featured-review__meta {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.25rem !important;
	min-width: 0 !important;
}

.gfsf-shell .gfsf-featured-review__stars {
	display: flex !important;
	gap: 0.15rem !important;
	line-height: 1 !important;
}

.gfsf-shell .gfsf-featured-review__stars .gfsf-star {
	font-size: 1.2rem !important;
}

.gfsf-shell .gfsf-featured-review__author {
	display: block !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #111827 !important;
	line-height: 1.3 !important;
}

.gfsf-shell .gfsf-featured-review__text {
	margin: 0 0 0.85rem !important;
	font-size: 1rem !important;
	line-height: 1.55 !important;
	color: #374151 !important;
}

.gfsf-shell .gfsf-featured-review__badge {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.45rem !important;
	padding-top: 0.7rem !important;
	border-top: 1px solid #eceff3 !important;
	text-decoration: none !important;
	color: inherit !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.gfsf-shell a.gfsf-featured-review__badge:hover .gfsf-featured-review__source {
	text-decoration: underline !important;
}

.gfsf-shell .gfsf-featured-review__google {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.gfsf-shell .gfsf-featured-review__google .gfsf-google-g {
	width: 18px !important;
	height: 18px !important;
}

.gfsf-shell .gfsf-featured-review__source {
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	color: #6b7280 !important;
}

.gfsf-shell .gfsf-featured-review__embed {
	margin-top: 0.75rem !important;
	width: 100% !important;
	overflow: auto !important;
}

.gfsf-shell .gfsf-featured-review__embed iframe {
	max-width: 100% !important;
}

.gfsf-shell.gfsf-stepper-active:not(.gfsf-on-last-step) .gform_footer,
.gfsf-shell.gfsf-stepper-active:not(.gfsf-on-last-step) .gform_page_footer .gform_button[type="submit"],
.gfsf-shell.gfsf-stepper-active:not(.gfsf-on-last-step) .gform-page-footer .gform_button[type="submit"] {
	display: none !important;
}

.gfsf-shell .gform_button,
.gfsf-shell .gform_next_button,
.gfsf-shell .gform_button[type="submit"],
.gfsf-shell input[type="submit"].gform_button,
.gfsf-shell input[type="submit"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	box-sizing: border-box !important;
	background: var(--gfsf-primary) !important;
	border: 0 !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
	padding: 0.85rem 1.5rem !important;
	font-weight: 600 !important;
	color: #fff !important;
	box-shadow: none !important;
	text-align: center !important;
}

.gfsf-shell .gform_previous_button {
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	align-self: flex-start !important;
	background: transparent !important;
	color: var(--gfsf-muted) !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
	padding: 0.25rem 0.15rem !important;
}

/* Multipage: tighten GF page progress */
.gfsf-shell .gf-survey-flow--multipage .gf_progressbar_wrapper {
	margin-bottom: 1rem;
}

.gfsf-shell .gf-survey-flow--multipage .gf_progressbar {
	background: #e8eef9 !important;
	border-radius: 999px !important;
	overflow: hidden;
	height: 4px !important;
	border: 0 !important;
}

.gfsf-shell .gf-survey-flow--multipage .gf_progressbar_percentage {
	background: var(--gfsf-primary) !important;
	height: 4px !important;
}

.gfsf-shell .gf-survey-flow--multipage .gf_progressbar_title {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gfsf-muted);
}

/* Sidebar agent card */
.gfsf-agent {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.85rem;
	padding: 1.4rem 1.1rem 1.25rem;
	background: linear-gradient(165deg, #1f2937 0%, #111827 70%, #0b1220 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: calc(var(--gfsf-radius, 16px) * 1.125);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
	color: #f9fafb;
}

.gfsf-agent__photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.gfsf-agent__photo--placeholder {
	display: inline-block;
	background: #4b5563;
}

.gfsf-agent__text {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.gfsf-agent__name {
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
}

.gfsf-agent__creds {
	font-size: 0.8rem;
	line-height: 1.4;
	color: rgba(249, 250, 251, 0.72);
}

/* Google review cards — stacked testimonial style */
.gfsf-reviews {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.gfsf-reviews__list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.gfsf-shell .gfsf-review,
.gfsf-review {
	position: relative;
	padding: 1rem 1.05rem 0.85rem;
	background: #ffffff !important;
	background-color: #ffffff !important;
	border: 1px solid var(--gfsf-border);
	border-radius: calc(var(--gfsf-radius, 16px) * 1.125);
	box-shadow: 0 4px 18px rgba(16, 24, 40, 0.08);
	animation: gfsf-review-float 6s ease-in-out infinite;
	will-change: transform;
}

.gfsf-review:nth-child(2) {
	animation-delay: -2s;
	animation-duration: 7s;
}

.gfsf-review:nth-child(3) {
	animation-delay: -4s;
	animation-duration: 6.5s;
}

@keyframes gfsf-review-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gfsf-review {
		animation: none;
	}
}

.gfsf-review__stars {
	display: flex;
	gap: 0.12rem;
	line-height: 1;
	margin-bottom: 0.55rem;
}

.gfsf-star {
	font-size: 1rem;
	color: #e5e7eb;
}

.gfsf-star.is-filled {
	color: #fbbc04;
}

.gfsf-review__author {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 0.35rem;
}

.gfsf-review__text {
	margin: 0 0 0.75rem;
	font-size: 0.84rem;
	line-height: 1.45;
	color: #4b5563;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gfsf-review__footer {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding-top: 0.65rem;
	border-top: 1px solid #eceff3;
}

.gfsf-review__google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.gfsf-google-g {
	display: block;
	width: 16px;
	height: 16px;
}

.gfsf-review__source {
	font-size: 0.78rem;
	font-weight: 500;
	color: #6b7280;
}

.gfsf-shell .gfsf-reviews__link,
.gfsf-reviews__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.2rem;
	padding: 0.55rem 0.95rem;
	border: 1px solid var(--gfsf-border, #e5e7eb);
	border-radius: 999px;
	background: #fff;
	color: #1f2937 !important;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.gfsf-shell .gfsf-reviews__link:hover,
.gfsf-shell .gfsf-reviews__link:focus-visible,
.gfsf-reviews__link:hover,
.gfsf-reviews__link:focus-visible {
	background: #f9fafb;
	border-color: #d1d5db;
	color: #111827 !important;
	text-decoration: none !important;
}

.gfsf-reviews__link-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
}

.gfsf-reviews__link .gfsf-google-g {
	width: 16px;
	height: 16px;
}

.gfsf-reviews__link-text {
	min-width: 0;
}

/* Monthly Savings Tracker */
.gfsf-savings {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: var(--gfsf-radius, 16px);
	padding: 1.15rem 1.2rem 1rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gfsf-savings__heading {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}

.gfsf-savings__amount {
	margin: 0;
	font-size: 1.85rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--gfsf-accent, #059669);
	font-variant-numeric: tabular-nums;
}

.gfsf-savings__chart-wrap {
	margin: 0.75rem -0.15rem 0;
	height: 56px;
	overflow: hidden;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 8px));
}

.gfsf-savings__chart {
	display: block;
	width: 100%;
	height: 100%;
}

.gfsf-savings__area {
	fill: var(--gfsf-accent, #059669);
	opacity: 0.16;
}

.gfsf-savings__line {
	fill: none;
	stroke: var(--gfsf-accent, #059669);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.gfsf-savings__caption {
	margin: 0.65rem 0 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #6b7280;
}

.gfsf-savings__carriers {
	margin-top: 0.85rem;
}

.gfsf-savings__divider {
	margin: 0 0 0.75rem;
	border: 0;
	border-top: 1px solid #e5e7eb;
}

.gfsf-savings__carriers-heading {
	margin: 0 0 0.55rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6b7280;
}

.gfsf-savings__marquee {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.gfsf-savings__marquee-track {
	display: flex;
	width: max-content;
	animation: gfsf-savings-marquee 28s linear infinite;
}

.gfsf-savings__marquee:hover .gfsf-savings__marquee-track {
	animation-play-state: paused;
}

.gfsf-savings__marquee-set {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 0.45rem;
	padding-right: 0.45rem;
}

.gfsf-savings__carrier {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--gfsf-accent, #059669) 28%, #e5e7eb);
	background: color-mix(in srgb, var(--gfsf-accent, #059669) 8%, #fff);
	color: var(--gfsf-text, #1f2937);
	font-size: 0.72rem;
	font-weight: 650;
	line-height: 1.2;
	white-space: nowrap;
}

@keyframes gfsf-savings-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gfsf-savings__marquee-track {
		animation: none;
		flex-wrap: wrap;
		width: 100%;
	}

	.gfsf-savings__marquee-set[aria-hidden="true"] {
		display: none;
	}

	.gfsf-savings__marquee {
		mask-image: none;
		-webkit-mask-image: none;
	}
}

/* Quote Confirmation (post-submit) */
/* Widen shell past the default 720px so __embed can reach 62.5rem; video/actions
   stay capped by .gfsf-quote-confirmation__inner (44rem). */
.gfsf-shell--confirmation,
.gfsf-shell--disqualification {
	max-width: 62.5rem;
}

.gfsf-shell--confirmation .gfsf-sidebar,
.gfsf-shell--confirmation .gfsf-chrome,
.gfsf-shell--confirmation .gfsf-promo,
.gfsf-shell--confirmation .gfsf-featured-review,
.gfsf-shell--confirmation .gfsf-bundle,
.gfsf-shell--confirmation .gfsf-page-header,
.gfsf-shell--disqualification .gfsf-sidebar,
.gfsf-shell--disqualification .gfsf-chrome,
.gfsf-shell--disqualification .gfsf-promo,
.gfsf-shell--disqualification .gfsf-featured-review,
.gfsf-shell--disqualification .gfsf-bundle,
.gfsf-shell--disqualification .gfsf-page-header,
.gfsf-shell--disqualification .gfsf-nav {
	display: none !important;
}

.gfsf-shell--confirmation .gfsf-layout,
.gfsf-shell--disqualification .gfsf-layout {
	display: block;
}

.gfsf-shell--confirmation .gfsf-main,
.gfsf-shell--disqualification .gfsf-main {
	max-width: 62.5rem;
	margin: 0 auto;
	width: 100%;
}

/* Drop white form card so confirmation matches Funnel Mode page background. */
.gfsf-shell--confirmation .gform_wrapper.gf-survey-flow,
.gfsf-shell--confirmation .gform_wrapper,
.gfsf-shell--disqualification .gform_wrapper.gf-survey-flow,
.gfsf-shell--disqualification .gform_wrapper {
	background: transparent;
	box-shadow: none;
	border: none;
}

.gfsf-shell--disqualification .gform_wrapper,
.gfsf-shell--disqualification .gform_body,
.gfsf-shell--disqualification .gform_footer,
.gfsf-shell--disqualification .gform_page_footer {
	display: none !important;
}

.gfsf-shell--confirmation.gfsf-shell--backdrop,
.gfsf-backdrop:has(.gfsf-shell--confirmation),
.gfsf-shell--disqualification.gfsf-shell--backdrop,
.gfsf-backdrop:has(.gfsf-shell--disqualification) {
	background-color: var(--gfsf-page-bg);
}

/* Hidden until Continue hits a Disqualify choice; shares Quote Confirmation layout. */
.gfsf-disqualification[hidden] {
	display: none !important;
}

.gfsf-shell--disqualification .gfsf-disqualification {
	display: block !important;
}

.gfsf-disqualification .gfsf-disqualification__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 1rem;
	color: #d97706;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.gfsf-disqualification .gfsf-disqualification__icon svg {
	display: block;
	width: 48px;
	height: 48px;
}

.gfsf-disqualification__reasons {
	list-style: none;
	margin: 0 auto 1.5rem;
	padding: 0;
	max-width: 24rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: center;
}

.gfsf-disqualification__reasons li {
	margin: 0;
	padding: 0.85rem 1.15rem;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--gfsf-text, #1f2937);
	background: var(--gfsf-surface, #fff);
	border: 1px solid var(--gfsf-border, #e5e7eb);
	border-radius: var(--gfsf-radius-md, 14px);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.gfsf-quote-confirmation {
	/* Self-contained radius tokens — confirmation can sit outside .gfsf-shell
	   after GF AJAX swaps, and --gfsf-radius-sm only lived on .gfsf-shell. */
	--gfsf-radius: 16px;
	--gfsf-radius-sm: max(0px, calc(var(--gfsf-radius, 16px) - 6px));
	--gfsf-radius-md: max(0px, calc(var(--gfsf-radius, 16px) - 2px));
	--gfsf-radius-lg: calc(var(--gfsf-radius, 16px) * 1.25);

	position: relative;
	padding: 1.5rem 0 2.5rem;
	text-align: center;
	background: transparent;
}

.gfsf-quote-confirmation__inner {
	max-width: 44rem;
	margin: 0 auto;
}

.gfsf-quote-confirmation__icon {
	display: block;
	width: 50px;
	height: 50px;
	margin: 0 auto 1rem;
	object-fit: contain;
}

.gfsf-quote-confirmation__headline {
	margin: 0 0 0.75rem;
	font-size: clamp(1.55rem, 3.2vw, 2.15rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: var(--gfsf-text, #1f2937);
}

.gfsf-quote-confirmation__secondary-headline {
	margin: -0.25rem auto 0.75rem;
	max-width: 36rem;
	font-size: clamp(calc(1.55rem - 6px), calc(3.2vw - 6px), calc(2.15rem - 6px));
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: var(--gfsf-text, #1f2937);
}

.gfsf-quote-confirmation__subtext {
	margin: 0 auto 1.5rem;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: #4b5563;
}

.gfsf-quote-confirmation__video {
	margin: 0 auto 1.5rem;
	max-width: 100%;
	width: 100%;
}

/* Self-contained player layout (works even if confirmation sits outside .gform_wrapper). */
.gfsf-quote-confirmation__video .gfsf-intro-video {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	height: auto !important;
	border-radius: var(--gfsf-radius, 16px);
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
	background: color-mix(in srgb, var(--gfsf-accent, #2563eb) 35%, #0f172a);
}

.gfsf-quote-confirmation__video .gfsf-intro-video__media,
.gfsf-quote-confirmation__video .gfsf-intro-video__poster {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.gfsf-quote-confirmation__video .gfsf-intro-video__media {
	z-index: 0;
	overflow: hidden !important;
	pointer-events: none;
}

.gfsf-quote-confirmation__video .gfsf-intro-video__poster {
	z-index: 1;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	cursor: pointer;
}

.gfsf-quote-confirmation__video .gfsf-intro-video__img,
.gfsf-quote-confirmation__video .gfsf-intro-video__fallback,
.gfsf-quote-confirmation__video iframe,
.gfsf-quote-confirmation__video video {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	border: 0 !important;
	object-fit: cover;
}

.gfsf-quote-confirmation__video .gfsf-intro-video video {
	object-fit: contain !important;
	background: #0f172a;
	z-index: 2;
}

.gfsf-quote-confirmation__video .gfsf-intro-video.is-playing .gfsf-intro-video__poster,
.gfsf-quote-confirmation__video .gfsf-intro-video.is-playing .gfsf-intro-video__media {
	display: none !important;
}

.gfsf-quote-confirmation__video .gfsf-intro-video.is-playing iframe,
.gfsf-quote-confirmation__video .gfsf-intro-video.is-playing video {
	z-index: 2;
}

.gfsf-quote-confirmation__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.gfsf-shell .gfsf-quote-confirmation__btn,
.gfsf-shell a.gfsf-quote-confirmation__btn,
.gfsf-quote-confirmation a.gfsf-quote-confirmation__btn,
.gfsf-quote-confirmation a.gfsf-quote-confirmation__btn--primary,
.gfsf-quote-confirmation a.gfsf-quote-confirmation__btn--secondary,
a.gfsf-quote-confirmation__btn,
.gfsf-quote-confirmation__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.35rem;
	/* Main radius + fallback — --gfsf-radius-sm was often invalid outside .gfsf-shell. */
	border-radius: var(--gfsf-radius, 16px) !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.gfsf-quote-confirmation__btn--primary {
	background: var(--gfsf-primary, #2563eb);
	color: #fff !important;
	border: 0;
}

.gfsf-quote-confirmation__btn--primary:hover {
	filter: brightness(1.05);
}

.gfsf-quote-confirmation__btn--secondary {
	background: #ffffff;
	color: var(--gfsf-text, #1f2937) !important;
	border: 1.5px solid var(--gfsf-border, #e5e7eb);
}

.gfsf-quote-confirmation__btn--secondary:hover {
	background: #f9fafb;
}

/* Direct child of .gfsf-quote-confirmation (outside __inner) so width is not
   capped by __inner's 44rem — video/actions stay narrow; embed can reach 62.5rem. */
.gfsf-quote-confirmation__embed {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 1.5rem auto 0;
	padding-inline: 1rem;
	max-width: 62.5rem;
	width: min(62.5rem, 100%);
	overflow-x: auto;
	text-align: center;
	border-radius: var(--gfsf-radius, 16px);
}

.gfsf-quote-confirmation__embed iframe {
	position: static !important;
	display: block;
	align-self: stretch;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	border: 0;
	border-radius: var(--gfsf-radius, 16px);
}

.gfsf-quote-confirmation__embed > *:not(script) {
	max-width: 100%;
	margin-inline: auto;
}

.gfsf-confetti-canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 10080;
}

/* Hide default GF validation summary noise inside clipped steps */
.gfsf-shell .gfield.gfsf-step-hidden .validation_message {
	display: none;
}

@media (max-width: 600px) {
	.gfsf-shell {
		margin-block: 2rem;
		padding-inline: 0.75rem;
	}

	.entry-content:has(.gfsf-shell) {
		padding-block: 0.75rem;
	}

	.gfsf-shell .gform_wrapper.gf-survey-flow,
	.gfsf-shell .gform_wrapper {
		padding: 1.35rem 1rem 1.1rem;
	}

	.gfsf-shell .gform_wrapper .gfield_label {
		font-size: 1.35rem;
	}

	.gfsf-shell .gfield.gf_list_2col .gfield_checkbox,
	.gfsf-shell .gfield.gf_list_2col .gfield_radio,
	.gfsf-shell .gfield.gf_list_3col .gfield_checkbox,
	.gfsf-shell .gfield.gf_list_3col .gfield_radio {
		grid-template-columns: 1fr !important;
		gap: 0.7rem !important;
	}

	.gfsf-shell .gfsf-choice > label,
	.gfsf-shell .gfsf-choice__label,
	.gfsf-shell .gchoice > label {
		min-height: 4.25rem;
		padding: 0.9rem !important;
	}
}

/* -------------------------------------------------------------------------
 * Driver repeater — summary cards + focused edit panel
 * ------------------------------------------------------------------------- */
.gfsf-driver-editor-placeholder {
	margin: 0;
	padding: 1rem 1.15rem;
	border: 1px dashed #c4c9d4;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px));
	color: #6b7280;
	background: #f8fafc;
	font-size: 0.92rem;
}

.ginput_container_gfsf_driver,
.gfsf-shell .ginput_container_gfsf_driver {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.gfsf-driver__summary,
.ginput_container_gfsf_driver .gfsf-driver__summary {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	width: 100%;
	box-sizing: border-box;
}

/* Empty state: no inset card chrome — CTA is full container width. */
.gfsf-driver__summary:not(:has(.gfsf-driver__card)) {
	display: none;
}

.gfsf-driver__cards,
.ginput_container_gfsf_driver .gfsf-driver__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.gfsf-driver__card,
.ginput_container_gfsf_driver .gfsf-driver__card,
.gfsf-shell .gfsf-driver__card {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.95rem 1.05rem;
	border-radius: var(--gfsf-radius-md, 14px);
	border: 1.5px solid #d7e3f8;
	background: #f3f7fd;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	list-style: none;
}

.gfsf-driver__card-main,
.ginput_container_gfsf_driver .gfsf-driver__card-main {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	flex: 1 1 auto;
}

.gfsf-driver__card-avatar,
.ginput_container_gfsf_driver .gfsf-driver__card-avatar {
	flex: 0 0 2.5rem !important;
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 2.5rem;
	min-height: 2.5rem;
	margin: 0;
	padding: 0;
	border-radius: 999px;
	font-weight: 750;
	font-size: 0.95rem;
	line-height: 1;
	color: #fff !important;
	background: var(--gfsf-primary, #2563eb) !important;
	text-indent: 0;
	overflow: hidden;
}

.gfsf-driver__card-body,
.ginput_container_gfsf_driver .gfsf-driver__card-body {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.15rem;
	min-width: 0;
	flex: 1 1 auto;
}

.gfsf-driver__card-title,
.ginput_container_gfsf_driver .gfsf-driver__card-title {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	color: var(--gfsf-text, #1f2937);
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.gfsf-driver__card-subtitle,
.ginput_container_gfsf_driver .gfsf-driver__card-subtitle {
	display: block;
	font-weight: 500;
	font-size: 0.9rem;
	color: #6b7280;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.gfsf-driver__card-actions,
.ginput_container_gfsf_driver .gfsf-driver__card-actions {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	flex-shrink: 0;
}

.gfsf-driver__edit,
.gfsf-driver__remove,
.gfsf-driver__cancel,
.gfsf-driver__save,
.gfsf-driver__add {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	border-radius: var(--gfsf-radius-sm, 10px);
	padding: 0.55rem 0.95rem;
	line-height: 1.2;
	transition: background 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.gfsf-driver__edit,
.gfsf-driver__cancel {
	background: #fff;
	color: var(--gfsf-text, #1f2937);
	border: 1px solid var(--gfsf-border, #e5e7eb);
}

.gfsf-driver__edit:hover,
.gfsf-driver__cancel:hover {
	background: #f9fafb;
}

.gfsf-driver__remove {
	background: #fff;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.gfsf-driver__remove:hover {
	background: #fef2f2;
}

.gfsf-driver__add,
.gfsf-driver__save {
	background: var(--gfsf-primary, #2563eb);
	color: #fff;
}

.gfsf-driver__add:hover,
.gfsf-driver__save:hover {
	filter: brightness(1.05);
}

.gfsf-driver__add {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.9rem;
	align-self: stretch;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 22px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	border-radius: var(--gfsf-radius-md, 14px);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.gfsf-shell .gfsf-driver__add,
.gfsf-shell .ginput_container_gfsf_driver .gfsf-driver__add,
.ginput_container_gfsf_driver .gfsf-driver__add,
button.gfsf-driver__add {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.9rem !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
	margin: 0 0 20px !important;
	padding: 22px !important;
	text-align: left !important;
}

.gfsf-driver__add-icon,
.gfsf-shell .gfsf-driver__add-icon,
.ginput_container_gfsf_driver .gfsf-driver__add-icon,
button.gfsf-driver__add > svg.gfsf-driver__add-icon {
	display: block !important;
	flex-shrink: 0 !important;
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
	color: currentColor;
}

.gfsf-driver__add-copy,
.gfsf-shell .gfsf-driver__add-copy,
.ginput_container_gfsf_driver .gfsf-driver__add-copy,
button.gfsf-driver__add > .gfsf-driver__add-copy {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0.28rem !important;
	min-width: 0;
	flex: 1 1 auto;
	text-align: left !important;
	width: auto;
}

.gfsf-driver__add-title,
.gfsf-shell .gfsf-driver__add-title,
.ginput_container_gfsf_driver .gfsf-driver__add-title,
button.gfsf-driver__add .gfsf-driver__add-title {
	display: block !important;
	width: 100% !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.gfsf-driver__add-desc,
.gfsf-shell .gfsf-driver__add-desc,
.ginput_container_gfsf_driver .gfsf-driver__add-desc,
button.gfsf-driver__add .gfsf-driver__add-desc {
	display: block !important;
	width: 100% !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.4;
	opacity: 0.9;
	max-width: none;
}

/* When cards exist, keep a compact full-width primary CTA (title only). */
[data-gfsf-driver].has-drivers .gfsf-driver__summary {
	margin-bottom: 0.95rem;
}

[data-gfsf-driver].has-drivers .gfsf-driver__add {
	justify-content: center;
	align-items: center;
	padding: 22px;
	text-align: center;
}

[data-gfsf-driver].has-drivers .gfsf-driver__add-copy {
	flex: 0 1 auto;
	align-items: flex-start;
}

[data-gfsf-driver].has-drivers .gfsf-driver__add-desc {
	display: none;
}

.gfsf-driver__add:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.gfsf-shell .gfsf-driver__add,
.gfsf-shell .gfsf-driver__save {
	background: var(--gfsf-primary, #2563eb) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px)) !important;
	font-weight: 600 !important;
}

.gfsf-shell .gfsf-driver__edit,
.gfsf-shell .gfsf-driver__cancel {
	background: #fff !important;
	color: var(--gfsf-text, #1f2937) !important;
	border: 1px solid var(--gfsf-border, #e5e7eb) !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-shell .gfsf-driver__remove {
	background: #fff !important;
	color: #b91c1c !important;
	border: 1px solid #fecaca !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-driver__panel[hidden] {
	display: none !important;
}

.gfsf-driver__panel,
.gfsf-driver-modal {
	position: fixed;
	inset: 0;
	z-index: 10060;
	display: grid;
	place-items: center;
	padding: 1rem;
	box-sizing: border-box;
}

.gfsf-driver__panel-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
}

.gfsf-driver__panel-sheet {
	position: relative;
	z-index: 1;
	width: min(100%, 720px);
	max-height: min(90vh, 44rem);
	overflow: hidden;
	background: #fff;
	border-radius: var(--gfsf-radius, 16px);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.gfsf-driver__panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 1.1rem 1.15rem 1rem;
	border-bottom: 0;
	/* Solid brand header — no light gradient wash. */
	background: var(--gfsf-primary, #2563eb);
	background-color: var(--gfsf-primary, #2563eb);
	color: #fff;
}

.gfsf-driver__panel-header-main {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

.gfsf-driver__panel-art {
	flex-shrink: 0;
	width: 3.35rem;
	height: 2.4rem;
	color: #fff;
}

.gfsf-driver__panel-art svg {
	display: block;
	width: 100%;
	height: 100%;
}

.gfsf-driver__panel-art-bg {
	fill: rgba(255, 255, 255, 0.12);
	stroke: rgba(255, 255, 255, 0.45);
	stroke-width: 1;
}

.gfsf-driver__panel-art-primary {
	fill: #fff;
	stroke: #fff;
}

.gfsf-driver__panel-art-accent {
	fill: rgba(255, 255, 255, 0.82);
	stroke: rgba(255, 255, 255, 0.82);
}

.gfsf-driver__panel-art path.gfsf-driver__panel-art-primary,
.gfsf-driver__panel-art path.gfsf-driver__panel-art-accent {
	fill: none;
}

.gfsf-driver__panel-heading {
	min-width: 0;
}

.gfsf-driver__panel-eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.gfsf-driver__panel-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.gfsf-driver__panel-close {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 999px;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.gfsf-driver__panel-close:hover,
.gfsf-driver__panel-close:focus-visible {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
	outline: none;
}

.gfsf-driver__panel-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.15rem 0.5rem;
}

.gfsf-driver__panel-footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	flex-shrink: 0;
	padding: 0.85rem 1.15rem 1.1rem;
	border-top: 1px solid #eef2f7;
	background: #fff;
}

@media (max-width: 560px) {
	.gfsf-driver__panel,
	.gfsf-driver-modal {
		padding: 0.5rem;
		place-items: center;
	}

	.gfsf-driver__panel-sheet {
		width: 100%;
		max-height: 96vh;
		border-radius: var(--gfsf-radius-md, 14px);
	}
}

.gfsf-driver__group {
	margin: 0 0 0.9rem;
	padding: 0.85rem 0.95rem 1rem;
	border: 1px solid color-mix(in srgb, var(--gfsf-border, #e5e7eb) 90%, transparent);
	border-radius: var(--gfsf-radius-md, 14px);
	/* Near-white wash — hint of primary only (was ~4.5% on slate). */
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 1.25%, #fff);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.gfsf-driver__group + .gfsf-driver__group {
	background: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 1%, #fff);
	border-color: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 6%, var(--gfsf-border, #e5e7eb));
}

.gfsf-driver__group legend {
	padding: 0 0.15rem;
	margin: 0 0 0.7rem;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 42%, #475569);
}

.gfsf-driver__group + .gfsf-driver__group legend {
	color: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 42%, #475569);
}

.gfsf-driver__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.7rem;
}

@media (min-width: 560px) {
	.gfsf-driver__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gfsf-driver__field--full {
		grid-column: 1 / -1;
	}
}

.gfsf-driver__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #334155;
}

/*
 * Modal portals to <body>, so .gfsf-shell .gform_wrapper input/select rules
 * never apply. Mirror funnel field chrome here with !important so theme/GF
 * UA styles (and native select appearance) cannot shrink perceived radius.
 */
.gfsf-driver__panel .gfsf-driver__input,
.gfsf-driver-modal .gfsf-driver__input,
input.gfsf-driver__input,
select.gfsf-driver__input,
textarea.gfsf-driver__input {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0.95rem 1.05rem !important;
	border: 1.5px solid rgba(15, 23, 42, 0.1) !important;
	border-radius: var(--gfsf-radius-md, 14px) !important;
	font-size: 1.05rem !important;
	font-family: inherit !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: var(--gfsf-text, #1f2937) !important;
	background-color: #fff !important;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 8px 20px rgba(15, 23, 42, 0.045) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	min-height: 3.25rem !important;
}

input.gfsf-driver__input:not([type="hidden"]),
select.gfsf-driver__input {
	height: 3.25rem !important;
	min-height: 3.25rem !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 3.2rem !important;
}

select.gfsf-driver__input {
	padding-right: 2.6rem !important;
	color: var(--gfsf-text, #1f2937) !important;
	-webkit-text-fill-color: var(--gfsf-text, #1f2937) !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem 1rem !important;
	cursor: pointer;
	display: block !important;
	opacity: 1 !important;
	border-radius: var(--gfsf-radius-md, 14px) !important;
}

select.gfsf-driver__input option {
	color: var(--gfsf-text, #1f2937) !important;
	background-color: #fff !important;
	line-height: normal !important;
}

textarea.gfsf-driver__input {
	height: auto !important;
	min-height: 5rem !important;
	padding: 0.95rem 1.05rem !important;
	line-height: 1.4 !important;
	resize: vertical;
	border-radius: var(--gfsf-radius-md, 14px) !important;
}

.gfsf-driver__input:hover {
	border-color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 35%, #d1d5db) !important;
}

.gfsf-driver__input:focus {
	outline: none !important;
	border-color: var(--gfsf-primary, #2563eb) !important;
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--gfsf-primary, #2563eb) 22%, transparent),
		0 8px 22px color-mix(in srgb, var(--gfsf-primary, #2563eb) 12%, transparent) !important;
}

.gfsf-driver__panel-error {
	margin: 0 0 0.5rem;
	padding: 0.65rem 0.8rem;
	border-radius: var(--gfsf-radius-sm, 10px);
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.88rem;
	font-weight: 600;
}

/* Overflow reinforce only — JS position:fixed + scrollY restore is source of truth. */
body.gfsf-driver-panel-open {
	overflow: hidden;
}

.gfsf-driver-entry__row {
	margin: 0 0 1rem;
}

.gfsf-driver-entry ul {
	margin: 0.4rem 0 0;
	padding-left: 1.1rem;
}

.gfsf-driver-entry__label {
	font-weight: 600;
}

@media (max-width: 600px) {
	.gfsf-driver__card,
	.ginput_container_gfsf_driver .gfsf-driver__card,
	.gfsf-shell .gfsf-driver__card {
		flex-direction: column;
		align-items: stretch;
	}

	.gfsf-driver__card-actions,
	.ginput_container_gfsf_driver .gfsf-driver__card-actions {
		justify-content: flex-end;
		width: 100%;
	}

	.gfsf-driver__card-actions .gfsf-driver__edit,
	.gfsf-driver__card-actions .gfsf-driver__remove {
		flex: 1 1 auto;
	}
}

.gfsf-property-editor-placeholder {
	margin: 0;
	padding: 1rem 1.15rem;
	border: 1px dashed #c4c9d4;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px));
	color: #6b7280;
	background: #f8fafc;
	font-size: 0.92rem;
}

.ginput_container_gfsf_property,
.gfsf-shell .ginput_container_gfsf_property {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.gfsf-property__summary,
.ginput_container_gfsf_property .gfsf-property__summary {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	width: 100%;
	box-sizing: border-box;
}

/* Empty state: no inset card chrome — CTA is full container width. */
.gfsf-property__summary:not(:has(.gfsf-property__card)) {
	display: none;
}

.gfsf-property__cards,
.ginput_container_gfsf_property .gfsf-property__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.gfsf-property__card,
.ginput_container_gfsf_property .gfsf-property__card,
.gfsf-shell .gfsf-property__card {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.95rem 1.05rem;
	border-radius: var(--gfsf-radius-md, 14px);
	border: 1.5px solid #d7e3f8;
	background: #f3f7fd;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	list-style: none;
}

.gfsf-property__card-main,
.ginput_container_gfsf_property .gfsf-property__card-main {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	flex: 1 1 auto;
}

.gfsf-property__card-avatar,
.ginput_container_gfsf_property .gfsf-property__card-avatar {
	flex: 0 0 2.5rem !important;
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 2.5rem;
	min-height: 2.5rem;
	margin: 0;
	padding: 0;
	border-radius: 999px;
	font-weight: 750;
	font-size: 0.95rem;
	line-height: 1;
	color: #fff !important;
	background: var(--gfsf-primary, #2563eb) !important;
	text-indent: 0;
	overflow: hidden;
}

.gfsf-property__card-body,
.ginput_container_gfsf_property .gfsf-property__card-body {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.15rem;
	min-width: 0;
	flex: 1 1 auto;
}

.gfsf-property__card-title,
.ginput_container_gfsf_property .gfsf-property__card-title {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	color: var(--gfsf-text, #1f2937);
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.gfsf-property__card-subtitle,
.ginput_container_gfsf_property .gfsf-property__card-subtitle {
	display: block;
	font-weight: 500;
	font-size: 0.9rem;
	color: #6b7280;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.gfsf-property__card-actions,
.ginput_container_gfsf_property .gfsf-property__card-actions {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	flex-shrink: 0;
}

.gfsf-property__edit,
.gfsf-property__remove,
.gfsf-property__cancel,
.gfsf-property__back,
.gfsf-property__continue,
.gfsf-property__save,
.gfsf-property__add {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	border-radius: var(--gfsf-radius-sm, 10px);
	padding: 0.55rem 0.95rem;
	line-height: 1.2;
	transition: background 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.gfsf-property__edit,
.gfsf-property__cancel {
	background: #fff;
	color: var(--gfsf-text, #1f2937);
	border: 1px solid var(--gfsf-border, #e5e7eb);
}

.gfsf-property__edit:hover,
.gfsf-property__cancel:hover {
	background: #f9fafb;
}

.gfsf-property__remove {
	background: #fff;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.gfsf-property__remove:hover {
	background: #fef2f2;
}

.gfsf-property__add,
.gfsf-property__continue,
.gfsf-property__save {
	background: var(--gfsf-primary, #2563eb);
	color: #fff;
}

.gfsf-property__add:hover,
.gfsf-property__continue:hover,
.gfsf-property__save:hover {
	filter: brightness(1.05);
}

.gfsf-property__add {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.9rem;
	align-self: stretch;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 22px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	border-radius: var(--gfsf-radius-md, 14px);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.gfsf-shell .gfsf-property__add,
.gfsf-shell .ginput_container_gfsf_property .gfsf-property__add,
.ginput_container_gfsf_property .gfsf-property__add,
button.gfsf-property__add {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.9rem !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
	margin: 0 0 20px !important;
	padding: 22px !important;
	text-align: left !important;
}

.gfsf-property__add-icon,
.gfsf-shell .gfsf-property__add-icon,
.ginput_container_gfsf_property .gfsf-property__add-icon,
button.gfsf-property__add > svg.gfsf-property__add-icon {
	display: block !important;
	flex-shrink: 0 !important;
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
	color: currentColor;
}

.gfsf-property__add-copy,
.gfsf-shell .gfsf-property__add-copy,
.ginput_container_gfsf_property .gfsf-property__add-copy,
button.gfsf-property__add > .gfsf-property__add-copy {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0.28rem !important;
	min-width: 0;
	flex: 1 1 auto;
	text-align: left !important;
	width: auto;
}

.gfsf-property__add-title,
.gfsf-shell .gfsf-property__add-title,
.ginput_container_gfsf_property .gfsf-property__add-title,
button.gfsf-property__add .gfsf-property__add-title {
	display: block !important;
	width: 100% !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.gfsf-property__add-desc,
.gfsf-shell .gfsf-property__add-desc,
.ginput_container_gfsf_property .gfsf-property__add-desc,
button.gfsf-property__add .gfsf-property__add-desc {
	display: block !important;
	width: 100% !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.4;
	opacity: 0.9;
	max-width: none;
}

/* When cards exist, keep a compact full-width primary CTA (title only). */
[data-gfsf-property].has-property .gfsf-property__summary {
	margin-bottom: 0.95rem;
}

[data-gfsf-property].has-property .gfsf-property__add {
	display: none !important;
}

.gfsf-property__add:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.gfsf-shell .gfsf-property__add,
.gfsf-shell .gfsf-property__continue,
.gfsf-shell .gfsf-property__save {
	background: var(--gfsf-primary, #2563eb) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px)) !important;
	font-weight: 600 !important;
}

.gfsf-shell .gfsf-property__edit,
.gfsf-shell .gfsf-property__cancel {
	background: #fff !important;
	color: var(--gfsf-text, #1f2937) !important;
	border: 1px solid var(--gfsf-border, #e5e7eb) !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-shell .gfsf-property__remove {
	background: #fff !important;
	color: #b91c1c !important;
	border: 1px solid #fecaca !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-property__panel[hidden] {
	display: none !important;
}

.gfsf-property__panel,
.gfsf-property-modal {
	position: fixed;
	inset: 0;
	z-index: 10060;
	display: grid;
	place-items: center;
	padding: 1rem;
	box-sizing: border-box;
}

.gfsf-property__panel-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
}

.gfsf-property__panel-sheet {
	position: relative;
	z-index: 1;
	width: min(100%, 720px);
	max-height: min(90vh, 44rem);
	overflow: hidden;
	background: #fff;
	border-radius: var(--gfsf-radius, 16px);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.gfsf-property__panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 1.1rem 1.15rem 1rem;
	border-bottom: 0;
	/* Solid brand header — no light gradient wash. */
	background: var(--gfsf-primary, #2563eb);
	background-color: var(--gfsf-primary, #2563eb);
	color: #fff;
}

.gfsf-property__panel-header-main {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

.gfsf-property__panel-art {
	flex-shrink: 0;
	width: 3.35rem;
	height: 2.4rem;
	color: #fff;
}

.gfsf-property__panel-art svg {
	display: block;
	width: 100%;
	height: 100%;
}

.gfsf-property__panel-art-bg {
	fill: rgba(255, 255, 255, 0.12);
	stroke: rgba(255, 255, 255, 0.45);
	stroke-width: 1;
}

.gfsf-property__panel-art-primary {
	fill: #fff;
	stroke: #fff;
}

.gfsf-property__panel-art-accent {
	fill: rgba(255, 255, 255, 0.82);
	stroke: rgba(255, 255, 255, 0.82);
}

.gfsf-property__panel-art path.gfsf-property__panel-art-primary,
.gfsf-property__panel-art path.gfsf-property__panel-art-accent {
	fill: none;
}

.gfsf-property__panel-heading {
	min-width: 0;
}

.gfsf-property__panel-eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.gfsf-property__panel-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.gfsf-property__panel-close {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 999px;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.gfsf-property__panel-close:hover,
.gfsf-property__panel-close:focus-visible {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
	outline: none;
}

.gfsf-property__panel-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.15rem 0.5rem;
}

.gfsf-property__panel-footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	flex-shrink: 0;
	padding: 0.85rem 1.15rem 1.1rem;
	border-top: 1px solid #eef2f7;
	background: #fff;
}

@media (max-width: 560px) {
	.gfsf-property__panel,
	.gfsf-property-modal {
		padding: 0.5rem;
		place-items: center;
	}

	.gfsf-property__panel-sheet {
		width: 100%;
		max-height: 96vh;
		border-radius: var(--gfsf-radius-md, 14px);
	}
}

.gfsf-property__group {
	margin: 0 0 0.9rem;
	padding: 0.85rem 0.95rem 1rem;
	border: 1px solid color-mix(in srgb, var(--gfsf-border, #e5e7eb) 90%, transparent);
	border-radius: var(--gfsf-radius-md, 14px);
	/* Near-white wash — hint of primary only (was ~4.5% on slate). */
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 1.25%, #fff);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.gfsf-property__group + .gfsf-property__group {
	background: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 1%, #fff);
	border-color: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 6%, var(--gfsf-border, #e5e7eb));
}

.gfsf-property__group legend {
	padding: 0 0.15rem;
	margin: 0 0 0.7rem;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 42%, #475569);
}

.gfsf-property__group + .gfsf-property__group legend {
	color: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 42%, #475569);
}

.gfsf-property__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.7rem;
}

@media (min-width: 560px) {
	.gfsf-property__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gfsf-property__field--full {
		grid-column: 1 / -1;
	}
}

.gfsf-property__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #334155;
}

/*
 * Modal portals to <body>, so .gfsf-shell .gform_wrapper input/select rules
 * never apply. Mirror funnel field chrome here with !important so theme/GF
 * UA styles (and native select appearance) cannot shrink perceived radius.
 */
.gfsf-property__panel .gfsf-property__input,
.gfsf-property-modal .gfsf-property__input,
input.gfsf-property__input,
select.gfsf-property__input,
textarea.gfsf-property__input {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0.95rem 1.05rem !important;
	border: 1.5px solid rgba(15, 23, 42, 0.1) !important;
	border-radius: var(--gfsf-radius-md, 14px) !important;
	font-size: 1.05rem !important;
	font-family: inherit !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: var(--gfsf-text, #1f2937) !important;
	background-color: #fff !important;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 8px 20px rgba(15, 23, 42, 0.045) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	min-height: 3.25rem !important;
}

input.gfsf-property__input:not([type="hidden"]),
select.gfsf-property__input {
	height: 3.25rem !important;
	min-height: 3.25rem !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 3.2rem !important;
}

select.gfsf-property__input {
	padding-right: 2.6rem !important;
	color: var(--gfsf-text, #1f2937) !important;
	-webkit-text-fill-color: var(--gfsf-text, #1f2937) !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem 1rem !important;
	cursor: pointer;
	display: block !important;
	opacity: 1 !important;
	border-radius: var(--gfsf-radius-md, 14px) !important;
}

select.gfsf-property__input option {
	color: var(--gfsf-text, #1f2937) !important;
	background-color: #fff !important;
	line-height: normal !important;
}

textarea.gfsf-property__input {
	height: auto !important;
	min-height: 5rem !important;
	padding: 0.95rem 1.05rem !important;
	line-height: 1.4 !important;
	resize: vertical;
	border-radius: var(--gfsf-radius-md, 14px) !important;
}

.gfsf-property__input:hover {
	border-color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 35%, #d1d5db) !important;
}

.gfsf-property__input:focus {
	outline: none !important;
	border-color: var(--gfsf-primary, #2563eb) !important;
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--gfsf-primary, #2563eb) 22%, transparent),
		0 8px 22px color-mix(in srgb, var(--gfsf-primary, #2563eb) 12%, transparent) !important;
}

.gfsf-property__panel-error {
	margin: 0 0 0.5rem;
	padding: 0.65rem 0.8rem;
	border-radius: var(--gfsf-radius-sm, 10px);
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.88rem;
	font-weight: 600;
}

/* Overflow reinforce only — JS position:fixed + scrollY restore is source of truth. */
body.gfsf-property-panel-open {
	overflow: hidden;
}

.gfsf-property-entry__row {
	margin: 0 0 1rem;
}

.gfsf-property-entry ul {
	margin: 0.4rem 0 0;
	padding-left: 1.1rem;
}

.gfsf-property-entry__label {
	font-weight: 600;
}

@media (max-width: 600px) {
	.gfsf-property__card,
	.ginput_container_gfsf_property .gfsf-property__card,
	.gfsf-shell .gfsf-property__card {
		flex-direction: column;
		align-items: stretch;
	}

	.gfsf-property__card-actions,
	.ginput_container_gfsf_property .gfsf-property__card-actions {
		justify-content: flex-end;
		width: 100%;
	}

	.gfsf-property__card-actions .gfsf-property__edit,
	.gfsf-property__card-actions .gfsf-property__remove {
		flex: 1 1 auto;
	}
}


/* Property section wizard */
.gfsf-property__steps {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px));
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 6%, #f8fafc);
	border: 1px solid color-mix(in srgb, var(--gfsf-primary, #2563eb) 12%, #e5e7eb);
}

.gfsf-property__steps-label {
	font-size: 0.82rem;
	font-weight: 700;
	color: #475569;
	letter-spacing: 0.02em;
}

.gfsf-property__steps-dots {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
}

.gfsf-property__steps-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: #cbd5e1;
}

.gfsf-property__steps-dot.is-active {
	background: var(--gfsf-primary, #2563eb);
	transform: scale(1.15);
}

.gfsf-property__steps-dot.is-done {
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 70%, #94a3b8);
}

.gfsf-property__step[hidden] {
	display: none !important;
}

.gfsf-property__field[data-gfsf-show-when] {
	display: none;
}

.gfsf-property__field[data-gfsf-show-when].is-visible {
	display: flex;
}

.gfsf-property__back {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	border-radius: var(--gfsf-radius-sm, 10px);
	padding: 0.55rem 0.95rem;
	line-height: 1.2;
	background: #fff;
	color: var(--gfsf-text, #1f2937);
	border: 1px solid var(--gfsf-border, #e5e7eb);
	margin-right: auto;
}

.gfsf-property__back:hover {
	background: #f9fafb;
}

.gfsf-property__back[hidden] {
	display: none !important;
}

.gfsf-shell .gfsf-property__back {
	background: #fff !important;
	color: var(--gfsf-text, #1f2937) !important;
	border: 1px solid var(--gfsf-border, #e5e7eb) !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-property__panel-footer {
	justify-content: flex-start;
}

.gfsf-property__continue,
.gfsf-property__save {
	margin-left: auto;
}

.gfsf-business-editor-placeholder {
	margin: 0;
	padding: 1rem 1.15rem;
	border: 1px dashed #c4c9d4;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px));
	color: #6b7280;
	background: #f8fafc;
	font-size: 0.92rem;
}

.ginput_container_gfsf_business,
.gfsf-shell .ginput_container_gfsf_business {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.gfsf-business__summary,
.ginput_container_gfsf_business .gfsf-business__summary {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	width: 100%;
	box-sizing: border-box;
}

/* Empty state: no inset card chrome — CTA is full container width. */
.gfsf-business__summary:not(:has(.gfsf-business__card)) {
	display: none;
}

.gfsf-business__cards,
.ginput_container_gfsf_business .gfsf-business__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.gfsf-business__card,
.ginput_container_gfsf_business .gfsf-business__card,
.gfsf-shell .gfsf-business__card {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.95rem 1.05rem;
	border-radius: var(--gfsf-radius-md, 14px);
	border: 1.5px solid #d7e3f8;
	background: #f3f7fd;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	list-style: none;
}

.gfsf-business__card-main,
.ginput_container_gfsf_business .gfsf-business__card-main {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
	flex: 1 1 auto;
}

.gfsf-business__card-avatar,
.ginput_container_gfsf_business .gfsf-business__card-avatar {
	flex: 0 0 2.5rem !important;
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	min-width: 2.5rem;
	min-height: 2.5rem;
	margin: 0;
	padding: 0;
	border-radius: 999px;
	font-weight: 750;
	font-size: 0.95rem;
	line-height: 1;
	color: #fff !important;
	background: var(--gfsf-primary, #2563eb) !important;
	text-indent: 0;
	overflow: hidden;
}

.gfsf-business__card-body,
.ginput_container_gfsf_business .gfsf-business__card-body {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 0.15rem;
	min-width: 0;
	flex: 1 1 auto;
}

.gfsf-business__card-title,
.ginput_container_gfsf_business .gfsf-business__card-title {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	color: var(--gfsf-text, #1f2937);
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.gfsf-business__card-subtitle,
.ginput_container_gfsf_business .gfsf-business__card-subtitle {
	display: block;
	font-weight: 500;
	font-size: 0.9rem;
	color: #6b7280;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.gfsf-business__card-actions,
.ginput_container_gfsf_business .gfsf-business__card-actions {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.45rem;
	flex-shrink: 0;
}

.gfsf-business__edit,
.gfsf-business__remove,
.gfsf-business__cancel,
.gfsf-business__back,
.gfsf-business__continue,
.gfsf-business__save,
.gfsf-business__add {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	border-radius: var(--gfsf-radius-sm, 10px);
	padding: 0.55rem 0.95rem;
	line-height: 1.2;
	transition: background 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.gfsf-business__edit,
.gfsf-business__cancel {
	background: #fff;
	color: var(--gfsf-text, #1f2937);
	border: 1px solid var(--gfsf-border, #e5e7eb);
}

.gfsf-business__edit:hover,
.gfsf-business__cancel:hover {
	background: #f9fafb;
}

.gfsf-business__remove {
	background: #fff;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.gfsf-business__remove:hover {
	background: #fef2f2;
}

.gfsf-business__add,
.gfsf-business__continue,
.gfsf-business__save {
	background: var(--gfsf-primary, #2563eb);
	color: #fff;
}

.gfsf-business__add:hover,
.gfsf-business__continue:hover,
.gfsf-business__save:hover {
	filter: brightness(1.05);
}

.gfsf-business__add {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.9rem;
	align-self: stretch;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	padding: 22px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	border-radius: var(--gfsf-radius-md, 14px);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.gfsf-shell .gfsf-business__add,
.gfsf-shell .ginput_container_gfsf_business .gfsf-business__add,
.ginput_container_gfsf_business .gfsf-business__add,
button.gfsf-business__add {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.9rem !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box !important;
	margin: 0 0 20px !important;
	padding: 22px !important;
	text-align: left !important;
}

.gfsf-business__add-icon,
.gfsf-shell .gfsf-business__add-icon,
.ginput_container_gfsf_business .gfsf-business__add-icon,
button.gfsf-business__add > svg.gfsf-business__add-icon {
	display: block !important;
	flex-shrink: 0 !important;
	width: 22px !important;
	height: 22px !important;
	max-width: 22px !important;
	max-height: 22px !important;
	color: currentColor;
}

.gfsf-business__add-copy,
.gfsf-shell .gfsf-business__add-copy,
.ginput_container_gfsf_business .gfsf-business__add-copy,
button.gfsf-business__add > .gfsf-business__add-copy {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0.28rem !important;
	min-width: 0;
	flex: 1 1 auto;
	text-align: left !important;
	width: auto;
}

.gfsf-business__add-title,
.gfsf-shell .gfsf-business__add-title,
.ginput_container_gfsf_business .gfsf-business__add-title,
button.gfsf-business__add .gfsf-business__add-title {
	display: block !important;
	width: 100% !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.gfsf-business__add-desc,
.gfsf-shell .gfsf-business__add-desc,
.ginput_container_gfsf_business .gfsf-business__add-desc,
button.gfsf-business__add .gfsf-business__add-desc {
	display: block !important;
	width: 100% !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.4;
	opacity: 0.9;
	max-width: none;
}

/* When cards exist, keep a compact full-width primary CTA (title only). */
[data-gfsf-business].has-business .gfsf-business__summary {
	margin-bottom: 0.95rem;
}

[data-gfsf-business].has-business .gfsf-business__add {
	display: none !important;
}

.gfsf-business__add:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.gfsf-shell .gfsf-business__add,
.gfsf-shell .gfsf-business__continue,
.gfsf-shell .gfsf-business__save {
	background: var(--gfsf-primary, #2563eb) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px)) !important;
	font-weight: 600 !important;
}

.gfsf-shell .gfsf-business__edit,
.gfsf-shell .gfsf-business__cancel {
	background: #fff !important;
	color: var(--gfsf-text, #1f2937) !important;
	border: 1px solid var(--gfsf-border, #e5e7eb) !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-shell .gfsf-business__remove {
	background: #fff !important;
	color: #b91c1c !important;
	border: 1px solid #fecaca !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-business__panel[hidden] {
	display: none !important;
}

.gfsf-business__panel,
.gfsf-business-modal {
	position: fixed;
	inset: 0;
	z-index: 10060;
	display: grid;
	place-items: center;
	padding: 1rem;
	box-sizing: border-box;
}

.gfsf-business__panel-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
}

.gfsf-business__panel-sheet {
	position: relative;
	z-index: 1;
	width: min(100%, 720px);
	max-height: min(90vh, 44rem);
	overflow: hidden;
	background: #fff;
	border-radius: var(--gfsf-radius, 16px);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.gfsf-business__panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 2;
	padding: 1.1rem 1.15rem 1rem;
	border-bottom: 0;
	/* Solid brand header — no light gradient wash. */
	background: var(--gfsf-primary, #2563eb);
	background-color: var(--gfsf-primary, #2563eb);
	color: #fff;
}

.gfsf-business__panel-header-main {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

.gfsf-business__panel-art {
	flex-shrink: 0;
	width: 3.35rem;
	height: 2.4rem;
	color: #fff;
}

.gfsf-business__panel-art svg {
	display: block;
	width: 100%;
	height: 100%;
}

.gfsf-business__panel-art-bg {
	fill: rgba(255, 255, 255, 0.12);
	stroke: rgba(255, 255, 255, 0.45);
	stroke-width: 1;
}

.gfsf-business__panel-art-primary {
	fill: #fff;
	stroke: #fff;
}

.gfsf-business__panel-art-accent {
	fill: rgba(255, 255, 255, 0.82);
	stroke: rgba(255, 255, 255, 0.82);
}

.gfsf-business__panel-art path.gfsf-business__panel-art-primary,
.gfsf-business__panel-art path.gfsf-business__panel-art-accent {
	fill: none;
}

.gfsf-business__panel-heading {
	min-width: 0;
}

.gfsf-business__panel-eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.gfsf-business__panel-title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.gfsf-business__panel-close {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 999px;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.gfsf-business__panel-close:hover,
.gfsf-business__panel-close:focus-visible {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
	outline: none;
}

.gfsf-business__panel-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1rem 1.15rem 0.5rem;
}

.gfsf-business__panel-footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	flex-shrink: 0;
	padding: 0.85rem 1.15rem 1.1rem;
	border-top: 1px solid #eef2f7;
	background: #fff;
}

@media (max-width: 560px) {
	.gfsf-business__panel,
	.gfsf-business-modal {
		padding: 0.5rem;
		place-items: center;
	}

	.gfsf-business__panel-sheet {
		width: 100%;
		max-height: 96vh;
		border-radius: var(--gfsf-radius-md, 14px);
	}
}

.gfsf-business__group {
	margin: 0 0 0.9rem;
	padding: 0.85rem 0.95rem 1rem;
	border: 1px solid color-mix(in srgb, var(--gfsf-border, #e5e7eb) 90%, transparent);
	border-radius: var(--gfsf-radius-md, 14px);
	/* Near-white wash — primary tint at 6.25% opacity. */
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 6.25%, #fff);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.gfsf-business__group + .gfsf-business__group {
	background: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 1%, #fff);
	border-color: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 6%, var(--gfsf-border, #e5e7eb));
}

.gfsf-business__group legend {
	padding: 0 0.15rem;
	margin: 0 0 0.7rem;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 42%, #475569);
}

.gfsf-business__group + .gfsf-business__group legend {
	color: color-mix(in srgb, var(--gfsf-accent, var(--gfsf-primary, #2563eb)) 42%, #475569);
}

.gfsf-business__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.7rem;
}

@media (min-width: 560px) {
	.gfsf-business__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gfsf-business__field--full {
		grid-column: 1 / -1;
	}
}

.gfsf-business__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #334155;
}

/*
 * Modal portals to <body>, so .gfsf-shell .gform_wrapper input/select rules
 * never apply. Mirror funnel field chrome here with !important so theme/GF
 * UA styles (and native select appearance) cannot shrink perceived radius.
 */
.gfsf-business__panel .gfsf-business__input,
.gfsf-business-modal .gfsf-business__input,
input.gfsf-business__input,
select.gfsf-business__input,
textarea.gfsf-business__input {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0.95rem 1.05rem !important;
	border: 1.5px solid rgba(15, 23, 42, 0.1) !important;
	border-radius: var(--gfsf-radius-md, 14px) !important;
	font-size: 1.05rem !important;
	font-family: inherit !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: var(--gfsf-text, #1f2937) !important;
	background-color: #fff !important;
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 8px 20px rgba(15, 23, 42, 0.045) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	min-height: 3.25rem !important;
}

input.gfsf-business__input:not([type="hidden"]),
select.gfsf-business__input {
	height: 3.25rem !important;
	min-height: 3.25rem !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 3.2rem !important;
}

select.gfsf-business__input {
	padding-right: 2.6rem !important;
	color: var(--gfsf-text, #1f2937) !important;
	-webkit-text-fill-color: var(--gfsf-text, #1f2937) !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem 1rem !important;
	cursor: pointer;
	display: block !important;
	opacity: 1 !important;
	border-radius: var(--gfsf-radius-md, 14px) !important;
}

select.gfsf-business__input option {
	color: var(--gfsf-text, #1f2937) !important;
	background-color: #fff !important;
	line-height: normal !important;
}

textarea.gfsf-business__input {
	height: auto !important;
	min-height: 5rem !important;
	padding: 0.95rem 1.05rem !important;
	line-height: 1.4 !important;
	resize: vertical;
	border-radius: var(--gfsf-radius-md, 14px) !important;
}

.gfsf-business__input:hover {
	border-color: color-mix(in srgb, var(--gfsf-primary, #2563eb) 35%, #d1d5db) !important;
}

.gfsf-business__input:focus {
	outline: none !important;
	border-color: var(--gfsf-primary, #2563eb) !important;
	box-shadow:
		0 0 0 3px color-mix(in srgb, var(--gfsf-primary, #2563eb) 22%, transparent),
		0 8px 22px color-mix(in srgb, var(--gfsf-primary, #2563eb) 12%, transparent) !important;
}

.gfsf-business__panel-error {
	margin: 0 0 0.5rem;
	padding: 0.65rem 0.8rem;
	border-radius: var(--gfsf-radius-sm, 10px);
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.88rem;
	font-weight: 600;
}

/* Overflow reinforce only — JS position:fixed + scrollY restore is source of truth. */
body.gfsf-business-panel-open {
	overflow: hidden;
}

.gfsf-business-entry__row {
	margin: 0 0 1rem;
}

.gfsf-business-entry ul {
	margin: 0.4rem 0 0;
	padding-left: 1.1rem;
}

.gfsf-business-entry__label {
	font-weight: 600;
}

@media (max-width: 600px) {
	.gfsf-business__card,
	.ginput_container_gfsf_business .gfsf-business__card,
	.gfsf-shell .gfsf-business__card {
		flex-direction: column;
		align-items: stretch;
	}

	.gfsf-business__card-actions,
	.ginput_container_gfsf_business .gfsf-business__card-actions {
		justify-content: flex-end;
		width: 100%;
	}

	.gfsf-business__card-actions .gfsf-business__edit,
	.gfsf-business__card-actions .gfsf-business__remove {
		flex: 1 1 auto;
	}
}


/* Property section wizard */
.gfsf-business__steps {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	border-radius: max(0px, calc(var(--gfsf-radius, 16px) - 4px));
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 6%, #f8fafc);
	border: 1px solid color-mix(in srgb, var(--gfsf-primary, #2563eb) 12%, #e5e7eb);
}

.gfsf-business__steps-label {
	font-size: 0.82rem;
	font-weight: 700;
	color: #475569;
	letter-spacing: 0.02em;
}

.gfsf-business__steps-dots {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
}

.gfsf-business__steps-dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: #cbd5e1;
}

.gfsf-business__steps-dot.is-active {
	background: var(--gfsf-primary, #2563eb);
	transform: scale(1.15);
}

.gfsf-business__steps-dot.is-done {
	background: color-mix(in srgb, var(--gfsf-primary, #2563eb) 70%, #94a3b8);
}

.gfsf-business__step[hidden] {
	display: none !important;
}

.gfsf-business__field[data-gfsf-show-when] {
	display: none;
}

.gfsf-business__field[data-gfsf-show-when].is-visible {
	display: flex;
}

.gfsf-business__back {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	border-radius: var(--gfsf-radius-sm, 10px);
	padding: 0.55rem 0.95rem;
	line-height: 1.2;
	background: #fff;
	color: var(--gfsf-text, #1f2937);
	border: 1px solid var(--gfsf-border, #e5e7eb);
	margin-right: auto;
}

.gfsf-business__back:hover {
	background: #f9fafb;
}

.gfsf-business__back[hidden] {
	display: none !important;
}

.gfsf-shell .gfsf-business__back {
	background: #fff !important;
	color: var(--gfsf-text, #1f2937) !important;
	border: 1px solid var(--gfsf-border, #e5e7eb) !important;
	border-radius: var(--gfsf-radius-sm, 10px) !important;
}

.gfsf-business__panel-footer {
	justify-content: flex-start;
}

.gfsf-business__continue,
.gfsf-business__save {
	margin-left: auto;
}
