/* MedLab Psychology — clean questionnaire layout + pagination */

.mpsy-branded.psychotest {
	--mpsy-ink: #102a28;
	--mpsy-muted: #5a736c;
	--mpsy-accent: #0b6e4f;
	--mpsy-accent-2: #08a045;
	--mpsy-soft: #e8f5ef;
	--mpsy-line: #d0e4da;
	--mpsy-card: #ffffff;
	--color-schema-dark: #0b6e4f;
	--color-schema-med: #08a045;
	--color-schema-light1: #c9e8d8;
	--color-schema-light2: #f4faf7;
	--bordercolor: #d0e4da;
	--borderradius: 16px;
	--generalpadding: 20px;
	--screenwidth: 860px;
	--testgeneralfontsize: 15px;
	--eachquesspace: 14px;

	width: min(860px, 100%) !important;
	max-width: 860px !important;
	margin: 1.25rem auto 2.5rem !important;
	padding: 1.25rem 1.35rem 1.75rem !important;
	box-sizing: border-box;
	background:
		radial-gradient(900px 280px at 100% 0%, color-mix(in srgb, var(--mpsy-accent-2) 12%, transparent), transparent 55%),
		linear-gradient(180deg, var(--mpsy-page-bg, #f4faf7) 0%, #fff 48%) !important;
	border: 1px solid var(--mpsy-line) !important;
	border-radius: 18px !important;
	box-shadow: 0 12px 36px rgba(16, 42, 40, 0.07);
	direction: rtl;
	color: var(--mpsy-ink);
	font-family: Tahoma, "Vazirmatn", "IRANSansX", sans-serif;
}

.mpsy-hero-bar {
	text-align: center;
	padding: 0.25rem 0 1rem;
	border-bottom: 1px solid var(--mpsy-line);
	margin-bottom: 1rem;
}

.mpsy-hero-bar .mpsy-brand {
	display: inline-block;
	color: var(--mpsy-accent);
	font-weight: 800;
	font-size: 0.92rem;
	margin-bottom: 0.3rem;
}

.mpsy-hero-bar h2 {
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	color: var(--mpsy-ink);
}

.mpsy-hero-bar .mpsy-en-name {
	margin: 0.25rem 0 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--mpsy-accent);
	letter-spacing: 0.01em;
	direction: ltr;
	unicode-bidi: isolate;
}

.mpsy-hero-bar .mpsy-en-name span {
	font-weight: 700;
	opacity: 0.9;
}

.mpsy-hero-bar .mpsy-lead {
	margin: 0.4rem auto 0;
	max-width: 34rem;
	color: var(--mpsy-muted);
	line-height: 1.7;
	font-size: 0.95rem;
}

/* راهنمای شرکت در آزمون (بازشونده) */
.mpsy-howto {
	margin: 0.85rem auto 0;
	max-width: 36rem;
	text-align: right;
	background: #fff;
	border: 1px solid var(--mpsy-line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(16, 42, 40, 0.04);
}

.mpsy-howto__summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
	padding: 0.8rem 1rem;
	user-select: none;
	position: relative;
	padding-left: 2.4rem;
}

.mpsy-howto__summary::-webkit-details-marker {
	display: none;
}

.mpsy-howto__summary::after {
	content: "";
	position: absolute;
	left: 1rem;
	top: 50%;
	width: 0.45em;
	height: 0.45em;
	border-right: 2px solid var(--mpsy-accent);
	border-bottom: 2px solid var(--mpsy-accent);
	transform: translateY(-65%) rotate(45deg);
	transition: transform 0.2s ease;
}

.mpsy-howto[open] .mpsy-howto__summary::after {
	transform: translateY(-20%) rotate(225deg);
}

.mpsy-howto__icon {
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 8px;
	background: var(--mpsy-soft);
	border: 1px solid var(--mpsy-line);
	position: relative;
	flex-shrink: 0;
}

.mpsy-howto__icon::before {
	content: "?";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--mpsy-accent);
	line-height: 1;
}

.mpsy-howto__label {
	font-weight: 700;
	color: var(--mpsy-ink);
	font-size: 0.95rem;
}

.mpsy-howto__hint {
	width: 100%;
	margin-right: 2.1rem;
	font-size: 0.8rem;
	color: var(--mpsy-muted);
	line-height: 1.4;
}

.mpsy-howto__body {
	padding: 0 1rem 1rem;
	border-top: 1px solid var(--mpsy-line);
	background: linear-gradient(180deg, #f7fbf9 0%, #fff 55%);
}

.mpsy-howto__list {
	margin: 0.85rem 0 0;
	padding: 0 1.15rem 0 0;
	color: var(--mpsy-muted);
	line-height: 1.8;
	font-size: 0.9rem;
}

.mpsy-howto__list li {
	margin: 0.35rem 0;
	padding-right: 0.15rem;
}

.mpsy-howto__list li::marker {
	color: var(--mpsy-accent);
	font-weight: 700;
}

.mpsy-apps {
	margin: 0.9rem auto 0;
	max-width: 36rem;
	text-align: right;
	background: var(--mpsy-card, #fff);
	border: 1px solid var(--mpsy-line);
	border-radius: 12px;
	padding: 0.75rem 1rem 0.85rem;
}

.mpsy-apps-title {
	display: block;
	color: var(--mpsy-accent);
	font-size: 0.9rem;
	margin-bottom: 0.45rem;
}

.mpsy-apps ul {
	margin: 0;
	padding: 0 1.1rem 0 0;
	list-style: disc;
	color: var(--mpsy-muted);
	line-height: 1.75;
	font-size: 0.9rem;
}

.mpsy-apps li {
	margin: 0.15rem 0;
}

.mpsy-instr {
	background: var(--mpsy-card);
	border: 1px solid var(--mpsy-line);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	line-height: 1.8;
	color: var(--mpsy-muted);
	font-size: 0.92rem;
}

.mpsy-page-indicator {
	text-align: center;
	color: var(--mpsy-muted);
	font-size: 0.88rem;
	margin: 0.35rem 0 0.85rem;
	font-weight: 600;
}

/* Progress */
.mpsy-branded .progressbar-type1 {
	height: 8px !important;
	background: #d9ebe3 !important;
	border-radius: 999px !important;
	overflow: hidden;
	margin: 0 0 1rem !important;
	width: 100% !important;
}

.mpsy-branded .progressbar-type1 .progress,
.mpsy-progress-fill {
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--mpsy-accent), var(--mpsy-accent-2));
	border-radius: 999px;
	transition: width 0.25s ease;
}

/* Question cards */
.mpsy-branded .ques-list {
	display: block;
	width: 100%;
}

.mpsy-branded .eachques {
	display: none !important;
	background: var(--mpsy-card) !important;
	border: 1px solid var(--mpsy-line) !important;
	border-radius: 14px !important;
	padding: 1rem 1.1rem 1.05rem !important;
	margin: 0 0 0.75rem !important;
	box-shadow: 0 4px 14px rgba(16, 42, 40, 0.04);
}

.mpsy-branded .eachques.mpsy-on {
	display: block !important;
}

.mpsy-branded .eachques .number {
	margin: 0 0 0.75rem !important;
	line-height: 1.7 !important;
	clear: both;
	text-align: right !important;
	direction: rtl;
}

.mpsy-branded .eachquesnumber {
	display: inline-block;
	background: var(--mpsy-soft);
	color: var(--mpsy-accent);
	font-weight: 800;
	font-size: 0.82rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	margin-left: 0.35rem;
}

.mpsy-branded .eachquestext {
	font-weight: 600;
	color: var(--mpsy-ink);
	font-size: 0.98rem;
	text-align: right;
}

/* Options — RTL cards; desktop = one row */
.mpsy-branded .moderncard {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 0.45rem !important;
	width: 100% !important;
	clear: both;
	margin-top: 0.15rem;
	direction: rtl;
}

.mpsy-branded .moderncard label {
	display: block !important;
	position: relative !important;
	margin: 0 !important;
	cursor: pointer;
	flex: 1 1 0 !important;
	min-width: 0 !important;
}

