/* CoreWard Tests - native staging renderer */

.cw-tests {
	--cw-tests-button-height: 2.35rem;
	--cw-tests-surface-pad: var(--cw-space-2xl);
	--cw-tests-inner-gap: var(--cw-space-sm);
	display: grid;
	gap: var(--cw-tests-inner-gap);
	width: 100%;
	min-width: 0;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	text-transform: uppercase;
}

.cw-tests__panel {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: var(--cw-tests-inner-gap);
	width: 100%;
	min-width: 0;
	padding: var(--cw-tests-surface-pad);
	border: var(--cw-border-width) solid var(--cw-frame-border);
	border-radius: var(--cw-card-radius);
	background: transparent;
	box-shadow: var(--cw-frame-shadow-full);
	color: var(--cw-color-text);
	overflow: hidden;
}

.cw-tests__panel::before,
.cw-tests__nav-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background: var(--cw-card-bg, var(--cw-frame-bg));
	backdrop-filter: var(--cw-backdrop-glass);
	-webkit-backdrop-filter: var(--cw-backdrop-glass);
	pointer-events: none;
}

.cw-tests__panel > *,
.cw-tests__nav-panel > * {
	position: relative;
	z-index: 1;
}

.cw-tests__boot {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	min-height: clamp(9rem, 22vw, 14rem);
	padding: var(--cw-space-lg);
	border: var(--cw-border-width) solid var(--cw-panel-surface-border);
	border-radius: var(--cw-radius-inner);
	background:
		radial-gradient(circle at 50% 50%, rgba(255, 174, 0, 0.13), transparent 52%),
		var(--cw-panel-surface-bg);
	box-shadow: var(--cw-info-inner-shadow);
	color: transparent;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.04em;
	overflow: hidden;
	text-align: center;
	text-transform: uppercase;
	backdrop-filter: blur(0.7rem);
	-webkit-backdrop-filter: blur(0.7rem);
	animation: cw-tests-loader-surface 0.28s var(--cw-ease-smooth, ease) both;
}

.cw-tests__boot::before,
.cw-tests__boot::after {
	content: "";
	display: block;
}

.cw-tests__boot::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(135deg, rgba(255, 174, 0, 0.08), transparent 48%);
	backdrop-filter: blur(0.9rem);
	-webkit-backdrop-filter: blur(0.9rem);
}

.cw-tests__boot::after {
	width: 2.4rem;
	height: 2.4rem;
	border: 0.16rem solid rgba(255, 255, 255, 0.22);
	border-top-color: var(--cw-color-accent);
	border-right-color: rgba(255, 174, 0, 0.72);
	border-radius: 50%;
	box-shadow: 0 0 1.85rem rgba(255, 174, 0, 0.26);
	animation: cw-tests-loader-spin 0.9s linear infinite;
}

.cw-tests__counter,
.cw-tests__eyebrow,
.cw-tests__scale-title,
.cw-tests__field > span {
	margin: 0;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.06em;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--cw-color-text-muted);
}

.cw-tests__step-title,
.cw-tests__question-title {
	margin: 0;
	color: var(--cw-color-text-strong);
}

.cw-tests__counter {
	display: inline-grid;
	place-items: center;
	min-width: 3.85rem;
	min-height: 1.9rem;
	padding: 0.2rem 0.75rem;
	border: var(--cw-border-width) solid var(--cw-badge-border);
	border-radius: var(--cw-radius-pill);
	background: var(--cw-panel-surface-bg);
	box-shadow: var(--cw-info-inner-shadow);
	color: var(--cw-color-accent);
}

.cw-tests__progress {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	justify-content: center;
	gap: var(--cw-space-sm);
	width: min(100%, 48rem);
	min-width: 0;
}

.cw-tests__dots {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0;
	min-width: 0;
}

.cw-tests__dots--before {
	justify-content: flex-end;
}

.cw-tests__dots--after {
	justify-content: flex-start;
}

.cw-tests__dot {
	appearance: none;
	width: clamp(0.52rem, 1.25vw, 1.28rem);
	height: 0.32rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(255, 174, 0, 0.24);
	box-shadow: none;
	cursor: pointer;
	transition:
		background-color var(--cw-slider-dot-transition),
		opacity var(--cw-slider-dot-transition);
}

