/* Sanctuary Conversation
   Colours and type follow the Sanctuary theme's tokens when it is active,
   with the brand values as fallbacks so the form looks right anywhere. */

.scv {
	--scv-cream: var(--sp-cream, #efe0d1);
	--scv-cream-2: var(--sp-cream-2, #e6d5c4);
	--scv-dark: var(--sp-dark, #393534);
	--scv-brown: var(--sp-brown, #a06a4a);
	--scv-brown-lt: var(--sp-brown-lt, #cdbcaa);
	--scv-green: var(--sp-green, #98887b);
	--scv-white: #ffffff;
	--scv-muted: #6b625e;
	--scv-display: var(--sp-display, 'Cinzel', 'Times New Roman', serif);
	--scv-serif: var(--sp-editorial, 'Cormorant Garamond', Georgia, serif);
	--scv-ui: var(--sp-ui, 'Jost', 'Helvetica Neue', Arial, sans-serif);
	--scv-ease: var(--sp-ease, cubic-bezier(0.16, 1, 0.3, 1));

	max-width: 760px;
	margin: 0 auto;
	color: var(--scv-dark);
	font-family: var(--scv-ui);
	font-size: 1rem;
	line-height: 1.6;
	scroll-margin-top: 120px;
	-webkit-text-size-adjust: 100%;
}
.scv *, .scv *::before, .scv *::after { box-sizing: border-box; }
.scv [hidden] { display: none !important; }
.scv-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.scv-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Heading ---------- */
.scv-head { margin: 0 0 clamp(28px, 5vw, 44px); }
.scv .scv-title {
	margin: 0 0 14px;
	font-family: var(--scv-display);
	font-weight: 400;
	font-size: clamp(1.7rem, 4.4vw, 2.6rem);
	line-height: 1.15;
	letter-spacing: 0.02em;
	color: var(--scv-dark);
}
.scv .scv-intro {
	margin: 0;
	max-width: 36em;
	font-family: var(--scv-serif);
	font-size: clamp(1.15rem, 2.4vw, 1.3rem);
	line-height: 1.55;
	color: var(--scv-dark);
}

/* ---------- Chapters ---------- */
.scv-chapters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0 0 clamp(24px, 4vw, 34px);
	padding: 0 0 14px;
	list-style: none;
	border-bottom: 1px solid var(--scv-brown-lt);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	color: var(--scv-green);
}
.scv-chapters li { position: relative; margin: 0; padding: 0; }
.scv-chapters li.is-done { color: var(--scv-brown); }
.scv-chapters li.is-current { color: var(--scv-dark); font-weight: 500; }
.scv-chapters li.is-current::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -15px;
	height: 2px;
	background: var(--scv-dark);
}

/* ---------- Screens ---------- */
.scv-form { margin: 0; }
.scv-screen {
	min-width: 0;
	margin: 0 0 40px;
	padding: 0;
	border: 0;
}
.scv.is-enhanced .scv-screen { margin: 0; min-height: 300px; }
.scv.is-enhanced .scv-screen.is-current { animation: scv-in 0.45s var(--scv-ease) both; }
@keyframes scv-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}
.scv .scv-q {
	display: block;
	float: left; /* lets the legend take full width in all browsers */
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--scv-serif);
	font-weight: 500;
	font-size: clamp(1.65rem, 4.6vw, 2.35rem);
	line-height: 1.18;
	color: var(--scv-dark);
	outline: none;
}
.scv .scv-q + * { clear: both; }
.scv .scv-hint {
	clear: both;
	margin: 0 0 24px;
	max-width: 40em;
	font-size: 0.95rem;
	color: var(--scv-muted);
}

/* ---------- Choices ---------- */
.scv-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.scv-choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
	padding: 14px 18px;
	background: var(--scv-white);
	border: 1px solid var(--scv-brown-lt);
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	font-size: 1rem;
	line-height: 1.35;
}
.scv-choice:hover { border-color: var(--scv-brown); }
.scv-choice input {
	position: absolute;
	opacity: 0;
	width: 1px; height: 1px;
	margin: 0;
}
.scv-choice-mark {
	flex: 0 0 18px;
	height: 18px;
	border: 1px solid var(--scv-brown-lt);
	background: var(--scv-white);
	transition: background-color 0.2s, border-color 0.2s;
}
.scv-choice input[type="radio"] ~ .scv-choice-mark { border-radius: 50%; }
.scv-choice:has(input:checked) {
	background: var(--scv-dark);
	border-color: var(--scv-dark);
	color: var(--scv-cream);
}
.scv-choice input:checked ~ .scv-choice-mark {
	background: var(--scv-brown);
	border-color: var(--scv-brown);
	box-shadow: inset 0 0 0 3px var(--scv-dark);
}
.scv-choice input:checked ~ .scv-choice-text { color: var(--scv-cream); }
.scv-choice:has(input:focus-visible) { outline: 2px solid var(--scv-brown); outline-offset: 3px; }

/* ---------- Text ---------- */
.scv-textarea,
.scv-input {
	display: block;
	width: 100%;
	padding: 14px 16px;
	background: var(--scv-white);
	border: 1px solid var(--scv-brown-lt);
	border-radius: 0;
	color: var(--scv-dark);
	font-family: var(--scv-ui);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
.scv-textarea {
	min-height: 150px;
	resize: vertical;
	font-family: var(--scv-serif);
	font-size: 1.2rem;
	line-height: 1.6;
}
.scv-textarea:focus,
.scv-input:focus { outline: none; border-color: var(--scv-dark); box-shadow: 0 0 0 1px var(--scv-dark); }
.scv-select {
	padding-right: 44px;
	background-image: linear-gradient(45deg, transparent 50%, var(--scv-dark) 50%), linear-gradient(135deg, var(--scv-dark) 50%, transparent 50%);
	background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
}
.scv-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
	margin-bottom: 18px;
}
.scv-field { margin: 0 0 18px; }
.scv-grid .scv-field { margin: 0; }
.scv-label {
	display: block;
	margin: 0 0 7px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--scv-dark);
}
.scv-label span { margin-left: 6px; font-weight: 400; color: var(--scv-green); }

