/* DoubleCheck AI translation. Scoped to .dcait; inherits the theme's fonts. */

.dcait {
	--dcait-ink: #1d2327;
	--dcait-muted: #50575e;
	--dcait-line: #c3c4c7;
	--dcait-soft: #f6f7f7;
	--dcait-accent: #3c78f0;
	--dcait-accent-dark: #2a5fcc;
	--dcait-ok: #00703c;
	--dcait-ok-soft: #edf7f0;
	--dcait-bad: #b32d2e;
	--dcait-bad-soft: #fcf0f1;
	--dcait-radius: 8px;
	color: var(--dcait-ink);
	max-width: 44rem;
	box-sizing: border-box;
}

.dcait *,
.dcait *::before,
.dcait *::after {
	box-sizing: inherit;
}

.dcait [hidden] {
	display: none !important;
}

.dcait-title {
	margin: 0 0 1rem;
}

.dcait p {
	margin: 0 0 0.75rem;
}

.dcait-help {
	color: var(--dcait-muted);
	font-size: 0.9em;
}

.dcait-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Form fields */

.dcait-form {
	display: grid;
	gap: 1.25rem;
}

.dcait-field label,
.dcait-fieldset legend {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.dcait-fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.dcait input[type=email],
.dcait input[type=text],
.dcait textarea {
	width: 100%;
	font: inherit;
	color: inherit;
	background: #fff;
	border: 1px solid var(--dcait-line);
	border-radius: var(--dcait-radius);
	padding: 0.65rem 0.75rem;
	margin: 0 0 0.35rem;
}

.dcait input:focus-visible,
.dcait textarea:focus-visible,
.dcait summary:focus-visible,
.dcait a:focus-visible,
.dcait button:focus-visible {
	outline: 3px solid var(--dcait-accent);
	outline-offset: 2px;
}

.dcait-choice {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 400 !important;
	margin: 0 0 0.5rem;
	cursor: pointer;
	line-height: 1.5;
}

.dcait-choice input {
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.2rem 0 0;
	accent-color: var(--dcait-accent);
}

.dcait-target {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5rem;
}

.dcait-target legend {
	width: 100%;
}

.dcait-glossary summary {
	cursor: pointer;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.dcait-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: flex-end;
}

.dcait-inline label {
	width: 100%;
}

.dcait-inline input[type=text] {
	flex: 1 1 12rem;
	width: auto;
	margin: 0;
}

/* Drop zone: the real file input stays focusable but invisible; its label is the target. */

.dcait-drop {
	position: relative;
}

.dcait-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.dcait-drop-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 8.5rem;
	padding: 1.25rem;
	text-align: center;
	font-weight: 600;
	border: 2px dashed var(--dcait-line);
	border-radius: var(--dcait-radius);
	background: var(--dcait-soft);
	cursor: pointer;
	margin-bottom: 0.5rem;
	transition: border-color 0.15s, background-color 0.15s;
}

.dcait-drop-label:hover,
.dcait-drop.is-over .dcait-drop-label {
	border-color: var(--dcait-accent);
	background: #fff;
}

.dcait-file-input:focus-visible + .dcait-drop-label {
	outline: 3px solid var(--dcait-accent);
	outline-offset: 2px;
}

.dcait-drop-icon {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--dcait-accent);
	position: relative;
}

.dcait-drop-icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.7rem;
	height: 0.7rem;
	border-left: 3px solid #fff;
	border-top: 3px solid #fff;
	transform: translate(-50%, -25%) rotate(45deg);
}

