.aef-ap {
	--aef-green: #315c3b;
	--aef-green-dark: #213f29;
	--aef-cream: #f6f2e8;
	--aef-gold: #c79447;
	--aef-ink: #202720;
	--aef-border: #d8dece;
	color: var(--aef-ink);
	font-family: inherit;
	margin: 2rem auto;
	max-width: 1040px;
}

.aef-ap *,
.aef-ap *::before,
.aef-ap *::after {
	box-sizing: border-box;
}

.aef-ap__intro {
	background: linear-gradient(135deg, var(--aef-green-dark), var(--aef-green));
	border-radius: 22px 22px 0 0;
	color: #fff;
	padding: clamp(1.5rem, 4vw, 3.5rem);
}

.aef-ap__intro h2 {
	color: inherit;
	font-size: clamp(2rem, 5vw, 3.75rem);
	line-height: 1.05;
	margin: 0 0 1rem;
}

.aef-ap__intro p {
	font-size: 1.05rem;
	max-width: 720px;
}

.aef-ap__eyebrow {
	color: #d9c49a;
	font-size: .78rem !important;
	font-weight: 700;
	letter-spacing: .16em;
	margin: 0 0 .7rem;
	text-transform: uppercase;
}

.aef-ap__steps {
	background: #fff;
	border: 1px solid var(--aef-border);
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	list-style: none;
	margin: 0;
	padding: 1rem;
}

.aef-ap__steps li {
	align-items: center;
	color: #657065;
	display: flex;
	font-size: .85rem;
	gap: .55rem;
	justify-content: center;
}

