body.dst-profile-survey-active {
	background: #841625 url('/wp-content/uploads/2026/03/grain.png') repeat;
	overflow: hidden;
}

body.dst-profile-survey-active .entry-title,
body.dst-profile-survey-active .page-title,
body.dst-profile-survey-active .wp-block-post-title,
body.dst-profile-survey-active .site-header,
body.dst-profile-survey-active #masthead {
	display: none;
}

.dst-profile-survey-root {
	--dst-survey-nav-clearance: calc(96px + 72px + env(safe-area-inset-bottom, 0px));
	position: fixed;
	inset: 0;
	z-index: 90;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	min-height: 0;
	margin: 0 auto;
	padding: 108px 20px max(140px, var(--dst-survey-nav-clearance));
	align-items: flex-start;
	justify-content: center;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-padding-bottom: max(120px, var(--dst-survey-nav-clearance));
	overscroll-behavior: contain;
	background: #841625 url('/wp-content/uploads/2026/03/grain.png') repeat;
	color: #fefaef;
	font-family: 'Lora', serif;
}

.dst-profile-survey-loading,
.dst-profile-survey-notice {
	margin: 24px 0;
	color: #fefaef;
	font-size: 16px;
}

.dst-profile-survey-notice--error {
	color: rgba(255, 210, 210, 0.95);
}

.dst-profile-survey {
	display: flex;
	width: 100%;
	max-width: 640px;
	min-height: 0;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: flex-start;
	color: #fefaef;
}

.dst-profile-survey-progress {
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 100;
	display: flex;
	width: 100%;
	max-width: 640px;
	box-sizing: border-box;
	flex-direction: column;
	gap: 4px;
	align-items: stretch;
	padding: 20px;
	transform: translateX(-50%);
	background: transparent;
}

body.admin-bar .dst-profile-survey-progress {
	top: 32px;
}

body.admin-bar .dst-profile-survey-root {
	padding-top: 140px;
}

.dst-profile-survey-progress::before {
	content: '';
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: -1;
	height: 108px;
	background: #841625 url('/wp-content/uploads/2026/03/grain.png') repeat;
}

body.admin-bar .dst-profile-survey-progress::before {
	top: -32px;
	height: 140px;
}

.dst-profile-survey-progress__bars {
	display: flex;
	width: 100%;
	gap: 4px;
}

.dst-profile-survey-progress__segment {
	position: relative;
	flex: 1;
}

.dst-profile-survey-progress__track {
	position: relative;
	width: 100%;
	height: 4px;
	overflow: hidden;
	border-radius: 99px;
	background: rgba(248, 239, 227, 0.2);
}

.dst-profile-survey-progress__fill {
	width: 0%;
	height: 100%;
	border-radius: 99px;
	background: #fefaef;
	transition: width 0.3s ease;
}

