.ifwlg {
	--ifwlg-ink: #1b2430;
	--ifwlg-muted: #5c6b7a;
	--ifwlg-line: #e4ddd4;
	--ifwlg-bg: #fff;
	--ifwlg-accent: var(--wvz-primary, #1b4f72);
	--ifwlg-accent-2: var(--wvz-accent, #c17f2e);
	max-width: 640px;
	margin: 0 auto;
	padding: 20px 18px 16px;
	background: var(--ifwlg-bg);
	color: var(--ifwlg-ink);
	border: 1px solid var(--ifwlg-line);
	border-radius: 16px;
	font-family: inherit;
	position: relative;
}
.ifwlg *,
.ifwlg *::before,
.ifwlg *::after { box-sizing: border-box; }
.ifwlg .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.ifwlg__title {
	margin: 0 0 4px;
	font-size: 1.25rem;
	line-height: 1.25;
	font-weight: 700;
	text-align: center;
}
.ifwlg__trust {
	margin: 0 0 12px;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--ifwlg-muted);
	text-align: center;
}
.ifwlg__intro,
.ifwlg__hint {
	color: var(--ifwlg-muted);
	margin: 0 0 10px;
	font-size: 0.88rem;
	line-height: 1.4;
	text-align: center;
}
.ifwlg__progress { margin: 0 0 12px; }
.ifwlg__track {
	display: block;
	height: 4px;
	background: #f4f1eb;
	border-radius: 999px;
	overflow: hidden;
}
.ifwlg__bar {
	display: block;
	height: 4px;
	width: 20%;
	background: var(--ifwlg-accent-2);
	transition: width .2s ease;
}
.ifwlg__steps-label {
	margin: 6px 0 0;
	font-size: .75rem;
	color: var(--ifwlg-muted);
	font-weight: 600;
	text-align: center;
}
.ifwlg__panel h3 {
	margin: 16px 0 18px;
	font-size: 0.98rem;
	font-weight: 700;
	text-align: center;
}
.ifwlg__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 8px;
	margin-bottom: 8px;
}
.ifwlg label {
	display: flex;
	flex-direction: column;
	gap: 0;
	font-weight: 400;
	font-size: .9rem;
	margin: 0;
}
.ifwlg input:not([type="radio"]):not([type="checkbox"]),
.ifwlg select {
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--ifwlg-line);
	border-radius: 8px;
	font: inherit;
	font-weight: 400;
	background: #fff;
	width: 100%;
}
.ifwlg input[readonly] {
	background: #f4f1eb;
	color: var(--ifwlg-muted);
}
.ifwlg input:not([type="radio"]):not([type="checkbox"]):focus,
.ifwlg select:focus {
	outline: 2px solid rgba(27, 79, 114, 0.25);
	border-color: var(--ifwlg-accent);
}
.ifwlg input[type="radio"],
.ifwlg input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	min-width: 16px;
	min-height: 16px;
	max-width: 16px;
	margin: 0;
	padding: 0;
	flex: 0 0 16px;
	border: 1.5px solid #cfc6bb;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
	display: inline-grid;
	place-content: center;
}
.ifwlg input[type="radio"] {
	border-radius: 50%;
}
.ifwlg input[type="checkbox"] {
	border-radius: 4px;
}
.ifwlg input[type="radio"]::after,
.ifwlg input[type="checkbox"]::after {
	content: "";
	display: block;
}
.ifwlg input[type="radio"]::after {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: transparent;
}
.ifwlg input[type="radio"]:checked {
	border-color: var(--ifwlg-accent);
}
.ifwlg input[type="radio"]:checked::after {
	background: var(--ifwlg-accent);
}
.ifwlg input[type="checkbox"]:checked {
	border-color: var(--ifwlg-accent);
	background: var(--ifwlg-accent);
}
.ifwlg input[type="checkbox"]::after {
	width: 8px;
	height: 5px;
	border: 1.5px solid transparent;
	border-top: 0;
	border-left: 0;
	transform: translateY(-1px) rotate(45deg);
}
.ifwlg input[type="checkbox"]:checked::after {
	border-color: #fff;
}
.ifwlg input[type="radio"]:focus-visible,
.ifwlg input[type="checkbox"]:focus-visible {
	outline: 2px solid rgba(27, 79, 114, 0.35);
	outline-offset: 2px;
}
.ifwlg__choices {
	display: grid;
	gap: 6px;
	margin: 0 0 10px;
	padding: 0;
	border: 0;
}
.ifwlg legend {
	font-weight: 700;
	font-size: 0.78rem;
	margin: 0 0 4px;
	padding: 0;
	color: var(--ifwlg-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ifwlg label.ifwlg__choice,
.ifwlg label.ifwlg__check {
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	font-weight: 500;
	margin: 0;
	gap: 10px;
	padding: 8px 12px;
	border: 1px solid var(--ifwlg-line);
	border-radius: 8px;
	background: #faf8f5;
	font-size: 0.86rem;
	line-height: 1.35;
	cursor: pointer;
}
.ifwlg label.ifwlg__choice input,
.ifwlg label.ifwlg__check input {
	margin-top: 2px;
}
.ifwlg__choice:has(input:checked),
.ifwlg__check:has(input:checked) {
	border-color: var(--ifwlg-accent);
	background: rgba(27, 79, 114, 0.06);
}
.ifwlg fieldset { border: 0; padding: 0; margin: 0 0 10px; }
.ifwlg__form {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 220px;
}
.ifwlg__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 28px;
}
.ifwlg__nav [data-next] {
	margin-left: auto;
}
.ifwlg__btn {
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	background: var(--ifwlg-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	border-radius: 999px;
	font-size: 0.92rem;
}
.ifwlg__btn:hover { filter: brightness(0.95); }
.ifwlg__btn--ghost {
	background: transparent;
	color: var(--ifwlg-ink);
	border: 1px solid var(--ifwlg-line);
}
.ifwlg .ifwlg__error {
	color: #9b1c1c;
	font-weight: 600;
	font-size: 0.88rem;
	margin: 8px 0 0;
	position: relative;
	z-index: 9;
}
.ifwlg__hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.ifwlg__busy {
	position: absolute;
	inset: 0;
	z-index: 8;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(3px);
	border-radius: 16px;
	text-align: center;
	padding: 24px;
}
.ifwlg__busy[hidden] { display: none !important; }
.ifwlg__spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #e4ddd4;
	border-top-color: var(--ifwlg-accent);
	border-radius: 50%;
	animation: ifwlg-spin 0.7s linear infinite;
}
.ifwlg__busy-text {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ifwlg-ink);
}
.ifwlg.is-busy .ifwlg__form {
	pointer-events: none;
}
.ifwlg__panel--thanks {
	text-align: center;
	padding: 8px 0 4px;
}
.ifwlg__panel--thanks h3,
.ifwlg--full .ifwlg__panel--thanks h3,
.ifwlg--compact .ifwlg__panel--thanks h3 {
	text-align: center;
	font-size: 1.2rem;
}
.ifwlg__thanks {
	margin: 0 0 16px;
	font-size: 0.95rem;
	line-height: 1.5;
}
.ifwlg__thanks,
.ifwlg__thanks p,
.ifwlg .ifwlg__thanks,
.ifwlg .ifwlg__thanks p,
.ifwlg .ifwlg__hint {
	color: var(--ifwlg-muted);
}
.ifwlg__thanks p { margin: 0 0 8px; }
.ifwlg__thanks p:last-child { margin-bottom: 0; }
.ifwlg__next {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.ifwlg__next .ifwlg__btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
@keyframes ifwlg-spin {
	to { transform: rotate(360deg); }
}
.ifwlg--full {
	display: flex;
	flex-direction: column;
	max-width: none;
	padding: 28px 24px 22px;
}
.ifwlg--full .ifwlg__form { min-height: 300px; }
.ifwlg--full .ifwlg__title { font-size: 1.45rem; text-align: left; }
.ifwlg--full .ifwlg__intro,
.ifwlg--full .ifwlg__trust { text-align: left; font-size: 0.98rem; }
.ifwlg--full .ifwlg__trust { font-size: 0.8rem; }
.ifwlg--full .ifwlg__panel h3 {
	text-align: left;
	font-size: 1.08rem;
	margin: 22px 0 24px;
}
.ifwlg--full .ifwlg__nav {
	padding-top: 40px;
}
.ifwlg--full .ifwlg__panel--thanks,
.ifwlg--full .ifwlg__panel--thanks h3 { text-align: center; }
.ifwlg--full input:not([type="radio"]):not([type="checkbox"]),
.ifwlg--full select { min-height: 48px; }
.ifwlg--full .ifwlg__btn { min-height: 50px; }

.ifwlg--compact {
	display: flex;
	flex-direction: column;
	padding: 18px 16px 16px;
	border: 0;
	box-shadow: none;
	max-width: none;
}
.ifwlg--compact .ifwlg__title { font-size: 1.15rem; }
.ifwlg--compact .ifwlg__intro { display: none; }
.ifwlg--compact .ifwlg__trust { margin-bottom: 10px; }
.ifwlg--compact .ifwlg__panel h3 { font-size: 0.92rem; margin: 14px 0 16px; }
.ifwlg--compact .ifwlg__progress { margin-bottom: 4px; }
.ifwlg--compact .ifwlg__form { min-height: 240px; }

.ifwlg--start {
	max-width: 480px;
	margin: 0 auto;
	padding: 18px 16px 14px;
}
.ifwlg--start:not(.is-expanded) .ifwlg__progress,
.ifwlg--start:not(.is-expanded) [data-back] {
	display: none !important;
}
.ifwlg--start:not(.is-expanded) [data-step]:not([data-step="1"]) {
	display: none !important;
}
.ifwlg--start:not(.is-expanded) .ifwlg__nav {
	margin-top: 14px;
}
.ifwlg--start:not(.is-expanded) [data-next] {
	width: 100%;
}
.ifwlg--start.is-expanded {
	max-width: none;
}
@media (prefers-reduced-motion: reduce) {
	.ifwlg__bar { transition: none; }
	.ifwlg__spinner { animation: none; border-top-color: var(--ifwlg-accent); border-right-color: var(--ifwlg-accent); }
}
@media (max-width: 640px) {
	.ifwlg { padding: 16px 12px; }
}
