/*
 * Teen Launchers Career Quiz — front-end styles.
 *
 * Everything visual is driven by the CSS variables below. Override them on .tlq
 * (or on a specific quiz with .tlq[data-quiz="parent"]) from your theme, Elementor,
 * or Career Quizzes → Settings → Custom CSS. Class names are stable and prefixed tlq-.
 */

.tlq {
	/* Type */
	--tlq-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--tlq-font-heading: var(--tlq-font-body);
	--tlq-font-accent: "Oswald", "Arial Narrow", Arial, sans-serif;
	--tlq-heading-weight: 800;
	--tlq-heading-tracking: -0.02em;
	--tlq-title-size: clamp(28px, 4.4vw, 44px);
	--tlq-question-size: clamp(22px, 3.2vw, 30px);
	--tlq-text-size: 17px;

	/* Color */
	--tlq-color-ink: #161824;
	--tlq-color-text: #2C3137;
	--tlq-color-muted: #5C606B;
	--tlq-color-bg: #FFFFFF;
	--tlq-color-surface: #F6F5F1;
	--tlq-color-border: #E4E3DF;
	--tlq-color-primary: #F46A72;
	--tlq-color-primary-hover: #E3545D;
	--tlq-color-primary-text: #FFFFFF;
	--tlq-color-accent: #2BB8E8;
	--tlq-color-label: #106A8C;
	--tlq-color-success: #1DB57F;
	--tlq-color-error: #D23F48;
	--tlq-color-dark: #1C1D22;
	--tlq-color-dark-text: #FFFFFF;
	--tlq-color-focus: #2BB8E8;

	/* Shape and space */
	--tlq-max-width: 780px;
	--tlq-pad: clamp(22px, 4.5vw, 48px);
	--tlq-gap: 16px;
	--tlq-radius: 16px;
	--tlq-radius-sm: 10px;
	--tlq-radius-btn: 4px;
	--tlq-shadow: 0 20px 50px rgba(22, 24, 36, 0.10);
	--tlq-border-width: 2px;

	/* Buttons */
	--tlq-btn-font: var(--tlq-font-accent);
	--tlq-btn-size: 15px;
	--tlq-btn-weight: 600;
	--tlq-btn-transform: uppercase;
	--tlq-btn-tracking: 0.06em;
	--tlq-btn-pad: 15px 26px;

	/* Motion */
	--tlq-duration: 320ms;
	--tlq-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

	/* Set per result by the script; used by the result hero and charts */
	--tlq-persona: var(--tlq-color-accent);
	--tlq-persona-text: #FFFFFF;

	font-family: var(--tlq-font-body);
	font-size: var(--tlq-text-size);
	line-height: 1.55;
	color: var(--tlq-color-text);
	max-width: var(--tlq-max-width);
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
	scroll-margin-top: 90px;
}

.tlq *,
.tlq *::before,
.tlq *::after {
	box-sizing: border-box;
}

.tlq p {
	margin: 0 0 12px;
}

.tlq button {
	font-family: inherit;
}

/* Theme-proofing: neutralize common theme / Elementor rules inside the quiz --- */

.tlq h2,
.tlq h3,
.tlq p,
.tlq ul,
.tlq ol,
.tlq li,
.tlq label {
	text-transform: none;
	font-style: normal;
	text-shadow: none;
	background: none;
}

.tlq h2,
.tlq h3 {
	font-family: var(--tlq-font-heading);
	letter-spacing: var(--tlq-heading-tracking);
	color: var(--tlq-color-ink);
}

.tlq p,
.tlq li,
.tlq label {
	font-family: var(--tlq-font-body);
	letter-spacing: normal;
}

.tlq ul,
.tlq ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tlq li {
	margin: 0;
	padding: 0;
}

.tlq li::marker {
	content: none;
}

.tlq button,
.tlq input {
	box-sizing: border-box;
	max-width: 100%;
	height: auto;
	min-width: 0;
	text-shadow: none;
	white-space: normal;
}

