/* ECO Fomu — front-end styles. Theme via CSS variables set per form. */
.ecof-wrap {
	--ecof-accent: #C2185B;
	--ecof-text: #1b1b1f;
	--ecof-bg: #ffffff;
	--ecof-field-bg: #ffffff;
	--ecof-border: #d6d6de;
	--ecof-radius: 10px;
	--ecof-font-size: 16px;
	--ecof-max-width: 720px;
	--ecof-muted: color-mix(in srgb, var(--ecof-text) 60%, transparent);
	--ecof-soft: color-mix(in srgb, var(--ecof-accent) 10%, transparent);
	--ecof-error: #c62828;
	--ecof-gap: 18px;
	max-width: var(--ecof-max-width);
	color: var(--ecof-text);
	background: var(--ecof-bg);
	font-size: var(--ecof-font-size);
	line-height: 1.5;
	box-sizing: border-box;
}
.ecof-wrap *, .ecof-wrap *::before, .ecof-wrap *::after { box-sizing: border-box; }
.ecof-wrap [hidden] { display: none !important; }
.ecof-form-title { margin: 0 0 1em; font-size: 1.5em; line-height: 1.2; }

/* Layout grid */
.ecof-row { display: flex; flex-wrap: wrap; gap: var(--ecof-gap) 16px; }
.ecof-field { flex: 0 0 100%; min-width: 0; margin: 0; }
.ecof-w-half { flex-basis: calc(50% - 8px); }
.ecof-w-third { flex-basis: calc(33.333% - 10.67px); }
.ecof-w-two-thirds { flex-basis: calc(66.666% - 5.33px); }
.ecof-w-quarter { flex-basis: calc(25% - 12px); }
@media (max-width: 600px) {
	.ecof-w-half, .ecof-w-third, .ecof-w-two-thirds { flex-basis: 100%; }
	.ecof-w-quarter { flex-basis: calc(50% - 8px); }
}
.ecof-is-hidden-type { display: none; }
.ecof-reveal { animation: ecof-in .3s ease; }
.ecof-page-enter { animation: ecof-slide .35s ease; }
@keyframes ecof-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes ecof-slide { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ecof-reveal, .ecof-page-enter { animation: none; } }

/* Labels */
.ecof-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .94em; }
.ecof-star { color: var(--ecof-accent); }
.ecof-desc { font-size: .85em; color: var(--ecof-muted); margin-top: 6px; }
.ecof-label-hidden .ecof-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 601px) {
	.ecof-label-left .ecof-field:not(.ecof-type-heading):not(.ecof-type-html):not(.ecof-type-divider):not(.ecof-type-consent) { display: grid; grid-template-columns: 32% 1fr; column-gap: 16px; align-items: start; }
	.ecof-label-left .ecof-label { padding-top: .6em; margin: 0; }
	.ecof-label-left .ecof-desc, .ecof-label-left .ecof-error, .ecof-label-left .ecof-counter { grid-column: 2; }
}

/* Inputs */
.ecof-input {
	width: 100%;
	display: block;
	font: inherit;
	color: var(--ecof-text);
	background: var(--ecof-field-bg);
	border: 1.5px solid var(--ecof-border);
	border-radius: var(--ecof-radius);
	padding: .7em .9em;
	min-height: 2.9em;
	transition: border-color .15s, box-shadow .15s, background .15s;
	-webkit-appearance: none;
	appearance: none;
}
textarea.ecof-input { min-height: 8em; resize: vertical; }
select.ecof-input {
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.4em;
}
.ecof-input::placeholder { color: var(--ecof-muted); opacity: .8; }
.ecof-input:focus { outline: none; border-color: var(--ecof-accent); box-shadow: 0 0 0 3px var(--ecof-soft); }
.ecof-input-filled .ecof-input { background: color-mix(in srgb, var(--ecof-text) 5%, var(--ecof-field-bg)); border-color: transparent; }
.ecof-input-filled .ecof-input:focus { background: var(--ecof-field-bg); border-color: var(--ecof-accent); }
.ecof-input-underline .ecof-input { border-width: 0 0 2px; border-radius: 0; padding-left: 2px; padding-right: 2px; background-color: transparent; }
.ecof-input-underline .ecof-input:focus { box-shadow: none; }

