/* Zircoa Crucible Selector — scoped styles (Barlow + site CTA buttons) */

.zcs {
	--zcs-red: oklch(0.5744 0.1945 28.78);
	--zcs-dark: oklch(0.1591 0 0);
	--zcs-muted: #6b6b6b;
	--zcs-border: #d8d8d8;
	--zcs-bg: #f7f7f7;
	--zcs-panel: #ffffff;
	--zcs-radius: 0;
	--zcs-font: "Barlow", sans-serif;
	/* Clear WP admin bar + sticky site header when the preview sticks */
	--zcs-sticky-top: 12rem;
	font-family: var(--zcs-font);
	color: var(--zcs-dark);
	margin: 1.5rem 0 2.5rem;
	scroll-margin-top: var(--zcs-sticky-top);
	max-width: 100%;
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

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

/* Isolate from theme `h3 { font-size: 36px !important }` and similar. */
.zcs h1,
.zcs h2,
.zcs h3,
.zcs h4,
.zcs h5,
.zcs h6,
.zcs p {
	max-width: 100%;
}

.zcs h3,
.zcs .zcs__panel-title {
	font-family: var(--zcs-font) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 700 !important;
	font-style: italic !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--zcs-dark);
	margin: 0 0 1rem !important;
}

.zcs button {
	font-family: var(--zcs-font);
}

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

.zcs__loading {
	padding: 2rem;
	text-align: center;
	color: var(--zcs-muted);
	background: var(--zcs-bg);
	border: 1px solid var(--zcs-border);
}

/* —— Split layout: 1/3 inputs (1–3) + 2/3 select (4) —— */
.zcs__app {
	display: block !important;
	width: 100%;
	max-width: 100%;
}

.zcs__layout {
	display: grid !important;
	grid-template-columns: 33.333% 66.666% !important;
	gap: 1.25rem;
	align-items: start;
	width: 100%;
	box-sizing: border-box;
}

.zcs__sidebar {
	display: flex !important;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
	max-height: none;
}

.zcs__sidebar .zcs__panel {
	display: block !important;
}

.zcs__main {
	display: flex !important;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
	position: sticky;
	top: var(--zcs-sticky-top);
	max-height: calc(100vh - var(--zcs-sticky-top) - 1rem);
	overflow: auto;
	align-self: start;
}

.zcs__preview {
	display: block !important;
	position: static;
	max-height: none;
	overflow: visible;
	min-width: 0;
}

/* Logged-in: WP admin bar is 32px desktop / 46px mobile */
.admin-bar .zcs {
	--zcs-sticky-top: calc(12rem + 32px);
}

@media screen and (max-width: 782px) {
	.admin-bar .zcs {
		--zcs-sticky-top: calc(8rem + 46px);
	}
}

@media (max-width: 720px) {
	.zcs__layout {
		grid-template-columns: 1fr !important;
		gap: 0.85rem;
	}

	.zcs__sidebar,
	.zcs__main {
		gap: 0.85rem;
	}

	.zcs__main {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.zcs {
		margin: 0.75rem 0 1.5rem;
	}

	.zcs__panel {
		padding: 0.9rem 0.85rem 1rem;
	}

	.zcs__panel--results {
		padding: 0.9rem 0.85rem 1.1rem;
	}
}

.zcs__step-eyebrow {
	margin: 0 0 0.35rem;
	font-family: var(--zcs-font);
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--zcs-red);
}

.zcs__step-desc {
	margin: 0 0 0.85rem;
	font-family: var(--zcs-font);
	font-size: 15px;
	line-height: 22px;
	color: var(--zcs-dark);
}

.zcs__panel {
	background: var(--zcs-panel);
	border: 1px solid var(--zcs-border);
	border-radius: var(--zcs-radius);
	padding: 1.15rem 1.25rem 1.35rem;
}

.zcs__panel--results {
	padding: 1.25rem 1.35rem 1.5rem;
}