.tlq button {
	text-transform: none;
	letter-spacing: normal;
	border-radius: 0;
}

/* Card ------------------------------------------------------------------ */

.tlq .tlq__card {
	container-type: inline-size;
	container-name: tlq;
	position: relative;
	background: var(--tlq-color-bg);
	border-radius: var(--tlq-radius);
	box-shadow: var(--tlq-shadow);
	padding: var(--tlq-pad);
	overflow: hidden;
}

.tlq .tlq-screen {
	animation: tlq-in var(--tlq-duration) var(--tlq-ease) both;
}

.tlq .tlq-screen:focus {
	outline: none;
}

.tlq .tlq-screen.is-leaving {
	animation: tlq-out calc(var(--tlq-duration) * 0.6) ease-in both;
}

@keyframes tlq-in {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

@keyframes tlq-out {
	to { opacity: 0; transform: translateY(-10px); }
}

/* Type ------------------------------------------------------------------ */

.tlq .tlq-eyebrow {
	font-family: var(--tlq-font-accent);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tlq-color-label);
	margin: 0 0 12px !important;
}

.tlq .tlq-title {
	font-family: var(--tlq-font-heading);
	font-weight: var(--tlq-heading-weight);
	font-size: var(--tlq-title-size);
	line-height: 1.05;
	letter-spacing: var(--tlq-heading-tracking);
	color: var(--tlq-color-ink);
	margin: 0 0 16px;
}

.tlq .tlq-text {
	font-size: 18px;
	color: var(--tlq-color-text);
	max-width: 60ch;
}

.tlq .tlq-meta {
	font-size: 14px;
	color: var(--tlq-color-muted);
	margin: 14px 0 0 !important;
}

.tlq .tlq-h3 {
	font-family: var(--tlq-font-heading);
	font-weight: var(--tlq-heading-weight);
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--tlq-color-ink);
	margin: 0 0 12px;
}

.tlq .tlq-label {
	font-family: var(--tlq-font-accent);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tlq-color-label);
	margin: 0 0 12px;
}

/* Buttons --------------------------------------------------------------- */

.tlq .tlq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: var(--tlq-btn-pad);
	border: 0;
	border-radius: var(--tlq-radius-btn);
	background: var(--tlq-color-primary);
	color: var(--tlq-color-primary-text) !important;
	font-family: var(--tlq-btn-font);
	font-size: var(--tlq-btn-size);
	font-weight: var(--tlq-btn-weight);
	letter-spacing: var(--tlq-btn-tracking);
	text-transform: var(--tlq-btn-transform);
	text-decoration: none !important;
	line-height: 1.1;
	cursor: pointer;
	transition: background var(--tlq-duration) var(--tlq-ease), transform 120ms ease, box-shadow var(--tlq-duration);
}

.tlq .tlq-btn:hover {
	background: var(--tlq-color-primary-hover);
	transform: translateY(-1px);
}

.tlq .tlq-btn:active {
	transform: translateY(1px);
}

.tlq .tlq-btn[disabled] {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}

.tlq .tlq-btn--dark {
	background: var(--tlq-color-dark);
	color: var(--tlq-color-dark-text) !important;
}

.tlq .tlq-btn--dark:hover {
	background: #000;
}

.tlq .tlq-btn--ghost {
	background: transparent;
	color: var(--tlq-color-ink) !important;
	box-shadow: inset 0 0 0 2px currentColor;
}

.tlq .tlq-btn--ghost:hover {
	background: var(--tlq-color-surface);
}

.tlq .tlq-link {
	background: none;
	border: 0;
	padding: 6px 0;
	color: var(--tlq-color-muted);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tlq .tlq-link:hover {
	color: var(--tlq-color-ink);
}

.tlq [data-focus]:focus,
.tlq [data-focus]:focus-visible,
.tlq .tlq-success h3:focus {
	outline: none;
}

.tlq :focus-visible {
	outline: 3px solid var(--tlq-color-focus);
	outline-offset: 3px;
}

/* Intro ----------------------------------------------------------------- */

.tlq .tlq-intro__personas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 28px;
	padding: 0;
	list-style: none;
}

