/* Viktor Sage – Interest Form */
.vs-if {
	--ink: #1A1A1A;
	--off: #F6F4EF;
	--sage: #6F7F66;
	--sage-light: #A9BB9F;
	--sage-wash: #E9EDE5;
	--line: #E2DFD7;
	--muted: #5f5d57;
	--err: #A2412E;
	font-family: 'Barlow', system-ui, -apple-system, sans-serif;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.55;
	max-width: 780px;
	margin: 0 auto;
	text-align: left;
}
.vs-if *, .vs-if *::before, .vs-if *::after { box-sizing: border-box; }
.vs-if [hidden] { display: none !important; }
.vs-if p { margin: 0 0 1em; }
.vs-if a { color: var(--sage); text-underline-offset: 3px; }
.vs-if a:hover { color: var(--ink); }
.vs-if-sr, .vs-if-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vs-if-hp { left: -9999px; }

/* Card */
.vs-if-form, .vs-if-panel, .vs-if-status {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 40px 44px 36px;
	box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 40px -28px rgba(26,26,26,.25);
}
.vs-if-panel:focus { outline: none; }

.vs-if-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--sage); margin: 0 0 10px !important; }
.vs-if-h {
	font-weight: 800; font-style: italic; text-transform: uppercase;
	font-size: clamp(26px, 3.6vw, 36px); line-height: 1.05; letter-spacing: -.01em;
	margin: 0 0 22px; padding: 0; color: var(--ink);
}
.vs-if-step > legend.vs-if-h { float: left; width: 100%; margin-bottom: 28px; }
.vs-if-step > legend + * { clear: both; }
.vs-if-small { font-size: 14px; color: var(--muted); }
.vs-if-opt { font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-left: 6px; }

