.cl-screener {
	max-width: 620px;
	margin: 48px auto;
	padding: 0 20px;
	font-family: "Biennale", sans-serif;
}

.cl-screener__card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(6, 30, 33, 0.08);
	padding: 40px 44px;
	border: 1px solid #e5e5e5;
}

/* Persistent header: avatar + sign-in link, shown above every step */
.cl-screener__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}

.cl-screener__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #e3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cl-screener__avatar img {
	width: 28px;
	height: 28px;
	display: block;
}

.cl-screener__account {
	font-size: 14px;
	color: #666;
	margin: 0;
	text-align: right;
}

.cl-screener__account a {
	display: block;
	color: #061e21;
	font-weight: 600;
	text-decoration: underline;
}

.cl-screener__step {
	display: none;
}

.cl-screener__step.is-active {
	display: block;
	animation: cl-screener-fade-in 0.18s ease;
}

@keyframes cl-screener-fade-in {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cl-screener__title {
	color: var(--e-global-color-primary, #061e21);
	font-family: "Biennale", sans-serif;
	font-size: 2.3rem;
	font-weight: 500;
	line-height: 1.2em;
	margin: 0 0 16px;
}

.cl-screener__question {
	font-size: 18px;
	font-weight: 500;
	margin: 0 0 24px;
	color: #061e21;
}

.cl-screener__body {
	font-size: 15px;
	line-height: 1.6;
	color: #333;
	margin: 0 0 28px;
}

/* Paragraphs of one message sit closer together than message-to-button. */
.cl-screener__body:has(+ .cl-screener__body) {
	margin-bottom: 12px;
}

.cl-screener__reason[hidden] {
	display: none;
}

/* Full-width bordered option rows, matching the competitor's list layout */
.cl-option-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
}

.cl-option-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border: 1px solid #ccc;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease;
}

.cl-option-row:hover {
	border-color: #8fd2db;
}

.cl-option-row:has(input:checked) {
	background: #e3f4f6;
	border-color: #8fd2db;
}

.cl-option-row input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: #061e21;
	margin: 0;
	cursor: pointer;
	flex-shrink: 0;
}

.cl-option-row span {
	font-size: 15px;
	color: #061e21;
}

.cl-screener__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.cl-screener__nav--stacked {
	flex-direction: column;
	align-items: stretch;
}

.cl-screener__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 32px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	box-sizing: border-box;
}

.cl-screener__btn--full {
	width: 100%;
}

.cl-screener__btn.cl-screener__btn--primary {
	background: #8fd2db !important;
	color: #061e21;
}

.cl-screener__btn.cl-screener__btn--primary:hover {
	background: #7dc5cf !important;
}

.cl-screener__btn.cl-screener__btn--primary:disabled {
	background: #eee !important;
	color: #aaa;
	border: 1px solid #ddd;
	cursor: not-allowed;
}

.cl-screener__btn.cl-screener__btn--ghost {
	background: transparent !important;
	color: #061e21;
	border: 1px solid #ccc;
	appearance: none;
	-webkit-appearance: none;
}

.cl-screener__btn.cl-screener__btn--ghost:hover {
	border-color: #8fd2db;
}

.cl-screener__btn.cl-screener__btn--ghost:disabled {
	background: transparent !important;
	color: #bbb;
	border-color: #e5e5e5;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.cl-screener__card {
		padding: 28px 24px;
	}

	.cl-screener__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.cl-screener__account {
		text-align: left;
	}
}

/* ---------------------------------------------------------------------
   Onboarding style: matches welcome.curaleafclinic.com so the check and
   the sign-up it leads into read as one journey. Switched in Eligibility
   Submissions > Settings; without the modifier class everything above
   still applies unchanged.
   --------------------------------------------------------------------- */

.cl-screener--onboarding {
	max-width: 520px;
	margin-top: 0;
	padding: 0 10px;
}

/* Pinned to the top of the window rather than sitting inside the theme's
   content column, which centres its contents vertically and would leave
   the bar floating ~96px down the page. Body padding below keeps the card
   clear of it. */
.cl-screener__topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid rgba(6, 30, 33, 0.16);
}

.admin-bar .cl-screener__topbar {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .cl-screener__topbar {
		top: 46px;
	}
}

.cl-screener__topbar-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cl-screener__topbar-logo {
	width: 150px;
	height: auto;
	display: block;
}

/* Matches the site header's "Patient Log In" button: outlined, 8px
   corners, 15px Biennale. */
.cl-screener__topbar-back {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border: 1px solid #061e21;
	border-radius: 8px;
	background: transparent;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: #061e21;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.12s ease;
}

/* The theme sets a base link size that wins on specificity alone. */
.cl-screener--onboarding .cl-screener__topbar-back {
	font-size: 16px;
	line-height: 22px;
}