.tlq .tlq-intro__personas li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 8px;
	border-radius: 999px;
	background: var(--tlq-color-surface);
	font-size: 14px;
	font-weight: 600;
	color: var(--tlq-color-ink);
}

.tlq .tlq-intro__personas .tlq-dot {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--tlq-chip, var(--tlq-color-accent));
}

/* Progress -------------------------------------------------------------- */

.tlq .tlq-progress {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 26px;
}

.tlq .tlq-progress__bar {
	flex: 1;
	height: 8px;
	background: var(--tlq-color-surface);
	border-radius: 999px;
	overflow: hidden;
}

.tlq .tlq-progress__fill {
	height: 100%;
	width: 0;
	background: var(--tlq-color-success);
	border-radius: inherit;
	transition: width calc(var(--tlq-duration) * 1.4) var(--tlq-ease);
}

.tlq .tlq-progress__label {
	font-family: var(--tlq-font-accent);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tlq-color-muted);
	white-space: nowrap;
}

/* Question -------------------------------------------------------------- */

.tlq .tlq-question__text {
	font-family: var(--tlq-font-heading);
	font-weight: var(--tlq-heading-weight);
	font-size: var(--tlq-question-size);
	line-height: 1.15;
	letter-spacing: var(--tlq-heading-tracking);
	color: var(--tlq-color-ink);
	margin: 0 0 24px;
}