/* Visually hidden — avoid width/height:0 (can break radio exclusivity in some browsers). */
.mpsy-branded .moderncard .radio-input {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.mpsy-branded .moderncard .box {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px;
	width: 100% !important;
	height: auto;
	box-sizing: border-box !important;
	padding: 0.65rem 0.7rem !important;
	border-radius: 12px !important;
	border: 1.5px solid var(--mpsy-line) !important;
	background: var(--mpsy-option-bg, #f7fbf9) !important;
	color: var(--mpsy-ink) !important;
	font-weight: 400 !important;
	font-size: 0.88rem !important;
	line-height: 1.55 !important;
	text-align: right !important;
	direction: rtl;
	transition: 0.15s ease;
	min-height: 46px;
	overflow: visible !important;
}

.mpsy-branded .moderncard .box::before {
	content: '' !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	border-radius: 50% !important;
	border: 2px solid #b7cfc4 !important;
	background: #fff !important;
	box-shadow: none !important;
	order: -1; /* stays on the right in RTL */
}

.mpsy-branded .moderncard label:hover .box {
	border-color: var(--mpsy-accent) !important;
	background: var(--mpsy-soft) !important;
}

.mpsy-branded .moderncard .radio-input:checked + .box,
.mpsy-branded .moderncard label:has(.radio-input:checked) .box,
.mpsy-branded .moderncard label.is-selected .box {
	border-color: var(--mpsy-accent) !important;
	background: var(--mpsy-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mpsy-accent) 22%, transparent);
	color: #fff !important;
}

.mpsy-branded .moderncard .radio-input:checked + .box::before,
.mpsy-branded .moderncard label:has(.radio-input:checked) .box::before,
.mpsy-branded .moderncard label.is-selected .box::before {
	border-color: #fff !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 3px var(--mpsy-accent) !important;
}

/* Unselected must never inherit the filled look from a sibling. */
.mpsy-branded .moderncard label:not(.is-selected):not(:has(.radio-input:checked)):not(:hover) .box {
	background: var(--mpsy-option-bg, #f7fbf9) !important;
	color: var(--mpsy-ink) !important;
	box-shadow: none;
}

.mpsy-branded .moderncard label:not(.is-selected):not(:has(.radio-input:checked)) .box::before {
	border-color: #b7cfc4 !important;
	background: #fff !important;
	box-shadow: none !important;
}

/* Tablet/mobile: keep short option sets on one row (2–5 opts, e.g. Cattell / Holland / Likert) */
@media screen and (max-width: 991px) {
	.mpsy-branded .moderncard {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 0.4rem !important;
	}

	.mpsy-branded .moderncard label {
		flex: 1 1 0 !important;
		min-width: 0 !important;
	}

	.mpsy-branded .moderncard .box {
		padding: 0.55rem 0.45rem !important;
		font-size: 0.8rem !important;
		gap: 6px;
		min-height: 42px;
	}

	.mpsy-branded .moderncard .box::before {
		flex: 0 0 14px !important;
		width: 14px !important;
		height: 14px !important;
	}

	/* Long option lists (6+) may wrap to two rows if needed */
	.mpsy-branded .moderncard.mpsy-opts-6,
	.mpsy-branded .moderncard.mpsy-opts-7,
	.mpsy-branded .moderncard.mpsy-opts-8 {
		flex-wrap: wrap !important;
	}

	.mpsy-branded .moderncard.mpsy-opts-6 label,
	.mpsy-branded .moderncard.mpsy-opts-7 label,
	.mpsy-branded .moderncard.mpsy-opts-8 label {
		flex: 1 1 calc(33.333% - 0.4rem) !important;
	}
}

@media screen and (max-width: 640px) {
	.mpsy-branded .moderncard.mpsy-opts-2,
	.mpsy-branded .moderncard.mpsy-opts-3,
	.mpsy-branded .moderncard.mpsy-opts-4,
	.mpsy-branded .moderncard.mpsy-opts-5 {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
	}

	.mpsy-branded .moderncard .box {
		padding: 0.5rem 0.4rem !important;
		font-size: 0.76rem !important;
		justify-content: center !important;
		text-align: center !important;
	}
}

/*
 * MBTI — گزینه‌ها جملات بلند هستند؛ چیدمان افقی باعث کش آمدن باکس و بریده شدن متن می‌شود.
 * لیست عمودی تمام‌عرض، ارتفاع خودکار، تراز وسط رادیو+متن.
 */
#test-mbti.mpsy-branded .moderncard,
.mpsy-branded#test-mbti .moderncard {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 0.55rem !important;
	width: 100% !important;
	margin-top: 0.35rem;
}

#test-mbti.mpsy-branded .moderncard label,
.mpsy-branded#test-mbti .moderncard label {
	display: block !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

#test-mbti.mpsy-branded .moderncard .box,
.mpsy-branded#test-mbti .moderncard .box {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.75rem !important;
	width: 100% !important;
	height: auto !important;
	min-height: 48px !important;
	max-height: none !important;
	padding: 0.85rem 1rem !important;
	font-size: 0.92rem !important;
	font-weight: 400 !important;
	line-height: 1.75 !important;
	text-align: right !important;
	direction: rtl;
	overflow: visible !important;
	white-space: normal !important;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
	box-sizing: border-box !important;
}

#test-mbti.mpsy-branded .moderncard .box::before,
.mpsy-branded#test-mbti .moderncard .box::before {
	content: '' !important;
	flex: 0 0 20px !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	align-self: center !important;
	margin: 0 !important;
	order: -1;
}

#test-mbti.mpsy-branded .eachques .number,
.mpsy-branded#test-mbti .eachques .number {
	margin-bottom: 0.85rem !important;
}

#test-mbti.mpsy-branded .eachquestext,
.mpsy-branded#test-mbti .eachquestext {
	display: block;
	margin-top: 0.35rem;
	line-height: 1.75 !important;
}

#test-mbti.mpsy-branded .eachquestext:empty,
.mpsy-branded#test-mbti .eachquestext:empty {
	display: none !important;
	margin: 0 !important;
}

@media screen and (max-width: 640px) {
	#test-mbti.mpsy-branded .moderncard,
	.mpsy-branded#test-mbti .moderncard {
		flex-direction: column !important;
		gap: 0.45rem !important;
	}

	#test-mbti.mpsy-branded .moderncard .box,
	.mpsy-branded#test-mbti .moderncard .box {
		padding: 0.75rem 0.85rem !important;
		font-size: 0.88rem !important;
		justify-content: flex-start !important;
		text-align: right !important;
		min-height: 44px !important;
	}
}

/* DISC — 4 phrase cards always in one row */
.mpsy-branded #disc-test.mpsy-disc,
.mpsy-branded .mpsy-disc {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0.65rem !important;
	width: 100% !important;
	margin-top: 0.35rem;
	direction: rtl;
	text-align: right;
	align-items: stretch;
	flex-direction: unset !important;
	flex-wrap: nowrap !important;
}

.mpsy-branded .mpsy-disc-choice {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
	padding: 0.7rem 0.65rem;
	border: 1.5px solid var(--mpsy-line);
	border-radius: 14px;
	background: #fff;
	box-sizing: border-box;
}

.mpsy-branded .mpsy-disc-item {
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1.45;
	text-align: center;
	color: var(--mpsy-ink);
	min-height: 2.9em;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.15rem 0.2rem 0.35rem;
	border-bottom: 1px dashed var(--mpsy-line);
	margin: 0 0 0.15rem;
}

.mpsy-branded .mpsy-disc-pick {
	display: block !important;
	position: relative !important;
	margin: 0 !important;
	cursor: pointer;
	flex: 0 0 auto !important;
	width: 100% !important;
	min-width: 0 !important;
}

.mpsy-branded .mpsy-disc .radio-input {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
	width: 0 !important;
	height: 0 !important;
}

.mpsy-branded .mpsy-disc .box {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 0.55rem 0.5rem !important;
	border-radius: 10px !important;
	border: 1.5px solid var(--mpsy-line) !important;
	background: var(--mpsy-option-bg, #f7fbf9) !important;
	color: var(--mpsy-ink) !important;
	font-weight: 400 !important;
	font-size: 0.82rem !important;
	line-height: 1.35 !important;
	text-align: center !important;
	direction: rtl;
	transition: 0.15s ease;
	min-height: 42px;
	white-space: normal !important;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.mpsy-branded .mpsy-disc .box::before {
	content: '' !important;
	flex: 0 0 16px !important;
	width: 16px !important;
	height: 16px !important;
	border-radius: 50% !important;
	border: 2px solid #b7cfc4 !important;
	background: #fff !important;
	box-shadow: none !important;
}

.mpsy-branded .mpsy-disc-pick:hover .box {
	border-color: var(--mpsy-accent) !important;
	background: var(--mpsy-soft) !important;
}

.mpsy-branded .mpsy-disc .radio-input:checked + .box,
.mpsy-branded .mpsy-disc-pick:has(.radio-input:checked) .box {
	border-color: var(--mpsy-accent) !important;
	background: var(--mpsy-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--mpsy-accent) 22%, transparent);
	color: #fff !important;
}

.mpsy-branded .mpsy-disc .radio-input:checked + .box::before,
.mpsy-branded .mpsy-disc-pick:has(.radio-input:checked) .box::before {
	border-color: #fff !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 3px var(--mpsy-accent) !important;
}

.mpsy-branded .mpsy-disc-pick--most .box {
	border-color: color-mix(in srgb, var(--mpsy-accent) 35%, var(--mpsy-line)) !important;
}

/* بدترین توصیف — زمینه قرمز روشن + متن قرمز روشن‌تر */
.mpsy-branded .mpsy-disc-pick--least .box {
	background: #ffe4e4 !important;
	border-color: #ff6b6b !important;
	color: #e11d48 !important;
}

.mpsy-branded .mpsy-disc-pick--least .box::before {
	border-color: #ff6b6b !important;
	background: #fff !important;
}

.mpsy-branded .mpsy-disc-pick--least:hover .box {
	background: #ffd0d0 !important;
	border-color: #ff4757 !important;
	color: #be123c !important;
}

.mpsy-branded .mpsy-disc-pick--least .radio-input:checked + .box,
.mpsy-branded .mpsy-disc-pick--least:has(.radio-input:checked) .box {
	background: #ff4757 !important;
	border-color: #e11d48 !important;
	color: #fff !important;
	box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.28);
}

