/* Fair Value Auto — seller flow.
 * Navy is the action colour on light surfaces; gold only as a fill with navy/ink text
 * (gold text on white fails contrast). Check every new pairing against its surface.
 *
 * The site theme (Hello Elementor) styles every <button> with a pink border and pink
 * :hover/:focus fill, and Elementor's kit can add more. Every button state below is set
 * explicitly at .fva-flow .class:state strength so nothing from the theme shows through. */
.fva-flow {
	--fva-navy: #12305C; --fva-navy-deep: #0D2549; --fva-navy-mid: #1B3C74; --fva-navy-light: #2E5AA8;
	--fva-gold: #F4C025; --fva-gold-deep: #D9A317; --fva-gold-tint: #FDF6E0;
	--fva-ink: #0F1A33; --fva-muted: #5E6B85; --fva-border: #E2E5EB;
	--fva-soft: #F5F6F8; --fva-info: #EAF0FA; --fva-info-border: #CFDCF1;
	font-family: "Plus Jakarta Sans", Arial, sans-serif; color: var(--fva-ink); font-size: 16px; line-height: 1.5;
}
.fva-flow *, .fva-flow *::before, .fva-flow *::after { box-sizing: border-box; }
.fva-flow [hidden] { display: none !important; }
.fva-flow .fva-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fva-flow .fva-ico { width: 18px; height: 18px; flex: none; }

/* card shell */
.fva-shell { background: #fff; border: 1px solid var(--fva-border); border-radius: 24px; padding: 48px 56px; box-shadow: 0 1px 2px rgba(15, 26, 51, .04), 0 8px 24px rgba(15, 26, 51, .05); }
@media (max-width: 767px) { .fva-shell { padding: 24px 18px; border-radius: 18px; } }

/* step header */
.fva-head { margin: 0 0 40px; }
.fva-head-row { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--fva-muted); }
.fva-head-name { color: var(--fva-navy); }
.fva-bar { height: 8px; border-radius: 99px; background: var(--fva-soft); overflow: hidden; }
.fva-bar-fill { display: block; height: 100%; width: 20%; border-radius: 99px; background: var(--fva-gold); transition: width .35s ease; }

/* section label — identical site-wide: gold border, gold dot, sentence-case navy text */
.fva-pill { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 20px; margin: 0 0 20px;
	border: 1px solid var(--fva-gold); border-radius: 999px; background: var(--fva-gold-tint);
	color: var(--fva-navy); font-size: 15px; font-weight: 700; line-height: 1; }
.fva-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fva-gold); }

.fva-flow h1.fva-title, .fva-flow h2 { margin: 0 0 14px; font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 46px; font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--fva-ink); outline: none; }
.fva-flow h3 { margin: 0 0 8px; font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--fva-navy); }
.fva-flow .fva-sub { margin: 0 0 28px; color: var(--fva-muted); font-size: 18px; line-height: 1.5; }
.fva-flow .fva-fine { margin: 10px 0 0; color: var(--fva-muted); font-size: 13px; }
@media (max-width: 767px) { .fva-flow h1.fva-title, .fva-flow h2 { font-size: 32px; } .fva-flow .fva-sub { font-size: 16px; } }

/* fields */
.fva-row { display: flex; gap: 20px; flex-wrap: wrap; }
.fva-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
@media (max-width: 600px) { .fva-grid2 { grid-template-columns: 1fr; } }
.fva-flow .fva-field { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--fva-ink); min-width: 0; }
.fva-grow { flex: 1 1 260px; }
.fva-state { flex: 0 0 160px; }
.fva-year { flex: 0 0 120px; }
.fva-label-row { display: flex; flex-direction: column; gap: 4px; }
.fva-label-inline { display: inline; }
.fva-optional, .fva-count { font-weight: 500; color: var(--fva-muted); font-size: 13px; }
.fva-flow .fva-field input[type="text"], .fva-flow .fva-field input[type="email"], .fva-flow .fva-field input[type="tel"], .fva-flow .fva-field select, .fva-flow .fva-field textarea {
	width: 100%; height: 58px; margin: 0; padding: 0 20px; border: 1px solid var(--fva-border); border-radius: 12px; background: #fff;
	font: 500 18px "Plus Jakarta Sans", Arial, sans-serif; color: var(--fva-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.fva-flow .fva-field textarea { height: auto; padding: 14px 20px; font-size: 16px; resize: vertical; }
.fva-flow .fva-field input::placeholder, .fva-flow .fva-field textarea::placeholder { color: #9AA3B5; }
.fva-flow .fva-field input:focus, .fva-flow .fva-field select:focus, .fva-flow .fva-field textarea:focus, .fva-flow .fva-money input:focus {
	outline: none; border-color: var(--fva-navy); box-shadow: 0 0 0 3px rgba(18, 48, 92, .12); }
.fva-flow .fva-field.is-invalid input, .fva-flow .fva-field.is-invalid select { border-color: #B42318; }
.fva-suffix { position: relative; display: block; }
.fva-flow .fva-suffix input[type="text"] { padding-right: 76px; }
.fva-suffix span { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-weight: 500; font-size: 16px; color: var(--fva-muted); pointer-events: none; }
.fva-msg { display: block; font-size: 13px; font-weight: 600; color: #B42318; }
.fva-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* step 1 */
.fva-tabs { display: flex; padding: 5px; margin: 0 0 28px; background: var(--fva-soft); border-radius: 14px; }
.fva-looking { display: flex; align-items: center; margin: -4px 0 24px; min-height: 28px; }
.fva-spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--fva-info); border-top-color: var(--fva-navy); animation: fva-spin .8s linear infinite; }
@keyframes fva-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fva-spinner, .fva-flow .fva-btn.is-loading::after { animation-duration: 2.4s; } }
/* Busy button: keep its size, hide the label, show a spinner in the middle. */
.fva-flow .fva-btn.is-loading, .fva-flow .fva-btn.is-loading:hover, .fva-flow .fva-btn.is-loading:disabled { position: relative; color: transparent; cursor: wait; opacity: 1; }
.fva-flow .fva-btn.is-loading .fva-ico { visibility: hidden; }
.fva-flow .fva-btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: fva-spin .8s linear infinite; }
.fva-found-card { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 28px; padding: 24px 28px; border: 1px solid var(--fva-info-border); border-radius: 18px; background: var(--fva-info); }
.fva-found-card .fva-ico { width: 24px; height: 24px; margin-top: 2px; color: var(--fva-navy); }
.fva-found-card strong { display: block; margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--fva-navy); }
.fva-note { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; background: var(--fva-soft); color: var(--fva-ink); font-size: 15px; }