/* Progress */
.vs-if-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 34px; }
.vs-if-progress-step { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #8d8a82; }
.vs-if-progress-step::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.vs-if-progress-step span { display: none; }
.vs-if-progress-step em { font-style: normal; font-weight: 600; letter-spacing: .04em; }
.vs-if-progress-step.is-done::before { background: var(--sage-light); }
.vs-if-progress-step.is-current::before { background: var(--ink); }
.vs-if-progress-step.is-current { color: var(--ink); }

/* Fields */
.vs-if-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.vs-if-field { margin: 0 0 34px; position: relative; }
.vs-if-q { display: block; font-weight: 700; font-size: 18px; line-height: 1.35; margin: 0 0 6px !important; color: var(--ink); }
.vs-if-q-sub { margin-top: 22px !important; font-size: 16px; }
.vs-if-num {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 24px; height: 24px; margin-right: 10px; padding: 0 6px;
	border-radius: 3px; background: var(--off); color: var(--sage);
	font-size: 13px; font-weight: 700; vertical-align: 2px;
}
.vs-if-help { font-size: 15px; color: var(--muted); margin: 0 0 12px !important; max-width: 62ch; }
.vs-if-q + input, .vs-if-q + textarea, .vs-if-q + .vs-if-select, .vs-if-q + .vs-if-choices { margin-top: 8px; }

.vs-if input[type=text], .vs-if input[type=email], .vs-if input[type=number], .vs-if input[type=date],
.vs-if input[type=password], .vs-if textarea, .vs-if select {
	width: 100%; font: inherit; font-size: 17px; color: var(--ink);
	background: #fff; border: 1.5px solid #d6d2c8; border-radius: 4px;
	padding: 12px 14px; margin: 0; box-shadow: none; appearance: none; -webkit-appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.vs-if textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.vs-if input:focus, .vs-if textarea:focus, .vs-if select:focus {
	outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(111,127,102,.25);
}
.vs-if input[readonly] { background: var(--off); color: var(--muted); }
.vs-if input::placeholder, .vs-if textarea::placeholder { color: #a7a399; }
.vs-if-select { position: relative; }
.vs-if-select::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
	border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.vs-if select { padding-right: 40px; cursor: pointer; }

.vs-if-row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; }
.vs-if-row-even { grid-template-columns: 1fr 1fr; gap: 32px; }
.vs-if-row > .vs-if-field { margin-bottom: 34px; }
.vs-if-field .vs-if-row { margin-top: 10px; }
.vs-if-sub { display: block; }
.vs-if-sub > span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }

/* Errors */
.vs-if-err { color: var(--err); font-size: 15px; font-weight: 600; margin: 8px 0 0 !important; }
.vs-if-err::before { content: "! "; }
.vs-if .has-error input[aria-invalid], .vs-if .has-error textarea[aria-invalid], .vs-if .has-error select[aria-invalid] { border-color: var(--err); }
.vs-if-formerr { background: #F7E9E5; color: var(--err); border-radius: 4px; padding: 14px 16px; font-weight: 600; margin: 0 0 18px !important; }
.vs-if-warn { background: #F4F1E6; border-left: 3px solid #C9A64A; padding: 10px 14px; font-size: 15px; margin: 14px 0 0 !important; }

/* Choice cards */
.vs-if-choices { display: grid; gap: 10px; grid-template-columns: 1fr; }
.vs-if-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-if-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-if-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vs-if-choice { position: relative; display: block; cursor: pointer; margin: 0; }
.vs-if-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vs-if-choice span {
	display: flex; align-items: center; gap: 12px; height: 100%;
	padding: 13px 16px; border: 1.5px solid #d6d2c8; border-radius: 4px; background: #fff;
	font-weight: 500; font-size: 16px; line-height: 1.3; transition: border-color .15s, background .15s;
}
.vs-if-choice span::before {
	content: ""; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%;
	border: 1.5px solid #b9b5ab; background: #fff; transition: all .15s;
}
.vs-if-choice:hover span { border-color: var(--sage); }
.vs-if-choice input:checked + span { border-color: var(--ink); background: var(--off); font-weight: 600; }
.vs-if-choice input:checked + span::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3.5px #fff; }
.vs-if-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(111,127,102,.35); }

.vs-if-reveal { margin-top: 12px; }
.vs-if-reveal.is-in { animation: vsIfIn .25s ease; }
@keyframes vsIfIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Checkboxes */
.vs-if-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.vs-if-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vs-if-check span::before {
	content: ""; float: left; width: 20px; height: 20px; margin: 1px 12px 0 0; border-radius: 3px;
	border: 1.5px solid #b9b5ab; background: #fff center/12px no-repeat; transition: all .15s;
}
.vs-if-check input:checked + span::before {
	border-color: var(--ink); background-color: var(--ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.vs-if-check input:focus-visible + span::before { box-shadow: 0 0 0 3px rgba(111,127,102,.35); }
.vs-if-check span { display: block; overflow: hidden; }
.vs-if-check-inline { margin: 0; font-weight: 600; font-size: 15px; }
.vs-if-consent-box { background: var(--off); border-radius: 4px; padding: 16px 18px 6px; }

/* Body composition */
.vs-if-bf { border: 1.5px solid var(--line); border-radius: 6px; padding: 18px 20px 22px; background: linear-gradient(180deg, #fbfaf7, #fff); }
.vs-if-bf-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.vs-if-toggle { display: inline-flex; background: var(--off); border-radius: 4px; padding: 3px; }
.vs-if-toggle label { cursor: pointer; position: relative; }
.vs-if-toggle input { position: absolute; opacity: 0; }
.vs-if-toggle span { display: block; padding: 7px 18px; border-radius: 3px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: all .15s; }
.vs-if-toggle input:checked + span { background: var(--ink); color: #fff; }
.vs-if-toggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(111,127,102,.35); }
.vs-if-bf-figs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 14px 0 8px; }
.vs-if-fig { margin: 0; text-align: center; }
.vs-if-fig-art { position: relative; width: 100%; max-width: 180px; margin: 0 auto; aspect-ratio: 1000 / 2360; }
.vs-if-fig-art img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; margin: 0; opacity: 0; transition: opacity .28s ease; }
.vs-if-fig-art img.is-on { opacity: 1; }
.vs-if-fig figcaption { margin-top: 10px; line-height: 1.2; }
.vs-if-fig figcaption span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.vs-if-fig figcaption strong { display: block; font-size: 30px; font-weight: 800; font-style: italic; }
.vs-if-fig-goal figcaption strong { color: var(--sage); }
.vs-if-fig figcaption em { font-style: normal; font-size: 13px; color: #8d8a82; }
.vs-if-bf-arrow { font-size: 26px; color: var(--sage-light); }
.vs-if-bf-sliders { display: grid; gap: 14px; }
.vs-if-range span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.vs-if-bf.is-unsure .vs-if-bf-figs, .vs-if-bf.is-unsure .vs-if-bf-sliders { opacity: .35; filter: grayscale(1); }

/* Range inputs */
.vs-if input[type=range] {
	-webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; padding: 0; border: 0; cursor: pointer;
	--p: 50%; --c: var(--ink);
}
.vs-if-range-goal input[type=range] { --c: var(--sage); }
.vs-if input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--c) var(--p), var(--line) var(--p)); }
.vs-if input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.vs-if input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--c); }
.vs-if input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
	background: #fff; border: 2.5px solid var(--c); box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .1s;
}
.vs-if input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2.5px solid var(--c); }
.vs-if input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.vs-if input[type=range]:focus { outline: none; box-shadow: none; }
.vs-if input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(111,127,102,.35); }
.vs-if input[type=range]:disabled { cursor: not-allowed; }