.dst-profile-survey-progress__title {
	margin-top: 10px;
	color: rgba(248, 239, 227, 0.9);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.dst-profile-survey__feedback {
	display: none;
	margin-bottom: 22px;
	color: #fefaef;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
}

.dst-profile-survey__feedback.is-error,
.dst-profile-survey__feedback.is-success {
	display: block;
}

.dst-profile-survey__feedback.is-error {
	color: rgba(255, 210, 210, 0.95);
}

.dst-profile-survey__feedback.is-success {
	color: rgba(224, 255, 232, 0.95);
}

.dst-profile-survey__form {
	display: flex;
	min-height: 0;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: flex-start;
}

.dst-profile-survey__step {
	display: flex;
	min-height: 0;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: flex-start;
	padding: 0;
	padding-bottom: 0.5rem;
	margin-bottom: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.dst-profile-survey__step[hidden] {
	display: none;
}

.dst-profile-survey__step.is-active {
	animation: dstProfileSurveySlideIn 0.4s ease-out forwards;
}

@keyframes dstProfileSurveySlideIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dst-profile-survey__step-header {
	display: none;
}

.dst-profile-survey__fields {
	display: grid;
	width: 100%;
	gap: 2rem;
	margin-block: 0;
}

.dst-profile-survey__field {
	display: block;
}

.dst-profile-survey__helper {
	margin: -0.15rem 0 0.6rem;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.75);
}

.dst-profile-survey__label {
	display: block;
	margin-bottom: 0.5rem;
	color: #fefaef;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dst-profile-survey__input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 4px;
	border: 0 !important;
	border-bottom: 1px solid rgba(248, 239, 227, 0.6) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #fefaef;
	font: inherit;
	font-size: 18px;
	font-weight: 500;
	box-shadow: none !important;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.dst-profile-survey__input::placeholder {
	color: rgba(254, 250, 239, 0.6);
}

.dst-profile-survey__input:focus {
	border-color: #fefaef !important;
	outline: none !important;
	box-shadow: 0 1px 0 0 #fefaef !important;
}

textarea.dst-profile-survey__input {
	min-height: 100px;
	resize: vertical;
}

select.dst-profile-survey__input {
	padding-right: 24px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fefaef' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
	cursor: pointer;
}

.dst-profile-survey__field.is-error .dst-profile-survey__input,
.dst-profile-survey__field.is-error .dst-profile-survey__other-input {
	border-color: rgba(255, 155, 155, 0.9) !important;
	box-shadow: 0 1px 0 0 rgba(255, 155, 155, 0.9) !important;
}

.dst-profile-survey__field.is-error .dst-profile-survey__choice-card {
	border-color: rgba(255, 155, 155, 0.9);
}

.dst-profile-survey__field.is-error .dst-profile-survey__choice-badge {
	border-color: rgba(255, 155, 155, 0.9);
	color: rgba(255, 155, 155, 0.9);
}

.dst-profile-survey__choices {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.dst-profile-survey__choice {
	position: relative;
	display: block;
	cursor: pointer;
}

.dst-profile-survey__choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.dst-profile-survey__choice-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border: 1.5px solid rgba(248, 239, 227, 0.4);
	border-radius: 0;
	background: transparent;
	color: #fefaef;
	font: inherit;
	font-weight: 500;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.dst-profile-survey__choice-badge {
	display: inline-flex;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(248, 239, 227, 0.6);
	border-radius: 50%;
	background: transparent;
	color: rgba(248, 239, 227, 0.6);
	font-size: 0.85rem;
	font-weight: 600;
}

.dst-profile-survey__choice-label {
	font-weight: 500;
}

.dst-profile-survey__choice input:checked + .dst-profile-survey__choice-card {
	border-color: #fefaef;
	background: rgba(248, 239, 227, 0.05);
	box-shadow: none;
}

.dst-profile-survey__choice input:checked + .dst-profile-survey__choice-card .dst-profile-survey__choice-badge {
	border-color: #fefaef;
	background: #fefaef;
	color: #841625;
}

.dst-profile-survey__choice input:focus-visible + .dst-profile-survey__choice-card {
	box-shadow: 0 0 0 2px rgba(248, 239, 227, 0.3);
}

.dst-profile-survey__choice:hover .dst-profile-survey__choice-card {
	border-color: rgba(248, 239, 227, 0.8);
}

.dst-profile-survey__other {
	display: grid;
	gap: 16px;
}

.dst-profile-survey__other-input[hidden] {
	display: none;
}

.dst-profile-survey__content {
	display: grid;
	gap: 1rem;
	color: rgba(248, 239, 227, 0.85);
	line-height: 1.7;
}

.dst-profile-survey__content h3 {
	margin: 0;
	color: #fefaef;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.dst-profile-survey__content-body > :first-child {
	margin-top: 0;
}

.dst-profile-survey__content-body > :last-child {
	margin-bottom: 0;
}

.dst-profile-survey__content img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 1px solid rgba(248, 239, 227, 0.2);
	border-radius: 0;
}

.dst-profile-survey__actions {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	display: flex;
	max-width: 640px;
	margin: 0 auto;
	padding: 20px;
	justify-content: space-between;
	gap: 1rem;
	overflow: visible;
	background: #841625 url('/wp-content/uploads/2026/03/grain.png') repeat;
}

.dst-profile-survey__actions::before {
	content: '';
	position: absolute;
	top: -72px;
	right: 0;
	left: 0;
	height: 72px;
	pointer-events: none;
}

.dst-profile-survey__button {
	display: inline-flex;
	min-width: 48px;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	border: none;
	border-radius: 0;
	background: #fefaef;
	color: #841625;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: opacity 0.2s, transform 0.1s;
}

.dst-profile-survey__button svg {
	display: block;
}

.dst-profile-survey__button:hover {
	opacity: 0.9;
}

.dst-profile-survey__button:active {
	transform: scale(0.98);
}

.dst-profile-survey__button:disabled {
	background: rgba(248, 239, 227, 0.3);
	color: rgba(132, 22, 37, 0.5);
	cursor: not-allowed;
	opacity: 0.4;
}

.dst-profile-survey__button[hidden] {
	display: none;
}

.dst-profile-survey__field .iti {
	display: block;
	width: 100%;
}

.dst-profile-survey__field .iti__selected-flag {
	padding: 10px 8px;
	border: none;
	border-right: 1px solid rgba(248, 239, 227, 0.4);
	background: transparent;
}

.dst-profile-survey__field .iti__arrow {
	border-top-color: rgba(248, 239, 227, 0.6);
}

.dst-profile-survey__field .iti--allow-dropdown input {
	padding-left: 70px;
}

.dst-profile-survey__field .iti__country-list {
	border: 1px solid rgba(248, 239, 227, 0.4);
	border-radius: 0;
	background: #6b1826;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dst-profile-survey__field .iti__country {
	padding: 8px 12px;
	color: #fefaef;
}

.dst-profile-survey__field .iti__country:hover,
.dst-profile-survey__field .iti__country--highlight {
	background: rgba(248, 239, 227, 0.15);
}

.dst-profile-survey__field .iti__dial-code {
	color: rgba(248, 239, 227, 0.7);
}

@media (max-width: 782px) {
	body.admin-bar .dst-profile-survey-progress {
		top: 46px;
	}

	body.admin-bar .dst-profile-survey-root {
		padding-top: 154px;
	}

	body.admin-bar .dst-profile-survey-progress::before {
		top: -46px;
		height: 154px;
	}
}

@media (max-width: 640px) {
	.dst-profile-survey-root {
		padding: 108px 20px 112px;
	}

	body.admin-bar .dst-profile-survey-root {
		padding-top: 154px;
	}

	.dst-profile-survey__step {
		padding: 0;
	}

	.dst-profile-survey__fields {
		gap: 1.5rem;
	}

	.dst-profile-survey__label {
		font-size: 1.2rem;
	}

	.dst-profile-survey__input {
		font-size: 16px;
	}

	.dst-profile-survey__actions {
		padding: 16px 20px;
	}

	.dst-profile-survey__button {
		min-height: 48px;
	}
}
