.efp-estimator {
	max-width: 940px;
	margin: 32px auto;
	padding: 0 16px;
	scroll-margin-top: 24px;
}

.efp-estimator__card {
	background: #fff;
	border: 1px solid #dfe5e1;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
	padding: 30px;
}

.efp-estimator__header {
	margin-bottom: 24px;
	text-align: center;
}

.efp-estimator__header h2 {
	margin: 0 0 10px;
}

.efp-estimator__progress {
	display: flex;
	gap: 14px;
	justify-content: center;
	margin-bottom: 28px;
}

.efp-estimator__progress span {
	background: #e8ece9;
	border-radius: 50%;
	display: grid;
	font-weight: 800;
	height: 36px;
	place-items: center;
	width: 36px;
}

.efp-estimator__progress span.is-active {
	background: #1f7a3f;
	color: #fff;
}

.efp-estimator__step {
	display: none;
}

.efp-estimator__step.is-active {
	display: block;
}

.efp-estimator__question {
	background: #f7faf8;
	border: 2px solid #c8d8cd;
	border-radius: 12px;
	box-shadow: 0 3px 10px rgba(23, 79, 44, 0.08);
	margin-bottom: 18px;
	padding: 18px;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.efp-estimator__question legend {
	color: #174f2c;
	font-size: 17px;
	font-weight: 800;
	padding: 0 6px;
}

.efp-estimator__question:focus-within,
.efp-estimator__question.is-current-question {
	background: #f0faf3;
	border-color: #1f7a3f;
	box-shadow: 0 0 0 4px rgba(31, 122, 63, 0.16);
}

.efp-estimator__question.is-answered-question {
	border-color: #2f8f4e;
}

.efp-estimator__choices label {
	align-items: center;
	background: #ffffff;
	border: 2px solid #d6dfd9;
	border-radius: 9px;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	gap: 10px;
	margin: 10px 0;
	padding: 11px 12px;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.efp-estimator__choices label:hover {
	border-color: #76a985;
}

.efp-estimator__choices label.is-selected-answer {
	background: #dff3e5;
	border-color: #1f7a3f;
	box-shadow: 0 0 0 3px rgba(31, 122, 63, 0.15);
	color: #174f2c;
	font-weight: 800;
}

.efp-estimator__choices label.is-selected-answer::after {
	color: #1f7a3f;
	content: '\2713';
	font-size: 20px;
	font-weight: 900;
	line-height: 1;
}

.efp-estimator__question select.is-selected-answer-field {
	background-color: #dff3e5;
	border: 2px solid #1f7a3f;
	box-shadow: 0 0 0 3px rgba(31, 122, 63, 0.15);
	color: #174f2c;
	font-weight: 800;
}

.efp-estimator__choices input[type="radio"],
.efp-estimator__choices input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	width: auto;
}

.efp-estimator__choices .efp-option-label {
	display: block;
	flex: 1 1 auto;
	font-weight: 400;
	margin: 0;
	min-width: 0;
}

.efp-estimator__choices .efp-option-visible-price {
	background: #fff1a8;
	border: 2px solid #e0a800;
	border-radius: 999px;
	box-shadow: 0 2px 7px rgba(122, 82, 0, 0.18);
	color: #623d00;
	display: block;
	flex: 0 0 auto;
	font-size: 1.02rem;
	font-weight: 900;
	margin: 0 0 0 auto;
	padding: 5px 10px;
	white-space: nowrap;
}

.efp-estimator__choices label:hover .efp-option-visible-price {
	background: #ffe36b;
	border-color: #bd8100;
}

.efp-estimator__choices label.is-selected-answer .efp-option-visible-price {
	background: #ffd43b;
	border-color: #8b5b00;
	box-shadow: 0 0 0 3px rgba(255, 212, 59, 0.32);
	color: #382300;
}

.efp-estimator input,
.efp-estimator select,
.efp-estimator textarea {
	background: #fff;
	border: 1px solid #bcc7c0;
	border-radius: 8px;
	box-sizing: border-box;
	font: inherit;
	padding: 12px;
	width: 100%;
}

.efp-work-description-field {
	box-sizing: border-box;
	display: block;
	margin: 22px 0;
	max-width: none;
	width: 100%;
}

.efp-estimator textarea.efp-work-description {
	box-sizing: border-box;
	display: block;
	min-height: 240px;
	resize: vertical;
	width: 100%;
}

.efp-estimator .efp-field-help {
	color: #555;
	display: block;
	font-size: 0.92em;
	line-height: 1.45;
	margin-top: 8px;
}

.efp-estimator__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Bright, clearly structured final contact step. */
.efp-contact-step.is-active {
	background: linear-gradient(180deg, #f1fbf4 0%, #ffffff 46%);
	border: 2px solid #a9d5b5;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(23, 79, 44, 0.12);
	padding: 24px;
}

.efp-contact-step__header {
	background: linear-gradient(135deg, #1f7a3f, #2f9855);
	border-radius: 13px;
	color: #ffffff;
	margin: -8px -8px 22px;
	padding: 20px;
	text-align: center;
}

.efp-contact-step__header h3 {
	color: #ffffff;
	font-size: 1.55rem;
	margin: 8px 0 6px;
}

.efp-contact-step__header p {
	color: #ffffff;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
	opacity: 0.96;
}

.efp-contact-step__badge {
	background: #ffffff;
	border-radius: 999px;
	color: #1f7a3f;
	display: inline-block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	padding: 5px 11px;
	text-transform: uppercase;
}

.efp-contact-step .efp-estimator__grid > label,
.efp-contact-step .efp-work-description-field {
	background: #ffffff;
	border: 1px solid #cfe0d4;
	border-radius: 11px;
	box-shadow: 0 3px 10px rgba(23, 79, 44, 0.07);
	box-sizing: border-box;
	padding: 13px;
}

.efp-contact-step .efp-estimator__grid > label > span,
.efp-contact-step .efp-work-description-field > span {
	color: #174f2c;
	font-weight: 800;
}

.efp-contact-step input:focus,
.efp-contact-step select:focus,
.efp-contact-step textarea:focus {
	border-color: #1f7a3f;
	box-shadow: 0 0 0 4px rgba(31, 122, 63, 0.16);
	outline: none;
}

.efp-contact-step > button[type="submit"] {
	background: linear-gradient(135deg, #1f7a3f, #36a35c);
	box-shadow: 0 8px 20px rgba(31, 122, 63, 0.28);
	font-size: 17px;
	min-height: 54px;
	padding: 12px 22px;
	width: 100%;
}

.efp-contact-step > button[type="submit"]:hover,
.efp-contact-step > button[type="submit"]:focus {
	filter: brightness(1.08);
}

@media (max-width: 680px) {
	.efp-contact-step.is-active {
		border-radius: 12px;
		padding: 14px;
	}

	.efp-contact-step__header {
		margin: -2px -2px 18px;
		padding: 17px 14px;
	}
}

.efp-estimator label span {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}

.efp-estimator__result {
	background: #f1f8f3;
	border: 1px solid #cfe0d4;
	border-radius: 12px;
	margin: 20px 0;
	padding: 22px;
	text-align: center;
}

.efp-estimator__result p {
	margin: 0 0 8px;
}

.efp-estimator__price {
	display: block;
	font-size: 2rem;
	margin: 6px 0 12px;
}

.efp-estimator__navigation {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 24px;
}

.efp-button {
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 800;
	padding: 13px 22px;
}

.efp-button--primary {
	background: #1f7a3f;
	color: #fff;
}

.efp-button--secondary {
	background: #e8ece9;
	color: #222;
}

.efp-estimator__message {
	font-weight: 800;
}

.efp-upload-progress {
	background: #f1f8f3;
	border: 1px solid #9bc8aa;
	border-radius: 10px;
	margin-top: 16px;
	padding: 16px;
}

.efp-upload-progress strong,
.efp-upload-progress small {
	display: block;
}

.efp-upload-progress progress {
	height: 18px;
	margin: 12px 10px 8px 0;
	max-width: 520px;
	vertical-align: middle;
	width: calc(100% - 65px);
}

.efp-upload-progress [data-efp-upload-percent] { font-weight: 800; }
.efp-upload-progress small { margin-top: 6px; }
.efp-upload-progress--error {
	background: #fff2f2;
	border-color: #d63638;
	color: #8a2424;
}

.efp-request-mode {
	background: #f7faf8;
	border: 1px solid #d9e1db;
	border-radius: 12px;
	margin-bottom: 22px;
	padding: 20px;
	text-align: center;
}

.efp-request-mode__choice {
	box-sizing: border-box;
	line-height: 1.35;
	margin: 6px;
	max-width: calc(100% - 12px);
	overflow-wrap: anywhere;
	white-space: normal !important;
	word-break: normal;
}
.efp-request-mode__choice.is-selected { box-shadow: 0 0 0 3px #9bc8aa; }
.efp-request-mode--error { border: 2px solid #d63638; }
.efp-request-mode--error::after {
	color: #8a2424;
	content: 'Please choose one option before continuing.';
	display: block;
	font-weight: 700;
	margin-top: 12px;
}

.efp-guided-questions,
.efp-photo-quote-intro {
	scroll-margin-top: 18px;
}

.efp-mode-confirmation {
	background: #eaf7ee;
	border: 2px solid #1f7a3f;
	border-radius: 10px;
	color: #174f2c;
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 16px;
	padding: 12px 14px;
}

@keyframes efp-request-mode-reveal {
	0%, 100% { box-shadow: 0 0 0 0 rgba(31, 122, 63, 0); }
	35% { box-shadow: 0 0 0 7px rgba(31, 122, 63, 0.28); }
}

.efp-request-mode-revealed {
	animation: efp-request-mode-reveal 1.8s ease-in-out;
	border-radius: 12px;
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.efp-request-mode-revealed {
		animation: none;
	}
}

/* 1.0.43 - high-visibility customer price badges */
.efp-estimator .efp-estimator__choices label .efp-option-visible-price {
	background: #ffeb00 !important;
	border: 3px solid #8a5800 !important;
	border-radius: 8px !important;
	box-shadow: 0 3px 0 #8a5800, 0 5px 12px rgba(82, 50, 0, 0.28) !important;
	color: #251700 !important;
	font-size: 1.18rem !important;
	font-weight: 900 !important;
	line-height: 1.1 !important;
	padding: 8px 12px !important;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

/* 1.0.45 - visible, price-friendly replacement for native dropdown options */
.efp-estimator .efp-custom-choice-select {
	height: 1px !important;
	left: -10000px !important;
	opacity: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	width: 1px !important;
}

.efp-estimator .efp-custom-select-choices {
	display: grid;
	gap: 10px;
}

.efp-estimator .efp-custom-select-choice {
	align-items: center;
	background: #fff;
	border: 2px solid #d6dfd9;
	border-radius: 10px;
	color: #1d2327;
	cursor: pointer;
	display: flex;
	font: inherit;
	gap: 12px;
	justify-content: space-between;
	padding: 12px 14px;
	text-align: left;
	width: 100%;
}

.efp-estimator .efp-custom-select-choice:hover,
.efp-estimator .efp-custom-select-choice:focus-visible {
	border-color: #1f7a3f;
	box-shadow: 0 0 0 4px rgba(31, 122, 63, .14);
	outline: none;
}

.efp-estimator .efp-custom-select-choice.is-selected-answer {
	background: #dff3e5;
	border-color: #1f7a3f;
	box-shadow: 0 0 0 3px rgba(31, 122, 63, .15);
	color: #174f2c;
	font-weight: 800;
}

.efp-estimator .efp-custom-select-choice .efp-option-visible-price {
	background: #ffeb00 !important;
	border: 2px solid #8a5800 !important;
	border-radius: 7px !important;
	box-shadow: 0 2px 0 #8a5800 !important;
	color: #251700 !important;
	flex: 0 0 auto;
	font-size: 1rem !important;
	font-weight: 800 !important;
	padding: 5px 8px !important;
	white-space: nowrap;
}

.efp-estimator .efp-custom-select-choice.is-selected-answer .efp-option-visible-price {
	background: #baff29 !important;
	border-color: #256b13 !important;
	box-shadow: 0 3px 0 #256b13 !important;
}

.efp-estimator .efp-estimator__choices label.is-selected-answer .efp-option-visible-price {
	background: #baff29 !important;
	border-color: #256b13 !important;
	box-shadow: 0 3px 0 #256b13, 0 0 0 4px rgba(71, 180, 43, 0.24) !important;
	color: #123508 !important;
}

@media (max-width: 680px) {
	.efp-estimator .efp-estimator__choices label .efp-option-visible-price {
		font-size: 1.05rem !important;
		padding: 7px 9px !important;
	}
}
.efp-photo-quote-intro {
	background: #f1f8f3;
	border: 1px solid #cfe0d4;
	border-radius: 12px;
	padding: 20px;
}

@media (max-width: 680px) {
	.efp-request-mode { padding: 16px 12px; }
	.efp-request-mode__choice {
		display: block;
		margin: 10px 0;
		max-width: 100%;
		width: 100%;
	}

	.efp-estimator__card {
		padding: 20px;
	}

	.efp-estimator__grid {
		grid-template-columns: 1fr;
	}

	.efp-button {
		min-height: 48px;
	}

	.efp-estimator__navigation {
		background: #fff;
		bottom: 10px;
		padding: 10px 0;
		position: sticky;
	}
}


.efp-estimator__upload {
	border: 2px dashed #bdc9c0;
	border-radius: 10px;
	display: block;
	margin-bottom: 20px;
	padding: 20px;
}

.efp-estimator__upload small {
	display: block;
	margin-top: 8px;
}


.efp-estimator__question[hidden] {
	display: none !important;
}


.efp-question-counter {
	color: #50575e;
	font-weight: 700;
	margin: 0 0 14px;
	text-align: center;
}

.efp-question-navigation {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: 20px;
}

/* Keep question-by-question controls out of the all-questions layout. */
.efp-question-navigation[hidden] {
	display: none !important;
}

.efp-estimator[data-question-layout="one_at_a_time"] .efp-estimator__question.is-question-hidden-by-layout {
	display: none;
}

.efp-estimator[data-question-layout="one_at_a_time"] .efp-estimator__question.is-current-question {
	display: block;
}

@media (max-width: 680px) {
	.efp-question-navigation {
		flex-direction: column-reverse;
	}

	.efp-question-navigation .efp-button {
		width: 100%;
	}
}


.efp-estimator__question--error {
	background: #ffffff !important;
	border: 2px solid #d63638 !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	padding: 16px !important;
}

.efp-estimator__question--error legend {
	color: #1d2327 !important;
	font-weight: 700 !important;
}

.efp-estimator__question--error label {
	color: #1d2327 !important;
	font-weight: 500 !important;
}

.efp-question-error-message {
	align-items: flex-start;
	background: #fff2f2;
	border-left: 5px solid #d63638;
	border-radius: 6px;
	color: #8a2424;
	display: flex;
	font-size: 16px;
	font-weight: 700;
	gap: 8px;
	line-height: 1.45;
	margin: 14px 0 0;
	padding: 12px 14px;
}

.efp-question-error-message__icon {
	color: #d63638;
	font-size: 20px;
	line-height: 1.2;
}

.efp-question-error-message__text {
	flex: 1;
}

/* Keep native radio buttons and checkboxes easy to see. */
.efp-estimator__question input[type="radio"],
.efp-estimator__question input[type="checkbox"] {
	accent-color: #2271b1;
	opacity: 1 !important;
	filter: none !important;
	outline: none !important;
}

.efp-estimator__question--error .efp-estimator__choices {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.efp-estimator__question--error .efp-estimator__choices label {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: block;
	margin: 7px 0;
	padding: 4px 0;
}







/* Rebuilt one-question-at-a-time engine. */
.efp-estimator__question.is-question-hidden-by-layout {
	display: none !important;
}

.efp-estimator__question.is-current-question {
	display: block !important;
}


/* Final contact page: only the submit button should be visible. */
.efp-estimator__step:last-of-type.is-active ~ .efp-estimator__navigation [data-next] {
	display: none !important;
}


.efp-estimator button[type="submit"].is-processing {
	align-items: center;
	cursor: wait !important;
	display: inline-flex;
	gap: 10px;
	justify-content: center;
	opacity: 0.9;
}

.efp-submit-spinner {
	animation: efp-submit-spin 0.8s linear infinite;
	border: 3px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	border-top-color: #ffffff;
	display: inline-block;
	height: 18px;
	width: 18px;
}

.efp-estimator__message--processing {
	background: #eef6ff;
	border: 2px solid #2271b1;
	border-radius: 8px;
	color: #0a3d66;
	font-weight: 700;
	margin-top: 12px;
	padding: 12px 14px;
}

.efp-estimator__message--success {
	background: #edfaef;
	border: 2px solid #218739;
	border-radius: 8px;
	color: #155724;
	font-weight: 700;
	margin-top: 12px;
	padding: 12px 14px;
}

.efp-estimator__message--error {
	background: #fff2f2;
	border: 2px solid #d63638;
	border-radius: 8px;
	color: #8a2424;
	font-weight: 700;
	margin-top: 12px;
	padding: 12px 14px;
}

@keyframes efp-submit-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.efp-submit-spinner {
		animation: none;
	}
}

.efp-success-card { animation: efp-success-arrive 600ms cubic-bezier(.2,.9,.25,1); background: linear-gradient(145deg,#f7fff8,#e6f8ea); border: 2px solid #2e9b45; border-radius: 18px; box-shadow: 0 18px 42px rgba(22,101,42,.18); color: #183b23; margin: 0 auto; max-width: 580px; padding: 30px; text-align: center; }
.efp-success-card:focus { outline: none; }
.efp-success-icon { align-items: center; background: #2e9b45; border: 6px solid #d8f2de; border-radius: 50%; box-shadow: 0 8px 20px rgba(46,155,69,.25); color: #fff; display: inline-flex; font-size: 34px; font-weight: 900; height: 72px; justify-content: center; margin-bottom: 10px; width: 72px; }
.efp-success-kicker { color: #237638; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.efp-success-card h3 { color: #174f2c; font-size: clamp(1.45rem,4vw,2rem); line-height: 1.2; margin: 8px 0 10px; }
.efp-success-lead { font-size: 1.05rem; font-weight: 600; margin: 0 auto 20px; max-width: 460px; }
.efp-success-next { align-items: flex-start; background: #fff; border: 1px solid #b9ddc2; border-radius: 12px; display: flex; gap: 13px; padding: 15px; text-align: left; }
.efp-success-next__icon { align-items: center; background: #fff0a8; border-radius: 50%; color: #684500; display: inline-flex; flex: 0 0 auto; font-size: 20px; font-weight: 900; height: 36px; justify-content: center; width: 36px; }
.efp-success-next strong { color: #174f2c; display: block; margin-bottom: 3px; }
.efp-success-next p { font-weight: 600; margin: 0; }
.efp-success-safe { color: #42634b; font-size: .9rem; font-weight: 600; margin: 17px 0 0; }
.efp-close-popup-button { background: linear-gradient(135deg,#1f7a3f,#17652a); border: 0; border-radius: 10px; box-shadow: 0 7px 16px rgba(23,101,42,.24); color: #fff; cursor: pointer; font-size: 18px; font-weight: 800; margin-top: 16px; min-width: 180px; padding: 14px 28px; }
.efp-close-popup-button:hover { filter: brightness(1.08); transform: translateY(-1px); }
@keyframes efp-success-arrive { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .efp-success-card { animation: none; } .efp-close-popup-button:hover { transform: none; } }
@media (max-width: 680px) { .efp-success-card { padding: 22px 16px; } .efp-success-next { padding: 13px; } }

/* Hide generic Continue only when JavaScript marks it hidden. */
.efp-estimator__navigation [data-next][aria-hidden="true"] {
	display: none !important;
}


.efp-contact-field--error {
	background: #fffafa !important;
	border: 2px solid #d63638 !important;
	box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.12) !important;
}

.efp-contact-field-error {
	background: #fff2f2;
	border-left: 5px solid #d63638;
	border-radius: 6px;
	color: #8a2424;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	margin-top: 8px;
	padding: 10px 12px;
}


.efp-photo-selection {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	margin-top: 10px;
	padding: 10px;
}

.efp-photo-selection__count {
	display: block;
	margin-bottom: 8px;
}

.efp-photo-selection__list {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.efp-photo-selection__item {
	background: #fff;
	border: 1px solid #d9e1db;
	border-radius: 10px;
	overflow: hidden;
}

.efp-photo-selection__preview {
	aspect-ratio: 4 / 3;
	background: #e8ece9;
	display: block;
	height: auto;
	min-height: 150px;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.15s ease;
	width: 100%;
}

.efp-photo-selection__preview.is-loaded { opacity: 1; }
.efp-photo-selection__preview.has-error { display: none; }

.efp-photo-selection__details {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 10px;
}

.efp-photo-selection__name {
	font-size: 13px;
	min-width: 0;
	overflow-wrap: anywhere;
}

.efp-photo-selection__remove {
	background: #ffffff;
	border: 1px solid #b32d2e;
	border-radius: 6px;
	color: #b32d2e;
	cursor: pointer;
	flex: 0 0 auto;
	font-weight: 700;
	padding: 8px 10px;
}

@media (max-width: 680px) {
	.efp-photo-selection__list { grid-template-columns: 1fr; }

	.efp-photo-selection__remove {
		min-height: 44px;
	}
}


/* 3.7.6.3 — Highlight photo instructions so customers understand photos are expected. */
.efp-photo-upload,
.efp-estimator__photos,
.efp-photo-field,
.efp-estimator__field:has(input[name="job_photos[]"]) {
	border: 2px solid #1f7a3f;
	border-radius: 14px;
	padding: 16px;
	background: #f7fff9;
}

.efp-photo-upload__help {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 500;
}

input[name="job_photos[]"] {
	margin-top: 12px;
}


/* 3.7.6.4 - Explicit photo request callout */
.efp-estimator .efp-photo-upload-highlight {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 18px 0 22px;
    padding: 18px;
    border: 3px solid #237a3b;
    border-radius: 12px;
    background: #f0fff4;
}

.efp-estimator .efp-photo-upload-highlight .efp-photo-upload-title {
    display: block;
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.efp-estimator .efp-photo-upload-highlight .efp-photo-upload-instructions {
    display: block;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.efp-estimator .efp-photo-upload-highlight input[type="file"] {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    border: 2px dashed #237a3b;
    border-radius: 8px;
    background: #ffffff;
}


/* 3.7.6.5 - camera + existing-photo actions */
.efp-photo-upload-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 14px 0 10px;
}

.efp-photo-upload-actions .efp-photo-action {
	width: 100%;
}

.efp-photo-file-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 680px) {
	.efp-photo-upload-actions {
		grid-template-columns: 1fr;
	}
}


/* 3.7.6.6 - never show mobile camera action when JS marks it hidden */
.efp-photo-upload-actions .efp-photo-action[hidden] {
	display: none !important;
}



/* 3.7.6.7 - hide native browser file picker chrome completely */
.efp-photo-file-input,
.efp-photo-file-input[hidden] {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	position: absolute !important;
}

.efp-photo-file-input::file-selector-button,
.efp-photo-file-input::-webkit-file-upload-button {
	display: none !important;
	visibility: hidden !important;
}


/* 3.7.6.8 - hard suppress native file input chrome */
.efp-photo-upload-highlight input[type="file"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -99999px !important;
    pointer-events: none !important;
}
.efp-photo-upload-highlight input[type="file"]::file-selector-button,
.efp-photo-upload-highlight input[type="file"]::-webkit-file-upload-button {
    display: none !important;
}

/* 3.7.6.9 - processing UI must disappear before success confirmation */
.efp-estimator button[type="submit"][hidden],
.efp-estimator button[type="submit"][hidden] *,
.efp-estimator button[type="submit"][hidden]::before,
.efp-estimator button[type="submit"][hidden]::after {
    display: none !important;
}
.efp-estimator__message--success .efp-submit-spinner {
    display: none !important;
}


/* 3.7.9.0 - anti-bot honeypot: accessible to form submission, invisible to visitors. */
.efp-estimator__spam-field {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}


/* 1.0.22 - keep radio/checkbox, answer text, and optional price evenly aligned */
@media (max-width: 680px) {
	.efp-estimator__choices label {
		align-items: center;
		gap: 10px;
	}

	.efp-estimator__choices .efp-option-visible-price {
		font-size: .95rem;
		padding: 5px 8px;
	}
}


/* 1.0.23 - clearer long-running submission guidance */
.efp-processing-card {
	align-items: flex-start;
	background: #eef6ff;
	border: 2px solid #2271b1;
	border-radius: 12px;
	display: flex;
	gap: 14px;
	margin-top: 16px;
	padding: 16px;
}

.efp-processing-card__spinner {
	animation: efp-submit-spin 0.8s linear infinite;
	border: 4px solid rgba(34, 113, 177, 0.22);
	border-radius: 50%;
	border-top-color: #2271b1;
	flex: 0 0 auto;
	height: 24px;
	margin-top: 2px;
	width: 24px;
}

.efp-processing-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.efp-processing-card__title {
	color: #0a4b78;
	font-size: 1.05rem;
}

.efp-processing-card__text {
	color: #1d2327;
	font-weight: 500;
	line-height: 1.5;
}

.efp-processing-card__warning {
	color: #8a4b08;
	font-weight: 800;
	line-height: 1.45;
}

.efp-upload-progress small strong {
	display: inline;
}

@media (max-width: 680px) {
	.efp-processing-card {
		gap: 12px;
		padding: 14px;
	}
}


/* 1.0.24 - attractive two-stage upload and estimate preparation */
.efp-processing-card {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.efp-processing-card--preparing {
	background: #f0f8f2;
	border-color: #238636;
}

.efp-processing-card--preparing .efp-processing-card__spinner {
	border-color: rgba(35, 134, 54, 0.22);
	border-top-color: #238636;
}

.efp-processing-card--preparing .efp-processing-card__title {
	color: #17652a;
	font-size: 1.12rem;
}

.efp-processing-card__success-line {
	color: #17652a;
	font-weight: 800;
	line-height: 1.45;
}

.efp-processing-card__warning {
	background: #fff7e6;
	border: 1px solid #dba617;
	border-radius: 8px;
	display: block;
	margin-top: 4px;
	padding: 9px 11px;
}

.efp-upload-complete-check {
	color: #238636;
	font-weight: 900;
}

.efp-upload-progress {
	border-radius: 10px;
	padding: 10px 0;
}

.efp-upload-progress progress {
	height: 14px;
	width: 100%;
}

/* 1.0.39 - animated guided journey and live estimate */
.efp-live-estimate {
	align-items: center;
	background: linear-gradient(135deg, #123f2a, #1f7a3f 62%, #2b9652);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(20, 92, 48, 0.24);
	color: #fff;
	display: grid;
	grid-template-columns: auto 1fr auto;
	margin: 14px 0 18px;
	padding: 14px 18px;
	position: sticky;
	top: 12px;
	z-index: 4;
}

.efp-live-estimate[hidden] { display: none !important; }
.efp-live-estimate__icon { align-items: center; background: rgba(255,255,255,.15); border-radius: 10px; display: inline-flex; font-size: 1.5rem; height: 42px; justify-content: center; width: 42px; }
.efp-live-estimate__copy { display: flex; flex-direction: column; gap: 2px; }
.efp-live-estimate__eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.efp-live-estimate__value { font-size: 1.55rem; }
.efp-live-estimate small { color: rgba(255,255,255,.82); }
.efp-estimator[data-guided-animation="1"] .efp-live-estimate.is-updated { animation: efp-live-pop 480ms ease-out; }
.efp-estimator[data-guided-animation="1"] .efp-estimator__question.is-current-question { animation: efp-question-arrive 420ms cubic-bezier(.2,.8,.2,1); }
.efp-estimator[data-guided-animation="1"] .efp-estimator__result.is-revealed { animation: efp-result-reveal 650ms cubic-bezier(.2,.9,.25,1); border-color: #d0a51a; box-shadow: 0 16px 38px rgba(31,122,63,.2), 0 0 0 5px rgba(232,190,48,.14); }
.efp-estimator[data-guided-animation="1"] .efp-estimator__result.is-revealed .efp-estimator__price { animation: efp-price-pop 700ms 120ms both; color: #17652a; }
.efp-estimator__ready-heading { align-items: center; color: #17652a; display: flex; font-size: 1.12rem; gap: 9px; justify-content: center; margin-bottom: 14px; }
.efp-estimator__ready-heading[hidden] { display: none !important; }
.efp-estimator__ready-check { align-items: center; background: #1f7a3f; border-radius: 50%; color: #fff; display: inline-flex; font-size: 1rem; height: 30px; justify-content: center; width: 30px; }
.efp-estimator[data-guided-animation="1"] .efp-estimator__result.is-revealed .efp-estimator__ready-check { animation: efp-check-pop 600ms 180ms both; }

@keyframes efp-live-pop { 50% { transform: scale(1.025); box-shadow: 0 16px 34px rgba(20,92,48,.34); } }
@keyframes efp-live-number-pop { from { opacity: .55; transform: scale(.78); } 65% { transform: scale(1.14); } to { opacity: 1; transform: none; } }
@keyframes efp-question-arrive { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes efp-result-reveal { from { opacity: 0; transform: translateY(20px) scale(.96); } 70% { transform: translateY(-3px) scale(1.015); } to { opacity: 1; transform: none; } }
@keyframes efp-price-pop { from { opacity: 0; transform: scale(.65); } 65% { transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@keyframes efp-check-pop { from { opacity: 0; transform: rotate(-35deg) scale(.25); } 70% { transform: rotate(5deg) scale(1.18); } to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
	.efp-live-estimate {
		grid-template-columns: minmax(0, 1fr) auto;
		margin: 8px 0 12px;
		padding: 8px 10px;
		position: -webkit-sticky;
		position: sticky;
		top: 6px;
		z-index: 20;
	}

	.efp-live-estimate__icon {
		display: none;
	}

	.efp-live-estimate__copy {
		min-width: 0;
	}

	.efp-live-estimate__eyebrow {
		font-size: .68rem;
		letter-spacing: .05em;
	}

	.efp-live-estimate small {
		display: none;
	}

	.efp-live-estimate__value {
		font-size: 1.2rem;
		grid-column: auto;
		padding-left: 8px;
		padding-top: 0;
		text-align: right;
		white-space: nowrap;
	}
}

.efp-estimator[data-guided-animation="1"] .efp-live-estimate.is-updated .efp-live-estimate__value { animation: efp-live-number-pop 480ms ease-out; }

.efp-contact-estimate-summary {
	align-items: center;
	background: linear-gradient(135deg, #123f2a, #1f7a3f 62%, #2b9652);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(20, 92, 48, 0.18);
	color: #fff;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin: 0 0 18px;
	padding: 12px 16px;
	position: static;
}

.efp-contact-estimate-summary[hidden] {
	display: none !important;
}

.efp-contact-estimate-summary span {
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.efp-contact-estimate-summary strong {
	font-size: 1.35rem;
	white-space: nowrap;
}

@media (max-width: 680px) {
	.efp-contact-estimate-summary {
		gap: 8px;
		padding: 9px 11px;
	}

	.efp-contact-estimate-summary span {
		font-size: .68rem;
	}

	.efp-contact-estimate-summary strong {
		font-size: 1.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.efp-live-estimate.is-updated,
	.efp-live-estimate.is-updated .efp-live-estimate__value,
	.efp-estimator__question.is-current-question,
	.efp-estimator__result.is-revealed,
	.efp-estimator__result.is-revealed .efp-estimator__price,
	.efp-estimator__result.is-revealed .efp-estimator__ready-check { animation: none; }
}
