.epq-v2-app {
	max-width: 960px;
	margin: 32px auto;
	padding: 20px;
	font-family: Inter, Arial, sans-serif;
	color: #1a1f2b;
}

.epq-v2-shell {
	background: #f7f7f9;
	border: 1px solid #e4e7ec;
	border-radius: 28px;
	padding: 24px;
	box-shadow: 0 14px 44px rgba(17, 24, 39, 0.08);
}

.epq-v2-progress-top {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 20px;
	align-items: center;
	margin-bottom: 10px;
}

.epq-v2-progress-label,
.epq-v2-progress-step,
.epq-v2-screen-kicker {
	margin: 0 0 60px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
}

.epq-v2-progress-bar {
	height: 10px;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 26px;
}

.epq-v2-progress-fill {
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #d8ae66 0%, #c89b4b 100%);
	transition: width 0.25s ease;
}

.epq-v2-stage {
	min-height: 520px;
}

.epq-v2-screen {
	display: none;
	background: #fff;
	border: 1px solid #eaecf0;
	border-radius: 22px;
	padding: 28px;
}

.epq-v2-screen.is-active {
	display: block;
}

.epq-v2-screen-header h2 {
	margin: 0 0 40px;
	font-size: clamp(32px, 4vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: #111827;
}

.epq-v2-screen-helper {
	margin: 0 0 40px;
	font-size: 18px;
	line-height: 1.5;
	color: #667085;
}

.epq-v2-screen-body > *:first-child {
	margin-top: 0 !important;
}

.epq-v2-screen .epq-field-group,
.epq-v2-screen .epq-row,
.epq-v2-screen .epq-deed-block,
.epq-v2-screen .epq-asset-inventory {
	margin-bottom: 18px;
}

.epq-v2-screen .epq-field-group label,
.epq-v2-screen .epq-group-label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #999999;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.epq-v2-screen .epq-field-group input[type="text"],
.epq-v2-screen .epq-field-group input[type="email"],
.epq-v2-screen .epq-field-group input[type="tel"],
.epq-v2-screen .epq-field-group input[type="date"],
.epq-v2-screen .epq-field-group input[type="number"],
.epq-v2-screen .epq-field-group select,
.epq-v2-screen .epq-field-group textarea {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	border: 1px solid #d0d5dd;
	border-radius: 14px;
	background: #fff;
	box-sizing: border-box;
}

.epq-v2-screen .epq-field-group input:focus,
.epq-v2-screen .epq-field-group select:focus,
.epq-v2-screen .epq-field-group textarea:focus {
	outline: none;
	border-color: #d8ae66;
	box-shadow: 0 0 0 4px rgba(216, 174, 102, 0.16);
}

.epq-v2-screen .epq-row {
	display: flex;
	gap: 16px;
	flex-wrap: nowrap;
}

.epq-v2-screen .epq-row > .epq-field-group,
.epq-v2-screen .epq-row > .epq_nested_row_container {
	flex: 1;
}

.epq-v2-card-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.epq-v2-card-grid-branch {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: none;
}

.epq-v2-choice-card {
	position: relative;
	display: flex !important;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	border: 1px solid #d0d5dd;
	border-radius: 18px;
	background: #fff;
	cursor: pointer;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
	min-height: 190px;
}

.epq-v2-choice-card:hover,
.epq-v2-choice-card:focus {
	border-color: #d8ae66;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
	outline: none;
}

.epq-v2-choice-card.is-selected {
	border-color: #c89b4b;
	box-shadow: 0 0 0 4px rgba(216, 174, 102, 0.18);
}

.epq-v2-choice-card input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.epq-v2-choice-media {
	width: 92px;
	height: 92px;
	border-radius: 14px;
	background: linear-gradient(135deg, #f3e4c8 0%, #ecd3a4 100%);
	flex: 0 0 92px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 44px;
	font-weight: 700;
	color: #7a5a20;
}

.epq-v2-choice-media.is-yes::before {
	content: "✓";
	color: #1d8f3a;
}

.epq-v2-choice-media.is-no::before {
	content: "✕";
	color: #d92d20;
}

.epq-v2-choice-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.epq-v2-choice-title {
	font-size: 20px;
	font-weight: 700;
	color: #111827;
}

.epq-v2-choice-description {
	font-size: 14px;
	line-height: 1.5;
	color: #667085;
}

.epq-v2-card-grid-branch .epq-v2-choice-card {
	flex-direction: row;
	align-items: center;
	gap: 22px;
	padding: 26px 30px;
	min-height: 156px;
}

.epq-v2-card-grid-branch .epq-v2-choice-media {
	width: 82px;
	height: 82px;
	border-radius: 0;
	background: transparent;
	flex: 0 0 82px;
	font-size: 78px;
	color: #344054;
}

.epq-v2-card-grid-branch .epq-v2-choice-copy {
	gap: 4px;
}

.epq-v2-card-grid-branch .epq-v2-choice-title {
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
}

.epq-v2-card-grid-branch .epq-v2-choice-description {
	line-height: 1.35;
	color: #344054;
	text-transform: uppercase;
}

.epq-v2-plan-more-block {
	margin-top: 26px;
	padding-top: 6px;
}

.epq-v2-plan-more-question {
	margin: 0 0 18px;
	font-size: 16px;
	font-weight: 700;
	color: #111827;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.epq-v2-screen .epq-v2-full-width-field {
	width: 100%;
}

.epq-v2-screen .epq-v2-full-width-field input {
	width: 100%;
}

.epq-v2-navigation {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 22px;
	flex-wrap: wrap;
}

.epq-v2-btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 14px 22px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.epq-v2-btn-primary {
	background: #d8ae66;
	color: #111827;
}

.epq-v2-btn-secondary {
	background: #d8ae66;
	border: 1px solid #d8ae66;
	color: #111827;
}

.epq-v2-btn-ghost {
	background: transparent;
	color: #667085;
}

#epq-v2-submit {
	display: none;
}

.epq-v2-screen-summary h2 {
	margin: 0 0 16px;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.15;
	font-weight: 700;
	color: #2b2f38;
}

.epq-v2-screen-summary > .epq-v2-screen-body > p:first-of-type {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
	color: #344054;
	max-width: 560px;
}

.epq-v2-summary-divider {
	height: 0;
	border-top: 2px dotted #98a2b3;
	margin: 8px 0 18px;
}

.epq-v2-summary-section + .epq-v2-summary-section {
	margin-top: 22px;
}

.epq-v2-summary-section-title {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #8f8f8f;
}

.epq-v2-summary-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 20px;
	align-items: baseline;
	margin-bottom: 6px;
}

.epq-v2-summary-row-main {
	min-width: 0;
	font-size: 16px;
	line-height: 1.4;
	color: #101828;
}

.epq-v2-summary-question {
	font-weight: 700;
	color: #101828;
}

.epq-v2-summary-answer {
	color: #d8ae66;
	font-style: italic;
	font-weight: 500;
}

.epq-v2-summary-edit {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 16px;
	line-height: 1.2;
	font-style: italic;
	font-weight: 500;
	color: #d92d20;
	cursor: pointer;
}

.epq-v2-summary-edit:hover,
.epq-v2-summary-edit:focus {
	text-decoration: underline;
	outline: none;
}

.epq-v2-edit-all-btn {
	background: #d8ae66 !important;
	border-color: #d8ae66 !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

.epq-v2-screen-summary .epq-summary-actions {
	display: none;
}

.epq-v2-document-review {
	margin-top: 12px;
}

.epq-v2-document-scroll {
	height: 68vh;
	overflow: auto;
	padding: 18px;
	border-radius: 24px;
	background: #f4f6f8;
	box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.epq-v2-document-page {
	position: relative;
	width: 612px;
	height: 792px;
	margin: 0 auto;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 612px 792px;
	box-shadow: 0 20px 40px rgba(17, 24, 39, 0.16);
}

.epq-v2-document-overlay {
	position: absolute;
	inset: 0;
}

.epq-v2-template-answer {
	position: absolute;
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	color: #2b63c6;
	font-size: clamp(10px, 1.18vw, 15px);
	line-height: 1.15;
	font-style: italic;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

.epq-v2-template-answer.is-child {
	font-size: clamp(9px, 1vw, 13px);
}

.epq-v2-template-answer.is-check {
	color: #2b63c6;
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	text-align: center;
}

.epq-v2-template-answer:hover,
.epq-v2-template-answer:focus {
	text-decoration: underline;
	outline: none;
}

.epq-v2-email-content {
	max-width: 760px;
	padding: 40px 42px 32px;
}

.epq-v2-email-title {
	margin: 0 0 6px;
	font-size: 32px;
	line-height: 1.1;
	color: #2b2f38;
}

.epq-v2-email-intro {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.5;
	color: #4b5563;
}

.epq-v2-email-form {
	display: grid;
	gap: 16px;
}

.epq-v2-email-row-block > label {
	display: block;
	margin-bottom: 8px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: #1f2937;
}

.epq-v2-email-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.epq-v2-email-row input {
	height: 48px;
	padding: 0 14px;
	border: 1px solid #d0d5dd;
	border-radius: 12px;
	font-size: 16px;
	color: #344054;
}

.epq-v2-email-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 10px;
}

.epq-v2-summary-fallback[hidden] {
	display: none !important;
}

.epq-v2-summary-fallback {
	display: none;
}

.epq-v2-back-link {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	margin-right: auto;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 600;
	color: #667085;
	text-decoration: underline;
	cursor: pointer;
}

.epq-v2-back-link:hover,
.epq-v2-back-link:focus {
	color: #344054;
	outline: none;
}

.epq-v2-error {
	margin-top: 8px;
	font-size: 14px;
	color: #b42318;
}

.epq-v2-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 39, 0.72);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.epq-v2-modal-content {
	background: #fff;
	border-radius: 22px;
	padding: 32px;
	max-width: 640px;
	width: 100%;
	position: relative;
}

.epq-v2-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: transparent;
	border: 0;
	font-size: 28px;
	cursor: pointer;
}

.epq-v2-source,
.epq-honeypot-field {
	display: none !important;
}

.epq-v2-screen .epq-asset-inventory {
	overflow-x: auto;
}