.zcs__panel-title {
	margin: 0 0 1rem;
	font-family: var(--zcs-font);
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 700;
	font-style: italic;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--zcs-red);
	padding-bottom: 0.45rem;
}

.zcs__field {
	margin-bottom: 0.9rem;
}

.zcs__label {
	display: block;
	font-family: var(--zcs-font);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.35rem;
	color: var(--zcs-dark);
}

.zcs__required {
	color: var(--zcs-red);
	font-size: 18px;
	font-weight: 500;
}

.zcs__hint {
	margin: 0.35rem 0 0;
	font-family: var(--zcs-font);
	font-size: 13px;
	line-height: 1.35;
	font-weight: 400;
	color: var(--zcs-muted);
}

.zcs select,
.zcs input[type="number"] {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid var(--zcs-border);
	border-radius: var(--zcs-radius);
	background: #fff;
	font-family: var(--zcs-font);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: var(--zcs-dark);
}

.zcs select:focus,
.zcs input[type="number"]:focus,
.zcs__slider:focus {
	outline: 2px solid var(--zcs-red);
	outline-offset: 1px;
}

.zcs__segment {
	display: flex;
	gap: 0;
	border: 1px solid var(--zcs-border);
	border-radius: var(--zcs-radius);
	overflow: hidden;
}

.zcs__seg {
	flex: 1;
	padding: 0.5rem 0.75rem;
	border: 0;
	background: #fff;
	cursor: pointer;
	font-family: var(--zcs-font);
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	color: var(--zcs-muted);
}

.zcs__seg + .zcs__seg {
	border-left: 1px solid var(--zcs-border);
}

.zcs__seg.is-active {
	background: var(--zcs-dark);
	color: #fff;
}

.zcs__features-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.25rem;
	width: 100%;
}

.zcs__feature-group {
	margin-bottom: 0;
	flex: 1 1 0;
	min-width: 0;
}

.zcs__feature-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem;
	width: 100%;
	max-width: 100%;
}

.zcs__feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	padding: 0.35rem;
	border: 2px solid var(--zcs-border);
	border-radius: var(--zcs-radius);
	background: #fff;
	cursor: pointer;
	font-family: var(--zcs-font);
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	line-height: 1.2;
	color: var(--zcs-dark);
}

.zcs__feature img {
	width: 100%;
	max-width: 96px;
	aspect-ratio: 1;
	height: auto;
	object-fit: contain;
	background: transparent;
	border-radius: 2px;
}

.zcs__feature.is-active {
	border-color: var(--zcs-red);
	box-shadow: inset 0 0 0 1px var(--zcs-red);
}

.zcs__feature-group--checks {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.zcs__checks-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 0.85rem;
	min-height: 5.5rem;
}

.zcs__check {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--zcs-font);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}

.zcs__check img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	background: transparent;
	border-radius: 2px;
}

@media (max-width: 720px) {
	.zcs__features-row {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.65rem 0.45rem;
		align-items: start;
	}

	.zcs__feature-group {
		width: 100%;
	}

	.zcs__feature-grid {
		grid-template-columns: 1fr;
		gap: 0.4rem;
	}

	.zcs__feature {
		width: 100%;
		padding: 0.4rem 0.25rem 0.45rem;
		font-size: 11px;
	}

	.zcs__feature img {
		max-width: 88px;
	}
}

.zcs__results-layout {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	align-items: stretch;
}

.zcs__results-aside {
	width: 100%;
}

.zcs__results-aside .zcs__actions {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	max-width: none;
}

.zcs__results-aside .zcs__actions .zcs__btn {
	flex: 1 1 12rem;
	width: auto;
	min-width: 0;
}

.zcs__sketch-wrap {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(140px, 180px);
	gap: 0.75rem;
	align-items: start;
	width: 100%;
}

.zcs__h-slider-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	/* Match sketch pane — do not stretch with the sticky panel / vertical range quirks */
	width: 4.75rem;
	height: 260px;
	min-height: 260px;
	max-height: 260px;
	align-self: start;
	box-sizing: border-box;
	overflow: visible;
}