/* bottom navigation */
.fva-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--fva-border); }
.fva-nav .fva-btn:only-child { margin-left: auto; }
.fva-flow[data-step="price"] .fva-panel[data-step="price"] .fva-nav { margin-top: 28px; }

/* step 2 */
.fva-overall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 0 0 32px; }
.fva-questions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 28px; margin: 0 0 28px; }
@media (max-width: 767px) { .fva-overall, .fva-questions { grid-template-columns: 1fr; } }
.fva-q-label { display: block; margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.fva-choices { display: grid; gap: 10px; }
.fva-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fva-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fva-overall.is-invalid, .fva-question.is-invalid .fva-choices { border-radius: 16px; box-shadow: 0 0 0 2px rgba(180, 35, 24, .5); }
.fva-overall .fva-msg { grid-column: 1 / -1; }

/* step 2: documents, shown inline under Title status and Outstanding finance */
.fva-questions { grid-auto-flow: row dense; }
.fva-docs { grid-column: 1 / -1; padding: 22px 24px; border: 1px solid var(--fva-info-border); border-radius: 16px; background: #FAFBFD; }
.fva-docs[hidden] { display: none; }
.fva-flow .fva-docs-sub { margin: -4px 0 16px; color: var(--fva-muted); font-size: 14px; line-height: 1.5; }
.fva-uploads { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fva-uploads--1 { grid-template-columns: minmax(0, 1fr); margin-bottom: 22px; }
.fva-docs .fva-grid2 { margin-top: 0; }
.fva-docs .fva-field--ssn { margin-bottom: 0; }
.fva-field--ssn { max-width: 260px; }
.fva-upload { position: relative; min-width: 0; }
.fva-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 128px; padding: 18px 14px; border: 1.5px dashed #B9C6DD; border-radius: 14px; background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.fva-drop:hover, .fva-drop:focus-within { border-color: var(--fva-navy); background: var(--fva-info); }
.fva-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fva-drop:focus-within { box-shadow: 0 0 0 3px rgba(18, 48, 92, .15); }
.fva-drop-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 50%; background: var(--fva-info); color: var(--fva-navy); }
.fva-drop-ico .fva-ico { width: 20px; height: 20px; }
.fva-drop-label { font-size: 15px; font-weight: 700; color: var(--fva-navy); }
.fva-drop-hint { font-size: 13px; color: var(--fva-muted); }
.fva-drop[hidden], .fva-file[hidden] { display: none; }
.fva-upload.is-uploading .fva-drop { pointer-events: none; border-style: solid; }
.fva-upload.is-uploading .fva-drop-ico { color: transparent; background: none; border: 3px solid var(--fva-info); border-top-color: var(--fva-navy); animation: fva-spin .8s linear infinite; }
.fva-upload.is-uploading .fva-drop-hint { color: var(--fva-navy); font-weight: 700; font-variant-numeric: tabular-nums; }
.fva-drop-bar { display: none; width: 72%; max-width: 180px; height: 6px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: var(--fva-info); }
.fva-drop-bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--fva-gold); transition: width .2s ease; }
.fva-upload.is-uploading .fva-drop-bar { display: block; }
.fva-file { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; border: 1px solid var(--fva-navy); border-radius: 14px; background: var(--fva-info); }
.fva-thumb { flex: none; display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: 10px; background: #fff; color: var(--fva-navy); font-size: 12px; font-weight: 800; }
.fva-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fva-file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.fva-file-meta strong { color: var(--fva-navy); }
.fva-file-meta strong::after { content: " ✓"; color: #1E7B4C; }
.fva-file-name { overflow: hidden; color: var(--fva-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.fva-upload.is-invalid .fva-drop { border-color: #B42318; }
.fva-flow .fva-docs-lock { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--fva-muted); font-size: 13px; }
.fva-docs-lock .fva-ico { flex: none; width: 16px; height: 16px; color: var(--fva-navy); }
.fva-flow .fva-field input[type="password"] { width: 100%; height: 58px; margin: 0; padding: 0 20px; border: 1px solid var(--fva-border); border-radius: 12px; background: #fff; color: var(--fva-ink); font-family: inherit; font-size: 18px; letter-spacing: .3em; box-shadow: none; }
.fva-flow .fva-field input[type="password"]:focus { outline: none; border-color: var(--fva-navy); box-shadow: 0 0 0 3px rgba(18, 48, 92, .15); }
.fva-flow .fva-field.is-invalid input[type="password"] { border-color: #B42318; }
@media (max-width: 600px) { .fva-docs { padding: 18px 16px; } .fva-drop { min-height: 112px; } .fva-field--ssn { max-width: none; } }

/* step 3 */
.fva-flow[data-step="price"] .fva-pill { margin-bottom: 24px; }
.fva-trade { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border: 1px solid var(--fva-border); border-left: 5px solid var(--fva-gold); border-radius: 16px; background: #fff; }
.fva-trade-label { display: block; font-size: 15px; font-weight: 700; color: var(--fva-navy); }
.fva-trade-value { display: block; margin: 2px 0; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--fva-navy); }
.fva-trade-sub { display: block; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--fva-muted); }
.fva-trade .fva-btn { flex-shrink: 0; }
.fva-trade + .fva-fine { margin: 10px 4px 24px; }
@media (max-width: 600px) { .fva-trade { flex-direction: column; align-items: stretch; padding: 20px; } .fva-trade .fva-btn { width: 100%; } }
.fva-card { padding: 28px; margin: 0 0 20px; border: 1px solid var(--fva-border); border-radius: 18px; background: #fff; }
.fva-values { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 12px; margin: 18px 0 16px; text-align: center; }
.fva-values span { display: block; font-size: 15px; color: var(--fva-muted); }
.fva-values strong { display: inline-block; font-size: 24px; font-weight: 700; color: var(--fva-muted); }
.fva-values .fva-headline span { color: var(--fva-ink); }
.fva-values .fva-headline strong { font-size: 34px; font-weight: 800; color: var(--fva-navy); border-bottom: 3px solid var(--fva-gold); padding-bottom: 2px; }
@media (max-width: 600px) { .fva-values { grid-template-columns: 1fr; } .fva-values .fva-headline { order: -1; } }

.fva-flow .fva-card--price h3.fva-price-q { margin: 0 0 6px; font-size: 38px; line-height: 1.1; letter-spacing: -0.03em; color: var(--fva-ink); }
@media (max-width: 767px) { .fva-flow .fva-card--price h3.fva-price-q { font-size: 28px; } }
.fva-card--price .fva-sub { margin-bottom: 20px; }
.fva-price-readout { margin: 0 0 14px; font-size: 48px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--fva-navy); }
.fva-money { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 18px; margin: 0 0 16px; border: 1px solid var(--fva-border); border-radius: 12px; }
.fva-money span { font-weight: 700; color: var(--fva-muted); }
.fva-flow .fva-money input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; box-shadow: none !important; background: transparent; font: 700 18px "Plus Jakarta Sans", Arial, sans-serif; color: var(--fva-ink); outline: none; }
.fva-flow input[type="range"] { display: block; width: 100%; height: 6px; margin: 14px 0 10px; padding: 0; border: 0; border-radius: 99px; appearance: none; -webkit-appearance: none;
	background: linear-gradient(to right, var(--fva-navy) var(--fva-fill, 0%), #D5D9E1 var(--fva-fill, 0%)); }
.fva-flow input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fva-gold); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15, 26, 51, .3); cursor: pointer; }
.fva-flow input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--fva-gold); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(15, 26, 51, .3); cursor: pointer; }
.fva-range-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--fva-muted); }