.cw-tests__dot:first-child,
.cw-tests__dots--after .cw-tests__dot:first-child {
	border-top-left-radius: var(--cw-radius-pill);
	border-bottom-left-radius: var(--cw-radius-pill);
}

.cw-tests__dot:last-child,
.cw-tests__dots--before .cw-tests__dot:last-child {
	border-top-right-radius: var(--cw-radius-pill);
	border-bottom-right-radius: var(--cw-radius-pill);
}

.cw-tests__dot.is-active {
	background: var(--cw-slider-dot-active-bg);
	box-shadow: none;
}

.cw-tests__dot.is-complete {
	background: var(--cw-slider-dot-active-bg);
	opacity: 1;
}

.cw-tests__dot:not(.is-available) {
	cursor: default;
	opacity: 0.45;
}

.cw-tests__message {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.62rem;
	width: 100%;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.65rem 1rem;
	border: var(--cw-border-width) solid transparent;
	border-radius: var(--cw-radius-inner);
	background: transparent;
	box-shadow: none;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

.cw-tests__message:empty {
	display: none;
}

.cw-tests__message.is-error {
	border-color: rgba(255, 91, 91, 0.32);
	background: rgba(255, 91, 91, 0.12);
	box-shadow:
		0 0 0 var(--cw-hairline-width) rgba(255, 150, 150, 0.1) inset,
		0 0 1.05rem rgba(255, 91, 91, 0.12);
	color: rgba(255, 210, 210, 0.95);
}

.cw-tests__message.is-success {
	border-color: rgba(78, 210, 126, 0.34);
	background: rgba(78, 210, 126, 0.12);
	box-shadow:
		0 0 0 var(--cw-hairline-width) rgba(160, 255, 194, 0.1) inset,
		0 0 1.05rem rgba(78, 210, 126, 0.12);
	color: rgba(205, 255, 222, 0.96);
}

.cw-tests__message.is-error::before,
.cw-tests__message.is-success::before {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
	border: calc(var(--cw-border-width) * 1.5) solid currentColor;
	border-radius: 50%;
	background: transparent;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1;
	opacity: 0.94;
}

.cw-tests__message.is-error::before {
	content: "!";
}

.cw-tests__message.is-success::before {
	content: "\2713";
}

.cw-tests__message.is-entering {
	animation: cw-tests-message-enter 0.42s var(--cw-ease-smooth) both;
	transform-origin: top center;
}

.cw-tests__message.is-entering::before {
	animation: cw-tests-message-icon-enter 0.34s var(--cw-ease-smooth) 0.24s both;
}

.cw-tests__viewport {
	min-width: 0;
}

.cw-tests__intro,
.cw-tests__question,
.cw-tests__contact,
.cw-tests__result {
	display: grid;
	gap: var(--cw-tests-inner-gap);
	min-width: 0;
	animation: cw-tests-step-in 0.28s var(--cw-ease-smooth, ease) both;
}

.cw-tests__panel[data-direction="prev"] .cw-tests__intro,
.cw-tests__panel[data-direction="prev"] .cw-tests__question,
.cw-tests__panel[data-direction="prev"] .cw-tests__contact,
.cw-tests__panel[data-direction="prev"] .cw-tests__result {
	animation-name: cw-tests-step-in-reverse;
}

.cw-tests__panel[data-direction="static"] .cw-tests__intro,
.cw-tests__panel[data-direction="static"] .cw-tests__question,
.cw-tests__panel[data-direction="static"] .cw-tests__contact,
.cw-tests__panel[data-direction="static"] .cw-tests__result {
	animation: none;
}

@keyframes cw-tests-step-in {
	from {
		opacity: 0;
		transform: translateX(1rem);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes cw-tests-step-in-reverse {
	from {
		opacity: 0;
		transform: translateX(-1rem);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes cw-tests-loader-surface {
	from {
		opacity: 0;
		filter: blur(0.18rem);
		transform: scale(0.992);
	}

	to {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
}

@keyframes cw-tests-loader-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes cw-tests-message-enter {
	0% {
		opacity: 0;
		transform: translateY(-0.68rem) scale(0.975);
		filter: blur(0.16rem);
	}

	62% {
		opacity: 1;
		transform: translateY(0.08rem) scale(1.008);
		filter: blur(0);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes cw-tests-message-icon-enter {
	0% {
		opacity: 0;
		transform: scale(0.62) rotate(-16deg);
	}

	70% {
		opacity: 1;
		transform: scale(1.12) rotate(4deg);
	}

	100% {
		opacity: 0.94;
		transform: scale(1) rotate(0);
	}
}

.cw-tests__step-title {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-align: center;
}

.cw-tests__question-title {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.35;
}

.cw-tests__question-box,
.cw-tests__prompt-box {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	min-height: var(--cw-tests-button-height);
	min-width: 0;
	padding: 0 0.9rem;
	border: var(--cw-border-width) solid var(--cw-cta-button-border);
	border-radius: var(--cw-action-button-radius);
	background: var(--cw-cta-button-muted-bg);
	box-shadow: none;
	color: var(--cw-cta-button-color);
}

.cw-tests__lead,
.cw-tests__notice {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--cw-color-text);
}

.cw-tests__notice {
	padding: var(--cw-space-md);
	border: var(--cw-border-width) solid var(--cw-warning-border);
	border-radius: var(--cw-radius-inner);
	background: var(--cw-warning-bg);
	color: var(--cw-color-text-muted);
}

.cw-tests__scales {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--cw-tests-inner-gap);
}

.cw-tests__scale {
	display: grid;
	gap: var(--cw-tests-inner-gap);
	min-width: 0;
}

.cw-tests__scale:only-child {
	grid-column: 1 / -1;
}

.cw-tests__choices {
	display: flex;
	flex-wrap: wrap;
	gap: var(--cw-tests-inner-gap);
	min-width: 0;
}

.cw-tests__inline-action {
	justify-self: start;
	min-width: min(100%, 14rem);
	margin-top: 0;
}

.cw-test-choice {
	appearance: none;
	position: relative;
	isolation: isolate;
	display: inline-grid;
	place-items: center;
	height: var(--cw-tests-button-height);
	min-height: var(--cw-tests-button-height);
	max-width: 100%;
	padding: 0 0.9rem;
	border: var(--cw-border-width) solid var(--cw-cta-button-border);
	border-radius: var(--cw-action-button-radius);
	background: var(--cw-cta-button-muted-bg);
	box-shadow: none;
	color: var(--cw-cta-button-color);
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-align: center;
	cursor: pointer;
	transition:
		background var(--cw-hover-glow-transition),
		border-color var(--cw-hover-glow-transition),
		color var(--cw-hover-glow-transition);
}

.cw-test-choice::after {
	content: "";
	position: absolute;
	inset: calc(var(--cw-border-width) * -1);
	z-index: -1;
	border: var(--cw-border-width) solid var(--cw-hover-glow-border);
	border-radius: inherit;
	box-shadow: var(--cw-hover-glow-shadow);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--cw-hover-glow-transition);
}

.cw-test-choice > span {
	position: relative;
	z-index: 1;
}

.cw-test-choice:hover,
.cw-test-choice:focus-visible {
	outline: 0;
}

.cw-test-choice:hover::after,
.cw-test-choice:focus-visible::after {
	opacity: 1;
}

.cw-test-choice.is-selected {
	border-color: var(--cw-action-button-border);
	background: var(--cw-action-button-bg);
	color: var(--cw-action-button-color);
}

.cw-tests__consent-scale {
	gap: 0;
	min-width: 0;
}

.cw-tests__consent-switch {
	position: relative;
	isolation: isolate;
	display: block;
	min-height: var(--cw-field-min-height);
	border: var(--cw-border-width) solid var(--cw-switch-border);
	border-radius: var(--cw-field-radius);
	background: var(--cw-switch-bg);
	box-shadow: none;
	overflow: hidden;
	--cw-tests-consent-count: 2;
	--cw-tests-consent-index: 0;
	transition: border-color 0.24s var(--cw-ease-standard);
}

.cw-tests__consent-indicator {
	position: absolute;
	z-index: 0;
	top: var(--cw-control-inset);
	left: var(--cw-control-inset);
	width: calc((100% - (var(--cw-control-inset) * 2)) / var(--cw-tests-consent-count, 2));
	height: calc(100% - (var(--cw-control-inset) * 2));
	border: var(--cw-border-width) solid var(--cw-switch-border);
	border-radius: calc(var(--cw-field-radius) - var(--cw-control-inset));
	background: var(--cw-switch-indicator-bg);
	box-shadow: none;
	transform: translateX(calc(var(--cw-tests-consent-index, 0) * 100%));
	transition:
		transform 0.4s cubic-bezier(0.65, 0, 0.35, 1),
		background 0.4s cubic-bezier(0.65, 0, 0.35, 1),
		border-color 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.cw-tests__consent-options {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(var(--cw-tests-consent-count, 2), minmax(0, 1fr));
	min-height: var(--cw-field-min-height);
}

.cw-tests__consent-option {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: var(--cw-field-min-height);
	padding: 0.38rem 0.45rem;
	border: 0;
	background: transparent;
	color: var(--cw-switch-option-color);
	font: inherit;
	font-size: clamp(0.72rem, 2.35vw, 0.9rem);
	font-weight: 300;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	opacity: var(--cw-switch-option-muted-opacity);
	transition:
		color 0.24s var(--cw-ease-standard),
		opacity 0.24s var(--cw-ease-standard);
}

.cw-tests__consent-option span {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: clip;
	white-space: nowrap;
}

.cw-tests__consent-option.is-active {
	opacity: var(--cw-switch-option-active-opacity);
}

.cw-tests__consent-option:focus-visible {
	outline: none;
	box-shadow: 0 0 0 var(--cw-hairline-width) var(--cw-control-focus-border) inset;
}

.cw-tests__field {
	display: block;
	min-width: 0;
	font-family: "Manrope", sans-serif;
	font-size: var(--cw-fs-sm);
}

.cw-tests__contact-title {
	margin: 0;
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--cw-color-text);
}

.cw-tests__contact-row {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: var(--cw-tests-inner-gap);
	min-width: 0;
}

.cw-tests__contact-note {
	margin: 0;
	max-width: 58rem;
	font-family: "Manrope", sans-serif;
	font-size: var(--cw-fs-xs);
	line-height: 1.45;
	text-transform: none;
	color: var(--cw-color-text-muted);
}

.cw-tests__contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--cw-tests-inner-gap);
	min-width: 0;
}

.cw-tests__contact-fields.is-disabled {
	opacity: 0.78;
}

.cw-tests__field input {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--cw-field-min-height);
	padding-inline: var(--cw-field-pad-inline);
	border: var(--cw-border-width) solid var(--cw-field-border);
	border-radius: var(--cw-field-radius);
	background: var(--cw-field-bg);
	box-shadow: var(--cw-field-shadow);
	color: var(--cw-field-color);
	font: inherit;
	text-transform: none;
}

.cw-tests__contact-fields.is-disabled .cw-tests__field input {
	border-color: rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.28);
	box-shadow: none;
	color: rgba(255, 255, 255, 0.34);
	cursor: not-allowed;
	filter: blur(1.2px);
}

.cw-tests__field input::placeholder {
	color: var(--cw-field-placeholder);
	text-transform: none;
}

.cw-tests__field input:focus-visible {
	border-color: var(--cw-field-focus-border);
	box-shadow: var(--cw-field-focus-shadow);
	outline: 0;
}

.cw-tests__result-grid,
.cw-tests__subscales {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--cw-space-sm);
}

