.sq-questionnaire {
	max-width: 720px;
	margin: 0 auto;
}

.sq-title {
	margin-bottom: 0.5em;
}

.sq-description {
	margin-bottom: 1.5em;
}

.sq-section {
	border: none;
	border-top: 1px solid #ddd;
	padding: 1.5em 0;
	margin: 0;
}

.sq-section:first-of-type {
	border-top: none;
}

.sq-section-title {
	font-size: 1.15em;
	font-weight: 600;
	padding: 0;
	margin: 0 0 0.75em;
}

.sq-section-desc {
	margin: -0.5em 0 1em;
	opacity: 0.8;
}

.sq-question {
	margin: 0 0 1.5em;
}

.sq-question-title {
	font-weight: 600;
	margin: 0 0 0.5em;
}

.sq-required {
	color: #b32d2e;
	margin-left: 0.15em;
}

.sq-options {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}

.sq-option {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 400;
	cursor: pointer;
}

.sq-option input {
	flex: 0 0 auto;
	margin: 0;
}

.sq-option span {
	line-height: 1.3;
}

.sq-other-input,
.sq-input {
	width: 100%;
	max-width: 480px;
	padding: 0.5em 0.6em;
	border: 1px solid #949494;
	border-radius: 3px;
	font: inherit;
	box-sizing: border-box;
}

.sq-other-input {
	margin-top: 0.4em;
}

textarea.sq-input {
	max-width: 100%;
}

.sq-scale {
	display: flex;
	align-items: center;
	gap: 0.9em;
	flex-wrap: wrap;
}

.sq-scale-options {
	display: flex;
	gap: 0.75em;
	flex-wrap: wrap;
}

.sq-scale-option {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	gap: 0.3em;
	font-weight: 400;
	cursor: pointer;
}

.sq-scale-min,
.sq-scale-max {
	font-size: 0.85em;
	opacity: 0.75;
	flex: 0 0 auto;
}

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

.sq-form-error {
	background: #fcf0f1;
	border-left: 4px solid #b32d2e;
	padding: 0.75em 1em;
	margin-bottom: 1em;
}

.sq-submit {
	background: #1e1e1e;
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 0.75em 1.5em;
	font-size: 1em;
	cursor: pointer;
}

.sq-submit[disabled],
.sq-next[disabled] {
	opacity: 0.6;
	cursor: default;
}

.sq-next {
	background: #1e1e1e;
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 0.75em 1.5em;
	font-size: 1em;
	cursor: pointer;
}

.sq-prev {
	background: transparent;
	color: inherit;
	border: 1px solid #949494;
	border-radius: 3px;
	padding: 0.75em 1.5em;
	font-size: 1em;
	cursor: pointer;
}

.sq-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75em;
}

.sq-page-indicator {
	font-size: 0.85em;
	opacity: 0.75;
}

.sq-pagination-buttons {
	display: flex;
	gap: 0.6em;
	margin-left: auto;
}

.sq-result {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1.5em;
}

.sq-result-score {
	font-size: 1.4em;
	font-weight: 700;
	margin-bottom: 0.25em;
}

.sq-result-band {
	font-weight: 600;
	margin-bottom: 0.5em;
}

.sq-result-compare {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid #eee;
	opacity: 0.85;
}