.ecof-affix { display: flex; align-items: stretch; }
.ecof-affix .ecof-input { flex: 1; min-width: 0; }
.ecof-prefix, .ecof-suffix { display: flex; align-items: center; padding: 0 .8em; background: color-mix(in srgb, var(--ecof-text) 6%, var(--ecof-field-bg)); border: 1.5px solid var(--ecof-border); color: var(--ecof-muted); font-size: .92em; white-space: nowrap; }
.ecof-prefix { border-right: 0; border-radius: var(--ecof-radius) 0 0 var(--ecof-radius); }
.ecof-suffix { border-left: 0; border-radius: 0 var(--ecof-radius) var(--ecof-radius) 0; }
.ecof-affix .ecof-prefix + .ecof-input { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.ecof-affix .ecof-input:has(+ .ecof-suffix) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ecof-counter { font-size: .78em; color: var(--ecof-muted); text-align: right; margin-top: 4px; }

/* Choices */
.ecof-choices { display: grid; gap: 8px 16px; }
.ecof-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecof-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ecof-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 600px) { .ecof-cols-3, .ecof-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ecof-choice { position: relative; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 2px 0; font-weight: 400; }
.ecof-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ecof-choice-ui { flex: 0 0 auto; width: 1.2em; height: 1.2em; margin-top: .15em; border: 1.5px solid var(--ecof-border); background: var(--ecof-field-bg); border-radius: 5px; display: grid; place-items: center; transition: all .15s; }
.ecof-choice input[type=radio] + .ecof-choice-ui { border-radius: 50%; }
.ecof-choice input:checked + .ecof-choice-ui { background: var(--ecof-accent); border-color: var(--ecof-accent); }
.ecof-choice input[type=checkbox]:checked + .ecof-choice-ui::after { content: ''; width: .32em; height: .6em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.ecof-choice input[type=radio]:checked + .ecof-choice-ui::after { content: ''; width: .42em; height: .42em; border-radius: 50%; background: #fff; }
.ecof-choice input:focus-visible + .ecof-choice-ui { box-shadow: 0 0 0 3px var(--ecof-soft); border-color: var(--ecof-accent); }

/* Image choice */
.ecof-image-choices { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ecof-image-choices .ecof-choice { flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 1.5px solid var(--ecof-border); border-radius: var(--ecof-radius); overflow: hidden; background: var(--ecof-field-bg); transition: border-color .15s, box-shadow .15s; }
.ecof-image-choices .ecof-choice-ui { position: absolute; top: 8px; right: 8px; margin: 0; z-index: 1; }
.ecof-image-choices .ecof-choice-img { display: block; aspect-ratio: 4 / 3; background: var(--ecof-soft); }
.ecof-image-choices .ecof-choice-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ecof-image-choices .ecof-choice-label { padding: 10px 12px; font-weight: 500; }
.ecof-image-choices .ecof-choice:has(input:checked) { border-color: var(--ecof-accent); box-shadow: 0 0 0 3px var(--ecof-soft); }

/* Toggle */
.ecof-toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; position: relative; }
.ecof-toggle input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ecof-toggle-track { width: 46px; height: 26px; border-radius: 26px; background: var(--ecof-border); position: relative; transition: background .2s; flex: 0 0 auto; }
.ecof-toggle-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.ecof-toggle input:checked + .ecof-toggle-track { background: var(--ecof-accent); }
.ecof-toggle input:checked + .ecof-toggle-track .ecof-toggle-thumb { transform: translateX(20px); }
.ecof-toggle input:focus-visible + .ecof-toggle-track { box-shadow: 0 0 0 3px var(--ecof-soft); }

/* Rating */
.ecof-rating { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.ecof-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ecof-rating label { cursor: pointer; line-height: 0; }
.ecof-rating svg { width: 32px; height: 32px; fill: var(--ecof-border); transition: fill .12s, transform .12s; }
.ecof-rating label:hover svg, .ecof-rating label:hover ~ label svg, .ecof-rating input:checked ~ label svg { fill: #f5b301; }
.ecof-rating label:hover svg { transform: scale(1.12); }
.ecof-rating input:focus-visible + label svg { outline: 2px solid var(--ecof-accent); outline-offset: 2px; border-radius: 4px; }

/* Range */
.ecof-range { display: flex; align-items: center; gap: 14px; }
.ecof-range input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--ecof-accent) var(--ecof-fill, 0%), var(--ecof-border) var(--ecof-fill, 0%)); outline: none; }
.ecof-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--ecof-accent); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.ecof-range input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ecof-accent); cursor: pointer; }
.ecof-range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--ecof-soft); }
.ecof-range-out { min-width: 4ch; padding: 4px 10px; border-radius: 999px; background: var(--ecof-soft); color: var(--ecof-accent); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }

/* File drop */
.ecof-drop { position: relative; }
.ecof-drop .ecof-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; }
.ecof-drop-ui { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border: 2px dashed var(--ecof-border); border-radius: var(--ecof-radius); background: var(--ecof-field-bg); text-align: center; transition: border-color .15s, background .15s; }
.ecof-drop-ui svg { width: 30px; height: 30px; fill: none; stroke: var(--ecof-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ecof-drop-ui small { color: var(--ecof-muted); font-size: .8em; }
.ecof-drop.is-over .ecof-drop-ui, .ecof-drop .ecof-file:focus-visible + .ecof-drop-ui { border-color: var(--ecof-accent); background: var(--ecof-soft); }
.ecof-file-list { list-style: none; margin: 8px 0 0; padding: 0; position: relative; z-index: 3; }
.ecof-file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; margin-top: 6px; background: var(--ecof-soft); border-radius: calc(var(--ecof-radius) * .7); font-size: .88em; word-break: break-all; }
.ecof-file-remove { border: 0; background: transparent; color: var(--ecof-text); font-size: 1.3em; line-height: 1; cursor: pointer; padding: 0 4px; }

/* Signature */
.ecof-signature { position: relative; }
.ecof-signature canvas { display: block; width: 100%; height: 170px; border: 1.5px solid var(--ecof-border); border-radius: var(--ecof-radius); background: var(--ecof-field-bg); touch-action: none; cursor: crosshair; }
.ecof-sig-clear { position: absolute; top: 8px; right: 8px; border: 0; background: var(--ecof-soft); color: var(--ecof-accent); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .8em; cursor: pointer; }

/* Calculation */
.ecof-calc { display: flex; align-items: baseline; gap: 4px; padding: 14px 18px; border-radius: var(--ecof-radius); background: var(--ecof-soft); font-size: 1.5em; font-weight: 700; color: var(--ecof-accent); font-variant-numeric: tabular-nums; }
.ecof-calc-prefix, .ecof-calc-suffix { font-size: .7em; font-weight: 600; }

/* Layout pieces */
.ecof-heading { margin: .3em 0 0; line-height: 1.25; }
.ecof-divider { border: 0; border-top: 1px solid var(--ecof-border); margin: .4em 0; }
.ecof-html > :first-child { margin-top: 0; }
.ecof-html > :last-child { margin-bottom: 0; }

/* Errors */
.ecof-error { color: var(--ecof-error); font-size: .84em; margin-top: 6px; }
.ecof-error:empty { display: none; }
.ecof-has-error .ecof-input, .ecof-has-error .ecof-drop-ui, .ecof-has-error canvas { border-color: var(--ecof-error); }
.ecof-has-error .ecof-choice-ui { border-color: var(--ecof-error); }
.ecof-banner, .ecof-error-banner { padding: 12px 16px; margin-bottom: 18px; border-radius: var(--ecof-radius); background: color-mix(in srgb, var(--ecof-error) 10%, transparent); color: var(--ecof-error); font-size: .92em; font-weight: 500; }

/* Honeypot */
.ecof-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Progress */
.ecof-progress { margin-bottom: 26px; }
.ecof-steps { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; counter-reset: none; }
.ecof-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; text-align: center; font-size: .82em; color: var(--ecof-muted); margin: 0; }
.ecof-step::before { content: ''; position: absolute; top: 15px; right: calc(50% + 20px); left: calc(-50% + 20px); height: 2px; background: var(--ecof-border); }
.ecof-step:first-child::before { display: none; }
.ecof-step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ecof-border); background: var(--ecof-bg); font-weight: 700; position: relative; z-index: 1; transition: all .2s; }
.ecof-step.is-active { color: var(--ecof-text); font-weight: 600; }
.ecof-step.is-active .ecof-step-num { border-color: var(--ecof-accent); color: var(--ecof-accent); box-shadow: 0 0 0 4px var(--ecof-soft); }
.ecof-step.is-done .ecof-step-num { background: var(--ecof-accent); border-color: var(--ecof-accent); color: #fff; }
.ecof-step.is-done::before, .ecof-step.is-active::before { background: var(--ecof-accent); }
@media (max-width: 600px) { .ecof-step-title { display: none; } }
.ecof-progress-meta { display: flex; justify-content: space-between; font-size: .85em; margin-bottom: 8px; color: var(--ecof-muted); }
.ecof-progress-pct { font-weight: 700; color: var(--ecof-accent); }
.ecof-progress-track { height: 8px; border-radius: 8px; background: var(--ecof-soft); overflow: hidden; }
.ecof-progress-fill { height: 100%; width: 0; background: var(--ecof-accent); border-radius: 8px; transition: width .35s ease; }

/* Buttons */
.ecof-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.ecof-btn-center .ecof-actions { justify-content: center; }
.ecof-btn-full .ecof-actions .ecof-btn { flex: 1; }
.ecof-multi .ecof-actions { justify-content: space-between; }
.ecof-multi .ecof-actions .ecof-prev[hidden] + .ecof-next, .ecof-multi .ecof-actions .ecof-prev[hidden] ~ .ecof-submit { margin-left: auto; }
.ecof-btn, .ecof-popup-trigger {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: inherit; font-weight: 600; line-height: 1.2;
	padding: .85em 1.7em;
	border-radius: var(--ecof-radius);
	border: 2px solid var(--ecof-accent);
	background: var(--ecof-accent);
	color: #fff;
	cursor: pointer;
	transition: filter .15s, transform .1s, box-shadow .15s;
}
.ecof-btn:hover, .ecof-popup-trigger:hover { filter: brightness(1.08); }
.ecof-btn:active { transform: translateY(1px); }
.ecof-btn:focus-visible, .ecof-popup-trigger:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ecof-soft); }
.ecof-btn-secondary { background: transparent; color: var(--ecof-accent); }
.ecof-btn[disabled] { opacity: .7; cursor: progress; }
.ecof-spinner { display: none; width: 1em; height: 1em; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: ecof-spin .7s linear infinite; }
.is-busy .ecof-spinner { display: inline-block; }
@keyframes ecof-spin { to { transform: rotate(360deg); } }