.cl-screener__topbar-back:hover,
.cl-screener__topbar-back:focus {
	background: rgba(6, 30, 33, 0.06);
	color: #061e21;
	text-decoration: none;
}

/* The page centres its content with flexbox, so the card would otherwise
   shrink-wrap each question and jump about between steps. A fixed width
   holds it still. */
.cl-screener--onboarding .cl-screener__card {
	border: 1px solid rgba(6, 30, 33, 0.16);
	border-radius: 8px;
	box-shadow: none;
	padding: 20px;
	margin: 0 auto;
	width: 480px;
	max-width: 100%;
	box-sizing: border-box;
}

/* Type scale from the onboarding theme: card headings are h3
   (18px/24px/500, as on the sign-up card), body is body2 (14px/22px). */
.cl-screener--onboarding .cl-screener__title,
.cl-screener--onboarding .cl-screener__question {
	font-size: 20px;
	font-weight: 500;
	line-height: 26px;
	letter-spacing: -0.031rem;
	color: #061e21;
	margin-bottom: 16px;
}

.cl-screener--onboarding .cl-screener__body {
	font-size: 14px;
	line-height: 22px;
	color: rgba(6, 30, 33, 0.7);
	margin-bottom: 20px;
}

.cl-screener--onboarding .cl-screener__body:has(+ .cl-screener__body) {
	margin-bottom: 10px;
}

/* Answer options copied from the patient app's own forms (Report > Add
   New): full-width outlined buttons, centred text, no radio circle, and
   a pale teal fill once chosen. The radio itself stays in the markup for
   screen readers and keyboard use, just hidden. */
.cl-screener--onboarding .cl-option-row {
	justify-content: center;
	gap: 0;
	height: 40px;
	box-sizing: border-box;
	padding: 0 12px;
	border-radius: 8px;
	border-color: rgba(6, 30, 33, 0.16);
	background: rgba(255, 255, 255, 0.02);
}

.cl-screener--onboarding .cl-option-row input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.cl-screener--onboarding .cl-option-row span {
	font-size: 14px;
	text-align: center;
}

.cl-screener--onboarding .cl-option-row:hover {
	background: #fff;
	border-color: #8fd2db;
}

.cl-screener--onboarding .cl-option-row:has(input:checked) {
	background: rgba(143, 210, 219, 0.16);
	border-color: #8fd2db;
}

.cl-screener--onboarding .cl-option-row:has(input:checked):hover {
	background: rgba(143, 210, 219, 0.16);
	box-shadow: 0 0 4px 0 rgba(143, 210, 219, 0.8);
}

.cl-screener--onboarding .cl-option-row:has(input:focus-visible) {
	outline: 2px solid #061e21;
	outline-offset: 2px;
}

/* Buttons as the app draws them: primary is solid teal with dark ink and
   no border, secondary is outlined in the ink colour. Both 14px/400. */
.cl-screener--onboarding .cl-screener__btn {
	border-radius: 8px;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	height: 42px;
	padding: 10px 18px;
	text-transform: none;
}

.cl-screener--onboarding .cl-screener__btn.cl-screener__btn--primary {
	border-color: transparent;
}

.cl-screener--onboarding .cl-screener__btn.cl-screener__btn--ghost {
	border-color: #061e21;
}

.cl-screener--onboarding .cl-screener__btn.cl-screener__btn--ghost:hover {
	background: rgba(6, 30, 33, 0.06) !important;
	border-color: #061e21;
}

.cl-screener--onboarding .cl-screener__btn.cl-screener__btn--ghost:disabled {
	border-color: rgba(6, 30, 33, 0.16);
	color: rgba(6, 30, 33, 0.35);
}

.cl-screener--onboarding .cl-screener__account {
	font-size: 14px;
	line-height: 22px;
	color: rgba(6, 30, 33, 0.6);
}

.cl-screener--onboarding .cl-screener__avatar {
	width: 36px;
	height: 36px;
}

.cl-screener--onboarding .cl-screener__avatar img {
	width: 18px;
	height: 18px;
}

.cl-screener--onboarding .cl-screener__header {
	margin-bottom: 24px;
}

.cl-screener--onboarding .cl-option-list {
	margin-bottom: 24px;
}

@media (max-width: 600px) {
	.cl-screener__topbar-inner {
		padding: 12px 18px;
	}

	.cl-screener__topbar-logo {
		width: 124px;
	}

	.cl-screener--onboarding .cl-screener__topbar-back {
		font-size: 15px;
		padding: 8px 14px;
	}

	.cl-screener--onboarding .cl-screener__card {
		padding: 22px 20px 26px;
	}
}

/* Sign-in line sits under the buttons, centred, as Dylan's mock-up shows.
   The leaf mark that used to head the card is gone. */
.cl-screener__account {
	text-align: center;
	margin: 20px 0 0;
}

.cl-screener__account a {
	display: inline;
	margin-left: 4px;
}
