/* Scoped to the conversation planner so host theme rules keep the rest of the page. */

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

.ccre {
	--ccre-accent: var(--color-accent, #e25b1a);
	--ccre-accent-ink: #ffffff;
	--ccre-muted: color-mix(in srgb, currentColor 68%, transparent);
	--ccre-rule: color-mix(in srgb, currentColor 22%, transparent);
	--ccre-surface: color-mix(in srgb, currentColor 7%, transparent);
	--ccre-space: 1.25rem;
	color: inherit;
	font: inherit;
	line-height: 1.55;
	max-width: 1120px;
}

.ccre h1,
.ccre h2,
.ccre h3,
.ccre h4 {
	line-height: 1.2;
	margin: 0 0 0.8rem;
}

.ccre h1 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	max-width: 16ch;
}

.ccre h2 {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.ccre h3 {
	font-size: 1.15rem;
}

.ccre p {
	margin: 0 0 1rem;
}

.ccre a {
	text-underline-offset: 0.16em;
}

.ccre :focus-visible {
	outline: 2px solid var(--ccre-accent);
	outline-offset: 3px;
}

.ccre-kicker,
.ccre-k {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ccre-muted);
}

.ccre-intro {
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--ccre-rule);
}

.ccre-logo {
	display: block;
	max-height: 52px;
	width: auto;
	margin-bottom: 0.8rem;
}

.ccre-dek {
	max-width: 68ch;
}

.ccre-actions,
.ccre-submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.ccre-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.7rem;
	padding: 0.55rem 0.95rem;
	border: 1px solid var(--ccre-rule);
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.ccre a.ccre-button,
.ccre a.ccre-button:hover,
.ccre a.ccre-button:focus-visible {
	text-decoration: none;
}

.ccre-button-primary {
	background: var(--ccre-accent);
	border-color: var(--ccre-accent);
	color: var(--ccre-accent-ink);
}

.ccre a.ccre-button-primary,
.ccre a.ccre-button-primary:hover,
.ccre a.ccre-button-primary:focus-visible {
	color: var(--ccre-accent-ink);
}

.ccre-text-link {
	font-weight: 600;
	color: var(--ccre-accent);
}

.ccre-plan,
.ccre-detail,
.ccre-compare-wrap {
	margin-top: 2.5rem;
}

.ccre-compare {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.ccre-model-card,
.ccre-summary,
.ccre-detail {
	min-width: 0;
}

.ccre-model-card {
	padding-top: 0.85rem;
	border-top: 2px solid var(--ccre-accent);
}

.ccre-unit {
	display: block;
	width: 100%;
	height: 18rem;
	margin: 0 0 0.9rem;
	object-fit: contain;
	background: #f3f5f7;
}

.ccre-unit-detail {
	max-width: 28rem;
	height: 22rem;
}

.ccre-intro .ccre-unit-detail {
	margin: 0.35rem 0 0;
}

.ccre-intro:has(+ .ccre-plan),
.ccre-intro:has(+ .ccre-alert) {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.ccre-facts {
	display: grid;
	gap: 0.7rem;
	margin: 1rem 0;
}

.ccre-facts div {
	padding-top: 0.45rem;
	border-top: 1px solid var(--ccre-rule);
}

.ccre-facts dd {
	margin: 0.15rem 0 0;
}

.ccre-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-top: 2rem;
	border-bottom: 1px solid var(--ccre-rule);
}

.ccre-tab {
	display: inline-block;
	margin-bottom: -1px;
	padding: 0.65rem 0.9rem;
	border: 1px solid transparent;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.ccre a.ccre-tab:hover,
.ccre a.ccre-tab:focus-visible {
	text-decoration: none;
}

.ccre-tab[aria-selected="true"] {
	border-color: var(--ccre-rule);
	border-bottom: 2px solid var(--ccre-accent);
}

html.ccre-js .ccre [data-model-section]:not(.is-active),
html.ccre-js .ccre [data-field-group]:not(.is-active) {
	display: none;
}

.ccre-detail-grid,
.ccre-plan-layout,
.ccre-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: start;
}

.ccre-list {
	margin: 0;
	padding-left: 1.1rem;
}

.ccre-list li + li {
	margin-top: 0.45rem;
}

.ccre-plan {
	margin-top: 1.25rem;
	padding-top: 0;
	border-top: 0;
}

.ccre-status {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ccre-form {
	position: relative;
	display: grid;
	gap: 0.5rem;
}

.ccre-field {
	margin: 0 0 1.25rem;
	padding: 0;
	border: 0;
	min-width: 0;
}

.ccre-field legend {
	padding: 0;
	font-weight: 700;
}

.ccre-help,
.ccre-fine,
.ccre-choice-note {
	color: var(--ccre-muted);
	font-size: 0.92rem;
}

.ccre-choice-body {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.ccre-choice-photo {
	width: 5.5rem;
	height: 4.25rem;
	flex: 0 0 auto;
	object-fit: contain;
	background: #f3f5f7;
}

.ccre-options {
	display: grid;
}

.ccre-choice {
	display: grid;
	grid-template-columns: 1rem minmax(0, 1fr);
	gap: 0.7rem;
	align-items: start;
	padding: 0.55rem 0;
	border-top: 1px solid var(--ccre-rule);
	cursor: pointer;
}

.ccre-choice-label {
	display: block;
	font-weight: 600;
}

.ccre-ack {
	margin-top: 0.5rem;
}

.ccre input[type="text"],
.ccre input[type="email"],
.ccre input[type="tel"],
.ccre textarea {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--ccre-rule);
	border-radius: 0;
	background: var(--ccre-surface);
	color: inherit;
	font: inherit;
}

.ccre input[type="radio"],
.ccre input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	margin-top: 0.2rem;
	accent-color: var(--ccre-accent);
}

.ccre-summary {
	padding: 1rem 1rem 0.4rem;
	border: 1px solid var(--ccre-rule);
	background: var(--ccre-surface);
}

.ccre-summary-list {
	margin: 0 0 1rem;
	padding-left: 1.1rem;
}

.ccre-summary-list li + li {
	margin-top: 0.35rem;
}

.ccre-quote {
	font-weight: 700;
}

.ccre-alert {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--ccre-rule);
	border-left: 3px solid var(--ccre-accent);
	background: var(--ccre-surface);
}

.ccre-alert ul {
	margin: 0.4rem 0 0;
	padding-left: 1.1rem;
}

.ccre-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ccre-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (min-width: 880px) {
	.ccre-summary {
		position: sticky;
		top: 5.5rem;
	}
}

@media (max-width: 879px) {
	.ccre-compare,
	.ccre-detail-grid,
	.ccre-plan-layout,
	.ccre-contact-grid {
		grid-template-columns: 1fr;
	}

	.ccre-plan-layout .ccre-summary {
		order: -1;
	}

	.ccre-switch {
		flex-direction: column;
		border-bottom: 0;
	}

	.ccre-tab {
		border: 1px solid var(--ccre-rule);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccre,
	.ccre * {
		scroll-behavior: auto;
		transition: none;
		animation: none;
	}
}