.tlq .tlq-answers {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tlq .tlq-answer {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 84px;
	padding: 16px 18px;
	text-align: left;
	background: var(--tlq-color-bg);
	color: var(--tlq-color-ink);
	border: var(--tlq-border-width) solid var(--tlq-color-border);
	border-radius: var(--tlq-radius-sm);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 160ms ease, transform 160ms var(--tlq-ease), box-shadow 160ms ease, background 160ms ease;
	animation: tlq-pop calc(var(--tlq-duration) * 1.2) var(--tlq-ease) both;
}

.tlq .tlq-answers li:nth-child(2) .tlq-answer { animation-delay: 40ms; }
.tlq .tlq-answers li:nth-child(3) .tlq-answer { animation-delay: 80ms; }
.tlq .tlq-answers li:nth-child(4) .tlq-answer { animation-delay: 120ms; }
.tlq .tlq-answers li:nth-child(5) .tlq-answer { animation-delay: 160ms; }
.tlq .tlq-answers li:nth-child(6) .tlq-answer { animation-delay: 200ms; }

@keyframes tlq-pop {
	from { opacity: 0; transform: translateY(10px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

.tlq .tlq-answer:hover {
	border-color: var(--tlq-color-accent);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(22, 24, 36, 0.08);
}

.tlq .tlq-answer__emoji {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--tlq-color-surface);
	font-size: 23px;
	line-height: 1;
	transition: transform 220ms var(--tlq-ease), background 160ms ease;
}

.tlq .tlq-answer__key {
	position: absolute;
	top: 8px;
	right: 10px;
	font-family: var(--tlq-font-accent);
	font-size: 11px;
	color: var(--tlq-color-muted);
	opacity: 0;
	transition: opacity 160ms ease;
}

.tlq .tlq-answer:hover .tlq-answer__key,
.tlq .tlq-answer:focus-visible .tlq-answer__key {
	opacity: 1;
}

.tlq .tlq-answer.is-selected {
	border-color: var(--tlq-color-success);
	background: color-mix(in srgb, var(--tlq-color-success) 9%, var(--tlq-color-bg));
}

.tlq .tlq-answer.is-selected .tlq-answer__emoji {
	background: var(--tlq-color-success);
	transform: scale(1.12) rotate(-6deg);
}

.tlq .tlq-answers.is-locked .tlq-answer:not(.is-selected) {
	opacity: 0.55;
}

.tlq .tlq-question__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 22px;
	min-height: 36px;
}

.tlq .tlq-question__hint {
	font-size: 13px;
	color: var(--tlq-color-muted);
}

/* Loading --------------------------------------------------------------- */

.tlq .tlq-loading {
	text-align: center;
	padding: 40px 0;
}

.tlq .tlq-loading__orbit {
	position: relative;
	width: 92px;
	height: 92px;
	margin: 0 auto 24px;
}

.tlq .tlq-loading__orbit span {
	position: absolute;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	top: 35px;
	left: 35px;
	animation: tlq-orbit 1.4s var(--tlq-ease) infinite;
}

.tlq .tlq-loading__orbit span:nth-child(1) { background: var(--tlq-color-primary); }
.tlq .tlq-loading__orbit span:nth-child(2) { background: var(--tlq-color-accent); animation-delay: -0.35s; }
.tlq .tlq-loading__orbit span:nth-child(3) { background: #F7D84F; animation-delay: -0.7s; }
.tlq .tlq-loading__orbit span:nth-child(4) { background: var(--tlq-color-success); animation-delay: -1.05s; }

@keyframes tlq-orbit {
	0% { transform: rotate(0deg) translateX(34px) rotate(0deg); }
	100% { transform: rotate(360deg) translateX(34px) rotate(-360deg); }
}

.tlq .tlq-loading__line {
	min-height: 1.6em;
	color: var(--tlq-color-muted);
	font-size: 16px;
}

/* Result ---------------------------------------------------------------- */

.tlq .tlq-result {
	display: grid;
	gap: 22px;
}

.tlq .tlq-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 20px;
	align-items: center;
	margin: calc(var(--tlq-pad) * -1) calc(var(--tlq-pad) * -1) 0;
	padding: calc(var(--tlq-pad) * 0.9) var(--tlq-pad);
	background: var(--tlq-persona);
	color: var(--tlq-persona-text);
	overflow: hidden;
}

.tlq .tlq-hero::after {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	pointer-events: none;
}

.tlq .tlq-hero__eyebrow {
	font-family: var(--tlq-font-accent);
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 6px !important;
	opacity: 0.92;
}

.tlq .tlq-hero__name {
	font-family: var(--tlq-font-heading);
	font-weight: 900;
	font-size: clamp(36px, 6vw, 58px);
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 0 0 10px;
	color: inherit;
	animation: tlq-reveal 700ms var(--tlq-ease) both 120ms;
}

@keyframes tlq-reveal {
	from { opacity: 0; transform: translateY(18px) scale(0.96); letter-spacing: 0.02em; }
	to { opacity: 1; transform: none; }
}

.tlq .tlq-hero__streak {
	display: inline-block;
	font-weight: 600;
	font-size: 15px;
	margin: 0 0 12px !important;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
}

.tlq .tlq-hero__tagline {
	font-size: 18px;
	margin: 0 !important;
	max-width: 40ch;
}

.tlq .tlq-hero__path {
	font-family: var(--tlq-font-accent);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 12px 0 0 !important;
	opacity: 0.92;
}

.tlq .tlq-hero__badge {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	border: 3px solid currentColor;
	animation: tlq-spin-in 900ms var(--tlq-ease) both 200ms;
}

.tlq .tlq-hero__badge .tlq-icon {
	width: 62px;
	height: 62px;
}

@keyframes tlq-spin-in {
	from { opacity: 0; transform: rotate(-120deg) scale(0.4); }
	to { opacity: 1; transform: none; }
}

.tlq .tlq-summary {
	font-size: 18px;
	color: var(--tlq-color-text);
}

.tlq .tlq-jump {
	margin-top: -6px;
}

.tlq .tlq-panels {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--tlq-gap);
}

.tlq .tlq-panel {
	background: var(--tlq-color-surface);
	border-radius: var(--tlq-radius-sm);
	padding: 22px;
}

.tlq .tlq-panel--wide {
	grid-column: 1 / -1;
}

/* Blend bars */
.tlq .tlq-blend {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tlq .tlq-blend__row {
	display: grid;
	grid-template-columns: 96px 1fr 44px;
	gap: 10px;
	align-items: center;
	font-size: 15px;
	color: var(--tlq-color-ink);
}

.tlq .tlq-blend__row.is-top {
	font-weight: 800;
}

.tlq .tlq-blend__track {
	display: block;
	height: 14px;
	border-radius: 999px;
	background: rgba(22, 24, 36, 0.07);
	overflow: hidden;
}

.tlq .tlq-blend__fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: var(--tlq-bar, var(--tlq-color-accent));
	transition: width 1100ms var(--tlq-ease);
}

.tlq .tlq-blend__pct {
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

/* Radar */
.tlq .tlq-radar {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto;
	overflow: visible;
}

.tlq .tlq-radar__grid {
	fill: none;
	stroke: rgba(22, 24, 36, 0.12);
	stroke-width: 1;
}

.tlq .tlq-radar__shape {
	fill: var(--tlq-persona);
	fill-opacity: 0.32;
	stroke: var(--tlq-persona);
	stroke-width: 2.5;
	stroke-linejoin: round;
	transform-origin: center;
	transform-box: view-box;
	transition: transform 1000ms var(--tlq-ease), opacity 600ms ease;
}

.tlq .tlq-radar:not(.is-drawn) .tlq-radar__shape {
	transform: scale(0.1);
	opacity: 0;
}

.tlq .tlq-radar__value {
	font-family: var(--tlq-font-body);
	font-size: 14px;
	fill: var(--tlq-color-muted);
}

.tlq .tlq-radar__dot {
	fill-opacity: 1;
	fill: var(--tlq-persona);
}

.tlq .tlq-radar__label {
	font-family: var(--tlq-font-body);
	font-size: 17px;
	font-weight: 600;
	fill: var(--tlq-color-ink);
}

/* Spectrums */
.tlq .tlq-spectrums {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 18px 26px;
}

.tlq .tlq-spectrum__labels {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	font-size: 13.5px;
	color: var(--tlq-color-muted);
	margin-bottom: 8px;
}

.tlq .tlq-spectrum__track {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: rgba(22, 24, 36, 0.09);
}

.tlq .tlq-spectrum__dot {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border-radius: 50%;
	background: var(--tlq-persona);
	box-shadow: 0 0 0 4px var(--tlq-color-surface), 0 3px 8px rgba(0, 0, 0, 0.18);
	transition: left 1100ms var(--tlq-ease);
}

/* Advice */
.tlq .tlq-points {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: tlq;
}

.tlq .tlq-points li {
	position: relative;
	padding-left: 48px;
	min-height: 34px;
	counter-increment: tlq;
}

.tlq .tlq-points li::before {
	content: counter(tlq);
	position: absolute;
	left: 0;
	top: -2px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--tlq-persona);
	color: var(--tlq-persona-text);
	font-weight: 800;
	font-size: 15px;
}

/* CTA (only on results that have one) */
.tlq .tlq-cta {
	display: grid;
	gap: 6px;
	padding: 26px;
	border-radius: var(--tlq-radius-sm);
	background: var(--tlq-color-dark);
	color: var(--tlq-color-dark-text);
}

.tlq .tlq-cta .tlq-h3 {
	color: inherit;
	margin-bottom: 2px;
}

.tlq .tlq-cta p {
	color: rgba(255, 255, 255, 0.78);
}

.tlq .tlq-cta .tlq-btn {
	justify-self: start;
	margin-top: 6px;
}

/* Email gate */
.tlq .tlq-gate {
	position: relative;
	padding: 28px;
	border-radius: var(--tlq-radius-sm);
	border: var(--tlq-border-width) dashed var(--tlq-color-border);
	background: var(--tlq-color-bg);
}

.tlq .tlq-gate__doc {
	float: right;
	width: 74px;
	height: 92px;
	margin: 0 0 10px 18px;
	border-radius: 6px;
	background: linear-gradient(var(--tlq-persona) 0 30%, #fff 30%);
	box-shadow: 0 10px 22px rgba(22, 24, 36, 0.16), 6px 6px 0 -1px var(--tlq-color-surface);
	transform: rotate(4deg);
	position: relative;
}

.tlq .tlq-gate__doc::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	top: 40px;
	height: 38px;
	background: repeating-linear-gradient(rgba(22, 24, 36, 0.14) 0 4px, transparent 4px 10px);
}

.tlq .tlq-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 14px;
	margin-top: 18px;
	clear: both;
}

