.pspft-root[hidden] {
	display: none !important;
}

.pspft-root {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	padding: 32px;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	opacity: 0;
	transition: opacity 160ms ease;
}

.pspft-root--open {
	opacity: 1;
}

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

.pspft-root__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.42);
}

.pspft-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(720px, 100%);
	max-height: min(90vh, calc(100dvh - 64px));
	margin: 0;
	overflow: hidden;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 12px 42px rgba(0, 0, 0, 0.08);
	transform: translateY(10px);
	transition: transform 160ms ease;
}

.pspft-root--open .pspft-dialog {
	transform: translateY(0);
}

.pspft-dialog__header {
	display: flex;
	flex: 0 0 auto;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	padding: 36px 40px 28px;
	border-bottom: 1px solid #d9d9d9;
	background: #fff;
}

.pspft-dialog__header > div {
	min-width: 0;
}

.pspft-dialog__title,
.pspft-result__title,
.pspft-lead__title {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
}

.pspft-dialog__title {
	font-size: 28px;
}

.pspft-dialog__intro {
	max-width: 560px;
	margin: 10px 0 0;
	color: #5f5f5f;
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.5;
}

.pspft-root .pspft-close {
	position: relative;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	margin: -8px -10px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: #000;
	opacity: 1;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: opacity 140ms ease, background-color 140ms ease;
}

.pspft-close__icon {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 24px;
	height: 24px;
	transform: translate(-50%, -50%);
}

.pspft-close__icon::before,
.pspft-close__icon::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 24px;
	height: 1.5px;
	background: currentColor;
	content: "";
	transform: translate(-50%, -50%) rotate(45deg);
}

.pspft-close__icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.pspft-root .pspft-close:hover,
.pspft-root .pspft-close:active,
.pspft-root .pspft-close:focus {
	border: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: #000;
}

.pspft-root .pspft-close:hover {
	opacity: 0.58;
}

.pspft-root .pspft-close:focus {
	outline: 0;
}

.pspft-root .pspft-close:focus-visible {
	outline: 1.5px solid #000;
	outline-offset: 2px;
	opacity: 1;
}

.pspft-root .pspft-close:disabled {
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #8a8a8a;
	opacity: 0.65;
	cursor: not-allowed;
}

.pspft-dialog__content {
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 30px 40px 40px;
	background: #fff;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	-webkit-overflow-scrolling: touch;
}

.pspft-progress-text {
	margin: 0 0 10px;
	color: #5f5f5f;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.4;
}

.pspft-progress {
	width: 100%;
	height: 1.5px;
	margin: 0 0 32px;
	overflow: hidden;
	background: #d9d9d9;
}

.pspft-progress__bar {
	display: block;
	height: 100%;
	background: #000;
	transition: width 150ms ease;
}