.cw-tests__score-bars {
	display: grid;
	gap: var(--cw-space-sm);
}

.cw-tests__subscales {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cw-tests__result-grid > div,
.cw-tests__subscales > div {
	display: grid;
	gap: var(--cw-space-xs);
	padding: var(--cw-space-md);
	border: var(--cw-border-width) solid var(--cw-panel-surface-border);
	border-radius: var(--cw-radius-inner);
	background: var(--cw-panel-surface-strong-bg);
}

.cw-tests__result-grid span,
.cw-tests__subscales span {
	font-size: 1rem;
	color: var(--cw-color-text-muted);
}

.cw-tests__result-grid strong,
.cw-tests__subscales strong {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: var(--cw-color-text-strong);
	line-height: 1;
}

.cw-tests__score-row {
	display: grid;
	gap: var(--cw-space-xs);
	min-width: 0;
	padding: var(--cw-space-md);
	border: var(--cw-border-width) solid var(--cw-panel-surface-border);
	border-radius: var(--cw-radius-inner);
	background: var(--cw-panel-surface-strong-bg);
	box-shadow: var(--cw-info-inner-shadow);
}

.cw-tests__score-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--cw-space-sm);
	min-width: 0;
	color: var(--cw-color-text-muted);
}

.cw-tests__score-head span,
.cw-tests__score-head strong {
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.2;
}