.dcait-file-summary {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.dcait-file-summary:empty {
	display: none;
}

/* Buttons: explicit, so theme button styles do not leak in. */

.dcait .dcait-button,
.dcait a.dcait-button {
	display: inline-block;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: var(--dcait-accent);
	border: 2px solid var(--dcait-accent);
	border-radius: var(--dcait-radius);
	padding: 0.8rem 1.4rem;
	cursor: pointer;
	justify-self: start;
}

.dcait .dcait-button:hover,
.dcait a.dcait-button:hover {
	color: #fff;
	background: var(--dcait-accent-dark);
	border-color: var(--dcait-accent-dark);
}

.dcait .dcait-button.is-secondary {
	color: var(--dcait-accent);
	background: #fff;
}

.dcait .dcait-button.is-secondary:hover {
	color: #fff;
}

.dcait .dcait-button:disabled {
	opacity: 0.6;
	cursor: progress;
}

.dcait .dcait-link-button {
	font: inherit;
	color: var(--dcait-accent);
	background: none;
	border: 0;
	padding: 0;
	text-decoration: underline;
	cursor: pointer;
}

.dcait .dcait-link-button:hover {
	color: var(--dcait-accent-dark);
	background: none;
}

.dcait-downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Messages */

.dcait-error,
.dcait-note {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--dcait-bad);
	background: var(--dcait-bad-soft);
	border-radius: 0 var(--dcait-radius) var(--dcait-radius) 0;
}

.dcait-status:empty {
	display: none;
}

.dcait-status.is-ok,
.dcait-status.is-completed,
.dcait-status.is-refund-succeeded {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--dcait-ok);
	background: var(--dcait-ok-soft);
}

.dcait-status.is-bad,
.dcait-status.is-failed,
.dcait-status.is-expired,
.dcait-status.is-refund-failed,
.dcait-status.is-refund-requires_action {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--dcait-bad);
	background: var(--dcait-bad-soft);
}

.dcait-form.is-busy .dcait-status::before {
	content: "";
	display: inline-block;
	width: 0.9em;
	height: 0.9em;
	margin-right: 0.5em;
	vertical-align: -0.1em;
	border: 2px solid var(--dcait-line);
	border-top-color: var(--dcait-accent);
	border-radius: 50%;
	animation: dcait-spin 0.8s linear infinite;
}

@keyframes dcait-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dcait-form.is-busy .dcait-status::before {
		animation: none;
	}
}

.dcait-progress {
	width: 100%;
	height: 0.6rem;
	accent-color: var(--dcait-accent);
	margin-bottom: 0.75rem;
}

/* Price */

.dcait-quote {
	padding: 1.25rem;
	border: 1px solid var(--dcait-line);
	border-radius: var(--dcait-radius);
	background: #fff;
}

.dcait-quote:focus {
	outline: none;
}

.dcait-file-list {
	margin: 0 0 0.75rem 1.1rem;
	padding: 0;
	overflow-wrap: anywhere;
}

.dcait-price {
	font-size: 1.35em;
	font-weight: 700;
}

/* FAQ and last-updated line */

.dcait-faq {
	max-width: none;
}

.dcait-faq-q {
	margin: 1.5rem 0 0.4rem;
}

.dcait-updated {
	color: var(--dcait-muted);
	font-size: 0.9em;
	max-width: none;
}

.dcait-verify-result,
.dcait-verify-file {
	margin-top: 1.25rem;
}

/* 1.0.2: upload box and price as cards; FAQ as a grid. */

.dcait-upload {
	max-width: none;
}

.dcait-upload .dcait-form,
.dcait-upload .dcait-quote {
	background: var(--dcait-soft);
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	padding: 1.75rem;
}

.dcait-upload .dcait-drop-label {
	background: #fff;
}

.dcait-upload .dcait-form > .dcait-button {
	width: 100%;
	justify-self: stretch;
	font-size: 1.05em;
	padding: 0.95rem 1.4rem;
}

@media (max-width: 600px) {
	.dcait-upload .dcait-form,
	.dcait-upload .dcait-quote {
		padding: 1.1rem;
	}
}

.dcait-faq-list {
	display: grid;
	gap: 0.5rem 2.5rem;
}

@media (min-width: 900px) {
	.dcait-faq-list {
		grid-template-columns: 1fr 1fr;
	}
}

.dcait-faq-item {
	padding: 1rem 0;
	border-top: 1px solid #e6e8eb;
}

.dcait-faq-item .dcait-faq-q {
	margin: 0 0 0.4rem;
	font-size: 1.05em;
}

.dcait-faq-item .dcait-faq-a {
	margin: 0;
	color: var(--dcait-muted);
}

/* Site font (Poppins; Thai falls back to Noto Sans Thai) and centred FAQ heading. */
.dcait {
	font-family: "Poppins", "Noto Sans Thai", sans-serif;
}