.pspft-question {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.pspft-question__text {
	max-width: 640px;
	margin: 0 0 27px;
	padding: 0;
	color: #000;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.42;
	letter-spacing: 0;
}

.pspft-answers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.pspft-answer {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.pspft-answer input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.pspft-answer span {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 14px 18px 14px 50px;
	border: 1px solid #bdbdbd;
	border-radius: 0;
	background: #fff;
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.pspft-answer span::before,
.pspft-answer span::after {
	position: absolute;
	top: 50%;
	left: 19px;
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}

.pspft-answer span::before {
	width: 17px;
	height: 17px;
	border: 1px solid #777;
	background: transparent;
}

.pspft-answer span::after {
	left: 24.5px;
	width: 6px;
	height: 6px;
	background: #000;
	opacity: 0;
}

.pspft-answer:hover span {
	border-color: #000;
}

.pspft-answer input:checked + span {
	border-color: #000;
	background: #000;
	color: #fff;
	font-weight: 500;
}

.pspft-answer input:checked + span::before {
	border-color: #fff;
}

.pspft-answer input:checked + span::after {
	background: #fff;
	opacity: 1;
}

.pspft-answer input:focus + span {
	outline: 0;
}

.pspft-answer input:focus-visible + span {
	outline: 1.5px solid #000;
	outline-offset: 3px;
}

.pspft-status,
.pspft-form-status {
	margin: 14px 0 0;
	color: #6f1d1d;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
}

.pspft-status:empty,
.pspft-form-status:empty {
	display: none;
}

.pspft-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 38px;
	padding-top: 24px;
	border-top: 1px solid #d9d9d9;
}

.pspft-root .pspft-button {
	min-height: 50px;
	padding: 13px 28px;
	border: 1px solid #000;
	border-radius: 0;
	box-shadow: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: opacity 140ms ease, background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.pspft-root .pspft-button--primary,
.pspft-root .pspft-button--primary:hover,
.pspft-root .pspft-button--primary:focus,
.pspft-root .pspft-button--primary:active {
	border-color: #000;
	background: #000;
	background-color: #000;
	box-shadow: none;
	color: #fff;
}

.pspft-root .pspft-button--primary:hover {
	opacity: 0.74;
}

.pspft-root .pspft-button--secondary,
.pspft-root .pspft-button--secondary:hover,
.pspft-root .pspft-button--secondary:focus,
.pspft-root .pspft-button--secondary:active {
	border-color: #000;
	background: #fff;
	background-color: #fff;
	box-shadow: none;
	color: #000;
}

.pspft-root .pspft-button--secondary:hover {
	background: #f5f5f5;
	background-color: #f5f5f5;
}

.pspft-root .pspft-button:focus {
	outline: 0;
}

.pspft-root .pspft-button:focus-visible {
	outline: 1.5px solid #000;
	outline-offset: 3px;
}

.pspft-root .pspft-button:disabled,
.pspft-root .pspft-button:disabled:hover,
.pspft-root .pspft-button:disabled:focus {
	border-color: #d0d0d0;
	background: #ececec;
	background-color: #ececec;
	box-shadow: none;
	color: #737373;
	opacity: 1;
	cursor: not-allowed;
}

.pspft-root .pspft-back:disabled {
	display: none;
}

.pspft-root .pspft-back:disabled + .pspft-next {
	margin-left: auto;
}

.pspft-result {
	max-width: 640px;
}

.pspft-result__title {
	font-size: 28px;
}

.pspft-result__text,
.pspft-result__signature,
.pspft-result__score {
	max-width: 600px;
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}

.pspft-result__text {
	margin: 18px 0 0;
}

.pspft-result__signature {
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid #d9d9d9;
	color: #5f5f5f;
	font-size: 15px;
	white-space: normal;
}

.pspft-result__score {
	margin: 16px 0 0;
	color: #5f5f5f;
	font-size: 14px;
}

.pspft-lead {
	margin-top: 34px;
	padding-top: 30px;
	border-top: 1px solid #d9d9d9;
}

.pspft-lead__title {
	margin-bottom: 24px;
	font-size: 22px;
}

.pspft-field {
	margin-bottom: 18px;
}

.pspft-field label {
	display: block;
	margin-bottom: 7px;
	color: #000;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.4;
}

.pspft-root .pspft-field input {
	display: block;
	width: 100%;
	height: 50px;
	min-height: 50px;
	padding: 11px 13px;
	border: 1px solid #bdbdbd;
	border-radius: 0;
	background: #fff;
	background-color: #fff;
	box-shadow: none;
	color: #000;
	font: 400 16px/1.3 Arial, Helvetica, sans-serif;
	appearance: none;
	-webkit-appearance: none;
}

.pspft-root .pspft-field input::placeholder {
	color: #8a8a8a;
	opacity: 1;
}

.pspft-root .pspft-field input:hover {
	border-color: #777;
}

.pspft-root .pspft-field input:focus {
	border-color: #000;
	outline: 1px solid #000;
	outline-offset: -1px;
	box-shadow: none;
	color: #000;
}

.pspft-field--honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.pspft-consent {
	margin: 3px 0 20px;
}

.pspft-consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #5f5f5f;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}

.pspft-root .pspft-consent input {
	position: relative;
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 1px 0 0;
	border: 1px solid #777;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.pspft-root .pspft-consent input:checked {
	border-color: #000;
	background: #000;
}

.pspft-root .pspft-consent input:checked::after {
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 1.5px 1.5px 0;
	content: "";
	transform: rotate(45deg);
}

.pspft-root .pspft-consent input:focus {
	outline: 0;
}

.pspft-root .pspft-consent input:focus-visible {
	outline: 1.5px solid #000;
	outline-offset: 3px;
}

.pspft-consent a {
	color: #000;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.pspft-consent a:hover {
	opacity: 0.65;
}

.pspft-consent a:focus-visible,
.pspft-restart:focus-visible {
	outline: 1.5px solid #000;
	outline-offset: 3px;
}

.pspft-root .pspft-submit {
	width: 100%;
}

.pspft-lead__sent {
	margin: 0;
	padding: 24px 0 4px;
	border-top: 1px solid #d9d9d9;
	color: #000;
	font-size: 16px;
	line-height: 1.55;
}

.pspft-root .pspft-restart {
	margin: 30px 0 0;
	padding: 3px 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: #000;
	font: 400 14px/1.4 Arial, Helvetica, sans-serif;
	text-decoration: none;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.pspft-root .pspft-restart:hover,
.pspft-root .pspft-restart:focus,
.pspft-root .pspft-restart:active {
	border: 0;
	border-bottom: 1px solid currentColor;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: #000;
	opacity: 0.62;
}

.pspft-root .pspft-restart:focus {
	outline: 0;
}

.pspft-root .pspft-restart:focus-visible {
	outline: 1.5px solid #000;
	outline-offset: 3px;
	opacity: 1;
}

.pspft-noscript {
	display: none;
	margin: 0;
	font: 16px/1.5 Arial, Helvetica, sans-serif;
}

html.pspft-scroll-locked,
body.pspft-scroll-locked {
	overflow: hidden !important;
}

body.admin-bar .pspft-root {
	top: 32px;
}

@media (max-width: 767px) {
	.pspft-root {
		padding: 0;
	}

	.pspft-dialog {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: none;
		border: 0;
	}

	body.admin-bar .pspft-dialog {
		height: calc(100vh - 46px);
		height: calc(100dvh - 46px);
	}

	.pspft-dialog__header {
		gap: 16px;
		padding: calc(22px + env(safe-area-inset-top)) calc(22px + env(safe-area-inset-right)) 22px calc(22px + env(safe-area-inset-left));
	}

	.pspft-dialog__title {
		font-size: 25px;
	}

	.pspft-dialog__intro {
		max-width: 290px;
		margin-top: 8px;
		font-size: 15px;
		line-height: 1.5;
	}

	.pspft-root .pspft-close {
		margin: -8px -9px 0 0;
	}

	.pspft-dialog__content {
		flex: 1 1 auto;
		padding: 24px calc(22px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(22px + env(safe-area-inset-left));
		scrollbar-gutter: auto;
	}

	.pspft-progress {
		margin-bottom: 27px;
	}

	.pspft-question__text {
		margin-bottom: 23px;
		font-size: 20px;
		line-height: 1.42;
	}

	.pspft-answers {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.pspft-answer span {
		min-height: 56px;
	}

	.pspft-navigation {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-top: 30px;
		padding-top: 20px;
	}

	.pspft-root .pspft-next {
		order: 1;
		width: 100%;
	}

	.pspft-root .pspft-back {
		order: 2;
		align-self: center;
		min-height: 44px;
		padding: 10px 8px 8px;
		border: 0;
		border-bottom: 1px solid currentColor;
		background: transparent;
		background-color: transparent;
		text-decoration: none;
	}

	.pspft-root .pspft-back:hover,
	.pspft-root .pspft-back:focus,
	.pspft-root .pspft-back:active {
		border: 0;
		border-bottom: 1px solid currentColor;
		background: transparent;
		background-color: transparent;
		color: #000;
	}

	.pspft-result__title {
		font-size: 25px;
	}

	.pspft-result__text {
		margin-top: 16px;
	}

	.pspft-lead {
		margin-top: 30px;
		padding-top: 26px;
	}

	.pspft-lead__title {
		font-size: 21px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .pspft-root {
		top: 46px;
	}
}

@media (max-width: 360px), (max-height: 650px) and (max-width: 767px) {
	.pspft-dialog__header {
		padding-top: calc(18px + env(safe-area-inset-top));
		padding-right: calc(18px + env(safe-area-inset-right));
		padding-bottom: 18px;
		padding-left: calc(18px + env(safe-area-inset-left));
	}

	.pspft-dialog__title {
		font-size: 24px;
	}

	.pspft-dialog__intro {
		font-size: 15px;
		line-height: 1.45;
	}

	.pspft-dialog__content {
		padding-top: 20px;
		padding-right: calc(18px + env(safe-area-inset-right));
		padding-bottom: calc(20px + env(safe-area-inset-bottom));
		padding-left: calc(18px + env(safe-area-inset-left));
	}

	.pspft-progress {
		margin-bottom: 24px;
	}

	.pspft-question__text {
		margin-bottom: 20px;
		font-size: 19px;
	}

	.pspft-navigation {
		margin-top: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pspft-root,
	.pspft-dialog,
	.pspft-progress__bar,
	.pspft-answer span,
	.pspft-root .pspft-button,
	.pspft-root .pspft-close {
		transition: none;
	}
}