.mpsy-branded .mpsy-disc-pick--least .radio-input:checked + .box::before,
.mpsy-branded .mpsy-disc-pick--least:has(.radio-input:checked) .box::before {
	border-color: #fff !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 3px #ff4757 !important;
}

.mpsy-branded .mpsy-disc .box .icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex: 0 0 auto;
}

@media screen and (max-width: 991px) {
	.mpsy-branded #disc-test.mpsy-disc,
	.mpsy-branded .mpsy-disc {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 0.4rem !important;
	}

	.mpsy-branded .mpsy-disc-choice {
		padding: 0.5rem 0.4rem;
	}

	.mpsy-branded .mpsy-disc-item {
		font-size: 0.78rem;
		min-height: 2.4em;
		padding-bottom: 0.25rem;
	}

	.mpsy-branded .mpsy-disc .box {
		padding: 0.4rem 0.3rem !important;
		font-size: 0.72rem !important;
		min-height: 36px;
		gap: 4px;
	}

	.mpsy-branded .mpsy-disc .box::before {
		flex: 0 0 12px !important;
		width: 12px !important;
		height: 12px !important;
	}
}

@media screen and (max-width: 560px) {
	.mpsy-branded #disc-test.mpsy-disc,
	.mpsy-branded .mpsy-disc {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 0.4rem !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 0.35rem;
		scroll-snap-type: x proximity;
	}

	.mpsy-branded .mpsy-disc-choice {
		flex: 0 0 min(42%, 160px);
		scroll-snap-align: start;
	}

	.mpsy-branded .mpsy-disc-item {
		min-height: 2.2em;
		justify-content: center;
		text-align: center;
		font-size: 0.76rem;
	}

	.mpsy-branded .mpsy-disc .box {
		justify-content: center !important;
		text-align: center !important;
		font-size: 0.7rem !important;
	}
}

/* Nav bar: next (left) — تفسیر (center) — prev (right), max spacing */
.mpsy-branded .mpsy-nav {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	margin-top: 1.1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--mpsy-line);
	direction: ltr;
	box-sizing: border-box;
}

.mpsy-branded .mpsy-nav__slot {
	display: flex;
	align-items: center;
	min-width: 0;
}

.mpsy-branded .mpsy-nav__slot--start {
	justify-content: flex-start;
	grid-column: 1;
}

.mpsy-branded .mpsy-nav__slot--center {
	justify-content: center;
	grid-column: 2;
}

.mpsy-branded .mpsy-nav__slot--end {
	justify-content: flex-end;
	grid-column: 3;
}

.mpsy-branded .mpsy-nav-btn,
.mpsy-branded .nextpage,
.mpsy-branded .prevpage,
.mpsy-branded #finish-test,
.mpsy-branded .showres,
.mpsy-branded .nextques,
.mpsy-branded .prevques {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.45em !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 0.85rem 1.5rem !important;
	min-height: 48px !important;
	min-width: 140px !important;
	max-width: 100%;
	background: var(--mpsy-accent) !important;
	background-image: none !important;
	color: var(--mpsy-button-text, #ffffff) !important;
	border: 2px solid var(--mpsy-accent) !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	line-height: 1.45 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	cursor: pointer !important;
	box-shadow: none !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	clear: none !important;
	user-select: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

/* تفسیر — رنگ متمایز (کهربایی) */
.mpsy-branded .mpsy-nav-btn--interpret {
	background: #c45c26 !important;
	border-color: #c45c26 !important;
	color: #fff !important;
	min-width: 120px !important;
}

.mpsy-branded .mpsy-nav-btn--interpret:hover {
	background: #a34a1c !important;
	border-color: #a34a1c !important;
	color: #fff !important;
	filter: none;
}

.mpsy-branded .mpsy-nav-btn--interpret:active {
	background: #c45c26 !important;
	border-color: #c45c26 !important;
	filter: brightness(0.92);
}

.mpsy-branded .mpsy-nav-icon {
	display: inline-block !important;
	width: 0.5em !important;
	height: 0.5em !important;
	border-style: solid !important;
	border-width: 0 2.5px 2.5px 0 !important;
	border-color: currentColor !important;
	flex-shrink: 0;
	box-sizing: border-box;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

.mpsy-branded .mpsy-nav-icon--next {
	transform: rotate(135deg); /* ← */
}

.mpsy-branded .mpsy-nav-icon--back {
	transform: rotate(-45deg); /* → */
}

/* Native Pluginoo finish control stays in last card but is never shown in multi-page nav mode */
.mpsy-branded .mpsy-finish-native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
}

/* —— Modal: در حال آماده‌سازی تفسیر —— */
body.mpsy-interpret-loading-open {
	overflow: hidden;
}

.mpsy-interpret-loading {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mpsy-interpret-loading.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.mpsy-interpret-loading[hidden] {
	display: none !important;
}

.mpsy-interpret-loading.is-open[hidden] {
	display: flex !important;
}

.mpsy-interpret-loading__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 42, 40, 0.45);
	backdrop-filter: blur(3px);
}

.mpsy-interpret-loading__dialog {
	position: relative;
	z-index: 1;
	width: min(340px, 100%);
	padding: 1.75rem 1.5rem 1.6rem;
	border-radius: 18px;
	background: linear-gradient(165deg, #ffffff 0%, #f3faf7 100%);
	border: 1px solid #d0e4da;
	box-shadow: 0 18px 48px rgba(16, 42, 40, 0.18);
	text-align: center;
	direction: rtl;
	font-family: Tahoma, "Vazirmatn", "IRANSansX", sans-serif;
}

.mpsy-interpret-loading__title {
	margin: 1rem 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #102a28;
	line-height: 1.5;
}

.mpsy-interpret-loading__sub {
	margin: 0;
	font-size: 0.88rem;
	color: #5a736c;
	line-height: 1.55;
}

/* Soft “calculation” icon */
.mpsy-calc {
	position: relative;
	width: 72px;
	height: 72px;
	margin: 0 auto;
}

.mpsy-calc__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid transparent;
	box-sizing: border-box;
}

.mpsy-calc__ring--a {
	border-top-color: #0b6e4f;
	border-right-color: rgba(11, 110, 79, 0.25);
	animation: mpsy-calc-spin 1.8s linear infinite;
}

.mpsy-calc__ring--b {
	inset: 10px;
	border-bottom-color: #c45c26;
	border-left-color: rgba(196, 92, 38, 0.28);
	animation: mpsy-calc-spin-rev 2.4s linear infinite;
}

.mpsy-calc__core {
	position: absolute;
	inset: 22px;
	border-radius: 50%;
	background: linear-gradient(145deg, #e8f5ef, #fff);
	border: 1px solid #d0e4da;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.mpsy-calc__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #0b6e4f;
	opacity: 0.35;
	animation: mpsy-calc-pulse 1.2s ease-in-out infinite;
}

.mpsy-calc__dot:nth-child(2) {
	animation-delay: 0.2s;
	background: #08a045;
}

.mpsy-calc__dot:nth-child(3) {
	animation-delay: 0.4s;
	background: #c45c26;
}

.mpsy-calc__spark {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #0b6e4f;
	opacity: 0;
	animation: mpsy-calc-spark 2.2s ease-in-out infinite;
}

.mpsy-calc__spark--1 {
	top: 4px;
	left: 50%;
	margin-left: -3px;
}

.mpsy-calc__spark--2 {
	bottom: 8px;
	right: 8px;
	background: #c45c26;
	animation-delay: 0.7s;
}

.mpsy-calc__spark--3 {
	bottom: 10px;
	left: 10px;
	background: #08a045;
	animation-delay: 1.3s;
}

@keyframes mpsy-calc-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes mpsy-calc-spin-rev {
	to {
		transform: rotate(-360deg);
	}
}

@keyframes mpsy-calc-pulse {
	0%,
	100% {
		opacity: 0.3;
		transform: scale(0.85);
	}
	50% {
		opacity: 1;
		transform: scale(1.15);
	}
}

@keyframes mpsy-calc-spark {
	0%,
	100% {
		opacity: 0;
		transform: scale(0.4);
	}
	40% {
		opacity: 0.85;
		transform: scale(1);
	}
	70% {
		opacity: 0;
		transform: scale(0.6);
	}
}

/* —— Modal: عضویت / ورود / مشخصات —— */
body.mpsy-gate-modal-open {
	overflow: hidden;
}

.mpsy-gate-modal {
	position: fixed;
	inset: 0;
	z-index: 100020;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mpsy-gate-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.mpsy-gate-modal[hidden] {
	display: none !important;
}

.mpsy-gate-modal.is-open[hidden] {
	display: flex !important;
}

.mpsy-gate-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 42, 40, 0.48);
	backdrop-filter: blur(3px);
	cursor: pointer;
}

.mpsy-gate-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(440px, 100%);
	padding: 1.55rem 1.4rem 1.35rem;
	border-radius: 18px;
	background: linear-gradient(165deg, #ffffff 0%, #f3faf7 100%);
	border: 1px solid #d0e4da;
	box-shadow: 0 18px 48px rgba(16, 42, 40, 0.2);
	text-align: center;
	direction: rtl;
	font-family: Tahoma, "Vazirmatn", "IRANSansX", sans-serif;
}

.mpsy-gate-modal__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 0.85rem;
	border-radius: 50%;
	border: 1px solid #d0e4da;
	background: linear-gradient(145deg, #e8f5ef, #fff);
	position: relative;
}

.mpsy-gate-modal__icon--auth::before,
.mpsy-gate-modal__icon--profile::before {
	content: "";
	position: absolute;
	inset: 17px;
	border: 2px solid #0b6e4f;
	border-radius: 50%;
	box-sizing: border-box;
}

.mpsy-gate-modal__icon--auth::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 14px;
	width: 14px;
	height: 10px;
	margin-left: -7px;
	border: 2px solid #0b6e4f;
	border-top: 0;
	border-radius: 0 0 4px 4px;
	box-sizing: border-box;
}