.tlq .tlq-field {
	display: grid;
	gap: 6px;
}

.tlq .tlq-field--full {
	grid-column: 1 / -1;
}

.tlq .tlq-field label {
	font-size: 14px;
	font-weight: 600;
	color: var(--tlq-color-ink);
}

.tlq .tlq-field input {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	font: inherit;
	font-size: 16px;
	color: var(--tlq-color-ink);
	background: var(--tlq-color-bg);
	border: var(--tlq-border-width) solid var(--tlq-color-border);
	border-radius: var(--tlq-radius-sm);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tlq .tlq-field input:focus {
	outline: none;
	border-color: var(--tlq-color-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tlq-color-accent) 20%, transparent);
}

.tlq .tlq-field.has-error input {
	border-color: var(--tlq-color-error);
}

.tlq .tlq-field__error {
	font-size: 13px;
	color: var(--tlq-color-error);
}

.tlq .tlq-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tlq .tlq-form__submit {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.tlq .tlq-fine {
	grid-column: 1 / -1;
	font-size: 13px;
	color: var(--tlq-color-muted);
	margin: 0 !important;
}

.tlq .tlq-fine a {
	color: inherit;
}

.tlq .tlq-form__error {
	grid-column: 1 / -1;
	padding: 10px 14px;
	border-radius: var(--tlq-radius-sm);
	background: color-mix(in srgb, var(--tlq-color-error) 10%, var(--tlq-color-bg));
	color: var(--tlq-color-error);
	font-size: 15px;
}

.tlq .tlq-success {
	text-align: left;
	animation: tlq-in var(--tlq-duration) var(--tlq-ease) both;
}

.tlq .tlq-success__check {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--tlq-color-success);
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	animation: tlq-spin-in 600ms var(--tlq-ease) both;
}