.cw-tests__score-head strong {
	flex: 0 0 auto;
	color: var(--cw-color-text-strong);
}

.cw-tests__score-track {
	height: 0.48rem;
	overflow: hidden;
	border-radius: var(--cw-radius-pill);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 0 0 var(--cw-hairline-width) rgba(255, 255, 255, 0.08) inset;
}

.cw-tests__score-track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(78, 210, 126, 0.82), rgba(255, 174, 0, 0.92) 52%, rgba(255, 91, 91, 0.84));
	box-shadow: 0 0 1.05rem rgba(255, 174, 0, 0.18);
	transition: width 0.42s var(--cw-ease-smooth, ease);
}

.cw-tests__score-row--high .cw-tests__score-track span,
.cw-tests__score-row--very-high .cw-tests__score-track span {
	background: linear-gradient(90deg, rgba(78, 210, 126, 0.82), rgba(255, 174, 0, 0.92) 52%, rgba(255, 91, 91, 0.84));
}

.cw-tests__score-row--low .cw-tests__score-track span {
	background: linear-gradient(90deg, rgba(78, 210, 126, 0.82), rgba(255, 174, 0, 0.92) 52%, rgba(255, 91, 91, 0.84));
	box-shadow: 0 0 0.9rem rgba(78, 210, 126, 0.13);
}