.mpsy-gate-modal__icon--profile::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 14px;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-radius: 50%;
	background: #0b6e4f;
}

.mpsy-gate-modal__title {
	margin: 0 0 0.45rem;
	font-size: 1.1rem;
	color: #102a28;
}

.mpsy-gate-modal__msg {
	margin: 0 0 1rem;
	color: #5a736c;
	font-size: 0.92rem;
	line-height: 1.7;
}

.mpsy-gate-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-bottom: 0.65rem;
}

.mpsy-gate-modal__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.1rem;
	border-radius: 12px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	font-family: inherit;
	box-sizing: border-box;
}

.mpsy-gate-modal__btn--primary {
	background: #0b6e4f;
	border-color: #0b6e4f;
	color: #fff;
}

.mpsy-gate-modal__btn--primary:hover {
	background: #08a045;
	border-color: #08a045;
	color: #fff;
}

.mpsy-gate-modal__btn--secondary {
	background: #fff;
	border-color: #0b6e4f;
	color: #0b6e4f;
}

.mpsy-gate-modal__btn--secondary:hover {
	background: #e8f5ef;
	color: #0b6e4f;
}

.mpsy-gate-modal__link {
	appearance: none;
	border: 0;
	background: transparent;
	color: #5a736c;
	font-size: 0.85rem;
	cursor: pointer;
	font-family: inherit;
	text-decoration: underline;
	padding: 0.35rem;
}

.mpsy-gate-form {
	text-align: right;
}

.mpsy-gate-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.65rem;
	margin-bottom: 0.65rem;
}

.mpsy-gate-form label {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #102a28;
}

.mpsy-gate-form input,
.mpsy-gate-form select {
	min-height: 42px;
	padding: 0.45rem 0.65rem;
	border: 1.5px solid #d0e4da;
	border-radius: 10px;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 400;
	background: #fff;
	color: #102a28;
	box-sizing: border-box;
	width: 100%;
}

.mpsy-gate-form input:focus,
.mpsy-gate-form select:focus {
	outline: none;
	border-color: #0b6e4f;
	box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.15);
}

.mpsy-gate-form__error {
	margin: 0 0 0.65rem;
	color: #b91c1c;
	font-size: 0.88rem;
	text-align: center;
}

.mpsy-gate-form__submit {
	width: 100%;
}

.mpsy-gate-form--org .mpsy-gate-form__row:last-of-type {
	grid-template-columns: 1fr;
}

@media screen and (max-width: 520px) {
	.mpsy-gate-form__row {
		grid-template-columns: 1fr;
	}
}

/* —— Modal: سوالات ناقص —— */
body.mpsy-incomplete-modal-open {
	overflow: hidden;
}

.mpsy-incomplete-modal {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mpsy-incomplete-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.mpsy-incomplete-modal[hidden] {
	display: none !important;
}

.mpsy-incomplete-modal.is-open[hidden] {
	display: flex !important;
}

.mpsy-incomplete-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 42, 40, 0.48);
	backdrop-filter: blur(3px);
	cursor: pointer;
}

.mpsy-incomplete-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(400px, 100%);
	padding: 1.55rem 1.4rem 1.35rem;
	border-radius: 18px;
	background: linear-gradient(165deg, #ffffff 0%, #fff8f5 100%);
	border: 1px solid #f0d7cf;
	box-shadow: 0 18px 48px rgba(16, 42, 40, 0.2);
	text-align: center;
	direction: rtl;
	font-family: Tahoma, "Vazirmatn", "IRANSansX", sans-serif;
}

.mpsy-incomplete-modal__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 0.85rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #ffe8e0, #ffd4c8);
	border: 1px solid #f5c4b4;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mpsy-incomplete-modal__mark {
	font-size: 1.55rem;
	font-weight: 800;
	color: #c2410c;
	line-height: 1;
}

.mpsy-incomplete-modal__title {
	margin: 0 0 0.4rem;
	font-size: 1.08rem;
	font-weight: 800;
	color: #102a28;
	line-height: 1.45;
}

.mpsy-incomplete-modal__msg {
	margin: 0 0 0.85rem;
	font-size: 0.9rem;
	color: #5a736c;
	line-height: 1.7;
}

.mpsy-incomplete-modal__list-label {
	margin: 0 0 0.45rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: #9a3412;
}

.mpsy-incomplete-modal__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0 0 1.1rem;
	max-height: 7.5rem;
	overflow-y: auto;
}

.mpsy-incomplete-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #fdba74;
	color: #c2410c;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.3;
}

.mpsy-incomplete-modal__btn {
	appearance: none;
	border: none;
	cursor: pointer;
	min-width: 140px;
	min-height: 44px;
	padding: 0.7rem 1.35rem;
	border-radius: 12px;
	background: #c2410c;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	font-family: inherit;
	transition: background 0.15s ease, filter 0.15s ease;
}

.mpsy-incomplete-modal__btn:hover {
	background: #9a3412;
}

.mpsy-incomplete-modal__btn:focus-visible {
	outline: 2px solid #fdba74;
	outline-offset: 2px;
}

.mpsy-branded .eachques.mpsy-ques-focus {
	border-color: #fb923c !important;
	box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.28) !important;
	animation: mpsy-ques-pulse 1.1s ease-in-out 2;
}

@keyframes mpsy-ques-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.22);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(251, 146, 60, 0.38);
	}
}

.mpsy-branded .mpsy-nav-btn.mpsy-is-hidden,
.mpsy-branded .nextpage.mpsy-is-hidden,
.mpsy-branded .prevpage.mpsy-is-hidden,
.mpsy-branded #finish-test.mpsy-is-hidden,
.mpsy-branded .mpsy-finish-proxy.mpsy-is-hidden,
.mpsy-branded .showres.mpsy-is-hidden,
.mpsy-branded .nextques.mpsy-is-hidden,
.mpsy-branded .prevques.mpsy-is-hidden {
	display: none !important;
}