.scv-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.scv-pill { position: relative; cursor: pointer; }
.scv-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scv-pill span {
	display: inline-block;
	padding: 10px 18px;
	border: 1px solid var(--scv-brown-lt);
	background: var(--scv-white);
	font-size: 0.95rem;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.scv-pill:hover span { border-color: var(--scv-brown); }
.scv-pill input:checked + span { background: var(--scv-dark); border-color: var(--scv-dark); color: var(--scv-cream); }
.scv-pill input:focus-visible + span { outline: 2px solid var(--scv-brown); outline-offset: 3px; }

.scv-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 6px 0 18px;
	font-size: 0.95rem;
	line-height: 1.5;
	cursor: pointer;
}
.scv-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scv-check-mark {
	flex: 0 0 20px;
	height: 20px;
	margin-top: 1px;
	border: 1px solid var(--scv-brown-lt);
	background: var(--scv-white);
}
.scv-check input:checked + .scv-check-mark {
	background: var(--scv-dark);
	border-color: var(--scv-dark);
	box-shadow: inset 0 0 0 4px var(--scv-white);
}
.scv-check input:focus-visible + .scv-check-mark { outline: 2px solid var(--scv-brown); outline-offset: 3px; }
.scv-check strong { font-weight: 500; margin-right: 4px; }

.scv.is-enhanced .scv-check--consent { display: none; margin-top: 16px; }
.scv.is-enhanced .scv-check--consent.is-shown { display: flex; animation: scv-in 0.35s var(--scv-ease) both; }