.dcait-faq > h2 {
	text-align: center;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

/* 1.0.4: business tax invoice fields. */
.dcait-business-fields {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.75rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: var(--dcait-radius);
}

.dcait-option .dcait-help {
	margin: 0;
}

.dcait a.dcait-button.is-secondary {
	color: var(--dcait-accent);
	background: #fff;
}

.dcait a.dcait-button.is-secondary:hover {
	color: #fff;
	background: var(--dcait-accent-dark);
}

/* 1.0.6: option 6 upload box. A large drop zone; the other fields open once a file is chosen
   ([data-dcait-more]). The page supplies the white card around it. */

.dcait-upload .dcait-form {
	background: none;
	border: 0;
	padding: 0;
	gap: 0;
}

.dcait-upload .dcait-drop-label {
	gap: 0;
	min-height: 0;
	padding: 2.5rem 1.5rem 2.25rem;
	border: 2.5px dashed #afc6f7;
	border-radius: 16px;
	background: #fafcff;
	font-weight: 400;
	margin: 0;
}

.dcait-upload .dcait-drop-label:hover,
.dcait-upload .dcait-drop.is-over .dcait-drop-label {
	border-color: var(--dcait-accent);
	background: #f3f7ff;
}

.dcait-drop-art {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.1rem;
	margin-bottom: 1.25rem;
}

.dcait-sheet {
	width: 4rem;
	height: 5rem;
	border-radius: 8px;
	background: #fff repeating-linear-gradient(#fff 0 12px, #d9dee5 12px 17px, #fff 17px 23px) content-box;
	border: 1.5px solid #dde1e6;
	padding: 10px 10px 22px;
	box-shadow: 0 6px 14px rgba(9, 42, 113, 0.1);
	transform: rotate(-6deg);
}

.dcait-sheet.is-done {
	background-image: repeating-linear-gradient(#fff 0 12px, #bfd2fa 12px 17px, #fff 17px 23px);
	border-color: #afc6f7;
	transform: rotate(6deg);
	position: relative;
}

.dcait-sheet.is-done::after {
	content: "";
	position: absolute;
	right: 8px;
	bottom: 6px;
	width: 14px;
	height: 14px;
	border: 2px solid var(--dcait-accent);
	border-radius: 50%;
}

.dcait-drop-arrow {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--dcait-accent);
	position: relative;
	flex: none;
}

.dcait-drop-arrow::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.6rem;
	height: 0.6rem;
	border-right: 3px solid #fff;
	border-top: 3px solid #fff;
	transform: translate(-65%, -50%) rotate(45deg);
}

.dcait-drop-title {
	font-size: 1.4em;
	font-weight: 600;
	color: var(--dcait-ink);
	line-height: 1.3;
}

.dcait-drop-sub {
	color: var(--dcait-muted);
	margin: 0.4rem 0 1.5rem;
}

.dcait-drop-button {
	display: inline-flex;
	align-items: center;
	min-height: 3.4rem;
	padding: 0 2.2rem;
	border-radius: 10px;
	background: var(--dcait-accent);
	color: #fff;
	font-weight: 600;
	font-size: 1.05em;
	transition: background-color 0.15s;
}

.dcait-drop-label:hover .dcait-drop-button {
	background: var(--dcait-accent-dark);
}

.dcait-drop-types {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.4rem;
}

.dcait-drop-types span {
	font-size: 0.75em;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #54595f;
	background: #f2f4f6;
	border-radius: 6px;
	padding: 0.3rem 0.55rem;
}

.dcait-upload .dcait-file-summary {
	text-align: center;
	margin: 0.9rem 0 0;
}

.dcait-more {
	display: grid;
	gap: 1.25rem;
	padding: 1.5rem 1.25rem 0.75rem;
}

.dcait-more > .dcait-help:first-child {
	margin: 0;
	text-align: center;
}

.dcait-upload .dcait-more > .dcait-button {
	width: 100%;
	justify-self: stretch;
	font-size: 1.05em;
	padding: 0.95rem 1.4rem;
}

@media (max-width: 600px) {
	.dcait-upload .dcait-drop-label {
		padding: 1.75rem 1rem 1.5rem;
	}

	.dcait-drop-title {
		font-size: 1.2em;
	}

	.dcait-more {
		padding: 1.25rem 0.5rem 0.5rem;
	}
}