.aef-ap__steps span {
	align-items: center;
	background: #e8ece3;
	border-radius: 50%;
	display: inline-flex;
	font-weight: 700;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.aef-ap__steps .is-current,
.aef-ap__steps .is-complete {
	color: var(--aef-green-dark);
	font-weight: 700;
}

.aef-ap__steps .is-current span {
	background: var(--aef-gold);
	color: #fff;
}

.aef-ap__steps .is-complete span {
	background: var(--aef-green);
	color: #fff;
}

.aef-ap__form,
.aef-ap__processing,
.aef-ap__result {
	background: #fff;
	border: 1px solid var(--aef-border);
	border-radius: 0 0 22px 22px;
	border-top: 0;
	padding: clamp(1.25rem, 4vw, 3.25rem);
}

.aef-ap fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.aef-ap fieldset[hidden],
.aef-ap [hidden] {
	display: none !important;
}

.aef-ap legend {
	color: var(--aef-green-dark);
	font-size: clamp(1.5rem, 4vw, 2.35rem);
	font-weight: 700;
	margin: 0 0 1.6rem;
	padding: 0;
	width: 100%;
}

.aef-ap__grid {
	display: grid;
	gap: 1.1rem;
}

.aef-ap__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aef-ap__grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aef-ap label,
.aef-ap__question > p,
.aef-ap__conditional-colors > p {
	color: #334033;
	font-size: .95rem;
	font-weight: 650;
}

.aef-ap input[type="text"],
.aef-ap input[type="email"],
.aef-ap input[type="tel"],
.aef-ap input[type="number"],
.aef-ap input[type="file"],
.aef-ap select {
	background: #fff;
	border: 1px solid #aeb9a7;
	border-radius: 10px;
	color: var(--aef-ink);
	display: block;
	font: inherit;
	margin-top: .45rem;
	min-height: 48px;
	padding: .7rem .8rem;
	width: 100%;
}

.aef-ap input:focus,
.aef-ap select:focus,
.aef-ap button:focus,
.aef-ap a:focus {
	outline: 3px solid rgba(199, 148, 71, .45);
	outline-offset: 2px;
}

.aef-ap__surface {
	background: var(--aef-cream);
	border-left: 4px solid var(--aef-gold);
	margin: 1.2rem 0;
	padding: .8rem 1rem;
}

.aef-ap__question {
	margin-top: 1.25rem;
}

.aef-ap__question > label {
	align-items: flex-start;
	display: flex;
	font-weight: 450;
	gap: .55rem;
	margin: .65rem 0;
}

.aef-ap input[type="radio"],
.aef-ap input[type="checkbox"] {
	accent-color: var(--aef-green);
	flex: 0 0 auto;
	height: 18px;
	margin-top: .12rem;
	width: 18px;
}

.aef-ap__upload {
	background: var(--aef-cream);
	border: 1px dashed #94a28c;
	border-radius: 12px;
	display: block;
	margin: 1.4rem 0;
	padding: 1.1rem;
}

.aef-ap__upload span {
	font-weight: 400;
}

.aef-ap__styles {
	display: grid;
	gap: .75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 1.5rem;
}

.aef-ap__style-card {
	align-items: flex-start;
	border: 1px solid var(--aef-border);
	border-radius: 12px;
	display: flex;
	gap: .7rem;
	justify-content: space-between;
	padding: 1rem;
}

.aef-ap__style-card:has(input:checked) {
	background: #eef3eb;
	border-color: var(--aef-green);
	box-shadow: inset 0 0 0 1px var(--aef-green);
}

.aef-ap__style-card > label {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	flex: 1;
	gap: .7rem;
}

.aef-ap__style-card strong,
.aef-ap__style-card small {
	display: block;
}

.aef-ap__style-card small {
	font-weight: 400;
	line-height: 1.45;
	margin-top: .25rem;
}

.aef-ap__style-example {
	align-items: center;
	background: var(--aef-green) !important;
	border: 1px solid var(--aef-green) !important;
	border-radius: 50% !important;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 42px;
	height: 42px;
	justify-content: center;
	padding: 0 !important;
	width: 42px;
}

.aef-ap__style-example:hover {
	background: var(--aef-green-dark) !important;
}

.aef-ap__style-dialog {
	background: #fff;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 18px 70px rgba(18, 30, 20, .3);
	max-width: min(900px, 92vw);
	padding: 2.5rem 1.25rem 1.25rem;
	position: relative;
}

.aef-ap__style-dialog::backdrop {
	background: rgba(20, 28, 21, .72);
}

.aef-ap__style-dialog img {
	display: block;
	height: auto;
	max-height: 75vh;
	max-width: 100%;
}

.aef-ap__style-dialog p {
	font-weight: 700;
	margin: .8rem 0 0;
	text-align: center;
}

.aef-ap__style-dialog-close {
	background: #fff !important;
	border: 1px solid var(--aef-border) !important;
	border-radius: 50% !important;
	color: var(--aef-ink) !important;
	cursor: pointer;
	font-size: 1.5rem;
	height: 36px;
	line-height: 1;
	padding: 0 !important;
	position: absolute;
	right: .7rem;
	top: .7rem;
	width: 36px;
}

.aef-ap__conditional-colors {
	margin-top: 1.5rem;
}

.aef-ap__chips {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
}

.aef-ap__chips label {
	cursor: pointer;
}

.aef-ap__chips input {
	opacity: 0;
	position: absolute;
}

.aef-ap__chips span {
	border: 1px solid #aeb9a7;
	border-radius: 999px;
	display: block;
	padding: .5rem .85rem;
}

.aef-ap__chips input:checked + span {
	background: var(--aef-green);
	border-color: var(--aef-green);
	color: #fff;
}

.aef-ap__chips input:focus + span {
	outline: 3px solid rgba(199, 148, 71, .45);
}

.aef-ap__consent {
	align-items: flex-start;
	display: flex;
	font-weight: 450 !important;
	gap: .6rem;
	line-height: 1.5;
	margin: 1rem 0;
}

.aef-ap__disclaimer {
	color: #667066;
	font-size: .88rem;
}

.aef-ap__actions {
	align-items: center;
	display: flex;
	gap: .75rem;
	justify-content: flex-end;
	margin-top: 2rem;
}

.aef-ap__button {
	background: var(--aef-green) !important;
	border: 1px solid var(--aef-green) !important;
	border-radius: 999px;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	justify-content: center;
	min-height: 48px;
	padding: .75rem 1.4rem;
	text-decoration: none !important;
}

.aef-ap__button:hover {
	background: var(--aef-green-dark) !important;
	border-color: var(--aef-green-dark) !important;
}

.aef-ap__button--secondary {
	background: transparent !important;
	border-color: var(--aef-green) !important;
	color: var(--aef-green) !important;
}

.aef-ap__button[disabled] {
	cursor: wait;
	opacity: .65;
}

.aef-ap__errors {
	background: #fff1f0;
	border: 1px solid #cb7771;
	border-radius: 10px;
	color: #7a2420;
	margin-top: 1rem;
	padding: .8rem 1rem;
}

.aef-ap__processing,
.aef-ap__result {
	border-radius: 22px;
	text-align: center;
}

.aef-ap__processing ol {
	list-style: none;
	margin: 1.5rem auto;
	max-width: 420px;
	padding: 0;
	text-align: left;
}

.aef-ap__processing li {
	color: #788078;
	margin: .6rem 0;
	padding-left: 1.8rem;
	position: relative;
}

.aef-ap__processing li::before {
	border: 2px solid #bec7b9;
	border-radius: 50%;
	content: "";
	height: 14px;
	left: 0;
	position: absolute;
	top: .25rem;
	width: 14px;
}

.aef-ap__processing li.is-active,
.aef-ap__processing li.is-complete {
	color: var(--aef-green-dark);
	font-weight: 700;
}

.aef-ap__processing li.is-active::before {
	background: var(--aef-gold);
	border-color: var(--aef-gold);
}

.aef-ap__processing li.is-complete::before {
	background: var(--aef-green);
	border-color: var(--aef-green);
}

.aef-ap__loader {
	animation: aef-ap-spin .9s linear infinite;
	border: 5px solid #e2e7de;
	border-radius: 50%;
	border-top-color: var(--aef-green);
	height: 52px;
	margin: 0 auto 1rem;
	width: 52px;
}

@keyframes aef-ap-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
	.aef-ap__steps li {
		font-size: 0;
	}

	.aef-ap__grid--2,
	.aef-ap__grid--3,
	.aef-ap__styles {
		grid-template-columns: 1fr;
	}

	.aef-ap__actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aef-ap__loader {
		animation-duration: 2s;
	}
}