.scv-privacy { margin: 4px 0 0; font-size: 0.85rem; color: var(--scv-muted); }
.scv-privacy a { color: var(--scv-brown); }

/* ---------- Errors ---------- */
.scv-error {
	display: none;
	margin: 18px 0 0;
	padding: 12px 16px;
	background: var(--scv-cream);
	border-left: 3px solid var(--scv-brown);
	font-size: 0.95rem;
	color: var(--scv-dark);
}
.scv-error.is-shown { display: block; }

/* ---------- Navigation ---------- */
.scv-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid var(--scv-brown-lt);
}
.scv-nav-end { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.scv .scv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 15px 30px;
	background: var(--scv-dark);
	border: 1px solid var(--scv-dark);
	border-radius: 0;
	color: var(--scv-cream);
	font-family: var(--scv-ui);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s;
}
.scv .scv-btn:hover { background: var(--scv-brown); border-color: var(--scv-brown); color: var(--scv-white); }
.scv .scv-btn:focus-visible { outline: 2px solid var(--scv-brown); outline-offset: 3px; }
.scv .scv-btn[disabled] { opacity: 0.6; cursor: wait; }
.scv .scv-link {
	padding: 8px 0;
	background: none;
	border: 0;
	color: var(--scv-link, var(--scv-dark));
	font-family: var(--scv-ui);
	font-size: 0.95rem;
	text-decoration: underline;
	text-decoration-color: var(--scv-brown-lt);
	text-underline-offset: 5px;
	cursor: pointer;
}
.scv .scv-link:hover { text-decoration-color: var(--scv-brown); }
.scv .scv-link:focus-visible { outline: 2px solid var(--scv-brown); outline-offset: 3px; }

/* ---------- Composing: a slow breath while the note is written ---------- */
.scv-composing {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 30px;
	min-height: 380px;
	text-align: center;
}
.scv-composing-mark {
	width: 74px;
	height: 74px;
	border: 1px solid var(--scv-brown);
	border-radius: 50%;
	animation: scv-breathe 4.2s ease-in-out infinite;
}
@keyframes scv-breathe {
	0%, 100% { transform: scale(0.72); background: transparent; }
	50% { transform: scale(1); background: var(--scv-cream); }
}
.scv .scv-composing-text {
	margin: 0;
	font-family: var(--scv-serif);
	font-style: italic;
	font-size: 1.35rem;
	color: var(--scv-dark);
}