/* 1.0.7: failed order, the customer's choice. */

.dcait-choice-list {
	margin: 0 0 1rem 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

.dcait-status.is-delivered_by_hand {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--dcait-ok);
	background: var(--dcait-ok-soft);
}

.dcait-status.is-needs_choice,
.dcait-status.is-human_review {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--dcait-accent);
	background: #eef3fe;
}

/* 1.1.0: "already in that language?" question before payment. */

.dcait-langcheck .dcait-status {
	padding: 0.75rem 1rem;
	border-left: 4px solid var(--dcait-accent);
	background: #eef3fe;
	font-weight: 600;
}

/* 1.2.0: take a photo on phones; numbered list of files and photos. */

.dcait-camera {
	display: none;
	justify-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	text-align: center;
}

@media (pointer: coarse) {
	.dcait-camera {
		display: grid;
	}
}

.dcait-camera .dcait-help {
	margin: 0;
	max-width: 24rem;
}

.dcait .dcait-camera-button {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
}

.dcait-camera-icon {
	width: 1.25rem;
	height: 0.95rem;
	border: 2px solid currentColor;
	border-radius: 4px;
	position: relative;
}

.dcait-camera-icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.4rem;
	height: 0.4rem;
	border: 2px solid currentColor;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.dcait-pages {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.dcait-page {
	position: relative;
	width: 4.25rem;
	height: 5.5rem;
	border: 1px solid #dde1e6;
	border-radius: 8px;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: visible;
}

.dcait-page img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 7px;
}

.dcait-page-type {
	font-size: 0.75em;
	font-weight: 700;
	color: #c62828;
}

.dcait-page-number {
	position: absolute;
	left: -0.45rem;
	top: -0.45rem;
	min-width: 1.4rem;
	height: 1.4rem;
	border-radius: 999px;
	background: var(--dcait-accent);
	color: #fff;
	font-size: 0.75em;
	font-weight: 600;
	display: grid;
	place-items: center;
	padding: 0 0.3rem;
}

.dcait .dcait-page-remove {
	position: absolute;
	right: -0.45rem;
	top: -0.45rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	border: 1px solid #dde1e6;
	background: #fff;
	color: var(--dcait-ink);
	font-size: 1rem;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}

/* 1.3.0: the order page as one card (option A). */

.dcait-order {
	max-width: 40rem;
	margin: 0 auto;
}

.dcait-order-card {
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(9, 42, 113, 0.1);
	padding: 3rem 3.5rem 2.25rem;
	text-align: center;
}

.dcait-order-icon {
	width: 4.75rem;
	height: 4.75rem;
	margin: 0 auto 1.4rem;
	border-radius: 50%;
	background: #eef3fe;
	position: relative;
}

.dcait-order-icon::before {
	content: "";
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: var(--dcait-accent);
	color: #fff;
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 3.25rem;
	text-align: center;
}

.dcait-order-icon::after {
	content: "";
	position: absolute;
}

/* Ready: green tick. */
.is-ok .dcait-order-icon {
	background: #e8f6ee;
}

.is-ok .dcait-order-icon::before {
	background: #0e8a4f;
}

.is-ok .dcait-order-icon::after {
	left: 2.05rem;
	top: 1.65rem;
	width: 0.65rem;
	height: 1.15rem;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

/* Working: a turning ring. */
.is-busy .dcait-order-icon::before {
	background: transparent;
	border: 4px solid #c9d8fb;
	border-top-color: var(--dcait-accent);
	box-sizing: border-box;
	animation: dcait-spin 1s linear infinite;
}

@keyframes dcait-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.is-busy .dcait-order-icon::before {
		animation: none;
	}
}

/* Waiting on someone: a clock. */
.is-wait .dcait-order-icon::after {
	left: 2.3rem;
	top: 1.55rem;
	width: 0.85rem;
	height: 0.9rem;
	border: solid #fff;
	border-width: 0 0 3px 3px;
}

.is-ask .dcait-order-icon::before {
	content: "?";
}

.is-bad .dcait-order-icon {
	background: var(--dcait-bad-soft);
}

.is-bad .dcait-order-icon::before {
	content: "!";
	background: var(--dcait-bad);
}