.fva-comps { margin: 22px 0 0; }
.fva-chart { position: relative; height: 64px; margin: 0 0 30px; padding: 0 2px; border-radius: 12px; background: var(--fva-soft); }
.fva-bars { position: absolute; inset: 8px 0 0; }
.fva-bar-col { position: absolute; bottom: 0; margin-left: 1.5px; border-radius: 4px 4px 0 0; background: #C9CED8; }
.fva-mark { position: absolute; top: 0; bottom: 0; width: 0; }
.fva-mark--auction { border-left: 2px dashed var(--fva-gold-deep); }
.fva-mark--auction em { position: absolute; top: 100%; left: 0; transform: translateX(-50%); margin-top: 6px; white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 600; color: var(--fva-ink); }
.fva-mark--auction em.is-start { transform: translateX(-4px); }
.fva-mark--auction em.is-end { transform: translateX(calc(-100% + 4px)); }
.fva-mark--you { border-left: 2px solid var(--fva-navy); }
.fva-mark--you::before { content: ""; position: absolute; top: -5px; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--fva-navy); }
.fva-flow .fva-comps-line { margin: 0; font-size: 17px; color: var(--fva-ink); }
.fva-comps-line strong { font-weight: 700; }
.fva-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.fva-dot.is-green { background: #3CB371; } .fva-dot.is-amber { background: #E0A100; } .fva-dot.is-red { background: #D14343; }
.fva-unpriced-note { margin: 0 0 16px; font-size: 15px; color: var(--fva-muted); }

.fva-scenarios { margin: 22px 0 0; border: 1px solid var(--fva-border); border-radius: 12px; overflow: hidden; }
.fva-scn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: 15px; }
.fva-scn + .fva-scn { border-top: 1px solid var(--fva-border); }
.fva-scn > span:first-child { color: var(--fva-muted); }
.fva-scn strong { font-weight: 700; color: var(--fva-ink); }
.fva-scn em { margin-left: 16px; font-style: normal; color: var(--fva-muted); }
.fva-why { margin-top: 16px !important; }
.fva-price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.fva-draft-saved { font-size: 14px; color: var(--fva-muted); }