.mpsy-branded .mpsy-nav-btn:hover,
.mpsy-branded .nextpage:hover,
.mpsy-branded .prevpage:hover,
.mpsy-branded #finish-test:hover,
.mpsy-branded .showres:hover,
.mpsy-branded .nextques:hover,
.mpsy-branded .prevques:hover {
	background: var(--mpsy-accent-2) !important;
	background-image: none !important;
	border-color: var(--mpsy-accent-2) !important;
	color: var(--mpsy-button-text, #ffffff) !important;
	filter: none;
}

.mpsy-branded .mpsy-nav-btn--interpret:hover {
	background: #a34a1c !important;
	border-color: #a34a1c !important;
}

.mpsy-branded .mpsy-nav-btn:active,
.mpsy-branded .nextpage:active,
.mpsy-branded .prevpage:active,
.mpsy-branded #finish-test:active,
.mpsy-branded .showres:active {
	background: var(--mpsy-accent) !important;
	border-color: var(--mpsy-accent) !important;
	filter: brightness(0.92);
}

.mpsy-branded .mpsy-nav-btn span,
.mpsy-branded .nextpage span,
.mpsy-branded .prevpage span,
.mpsy-branded #finish-test span,
.mpsy-branded .showres span,
.mpsy-branded .nextques span,
.mpsy-branded .prevques span {
	display: inline !important;
	color: inherit !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	font: inherit !important;
	line-height: inherit !important;
	white-space: normal !important;
	opacity: 1 !important;
	visibility: visible !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
}

/* Details + result */
.mpsy-branded #details-input {
	background: #fff;
	border: 1px solid var(--mpsy-line);
	border-radius: 14px;
	padding: 1rem 1.1rem;
	margin: 1rem 0;
}

.mpsy-branded #details-input .form-group {
	margin-bottom: 0.75rem;
}

.mpsy-branded #details-input input,
.mpsy-branded #details-input select {
	width: 100%;
	max-width: 100%;
	padding: 0.55rem 0.7rem;
	border: 1px solid var(--mpsy-line);
	border-radius: 10px;
	box-sizing: border-box;
}

.mpsy-branded #test-result:not(:empty) {
	background: #fff;
	border: 1px solid var(--mpsy-line);
	border-radius: 14px;
	padding: 1.1rem 1.25rem;
	line-height: 1.85;
	margin-top: 1rem;
}

.mpsy-branded #test-result img.testinsideimg {
	max-width: 220px;
	display: block;
	margin: 1rem auto;
}

.mpsy-result-wrap {
	line-height: 1.85;
}

.mpsy-result-type {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	color: var(--mpsy-accent);
}

.mpsy-branded #test-result .mpsy-result-wrap img.testinsideimg {
	max-width: 220px;
	display: block;
	margin: 1rem auto;
}

/* —— MBTI modern paired dimension rings —— */
.mpsy-mbti-dims {
	margin: 1.75rem 0 0.5rem;
	padding: 1.15rem 1rem 1.35rem;
	border-radius: 18px;
	background:
		radial-gradient(600px 180px at 100% 0%, color-mix(in srgb, var(--mpsy-accent-2, #08a045) 12%, transparent), transparent 60%),
		linear-gradient(180deg, var(--mpsy-page-bg, #f4faf7) 0%, #fff 55%);
	border: 1px solid var(--mpsy-line, #d0e4da);
}

.mpsy-mbti-dims-head {
	text-align: center;
	margin-bottom: 1.15rem;
}

.mpsy-mbti-dims-head h3 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-mbti-dims-head p {
	margin: 0.35rem 0 0;
	color: var(--mpsy-muted, #5a736c);
	font-size: 0.9rem;
}

.mpsy-mbti-pairs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.35rem;
}

@media (min-width: 720px) {
	.mpsy-mbti-pairs {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem 1.25rem;
	}
}

.mpsy-mbti-pair {
	--p1: 50;
	--p2: 50;
	--c1: #0b6e4f;
	--c2: #08a045;
	--mpsy-delay: 0s;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--c1) 22%, #e8eef2);
	border-radius: 16px;
	padding: 1rem 0.85rem 1.1rem;
	box-shadow: 0 10px 28px rgba(16, 42, 40, 0.06);
	opacity: 0;
	transform: translateY(18px) scale(0.98);
	transition:
		opacity 0.55s ease var(--mpsy-delay),
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--mpsy-delay);
}

.mpsy-mbti-pair.is-in {
	opacity: 1;
	transform: none;
}

.mpsy-mbti-pair-title {
	text-align: center;
	font-weight: 800;
	font-size: 0.92rem;
	color: var(--c1);
	margin-bottom: 0.75rem;
	letter-spacing: -0.01em;
}

.mpsy-mbti-pair-body {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.35rem;
}

.mpsy-mbti-donut {
	position: relative;
	width: 132px;
	height: 132px;
	margin: 0 auto;
}

.mpsy-mbti-donut-svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
}

.mpsy-mbti-donut-track {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 11;
}

.mpsy-mbti-donut-arc {
	fill: none;
	stroke-width: 11;
	stroke-linecap: butt;
	transform: rotate(-90deg);
	transform-origin: 60px 60px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 1.05s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--mpsy-delay) + 0.15s);
}

.mpsy-arc-a {
	stroke: var(--c1);
}

.mpsy-arc-b {
	stroke: var(--c2);
	stroke-dashoffset: calc(var(--p1) * -1);
	transition:
		stroke-dasharray 1.05s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--mpsy-delay) + 0.28s),
		stroke-dashoffset 0s;
}

.mpsy-mbti-pair.is-in .mpsy-arc-a {
	stroke-dasharray: var(--p1) 100;
}

.mpsy-mbti-pair.is-in .mpsy-arc-b {
	stroke-dasharray: var(--p2) 100;
}

.mpsy-mbti-donut-core {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.mpsy-mbti-donut-letter {
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1;
	color: var(--c1);
	opacity: 0;
	transform: scale(0.7);
	transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--mpsy-delay) + 0.45s);
}

.mpsy-mbti-donut-pct {
	margin-top: 0.15rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--mpsy-muted, #5a736c);
	opacity: 0;
	transition: opacity 0.4s ease calc(var(--mpsy-delay) + 0.55s);
}

.mpsy-mbti-pair.is-in .mpsy-mbti-donut-letter,
.mpsy-mbti-pair.is-in .mpsy-mbti-donut-pct {
	opacity: 1;
	transform: none;
}

.mpsy-mbti-pole {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.mpsy-mbti-pole-start {
	text-align: right;
	align-items: flex-end;
}

.mpsy-mbti-pole-end {
	text-align: left;
	align-items: flex-start;
}

.mpsy-mbti-pole-letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 999px;
	font-weight: 800;
	font-size: 0.8rem;
	color: #fff;
	background: var(--c1);
}

.mpsy-mbti-pole-end .mpsy-mbti-pole-letter {
	background: var(--c2);
}