.tlq .tlq-download-note {
	margin: 12px 0 0 !important;
	font-size: 14px;
	color: var(--tlq-color-muted);
}

.tlq .tlq-footer {
	display: flex;
	justify-content: center;
}

/* Visually hidden helper */
.tlq .tlq-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Theme-proof button states (beats rules like ".elementor-kit-N button:hover") */
.tlq button.tlq-answer,
.tlq button.tlq-answer:hover,
.tlq button.tlq-answer:focus,
.tlq button.tlq-answer:active {
	background-color: var(--tlq-color-bg);
	color: var(--tlq-color-ink);
	font-family: var(--tlq-font-body);
	text-transform: none;
	letter-spacing: normal;
	text-align: left;
	white-space: normal;
}

.tlq button.tlq-answer:hover {
	border-color: var(--tlq-color-accent);
}

.tlq button.tlq-answer.is-selected,
.tlq button.tlq-answer.is-selected:hover {
	border-color: var(--tlq-color-success);
	background-color: color-mix(in srgb, var(--tlq-color-success) 9%, var(--tlq-color-bg));
}

.tlq button.tlq-link,
.tlq button.tlq-link:hover,
.tlq button.tlq-link:focus {
	background: transparent;
	border: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--tlq-font-body);
}

.tlq button.tlq-link:hover {
	color: var(--tlq-color-ink);
}

.tlq button.tlq-btn:hover,
.tlq a.tlq-btn:hover,
.tlq button.tlq-btn:focus,
.tlq a.tlq-btn:focus {
	background-color: var(--tlq-color-primary-hover);
	color: var(--tlq-color-primary-text);
	border: 0;
}