/* step 4 */
.fva-rcard { padding: 26px 28px; margin: 0 0 18px; border: 1px solid var(--fva-border); border-radius: 18px; background: #fff; }
.fva-rhead { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; }
.fva-rtitle { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: #8A6A0B; }   /* dark gold: #D9A317 on white is ~2.2:1, this is ~5:1 */
.fva-rname { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--fva-ink); }
.fva-rrow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; font-size: 14px; }
.fva-rrow + .fva-rrow, .fva-rname + .fva-rrow { border-top: 1px solid var(--fva-border); }
.fva-rrow > span:first-child { color: var(--fva-muted); }
.fva-rrow > span:last-child { text-align: right; font-weight: 600; color: var(--fva-ink); }
.fva-rrow code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: none; padding: 0; color: var(--fva-ink); }
.fva-rbig { font-size: 20px; font-weight: 800; color: var(--fva-navy); }
.fva-flow .fva-rnote { margin: 14px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--fva-soft); font-size: 14px; color: var(--fva-muted); }
.fva-rcard .fva-comps-line { margin: 12px 0 0; font-size: 15px; }
.fva-steps { list-style: none; margin: 0; padding: 0; }
.fva-steps li { display: flex; gap: 14px; margin: 0 0 16px; }
.fva-steps li:last-child { margin-bottom: 0; }
.fva-num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fva-gold); color: var(--fva-ink); font-size: 13px; font-weight: 800; }
.fva-steps strong { display: block; font-size: 15px; font-weight: 700; color: var(--fva-ink); }
.fva-steps li span:not(.fva-num) { font-size: 14px; color: var(--fva-muted); }
.fva-np { color: var(--fva-muted); font-weight: 500; font-style: italic; }

/* step 5 */
.fva-consent { display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 0; padding: 20px 22px; border: 1px solid var(--fva-border); border-radius: 14px; font-size: 14px; line-height: 1.55; color: var(--fva-muted); cursor: pointer; }
.fva-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fva-navy); }
.fva-consent a { color: var(--fva-navy); font-weight: 700; text-decoration: underline; }
.fva-error { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #FDECEA; color: #8A1C12; font-size: 14px; font-weight: 600; }
.fva-ref { color: var(--fva-navy); font-size: 20px; letter-spacing: .04em; }

/* draft banner */
.fva-draft-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: -16px 0 28px; padding: 14px 18px; border-radius: 12px; background: var(--fva-gold-tint); border: 1px solid var(--fva-gold); font-size: 15px; color: var(--fva-ink); }

/* ------------------------------------------------------------------
   Buttons — every state explicit (see note at the top).
   ------------------------------------------------------------------ */