/* ---------- The note ---------- */
.scv-letter {
	position: relative;
	padding: clamp(32px, 6vw, 60px) clamp(24px, 6vw, 64px);
	background: var(--scv-white);
	border: 1px solid var(--scv-brown-lt);
	box-shadow: 10px 10px 0 var(--scv-cream);
}
.scv-result.is-revealed .scv-letter { animation: scv-letter 0.9s var(--scv-ease) both; }
.scv-result.is-revealed .scv-after { animation: scv-in 0.6s var(--scv-ease) 0.5s both; }
@keyframes scv-letter {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}
.scv .scv-letter-title {
	margin: 0 0 24px;
	font-family: var(--scv-display);
	font-weight: 400;
	font-size: clamp(1.45rem, 3.6vw, 2rem);
	line-height: 1.25;
	letter-spacing: 0.02em;
	color: var(--scv-dark);
	outline: none;
}
.scv-letter-body p {
	margin: 0 0 16px;
	max-width: 34em;
	font-family: var(--scv-serif);
	font-size: clamp(1.18rem, 2.4vw, 1.32rem);
	line-height: 1.65;
	color: var(--scv-dark);
}
.scv-spaces { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--scv-cream-2); }
.scv .scv-spaces-title {
	margin: 0 0 14px;
	font-family: var(--scv-ui);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--scv-brown);
}
.scv-spaces-list { margin: 0; padding: 0; list-style: none; }
.scv-spaces-list li {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 4px 20px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--scv-cream-2);
	font-size: 0.98rem;
}
.scv-spaces-list li:last-child { border-bottom: 0; }
.scv-spaces-list strong { font-weight: 500; }
.scv-spaces-list span { color: var(--scv-muted); }
.scv .scv-letter-sign {
	margin: 30px 0 0;
	font-family: var(--scv-serif);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.5;
	color: var(--scv-brown);
}
.scv-after {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	margin-top: 34px;
}
.scv .scv-promise { flex: 1 1 280px; margin: 0; font-size: 0.98rem; color: var(--scv-dark); }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
	/* Chapters sit on one line and scroll sideways, keeping the current one in view. */
	.scv-chapters {
		flex-wrap: nowrap;
		gap: 18px;
		overflow-x: auto;
		padding-bottom: 12px;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
		mask-image: linear-gradient(90deg, #000 85%, transparent);
	}
	.scv-chapters.is-end { -webkit-mask-image: none; mask-image: none; }
	.scv-chapters::-webkit-scrollbar { display: none; }
	.scv-chapters li { flex: 0 0 auto; white-space: nowrap; }
	.scv-chapters li.is-current::after { bottom: -13px; }
	.scv-choices, .scv-grid { grid-template-columns: 1fr; }
	.scv.is-enhanced .scv-screen { min-height: 0; }
	.scv-choice { min-height: 54px; }
	.scv-nav { position: sticky; bottom: 0; z-index: 2; margin-left: -4px; margin-right: -4px; padding: 14px 4px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--scv-cream); }
	.scv-nav-end { gap: 16px; }
	.scv .scv-btn { padding: 14px 22px; }
	.scv-spaces-list li { grid-template-columns: 1fr; }
	.scv-letter { box-shadow: 6px 6px 0 var(--scv-cream-2); }
}

@media (prefers-reduced-motion: reduce) {
	.scv *, .scv *::before, .scv *::after { animation: none !important; transition: none !important; }
}

/* ==================================================================
   Theme-proofing
   Some theme styles for labels, spans and buttons are stronger than
   ordinary plugin styles. These rules win so the form always looks
   as designed, whatever the surrounding page does.
   ================================================================== */
.scv.scv label,
.scv.scv legend,
.scv.scv button,
.scv.scv input,
.scv.scv select,
.scv.scv textarea,
.scv.scv .scv-choice-text,
.scv.scv .scv-label,
.scv.scv .scv-pill span {
	text-transform: none !important;
	letter-spacing: normal !important;
}
.scv.scv .scv-choice {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	min-height: 58px !important;
	height: auto !important;
	margin: 0 !important;
	padding: 14px 18px !important;
	background: var(--scv-white) !important;
	border: 1px solid var(--scv-brown-lt) !important;
	border-radius: 0 !important;
	font-family: var(--scv-ui) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	color: var(--scv-dark) !important;
}
.scv.scv .scv-choice-text { color: inherit !important; font: inherit !important; }
.scv.scv .scv-choice-mark,
.scv.scv .scv-check-mark {
	display: block !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--scv-white) !important;
	border: 1px solid var(--scv-brown-lt) !important;
	box-shadow: none !important;
}
.scv.scv .scv-check-mark { flex-basis: 20px !important; width: 20px !important; height: 20px !important; min-width: 20px !important; margin-top: 1px !important; }
.scv.scv .scv-choice input[type="radio"] ~ .scv-choice-mark { border-radius: 50% !important; }
.scv.scv .scv-choice:has(input:checked) { background: var(--scv-dark) !important; border-color: var(--scv-dark) !important; color: var(--scv-cream) !important; }
.scv.scv .scv-choice input:checked ~ .scv-choice-mark { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; box-shadow: inset 0 0 0 3px var(--scv-dark) !important; }
.scv.scv .scv-check input:checked + .scv-check-mark { background: var(--scv-dark) !important; border-color: var(--scv-dark) !important; box-shadow: inset 0 0 0 4px var(--scv-white) !important; }
.scv.scv .scv-check { text-transform: none !important; font-size: 0.95rem !important; color: inherit !important; }