.cw-tests__interpretation {
	display: grid;
	gap: var(--cw-space-sm);
	padding: var(--cw-space-md);
	border: var(--cw-border-width) solid var(--cw-warning-border);
	border-radius: var(--cw-radius-inner);
	background: var(--cw-warning-bg);
	box-shadow: var(--cw-info-inner-shadow);
	color: var(--cw-color-text);
}

.cw-tests__interpretation h4,
.cw-tests__interpretation p {
	margin: 0;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.45;
}

.cw-tests__interpretation h4 {
	color: var(--cw-color-text-strong);
}

.cw-tests__nav-panel {
	position: relative;
	isolation: isolate;
	padding: var(--cw-space-md) var(--cw-tests-surface-pad);
	border: var(--cw-border-width) solid var(--cw-frame-border);
	border-radius: var(--cw-card-radius);
	background: transparent;
	box-shadow: var(--cw-frame-shadow-full);
	color: var(--cw-color-text);
	overflow: hidden;
}

.cw-tests__nav-panel--mobile,
.cw-tests__nav-icon {
	display: none;
}

.cw-tests__nav {
	display: grid;
	grid-template-columns: minmax(8rem, auto) minmax(0, 1fr) minmax(8rem, auto);
	align-items: center;
	gap: var(--cw-space-md);
	padding-top: 0;
	border-top: 0;
}

.cw-tests__nav > .cw-tests__progress {
	justify-self: center;
}

.cw-tests__nav > .cw-tests__nav-btn:first-child {
	justify-self: start;
}

.cw-tests__nav > .cw-tests__nav-btn:last-child {
	justify-self: end;
}