.is-neutral .dcait-order-icon {
	background: #f1f2f4;
}

.is-neutral .dcait-order-icon::before {
	content: "i";
	background: #7a8088;
}

.dcait .dcait-order-title {
	font-size: 1.9em;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 0.75rem;
	color: var(--dcait-ink);
}

.dcait .dcait-order-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin: 0 0 1.75rem;
}

.dcait-order-meta span {
	background: #f5f7fa;
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	font-size: 0.85em;
	font-weight: 500;
	color: var(--dcait-muted);
}

.dcait .dcait-order-text {
	color: var(--dcait-muted);
	margin: 0 0 1.5rem;
}

.dcait-order-card .dcait-progress {
	margin: 0 auto 1.5rem;
}

.dcait-order-card .dcait-choice-list {
	text-align: left;
	margin: 0 auto 1.5rem;
	max-width: 28rem;
}

.dcait-order-buttons {
	display: grid;
	gap: 0.85rem;
}

.dcait .dcait-order-buttons .dcait-button {
	width: 100%;
	justify-content: center;
	min-height: 3.6rem;
	font-size: 1.05em;
	text-align: center;
}

.dcait .dcait-order-small {
	font-size: 0.85em;
	color: var(--dcait-muted);
	margin: 0.75rem 0 0;
}

.dcait .dcait-order-note {
	margin: 1.6rem 0 0;
	padding-top: 1.4rem;
	border-top: 1px solid #eef0f3;
	font-size: 0.9em;
	color: var(--dcait-muted);
}

.dcait-order-note b {
	color: var(--dcait-ink);
}

.dcait-order-card .dcait-status {
	margin: 1rem 0 0;
	text-align: left;
}

.dcait .dcait-order-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.75rem;
	margin: 1.1rem 0 0;
	font-size: 0.9em;
	font-weight: 500;
}

.dcait-order-foot a {
	color: var(--dcait-accent);
	text-decoration: none;
}

@media (max-width: 600px) {
	.dcait-order-card {
		padding: 2rem 1.25rem 1.5rem;
		border-radius: 18px;
	}

	.dcait .dcait-order-title {
		font-size: 1.5em;
	}
}

/* 1.4.0: before/after slider ([dcait_compare]) and the numbered points beside it. */

.dcait-compare {
	position: relative;
	max-width: 34rem;
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 30px 70px rgba(9, 42, 113, 0.18);
	user-select: none;
}

.dcait-compare img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 0;
}

.dcait-compare .dcait-compare-before {
	position: absolute;
	inset: 0;
	height: 100%;
	clip-path: inset(0 calc(100% - var(--dcait-split)) 0 0);
}

.dcait-compare-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--dcait-split);
	width: 3px;
	margin-left: -1.5px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(9, 42, 113, 0.15);
	pointer-events: none;
}

.dcait-compare-handle {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 3.25rem;
	height: 3.25rem;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--dcait-accent);
	border: 4px solid #fff;
	box-shadow: 0 10px 24px rgba(9, 42, 113, 0.35);
}

.dcait-compare-handle::before,
.dcait-compare-handle::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 0.5rem;
	height: 0.5rem;
	border: solid #fff;
	border-width: 0 0 3px 3px;
}

.dcait-compare-handle::before {
	left: 0.55rem;
	transform: translateY(-50%) rotate(45deg);
}

.dcait-compare-handle::after {
	right: 0.55rem;
	transform: translateY(-50%) rotate(-135deg);
}

.dcait-compare-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	touch-action: pan-y;
	-webkit-appearance: none;
	appearance: none;
}

.dcait-compare-range:focus-visible + .dcait-compare-handle,
.dcait-compare:focus-within .dcait-compare-handle {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.dcait-compare-label {
	position: absolute;
	top: 0.9rem;
	font-size: 0.75em;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	pointer-events: none;
}

.dcait-compare-label.is-before {
	left: 0.9rem;
	background: rgba(29, 35, 39, 0.78);
	color: #fff;
}

.dcait-compare-label.is-after {
	right: 0.9rem;
	background: var(--dcait-accent);
	color: #fff;
}

.dcait-compare-marker {
	position: absolute;
	width: 2rem;
	height: 2rem;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--dcait-accent);
	color: #fff;
	font-size: 0.85em;
	font-weight: 700;
	display: grid;
	place-items: center;
	border: 3px solid #fff;
	box-shadow: 0 6px 14px rgba(9, 42, 113, 0.3);
	pointer-events: none;
	transition: opacity 0.15s;
}

