.firstuk-erc-shell {
	--firstuk-orange: #ff8a48;
	--firstuk-orange-dark: #e86f2e;
	--firstuk-ink: #272b34;
	--firstuk-muted: #636975;
	--firstuk-panel: #ececed;
	--firstuk-line: #d5d6d9;
	--firstuk-white: #ffffff;
	--firstuk-green: #2f7d5b;
	--firstuk-amber: #9b641f;
	color: var(--firstuk-ink);
	font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	margin: 34px auto;
	max-width: 1100px;
}

.firstuk-erc-shell .gform_wrapper {
	background:
		radial-gradient(circle at top right, rgba(255, 138, 72, 0.13), transparent 290px),
		var(--firstuk-panel);
	border: 1px solid rgba(39, 43, 52, 0.08);
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(39, 43, 52, 0.12);
	margin: 0;
	overflow: hidden;
	padding: clamp(22px, 4vw, 46px);
}

.firstuk-erc-shell .gform_fields {
	display: grid !important;
	gap: 22px 24px !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.firstuk-erc-shell .gfield {
	grid-column: 1 / -1;
	margin: 0 !important;
}

.firstuk-erc-shell .firstuk-erc-half {
	grid-column: span 1;
}

.firstuk-erc-intro {
	border-bottom: 1px solid rgba(39, 43, 52, 0.12);
	margin-bottom: 4px;
	padding: 0 0 24px;
}

.firstuk-erc-eyebrow {
	color: var(--firstuk-orange-dark);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.13em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.firstuk-erc-intro h2,
.firstuk-erc-results h2 {
	color: var(--firstuk-ink);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	margin: 0 0 14px;
}

.firstuk-erc-intro > p:not(.firstuk-erc-eyebrow):not(.firstuk-erc-basis) {
	color: var(--firstuk-muted);
	font-size: 17px;
	line-height: 1.65;
	margin: 0;
	max-width: 800px;
}

.firstuk-erc-intro ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	list-style: none;
	margin: 20px 0 12px;
	padding: 0;
}

.firstuk-erc-intro li {
	align-items: center;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
}

.firstuk-erc-intro li::before {
	background: var(--firstuk-orange);
	border-radius: 50%;
	color: var(--firstuk-white);
	content: "✓";
	display: inline-grid;
	font-size: 11px;
	height: 21px;
	place-items: center;
	width: 21px;
}

.firstuk-erc-basis {
	color: var(--firstuk-muted);
	font-size: 12px;
	margin: 12px 0 0;
}

.firstuk-erc-shell .gfield_label,
.firstuk-erc-shell .gform-field-label {
	color: var(--firstuk-ink) !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	margin-bottom: 9px !important;
}

.firstuk-erc-shell .gfield_required {
	color: var(--firstuk-orange-dark) !important;
}

.firstuk-erc-shell input[type="text"],
.firstuk-erc-shell input[type="number"],
.firstuk-erc-shell select {
	background-color: var(--firstuk-white) !important;
	border: 1px solid #bfc2c8 !important;
	border-radius: 9px !important;
	box-shadow: 0 1px 2px rgba(39, 43, 52, 0.04) !important;
	color: var(--firstuk-ink) !important;
	font-family: inherit !important;
	font-size: 17px !important;
	min-height: 56px !important;
	padding: 12px 15px !important;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	width: 100% !important;
}

.firstuk-erc-shell input:focus,
.firstuk-erc-shell select:focus {
	border-color: var(--firstuk-orange) !important;
	box-shadow: 0 0 0 4px rgba(255, 138, 72, 0.2) !important;
	outline: none !important;
}

.firstuk-erc-shell .ginput_container.is-money {
	position: relative;
}

.firstuk-erc-shell .ginput_container.is-money::before {
	color: var(--firstuk-ink);
	content: "£";
	font-size: 17px;
	font-weight: 700;
	left: 16px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.firstuk-erc-shell .ginput_container.is-money input {
	padding-left: 34px !important;
}

.firstuk-erc-shell .gfield_description {
	color: var(--firstuk-muted) !important;
	font-size: 12px !important;
	line-height: 1.45 !important;
	padding-top: 7px !important;
}

.firstuk-erc-shell .firstuk-erc-choice .gfield_radio {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.firstuk-erc-shell .firstuk-erc-choice .gchoice {
	position: relative;
}

.firstuk-erc-shell .firstuk-erc-choice input {
	height: 1px;
	left: 18px;
	opacity: 0;
	position: absolute;
	top: 50%;
	width: 1px;
}

.firstuk-erc-shell .firstuk-erc-choice label {
	align-items: center;
	background: var(--firstuk-white);
	border: 1px solid #bfc2c8;
	border-radius: 9px;
	cursor: pointer;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	min-height: 56px;
	padding: 12px 14px;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.firstuk-erc-shell .firstuk-erc-choice input:checked + label {
	background: #fff7f2;
	border-color: var(--firstuk-orange);
	box-shadow: inset 0 0 0 1px var(--firstuk-orange);
	color: var(--firstuk-ink);
}

.firstuk-erc-shell .firstuk-erc-choice input:focus-visible + label {
	box-shadow: 0 0 0 4px rgba(255, 138, 72, 0.25);
}

.firstuk-erc-shell .gform_footer {
	margin: 8px 0 0 !important;
	padding: 0 !important;
}

.firstuk-erc-shell .gform_button,
.firstuk-erc-shell input.gform_button,
.firstuk-erc-shell .firstuk-erc-primary {
	background: linear-gradient(135deg, #ff985d, var(--firstuk-orange)) !important;
	border: 0 !important;
	border-radius: 9px !important;
	box-shadow: 0 8px 18px rgba(232, 111, 46, 0.25) !important;
	color: var(--firstuk-white) !important;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	justify-content: center;
	letter-spacing: 0.09em;
	line-height: 1.2;
	min-height: 58px;
	padding: 18px 24px !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	width: 100% !important;
}

.firstuk-erc-shell .gform_button:hover,
.firstuk-erc-shell .gform_button:focus,
.firstuk-erc-shell .firstuk-erc-primary:hover,
.firstuk-erc-shell .firstuk-erc-primary:focus {
	background: var(--firstuk-orange-dark) !important;
	box-shadow: 0 10px 24px rgba(232, 111, 46, 0.34) !important;
	color: var(--firstuk-white) !important;
	transform: translateY(-1px);
}

.firstuk-erc-shell .gform_validation_errors,
.firstuk-erc-shell .validation_message {
	background: #fff4f1 !important;
	border-color: #c64832 !important;
	border-radius: 9px !important;
	color: #762d22 !important;
}

.firstuk-erc-results {
	background:
		radial-gradient(circle at top right, rgba(255, 138, 72, 0.16), transparent 320px),
		var(--firstuk-panel);
	border: 1px solid rgba(39, 43, 52, 0.08);
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(39, 43, 52, 0.12);
	padding: clamp(24px, 5vw, 52px);
}

.firstuk-erc-results:focus {
	outline: 3px solid rgba(255, 138, 72, 0.4);
	outline-offset: 4px;
}

.firstuk-erc-result-amount {
	color: var(--firstuk-orange-dark);
	font-size: clamp(48px, 9vw, 82px);
	font-weight: 900;
	letter-spacing: -0.055em;
	line-height: 1;
	margin: 12px 0 8px;
}

.firstuk-erc-result-subline {
	color: var(--firstuk-muted);
	font-size: 15px;
	margin: 0 0 28px;
}

.firstuk-erc-result-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 26px;
}

.firstuk-erc-result-grid article {
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(39, 43, 52, 0.1);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(39, 43, 52, 0.06);
	min-height: 126px;
	padding: 20px;
}

.firstuk-erc-result-grid article.is-within {
	border-color: rgba(47, 125, 91, 0.45);
}

.firstuk-erc-result-grid article.needs-review {
	border-color: rgba(155, 100, 31, 0.35);
}

.firstuk-erc-result-grid span {
	color: var(--firstuk-muted);
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.firstuk-erc-result-grid strong {
	color: var(--firstuk-ink);
	display: block;
	font-size: clamp(20px, 3vw, 27px);
	line-height: 1.15;
}

.firstuk-erc-result-grid small {
	color: var(--firstuk-muted);
	display: block;
	font-size: 12px;
	line-height: 1.45;
	margin-top: 8px;
}

.firstuk-erc-result-summary {
	color: var(--firstuk-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 16px;
}

.firstuk-erc-caveats {
	color: var(--firstuk-muted);
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 24px 20px;
}

.firstuk-erc-caveats li + li {
	margin-top: 7px;
}

.firstuk-erc-disclaimer {
	background: var(--firstuk-ink);
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	line-height: 1.65;
	margin: 0 0 24px;
	padding: 20px;
}

.firstuk-erc-disclaimer strong {
	color: var(--firstuk-white);
}

.firstuk-erc-actions {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.firstuk-erc-shell .firstuk-erc-secondary {
	align-items: center;
	background: transparent;
	border: 2px solid var(--firstuk-ink);
	border-radius: 9px;
	color: var(--firstuk-ink);
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	padding: 14px 20px;
	text-decoration: none;
}

.firstuk-erc-shell .firstuk-erc-secondary:hover,
.firstuk-erc-shell .firstuk-erc-secondary:focus {
	background: var(--firstuk-ink);
	color: var(--firstuk-white);
}

.firstuk-erc-unavailable {
	background: #fff4f1;
	border: 1px solid #c64832;
	border-radius: 8px;
	color: #762d22;
	padding: 16px 18px;
}

@media (max-width: 720px) {
	.firstuk-erc-shell {
		margin: 22px auto;
	}

	.firstuk-erc-shell .gform_wrapper,
	.firstuk-erc-results {
		border-radius: 13px;
		padding: 22px 17px;
	}

	.firstuk-erc-shell .gform_fields,
	.firstuk-erc-result-grid,
	.firstuk-erc-actions {
		grid-template-columns: 1fr;
	}

	.firstuk-erc-shell .firstuk-erc-half {
		grid-column: 1 / -1;
	}

	.firstuk-erc-intro ul {
		align-items: flex-start;
		flex-direction: column;
	}

	.firstuk-erc-result-grid article {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.firstuk-erc-shell *,
	.firstuk-erc-shell *::before,
	.firstuk-erc-shell *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

