.cpa-root {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
	color: #2c2c2c;
}

.cpa-progress {
	background: #eee;
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
	margin-bottom: 24px;
}

.cpa-progress-bar {
	background: #7c5cbf;
	height: 100%;
	width: 0%;
	transition: width 0.25s ease;
}

.cpa-question-area {
	min-height: 160px;
}

.cpa-custom-html {
	margin-bottom: 18px;
}

.cpa-prompt {
	font-size: 1.15em;
	font-weight: 600;
	margin-bottom: 18px;
}

.cpa-scale {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.cpa-scale-option {
	flex: 1;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 10px 4px;
	cursor: pointer;
}

.cpa-scale-option input {
	display: block;
	margin: 0 auto 6px;
}

.cpa-scale-option:has(input:checked) {
	border-color: #7c5cbf;
	background: #f3effa;
}

.cpa-scale-caption {
	display: flex;
	justify-content: space-between;
	font-size: 0.85em;
	color: #777;
	margin-bottom: 20px;
}

.cpa-continuum {
	margin-bottom: 20px;
}

.cpa-continuum-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.9em;
	color: #555;
	margin-bottom: 10px;
}

.cpa-slider {
	width: 100%;
}

.cpa-mc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.cpa-mc-option {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px 14px;
	cursor: pointer;
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.cpa-mc-option:has(input:checked) {
	border-color: #7c5cbf;
	background: #f3effa;
}

.cpa-email-input,
.cpa-first-name-input,
.cpa-last-name-input {
	width: 100%;
	padding: 10px 12px;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-sizing: border-box;
}

.cpa-contact-field {
	margin-bottom: 16px;
}

.cpa-contact-field label {
	display: block;
	font-size: 0.9em;
	color: #555;
	margin-bottom: 4px;
}

.cpa-subcaption {
	font-size: 0.9em;
	color: #777;
	margin-top: -10px;
	margin-bottom: 18px;
}

.cpa-demo-field {
	margin-bottom: 16px;
}

.cpa-demo-field label {
	display: block;
	font-size: 0.95em;
	font-weight: 600;
	margin-bottom: 6px;
}

.cpa-demo-select {
	width: 100%;
	padding: 10px 12px;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

.cpa-emailed-note {
	font-size: 0.9em;
	color: #555;
	font-style: italic;
}

.cpa-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

.cpa-btn {
	background: #7c5cbf;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 22px;
	font-size: 1em;
	cursor: pointer;
}

.cpa-btn-back {
	background: #eee;
	color: #333;
}

.cpa-loading {
	text-align: center;
	padding: 40px 0;
	color: #777;
}

.cpa-result {
	text-align: left;
}

.cpa-report {
	line-height: 1.6;
}

.cpa-report h1,
.cpa-report h2,
.cpa-report h3 {
	line-height: 1.3;
}

.cpa-report p {
	margin: 10px 0;
}

.cpa-report ul {
	margin: 8px 0;
	padding-left: 22px;
}

.cpa-report li {
	margin-bottom: 6px;
}

.cpa-report a {
	color: #5b3a8e;
}

.cpa-btn-print {
	margin-top: 20px;
}

.cpa-error {
	color: #b3261e;
}

@media print {
	.cpa-nav, .cpa-progress { display: none !important; }
}