.cw-tests__nav-btn {
	appearance: none;
	display: inline-grid;
	place-items: center;
	height: var(--cw-tests-button-height);
	min-height: var(--cw-tests-button-height);
	min-width: 8rem;
	padding: 0 1.25rem;
	border: var(--cw-border-width) solid var(--cw-cta-button-border);
	border-radius: var(--cw-action-button-radius);
	background: transparent;
	box-shadow: none;
	color: var(--cw-cta-button-color);
	font-family: "Oswald", "Arial Narrow", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		background var(--cw-hover-glow-transition),
		border-color var(--cw-hover-glow-transition),
		color var(--cw-hover-glow-transition),
		box-shadow var(--cw-hover-glow-transition),
		opacity var(--cw-hover-glow-transition);
}

.cw-tests__nav-btn--primary {
	border-color: var(--cw-action-button-border);
	background: var(--cw-action-button-bg);
	color: var(--cw-action-button-color);
}

.cw-tests__nav-btn:hover,
.cw-tests__nav-btn:focus-visible {
	border-color: var(--cw-hover-glow-border);
	box-shadow: var(--cw-hover-glow-shadow);
	outline: 0;
}

.cw-tests__nav-btn:disabled {
	pointer-events: none;
	opacity: 0.35;
}

body.cw-light .cw-tests__panel,
body.cw-light .cw-tests__nav-panel {
	border-color: var(--cw-frame-border);
	background: transparent;
	box-shadow: var(--cw-frame-shadow-full);
	color: rgba(24, 24, 24, 0.9);
}

body.cw-light .cw-tests__counter {
	border-color: rgba(26, 26, 26, 0.18);
	background: rgba(255, 255, 255, 0.96);
	box-shadow:
		0 0 0 var(--cw-hairline-width) rgba(255, 255, 255, 0.88) inset,
		0 0.35rem 1rem rgba(0, 0, 0, 0.08);
	color: #d99000;
}

body.cw-light .cw-tests__dot {
	background: rgba(255, 174, 0, 0.2);
}

body.cw-light .cw-tests__dot.is-active,
body.cw-light .cw-tests__dot.is-complete {
	background: #ffae00;
}

body.cw-light .cw-tests__eyebrow,
body.cw-light .cw-tests__scale-title,
body.cw-light .cw-tests__field > span {
	color: rgba(32, 40, 52, 0.68);
}

body.cw-light .cw-tests__step-title,
body.cw-light .cw-tests__question-title {
	color: rgba(18, 18, 18, 0.92);
}

body.cw-light .cw-tests__message.is-error {
	border-color: rgba(215, 42, 42, 0.46);
	background: rgba(255, 86, 86, 0.12);
	box-shadow:
		0 0 0 var(--cw-hairline-width) rgba(255, 255, 255, 0.72) inset,
		0 0.55rem 1.45rem rgba(215, 42, 42, 0.13);
	color: rgba(161, 36, 36, 0.96);
}

body.cw-light .cw-tests__message.is-success {
	border-color: rgba(31, 145, 76, 0.42);
	background: rgba(78, 210, 126, 0.14);
	box-shadow:
		0 0 0 var(--cw-hairline-width) rgba(255, 255, 255, 0.72) inset,
		0 0.55rem 1.45rem rgba(31, 145, 76, 0.13);
	color: rgba(22, 105, 55, 0.96);
}

body.cw-light .cw-tests__question-box,
body.cw-light .cw-tests__prompt-box,
body.cw-light .cw-test-choice,
body.cw-light .cw-tests__nav-btn {
	border-color: rgba(26, 26, 26, 0.18);
	background: rgba(255, 255, 255, 0.74);
	color: rgba(18, 18, 18, 0.9);
}

body.cw-light .cw-test-choice.is-selected,
body.cw-light .cw-tests__nav-btn--primary {
	border-color: rgba(255, 174, 0, 0.72);
	background: rgba(255, 174, 0, 0.22);
	color: rgba(18, 18, 18, 0.94);
}

body.cw-light .cw-tests__consent-switch {
	border-color: var(--cw-switch-border);
	background: var(--cw-switch-bg);
}

body.cw-light .cw-tests__consent-indicator {
	border-color: var(--cw-switch-border);
	background: var(--cw-switch-indicator-bg);
}

body.cw-light .cw-tests__consent-option {
	color: var(--cw-switch-option-color);
}