.zcs__sketch-main {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
	overflow: visible;
}

.zcs__sketch {
	background: linear-gradient(180deg, #eef1f4 0%, #e2e6ea 100%);
	border: 1px solid var(--zcs-border);
	border-radius: var(--zcs-radius);
	min-height: 260px;
	height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem;
	box-sizing: border-box;
}

.zcs__sketch svg {
	width: 100%;
	max-width: 280px;
	height: auto;
	max-height: 100%;
	display: block;
}

.zcs__od-slider-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	overflow: visible;
}

.zcs__slider-bound {
	font-family: var(--zcs-font);
	font-size: 13px;
	font-weight: 500;
	color: var(--zcs-muted);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.zcs__slider-shell {
	position: relative;
	flex: 1;
	min-width: 0;
	min-height: 0;
	overflow: visible;
	--zcs-pct: 0;
	--zcs-thumb: 3.25rem;
}

.zcs__slider-shell--h {
	flex: 1 1 auto;
	height: 3rem;
	min-height: 3rem;
	display: flex;
	align-items: center;
}

.zcs__slider-shell--v {
	flex: 1 1 auto;
	width: 2.75rem;
	min-width: 2.75rem;
	min-height: 0;
	height: auto;
	align-self: stretch;
	display: flex;
	justify-content: center;
	overflow: visible;
}

.zcs__slider {
	accent-color: var(--zcs-red);
	width: 100%;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	position: relative;
	z-index: 1;
}

.zcs__slider--h {
	height: 1.25rem;
}

.zcs__slider--v {
	writing-mode: vertical-lr;
	direction: rtl;
	width: 1.25rem;
	height: 100%;
	min-height: 0;
	max-height: 100%;
	flex: none;
}

/* Invisible native thumb — only the value pill is visible (avoids double circles) */
.zcs__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 3.25rem;
	height: 2rem;
	border-radius: 999px;
	background: transparent;
	border: 0;
	box-shadow: none;
	opacity: 0;
	cursor: grab;
}

.zcs__slider::-moz-range-thumb {
	width: 3.25rem;
	height: 2rem;
	border-radius: 999px;
	background: transparent;
	border: 0;
	box-shadow: none;
	opacity: 0;
	cursor: grab;
}

.zcs__slider::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: #c9ced3;
}

.zcs__slider--h::-webkit-slider-runnable-track {
	height: 4px;
}

.zcs__slider--v::-webkit-slider-runnable-track {
	width: 4px;
}

.zcs__slider::-moz-range-track {
	height: 4px;
	border-radius: 2px;
	background: #c9ced3;
}

.zcs__slider--v::-moz-range-track {
	width: 4px;
	height: 100%;
}

.zcs__slider-value {
	position: absolute;
	pointer-events: none;
	z-index: 3;
	box-sizing: border-box;
	min-width: var(--zcs-thumb);
	height: 2rem;
	padding: 0 0.55rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--zcs-red);
	color: #fff;
	border-radius: 999px;
	font-family: var(--zcs-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
	left: 22px;
	top: 50%;
	transform: translate(-50%, -50%);
}

.zcs__slider-value--v {
	writing-mode: horizontal-tb;
	direction: ltr;
	left: 50%;
	top: 22px;
}

.zcs__slider-shell.is-empty .zcs__slider-value {
	opacity: 0.85;
}

.zcs__slider:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.zcs__readouts {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.zcs__readout {
	background: var(--zcs-bg);
	border: 1px solid var(--zcs-border);
	border-radius: var(--zcs-radius);
	padding: 0.45rem 0.6rem;
}

.zcs__readout--hidden {
	display: none;
}

.zcs__readout-label {
	display: block;
	font-family: var(--zcs-font);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--zcs-muted);
	margin-bottom: 0.15rem;
}