.epq-v2-screen .epq-asset-header,
.epq-v2-screen .epq-asset-row {
	display: grid;
	grid-template-columns: minmax(220px, 1.6fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(240px, 1.2fr);
	gap: 16px;
	align-items: center;
	min-width: 860px;
	padding: 10px 0;
	border-bottom: 1px solid #d0d5dd;
}

.epq-v2-screen .epq-asset-header {
	font-weight: 700;
	color: #667085;
}

.epq-v2-screen .epq-asset-row .joint .epq-options-wrapper {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	align-items: center;
}

.epq-v2-screen .epq-asset-row .joint label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.epq-v2-screen .epq-asset-row .joint input[type="radio"] {
	appearance: auto;
	width: auto;
	height: auto;
	margin: 0;
}

.epq-v2-personal-effects-field {
	margin-bottom: 22px;
}

.epq-v2-effects-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	align-items: stretch;
}

.epq-v2-effects-card {
	position: relative;
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	min-height: 160px;
	padding: 16px;
	border: 1px solid #e5d7bf;
	border-radius: 18px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.epq-v2-effects-card:hover,
.epq-v2-effects-card:focus-within {
	border-color: #d8ae66;
	box-shadow: 0 10px 24px rgba(216, 174, 102, 0.16);
	transform: translateY(-1px);
}

.epq-v2-effects-card.is-selected {
	border-color: #d8ae66;
	box-shadow: 0 0 0 4px rgba(216, 174, 102, 0.2);
}

.epq-v2-effects-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.epq-v2-effects-chip {
	width: 54px;
	height: 54px;
	border-radius: 12px;
	background: linear-gradient(180deg, #eed8ae 0%, #d8ae66 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.epq-v2-effects-copy {
	display: block;
	margin-top: auto;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	color: #3e3e46;
}

.epq-v2-as-follows-field {
	display: none;
}

.epq-v2-as-follows-field textarea {
	min-height: 120px;
}

.epq-v2-rest-residue-screen .epq-rest-residue-screen {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.epq-v2-rest-residue-screen .epq-rest-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.epq-v2-rest-residue-screen .epq-rest-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #e5e7eb;
	color: #667085;
	font-size: 36px;
	font-weight: 800;
	line-height: 1;
	min-height: 96px;
	border: 1px solid #d0d5dd;
}

.epq-v2-rest-residue-screen .epq-rest-card {
	padding: 2px 0 0;
}

.epq-v2-rest-residue-screen .epq-rest-line,
.epq-v2-rest-residue-screen .epq-rest-subline {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.35;
	color: #344054;
}

.epq-v2-rest-residue-screen .epq-rest-line-intro {
	max-width: 860px;
}

.epq-v2-rest-residue-screen .epq-rest-line {
	display: block;
}

.epq-v2-rest-residue-screen .epq-rest-line .epq-rest-text,
.epq-v2-rest-residue-screen .epq-rest-line .epq-rest-input {
	display: inline-block;
	vertical-align: middle;
	margin-right: 8px;
}

.epq-v2-rest-residue-screen .epq-rest-line-support,
.epq-v2-rest-residue-screen .epq-rest-line-age {
	max-width: 860px;
}

.epq-v2-rest-residue-screen .epq-rest-inline-field {
	display: inline-block !important;
	vertical-align: baseline !important;
	position: relative;
	top: -0.08em;
	height: 2.15em;
	width: 5.4em !important;
	box-sizing: border-box;
	padding: 0 0.4em !important;
	margin: 0 0.2em;
	border-radius: 10px;
	font: inherit;
	font-weight: 500;
	color: inherit;
	text-align: center;
}

.epq-v2-rest-residue-screen .epq-rest-inline-chunk {
	white-space: nowrap;
}

.epq-v2-rest-residue-screen .epq-rest-line-label {
	margin-bottom: 12px;
	display: block;
}

.epq-v2-rest-residue-screen .epq-rest-subline {
	display: grid;
	margin-left: 0;
	padding-left: 0;
	column-gap: 10px;
	row-gap: 8px;
}

.epq-v2-rest-residue-screen .epq-rest-subline-option1,
.epq-v2-rest-residue-screen .epq-rest-subline-option2,
.epq-v2-rest-residue-screen .epq-rest-subline-option3,
.epq-v2-rest-residue-screen .epq-rest-subline-option4 {
	padding-left: 40px;
}

.epq-v2-rest-residue-screen .epq-rest-subline-option1 {
	grid-template-columns: 32px 92px max-content 92px max-content minmax(220px, 1fr);
}

.epq-v2-rest-residue-screen .epq-rest-subline-option2 {
	grid-template-columns: 32px 92px minmax(0, 1fr);
}

.epq-v2-rest-residue-screen .epq-rest-subline-option3,
.epq-v2-rest-residue-screen .epq-rest-subline-option4 {
	grid-template-columns: 92px minmax(0, 1fr);
}

.epq-v2-rest-residue-screen .epq-rest-subline-tight {
	margin-top: -2px;
}

.epq-v2-rest-residue-screen .epq-rest-subnumber {
	width: 32px;
	min-width: 32px;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
	color: #344054;
}

.epq-v2-rest-residue-screen .epq-rest-caption,
.epq-v2-rest-residue-screen .epq-rest-note {
	margin: 0 0 10px;
	font-size: 12px;
	font-style: italic;
	line-height: 1.45;
	color: #667085;
}

.epq-v2-rest-residue-screen .epq-rest-note {
	margin-top: 10px;
	max-width: 760px;
}

.epq-v2-rest-residue-screen .epq-rest-input {
	width: auto !important;
	height: 42px;
	padding: 6px 12px !important;
	font-size: 18px !important;
	font-weight: 500;
	line-height: 1.2;
	vertical-align: baseline;
}

.epq-v2-rest-residue-screen .epq-rest-input-small {
	width: 92px !important;
	text-align: center;
}

.epq-v2-rest-residue-screen .epq-rest-input-large {
	width: min(100%, 270px) !important;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-card .epq-rest-card,
.epq-v2-rest-residue-screen .epq-rest-beneficiary-card {
	max-width: 100%;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-line {
	display: grid;
	grid-template-columns: 92px max-content minmax(0, 1fr);
	align-items: start;
	column-gap: 10px;
	row-gap: 6px;
}

.epq-v2-rest-residue-screen .epq-rest-text {
	display: inline;
}

.epq-v2-rest-residue-screen .epq-rest-row-a .epq-rest-card {
	max-width: 900px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-name-group {
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-label {
	margin: 0 0 6px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-name-fields {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1.3fr;
	gap: 10px;
	width: 100%;
}

.epq-v2-rest-residue-screen .epq-rest-name-field {
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-name-field label {
	display: block;
	margin: 0 0 6px;
	font-size: 11px !important;
	color: #667085 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.epq-v2-rest-residue-screen .epq-rest-input-name {
	width: 100% !important;
}

.epq-v2-children-review {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 12px 0;
}

.epq-v2-children-review-figure {
	display: flex;
	align-items: center;
	justify-content: center;
}

.epq-v2-children-review-figure img {
	max-width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

.epq-v2-children-review-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.epq-v2-children-review-item {
	font-size: 18px;
	line-height: 1.5;
	color: #1a1f2b;
}

.epq-v2-children-review-item strong {
	margin-right: 10px;
	font-size: 19px;
}

.epq-v2-children-review-item span {
	color: #2b8fbd;
	font-style: italic;
	font-weight: 600;
}

.epq-v2-children-review-empty {
	margin: 0;
	color: #667085;
	font-size: 16px;
}

@media (max-width: 767px) {
	.epq-v2-app {
		padding: 12px;
	}

	.epq-v2-shell,
	.epq-v2-screen {
		padding: 18px;
		border-radius: 20px;
	}

	.epq-v2-progress-top,
	.epq-v2-navigation,
	.epq-v2-screen .epq-row {
		flex-direction: column;
		align-items: stretch;
	}

	.epq-v2-card-grid,
	.epq-v2-card-grid-branch,
	.epq-v2-effects-grid {
		grid-template-columns: 1fr;
	}

	.epq-v2-choice-card {
		min-height: 0;
		padding: 22px;
	}

	.epq-v2-rest-residue-screen .epq-rest-row {
		grid-template-columns: 1fr;
	}

	.epq-v2-rest-residue-screen .epq-rest-letter {
		min-height: 72px;
	}

	.epq-v2-rest-residue-screen .epq-rest-line,
	.epq-v2-rest-residue-screen .epq-rest-subline,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-line {
		font-size: 18px;
		display: block;
	}

	.epq-v2-rest-residue-screen .epq-rest-subline {
		margin-left: 0;
	}

	.epq-v2-rest-residue-screen .epq-rest-input,
	.epq-v2-rest-residue-screen .epq-rest-input-large,
	.epq-v2-rest-residue-screen .epq-rest-input-small {
		max-width: none;
		width: 100% !important;
		text-align: left;
	}

	.epq-v2-children-review {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.epq-v2-children-review-figure {
		max-width: 180px;
	}
}


.epq-v2-screen #epq_children_container .epq-child-row {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr) minmax(140px, 0.9fr);
	gap: 16px;
	align-items: center;
}

.epq-v2-screen #epq_children_container .child-owner .epq-options-wrapper {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 18px;
}

.epq-v2-child-minor-question {
	margin-top: -4px;
}

.epq-v2-child-minor-question .epq-options-wrapper {
	gap: 16px;
}

.epq-v2-screen #epq_children_container .child-owner .epq-options-wrapper label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.epq-v2-screen .epq-options-wrapper:not(.epq-v2-card-grid):not(.epq-options-wrapper-stack),
.epq-v2-screen .epq-options-wrapper-stack:not(.epq-v2-card-grid) {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	align-items: center;
}

.epq-v2-screen .epq-options-wrapper:not(.epq-v2-card-grid) label,
.epq-v2-screen .epq-options-wrapper-stack:not(.epq-v2-card-grid) label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.epq-v2-screen .epq-options-wrapper:not(.epq-v2-card-grid) input[type="radio"],
.epq-v2-screen .epq-options-wrapper-stack:not(.epq-v2-card-grid) input[type="radio"],
.epq-v2-screen #epq_children_container .child-owner input[type="radio"],
.epq-v2-screen .epq-asset-row .joint input[type="radio"] {
	transform: scale(1.4);
	transform-origin: center;
	margin: 0 4px 0 0;
}

.epq-v2-single-name-block {
	margin-top: 18px;
}

@media (max-width: 767px) {
	.epq-v2-screen #epq_children_container .epq-child-row {
		grid-template-columns: 1fr;
	}

	.epq-v2-screen #epq_children_container .child-owner .epq-options-wrapper {
		gap: 14px;
	}
}


.epq-v2-question-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	margin-right: 10px;
	border-radius: 8px;
	background: #d8ae66;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.epq-v2-screen #epq_children_container .epq-child-row {
	grid-template-columns: 84px minmax(0, 1.4fr) minmax(220px, 1fr) minmax(140px, 0.9fr);
}

.epq-v2-child-avatar {
	width: 72px;
	height: 72px;
	border-radius: 16px;
	overflow: hidden;
	background: #f3e4c8;
	border: 1px solid #d0d5dd;
	display: flex;
	align-items: center;
	justify-content: center;
}

.epq-v2-child-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.epq-v2-inline-radios,
.epq-v2-screen #epq_children_container .child-owner .epq-options-wrapper {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
}

.epq-v2-screen .epq-options-wrapper:not(.epq-v2-card-grid):not(.epq-options-wrapper-stack) label,
.epq-v2-screen .epq-options-wrapper-stack:not(.epq-v2-card-grid) label,
.epq-v2-screen #epq_children_container .child-owner .epq-options-wrapper label {
	font-size: 25px;
	line-height: 1.2;
}

.epq-v2-screen .epq-options-wrapper:not(.epq-v2-card-grid) input[type="radio"],
.epq-v2-screen .epq-options-wrapper-stack:not(.epq-v2-card-grid) input[type="radio"],
.epq-v2-screen #epq_children_container .child-owner input[type="radio"],
.epq-v2-screen .epq-asset-row .joint input[type="radio"] {
	transform: scale(1.8);
}

@media (max-width: 767px) {
	.epq-v2-screen #epq_children_container .epq-child-row {
		grid-template-columns: 1fr;
	}
	.epq-v2-child-avatar {
		width: 84px;
		height: 84px;
	}
}

.epq-v2-home { appearance:none; border:0; background:transparent; font-size:48px; line-height:1; cursor:pointer; padding:0 6px 0 0; color:#2f2a26; }
.epq-v2-footer-links { margin-top: 10px; text-align: right; }
.epq-v2-reset { appearance:none; border:0; background:transparent; color:#667085; text-decoration:underline; cursor:pointer; font-weight:600; }
.epq-v2-question-line { display:flex; align-items:flex-start; gap:14px; }
.epq-v2-question-line-text { flex:1; display:block; }
.epq-v2-question-badge { display:inline-flex; align-items:center; justify-content:center; width:38px; min-width:38px; height:38px; border-radius:8px; background:#d8ae66; color:#fff; font-size:22px; font-weight:700; line-height:1; margin-top:2px; }
.epq-v2-inline-radios { display:flex !important; flex-wrap:wrap; gap:18px; align-items:center; }
.epq-v2-inline-radios label { display:inline-flex !important; align-items:center; gap:8px; font-size:20px; font-weight:600; }
.epq-v2-inline-radios input[type="radio"] { transform:scale(1.4); transform-origin:center; }
.epq-v2-screen .epq-options-wrapper:not(.epq-v2-card-grid):not(.epq-v2-inline-radios) label,
.epq-v2-screen .epq-options-wrapper-stack:not(.epq-v2-card-grid) label { font-size:20px; }
.epq-v2-screen .epq-options-wrapper:not(.epq-v2-card-grid):not(.epq-v2-inline-radios) input[type="radio"],
.epq-v2-screen .epq-options-wrapper-stack:not(.epq-v2-card-grid) input[type="radio"] { transform:scale(1.4); margin-right:10px; }
.epq-v2-child-avatar { width:56px; flex:0 0 56px; display:flex; align-items:center; justify-content:center; }
.epq-v2-child-avatar img { width:48px; height:48px; object-fit:contain; }
.epq-v2-child-row { align-items:center; }
@media (max-width: 768px) {
	.epq-v2-progress-top { grid-template-columns: auto 1fr; }
	.epq-v2-progress-step { grid-column: 1 / -1; justify-self: end; }
}


/* Hotfix 7 overrides */
.epq-v2-progress-top { display:grid; grid-template-columns:auto 1fr auto; gap:16px; align-items:center; }
.epq-v2-home {
	appearance:none;
	border:0;
	background:transparent;
	width:56px;
	height:56px;
	padding:0;
	cursor:pointer;
	text-indent:-9999px;
	overflow:hidden;
	position:relative;
	border-radius:12px;
}
.epq-v2-home::before {
	content:"";
	position:absolute;
	inset:0;
	background:center / 42px 42px no-repeat url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232f2a26"><path d="M12 3l9 8h-2v10h-5v-6H10v6H5V11H3z"/></svg>');
}
.epq-v2-footer-links { display:flex; justify-content:flex-end; margin-top:10px; }
.epq-v2-reset { appearance:none; border:0; background:transparent; color:#667085; text-decoration:underline; cursor:pointer; font-weight:600; }
.epq-v2-question-line {
	display:grid;
	grid-template-columns:56px minmax(0, 1fr);
	column-gap:16px;
	align-items:start;
	width:100%;
}
.epq-v2-question-badge-cell { display:flex; align-items:flex-start; justify-content:flex-start; }
.epq-v2-question-badge {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:40px;
	min-width:40px;
	height:40px;
	border-radius:6px;
	background:#d8ae66;
	color:#fff;
	font-size:22px;
	font-weight:700;
	line-height:1;
	margin-top:4px;
}
.epq-v2-question-line-text { display:block; }
.epq-v2-choice-card-yesno .epq-v2-choice-media.is-yes,
.epq-v2-choice-card-yesno .epq-v2-choice-media.is-no,
.epq-v2-card-grid-branch .epq-v2-choice-media.is-yes,
.epq-v2-card-grid-branch .epq-v2-choice-media.is-no { background:linear-gradient(135deg, #f3e4c8 0%, #ecd3a4 100%); }
.epq-v2-choice-media.is-yes::before { content:'✓'; font-size:54px; font-weight:800; line-height:1; }
.epq-v2-choice-media.is-no::before { content:'✕'; font-size:54px; font-weight:800; line-height:1; }
.epq-v2-screen #epq_children_container .epq-child-row { display:grid; align-items:center; grid-template-columns:84px minmax(0,1.3fr) minmax(220px,1fr) minmax(140px,.8fr); gap:16px; }
.epq-v2-screen #epq_children_container .child-owner .epq-options-wrapper,
.epq-v2-inline-radios { display:flex !important; flex-wrap:nowrap !important; flex-direction:row !important; gap:18px; align-items:center; }
.epq-v2-inline-radios label,
.epq-v2-screen #epq_children_container .child-owner .epq-options-wrapper label { display:inline-flex !important; flex-direction:row !important; align-items:center; gap:8px; }
@media (max-width: 767px) {
	.epq-v2-progress-top { grid-template-columns:auto 1fr; }
	.epq-v2-progress-step { grid-column: 1 / -1; justify-self:end; }
	.epq-v2-screen #epq_children_container .epq-child-row { grid-template-columns:1fr; }
}


/* Hotfix 9 child flow */
.epq-v2-card-grid-branch { width:100%; }
.epq-v2-card-grid-branch .epq-v2-choice-card { min-width:0; }
.epq-v2-child-entry-grid { display:grid; grid-template-columns: 200px minmax(0, 1fr); gap:42px; align-items:center; }
.epq-v2-child-entry-media { min-height:300px; background:center bottom / contain no-repeat url('https://stage.gbfoundation.org/wp-content/uploads/2026/03/child-scaled.png'); }
.epq-v2-child-entry-fields { display:grid; gap:18px; align-content:center; padding-top:8px; }
.epq-v2-child-entry-title { margin:0 0 18px; font-size:26px; line-height:1.2; font-weight:700; text-align:center; color:#2a3347; }
.epq-v2-child-minor-question { display:grid; gap:8px; margin:0 0 2px; }
.epq-v2-screen .epq-v2-child-minor-question > label {
  margin:0 !important;
  font-size:22px !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  color:#2a3347 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
.epq-v2-child-minor-question .epq-options-wrapper { display:flex; gap:14px; align-items:center; }
.epq-v2-child-owner-row { justify-content:flex-start; gap:16px; }
.epq-v2-screen .epq-v2-child-owner-row label,
.epq-v2-screen .epq-v2-child-minor-question .epq-options-wrapper label {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 !important;
  font-size:16px !important;
  font-weight:600 !important;
  color:#2a3347 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
.epq-v2-child-save {
  align-self:center;
  min-width:180px;
  padding:15px 28px;
  background:#d8ae66 !important;
  color:#ffffff !important;
  border:1px solid #d8ae66 !important;
  border-radius:999px;
  text-transform:none !important;
  box-shadow:none;
}
.epq-v2-screen .epq-asset-inventory .epq-asset-header { display:grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap:24px; }
.epq-v2-screen .epq-asset-inventory .epq-asset-row { display:grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap:24px; align-items:center; }
.epq-v2-screen .epq-asset-inventory .joint .epq-options-wrapper { display:flex; flex-wrap:wrap; gap:8px 18px; }
.epq-v2-screen .epq-asset-inventory .joint .epq-options-wrapper label { font-size:18px; }
@media (max-width: 767px) {
  .epq-v2-child-entry-grid { grid-template-columns:1fr; gap:18px; }
  .epq-v2-child-entry-media { min-height:180px; max-width:180px; }
  .epq-v2-child-entry-title { text-align:left; }
  .epq-v2-child-entry-actions { justify-content:flex-start; }
}

.epq-v2-child-entry-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;padding-top:8px;}
.epq-v2-child-entry-actions .epq-v2-btn-secondary{background:#fff;border:1px solid #cbd5e1;color:#344054;}
.epq-v2-child-entry-fields .epq-field-group { margin:0; }
.epq-v2-child-entry-fields input[type="text"],
.epq-v2-child-entry-fields input[type="number"] { height:48px; }


/* Hotfix 12 asset inventory responsive restore */
.epq-v2-screen .epq-asset-inventory {
  overflow: visible;
}
.epq-v2-screen .epq-asset-inventory .epq-asset-header,
.epq-v2-screen .epq-asset-inventory .epq-asset-row {
  min-width: 0;
}
.epq-v2-screen .epq-asset-inventory .epq-asset-header {
  display: grid;
  grid-template-columns: minmax(180px,1.35fr) minmax(120px,.9fr) minmax(120px,.9fr) minmax(190px,1fr);
  gap: 18px;
}
.epq-v2-screen .epq-asset-inventory .epq-asset-row {
  display: grid;
  grid-template-columns: minmax(180px,1.35fr) minmax(120px,.9fr) minmax(120px,.9fr) minmax(190px,1fr);
  gap: 18px;
  align-items: center;
}
.epq-v2-screen .epq-asset-inventory .value input,
.epq-v2-screen .epq-asset-inventory .debt input {
  width: 100%;
  min-width: 0;
}
.epq-v2-screen .epq-asset-inventory .joint .epq-options-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.epq-v2-screen .epq-asset-inventory .joint .epq-options-wrapper label {
  font-size: 17px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.epq-v2-screen .epq-asset-inventory .joint input[type="radio"] {
  transform: scale(1.2);
  margin: 0;
}

@media (max-width: 767px) {
  .epq-v2-screen[data-screen-key="section5-assets"] .epq-v2-screen-header h2,
  .epq-v2-screen[data-screen-key="section5-assets"] .epq-v2-screen-body > h2,
  .epq-v2-screen .epq-asset-inventory + * h2 {
    font-size: 40px;
    line-height: 1.08;
  }
  .epq-v2-screen[data-screen-key="section5-assets"] .epq-v2-screen-body > p,
  .epq-v2-screen[data-screen-key="section5-assets"] .epq-v2-screen-header + .epq-v2-screen-body > p,
  .epq-v2-screen .epq-asset-inventory {
    font-size: 14px;
  }
  .epq-v2-screen .epq-asset-inventory {
    display: grid;
    gap: 14px;
  }
  .epq-v2-screen .epq-asset-inventory .epq-asset-header {
    display: none;
  }
  .epq-v2-screen .epq-asset-inventory .epq-asset-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
  }
  .epq-v2-screen .epq-asset-inventory .epq-asset-row:nth-child(even) {
    background: #dcddde;
  }
  .epq-v2-screen .epq-asset-inventory .item {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .epq-v2-screen .epq-asset-inventory .value,
  .epq-v2-screen .epq-asset-inventory .debt {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .epq-v2-screen .epq-asset-inventory .value,
  .epq-v2-screen .epq-asset-inventory .debt,
  .epq-v2-screen .epq-asset-inventory .joint {
    min-width: 0;
  }
  .epq-v2-screen .epq-asset-inventory .value::before,
  .epq-v2-screen .epq-asset-inventory .debt::before,
  .epq-v2-screen .epq-asset-inventory .joint::before {
    display: block;
    color: #2f2a26;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .epq-v2-screen .epq-asset-inventory .value::before { content: 'Value'; }
  .epq-v2-screen .epq-asset-inventory .debt::before { content: 'Debt'; }
  .epq-v2-screen .epq-asset-inventory .joint::before { content: 'Owner'; }
  .epq-v2-screen .epq-asset-inventory .value,
  .epq-v2-screen .epq-asset-inventory .debt {
    width: 100%;
  }
  .epq-v2-screen .epq-asset-inventory .value input,
  .epq-v2-screen .epq-asset-inventory .debt input {
    width: 100%;
    height: 52px;
    min-width: 0;
    font-size: 15px;
    padding: 12px 14px;
  }
  .epq-v2-screen .epq-asset-inventory .joint .epq-options-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }
  .epq-v2-screen .epq-asset-inventory .joint .epq-options-wrapper label {
    font-size: 14px;
    gap: 6px;
    flex: 1 1 0;
    white-space: nowrap;
    justify-content: flex-start;
  }
  .epq-v2-screen .epq-asset-inventory .joint input[type="radio"] {
    transform: scale(1.05);
  }
}

/* Final family-flow overrides */
.epq-v2-screen-header {
  display: inline-flex !important;
  flex-direction: column;
  gap: 12px;
  background: #dce7f2;
  padding: 14px 28px 18px;
  border-radius: 0;
  margin: -6px 0 34px;
  min-width: min(100%, 500px);
}

.epq-v2-screen-header .epq-v2-screen-kicker {
  margin: 0 !important;
}

.epq-v2-screen-header h2,
.epq-v2-contact-title {
  margin: 0 !important;
  color: #23313f !important;
  text-transform: none !important;
  font-size: 58px !important;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
  line-height: 1.04 !important;
}

.epq-v2-screen-header + .epq-v2-screen-body > *:first-child,
.epq-v2-screen-body > .epq-field-group:first-child,
.epq-v2-screen-body > .epq-row:first-child {
  margin-top: 0 !important;
}

.epq-v2-screen .epq-field-group label,
.epq-v2-screen .epq-group-label {
  font-size: 16px !important;
  color: #999999 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.epq-v2-screen .epq-v2-name-row,
.epq-v2-screen .epq-v2-dob-marriages-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.epq-v2-screen .epq-v2-dob-marriages-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.epq-v2-screen .epq-v2-full-width-field {
  width: 100%;
}

.epq-v2-screen .epq-v2-full-width-field input {
  width: 100%;
}

.epq-v2-card-grid-branch .epq-v2-choice-media.is-yes,
.epq-v2-card-grid-branch .epq-v2-choice-media.is-no {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.epq-v2-card-grid-branch .epq-v2-choice-media.is-yes::before {
  color: #16a34a !important;
}

.epq-v2-card-grid-branch .epq-v2-choice-media.is-no::before {
  color: #dc2626 !important;
}

.epq-v2-card-grid-branch .epq-v2-choice-title {
  font-size: 24px !important;
}

.epq-v2-card-grid-branch .epq-v2-choice-description {
  font-size: 14px !important;
}

.epq-v2-marital-card .epq-v2-choice-media.is-marital {
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  margin: 0 auto;
  border-radius: 18px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.epq-v2-marital-card .epq-v2-choice-media.is-marital::before {
  content: none !important;
}

.epq-v2-marital-card .epq-v2-choice-media.is-married {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Marrital-Status_Married.png");
}

.epq-v2-marital-card .epq-v2-choice-media.is-divorced {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Marrital-Status_Divorce.png");
}

.epq-v2-marital-card .epq-v2-choice-media.is-widowed {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Marrital-Status_Widowed.png");
}

.epq-v2-marital-card .epq-v2-choice-media.is-single {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Marrital-Status_Single.png");
}

.epq-v2-marital-card .epq-v2-choice-media.is-separated {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Separated-scaled.png");
}

.epq-v2-marital-card .epq-v2-choice-media.is-engaged {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Marrital-Status_Engaged.png");
}

.epq-v2-marital-card {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start;
  text-align: center;
  gap: 14px;
  min-height: 320px;
}

.epq-v2-marital-card .epq-v2-choice-copy {
  align-items: center;
  text-align: center;
}

.epq-v2-title-card {
  align-items: center !important;
  text-align: center;
}

.epq-v2-title-card .epq-v2-choice-copy {
  align-items: center;
}

.epq-v2-title-card .epq-v2-choice-media.is-title-option {
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  margin: 0 auto;
  border-radius: 18px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.epq-v2-title-card .epq-v2-choice-media.is-title-option::before {
  content: none !important;
}

.epq-v2-title-card .epq-v2-choice-media.is-title-option.is-mr {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/New-Mr.png");
}

.epq-v2-title-card .epq-v2-choice-media.is-title-option.is-mrs {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/New-Mrs.png");
}

.epq-v2-title-card .epq-v2-choice-media.is-title-option.is-miss {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/New-Miss.png");
}

.epq-v2-title-card .epq-v2-choice-media.is-title-option.is-dr {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/New-Dr.png");
}

.epq-v2-title-card .epq-v2-choice-media.is-title-option.is-rev {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/New-Rev.png");
}

.epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-mr {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Married-Male-Gray-scaled.png");
}

.epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-mrs {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Married-Female-Gray-scaled.png");
}

.epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-miss {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Single-Gray-scaled.png");
}

.epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-dr {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Dr-Gray-scaled.png");
}

.epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-rev {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Rev-Gray-scaled.png");
}

.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option {
  opacity: 0.48;
}

.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-mr {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/New-Mr.png");
  opacity: 1;
}

.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-mrs {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/New-Mrs.png");
  opacity: 1;
}

.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-miss,
.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-dr,
.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-media.is-title-option.is-rev {
  opacity: 0.32;
}

.epq-v2-partner-title-card .epq-v2-choice-title {
  transition: opacity 0.2s ease;
}

.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card .epq-v2-choice-title {
  opacity: 0.5;
}

.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card.is-mr .epq-v2-choice-title,
.epq-v2-screen.is-married-status .epq-v2-title-card.epq-v2-partner-title-card.is-mrs .epq-v2-choice-title {
  opacity: 1;
}

@media (max-width: 767px) {
  .epq-v2-screen .epq-v2-name-row,
  .epq-v2-screen .epq-v2-dob-marriages-row {
    grid-template-columns: 1fr;
  }

  .epq-v2-screen-header,
  .epq-v2-screen-header h2,
  .epq-v2-contact-title {
    min-width: 0;
    width: 100%;
    font-size: 42px !important;
  }
}

/* Version 2.9 distribution flow polish */
.epq-v2-screen .epq-field-group input[type="text"],
.epq-v2-screen .epq-field-group input[type="email"],
.epq-v2-screen .epq-field-group input[type="tel"],
.epq-v2-screen .epq-field-group input[type="date"],
.epq-v2-screen .epq-field-group input[type="number"],
.epq-v2-screen .epq-field-group select,
.epq-v2-screen .epq-field-group textarea {
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease !important;
}

.epq-v2-screen .epq-field-group input[type="text"]:hover,
.epq-v2-screen .epq-field-group input[type="email"]:hover,
.epq-v2-screen .epq-field-group input[type="tel"]:hover,
.epq-v2-screen .epq-field-group input[type="date"]:hover,
.epq-v2-screen .epq-field-group input[type="number"]:hover,
.epq-v2-screen .epq-field-group select:hover,
.epq-v2-screen .epq-field-group textarea:hover,
.epq-v2-screen .epq-field-group input[type="text"]:focus,
.epq-v2-screen .epq-field-group input[type="email"]:focus,
.epq-v2-screen .epq-field-group input[type="tel"]:focus,
.epq-v2-screen .epq-field-group input[type="date"]:focus,
.epq-v2-screen .epq-field-group input[type="number"]:focus,
.epq-v2-screen .epq-field-group select:focus,
.epq-v2-screen .epq-field-group textarea:focus {
  border-color: #d8ae66 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08) !important;
  outline: none !important;
}

.epq-v2-distribution-screen .epq-v2-screen-header h2 {
  max-width: 920px;
}

.epq-v2-distribution-screen .epq-v2-screen-header {
  display: flex !important;
  min-width: 0;
  width: 100%;
  max-width: 920px;
}

.epq-v2-distribution-assumption {
  margin-top: 8px;
  max-width: 760px;
  padding: 14px 18px;
  border: 2px solid #7fa9db;
  border-radius: 14px;
  background: #cfe0f6;
  color: #4e6686;
  font-size: 16px;
  font-style: italic;
  line-height: 1.45;
}

.epq-v2-distribution-flow {
  position: relative;
  min-height: 360px;
}

.epq-v2-distribution-panel {
  display: none;
}

.epq-v2-distribution-panel.is-active {
  display: block;
}

.epq-v2-distribution-screen .epq-field-group > h4,
.epq-v2-distribution-screen > .epq-v2-screen-body > h4 {
  margin: 0 0 14px;
  color: #2f2a26;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
}

.epq-v2-distribution-note {
  margin: -2px 0 20px 56px;
  color: #667085;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
}

.epq-v2-distribution-pass-grid,
.epq-v2-distribution-yesno {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.epq-v2-distribution-pass-grid .epq-v2-choice-card,
.epq-v2-distribution-yesno .epq-v2-choice-card,
.epq-v2-effects-grid .epq-v2-choice-card {
  min-height: 320px;
}

.epq-v2-distribution-pass-grid .epq-v2-choice-title,
.epq-v2-distribution-yesno .epq-v2-choice-title {
  font-size: 30px;
  line-height: 1.05;
}

.epq-v2-distribution-pass-grid .epq-v2-choice-card {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.epq-v2-distribution-pass-grid .epq-v2-choice-copy {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.epq-v2-choice-media.is-spouse,
.epq-v2-choice-media.is-church,
.epq-v2-choice-media.is-effect {
  width: min(150px, 100%);
  height: min(150px, 100%);
  flex: 0 0 150px;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.epq-v2-choice-media.is-spouse::before,
.epq-v2-choice-media.is-church::before,
.epq-v2-choice-media.is-effect::before {
  content: none !important;
}

.epq-v2-choice-media.is-spouse {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Married-Couple@4x-scaled.png");
}

.epq-v2-choice-media.is-church {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Church@4x-scaled.png");
}

.epq-v2-effects-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.epq-v2-effects-grid .epq-v2-choice-card {
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  gap: 14px;
  justify-content: flex-start;
}

.epq-v2-effects-grid .epq-v2-choice-title {
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
}

.epq-v2-effects-grid .epq-v2-choice-copy {
  align-items: center;
  text-align: center;
}

.epq-v2-choice-media.is-effect.is-separate_list {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/By-List@4x-scaled.png");
}

.epq-v2-choice-media.is-effect.is-discretion {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Representatives@4x-scaled.png");
}

.epq-v2-choice-media.is-effect.is-children_equal {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/Children@4x-scaled.png");
}

.epq-v2-choice-media.is-effect.is-as_follows {
  background-image: url("https://stage.gbfoundation.org/wp-content/uploads/2026/04/As-follows@4x-scaled.png");
}

.epq-v2-distribution-screen .epq-v2-as-follows-field {
  margin-top: 18px;
}

.epq-v2-distribution-screen .epq-v2-as-follows-field textarea {
  min-height: 140px;
}

.epq-v2-distribution-screen .epq-v2-distribution-charitable-field label,
.epq-v2-distribution-screen .epq-v2-distribution-noncharitable-field label,
.epq-v2-distribution-screen .epq-v2-distribution-inform-field > label {
  color: #2f2a26 !important;
  font-size: 16px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.45;
}

.epq-v2-distribution-screen .epq-v2-distribution-inform-field > label {
  margin: 18px 0 10px;
}

@media (max-width: 767px) {
  .epq-v2-distribution-flow {
    min-height: 0;
  }

  .epq-v2-distribution-note {
    margin-left: 0;
  }

  .epq-v2-distribution-pass-grid,
  .epq-v2-distribution-yesno,
  .epq-v2-effects-grid {
    grid-template-columns: 1fr !important;
  }

  .epq-v2-distribution-pass-grid .epq-v2-choice-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.epq-v2-plan-more-block.is-arming {
  pointer-events: none;
}

.epq-v2-plan-more-block.is-arming .epq-v2-choice-card {
  opacity: 0.7;
}

.epq-v2-alt-accordion {
  margin-top: 18px;
}

/* =========================================================
   REST + RESIDUE SCREEN
   Reference styling from supplied HTML/CSS
   ========================================================= */

.epq-v2-rest-residue-screen {
	--epq-page-bg: #f7f7f8;
	--epq-card-bg: #ffffff;
	--epq-header-bg: #e3ebf4;
	--epq-border: #d8dce2;
	--epq-border-strong: #c8cdd6;
	--epq-text: #3c4048;
	--epq-text-soft: #6f7787;
	--epq-input-bg: #ffffff;
	--epq-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	--epq-radius-xl: 26px;
	--epq-radius-lg: 18px;
	--epq-radius-md: 12px;
	--epq-letter-bg: #e7e9ee;
	--epq-letter-text: #6b7385;
}

.epq-v2-rest-residue-screen.epq-v2-screen {
	padding: 36px 34px 40px;
	background: var(--epq-page-bg);
	border: 1px solid #e2e4e8;
	border-radius: 30px;
	box-shadow: var(--epq-shadow);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-v2-screen-header {
	background: var(--epq-header-bg);
	border-radius: 0;
	padding: 18px 32px 24px;
	margin: 0 0 34px;
}

.epq-v2-rest-residue-screen .epq-v2-screen-kicker {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	color: #6b7180;
}

.epq-v2-rest-residue-screen .epq-v2-screen-header h2 {
	margin: 0;
	font-size: clamp(34px, 4.2vw, 56px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	font-weight: 500;
	color: #45464d;
}

.epq-v2-rest-residue-screen .epq-v2-screen-body {
	padding: 0;
}

.epq-v2-rest-residue-screen .epq-rest-residue-screen {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.epq-v2-rest-residue-screen .epq-rest-row {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	column-gap: 28px;
	align-items: start;
}

.epq-v2-rest-residue-screen .epq-rest-row-beneficiary {
	margin-top: 2px;
}

.epq-v2-rest-residue-screen .epq-rest-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 138px;
	background: var(--epq-letter-bg);
	border: 1px solid var(--epq-border);
	border-radius: 18px;
	font-size: 52px;
	line-height: 1;
	font-weight: 600;
	color: var(--epq-letter-text);
}

.epq-v2-rest-residue-screen .epq-rest-row-beneficiary .epq-rest-letter {
	min-height: 150px;
}

.epq-v2-rest-residue-screen .epq-rest-card {
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-card-a {
	padding-top: 4px;
}

.epq-v2-rest-residue-screen .epq-rest-line {
	margin: 0;
	font-size: 26px;
	line-height: 1.22;
	font-weight: 600;
	letter-spacing: -0.018em;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-rest-line + .epq-rest-line {
	margin-top: 24px;
}

.epq-v2-rest-residue-screen .epq-rest-line-label {
	margin-top: 36px;
	margin-bottom: 22px;
	font-size: 25px;
	line-height: 1.24;
	font-weight: 600;
}

.epq-v2-rest-residue-screen .epq-rest-line-inline {
	max-width: 1040px;
}

.epq-v2-rest-residue-screen .epq-rest-line-inline .epq-rest-inline-chunk {
	white-space: nowrap;
}

.epq-v2-rest-residue-screen .epq-rest-input {
	appearance: none;
	-webkit-appearance: none;
	border: 1.5px solid var(--epq-border-strong);
	background: var(--epq-input-bg);
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
	color: var(--epq-text);
	font: inherit;
	font-weight: 500;
	outline: none;
}

.epq-v2-rest-residue-screen .epq-rest-input:focus {
	border-color: #a8b6cc;
	box-shadow: 0 0 0 3px rgba(114, 142, 189, 0.12);
}

.epq-v2-rest-residue-screen .epq-rest-input::placeholder {
	color: #a1a7b4;
}

.epq-v2-rest-residue-screen .epq-rest-input-inline {
	display: inline-block;
	vertical-align: baseline;
	position: relative;
	top: -0.02em;
	height: 1.62em;
	padding: 0 0.32em;
	margin: 0 0.12em;
	text-align: center;
}

.epq-v2-rest-residue-screen .epq-rest-input-inline-sm {
	width: 4.8ch;
	min-width: 4.8ch;
}

.epq-v2-rest-residue-screen .epq-rest-input-small {
	width: 118px;
	height: 48px;
	padding: 0 12px;
	font-size: 24px;
	line-height: 46px;
	text-align: center;
}

.epq-v2-rest-residue-screen .epq-rest-input-wide {
	width: 390px;
	max-width: 100%;
	height: 48px;
	padding: 0 14px;
	font-size: 22px;
}

.epq-v2-rest-residue-screen .epq-rest-input-name {
	width: 100%;
	height: 56px;
	padding: 0 14px;
	font-size: 22px;
}

.epq-v2-rest-residue-screen .epq-rest-option-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
}

.epq-v2-rest-residue-screen .epq-rest-option-row + .epq-rest-option-row {
	margin-top: 16px;
}

.epq-v2-rest-residue-screen .epq-rest-option-number {
	padding-top: 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 600;
	text-align: right;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-rest-option-content {
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-option-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 600;
}

.epq-v2-rest-residue-screen .epq-rest-caption {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.3;
	font-style: italic;
	font-weight: 500;
	color: var(--epq-text-soft);
}

.epq-v2-rest-residue-screen .epq-rest-line-option2,
.epq-v2-rest-residue-screen .epq-rest-line-option3,
.epq-v2-rest-residue-screen .epq-rest-line-option4 {
	max-width: 920px;
	font-size: 24px;
	line-height: 1.22;
}

.epq-v2-rest-residue-screen .epq-rest-line-option3,
.epq-v2-rest-residue-screen .epq-rest-line-option4 {
	padding-left: 0;
	margin-top: 12px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-card {
	padding-top: 4px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-grid {
	display: grid;
	grid-template-columns: 124px 132px minmax(220px, 1.45fr) minmax(150px, 0.9fr) minmax(220px, 1.35fr);
	grid-template-rows: auto auto;
	column-gap: 16px;
	row-gap: 10px;
	align-items: end;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-title {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: center;
	font-size: 25px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-wrap {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	align-items: center;
	gap: 10px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-text {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
	white-space: nowrap;
}

.epq-v2-rest-residue-screen .epq-rest-name-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.epq-v2-rest-residue-screen .epq-rest-name-field-first {
	grid-column: 3;
	grid-row: 1 / span 2;
}

.epq-v2-rest-residue-screen .epq-rest-name-field-middle {
	grid-column: 4;
	grid-row: 1 / span 2;
}

.epq-v2-rest-residue-screen .epq-rest-name-field-last {
	grid-column: 5;
	grid-row: 1 / span 2;
}

.epq-v2-rest-residue-screen .epq-rest-name-field label {
	display: block;
	margin: 0;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--epq-text-soft);
}

.epq-v2-rest-residue-screen .epq-rest-note {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.45;
	font-style: italic;
	font-weight: 500;
	color: var(--epq-text-soft);
	max-width: 1120px;
}

@media (max-width: 1100px) {
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-grid {
		grid-template-columns: 124px 132px 1fr 1fr;
		grid-template-rows: auto auto auto;
	}

	.epq-v2-rest-residue-screen .epq-rest-name-field-first {
		grid-column: 3 / 5;
		grid-row: 1 / span 2;
	}

	.epq-v2-rest-residue-screen .epq-rest-name-field-middle {
		grid-column: 3;
		grid-row: 3;
	}

	.epq-v2-rest-residue-screen .epq-rest-name-field-last {
		grid-column: 4;
		grid-row: 3;
	}
}

@media (max-width: 860px) {
	.epq-v2-rest-residue-screen .epq-rest-row {
		grid-template-columns: 68px 1fr;
		column-gap: 18px;
	}

	.epq-v2-rest-residue-screen .epq-rest-letter {
		min-height: 110px;
		font-size: 40px;
	}

	.epq-v2-rest-residue-screen .epq-rest-line {
		font-size: 21px;
	}

	.epq-v2-rest-residue-screen .epq-rest-line-label {
		font-size: 21px;
	}

	.epq-v2-rest-residue-screen .epq-rest-option-inline,
	.epq-v2-rest-residue-screen .epq-rest-line-option2,
	.epq-v2-rest-residue-screen .epq-rest-line-option3,
	.epq-v2-rest-residue-screen .epq-rest-line-option4 {
		font-size: 20px;
	}

	.epq-v2-rest-residue-screen .epq-rest-input-small {
		width: 96px;
		height: 42px;
		font-size: 20px;
	}

	.epq-v2-rest-residue-screen .epq-rest-input-wide {
		width: 100%;
		min-width: 240px;
		height: 42px;
		font-size: 18px;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		row-gap: 12px;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-title,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-wrap,
	.epq-v2-rest-residue-screen .epq-rest-name-field-first,
	.epq-v2-rest-residue-screen .epq-rest-name-field-middle,
	.epq-v2-rest-residue-screen .epq-rest-name-field-last {
		grid-column: auto;
		grid-row: auto;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-title {
		align-self: start;
	}
}

/* =========================================================
   REST + RESIDUE SCREEN
   Updated per requested changes
   ========================================================= */

.epq-v2-rest-residue-screen {
	--epq-page-bg: #ffffff;
	--epq-card-bg: #ffffff;
	--epq-header-bg: #e3ebf4;
	--epq-border: #d8dce2;
	--epq-border-strong: #c8cdd6;
	--epq-text: #3c4048;
	--epq-text-soft: #6f7787;
	--epq-input-bg: #ffffff;
	--epq-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	--epq-radius-xl: 26px;
	--epq-radius-lg: 18px;
	--epq-radius-md: 12px;
	--epq-letter-bg: #e7e9ee;
	--epq-letter-text: #6b7385;
}

.epq-v2-rest-residue-screen.epq-v2-screen {
	padding: 36px 34px 40px;
	background: #ffffff;
	border: 1px solid #e2e4e8;
	border-radius: 30px;
	box-shadow: var(--epq-shadow);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-v2-screen-header {
	background: var(--epq-header-bg);
	border-radius: 0;
	padding: 18px 32px 24px;
	margin: 0 0 34px;
}

.epq-v2-rest-residue-screen .epq-v2-screen-kicker {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	color: #6b7180;
}

.epq-v2-rest-residue-screen .epq-v2-screen-header h2 {
	margin: 0;
	font-size: clamp(34px, 4.2vw, 56px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	font-weight: 500;
	color: #45464d;
}

.epq-v2-rest-residue-screen .epq-v2-screen-body {
	padding: 0;
}

.epq-v2-rest-residue-screen .epq-rest-residue-screen {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.epq-v2-rest-residue-screen .epq-rest-row {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	column-gap: 28px;
	align-items: start;
}

.epq-v2-rest-residue-screen .epq-rest-row-beneficiary {
	margin-top: 2px;
}

.epq-v2-rest-residue-screen .epq-rest-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 138px;
	background: var(--epq-letter-bg);
	border: 1px solid var(--epq-border);
	border-radius: 18px;
	font-size: 52px;
	line-height: 1;
	font-weight: 600;
	color: var(--epq-letter-text);
}

.epq-v2-rest-residue-screen .epq-rest-row-beneficiary .epq-rest-letter {
	min-height: 150px;
}

.epq-v2-rest-residue-screen .epq-rest-card {
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-card-a {
	padding-top: 4px;
}

.epq-v2-rest-residue-screen .epq-rest-line {
	margin: 0;
	font-size: 26px;
	line-height: 1.22;
	font-weight: 400;
	letter-spacing: -0.018em;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-rest-line + .epq-rest-line {
	margin-top: 24px;
}

.epq-v2-rest-residue-screen .epq-rest-line-label {
	margin-top: 36px;
	margin-bottom: 22px;
	font-size: 25px;
	line-height: 1.24;
	font-weight: 400;
}

.epq-v2-rest-residue-screen .epq-rest-line-inline {
	max-width: 1040px;
}

.epq-v2-rest-residue-screen .epq-rest-line-inline .epq-rest-inline-chunk {
	white-space: nowrap;
}

.epq-v2-rest-residue-screen .epq-rest-input {
	appearance: none;
	-webkit-appearance: none;
	border: 1.5px solid var(--epq-border-strong);
	background: var(--epq-input-bg);
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
	color: var(--epq-text);
	font: inherit;
	font-weight: 500;
	outline: none;
}

.epq-v2-rest-residue-screen .epq-rest-input:focus {
	border-color: #a8b6cc;
	box-shadow: 0 0 0 3px rgba(114, 142, 189, 0.12);
}

.epq-v2-rest-residue-screen .epq-rest-input::placeholder {
	color: #a1a7b4;
}

.epq-v2-rest-residue-screen .epq-rest-input-inline {
	display: inline-block;
	vertical-align: baseline;
	position: relative;
	top: -0.02em;
	height: 1.62em;
	padding: 0 0.32em;
	margin: 0 0.12em;
	text-align: center;
}

.epq-v2-rest-residue-screen .epq-rest-input-inline-sm {
	width: 4.8ch;
	min-width: 4.8ch;
}

.epq-v2-rest-residue-screen .epq-rest-input-small {
	width: 118px;
	height: 48px;
	padding: 0 12px;
	font-size: 24px;
	line-height: 46px;
	text-align: center;
}

.epq-v2-rest-residue-screen .epq-rest-input-wide {
	width: 390px;
	max-width: 100%;
	height: 48px;
	padding: 0 14px;
	font-size: 22px;
}

.epq-v2-rest-residue-screen .epq-rest-input-name {
	width: 100%;
	height: 56px;
	padding: 0 14px;
	font-size: 22px;
}

.epq-v2-rest-residue-screen .epq-rest-option-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
}

.epq-v2-rest-residue-screen .epq-rest-option-row + .epq-rest-option-row {
	margin-top: 16px;
}

.epq-v2-rest-residue-screen .epq-rest-option-number {
	padding-top: 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 600;
	text-align: right;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-rest-option-content {
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-option-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 400;
}

.epq-v2-rest-residue-screen .epq-rest-caption {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.3;
	font-style: italic;
	font-weight: 500;
	color: var(--epq-text-soft);
}

.epq-v2-rest-residue-screen .epq-rest-line-option2,
.epq-v2-rest-residue-screen .epq-rest-line-option3,
.epq-v2-rest-residue-screen .epq-rest-line-option4 {
	max-width: 920px;
	font-size: 24px;
	line-height: 1.22;
	font-weight: 400;
}

.epq-v2-rest-residue-screen .epq-rest-line-option3,
.epq-v2-rest-residue-screen .epq-rest-line-option4 {
	padding-left: 0;
	margin-top: 12px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-card {
	padding-top: 0;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-table {
	width: 100%;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-title-cell {
	padding: 0 0 12px 0;
	vertical-align: top;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-title {
	font-size: 25px;
	line-height: 1.15;
	font-weight: 600;
	color: var(--epq-text);
	margin: 0;
	text-align: left;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-table td {
	vertical-align: top;
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col {
	padding: 0;
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-percent {
	width: 26%;
	padding-right: 18px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-first {
	width: 30%;
	padding-right: 12px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-middle {
	width: 12%;
	padding-right: 12px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-last {
	width: 32%;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-wrap {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	min-width: 0;
	padding-top: 40px;
}

.epq-v2-rest-residue-screen .epq-rest-input-beneficiary-percent {
	width: 104px;
	min-width: 104px;
	max-width: 104px;
	height: 56px;
	padding: 0 12px;
	font-size: 22px;
	text-align: center;
	flex: 0 0 104px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-text {
	font-size: 22px;
	line-height: 56px;
	font-weight: 600;
	white-space: nowrap;
}

.epq-v2-rest-residue-screen .epq-rest-name-field {
	display: block;
	min-width: 0;
	max-width: 100%;
}

.epq-v2-rest-residue-screen .epq-rest-name-field label {
	display: block;
	margin: 0 0 8px 0;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--epq-text-soft);
	white-space: nowrap;
	text-align: left;
}

.epq-v2-rest-residue-screen .epq-rest-note {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.45;
	font-style: italic;
	font-weight: 500;
	color: var(--epq-text-soft);
	max-width: 1120px;
}

@media (max-width: 980px) {
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table tbody,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table tr,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table td {
		display: block;
		width: 100%;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-title-cell {
		padding-bottom: 14px;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-percent,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-first,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-middle,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-last {
		padding-right: 0;
		width: 100%;
		margin-bottom: 12px;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-wrap {
		padding-top: 0;
	}
}

/* =========================================================
   REST + RESIDUE SCREEN
   Updated per latest supplied reference
   ========================================================= */

.epq-v2-rest-residue-screen {
	--epq-page-bg: #ffffff;
	--epq-card-bg: #ffffff;
	--epq-header-bg: #e3ebf4;
	--epq-border: #d8dce2;
	--epq-border-strong: #c8cdd6;
	--epq-text: #3c4048;
	--epq-text-soft: #6f7787;
	--epq-input-bg: #ffffff;
	--epq-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
	--epq-letter-bg: #e7e9ee;
	--epq-letter-text: #6b7385;
}

.epq-v2-rest-residue-screen.epq-v2-screen {
	padding: 36px 34px 40px;
	background: #ffffff;
	border: 1px solid #e2e4e8;
	border-radius: 30px;
	box-shadow: var(--epq-shadow);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-v2-screen-header {
	background: var(--epq-header-bg);
	padding: 18px 32px 24px;
	margin: 0 0 34px;
}

.epq-v2-rest-residue-screen .epq-v2-screen-kicker {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
	color: #6b7180;
}

.epq-v2-rest-residue-screen .epq-v2-screen-header h2 {
	margin: 0;
	font-size: clamp(34px, 4.2vw, 56px);
	line-height: 1.04;
	letter-spacing: -0.03em;
	font-weight: 500;
	color: #45464d;
}

.epq-v2-rest-residue-screen .epq-v2-screen-body {
	padding: 0;
}

.epq-v2-rest-residue-screen .epq-rest-residue-screen {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.epq-v2-rest-residue-screen .epq-rest-row {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	column-gap: 28px;
	align-items: start;
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 138px;
	background: var(--epq-letter-bg);
	border: 1px solid var(--epq-border);
	border-radius: 18px;
	font-size: 52px;
	line-height: 1;
	font-weight: 600;
	color: var(--epq-letter-text);
}

.epq-v2-rest-residue-screen .epq-rest-row-beneficiary .epq-rest-letter {
	min-height: 150px;
}

.epq-v2-rest-residue-screen .epq-rest-card {
	min-width: 0;
	max-width: 100%;
}

.epq-v2-rest-residue-screen .epq-rest-card-a {
	padding-top: 4px;
}

.epq-v2-rest-residue-screen .epq-rest-line {
	margin: 0;
	font-size: 26px;
	line-height: 1.22;
	font-weight: 400;
	letter-spacing: -0.018em;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-rest-line + .epq-rest-line {
	margin-top: 24px;
}

.epq-v2-rest-residue-screen .epq-rest-line-label {
	margin-top: 36px;
	margin-bottom: 22px;
	font-size: 25px;
	line-height: 1.24;
	font-weight: 400;
}

.epq-v2-rest-residue-screen .epq-rest-line-inline {
	max-width: 1040px;
}

.epq-v2-rest-residue-screen .epq-rest-inline-chunk {
	white-space: nowrap;
}

.epq-v2-rest-residue-screen .epq-rest-input {
	appearance: none;
	-webkit-appearance: none;
	border: 1.5px solid var(--epq-border-strong);
	background: var(--epq-input-bg);
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
	color: var(--epq-text);
	font: inherit;
	font-weight: 500;
	outline: none;
	max-width: 100%;
}

.epq-v2-rest-residue-screen .epq-rest-input:focus {
	border-color: #a8b6cc;
	box-shadow: 0 0 0 3px rgba(114, 142, 189, 0.12);
}

.epq-v2-rest-residue-screen .epq-rest-input-inline {
	display: inline-block;
	vertical-align: baseline;
	position: relative;
	top: -0.02em;
	height: 1.62em;
	padding: 0 0.32em;
	margin: 0 0.12em;
	text-align: center;
}

.epq-v2-rest-residue-screen .epq-rest-input-inline-sm {
	width: 4.8ch;
	min-width: 4.8ch;
}

.epq-v2-rest-residue-screen .epq-rest-input-small {
	width: 118px;
	height: 48px;
	padding: 0 12px;
	font-size: 24px;
	line-height: 46px;
	text-align: center;
	flex: 0 0 118px;
}

.epq-v2-rest-residue-screen .epq-rest-input-wide {
	width: 390px;
	max-width: 100%;
	height: 48px;
	padding: 0 14px;
	font-size: 22px;
}

.epq-v2-rest-residue-screen .epq-rest-input-name {
	width: 100%;
	min-width: 0;
	height: 56px;
	padding: 0 14px;
	font-size: 22px;
}

.epq-v2-rest-residue-screen .epq-rest-option-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
}

.epq-v2-rest-residue-screen .epq-rest-option-row + .epq-rest-option-row {
	margin-top: 16px;
}

.epq-v2-rest-residue-screen .epq-rest-option-number {
	padding-top: 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 600;
	text-align: right;
	color: var(--epq-text);
}

.epq-v2-rest-residue-screen .epq-rest-option-content {
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-option-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 400;
}

.epq-v2-rest-residue-screen .epq-rest-caption {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.3;
	font-style: italic;
	font-weight: 500;
	color: var(--epq-text-soft);
}

.epq-v2-rest-residue-screen .epq-rest-line-option2,
.epq-v2-rest-residue-screen .epq-rest-line-option3,
.epq-v2-rest-residue-screen .epq-rest-line-option4 {
	max-width: 920px;
	font-size: 24px;
	line-height: 1.22;
	font-weight: 400;
}

.epq-v2-rest-residue-screen .epq-rest-line-option3,
.epq-v2-rest-residue-screen .epq-rest-line-option4 {
	margin-top: 12px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-card {
	padding-top: 0;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-table {
	width: 100%;
	max-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-title-cell {
	padding: 0 0 12px 0;
	vertical-align: top;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-title {
	margin: 0;
	font-size: 25px;
	line-height: 1.15;
	font-weight: 600;
	color: var(--epq-text);
	text-align: left;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-table td {
	vertical-align: top;
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col {
	padding: 0;
	min-width: 0;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-percent {
	width: 26%;
	padding-right: 18px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-first {
	width: 30%;
	padding-right: 12px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-middle {
	width: 12%;
	padding-right: 12px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-last {
	width: 32%;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-wrap {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	min-width: 0;
	max-width: 100%;
	padding-top: 40px;
}

.epq-v2-rest-residue-screen .epq-rest-input-beneficiary-percent {
	width: 104px;
	min-width: 104px;
	max-width: 104px;
	height: 56px;
	padding: 0 12px;
	font-size: 22px;
	text-align: center;
	flex: 0 0 104px;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-text {
	font-size: 22px;
	line-height: 56px;
	font-weight: 600;
	white-space: nowrap;
}

.epq-v2-rest-residue-screen .epq-rest-name-field {
	display: block;
	min-width: 0;
	max-width: 100%;
}

.epq-v2-rest-residue-screen .epq-rest-name-field label {
	display: block;
	margin: 0 0 8px 0;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 600;
	color: var(--epq-text-soft);
	white-space: nowrap;
	text-align: left;
}

.epq-v2-rest-residue-screen .epq-rest-note {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 1.45;
	font-style: italic;
	font-weight: 500;
	color: var(--epq-text-soft);
	max-width: 1120px;
}

@media (max-width: 980px) {
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table tbody,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table tr,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-table td {
		display: block;
		width: 100%;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-title-cell {
		padding-bottom: 14px;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-percent,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-first,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-middle,
	.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-last {
		padding-right: 0;
		width: 100%;
		margin-bottom: 12px;
	}

	.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-wrap {
		padding-top: 0;
	}
}

@media (max-width: 860px) {
	.epq-v2-rest-residue-screen .epq-rest-row {
		grid-template-columns: 68px 1fr;
		column-gap: 18px;
	}

	.epq-v2-rest-residue-screen .epq-rest-letter {
		min-height: 110px;
		font-size: 40px;
	}

	.epq-v2-rest-residue-screen .epq-rest-line {
		font-size: 21px;
	}

	.epq-v2-rest-residue-screen .epq-rest-line-label {
		font-size: 21px;
	}

	.epq-v2-rest-residue-screen .epq-rest-option-inline,
	.epq-v2-rest-residue-screen .epq-rest-line-option2,
	.epq-v2-rest-residue-screen .epq-rest-line-option3,
	.epq-v2-rest-residue-screen .epq-rest-line-option4 {
		font-size: 20px;
	}

	.epq-v2-rest-residue-screen .epq-rest-input-small {
		width: 96px;
		height: 42px;
		font-size: 20px;
		flex-basis: 96px;
	}

	.epq-v2-rest-residue-screen .epq-rest-input-wide {
		width: 100%;
		min-width: 240px;
		height: 42px;
		font-size: 18px;
	}

	.epq-v2-rest-residue-screen .epq-rest-input-name {
		height: 48px;
		font-size: 18px;
	}
}

.epq-v2-alt-intro {
  margin: 0 0 14px;
  color: #667085;
  font-size: 15px;
  line-height: 1.45;
}

.epq-v2-alt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.epq-v2-alt-tab {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #eef2f6;
  color: #667085;
  border-radius: 8px 8px 0 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.epq-v2-alt-tab.is-active {
  background: #1f4f79;
  border-color: #1f4f79;
  color: #ffffff;
}

/* ==========================================
   FINAL BENEFICIARY + FIELD TWEAKS
   ========================================== */

.epq-v2-rest-residue-screen .epq-rest-input,
.epq-v2-rest-residue-screen .epq-rest-input-inline,
.epq-v2-rest-residue-screen .epq-rest-input-small,
.epq-v2-rest-residue-screen .epq-rest-input-wide,
.epq-v2-rest-residue-screen .epq-rest-input-name,
.epq-v2-rest-residue-screen .epq-rest-input-beneficiary-percent {
	height: 45px !important;
	min-height: 45px !important;
	max-height: 45px !important;
	line-height: 45px !important;
	box-sizing: border-box !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.epq-v2-rest-residue-screen .epq-rest-input:hover,
.epq-v2-rest-residue-screen .epq-rest-input:focus,
.epq-v2-rest-residue-screen .epq-rest-input:focus-visible {
	border-color: rgb(216, 174, 102) !important;
	transform: translateY(-1px) !important;
	box-shadow: rgba(17, 24, 39, 0.08) 0px 10px 24px !important;
	outline: currentcolor !important;
}

.epq-v2-rest-residue-screen .epq-rest-row {
	transition: background-color 0.2s ease !important;
	border-radius: 18px !important;
}

.epq-v2-rest-residue-screen .epq-rest-row:hover,
.epq-v2-rest-residue-screen .epq-rest-row:focus-within {
	background-color: #f7f7f7 !important;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-title {
	text-align: left !important;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-percent-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	min-width: 0 !important;
	padding-top: 24px !important;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-percent {
	padding-right: 48px !important;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-middle {
	width: 56px !important;
	max-width: 56px !important;
	min-width: 56px !important;
	padding-right: 12px !important;
}

.epq-v2-rest-residue-screen .epq-rest-beneficiary-col-middle .epq-rest-input-name {
	width: 56px !important;
	max-width: 56px !important;
	min-width: 56px !important;
}

.epq-v2-rest-residue-screen .epq-rest-input-name {
	width: 100% !important;
	max-width: 100% !important;
}

.epq-v2-rest-residue-screen .epq-rest-input-beneficiary-percent {
	width: 104px !important;
	min-width: 104px !important;
	max-width: 104px !important;
	text-align: center !important;
}

/* ==========================================
   REST + RESIDUE 4-SCREEN FLOW
   ========================================== */

.epq-v2-rest-journey-screen .epq-v2-screen-header h2 {
	font-size: clamp(34px, 4vw, 52px);
	line-height: 1.08;
	letter-spacing: -0.04em;
	margin-bottom: 6px;
}

.epq-v2-rest-journey-screen .epq-v2-screen-helper {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.2;
	color: #6b6b6b;
	font-style: italic;
}

.epq-v2-rest-journey-screen .epq-v2-screen-helper em {
	font-style: italic;
	font-weight: 400;
}

.epq-v2-rest-journey-screen .epq-v2-screen-body {
	padding-top: 0;
}

.epq-v2-rest-journey-layout {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	column-gap: 28px;
	align-items: center;
	min-height: 360px;
}

.epq-v2-screen[data-screen-key="section3-rest-residue-1"] .epq-v2-rest-journey-layout,
.epq-v2-screen[data-screen-key="section3-rest-residue-2"] .epq-v2-rest-journey-layout {
	align-items: start;
	min-height: 0;
}

.epq-v2-rest-journey-layout-compact {
	min-height: 0;
	align-items: start;
	margin-bottom: 22px;
}

.epq-v2-rest-journey-layout-step3 {
	align-items: center;
}

.epq-v2-rest-journey-media {
	display: flex;
	align-items: center;
	justify-content: center;
}

.epq-v2-rest-journey-media img {
	display: block;
	width: 100%;
	max-width: 230px;
	height: auto;
}

.epq-v2-rest-journey-media-children img {
	max-width: 200px;
}

.epq-v2-rest-journey-copy {
	min-width: 0;
}

.epq-v2-rest-stage-sentence {
	margin: 0;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 400;
	color: #23262f;
}

.epq-v2-rest-stage-lead {
	margin: 0;
	font-size: 20px;
	line-height: 1.45;
	font-weight: 500;
	color: #23262f;
}

.epq-v2-rest-journey-screen .epq-rest-line-inline {
	max-width: 100%;
}

.epq-v2-rest-stage-options {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.epq-v2-rest-stage-option-row {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
}

.epq-v2-rest-stage-number,
.epq-v2-rest-beneficiary-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 4px;
	background: #9d9d9d;
	color: #ffffff;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}

.epq-v2-rest-stage-option-copy {
	min-width: 0;
}

.epq-v2-rest-stage-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 400;
	color: #23262f;
}

.epq-v2-rest-stage-option-row:first-child .epq-v2-rest-stage-inline {
	align-items: flex-start;
}

.epq-v2-rest-stage-option-row:first-child .epq-v2-rest-stage-inline span:last-child {
	display: inline;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 400;
	color: #23262f;
}

.epq-v2-rest-journey-screen .epq-v2-rest-stage-inline .epq-rest-input-wide {
	width: 140px !important;
	max-width: 140px !important;
}

.epq-v2-rest-beneficiaries-layout {
	align-items: start;
}

.epq-v2-rest-beneficiaries-panel {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-top: 0;
}

.epq-v2-rest-beneficiary-entry {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	column-gap: 18px;
	align-items: start;
}

.epq-v2-rest-beneficiary-entry.is-hidden {
	display: none;
}

.epq-v2-rest-beneficiary-entry-body {
	min-width: 0;
}

.epq-v2-rest-beneficiary-name-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) 76px minmax(0, 1fr);
	column-gap: 10px;
	align-items: end;
}

.epq-v2-rest-beneficiary-name-grid .epq-field-group,
.epq-v2-rest-beneficiary-share-row .epq-field-group {
	margin-bottom: 0;
}

.epq-v2-rest-beneficiary-name-grid label {
	font-size: 12px !important;
	line-height: 1.2;
	margin-bottom: 6px !important;
}

.epq-v2-rest-beneficiary-share-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 400;
	color: #23262f;
}

.epq-v2-rest-beneficiary-share-row .epq-rest-input-beneficiary-percent {
	width: 76px !important;
	min-width: 76px !important;
	max-width: 76px !important;
}

.epq-v2-rest-beneficiary-mi {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.epq-v2-rest-add-beneficiary {
	align-self: center;
	margin-top: 10px;
	padding: 14px 40px;
	border: 0;
	border-radius: 999px;
	background: #d8ae66;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.epq-v2-rest-add-beneficiary:hover,
.epq-v2-rest-add-beneficiary:focus {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
	filter: brightness(0.98);
	outline: none;
}

.epq-v2-screen[data-screen-key="section3-rest-residue-2"] .epq-v2-rest-journey-layout,
.epq-v2-screen[data-screen-key="section3-rest-residue-3"] .epq-v2-rest-journey-layout,
.epq-v2-screen[data-screen-key="section3-rest-residue-4"] .epq-v2-rest-journey-layout {
	margin-top: 0;
}

.epq-v2-screen[data-screen-key="section3-rest-residue-2"] .epq-v2-screen-helper,
.epq-v2-screen[data-screen-key="section3-rest-residue-3"] .epq-v2-screen-helper,
.epq-v2-screen[data-screen-key="section3-rest-residue-4"] .epq-v2-screen-helper {
	margin-bottom: 6px;
}

@media (max-width: 860px) {
	.epq-v2-document-review {
		display: none;
	}

	.epq-v2-summary-fallback {
		display: block !important;
	}

	.epq-v2-rest-journey-layout,
	.epq-v2-rest-beneficiaries-layout {
		grid-template-columns: 1fr;
		row-gap: 22px;
		min-height: 0;
	}

	.epq-v2-rest-journey-media img,
	.epq-v2-rest-journey-media-children img {
		max-width: 220px;
	}

	.epq-v2-rest-beneficiary-entry {
		grid-template-columns: 1fr;
		row-gap: 12px;
	}

	.epq-v2-rest-beneficiary-badge,
	.epq-v2-rest-stage-number {
		width: 44px;
		height: 44px;
		font-size: 28px;
	}

	.epq-v2-rest-beneficiary-name-grid {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	.epq-v2-rest-beneficiary-share-row {
		flex-wrap: wrap;
	}
}

.epq-v2-alt-panel {
  display: none;
  padding: 0;
}

.epq-v2-alt-panel.is-active {
  display: block;
}

.epq-v2-alt-name-row,
.epq-v2-alt-location-row,
.epq-v2-alt-contact-row {
  display: grid !important;
  gap: 14px;
}

.epq-v2-alt-name-row {
  grid-template-columns: 1.2fr .8fr 1.2fr;
}

.epq-v2-alt-location-row,
.epq-v2-alt-contact-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .epq-v2-alt-name-row,
  .epq-v2-alt-location-row,
  .epq-v2-alt-contact-row {
    grid-template-columns: 1fr;
  }
}

/* Version 3.0 content/style updates */
.epq-v2-screen-header,
.epq-v2-distribution-screen .epq-v2-screen-header,
.epq-v2-rest-residue-screen .epq-v2-screen-header,
.epq-v2-rest-journey-screen .epq-v2-screen-header {
  background: transparent !important;
}