.tlq .tlq-btn--dark:hover,
.tlq a.tlq-btn--dark:hover {
	background-color: #000;
	color: var(--tlq-color-dark-text);
}

/* Theme-proof form fields (Elementor styles inputs with "input:not([type=button]):not([type=submit])") */
.tlq .tlq-form .tlq-field input.tlq-input,
.tlq .tlq-form .tlq-field input.tlq-input:focus {
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 14px;
	font-family: var(--tlq-font-body);
	font-size: 16px;
	line-height: 1.4;
	color: var(--tlq-color-ink);
	background: var(--tlq-color-bg);
	border: var(--tlq-border-width) solid var(--tlq-color-border);
	border-radius: var(--tlq-radius-sm);
	box-shadow: none;
}

.tlq .tlq-form .tlq-field input.tlq-input:focus {
	outline: none;
	border-color: var(--tlq-color-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tlq-color-accent) 20%, transparent);
}

.tlq .tlq-form .tlq-field.has-error input.tlq-input {
	border-color: var(--tlq-color-error);
}

.tlq .tlq-form .tlq-field label {
	margin: 0;
	font-family: var(--tlq-font-body);
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	color: var(--tlq-color-ink);
}

/* "None of these fit" */
.tlq button.tlq-skip,
.tlq button.tlq-skip:hover,
.tlq button.tlq-skip:focus,
.tlq button.tlq-skip:active {
	display: block;
	width: 100%;
	margin: 12px 0 0;
	padding: 13px 18px;
	min-height: 48px;
	background-color: transparent;
	color: var(--tlq-color-muted);
	border: var(--tlq-border-width) dashed var(--tlq-color-border);
	border-radius: var(--tlq-radius-sm);
	font-family: var(--tlq-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	white-space: normal;
	box-shadow: none;
	cursor: pointer;
	transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
	animation: tlq-pop calc(var(--tlq-duration) * 1.2) var(--tlq-ease) both 160ms;
}

.tlq button.tlq-skip:hover {
	border-color: var(--tlq-color-muted);
	color: var(--tlq-color-ink);
}

.tlq button.tlq-skip.is-selected {
	border-style: solid;
	border-color: var(--tlq-color-muted);
	background-color: var(--tlq-color-surface);
	color: var(--tlq-color-ink);
}

.tlq .tlq-question.is-locked button.tlq-skip:not(.is-selected) {
	opacity: 0.55;
}

/* Responsive ------------------------------------------------------------ */

/* Stack the charts when the quiz itself is narrow (works inside any column width). */
@container tlq (max-width: 700px) {
	.tlq .tlq-panels {
		grid-template-columns: 1fr;
	}
	.tlq .tlq-radar {
		max-width: 400px;
	}
}

@media (max-width: 640px) {
	.tlq {
		--tlq-text-size: 16px;
		--tlq-pad: 20px;
	}
	.tlq .tlq-answers,
.tlq .tlq-panels,
.tlq .tlq-form {
		grid-template-columns: 1fr;
	}
	.tlq .tlq-answer {
		min-height: 66px;
		padding: 12px 14px;
	}
	.tlq .tlq-answer__emoji {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}
	.tlq .tlq-hero {
		grid-template-columns: 1fr;
	}
	.tlq .tlq-hero__badge {
		position: absolute;
		top: 18px;
		right: 18px;
		width: 70px;
		height: 70px;
		border-width: 2px;
	}
	.tlq .tlq-hero__badge .tlq-icon {
		width: 36px;
		height: 36px;
	}
	.tlq .tlq-hero__eyebrow,
.tlq .tlq-hero__name {
		padding-right: 80px;
	}
	.tlq .tlq-gate {
		padding: 20px;
	}
	.tlq .tlq-gate__doc {
		display: none;
	}
	.tlq .tlq-question__hint {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tlq *,
.tlq *::before,
.tlq *::after {
		animation-duration: 1ms !important;
		animation-delay: 0ms !important;
		transition-duration: 1ms !important;
	}
}