/* Success */
.ecof-success { padding: 26px 24px; border-radius: var(--ecof-radius); background: var(--ecof-soft); border-left: 4px solid var(--ecof-accent); outline: none; animation: ecof-in .35s ease; }
.ecof-success > :first-child { margin-top: 0; }
.ecof-success > :last-child { margin-bottom: 0; }
.ecof-closed { padding: 18px 20px; border-radius: var(--ecof-radius); background: color-mix(in srgb, var(--ecof-text) 6%, transparent); }

/* Popup */
.ecof-dialog { border: 0; padding: 0; border-radius: 16px; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.ecof-dialog::backdrop { background: rgba(15, 15, 25, .55); backdrop-filter: blur(3px); }
.ecof-dialog .ecof-wrap { padding: 36px 32px 32px; max-width: none; }
@media (max-width: 600px) { .ecof-dialog .ecof-wrap { padding: 44px 18px 22px; } }
.ecof-dialog-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.06); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; color: inherit; }
.ecof-dialog[open] { animation: ecof-in .25s ease; }
html.ecof-dialog-open { overflow: hidden; }

.ecof-wrap .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------- Payments */
.ecof-pay { margin-top: 22px; padding: 20px; border: 1.5px solid var(--ecof-border); border-radius: var(--ecof-radius); background: var(--ecof-field-bg); display: flex; flex-direction: column; gap: 14px; }
.ecof-pay.ecof-has-error { border-color: var(--ecof-error); }
.ecof-pay-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ecof-pay-head .ecof-label { margin: 0; }
.ecof-pay-amount { color: var(--ecof-muted); font-size: .92em; }
.ecof-pay-value { color: var(--ecof-accent); font-size: 1.35em; font-variant-numeric: tabular-nums; margin-left: 4px; }
.ecof-pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ecof-pay-method { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--ecof-border); border-radius: calc(var(--ecof-radius) * .8); cursor: pointer; font-weight: 600; background: var(--ecof-bg); transition: border-color .15s, box-shadow .15s, background .15s; }
.ecof-pay-method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ecof-pay-method:has(input:checked) { border-color: var(--ecof-accent); box-shadow: 0 0 0 3px var(--ecof-soft); background: var(--ecof-soft); }
.ecof-pay-method:has(input:focus-visible) { outline: 2px solid var(--ecof-accent); outline-offset: 2px; }
.ecof-pay-icon svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ecof-pay-mpesa .ecof-pay-icon { color: #3FB54A; }
.ecof-pay-paypal .ecof-pay-icon { color: #0070E0; }
.ecof-pay-single { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; }
.ecof-mpesa-phone .ecof-input { max-width: 320px; }
.ecof-pay-secure { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .8em; color: var(--ecof-muted); }
.ecof-pay-secure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex: 0 0 auto; }

.ecof-paybox { padding: 34px 24px; border-radius: var(--ecof-radius); background: var(--ecof-soft); text-align: center; outline: none; animation: ecof-in .3s ease; }
.ecof-paybox p { margin: 0 0 10px; }
.ecof-paybox-title { font-weight: 600; font-size: 1.08em; }
.ecof-paybox-amount { font-size: 1.6em; font-weight: 700; color: var(--ecof-accent); font-variant-numeric: tabular-nums; }
.ecof-paybox-sub { display: inline-flex; align-items: center; gap: 10px; color: var(--ecof-muted); font-size: .92em; }
.ecof-paybox-phone { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #3FB54A; color: #fff; margin-bottom: 14px; animation: ecof-pulse 1.6s ease-in-out infinite; }
.ecof-paybox-phone svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@keyframes ecof-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(63,181,74,.45); } 50% { box-shadow: 0 0 0 14px rgba(63,181,74,0); } }
@media (prefers-reduced-motion: reduce) { .ecof-paybox-phone { animation: none; } }
.ecof-paybox-retry { text-align: left; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.ecof-paybox-retry .ecof-paybox-title, .ecof-paybox-retry .ecof-paybox-amount { text-align: center; }
.ecof-paybox-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.ecof-spinner-dark { display: inline-block; border-color: color-mix(in srgb, var(--ecof-accent) 25%, transparent); border-top-color: var(--ecof-accent); }
.ecof-spinner-lg { display: inline-block; width: 30px; height: 30px; border-width: 3px; margin-bottom: 10px; }
.ecof-paybox .ecof-spinner { display: inline-block; }

/* ------------------------------------------------------------ CAPTCHA */
.ecof-captcha { margin-top: 20px; min-height: 0; }
.ecof-captcha:empty { display: none; }

/* ---------------------------------------------------- Save and resume */
.ecof-btn-link { border: 0; background: none; padding: 8px 4px; font: inherit; font-size: .92em; font-weight: 500; color: var(--ecof-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.ecof-btn-link:hover { text-decoration-thickness: 2px; }
.ecof-save-panel { margin-top: 16px; padding: 18px; border-radius: var(--ecof-radius); background: var(--ecof-soft); }
.ecof-save-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ecof-save-row .ecof-input { flex: 1 1 220px; }
.ecof-save-result p { margin: 10px 0 8px; }
.ecof-save-result:empty { display: none; }
.ecof-banner.is-info { background: var(--ecof-soft); color: var(--ecof-text); }