.scv.scv .scv-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 52px !important;
	width: auto !important;
	margin: 0 !important;
	padding: 15px 30px !important;
	background: var(--scv-dark) !important;
	border: 1px solid var(--scv-dark) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--scv-cream) !important;
	font-family: var(--scv-ui) !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
}
.scv.scv .scv-btn:hover { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; color: var(--scv-white) !important; }
.scv.scv .scv-link {
	display: inline-block !important;
	width: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 8px 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--scv-link, var(--scv-dark)) !important;
	font-family: var(--scv-ui) !important;
	font-size: 0.95rem !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	text-decoration: underline !important;
	text-decoration-color: var(--scv-brown-lt) !important;
	text-underline-offset: 5px !important;
}
.scv.scv .scv-pill span { font-family: var(--scv-ui) !important; font-size: 0.95rem !important; color: var(--scv-dark) !important; background: var(--scv-white) !important; }
.scv.scv .scv-pill input:checked + span { background: var(--scv-dark) !important; border-color: var(--scv-dark) !important; color: var(--scv-cream) !important; }

/* ==================================================================
   Dark background (Enquiries → Settings → Background)
   Cards and the note stay light; everything sitting directly on the
   dark section turns cream.
   ================================================================== */
.scv.scv--dark {
	--scv-link: #efe0d1;
	color: var(--scv-cream);
}
.scv.scv--dark .scv-title,
.scv.scv--dark .scv-intro,
.scv.scv--dark .scv-q,
.scv.scv--dark .scv-label,
.scv.scv--dark .scv-check,
.scv.scv--dark .scv-promise,
.scv.scv--dark .scv-composing-text { color: var(--scv-cream) !important; }
.scv.scv--dark .scv-hint,
.scv.scv--dark .scv-privacy { color: rgba(239, 224, 209, 0.78) !important; }
.scv.scv--dark .scv-label span { color: rgba(239, 224, 209, 0.6) !important; }
.scv.scv--dark .scv-privacy a { color: var(--scv-cream) !important; }
.scv.scv--dark .scv-chapters { color: rgba(239, 224, 209, 0.5); border-bottom-color: rgba(205, 188, 170, 0.45); }
.scv.scv--dark .scv-chapters li.is-done { color: var(--scv-brown-lt); }
.scv.scv--dark .scv-chapters li.is-current { color: var(--scv-cream); }
.scv.scv--dark .scv-chapters li.is-current::after { background: var(--scv-cream); }
.scv.scv--dark .scv-nav { border-top-color: rgba(205, 188, 170, 0.45); }
.scv.scv--dark .scv-link { text-decoration-color: rgba(239, 224, 209, 0.45) !important; }
.scv.scv--dark .scv-link:hover { text-decoration-color: var(--scv-cream) !important; }

/* Main button: cream on dark, so it stands out from the section. */
.scv.scv--dark .scv-btn { background: var(--scv-cream) !important; border-color: var(--scv-cream) !important; color: var(--scv-dark) !important; }
.scv.scv--dark .scv-btn:hover { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; color: var(--scv-white) !important; }

/* A chosen card turns brown, so it doesn't vanish into the dark section. */
.scv.scv--dark .scv-choice:hover { border-color: var(--scv-cream) !important; }
.scv.scv--dark .scv-choice:has(input:checked) { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; color: var(--scv-white) !important; }
.scv.scv--dark .scv-choice input:checked ~ .scv-choice-mark { background: var(--scv-white) !important; border-color: var(--scv-white) !important; box-shadow: inset 0 0 0 3px var(--scv-brown) !important; }
.scv.scv--dark .scv-choice input:checked ~ .scv-choice-text { color: var(--scv-white) !important; }
.scv.scv--dark .scv-pill input:checked + span { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; color: var(--scv-white) !important; }
.scv.scv--dark .scv-check input:checked + .scv-check-mark { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; }
.scv.scv--dark .scv-choice:has(input:focus-visible),
.scv.scv--dark .scv-btn:focus-visible,
.scv.scv--dark .scv-link:focus-visible { outline-color: var(--scv-cream) !important; }