.mpsy-mbti-pole-label {
	font-weight: 700;
	font-size: 0.86rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-mbti-pole-en {
	font-size: 0.72rem;
	color: var(--mpsy-muted, #5a736c);
	direction: ltr;
	unicode-bidi: isolate;
}

.mpsy-mbti-pole-pct {
	margin-top: 0.15rem;
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--c1);
	font-variant-numeric: tabular-nums;
}

.mpsy-mbti-pole-end .mpsy-mbti-pole-pct {
	color: var(--c2);
}

@media (max-width: 520px) {
	.mpsy-mbti-donut {
		width: 112px;
		height: 112px;
	}

	.mpsy-mbti-pole-en {
		display: none;
	}

	.mpsy-mbti-pole-label {
		font-size: 0.78rem;
	}
}

/* —— MSQ satisfaction gauge —— */
.mpsy-msq-panel {
	--msq-color: #ca8a04;
	--msq-score: 50;
	margin: 0 0 1.5rem;
	padding: 1.2rem 1.1rem 1.35rem;
	border-radius: 18px;
	border: 1px solid color-mix(in srgb, var(--msq-color) 28%, #e8eef2);
	background:
		radial-gradient(500px 160px at 0% 0%, color-mix(in srgb, var(--msq-color) 16%, transparent), transparent 55%),
		linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mpsy-msq-panel.is-in {
	opacity: 1;
	transform: none;
}

.mpsy-msq-head {
	text-align: center;
	margin-bottom: 1rem;
}

.mpsy-msq-head h3 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-msq-head p {
	margin: 0.35rem 0 0;
	color: var(--mpsy-muted, #5a736c);
	font-size: 0.9rem;
}

.mpsy-msq-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.25rem 1.75rem;
	margin-bottom: 1.25rem;
}

.mpsy-msq-gauge {
	position: relative;
	width: 150px;
	height: 150px;
}

.mpsy-msq-gauge-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-msq-gauge-track {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 12;
}

.mpsy-msq-gauge-arc {
	fill: none;
	stroke: var(--msq-color);
	stroke-width: 12;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 60px 60px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.mpsy-msq-panel.is-in .mpsy-msq-gauge-arc {
	stroke-dasharray: var(--msq-score) 100;
}

.mpsy-msq-gauge-core {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.mpsy-msq-gauge-score {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--msq-color);
}

.mpsy-msq-gauge-of {
	margin-top: 0.2rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-msq-level {
	max-width: 16rem;
	text-align: right;
}

.mpsy-msq-level-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--msq-color) 18%, #fff);
	color: var(--msq-color);
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 0.45rem;
}

.mpsy-msq-level p {
	margin: 0;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.7;
	font-size: 0.95rem;
}

.mpsy-msq-facets h4 {
	margin: 0 0 0.75rem;
	text-align: center;
	font-size: 0.95rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-msq-facet-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem 0.65rem;
}

@media (max-width: 640px) {
	.mpsy-msq-facet-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.mpsy-msq-facet {
	--p: 50;
	text-align: center;
}

.mpsy-msq-facet-ring {
	position: relative;
	width: 72px;
	height: 72px;
	margin: 0 auto 0.35rem;
}

.mpsy-msq-facet-ring svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-msq-facet-ring .trk {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 8;
}

.mpsy-msq-facet-ring .arc {
	fill: none;
	stroke: var(--mpsy-accent, #0b6e4f);
	stroke-width: 8;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 36px 36px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.mpsy-msq-panel.is-in .mpsy-msq-facet-ring .arc {
	stroke-dasharray: var(--p) 100;
}

.mpsy-msq-facet-ring span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-msq-facet-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.35;
}

/* —— EQ-i Bar-On profile —— */
.mpsy-eq-panel {
	--eq-color: #0b6e4f;
	--eq-score: 50;
	margin: 0 0 1.5rem;
	padding: 1.2rem 1.1rem 1.35rem;
	border-radius: 18px;
	border: 1px solid color-mix(in srgb, var(--eq-color) 26%, #e8eef2);
	background:
		radial-gradient(520px 160px at 100% 0%, color-mix(in srgb, var(--eq-color) 14%, transparent), transparent 55%),
		linear-gradient(180deg, #fff 0%, #f7faf8 100%);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mpsy-eq-panel.is-in {
	opacity: 1;
	transform: none;
}

.mpsy-eq-head {
	text-align: center;
	margin-bottom: 1rem;
}

.mpsy-eq-head h3 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-eq-head p {
	margin: 0.35rem 0 0;
	color: var(--mpsy-muted, #5a736c);
	font-size: 0.9rem;
}

.mpsy-eq-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.25rem 1.75rem;
	margin-bottom: 1.35rem;
}

.mpsy-eq-gauge {
	position: relative;
	width: 150px;
	height: 150px;
}

.mpsy-eq-gauge-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-eq-gauge-track {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 12;
}

.mpsy-eq-gauge-arc {
	fill: none;
	stroke: var(--eq-color);
	stroke-width: 12;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 60px 60px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.mpsy-eq-panel.is-in .mpsy-eq-gauge-arc {
	stroke-dasharray: var(--eq-score) 100;
}

.mpsy-eq-gauge-core {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.mpsy-eq-gauge-score {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--eq-color);
}

.mpsy-eq-gauge-of {
	margin-top: 0.2rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-eq-level {
	max-width: 17rem;
	text-align: right;
}

.mpsy-eq-level-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--eq-color) 16%, #fff);
	color: var(--eq-color);
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 0.45rem;
}

.mpsy-eq-level p {
	margin: 0;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.7;
	font-size: 0.95rem;
}

.mpsy-eq-composites,
.mpsy-eq-scales {
	margin-top: 0.35rem;
}

.mpsy-eq-composites h4,
.mpsy-eq-scales h4,
.mpsy-eq-detail-head h4 {
	margin: 0 0 0.75rem;
	text-align: center;
	font-size: 0.95rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-eq-comp-list {
	display: grid;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
}

.mpsy-eq-comp {
	--p: 50;
}

.mpsy-eq-comp-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.3rem;
	font-size: 0.88rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-eq-comp-meta strong {
	color: var(--eq-color);
	font-variant-numeric: tabular-nums;
}

.mpsy-eq-comp-track {
	height: 10px;
	border-radius: 999px;
	background: #e8eef2;
	overflow: hidden;
}

.mpsy-eq-comp-fill {
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--mpsy-accent, #0b6e4f), var(--eq-color));
	transition: width 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.mpsy-eq-panel.is-in .mpsy-eq-comp-fill {
	width: calc(var(--p) * 1%);
}

.mpsy-eq-scale-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.85rem 0.5rem;
	margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
	.mpsy-eq-scale-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 560px) {
	.mpsy-eq-scale-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.mpsy-eq-scale {
	--p: 50;
	text-align: center;
}

.mpsy-eq-scale-ring {
	position: relative;
	width: 70px;
	height: 70px;
	margin: 0 auto 0.35rem;
}

.mpsy-eq-scale-ring svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-eq-scale-ring .trk {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 8;
}

.mpsy-eq-scale-ring .arc {
	fill: none;
	stroke: var(--mpsy-accent, #0b6e4f);
	stroke-width: 8;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 36px 36px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.mpsy-eq-panel.is-in .mpsy-eq-scale-ring .arc {
	stroke-dasharray: var(--p) 100;
}

.mpsy-eq-scale-ring span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-eq-scale-label {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.35;
}

.mpsy-eq-detail-head {
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--mpsy-line, #d0e4da);
}

.mpsy-branded #test-result .mpsy-eq-panel + h3,
.mpsy-branded #test-result .mpsy-eq-panel ~ h3 {
	margin-top: 1.25rem;
	color: var(--mpsy-ink, #102a28);
}

/* —— SEI Coopersmith profile —— */
.mpsy-sei-panel {
	--sei-color: #ca8a04;
	--sei-score: 50;
	margin: 0 0 1.5rem;
	padding: 1.2rem 1.1rem 1.35rem;
	border-radius: 18px;
	border: 1px solid color-mix(in srgb, var(--sei-color) 26%, #e8eef2);
	background:
		radial-gradient(520px 160px at 0% 0%, color-mix(in srgb, var(--sei-color) 14%, transparent), transparent 55%),
		linear-gradient(180deg, #fff 0%, #f8faf8 100%);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mpsy-sei-panel.is-in {
	opacity: 1;
	transform: none;
}

.mpsy-sei-head {
	text-align: center;
	margin-bottom: 1rem;
}

.mpsy-sei-head h3 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-sei-head p {
	margin: 0.35rem 0 0;
	color: var(--mpsy-muted, #5a736c);
	font-size: 0.9rem;
}

.mpsy-sei-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.25rem 1.75rem;
	margin-bottom: 1.35rem;
}

.mpsy-sei-gauge {
	position: relative;
	width: 150px;
	height: 150px;
}

.mpsy-sei-gauge-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-sei-gauge-track {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 12;
}

.mpsy-sei-gauge-arc {
	fill: none;
	stroke: var(--sei-color);
	stroke-width: 12;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 60px 60px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.mpsy-sei-panel.is-in .mpsy-sei-gauge-arc {
	stroke-dasharray: var(--sei-score) 100;
}

.mpsy-sei-gauge-core {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.mpsy-sei-gauge-score {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--sei-color);
}

.mpsy-sei-gauge-of {
	margin-top: 0.2rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-sei-level {
	max-width: 17rem;
	text-align: right;
}

.mpsy-sei-level-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--sei-color) 16%, #fff);
	color: var(--sei-color);
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 0.45rem;
}

.mpsy-sei-level p {
	margin: 0;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.7;
	font-size: 0.95rem;
}

.mpsy-sei-domains h4,
.mpsy-sei-detail-head h4 {
	margin: 0 0 0.75rem;
	text-align: center;
	font-size: 0.95rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-sei-domain-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.85rem 0.5rem;
	margin-bottom: 0.5rem;
}

@media (max-width: 800px) {
	.mpsy-sei-domain-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 520px) {
	.mpsy-sei-domain-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.mpsy-sei-domain {
	--p: 50;
	text-align: center;
}

.mpsy-sei-domain-ring {
	position: relative;
	width: 72px;
	height: 72px;
	margin: 0 auto 0.35rem;
}

.mpsy-sei-domain-ring svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-sei-domain-ring .trk {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 8;
}

.mpsy-sei-domain-ring .arc {
	fill: none;
	stroke: var(--mpsy-accent, #0b6e4f);
	stroke-width: 8;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 36px 36px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.mpsy-sei-panel.is-in .mpsy-sei-domain-ring .arc {
	stroke-dasharray: var(--p) 100;
}

.mpsy-sei-domain-ring span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 800;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-sei-domain-label {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.35;
}

.mpsy-sei-detail-head {
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--mpsy-line, #d0e4da);
}

.mpsy-sei-lie-note {
	margin: 1rem 0;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid #fde68a;
	background: #fffbeb;
	color: #92400e;
	line-height: 1.7;
}

.mpsy-branded #test-result .mpsy-sei-panel ~ h3 {
	margin-top: 1.25rem;
	color: var(--mpsy-ink, #102a28);
}

/* —— OCQ organizational commitment —— */
.mpsy-ocq-panel {
	--ocq-color: #ca8a04;
	--ocq-score: 50;
	margin: 0 0 1.5rem;
	padding: 1.2rem 1.1rem 1.35rem;
	border-radius: 18px;
	border: 1px solid color-mix(in srgb, var(--ocq-color) 26%, #e8eef2);
	background:
		radial-gradient(520px 160px at 100% 0%, color-mix(in srgb, var(--ocq-color) 14%, transparent), transparent 55%),
		linear-gradient(180deg, #fff 0%, #f7faf9 100%);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mpsy-ocq-panel.is-in {
	opacity: 1;
	transform: none;
}

.mpsy-ocq-head {
	text-align: center;
	margin-bottom: 1rem;
}

.mpsy-ocq-head h3 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-ocq-head p {
	margin: 0.35rem 0 0;
	color: var(--mpsy-muted, #5a736c);
	font-size: 0.9rem;
}

.mpsy-ocq-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.25rem 1.75rem;
	margin-bottom: 1.35rem;
}

.mpsy-ocq-gauge {
	position: relative;
	width: 150px;
	height: 150px;
}

.mpsy-ocq-gauge-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-ocq-gauge-track {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 12;
}

.mpsy-ocq-gauge-arc {
	fill: none;
	stroke: var(--ocq-color);
	stroke-width: 12;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 60px 60px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.mpsy-ocq-panel.is-in .mpsy-ocq-gauge-arc {
	stroke-dasharray: var(--ocq-score) 100;
}

.mpsy-ocq-gauge-core {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.mpsy-ocq-gauge-score {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--ocq-color);
}

.mpsy-ocq-gauge-of {
	margin-top: 0.2rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-ocq-level {
	max-width: 17rem;
	text-align: right;
}

.mpsy-ocq-level-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ocq-color) 16%, #fff);
	color: var(--ocq-color);
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 0.45rem;
}

.mpsy-ocq-level p {
	margin: 0;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.7;
	font-size: 0.95rem;
}

.mpsy-ocq-scales h4,
.mpsy-ocq-detail-head h4 {
	margin: 0 0 0.75rem;
	text-align: center;
	font-size: 0.95rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-ocq-scale-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem 0.65rem;
	margin-bottom: 0.5rem;
}

@media (max-width: 520px) {
	.mpsy-ocq-scale-grid {
		grid-template-columns: 1fr;
		max-width: 220px;
		margin-left: auto;
		margin-right: auto;
	}
}

.mpsy-ocq-scale {
	--p: 50;
	text-align: center;
}

.mpsy-ocq-scale-ring {
	position: relative;
	width: 84px;
	height: 84px;
	margin: 0 auto 0.4rem;
}

.mpsy-ocq-scale-ring svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mpsy-ocq-scale-ring .trk {
	fill: none;
	stroke: #e8eef2;
	stroke-width: 8;
}

.mpsy-ocq-scale-ring .arc {
	fill: none;
	stroke: var(--mpsy-accent, #0b6e4f);
	stroke-width: 8;
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 36px 36px;
	stroke-dasharray: 0 100;
	transition: stroke-dasharray 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.mpsy-ocq-panel.is-in .mpsy-ocq-scale-ring .arc {
	stroke-dasharray: var(--p) 100;
}

.mpsy-ocq-scale-ring span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 800;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-ocq-scale-label {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--mpsy-muted, #5a736c);
	line-height: 1.35;
}

.mpsy-ocq-detail-head {
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--mpsy-line, #d0e4da);
}

.mpsy-branded #test-result .mpsy-ocq-panel ~ h3 {
	margin-top: 1.25rem;
	color: var(--mpsy-ink, #102a28);
}

/* Cattell 16PF profile */
.mpsy-cattell-result {
	direction: rtl;
	text-align: right;
}

.mpsy-cattell-summary {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: color-mix(in srgb, var(--cattell-chart, #3fbde7) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--cattell-chart, #3fbde7) 28%, #e5e7eb);
}

.mpsy-cattell-result #cattell-profile {
	width: 100%;
	max-width: 860px;
	margin: 1.25rem auto;
}

.mpsy-cattell-result #cattell-profile .cattell-maincols {
	gap: 0.35rem;
}

.mpsy-cattell-result #cattell-profile .mpsy-cattell-pole-head {
	height: 20px;
	line-height: 20px;
	font-weight: 700;
	font-size: 12px;
	margin: 0;
}

.mpsy-cattell-result #cattell-profile .col-selected .intcol {
	background: color-mix(in srgb, var(--profile-dot, #3fbde7) 22%, #fff);
	border: 2px solid var(--profile-dot, #3fbde7);
}

.mpsy-cattell-result #cattell-profile .col-selected .intcol::after {
	background: var(--profile-dot, #3fbde7);
}

.mpsy-cattell-result #cattell-profile .col .intcol {
	border: 1px solid #cbd5e1;
	background: #fff;
}

.mpsy-cattell-mini {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0.45rem 0 0.75rem;
}

.mpsy-cattell-mini-track {
	flex: 1;
	height: 10px;
	border-radius: 999px;
	background: #e8eef3;
	overflow: hidden;
}

.mpsy-cattell-mini-fill {
	display: block;
	height: 100%;
	width: var(--p, 50%);
	max-width: 100%;
	border-radius: inherit;
	background: var(--c, #3fbde7);
	transition: width 0.25s ease;
}

.mpsy-cattell-mini span {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--mpsy-ink, #102a28);
	white-space: nowrap;
}

.mpsy-cattell-result h3 {
	margin-top: 1.35rem;
	color: var(--mpsy-ink, #102a28);
}

/* Holland RIASEC */
.mpsy-holland-result {
	direction: rtl;
	text-align: right;
}

.mpsy-holland-panel {
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem 1.2rem;
	border-radius: 16px;
	border: 1px solid var(--mpsy-line, #d0e4da);
	background: linear-gradient(180deg, #f7fbf9 0%, #fff 65%);
}

.mpsy-holland-panel-head h3 {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-holland-panel-head p {
	margin: 0;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-holland-panel-visual {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0.85rem 0 0.5rem;
}

.mpsy-holland-panel-hero,
.mpsy-holland-radar-wrap {
	display: flex;
	justify-content: center;
}

.mpsy-holland-diagram {
	display: block !important;
	width: 120px !important;
	max-width: 120px !important;
	height: auto !important;
	margin: 0 auto !important;
}

.mpsy-holland-radar {
	display: block;
	max-width: 100%;
	height: auto;
}

.mpsy-holland-table-wrap {
	overflow-x: auto;
	margin-top: 0.85rem;
}

.mpsy-holland-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.mpsy-holland-table th,
.mpsy-holland-table td {
	padding: 0.55rem 0.45rem;
	border-bottom: 1px solid #e5e7eb;
	text-align: right;
	vertical-align: middle;
}

.mpsy-holland-table th {
	font-weight: 800;
	color: var(--mpsy-ink, #102a28);
	background: #f8fafc;
}

.mpsy-holland-row.is-top td {
	background: color-mix(in srgb, var(--mpsy-accent, #0d9488) 8%, #fff);
	font-weight: 700;
}

.mpsy-holland-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.75rem;
	border-radius: 8px;
	background: var(--h-c, #0d9488);
	color: #fff;
	font-weight: 800;
}

.mpsy-holland-bar {
	height: 10px;
	border-radius: 999px;
	background: #e8eef3;
	overflow: hidden;
	min-width: 80px;
}

.mpsy-holland-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--h-c, #0d9488);
}

.mpsy-holland-code-graph {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0.75rem 0;
	justify-content: flex-start;
}

.mpsy-holland-code-badge {
	--h-c: #0d9488;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: 0.1rem 0.55rem;
	align-items: center;
	min-width: 7.5rem;
	padding: 0.55rem 0.7rem;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--h-c) 35%, #fff);
	background: color-mix(in srgb, var(--h-c) 12%, #fff);
}

.mpsy-holland-code-letter {
	grid-row: 1 / span 2;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 10px;
	background: var(--h-c);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mpsy-holland-code-rank {
	font-size: 0.72rem;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-holland-code-name {
	font-weight: 700;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-holland-top-list {
	margin: 0.5rem 0 1rem;
	padding-right: 1.2rem;
}

.mpsy-holland-top-list li {
	margin: 0.25rem 0;
	font-weight: 600;
}

.mpsy-holland-summary p,
.mpsy-holland-detail p {
	line-height: 1.85;
	margin: 0 0 0.85rem;
}

.mpsy-holland-detail h3 {
	margin: 1.1rem 0 0.55rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-holland-detail ul,
.mpsy-holland-detail ol {
	margin: 0 0 1rem;
	padding-right: 1.2rem;
	line-height: 1.7;
}

@media screen and (max-width: 767px) {
	.mpsy-holland-panel-visual {
		flex-direction: column;
	}
}

/* Gardner MII */
.mpsy-mii-result {
	direction: rtl;
	text-align: right;
}

.mpsy-mii-panel {
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem 1.2rem;
	border-radius: 16px;
	border: 1px solid var(--mpsy-line, #d0e4da);
	background: linear-gradient(180deg, #f7fbf9 0%, #fff 65%);
}

.mpsy-mii-panel-head h3 {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-mii-panel-head p {
	margin: 0;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-mii-panel-hero,
.mpsy-mii-summary .mpsy-mii-diagram {
	display: flex;
	justify-content: center;
	margin: 0.75rem auto 0.5rem;
}

.mpsy-mii-diagram {
	display: block !important;
	width: 120px !important;
	max-width: 120px !important;
	height: auto !important;
	margin: 0.5rem auto !important;
}

.mpsy-mii-table-wrap {
	overflow-x: auto;
	margin-top: 0.85rem;
}

.mpsy-mii-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.mpsy-mii-table th,
.mpsy-mii-table td {
	padding: 0.55rem 0.45rem;
	border-bottom: 1px solid #e5e7eb;
	text-align: right;
	vertical-align: middle;
}

.mpsy-mii-table th {
	font-weight: 800;
	color: var(--mpsy-ink, #102a28);
	background: #f8fafc;
}

.mpsy-mii-row.is-top td {
	background: color-mix(in srgb, var(--mpsy-accent, #0d9488) 8%, #fff);
	font-weight: 700;
}

.mpsy-mii-bar {
	height: 10px;
	border-radius: 999px;
	background: #e8eef3;
	overflow: hidden;
	min-width: 80px;
}

.mpsy-mii-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--mii-c, #0d9488);
}

.mpsy-mii-rings {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1rem;
}

.mpsy-mii-ring {
	--p: 0;
	--mii-c: #0d9488;
	text-align: center;
	position: relative;
}

.mpsy-mii-ring svg {
	width: 72px;
	height: 72px;
	display: block;
	margin: 0 auto;
	transform: rotate(-90deg);
}

.mpsy-mii-ring .trk {
	fill: none;
	stroke: #e8eef3;
	stroke-width: 7;
}

.mpsy-mii-ring .arc {
	fill: none;
	stroke: var(--mii-c);
	stroke-width: 7;
	stroke-linecap: round;
	stroke-dasharray: var(--p) 100;
}

.mpsy-mii-ring > span {
	position: absolute;
	inset: 22px 0 auto;
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-mii-ring-label {
	margin-top: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--mpsy-muted, #5a736c);
}

.mpsy-mii-summary,
.mpsy-mii-detail {
	margin-top: 1rem;
}

.mpsy-mii-summary p,
.mpsy-mii-detail p {
	line-height: 1.85;
	margin: 0 0 0.85rem;
}

.mpsy-mii-top-list {
	margin: 0.5rem 0 1rem;
	padding-right: 1.2rem;
}

.mpsy-mii-top-list li {
	margin: 0.25rem 0;
	font-weight: 600;
}

.mpsy-mii-detail h3 {
	margin: 1.1rem 0 0.55rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-mii-detail ul,
.mpsy-mii-detail ol {
	margin: 0 0 1rem;
	padding-right: 1.2rem;
	line-height: 1.7;
}

@media screen and (max-width: 767px) {
	.mpsy-mii-rings {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Shared bar charts */
.mpsy-bars {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0.75rem 0 1rem;
}

.mpsy-bar-row {
	display: grid;
	grid-template-columns: minmax(7rem, 32%) 1fr;
	gap: 0.55rem;
	align-items: center;
}

.mpsy-bar-label {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--mpsy-ink, #102a28);
	text-align: right;
}

.mpsy-bar-track {
	height: 12px;
	border-radius: 999px;
	background: #e8eef3;
	overflow: hidden;
}

.mpsy-bar-fill {
	height: 100%;
	border-radius: inherit;
	background: var(--bar-accent, var(--mpsy-accent, #0d9488));
	min-width: 2px;
}

/* DISC result */
.mpsy-disc-result {
	direction: rtl;
	text-align: right;
}

.mpsy-disc-panel {
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem 1.15rem;
	border-radius: 16px;
	border: 1px solid var(--mpsy-line, #d0e4da);
	background: linear-gradient(180deg, #f7fbf9 0%, #fff 70%);
}

.mpsy-disc-panel-head h3 {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-disc-panel-head p {
	margin: 0;
	color: var(--mpsy-muted, #5a736c);
	font-size: 0.95rem;
}

.mpsy-disc-panel-hero {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0.65rem auto 0.25rem;
	max-width: 200px;
	width: 100%;
}

.mpsy-disc-hero-img,
.mpsy-branded #test-result .mpsy-disc-hero-img,
.mpsy-branded #test-result .mpsy-disc-panel-hero img,
.mpsy-branded #test-result .mpsy-disc-result img.testinsideimg,
.mpsy-branded #test-result .mpsy-disc-body > p > img {
	display: block !important;
	width: 168px !important;
	max-width: 168px !important;
	height: auto !important;
	margin: 0.35rem auto 0.65rem !important;
}

.mpsy-disc-score-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	margin-top: 0.85rem;
}

.mpsy-disc-score {
	padding: 0.7rem 0.75rem;
	border-radius: 12px;
	border: 1.5px solid color-mix(in srgb, var(--disc-c, #0d9488) 28%, #e5e7eb);
	background: #fff;
}

.mpsy-disc-score.is-main {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--disc-c) 18%, transparent);
}

.mpsy-disc-score-letter {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--disc-c, #0d9488);
	line-height: 1;
}

.mpsy-disc-score-meta {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	align-items: baseline;
	margin: 0.35rem 0 0.45rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-disc-score-track {
	height: 10px;
	border-radius: 999px;
	background: #eef2f5;
	overflow: hidden;
}

.mpsy-disc-score-fill {
	height: 100%;
	width: calc(var(--p, 0) * 1%);
	border-radius: inherit;
	background: var(--disc-c, #0d9488);
}

.mpsy-disc-body {
	margin-top: 0.5rem;
}

.mpsy-disc-body h2 {
	font-size: 1.2rem;
	margin: 0 0 0.65rem;
	color: var(--mpsy-ink, #102a28);
}

.mpsy-disc-body > p:first-of-type,
.mpsy-disc-body h2 + p {
	font-weight: 700;
	color: var(--mpsy-accent, #0d9488);
}

.mpsy-disc-body p {
	line-height: 1.85;
	margin: 0 0 0.85rem;
	color: var(--mpsy-ink, #1f2937);
}

.mpsy-disc-chars {
	margin: 1.25rem 0;
	padding: 1rem 1.1rem;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.mpsy-disc-chars h2 {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
}

.mpsy-disc-chars ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.35rem 0.75rem;
	margin: 0;
	padding: 0 1.1rem 0 0;
	list-style: disc;
}

.mpsy-disc-chars li {
	margin: 0;
	line-height: 1.55;
	font-size: 0.92rem;
}

.mpsy-disc-graphs {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--mpsy-line, #d0e4da);
}

.mpsy-disc-graphs h2,
.mpsy-disc-graphs h3 {
	color: var(--mpsy-ink, #102a28);
}

.mpsy-disc-chart {
	margin: 0.75rem 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	background: #fff;
}

.mpsy-disc-chart-cap {
	margin: 0 0 0.55rem;
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--bar-accent, #0d9488);
}

@media screen and (max-width: 640px) {
	.mpsy-disc-score-grid,
	.mpsy-disc-chars ul {
		grid-template-columns: 1fr;
	}

	.mpsy-bar-row {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}
}