.dcait-compare-marker.is-covered {
	opacity: 0;
}

/* Numbered points next to the slider (Elementor text widget). */
ol.dcait-points {
	list-style: none;
	counter-reset: dcait-point;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 1.1rem;
}

ol.dcait-points li {
	counter-increment: dcait-point;
	position: relative;
	padding-left: 3.25rem;
	min-height: 2.5rem;
}

ol.dcait-points li::before {
	content: counter(dcait-point);
	position: absolute;
	left: 0;
	top: 0;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 12px;
	background: #3c78f0;
	color: #fff;
	font-weight: 700;
	display: grid;
	place-items: center;
}

ol.dcait-points strong {
	display: block;
	color: #1d2327;
	font-weight: 600;
}

ol.dcait-points span {
	display: block;
	font-size: 0.92em;
	color: #7a8088;
}

@media (max-width: 767px) {
	.dcait-compare-label {
		top: 0.6rem;
		font-size: 0.65em;
	}

	.dcait-compare-marker {
		width: 1.6rem;
		height: 1.6rem;
		font-size: 0.75em;
	}
}

/* 1.4.1-1.4.2: comparison table under "Is it right for your document?" (free tools, AI, professional).
   Doubled selectors beat Hello Elementor's table borders and zebra rows. */

.dcait-vs-wrap {
	overflow-x: auto;
	margin: 0.5rem 0 0;
}

.dcait-vs-wrap table.dcait-vs {
	width: 100%;
	min-width: 30rem;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.95em;
	line-height: 1.45;
}

.dcait-vs-wrap table.dcait-vs th,
.dcait-vs-wrap table.dcait-vs td,
.dcait-vs-wrap table.dcait-vs tbody > tr > td,
.dcait-vs-wrap table.dcait-vs tbody > tr > th {
	padding: 0.75rem 0.8rem;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid #e6e9ef;
	background: transparent;
}

.dcait-vs-wrap table.dcait-vs thead th {
	color: #1d2327;
	font-weight: 600;
	border-bottom: 2px solid #dfe4ec;
}

.dcait-vs-wrap table.dcait-vs tbody th {
	color: #1d2327;
	font-weight: 500;
}

.dcait-vs-wrap table.dcait-vs tr > :nth-child(3),
.dcait-vs-wrap table.dcait-vs tbody > tr > td:nth-child(3) {
	background: #eef3fe;
	color: #1d2327;
}

.dcait-vs-wrap table.dcait-vs thead th:nth-child(3) {
	color: #3c78f0;
	border-radius: 10px 10px 0 0;
}

.dcait-vs-wrap table.dcait-vs tbody tr:last-child > * {
	border-bottom: 0;
}

.dcait-vs-wrap table.dcait-vs a {
	color: #3c78f0;
}

/* Phones: each row becomes its label on a full-width line, then the three options side by side. */
@media (max-width: 767px) {
	.dcait-vs-wrap table.dcait-vs,
	.dcait-vs-wrap table.dcait-vs thead,
	.dcait-vs-wrap table.dcait-vs tbody {
		display: block;
		min-width: 0;
	}

	.dcait-vs-wrap table.dcait-vs {
		font-size: 0.85em;
	}

	.dcait-vs-wrap table.dcait-vs tr {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dcait-vs-wrap table.dcait-vs thead tr > :first-child {
		display: none;
	}

	.dcait-vs-wrap table.dcait-vs th,
	.dcait-vs-wrap table.dcait-vs td,
	.dcait-vs-wrap table.dcait-vs tbody > tr > td,
	.dcait-vs-wrap table.dcait-vs tbody > tr > th {
		padding: 0.5rem 0.45rem;
	}

	.dcait-vs-wrap table.dcait-vs tbody > tr > th[scope="row"] {
		grid-column: 1 / -1;
		padding: 0.8rem 0.45rem 0.15rem;
		border-bottom: 0;
		font-weight: 600;
	}
}