.scv.scv--dark .scv-composing-mark { border-color: var(--scv-cream); }
@keyframes scv-breathe-dark {
	0%, 100% { transform: scale(0.72); background: transparent; }
	50% { transform: scale(1); background: rgba(239, 224, 209, 0.14); }
}
.scv.scv--dark .scv-composing-mark { animation-name: scv-breathe-dark; }
.scv.scv--dark .scv-letter { color: var(--scv-dark); box-shadow: 10px 10px 0 rgba(239, 224, 209, 0.16); }

@media (max-width: 600px) {
	.scv.scv--dark .scv-nav { background: var(--scv-dark); }
}

/* Theme-proofing: labels and the spans inside them. */
.scv.scv label { padding: 0 !important; margin: 0; border: 0; background: none; width: auto; height: auto; float: none; }
.scv.scv label span {
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	display: inline !important;
	float: none !important;
}
.scv.scv .scv-choice { padding: 14px 18px !important; }
.scv.scv .scv-choice-text { display: block !important; flex: 1 1 auto !important; min-width: 0 !important; }
.scv.scv .scv-choice-mark,
.scv.scv .scv-check-mark { display: block !important; border: 1px solid var(--scv-brown-lt) !important; background: var(--scv-white) !important; }
.scv.scv .scv-choice-mark { width: 18px !important; height: 18px !important; min-width: 18px !important; }
.scv.scv .scv-check-mark { width: 20px !important; height: 20px !important; min-width: 20px !important; margin-top: 1px !important; }
.scv.scv .scv-choice input:checked ~ .scv-choice-mark { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; }
.scv.scv .scv-check input:checked + .scv-check-mark { background: var(--scv-dark) !important; border-color: var(--scv-dark) !important; }
.scv.scv--dark .scv-choice input:checked ~ .scv-choice-mark { background: var(--scv-white) !important; border-color: var(--scv-white) !important; }
.scv.scv--dark .scv-check input:checked + .scv-check-mark { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; }

.scv.scv .scv-label { display: block !important; margin: 0 0 7px !important; font-size: 0.9rem !important; font-weight: 500 !important; }
.scv.scv .scv-label span { margin-left: 6px !important; font-weight: 400 !important; }

.scv.scv .scv-check { display: flex !important; align-items: flex-start !important; gap: 12px !important; margin: 6px 0 18px !important; line-height: 1.5 !important; }
.scv.scv .scv-check > span:last-child { display: block !important; flex: 1 1 auto !important; }
.scv.scv .scv-check > span:last-child strong { margin-right: 4px; }
.scv.scv.is-enhanced .scv-check--consent { margin-top: 16px !important; }
.scv.scv.is-enhanced .scv-check--consent:not(.is-shown) { display: none !important; }

.scv.scv .scv-pill { display: inline-block !important; }
.scv.scv .scv-pill span {
	display: inline-block !important;
	padding: 10px 18px !important;
	border: 1px solid var(--scv-brown-lt) !important;
	background: var(--scv-white) !important;
	white-space: nowrap !important;
}
.scv.scv .scv-pill input:checked + span { background: var(--scv-dark) !important; border-color: var(--scv-dark) !important; }
.scv.scv--dark .scv-pill input:checked + span { background: var(--scv-brown) !important; border-color: var(--scv-brown) !important; }

.scv.scv .scv-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }

/* Hidden always means hidden, even where the theme styles buttons. */
.scv.scv [hidden],
.scv.scv .scv-btn[hidden],
.scv.scv .scv-link[hidden] { display: none !important; }