.zcs__readout strong {
	font-family: var(--zcs-font);
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.zcs__actions {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.5rem;
	width: 100%;
}

.zcs__actions .zcs__btn {
	width: 100%;
	box-sizing: border-box;
}

/* Match header Contact Us / site red CTA */
.zcs__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 0.5rem 2.5rem;
	border-radius: 0;
	font-family: var(--zcs-font);
	font-size: 18px;
	line-height: 24px;
	font-weight: 400;
	text-decoration: none !important;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: normal;
	max-width: 100%;
	text-align: center;
}

.zcs__btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.zcs__btn svg {
	flex-shrink: 0;
}

.zcs__btn--primary {
	background: var(--zcs-red, #c4452d);
	color: #fff !important;
	border-color: var(--zcs-red, #c4452d);
}

.zcs__btn--primary:hover:not(:disabled) {
	background: #fff;
	color: var(--zcs-dark, #1a1a1a) !important;
	border-color: var(--zcs-dark, #1a1a1a);
	text-decoration: none !important;
}

.zcs__btn--primary:hover:not(:disabled) svg path {
	fill: var(--zcs-red, #c4452d);
}

.zcs__btn--ghost {
	background: #fff;
	color: var(--zcs-dark, #1a1a1a) !important;
	border-color: var(--zcs-dark, #1a1a1a);
}

.zcs__btn--ghost:hover:not(:disabled) {
	background: var(--zcs-dark, #1a1a1a);
	color: #fff !important;
	border-color: var(--zcs-dark, #1a1a1a);
}

.zcs__btn--ghost:hover:not(:disabled) svg path {
	fill: #fff;
}

@media (max-width: 720px) {
	.zcs__sketch-wrap {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.65rem;
		width: 100%;
	}

	.zcs__sketch-main {
		order: 1;
		width: 100%;
	}

	.zcs__od-slider-row {
		width: 100%;
	}

	.zcs__h-slider-col {
		order: 2;
		flex-direction: row-reverse;
		align-self: stretch;
		width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
		align-items: center;
		justify-content: flex-start;
		gap: 0.5rem;
	}

	.zcs__slider-shell--v {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		height: 3rem;
		min-height: 3rem;
		align-self: auto;
		display: flex;
		align-items: center;
		justify-content: stretch;
	}

	.zcs__slider--v {
		writing-mode: horizontal-tb;
		-webkit-writing-mode: horizontal-tb;
		direction: ltr;
		width: 100%;
		height: 1.25rem;
		min-height: 0;
		max-height: none;
	}

	.zcs__slider--v::-webkit-slider-runnable-track {
		width: auto;
		height: 4px;
	}

	.zcs__slider--v::-moz-range-track {
		width: auto;
		height: 4px;
	}

	.zcs__slider-value--v {
		left: 22px;
		top: 50%;
	}

	.zcs__slider-bound {
		font-size: 12px;
		min-width: 0;
		flex-shrink: 0;
		text-align: center;
	}

	.zcs__sketch {
		width: 100%;
		min-height: 220px;
		height: 220px;
		padding: 0.5rem;
	}

	.zcs__sketch svg {
		max-width: 100%;
	}

	.zcs__readouts {
		order: 3;
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.45rem;
	}

	.zcs__readout:nth-child(3) {
		grid-column: 1 / -1;
	}

	.zcs__results-aside .zcs__actions {
		flex-direction: column;
	}

	.zcs__results-aside .zcs__actions .zcs__btn {
		flex: none;
		width: 100%;
	}

	.zcs__btn {
		padding: 0.65rem 1rem;
		font-size: 16px;
		line-height: 1.25;
		white-space: normal;
		gap: 0.5rem;
	}
}

.zcs__dialog-inner .zcs__actions {
	flex-direction: column;
}

.zcs__dialog-inner .zcs__actions .zcs__btn {
	width: 100%;
}

.zcs__dialog::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

/* Dialog is moved to document.body, so it cannot inherit .zcs tokens. */
.zcs__dialog,
.zcs__dialog *,
.zcs__dialog *::before,
.zcs__dialog *::after {
	box-sizing: border-box;
}

.zcs__dialog {
	--zcs-red: oklch(0.5744 0.1945 28.78);
	--zcs-dark: oklch(0.1591 0 0);
	--zcs-muted: #6b6b6b;
	--zcs-border: #d8d8d8;
	--zcs-bg: #f7f7f7;
	--zcs-panel: #ffffff;
	--zcs-radius: 0;
	--zcs-font: "Barlow", sans-serif;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	width: min(560px, 94vw);
	max-width: 94vw;
	max-height: min(90vh, 900px);
	padding: 0;
	border: 1px solid var(--zcs-border, #d8d8d8);
	border-radius: 0;
	overflow: auto;
	color: var(--zcs-dark, #1a1a1a);
	background: #fff;
	font-family: var(--zcs-font, "Barlow", sans-serif);
}

html.zcs-modal-open,
body.zcs-modal-open {
	overflow: hidden;
}

body.zcs-modal-open {
	position: fixed;
	width: 100%;
	left: 0;
	right: 0;
}

.zcs__dialog-inner {
	padding: 1.25rem 1.35rem 1.5rem;
}

.zcs__dialog-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
}

.zcs__dialog-head h3 {
	margin: 0;
	flex: 1 1 auto;
	font-family: var(--zcs-font, "Barlow", sans-serif) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 700 !important;
	font-style: italic !important;
}

.zcs__dialog-x {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: -0.25rem -0.35rem 0 0;
	padding: 0;
	border: 1px solid var(--zcs-border, #d8d8d8);
	border-radius: 0;
	background: #fff;
	color: var(--zcs-dark, #1a1a1a);
	font-family: var(--zcs-font, "Barlow", sans-serif);
	font-size: 28px;
	line-height: 1;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.zcs__dialog-x:hover,
.zcs__dialog-x:focus-visible {
	background: var(--zcs-dark, #1a1a1a);
	color: #fff;
	border-color: var(--zcs-dark, #1a1a1a);
	outline: none;
}

.zcs__dialog-desc {
	margin: 0 0 0.85rem;
	font-family: var(--zcs-font);
	font-size: 14px;
	line-height: 1.45;
	color: var(--zcs-muted);
}

.zcs__form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 0.9rem;
}

.zcs__form-grid .zcs__field:first-child {
	grid-column: 1 / -1;
}

.zcs__quote-form input[type="email"],
.zcs__quote-form input[type="text"],
.zcs__quote-form input[type="tel"] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.5rem 0.65rem;
	border: 1px solid var(--zcs-border, #d8d8d8);
	border-radius: var(--zcs-radius, 0);
	background: #fff;
	font-family: var(--zcs-font, "Barlow", sans-serif);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: var(--zcs-dark, #1a1a1a);
	appearance: none;
	-webkit-appearance: none;
}

.zcs__quote-form input[type="email"]:focus,
.zcs__quote-form input[type="text"]:focus,
.zcs__quote-form input[type="tel"]:focus {
	outline: 2px solid var(--zcs-red, #c4452d);
	outline-offset: 1px;
	border-color: var(--zcs-red, #c4452d);
}

.zcs__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.zcs__legal {
	margin: 0.4rem 0 1rem;
	font-family: var(--zcs-font);
	font-size: 12px;
	line-height: 1.45;
	color: var(--zcs-muted);
}

.zcs__legal a {
	color: var(--zcs-red);
	text-decoration: underline;
}

.zcs__form-status {
	margin: 0.85rem 0 0;
	font-family: var(--zcs-font);
	font-size: 14px;
	line-height: 1.45;
}

.zcs__form-status.is-error {
	color: var(--zcs-red);
}

.zcs__form-status.is-success {
	color: var(--zcs-dark);
	font-weight: 500;
}

.zcs__form-status.is-pending {
	color: var(--zcs-muted);
}

@media (max-width: 560px) {
	.zcs__form-grid {
		grid-template-columns: 1fr;
	}
}

.zcs__dialog-inner h3 {
	margin: 0;
	font-family: var(--zcs-font, "Barlow", sans-serif) !important;
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 700 !important;
	font-style: italic !important;
	text-transform: uppercase;
}

.zcs__summary {
	background: var(--zcs-bg);
	border: 1px solid var(--zcs-border);
	border-radius: 0;
	padding: 0.85rem;
	font-family: var(--zcs-font);
	font-size: 14px;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
	max-height: 280px;
	overflow: auto;
	margin: 0 0 1rem;
}

.zcs__success {
	display: none;
	text-align: center;
	padding: 0.35rem 0.25rem 0.15rem;
}

.zcs__dialog.is-success .zcs__success {
	display: block !important;
	animation: zcs-success-in 0.45s ease both;
}

.zcs__dialog.is-success .zcs__dialog-head {
	justify-content: flex-end;
	margin: 0 0 0.35rem;
}

.zcs__dialog.is-success .zcs__dialog-head h3,
.zcs__dialog.is-success .zcs__dialog-desc,
.zcs__dialog.is-success .zcs__summary,
.zcs__dialog.is-success .zcs__form-grid,
.zcs__dialog.is-success .zcs__legal,
.zcs__dialog.is-success .zcs__form-status,
.zcs__dialog.is-success [data-action="submit-quote"] {
	display: none !important;
}

.zcs__dialog.is-success {
	background: var(--zcs-dark, #1a1a1a);
	color: #fff;
	border-color: var(--zcs-dark, #1a1a1a);
}

.zcs__dialog.is-success .zcs__dialog-x {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.zcs__dialog.is-success .zcs__dialog-x:hover,
.zcs__dialog.is-success .zcs__dialog-x:focus-visible {
	background: #fff;
	color: var(--zcs-dark, #1a1a1a);
	border-color: #fff;
}

.zcs__success-mark {
	display: flex;
	justify-content: center;
	margin: 0.4rem 0 1.15rem;
	color: #fff;
}

.zcs__success-svg {
	width: 72px;
	height: 72px;
	display: block;
}

.zcs__success-melt {
	stroke: var(--zcs-red, #c4452d);
	stroke-dasharray: 24;
	stroke-dashoffset: 24;
	animation: zcs-melt 0.7s 0.25s ease forwards;
}

.zcs__success-eyebrow {
	margin: 0 0 0.35rem;
	font-family: var(--zcs-font, "Barlow", sans-serif);
	font-size: 13px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--zcs-red, #c4452d);
}

.zcs__success-title {
	margin: 0 0 0.65rem;
	font-family: var(--zcs-font, "Barlow", sans-serif) !important;
	font-size: 28px !important;
	line-height: 1.15 !important;
	font-weight: 700 !important;
	font-style: italic !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #fff;
}

.zcs__success-body {
	margin: 0 auto 0.85rem;
	max-width: 26rem;
	font-family: var(--zcs-font, "Barlow", sans-serif);
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.zcs__success-cue {
	margin: 0 0 1.35rem;
	font-family: var(--zcs-font, "Barlow", sans-serif);
	font-size: 16px;
	line-height: 1.45;
	font-weight: 500;
	color: #fff;
}

.zcs__dialog.is-success .zcs__quote-form {
	margin-top: 0.15rem;
}

.zcs__dialog.is-success .zcs__actions [data-action="close-dialog"] {
	order: -1;
}

.zcs__actions [data-action="close-dialog"] svg {
	display: none;
}

.zcs__dialog.is-success .zcs__actions [data-action="close-dialog"] svg {
	display: block;
}

.zcs__dialog.is-success .zcs__btn--ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.55);
}

.zcs__dialog.is-success .zcs__btn--ghost:hover:not(:disabled) {
	background: #fff;
	color: var(--zcs-dark, #1a1a1a) !important;
	border-color: #fff;
}

@keyframes zcs-success-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes zcs-melt {
	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zcs__dialog.is-success .zcs__success,
	.zcs__success-melt {
		animation: none;
	}

	.zcs__success-melt {
		stroke-dashoffset: 0;
	}
}
