.dementor {
	margin: 0 0 14px;
}

.dementor__veil {
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--teal-soft);
	box-shadow: 0 4px 14px rgba(0, 137, 127, 0.08);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dementor.is-invalid .dementor__veil,
.wpcf7-form-control-wrap.dementor_v.wpcf7-not-valid .dementor__veil {
	border-color: #d63638;
	background: #fff8f8;
	box-shadow: 0 0 0 2px rgba(214, 54, 56, 0.18);
}

.dementor .wpcf7-form-control-wrap.dementor_v {
	display: block;
	width: 100%;
}

.dementor .wpcf7-not-valid-tip {
	display: none;
	margin: 8px 0 0;
	color: #d63638;
	font-size: 0.88rem;
	line-height: 1.35;
	font-weight: 600;
}

.dementor.is-invalid .wpcf7-not-valid-tip,
.wpcf7-form-control-wrap.dementor_v.wpcf7-not-valid .wpcf7-not-valid-tip {
	display: block;
}

.dementor__hint {
	margin: 0 0 12px;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--muted);
}

.dementor__status {
	display: none;
	margin: 0 0 10px;
	font-size: 0.88rem;
	line-height: 1.35;
	color: var(--teal-dark);
}

.dementor--pending .dementor__status,
.dementor--loading .dementor__status {
	display: block;
}

.dementor[data-dementor-ready="1"] .dementor__status {
	display: none;
}

.dementor--loading .dementor__deck {
	min-height: 72px;
	opacity: 0.45;
	pointer-events: none;
}

.dementor__deck {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border-radius: 8px;
	background: var(--white);
	border: 1px dashed var(--line);
}

.dementor__deck li,
.dementor__tile {
	margin: 0;
	padding: 0;
	list-style: none;
	cursor: grab;
	touch-action: none;
	border-radius: 8px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dementor__tile:active,
.dementor__tile.is-dragging {
	cursor: grabbing;
	transform: scale(1.04);
	box-shadow: 0 6px 16px rgba(0, 137, 127, 0.2);
	z-index: 2;
}

.dementor__mark {
	display: block;
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
	border-radius: 8px;
}

.contact-form .dementor + input.wpcf7-submit,
.contact-form .dementor + button.wpcf7-submit {
	margin-top: 0;
}

@media (max-width: 480px) {
	.dementor__deck {
		gap: 8px;
	}

	.dementor__mark {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
	}
}