/* Priorities */
.vs-if-points { display: flex; align-items: center; gap: 16px; margin: 4px 0 14px; position: sticky; top: 0; }
.vs-if-points-bar { flex: 1; height: 8px; background: var(--off); border-radius: 4px; overflow: hidden; }
.vs-if-points-bar span { display: block; height: 100%; width: 0; background: var(--sage); border-radius: 4px; transition: width .2s; }
.vs-if-points p { margin: 0 !important; font-size: 15px; white-space: nowrap; color: var(--muted); }
.vs-if-points strong { font-size: 20px; color: var(--ink); font-style: italic; font-weight: 800; }
.vs-if-points.is-empty .vs-if-points-bar span { background: var(--ink); }
.vs-if-prio { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-if-prio-item {
	display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(130px, 220px) 26px; align-items: center; gap: 14px;
	padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; margin: 0;
	position: relative;
}
.vs-if-prio-item.has-points { border-color: #cfd6c9; background: #fafbf8; }
.vs-if-prio-item label { font-weight: 600; font-size: 16px; line-height: 1.25; cursor: pointer; }
.vs-if-prio-rank {
	width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--off); color: #a7a399; font-weight: 800; font-style: italic; font-size: 14px;
}
.vs-if-prio-item.has-points .vs-if-prio-rank { background: var(--ink); color: #fff; }
.vs-if-prio-item input[type=range] { --p: var(--fill, 0%); --c: var(--sage); }
.vs-if-prio-val { font-weight: 800; font-size: 18px; text-align: right; font-style: italic; }
.vs-if-prio-item.is-capped { animation: vsIfNudge .3s; }
@keyframes vsIfNudge { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* Availability grid */
.vs-if-grid { display: grid; grid-template-columns: 92px repeat(7, minmax(0, 1fr)); gap: 6px; align-items: center; margin-top: 10px; }
.vs-if-grid-day { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vs-if-grid-block { font-size: 14px; font-weight: 600; color: var(--muted); }
.vs-if-cell { position: relative; display: block; margin: 0; cursor: pointer; }
.vs-if-cell input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.vs-if-cell span { display: block; height: 44px; border-radius: 4px; border: 1.5px solid #d6d2c8; background: #fff; transition: all .12s; position: relative; }
.vs-if-cell:hover span { border-color: var(--sage); background: var(--sage-wash); }
.vs-if-cell input:checked + span { background: var(--sage); border-color: var(--sage); }
.vs-if-cell input:checked + span::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 12px; margin: -8px 0 0 -3px;
	border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg);
}
.vs-if-cell input:focus-visible + span { box-shadow: 0 0 0 3px rgba(111,127,102,.35); }
.vs-if-days { display: flex; gap: 8px; flex-wrap: wrap; }
.vs-if-days label { position: relative; cursor: pointer; }
.vs-if-days input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.vs-if-days span {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	border: 1.5px solid #d6d2c8; border-radius: 4px; font-weight: 800; font-style: italic; font-size: 18px; transition: all .12s;
}
.vs-if-days label:hover span { border-color: var(--sage); }
.vs-if-days input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.vs-if-days input:focus-visible + span { box-shadow: 0 0 0 3px rgba(111,127,102,.35); }

/* Single sliders */
.vs-if-slider { padding-top: 4px; }
.vs-if-slider output { display: block; font-weight: 800; font-style: italic; font-size: 26px; line-height: 1.1; margin-bottom: 4px; }
.vs-if-scale { display: flex; justify-content: space-between; font-size: 13px; color: #8d8a82; }
.vs-if-count { font-size: 14px; color: var(--sage); margin: 6px 0 0 !important; min-height: 1em; }

/* Buttons */
.vs-if-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
	background: var(--ink); color: #fff; border: 1.5px solid var(--ink); border-radius: 4px;
	padding: 14px 26px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.vs-if-btn:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.vs-if-btn:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 2px; }
.vs-if-btn-ghost { background: transparent; color: var(--ink); border-color: #cfcbc1; }
.vs-if-btn-ghost:hover { background: var(--off); color: var(--ink); border-color: var(--ink); }
.vs-if-btn:disabled { opacity: .6; cursor: progress; }
.vs-if-btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: vsIfSpin .7s linear infinite; }
@keyframes vsIfSpin { to { transform: rotate(360deg); } }
.vs-if-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; font-size: 15px; color: var(--sage); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vs-if-link:hover { color: var(--ink); }

.vs-if-nav { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.vs-if-nav-step { margin-left: auto; font-size: 14px; color: #8d8a82; }
.vs-if-nav-left { border-top: 0; padding-top: 6px; }
.vs-if-note-submit { font-size: 15px; color: var(--muted); background: var(--off); border-radius: 4px; padding: 14px 16px; }

/* Panels */
.vs-if-panel { text-align: left; }
.vs-if-panel > p { max-width: 60ch; }
.vs-if-account { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.vs-if-account h3 { font-weight: 700; font-size: 20px; margin: 0 0 8px; }
.vs-if-pass { display: flex; gap: 10px; align-items: center; max-width: 420px; }
.vs-if-pass input { flex: 1; }

/* Status */
.vs-if-track { list-style: none; margin: 6px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.vs-if-track li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #a7a399; position: relative; margin: 0; }
.vs-if-track li::before { content: ""; position: absolute; top: 17px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.vs-if-track li:first-child::before { display: none; }
.vs-if-track li.is-done::before { background: var(--sage); }
.vs-if-track-dot { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--line); position: relative; z-index: 1; font-style: italic; font-weight: 800; }
.vs-if-track li.is-done { color: var(--ink); }
.vs-if-track li.is-done .vs-if-track-dot { background: var(--sage); border-color: var(--sage); color: #fff; }
.vs-if-track li.is-current .vs-if-track-dot { background: var(--ink); border-color: var(--ink); }
.vs-if-status-box { background: var(--off); border-radius: 4px; padding: 20px 22px 18px; }
.vs-if-status-label { font-size: 15px; letter-spacing: .04em; }
.vs-if-note { margin: 0 0 16px; padding: 14px 18px; background: #fff; border-left: 3px solid var(--sage); font-style: normal; font-size: 16px; }
.vs-if-refline { margin: 0 0 16px; padding: 10px 14px; background: var(--sage-wash); border-radius: 4px; color: var(--ink); font-size: 15px; font-weight: 600; }
.vs-if-status-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Login */
.vs-if-login { margin-top: 18px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.6); }
.vs-if-login summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.vs-if-login summary::-webkit-details-marker { display: none; }
.vs-if-login summary::after { content: "+"; font-size: 22px; color: var(--sage); line-height: 1; }
.vs-if-login[open] summary::after { content: "−"; }
.vs-if-login-body { padding: 0 20px 18px; }
.vs-if-login form p { margin: 0 0 14px; }
.vs-if-login label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.vs-if-login .login-remember label { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.vs-if-login .login-remember input { width: auto; }
.vs-if-login input[type=submit] {
	font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
	background: var(--ink); color: #fff; border: 0; border-radius: 4px; padding: 13px 24px; cursor: pointer;
}
.vs-if-login input[type=submit]:hover { background: var(--sage); }

@media (max-width: 720px) {
	.vs-if { font-size: 16px; }
	.vs-if-form, .vs-if-panel, .vs-if-status { padding: 28px 18px 24px; border-radius: 4px; }
	.vs-if-progress em { font-size: 11px; letter-spacing: 0; }
	.vs-if-row, .vs-if-row-even { grid-template-columns: 1fr; gap: 0; }
	.vs-if-cols-2, .vs-if-cols-3, .vs-if-cols-4 { grid-template-columns: 1fr; }
	.vs-if-cols-4 { grid-template-columns: 1fr 1fr; }
	.vs-if-prio-item { grid-template-columns: 28px 1fr 22px; row-gap: 4px; padding: 10px 12px; }
	.vs-if-prio-item input[type=range] { grid-column: 1 / -1; }
	.vs-if-grid { grid-template-columns: 64px repeat(7, minmax(0, 1fr)); gap: 4px; }
	.vs-if-grid-day { font-size: 11px; letter-spacing: 0; }
	.vs-if-grid-block { font-size: 12px; }
	.vs-if-cell span { height: 38px; }
	.vs-if-days { gap: 5px; flex-wrap: nowrap; }
	.vs-if-days label { flex: 1; }
	.vs-if-days span { width: 100%; height: 42px; }
	.vs-if-nav { flex-wrap: wrap; }
	.vs-if-nav-step { order: -1; width: 100%; margin: 0 0 4px; }
	.vs-if-nav .vs-if-btn { flex: 1; padding: 14px 16px; }
	.vs-if-fig figcaption strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.vs-if *, .vs-if *::before, .vs-if *::after { transition: none !important; animation: none !important; }
}

/* Login box: link option */
.vs-if-login-body .vs-if-formerr { margin-top: 0 !important; }
.vs-if-access { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.vs-if-access-q { font-size: 15px; color: var(--muted); margin: 0 0 12px !important; }
.vs-if-access-q strong { color: var(--ink); }
.vs-if-access-form { display: flex; gap: 10px; flex-wrap: wrap; }
.vs-if-access-form input { flex: 1 1 220px; }
.vs-if-access-form .vs-if-btn { padding: 12px 18px; font-size: 13px; }
.vs-if-ok { background: var(--sage-wash); color: #3f4b38; border-radius: 4px; padding: 12px 14px; font-size: 15px; font-weight: 600; margin: 4px 0 0 !important; }
.vs-if-login input[type=email] { width: 100%; }
.vs-if-panel .vs-if-pass { margin-bottom: 4px; }
.vs-if a.vs-if-btn, .vs-if a.vs-if-btn:visited { color: #fff; text-decoration: none; }
.vs-if a.vs-if-btn:hover { color: #fff; }

/* ---------- v1.2 ---------- */
/* Section tabs are buttons: completed ones can be clicked to go back */
.vs-if .vs-if-progress-step {
	appearance: none; -webkit-appearance: none; background: none !important; border: 0; padding: 0; margin: 0;
	font: inherit; font-size: 13px; text-align: left; color: #8d8a82 !important; cursor: default; box-shadow: none !important;
}
.vs-if .vs-if-progress-step.is-current { color: var(--ink) !important; }
.vs-if .vs-if-progress-step.is-open { cursor: pointer; color: var(--sage) !important; }
.vs-if .vs-if-progress-step.is-open:hover em { text-decoration: underline; text-underline-offset: 3px; }
.vs-if .vs-if-progress-step.is-open::before { background: var(--sage-light); }
.vs-if .vs-if-progress-step:disabled { opacity: 1; cursor: default; }
.vs-if .vs-if-progress-step:focus-visible { outline: 3px solid var(--sage-light); outline-offset: 4px; border-radius: 2px; }
.vs-if .vs-if-progress-step em { font-style: normal; }

/* Make sure the theme can't restyle the form buttons */
.vs-if .vs-if-btn { background: var(--ink) !important; color: #fff !important; border: 1.5px solid var(--ink) !important; }
.vs-if .vs-if-btn:hover { background: var(--sage) !important; border-color: var(--sage) !important; }
.vs-if .vs-if-btn-ghost { background: #fff !important; color: var(--ink) !important; border-color: #b9b5ab !important; }
.vs-if .vs-if-btn-ghost:hover { background: var(--off) !important; border-color: var(--ink) !important; color: var(--ink) !important; }

/* Tick-box choice cards */
.vs-if-choice input[type=checkbox] + span::before { border-radius: 3px; }
.vs-if-choice input[type=checkbox]:checked + span::before {
	background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat;
	box-shadow: none;
}
.vs-if-choices + .vs-if-q-sub { margin-top: 20px !important; }

.vs-if-reqnote { font-size: 14px; color: var(--muted); margin: -16px 0 26px !important; clear: both; }
.vs-if-reqnote .vs-if-opt { margin-left: 2px; }
.vs-if-sub-gap { margin-top: 14px; }
.vs-if-loginlink { text-align: center; font-size: 16px; margin: 20px 0 0 !important; color: var(--muted); }
.vs-if-loginlink a { font-weight: 600; }

/* Login page */
.vs-if-loginpage { max-width: 560px; }
.vs-if-login.vs-if-panel { border-radius: 6px; background: #fff; }
.vs-if-login-lead { color: var(--muted); margin-top: -10px !important; }
.vs-if-login form p { margin: 0 0 14px; }
.vs-if-login label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.vs-if-login .login-remember label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.vs-if-login .login-remember input { width: auto; }
.vs-if-login input[type=submit] {
	font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; width: 100%;
	background: var(--ink) !important; color: #fff !important; border: 0; border-radius: 4px; padding: 15px 24px; cursor: pointer;
}
.vs-if-login input[type=submit]:hover { background: var(--sage) !important; }
.vs-if-login-apply { margin: 22px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); text-align: center; }
.vs-if-login-apply a { font-weight: 600; }
@media (max-width: 720px) {
	.vs-if .vs-if-progress-step { font-size: 11px; }
}

/* v1.2.2: email typo suggestion */
.vs-if-suggest { margin: 8px 0 0 !important; padding: 10px 14px; background: var(--sage-wash); border-radius: 4px; font-size: 15px; color: #3f4b38; }
.vs-if-suggest .vs-if-link { font-size: 15px; color: var(--ink); }
.vs-if-suggest .vs-if-link-muted { color: var(--muted); font-weight: 500; margin-left: 4px; }

/* v1.3.0: referral code */
.vs-if-ref { margin-top: 18px; }
.vs-if-ref input[name=ref_text] { max-width: 360px; text-transform: none; }
.vs-if-refmsg { margin: 8px 0 0 !important; font-size: 15px; color: var(--muted); }
.vs-if-refmsg.is-ok { color: #3f4b38; font-weight: 600; }
.vs-if-refmsg.is-ok::before { content: "\2713  "; color: var(--sage); }
.vs-if-refnote { margin: 10px 0 0 !important; padding: 10px 14px; background: #F4F1E6; border-left: 3px solid #C9A64A; font-size: 15px; }
.vs-if-help-login { margin-top: -6px !important; }