.fva-flow .fva-tab, .fva-flow .fva-btn, .fva-flow .fva-link, .fva-flow .fva-choice, .fva-flow .fva-cond-card, .fva-flow .fva-back, .fva-flow .fva-edit {
	appearance: none; -webkit-appearance: none; margin: 0; width: auto;
	font-family: "Plus Jakarta Sans", Arial, sans-serif; line-height: 1.2; letter-spacing: 0;
	text-transform: none; text-decoration: none; text-shadow: none; outline: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
/* Elementor's kit sets white-space: nowrap on buttons; answers and cards must wrap, or long
   labels widen the grid past the card (and the page, on phones). */
.fva-flow .fva-choice, .fva-flow .fva-cond-card, .fva-flow .fva-link { white-space: normal; overflow-wrap: break-word; min-width: 0; }
/* Three answers on a phone: tighter type so whole words like "Noticeable" fit without breaking. */
@media (max-width: 480px) {
	.fva-flow .fva-choices--3 .fva-choice, .fva-flow .fva-choices--3 .fva-choice:hover, .fva-flow .fva-choices--3 .fva-choice:focus, .fva-flow .fva-choices--3 .fva-choice:active { padding: 6px 4px; font-size: 13.5px; }
	.fva-choices--3 { gap: 8px; }
}
.fva-flow .fva-tab:focus-visible, .fva-flow .fva-btn:focus-visible, .fva-flow .fva-link:focus-visible, .fva-flow .fva-choice:focus-visible,
.fva-flow .fva-cond-card:focus-visible, .fva-flow .fva-back:focus-visible, .fva-flow .fva-edit:focus-visible {
	outline: 3px solid rgba(46, 90, 168, .45); outline-offset: 2px;
}

/* plate / VIN tabs */
.fva-flow .fva-tab, .fva-flow .fva-tab:hover, .fva-flow .fva-tab:focus, .fva-flow .fva-tab:active {
	flex: 1; height: 54px; padding: 0 12px; border: 0; border-radius: 11px; box-shadow: none;
	background: transparent; color: var(--fva-navy); font-size: 17px; font-weight: 700;
}
.fva-flow .fva-tab:hover { background: rgba(255, 255, 255, .6); }
.fva-flow .fva-tab.is-active, .fva-flow .fva-tab.is-active:hover, .fva-flow .fva-tab.is-active:focus, .fva-flow .fva-tab.is-active:active {
	background: #fff; color: var(--fva-navy); box-shadow: 0 1px 3px rgba(15, 26, 51, .1), 0 1px 2px rgba(15, 26, 51, .06);
}

/* primary — navy on light */
.fva-flow .fva-btn, .fva-flow .fva-btn:focus {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 30px; border: 2px solid var(--fva-navy); border-radius: 12px; box-shadow: none;
	background: var(--fva-navy); color: #fff; font-size: 17px; font-weight: 700;
}
.fva-flow .fva-btn:hover, .fva-flow .fva-btn:active { background: var(--fva-navy-deep); border-color: var(--fva-navy-deep); color: #fff; }
.fva-flow .fva-btn:disabled, .fva-flow .fva-btn:disabled:hover { opacity: .6; cursor: wait; background: var(--fva-navy); border-color: var(--fva-navy); }

/* secondary */
.fva-flow .fva-btn--ghost, .fva-flow .fva-btn--ghost:focus { background: #fff; color: var(--fva-navy); border-color: var(--fva-navy); }
.fva-flow .fva-btn--ghost:hover, .fva-flow .fva-btn--ghost:active { background: var(--fva-info); color: var(--fva-navy); border-color: var(--fva-navy); }

/* gold fill with ink text — the one gold button, Trade now */
.fva-flow .fva-btn--gold, .fva-flow .fva-btn--gold:focus { min-height: 50px; padding: 0 24px; background: var(--fva-gold); border-color: var(--fva-gold); color: var(--fva-ink); font-size: 16px; }
.fva-flow .fva-btn--gold:hover, .fva-flow .fva-btn--gold:active { background: var(--fva-gold-deep); border-color: var(--fva-gold-deep); color: var(--fva-ink); }

/* back */
.fva-flow .fva-back, .fva-flow .fva-back:hover, .fva-flow .fva-back:focus, .fva-flow .fva-back:active {
	display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px; box-shadow: none;
	background: transparent; color: var(--fva-navy); font-size: 17px; font-weight: 700;
}
.fva-flow .fva-back:hover { background: var(--fva-soft); }

/* text links (Not your car?, draft) */
.fva-flow .fva-link, .fva-flow .fva-link:hover, .fva-flow .fva-link:focus, .fva-flow .fva-link:active {
	display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent;
	color: var(--fva-muted); font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}
.fva-flow .fva-link:hover { color: var(--fva-navy); }
.fva-flow .fva-draft-banner .fva-link { color: var(--fva-navy); font-size: 15px; font-weight: 700; }

/* review Edit */
.fva-flow .fva-edit, .fva-flow .fva-edit:hover, .fva-flow .fva-edit:focus, .fva-flow .fva-edit:active {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; border: 0; border-radius: 8px; box-shadow: none;
	background: transparent; color: var(--fva-navy); font-size: 14px; font-weight: 700;
}
.fva-flow .fva-edit .fva-ico { width: 15px; height: 15px; }
.fva-flow .fva-edit:hover { background: var(--fva-soft); }

/* overall condition cards */
.fva-flow .fva-cond-card, .fva-flow .fva-cond-card:focus, .fva-flow .fva-cond-card:active {
	display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px 24px; text-align: left;
	border: 1px solid var(--fva-border); border-radius: 16px; box-shadow: none; background: #fff; color: var(--fva-ink);
}
.fva-flow .fva-cond-card:hover { background: #fff; border-color: var(--fva-navy-light); color: var(--fva-ink); }
.fva-flow .fva-cond-card strong { font-size: 20px; font-weight: 700; color: var(--fva-navy); }
.fva-flow .fva-cond-card span { font-size: 15px; font-weight: 500; color: var(--fva-muted); }
.fva-flow .fva-cond-card.is-selected, .fva-flow .fva-cond-card.is-selected:hover, .fva-flow .fva-cond-card.is-selected:focus, .fva-flow .fva-cond-card.is-selected:active {
	background: var(--fva-info); border-color: var(--fva-navy-light); box-shadow: inset 0 0 0 1px var(--fva-navy-light);
}

/* compact answers — every answer looks the same: disclosures, not warnings */
.fva-flow .fva-choice, .fva-flow .fva-choice:focus, .fva-flow .fva-choice:active {
	min-height: 52px; padding: 8px 10px; border: 1px solid var(--fva-border); border-radius: 10px; box-shadow: none;
	background: #fff; color: var(--fva-navy); font-size: 15px; font-weight: 700; text-align: center;
}
.fva-flow .fva-choice:hover { background: #fff; color: var(--fva-navy); border-color: var(--fva-navy-light); }
.fva-flow .fva-choice.is-selected, .fva-flow .fva-choice.is-selected:hover, .fva-flow .fva-choice.is-selected:focus, .fva-flow .fva-choice.is-selected:active {
	border-color: var(--fva-navy-light); background: var(--fva-info); color: var(--fva-navy); box-shadow: inset 0 0 0 1px var(--fva-navy-light);
}

/* ---------------- step 4: photos and documents ---------------- */
.fva-flow { --car: #D5DCE8; --car-line: #9AA8C2; --glass: #8FA3C6; --tyre: #0F1A33; --cone: #F4C025; }
html.fva-noscroll, html.fva-noscroll body { overflow: hidden; }
.fva-walkstart { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 22px; margin: 0 0 12px; border: 1px solid var(--fva-info-border); border-radius: 16px; background: #FAFBFD; }
.fva-walkstart-txt { display: grid; gap: 4px; min-width: 0; }
.fva-walkstart-txt strong { font-size: 17px; color: var(--fva-navy); }
.fva-walkstart-txt span { font-size: 14px; color: var(--fva-muted); }
/* Wraps by available width, not screen width: beside the site's sidebar the column is narrow. */
.fva-walkstart { display: flex; flex-wrap: wrap; }
.fva-walkstart .fva-anim--lg { flex: none; }
.fva-walkstart-txt { flex: 10 1 160px; }
.fva-flow .fva-walkstart .fva-btn { flex: 1 0 auto; }
@media (max-width: 600px) { .fva-walkstart { padding: 16px; gap: 14px; } }
.fva-flow .fva-photo-count { margin: 0 0 18px; font-size: 14px; font-weight: 700; color: var(--fva-navy); }
.fva-flow h3.fva-group { margin: 26px 0 12px; font-size: 18px; color: var(--fva-ink); }
.fva-flow h3.fva-group .fva-optional { font-size: 13px; font-weight: 500; }
.fva-pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.fva-pcard { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px 14px; align-content: start; padding: 16px; border: 1px solid var(--fva-border); border-radius: 16px; background: #fff; min-width: 0; }
.fva-pcard.is-done { border-color: #9FD3B5; }
.fva-pcard.is-invalid { border-color: #B42318; box-shadow: 0 0 0 1px rgba(180, 35, 24, .4); }
.fva-pcard > .fva-msg { grid-column: 1 / -1; }
.fva-anim { width: 88px; height: 88px; border-radius: 14px; background: var(--fva-info); display: grid; place-items: center; overflow: hidden; }
.fva-anim svg { width: 100%; height: 100%; display: block; }
.fva-anim--lg { width: 112px; height: 112px; }
@media (max-width: 600px) { .fva-anim--lg { width: 96px; height: 96px; } }
.fva-anim--flip { perspective: 300px; }
.fva-pinfo { display: grid; gap: 4px; align-content: start; min-width: 0; }
.fva-ptitle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 16px; font-weight: 800; color: var(--fva-ink); }
.fva-flow .fva-pinfo p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--fva-muted); }
.fva-chip { padding: 2px 8px; border: 1px solid var(--fva-border); border-radius: 999px; background: var(--fva-soft); color: var(--fva-muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.fva-chip.is-req { border-color: transparent; background: var(--fva-info); color: var(--fva-navy); }
.fva-chip.is-ok { border-color: transparent; background: #E4F4EA; color: #1E7B4C; }
.fva-flow .fva-ex-link { justify-self: start; font-size: 13px; }
.fva-ex-img { grid-column: 1 / -1; display: block; max-width: 100%; border-radius: 12px; }
.fva-slots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.fva-slot { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; padding: 6px; border: 1.5px dashed #B9C6DD; border-radius: 12px; background: #FAFBFD; color: var(--fva-navy); font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.fva-slot:hover, .fva-slot:focus-within { border-color: var(--fva-navy); background: var(--fva-info); }
.fva-slot:focus-within { box-shadow: 0 0 0 3px rgba(18, 48, 92, .15); }
.fva-slot input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fva-slot-plus { display: block; margin-bottom: 2px; font-size: 22px; line-height: 1; }
.fva-slot.is-filled { padding: 0; border: 2px solid #3FA06A; cursor: default; }
.fva-slot.is-filled img { width: 100%; height: 100%; object-fit: cover; }
.fva-slot-file { color: var(--fva-navy); font-weight: 800; }
.fva-slot.is-filled .fva-slot-lab { position: absolute; left: 6px; right: 30px; bottom: 5px; color: #fff; font-size: 11px; text-align: left; text-shadow: 0 1px 3px rgba(0, 0, 0, .75); }
.fva-slot.is-filled:not(:has(img)) .fva-slot-lab { color: var(--fva-muted); text-shadow: none; }
.fva-slot-tick { position: absolute; top: 6px; left: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1E7B4C; color: #fff; font-size: 12px; }
.fva-flow .fva-slot-rm, .fva-flow .fva-slot-rm:hover, .fva-flow .fva-slot-rm:focus { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 26px; min-height: 0; height: 26px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(15, 26, 51, .78); color: #fff; font-size: 16px; line-height: 1; box-shadow: none; cursor: pointer; }
.fva-slot.is-up { align-content: center; gap: 6px; border-style: solid; cursor: default; }
.fva-slot-pct { font-variant-numeric: tabular-nums; }
.fva-slot-bar { width: 80%; height: 5px; overflow: hidden; border-radius: 99px; background: var(--fva-info); }
.fva-slot-bar i { display: block; height: 100%; border-radius: 99px; background: var(--fva-gold); transition: width .2s ease; }
.fva-slot.is-up .fva-slot-lab { color: var(--fva-muted); font-size: 11px; }
.fva-photo-actions { margin: 24px 0 0; }

/* walk-around overlay */
.fva-walk { position: fixed; inset: 0; z-index: 99999; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; background: #fff; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.fva-walk[hidden] { display: none; }
.fva-walk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--fva-border); }
.fva-walk-count { font-size: 14px; font-weight: 800; color: var(--fva-muted); font-variant-numeric: tabular-nums; }
.fva-walk-bar { height: 4px; background: var(--fva-soft); }
.fva-walk-bar i { display: block; height: 100%; background: var(--fva-gold); transition: width .35s ease; }
.fva-walk-body { display: grid; gap: 12px; align-content: start; width: 100%; max-width: 560px; margin: 0 auto; padding: 20px 18px; overflow: auto; text-align: center; }
.fva-flow .fva-walk-body h2 { margin: 6px 0 0; font-size: 28px; }
.fva-flow .fva-walk-body .fva-sub { margin: 0; font-size: 16px; }
.fva-walk-anim { width: min(300px, 70vw); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 24px; background: var(--fva-info); }
.fva-walk-anim svg { display: block; width: 100%; height: 100%; }
.fva-walk-shot { display: block; width: min(300px, 70vw); margin: 0 auto; border-radius: 16px; }
.fva-flow .fva-walk-up { margin: 0; color: var(--fva-navy); font-weight: 700; }
.fva-walk-done { display: grid; place-items: center; width: 84px; height: 84px; margin: 24px auto 0; border-radius: 50%; background: #E4F4EA; color: #1E7B4C; font-size: 40px; font-weight: 800; }
.fva-walk-actions { display: grid; gap: 10px; width: 100%; max-width: 560px; margin: 0 auto; padding: 12px 18px 16px; }
.fva-walk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fva-flow .fva-walk-actions .fva-btn { width: 100%; justify-content: center; }
.fva-flow .fva-walk-take { position: relative; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fva-walk-take input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* animated guides (shapes come from fva-guides.js) */
.fva-flow .svg-car-body { fill: var(--car); stroke: var(--car-line); stroke-width: 2; }
.fva-flow .svg-glass { fill: var(--glass); }
.fva-flow .svg-tyre { fill: var(--tyre); }
.fva-flow .svg-ring { fill: none; stroke: var(--car-line); stroke-width: 1.5; stroke-dasharray: 4 6; }
.fva-flow .svg-cone { fill: var(--cone); opacity: .28; }
.fva-flow .svg-phone { fill: var(--fva-navy); }
.fva-flow .svg-phone-lens { fill: var(--fva-gold); }
.fva-flow .svg-spot { fill: var(--fva-gold); }
.fva-flow .svg-bracket { fill: none; stroke: var(--fva-gold); stroke-width: 3.5; stroke-linecap: round; opacity: 0; }
.fva-flow .svg-ink { fill: var(--fva-ink); }
.fva-flow .svg-muted { fill: var(--fva-muted); }
.fva-flow .svg-line { stroke: var(--car-line); stroke-width: 2; fill: none; }
.fva-flow .svg-paper { fill: #fff; stroke: var(--car-line); stroke-width: 2; }
.fva-flow .svg-gold { fill: var(--fva-gold); }
.fva-flow .svg-gold-stroke { stroke: var(--fva-gold); stroke-width: 3; fill: none; }
.fva-flow .spot-pulse { transform-box: fill-box; transform-origin: center; animation: fva-pulse 1.6s ease-out infinite; }
@keyframes fva-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.fva-flow .a-door { transform-box: fill-box; transform-origin: 0% 50%; animation: fva-door 3.2s ease-in-out infinite; }
@keyframes fva-door { 0%, 15% { transform: rotate(0); } 45%, 85% { transform: rotate(-58deg); } 100% { transform: rotate(0); } }
.fva-flow .a-slide-in { animation: fva-slidein 3.2s ease-in-out infinite; }
@keyframes fva-slidein { 0%, 35% { transform: translateX(46px); opacity: 0; } 55%, 85% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
.fva-flow .a-flash { animation: fva-flash 3.2s ease-in-out infinite; }
@keyframes fva-flash { 0%, 58% { opacity: 0; } 62% { opacity: 1; } 78% { opacity: 1; } 90%, 100% { opacity: 0; } }
.fva-flow .a-needle { transform-box: view-box; transform-origin: 100px 112px; animation: fva-needle 3.2s ease-in-out infinite; }
@keyframes fva-needle { 0% { transform: rotate(-80deg); } 40% { transform: rotate(18deg); } 55%, 100% { transform: rotate(-62deg); } }
.fva-flow .a-glow { animation: fva-glow 3.2s ease-in-out infinite; }
@keyframes fva-glow { 0%, 30% { opacity: .15; } 45%, 100% { opacity: 1; } }
.fva-flow .a-spin { transform-box: fill-box; transform-origin: center; animation: fva-spin 5s linear infinite; }
@keyframes fva-spin { to { transform: rotate(360deg); } }
.fva-flow .a-mag { animation: fva-mag 3.6s ease-in-out infinite; }
@keyframes fva-mag { 0%, 10% { transform: translate(-30px, 34px); } 45%, 85% { transform: translate(0, 0); } 100% { transform: translate(-30px, 34px); } }
.fva-flow .a-mag-text { animation: fva-magtext 3.6s ease-in-out infinite; }
@keyframes fva-magtext { 0%, 40% { opacity: 0; } 50%, 85% { opacity: 1; } 100% { opacity: 0; } }
.fva-flow .a-scan { animation: fva-scan 2.6s ease-in-out infinite alternate; }
@keyframes fva-scan { from { transform: translateY(-34px); } to { transform: translateY(34px); } }
.fva-flow .a-hood { transform-box: fill-box; transform-origin: 100% 100%; animation: fva-hood 3.4s ease-in-out infinite; }
@keyframes fva-hood { 0%, 12% { transform: rotate(0); } 42%, 85% { transform: rotate(-34deg); } 100% { transform: rotate(0); } }
.fva-flow .a-hatch { transform-box: fill-box; transform-origin: 50% 0%; animation: fva-hatch 3.4s ease-in-out infinite; }
@keyframes fva-hatch { 0%, 12% { transform: scaleY(1); } 42%, 85% { transform: scaleY(-.35); } 100% { transform: scaleY(1); } }
.fva-flow .a-rise { animation: fva-rise 3.2s ease-in-out infinite; }
@keyframes fva-rise { 0%, 10% { transform: translateY(48px) scale(.8); } 45%, 85% { transform: translateY(0) scale(1); } 100% { transform: translateY(48px) scale(.8); } }
.fva-flow .a-bob { animation: fva-bob 2.4s ease-in-out infinite; }
@keyframes fva-bob { 0%, 100% { transform: translateY(4px) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(6deg); } }
.fva-flow .a-sweep { animation: fva-sweep 3.6s ease-in-out infinite; }
@keyframes fva-sweep { 0% { transform: translate(-46px, 10px); } 50% { transform: translate(14px, -4px); } 70% { transform: translate(14px, -4px); } 100% { transform: translate(-46px, 10px); } }
.fva-flow .a-shuffle1 { animation: fva-sh1 3s ease-in-out infinite; } .a-shuffle2 { animation: fva-sh2 3s ease-in-out infinite; }
@keyframes fva-sh1 { 0%, 100% { transform: rotate(-8deg) translateX(-6px); } 50% { transform: rotate(-2deg) translateX(-14px); } }
@keyframes fva-sh2 { 0%, 100% { transform: rotate(6deg) translateX(6px); } 50% { transform: rotate(10deg) translateX(14px); } }
.fva-flow .a-letter-hl { animation: fva-hl 3.2s ease-in-out infinite; }
@keyframes fva-hl { 0%, 30% { opacity: 0; } 45%, 85% { opacity: .55; } 100% { opacity: 0; } }

/* document flip (HTML, 3D) */
.fva-flow .flip { width: 88px; height: 88px; border-radius: 14px; background: var(--fva-info); display: grid; place-items: center; perspective: 300px; }
.fva-flow .flip .cardx { position: relative; width: 66px; height: 42px; transform-style: preserve-3d; animation: fva-flipy 4.4s ease-in-out infinite; }
.fva-flow .flip .face { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; background: #fff; border: 2px solid var(--car-line); display: grid; padding: 5px; }
.fva-flow .flip .back { transform: rotateY(180deg); }
.fva-flow .flip.sheet .cardx { width: 50px; height: 64px; }
@keyframes fva-flipy { 0%, 35% { transform: rotateY(0); } 50%, 85% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.fva-flow .face .ph { width: 16px; height: 20px; border-radius: 3px; background: var(--glass); }
.fva-flow .face .ln { height: 3px; border-radius: 2px; background: var(--car-line); }
.fva-flow .face .bc { height: 14px; background: repeating-linear-gradient(90deg, var(--fva-ink) 0 2px, transparent 2px 4px); border-radius: 2px; }
.fva-flow .face .seal { width: 12px; height: 12px; border-radius: 50%; background: var(--fva-gold); }

@media (prefers-reduced-motion: reduce) { .fva-flow .fva-anim *, .fva-flow .fva-walk-anim * { animation: none !important; } .fva-flow .svg-bracket { opacity: 1; } }
.fva-panel[data-step="photos"] .fva-docs-lock { margin: 0 0 14px; align-items: flex-start; }
.fva-panel[data-step="photos"] .fva-docs-lock .fva-ico { margin-top: 2px; }

/* Phones: one big thumb-reach action per step, Back underneath. */
@media (max-width: 600px) {
	.fva-nav { flex-direction: column-reverse; align-items: stretch; gap: 8px; margin-top: 28px; padding-top: 24px; }
	.fva-flow .fva-nav .fva-btn, .fva-flow .fva-nav .fva-btn:hover, .fva-flow .fva-nav .fva-btn:focus { width: 100%; min-height: 54px; justify-content: center; }
	.fva-nav .fva-btn:only-child { margin-left: 0; }
	.fva-flow .fva-nav .fva-back { align-self: center; }
	.fva-price-actions { flex-direction: column; align-items: stretch; }
	.fva-flow .fva-price-actions .fva-btn { width: 100%; justify-content: center; }
	.fva-shell { padding: 22px 16px; }
}