body.cw-light .cw-tests__contact-fields.is-disabled .cw-tests__field input {
	border-color: rgba(24, 24, 24, 0.12);
	background: rgba(24, 24, 24, 0.07);
	color: rgba(24, 24, 24, 0.34);
	box-shadow: none;
}

body.cw-light .cw-tests__nav-btn:disabled {
	color: rgba(24, 24, 24, 0.45);
	opacity: 1;
}

@media (max-width: 900px) {
	.cw-tests__scales,
	.cw-tests__result-grid,
	.cw-tests__subscales,
	.cw-tests__contact-fields {
		grid-template-columns: 1fr;
	}

	.cw-tests__nav {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.cw-tests__contact-row {
		grid-template-columns: 1fr;
	}

	.cw-tests__nav > .cw-tests__progress,
	.cw-tests__nav > .cw-tests__nav-btn:first-child,
	.cw-tests__nav > .cw-tests__nav-btn:last-child {
		justify-self: stretch;
	}
}

@media (max-width: 640px) {
	.cw-tests {
		--cw-tests-surface-pad: var(--cw-space-md);
	}

	.cw-tests__panel {
		padding: var(--cw-tests-surface-pad);
	}

	.cw-tests__counter {
		width: fit-content;
	}

	.cw-tests__progress {
		grid-template-columns: 1fr;
		justify-items: center;
		width: 100%;
	}

	.cw-tests__dots {
		flex-wrap: wrap;
		justify-content: center;
	}

	.cw-tests__dots--before,
	.cw-tests__dots--after {
		justify-content: center;
	}

	.cw-tests__choices {
		display: grid;
		grid-template-columns: 1fr;
	}

	.cw-test-choice,
	.cw-tests__nav-btn {
		width: 100%;
	}
}

@media (max-width: 640px) and (orientation: portrait) {
	.cw-tests__nav-panel--desktop {
		display: none;
	}

	.cw-tests__nav-panel--mobile {
		display: block;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	body.cw-light .cw-tests__nav-panel--mobile {
		border-color: transparent;
		background: transparent;
		box-shadow: none;
	}

	.cw-tests__panel .cw-tests__nav {
		grid-template-columns: 2.65rem minmax(0, 1fr) 2.65rem;
		align-items: center;
		gap: var(--cw-space-sm);
	}

	.cw-tests__panel .cw-tests__nav > .cw-tests__progress {
		justify-self: stretch;
	}

	.cw-tests__panel .cw-tests__progress {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		gap: 0.45rem;
		width: 100%;
	}

	.cw-tests__panel .cw-tests__dots {
		flex-wrap: nowrap;
		overflow: hidden;
	}

	.cw-tests__panel .cw-tests__dots--before {
		justify-content: flex-end;
	}

	.cw-tests__panel .cw-tests__dots--after {
		justify-content: flex-start;
	}

	.cw-tests__nav-btn--prev,
	.cw-tests__nav-btn--next {
		width: 2.65rem;
		min-width: 2.65rem;
		height: 2.35rem;
		min-height: 2.35rem;
		padding: 0;
		border-radius: var(--cw-radius-pill);
		font-size: 1rem;
		letter-spacing: 0;
	}

	.cw-tests__nav-btn--prev .cw-tests__nav-label,
	.cw-tests__nav-btn--next .cw-tests__nav-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.cw-tests__nav-btn--prev .cw-tests__nav-icon,
	.cw-tests__nav-btn--next .cw-tests__nav-icon {
		display: block;
		font-size: 1.6rem;
		font-weight: 300;
		line-height: 1;
		transform: translateY(-0.12rem);
	}

	.cw-tests__nav-btn--prev .cw-tests__nav-icon {
		transform: translate(-0.03rem, -0.12rem);
	}

	.cw-tests__nav-btn--next .cw-tests__nav-icon {
		transform: translate(0.03rem, -0.12rem);
	}

	.cw-tests__nav-btn:not(.cw-tests__nav-btn--prev):not(.cw-tests__nav-btn--next) {
		width: auto;
		min-width: 7.4rem;
		padding-inline: 1rem;
	}
}
