/* Theme alignment — pre-register landing aesthetic */
body.eh-study-join-page {
	--eh-sj-font: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	--eh-pub-sans: var(--eh-sj-font);
	--eh-pub-serif: var(--eh-sj-font);
	margin: 0;
	background: #f6faf9;
}

body.eh-study-join-page,
body.eh-study-join-page .eh-study-join-pr,
body.eh-study-join-page .eh-study-join-pr *,
body.eh-study-join-page .eh-study-join,
body.eh-study-join-page .eh-study-join * {
	font-family: var(--eh-sj-font) !important;
}

body.eh-study-join-page .eh-pub-main--landing {
	max-width: none;
	margin: 0;
	padding: 0;
}

body.eh-study-join-page .eh-header {
	display: none !important;
}

/* Study Join — participant-facing landing.
   Reuses tokens from public.css (cream / teal palette). */

.eh-study-join {
	font-family: var(--eh-pub-sans);
	color: var(--eh-pub-ink);
	background: var(--eh-pub-bg);
}

.eh-sj__container {
	box-sizing: border-box;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

.eh-sj__container--narrow {
	max-width: 760px;
}

.eh-sj__h2 {
	font-weight: 800;
	letter-spacing: -0.035em;
	font-size: clamp(1.75rem, 3.5vw, 2.35rem);
	line-height: 1.08;
	margin: 0 0 0.75rem;
	color: #071426;
}

.eh-sj__h3 {
	font-weight: 700;
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
	color: #071426;
}

.eh-sj__lede {
	margin: 0 0 1.5rem;
	color: var(--eh-pub-muted);
	font-size: 1.02rem;
	max-width: 60ch;
}

.eh-sj__prose {
	color: var(--eh-pub-ink);
	font-size: 1.02rem;
	line-height: 1.65;
}

.eh-sj__prose p {
	margin: 0 0 1em;
}

.eh-sj__prose ul,
.eh-sj__prose ol {
	margin: 0 0 1em 1.25rem;
	padding: 0;
}

.eh-sj__prose li {
	margin: 0 0 0.45em;
}

.eh-sj__prose li:last-child {
	margin-bottom: 0;
}

.eh-sj__prose--small {
	font-size: 0.92rem;
	color: var(--eh-pub-muted);
}

.eh-sj__prose--wide {
	margin-top: 1.5rem;
	width: 100%;
	max-width: none;
}

/* ----- Hero ----- */
.eh-sj__hero {
	position: relative;
	overflow: hidden;
	background: #eafff3;
	color: #071426;
	padding: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.eh-sj__hero[style*="--eh-sj-hero-image"] {
	background:
		linear-gradient(180deg, rgba(234, 255, 243, 0.92) 0%, rgba(234, 255, 243, 0.98) 100%),
		var(--eh-sj-hero-image) center/cover no-repeat;
}

.eh-sj__hero-inner {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem) 0;
}

.eh-sj__eyebrow {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #2d9aad;
	margin-bottom: 0.9rem;
}

.eh-sj__headline {
	font-weight: 800;
	letter-spacing: -0.04em;
	font-size: clamp(2rem, 5.5vw, 3.25rem);
	line-height: 1.08;
	margin: 0 auto 1rem;
	max-width: 20ch;
	color: #071426;
}

.eh-sj__subtitle {
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
	font-weight: 500;
	line-height: 1.55;
	color: #1f2a3a;
	max-width: 52ch;
	margin: 0 auto 1.5rem;
}

.eh-sj__hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
}

.eh-sj__meta-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.9rem;
	border: 1px solid rgba(45, 154, 173, 0.28);
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #0d4f57;
	background: rgba(255, 255, 255, 0.72);
}

.eh-sj__hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

/* ----- Buttons ----- */
.eh-sj__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.4rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
	font-family: inherit;
}

.eh-sj__cta--primary {
	background: #081328;
	color: #ffffff;
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.82rem;
}

.eh-sj__cta--primary:hover {
	background: #122044;
	transform: translateY(-1px);
}

.eh-sj__cta--ghost {
	background: transparent;
	color: #2d9aad;
	border: 1.5px solid rgba(45, 154, 173, 0.45);
	border-radius: 999px;
	font-weight: 700;
	opacity: 1;
}

.eh-sj__cta--ghost:hover {
	background: rgba(45, 154, 173, 0.08);
	transform: translateY(-1px);
}

.eh-sj__cta[disabled],
.eh-sj__cta.is-loading {
	opacity: 0.6;
	cursor: progress;
}

/* ----- Sections ----- */
.eh-sj__why,
.eh-sj__overview,
.eh-sj__agent,
.eh-sj__protocols,
.eh-sj__checkin,
.eh-sj__community,
.eh-sj__founding,
.eh-sj__legal {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.eh-sj__why,
.eh-sj__protocols,
.eh-sj__community,
.eh-sj__legal {
	background: #f6faf9;
}

.eh-sj__overview,
.eh-sj__checkin,
.eh-sj__founding {
	background: var(--eh-pub-card);
	border-top: 1px solid var(--eh-pub-border);
	border-bottom: 1px solid var(--eh-pub-border);
}

.eh-sj__agent {
	background: linear-gradient(180deg, #f0fff8 0%, #eafff3 100%);
	color: #071426;
	border-top: 1px solid rgba(8, 19, 40, 0.08);
	border-bottom: 1px solid rgba(8, 19, 40, 0.08);
}

.eh-sj__agent .eh-sj__lede {
	color: #50606f;
}

/* ----- Overview stats ----- */
.eh-sj__overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin-bottom: 1.25rem;
	width: 100%;
}

.eh-sj__stat {
	background: var(--eh-pub-bg);
	border: 1px solid var(--eh-pub-border);
	border-radius: 14px;
	padding: 1.25rem;
}

.eh-sj__stat-num {
	font-size: 2rem;
	font-weight: 800;
	color: #2d9aad;
	margin-bottom: 0.25rem;
}

.eh-sj__stat-label {
	font-size: 0.85rem;
	color: var(--eh-pub-muted);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* ----- Agent chat ----- */
.eh-sj__chat {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 1.25rem;
	max-width: 760px;
}

.eh-sj__chat-log {
	min-height: 120px;
	max-height: 360px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-bottom: 1rem;
	padding-right: 0.25rem;
}

.eh-sj__chat-msg {
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	max-width: 80%;
	font-size: 0.95rem;
	line-height: 1.45;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.eh-sj__chat-msg--user {
	align-self: flex-end;
	background: var(--eh-pub-accent);
	color: var(--eh-pub-ink-deep);
}

.eh-sj__chat-msg--agent {
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.eh-sj__chat-msg--system {
	align-self: center;
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.82rem;
	font-style: italic;
}

.eh-sj__chat-msg--thinking {
	opacity: 0.72;
	font-style: italic;
}

.eh-sj__chat-msg--html {
	white-space: normal;
}

.eh-sj__chat-msg--html p {
	margin: 0 0 0.5em;
}

.eh-sj__chat-msg--html p:last-child {
	margin-bottom: 0;
}

.eh-sj__chat-msg--html ul,
.eh-sj__chat-msg--html ol {
	margin: 0.45em 0;
	padding-left: 1.35em;
}

.eh-sj__chat-msg--html li + li {
	margin-top: 0.2em;
}

.eh-sj__chat-msg--html strong {
	font-weight: 700;
}

.eh-sj__chat-form {
	display: flex;
	gap: 0.5rem;
}

.eh-sj__chat-input {
	flex: 1;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.25);
	color: #fff;
	font: inherit;
}

.eh-sj__chat-input:focus {
	outline: 2px solid var(--eh-pub-accent);
	outline-offset: 1px;
}

.eh-sj__chat-hint {
	margin-top: 0.75rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.5);
}

/* ----- Protocol grid ----- */
.eh-sj__protocol-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.eh-sj__protocol-card {
	background: var(--eh-pub-card);
	border: 1px solid var(--eh-pub-border);
	border-radius: 14px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	transition: border-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.eh-sj__protocol-card:hover {
	border-color: var(--eh-pub-accent);
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(10, 31, 30, 0.08);
}

.eh-sj__protocol-card.is-selected {
	border-color: var(--eh-pub-accent);
	box-shadow: 0 0 0 3px rgba(94, 197, 197, 0.18);
}

.eh-sj__protocol-card.is-pending {
	border-color: var(--eh-pub-accent);
	animation: ehSjPulse 1.6s ease-in-out 0s 3;
}

@keyframes ehSjPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(94, 197, 197, 0); }
	50% { box-shadow: 0 0 0 8px rgba(94, 197, 197, 0.22); }
}

.eh-sj__protocol-card--custom {
	background: linear-gradient(160deg, #0a2828 0%, #061b1b 100%);
	color: #fff;
	border-color: transparent;
}

.eh-sj__protocol-card--custom .eh-sj__protocol-desc {
	color: rgba(255, 255, 255, 0.8);
}

.eh-sj__protocol-card--custom .eh-sj__cta--ghost {
	color: #fff;
}

.eh-sj__protocol-head {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.eh-sj__protocol-name {
	font-family: var(--eh-pub-serif);
	font-weight: 600;
	font-size: 1.25rem;
	margin: 0;
}

.eh-sj__protocol-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.eh-sj__tag {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.6rem;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	background: var(--eh-pub-bg);
	color: var(--eh-pub-ink);
	border: 1px solid var(--eh-pub-border);
}

.eh-sj__tag--beginner { background: #e7f5f0; color: #14613f; border-color: #b8e0d0; }
.eh-sj__tag--intermediate { background: #fff4d6; color: #7a5400; border-color: #f0d997; }
.eh-sj__tag--advanced { background: #f9d8d4; color: #7e2a23; border-color: #f0a89e; }
.eh-sj__tag--neutral { background: rgba(94, 197, 197, 0.12); color: var(--eh-pub-ink-deep); border-color: rgba(94, 197, 197, 0.45); }

.eh-sj__protocol-desc {
	margin: 0;
	color: var(--eh-pub-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.eh-sj__protocol-pick {
	margin-top: auto;
}

.eh-sj__enroll-status {
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(94, 197, 197, 0.1);
	border: 1px solid rgba(94, 197, 197, 0.3);
	font-size: 0.95rem;
	display: none;
}

.eh-sj__enroll-status.is-visible {
	display: block;
}

.eh-sj__enroll-status.is-error {
	background: rgba(200, 60, 60, 0.08);
	border-color: rgba(200, 60, 60, 0.3);
	color: #7a1d1d;
}

/* ----- Check-in ----- */
.eh-sj__checkin-mount {
	max-width: 720px;
}

.eh-sj__checkin-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	background: var(--eh-pub-bg);
	border: 1px solid var(--eh-pub-border);
	border-radius: 14px;
	padding: 1.25rem;
}

.eh-sj__checkin-question {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.eh-sj__checkin-label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--eh-pub-ink);
}

.eh-sj__checkin-slider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.eh-sj__checkin-slider input[type="range"] {
	flex: 1;
	accent-color: var(--eh-pub-accent);
}

.eh-sj__checkin-slider-value {
	min-width: 2.4rem;
	text-align: center;
	font-weight: 700;
	color: var(--eh-pub-ink-deep);
}

.eh-sj__checkin-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.eh-sj__checkin-chip {
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	border: 1px solid var(--eh-pub-border);
	background: var(--eh-pub-card);
	cursor: pointer;
	font-size: 0.88rem;
	font-family: inherit;
}

.eh-sj__checkin-chip.is-selected {
	background: var(--eh-pub-accent);
	border-color: var(--eh-pub-accent);
	color: var(--eh-pub-ink-deep);
}

.eh-sj__checkin-text {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	border: 1px solid var(--eh-pub-border);
	font: inherit;
	resize: vertical;
}

.eh-sj__checkin-done {
	padding: 1rem;
	border-radius: 10px;
	background: rgba(94, 197, 197, 0.12);
	border: 1px solid rgba(94, 197, 197, 0.35);
	color: var(--eh-pub-ink-deep);
}

/* ----- Community ----- */
.eh-sj__community-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	background: var(--eh-pub-card);
	border: 1px solid var(--eh-pub-border);
	border-radius: 14px;
	padding: 1.25rem;
}

.eh-sj__community-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	border: 1px solid var(--eh-pub-border);
	font: inherit;
	resize: vertical;
}

.eh-sj__community-actions {
	display: flex;
	justify-content: flex-end;
}

.eh-sj__community-feed {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.eh-sj__community-post {
	background: var(--eh-pub-card);
	border: 1px solid var(--eh-pub-border);
	border-radius: 12px;
	padding: 1rem 1.1rem;
}

.eh-sj__community-post-meta {
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--eh-pub-muted);
	margin-bottom: 0.45rem;
	display: flex;
	gap: 0.5rem;
}

.eh-sj__community-post-body {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--eh-pub-ink);
	white-space: pre-wrap;
}

.eh-sj__community-empty {
	text-align: center;
	color: var(--eh-pub-muted);
	padding: 1.5rem 0;
}

/* ----- Founding card ----- */
.eh-sj__founding-card {
	background: linear-gradient(140deg, var(--eh-pub-ink-deep) 0%, #14403e 100%);
	color: #fff;
	border-radius: 16px;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	text-align: center;
}

.eh-sj__founding-card .eh-sj__lede {
	color: rgba(255, 255, 255, 0.78);
}

/* ----- Legal / consent ----- */
.eh-sj__consent {
	margin-top: 1rem;
	display: inline-flex;
	gap: 0.5rem;
	align-items: flex-start;
	cursor: pointer;
}

/* ----- Custom protocol modal ----- */
.eh-sj__modal {
	position: fixed;
	inset: 0;
	background: rgba(8, 20, 20, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	z-index: 9999;
}

.eh-sj__modal[hidden] {
	display: none;
}

.eh-sj__modal-card {
	background: var(--eh-pub-card);
	border-radius: 16px;
	padding: clamp(1.5rem, 4vw, 2rem);
	max-width: 520px;
	width: 100%;
	position: relative;
}

.eh-sj__modal-close {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	background: none;
	border: 0;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--eh-pub-muted);
	cursor: pointer;
}

.eh-sj__custom-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	border: 1px solid var(--eh-pub-border);
	font: inherit;
	resize: vertical;
	margin: 1rem 0;
}

/* ----- 404 fallback ----- */
.eh-study-join--missing {
	min-height: 60vh;
	display: flex;
	align-items: center;
	text-align: center;
}

.eh-study-join--missing .eh-study-join__container {
	max-width: 540px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* ----- Responsive tweaks ----- */
@media (max-width: 640px) {
	.eh-sj__chat-form {
		flex-direction: column;
	}
	.eh-sj__hero-cta {
		flex-direction: column;
		align-items: stretch;
	}
	.eh-sj__cta {
		justify-content: center;
	}
}

/* === Visual polish === */
body.eh-study-join-page {
	--eh-sj-teal: #2d9aad;
	--eh-sj-ink: #071426;
	--eh-sj-muted: #50606f;
	--eh-sj-rule: rgba(8, 19, 40, 0.1);
	--eh-sj-card-shadow: 0 20px 50px -28px rgba(8, 19, 40, 0.14);
}

.eh-study-join {
	background: #ffffff;
	color: var(--eh-sj-ink);
}

.eh-study-join-pr .stamp {
	z-index: 30;
}

.eh-sj__section-eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--eh-sj-teal);
}

.eh-sj__section-head--center {
	text-align: center;
	margin-bottom: 2rem;
}

.eh-sj__section-head--center .eh-sj__h2 {
	margin-left: auto;
	margin-right: auto;
}

.eh-sj__lede {
	font-weight: 500;
	color: var(--eh-sj-muted);
	font-size: 1.05rem;
	line-height: 1.55;
}

.eh-sj__lede--center {
	margin-left: auto;
	margin-right: auto;
	max-width: 42rem;
}

.eh-sj__prose {
	font-weight: 500;
	color: #1f2a3a;
	font-size: 1.05rem;
	line-height: 1.65;
}

.eh-sj__prose strong {
	font-weight: 700;
	color: var(--eh-sj-ink);
}

.eh-sj__headline {
	max-width: 24ch;
}

.eh-sj__hero-meta {
	justify-content: center;
}

.eh-sj__hero-inner {
	padding-top: clamp(2rem, 5vw, 3rem);
}

.eh-sj__why {
	background: #ffffff;
}

.eh-sj__why > .eh-sj__container {
	max-width: 1180px;
}

/* ----- Content width alignment ----- */
.eh-sj__why .eh-sj__prose {
	width: 100%;
	max-width: none;
}

.eh-sj__overview .eh-sj__prose--wide {
	margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.eh-sj__agent .eh-sj__lede--center {
	max-width: 760px;
}

.eh-sj__checkin .eh-sj__container {
	max-width: 720px;
}

.eh-sj__checkin .eh-sj__lede,
.eh-sj__checkin .eh-sj__h2 {
	max-width: none;
}

.eh-sj__overview {
	background: linear-gradient(180deg, #f6faf9 0%, #ffffff 100%);
	border: none;
}

.eh-sj__stat {
	background: #ffffff;
	border: 1px solid var(--eh-sj-rule);
	border-radius: 20px;
	padding: 1.5rem 1.25rem;
	box-shadow: var(--eh-sj-card-shadow);
	text-align: center;
}

.eh-sj__stat-label {
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	color: var(--eh-sj-muted);
}

.eh-sj__agent .eh-sj__container {
	max-width: 820px;
}

.eh-sj__chat,
.eh-sj__chat--centered {
	background: #ffffff;
	border: 1px solid var(--eh-sj-rule);
	border-radius: 22px;
	padding: 1.35rem;
	box-shadow: var(--eh-sj-card-shadow);
	max-width: 760px;
	margin: 0 auto;
}

.eh-sj__chat.eh-sj__chat--centered {
	height: 530px;
	max-height: min(530px, calc(100dvh - 9rem));
	min-height: 380px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.eh-sj__chat.eh-sj__chat--centered .eh-sj__chat-log {
	flex: 1 1 0;
	min-height: 0;
	max-height: none;
	margin-bottom: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
	padding-right: 0.35rem;
	scrollbar-gutter: stable;
}

.eh-sj__chat.eh-sj__chat--centered .eh-sj__chat-log::-webkit-scrollbar {
	width: 6px;
}

.eh-sj__chat.eh-sj__chat--centered .eh-sj__chat-log::-webkit-scrollbar-thumb {
	background: rgba(45, 154, 173, 0.35);
	border-radius: 999px;
}

.eh-sj__chat.eh-sj__chat--centered .eh-sj__chat-form {
	flex-shrink: 0;
	margin-top: auto;
	padding-top: 0.85rem;
}

.eh-sj__chat.eh-sj__chat--centered .eh-sj__chat-hint {
	flex-shrink: 0;
}

.eh-sj__chat-msg {
	font-weight: 500;
}

.eh-sj__chat-msg--user {
	align-self: flex-end;
	background: var(--eh-sj-teal);
	color: #ffffff;
	border-radius: 16px 16px 4px 16px;
	max-width: 85%;
}

.eh-sj__chat-msg--agent {
	align-self: flex-start;
	background: #f0fff8;
	color: var(--eh-sj-ink);
	border: 1px solid rgba(45, 154, 173, 0.22);
	border-radius: 16px 16px 16px 4px;
	max-width: 100%;
}

.eh-sj__chat-msg--system {
	color: var(--eh-sj-muted);
}

.eh-sj__chat-msg--thinking {
	opacity: 0.72;
	font-style: italic;
}

.eh-sj__chat-msg--html {
	white-space: normal;
}

.eh-sj__chat-msg--agent.eh-sj__chat-msg--markdown {
	font-weight: 400;
	line-height: 1.55;
	padding: 0.9rem 1.05rem 1rem;
}

.eh-sj__chat-msg--markdown > *:first-child {
	margin-top: 0;
}

.eh-sj__chat-msg--markdown > *:last-child {
	margin-bottom: 0;
}

.eh-sj__chat-msg--markdown p {
	margin: 0 0 0.75rem;
}

.eh-sj__chat-msg--markdown p:last-child {
	margin-bottom: 0;
}

.eh-sj__chat-msg--markdown ul,
.eh-sj__chat-msg--markdown ol {
	margin: 0.35rem 0 0.75rem;
	padding-left: 1.4rem;
}

.eh-sj__chat-msg--markdown li {
	margin: 0.35rem 0;
}

.eh-sj__chat-msg--markdown li > p {
	margin: 0.2rem 0;
}

.eh-sj__chat-msg--markdown strong {
	font-weight: 700;
	color: var(--eh-sj-ink);
}

.eh-sj__chat-msg--markdown em {
	font-style: italic;
}

.eh-sj__chat-msg--markdown h1,
.eh-sj__chat-msg--markdown h2,
.eh-sj__chat-msg--markdown h3 {
	margin: 0.85rem 0 0.45rem;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.35;
}

.eh-sj__chat-msg--markdown h1:first-child,
.eh-sj__chat-msg--markdown h2:first-child,
.eh-sj__chat-msg--markdown h3:first-child {
	margin-top: 0;
}

.eh-sj__chat-msg--markdown code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
	padding: 0.12em 0.35em;
	background: rgba(8, 19, 40, 0.06);
	border-radius: 4px;
}

.eh-sj__chat-msg--markdown pre {
	margin: 0.65rem 0;
	padding: 0.65rem 0.85rem;
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 8px;
	overflow-x: auto;
	font-size: 0.8125rem;
	line-height: 1.45;
}

.eh-sj__chat-msg--markdown pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.eh-sj__chat-msg--markdown blockquote {
	margin: 0.65rem 0;
	padding-left: 0.85rem;
	border-left: 3px solid rgba(45, 154, 173, 0.45);
	color: var(--eh-sj-muted);
}

.eh-sj__chat-msg--markdown a {
	color: var(--eh-sj-teal);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.eh-sj__chat-msg--markdown hr {
	border: 0;
	border-top: 1px solid var(--eh-sj-rule);
	margin: 0.75rem 0;
}

.eh-sj__chat-input {
	background: #fafdfc;
	border: 1.5px solid var(--eh-sj-rule);
	color: var(--eh-sj-ink);
	font-weight: 500;
	border-radius: 12px;
}

.eh-sj__chat-input::placeholder {
	color: rgba(8, 19, 40, 0.42);
}

.eh-sj__chat-input:focus {
	outline: none;
	border-color: var(--eh-sj-teal);
	box-shadow: 0 0 0 4px rgba(45, 154, 173, 0.14);
}

.eh-sj__chat-hint {
	color: var(--eh-sj-muted);
	font-weight: 500;
}

.eh-sj__chat-send {
	flex-shrink: 0;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.eh-sj__protocols {
	background: #f6faf9;
	scroll-margin-top: 1.5rem;
}

.eh-sj__protocols.eh-sj__protocols--signup {
	padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.eh-sj__protocols--signup .eh-sj__section-head {
	margin-bottom: 1.15rem;
}

.eh-sj__protocols--signup .eh-sj__section-eyebrow {
	color: var(--eh-sj-teal);
}

.eh-sj__protocols [data-role="protocol-section-title"],
.eh-sj__protocols [data-role="protocol-section-lede"] {
	transition: opacity 0.32s ease, transform 0.32s ease;
}

.eh-sj__protocols--signup [data-role="protocol-section-lede"] {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.eh-sj__protocol-grid {
	gap: 1.15rem;
}

.eh-sj__protocol-card {
	background: #ffffff;
	border: 1px solid var(--eh-sj-rule);
	border-radius: 22px;
	padding: 1.35rem;
	box-shadow: var(--eh-sj-card-shadow);
}

.eh-sj__protocol-card:hover {
	border-color: rgba(45, 154, 173, 0.45);
	box-shadow: 0 24px 56px -28px rgba(8, 19, 40, 0.18);
}

.eh-sj__protocol-card.is-selected {
	border-color: var(--eh-sj-teal);
	box-shadow: 0 0 0 3px rgba(45, 154, 173, 0.16), var(--eh-sj-card-shadow);
}

.eh-sj__protocol-card--custom {
	background: linear-gradient(180deg, #f0fff8 0%, #ffffff 100%);
	color: var(--eh-sj-ink);
	border: 2px dashed rgba(45, 154, 173, 0.42);
}

.eh-sj__protocol-card--custom .eh-sj__protocol-desc {
	color: var(--eh-sj-muted);
	font-weight: 500;
}

.eh-sj__protocol-card--custom .eh-sj__cta--ghost {
	color: var(--eh-sj-teal);
	border-color: rgba(45, 154, 173, 0.45);
}

.eh-sj__protocol-name {
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--eh-sj-ink);
}

.eh-sj__protocol-desc {
	font-weight: 500;
	color: var(--eh-sj-muted);
}

.eh-sj__protocol-pick,
.eh-sj__protocol-card .eh-sj__cta--ghost {
	width: 100%;
	margin-top: auto;
	font-weight: 700;
}

.eh-sj__protocol-card.is-selected .eh-sj__protocol-pick {
	background: var(--eh-sj-teal);
	color: #ffffff;
	border-color: var(--eh-sj-teal);
}

/* Protocol picker ↔ signup transition */
.eh-sj__protocol-stage {
	position: relative;
	transition: min-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.eh-sj__protocol-stage.is-transitioning {
	overflow: hidden;
}

.eh-sj__protocol-panel {
	transition:
		opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0.38s;
}

.eh-sj__protocol-panel:not(.is-current) {
	opacity: 0;
	transform: translateY(14px);
	visibility: hidden;
	pointer-events: none;
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
}

.eh-sj__protocol-panel.is-current {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	position: relative;
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.eh-sj__protocol-stage {
		transition: none;
	}

	.eh-sj__protocol-panel {
		transition: none;
	}
}

/* Inline protocol signup */
.eh-sj__protocol-signup {
	max-width: 680px;
	margin: 0 auto;
}

.eh-sj__signup-card {
	background: #ffffff;
	border: 1px solid var(--eh-sj-rule);
	border-radius: 24px;
	box-shadow: 0 28px 64px -36px rgba(8, 19, 40, 0.22);
	overflow: hidden;
	opacity: 0;
	transform: translateY(10px) scale(0.985);
	transition:
		opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.eh-sj__signup-card.is-revealed {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.eh-sj__signup-card-protocol {
	padding: 1.35rem 1.5rem 1.25rem;
	background: linear-gradient(135deg, #f0fff8 0%, #ffffff 72%);
	border-bottom: 1px solid rgba(45, 154, 173, 0.14);
}

.eh-sj__signup-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.eh-sj__signup-card-eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eh-sj-teal);
}

.eh-sj__protocol-signup-back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	padding: 0.42rem 0.75rem;
	border: 1px solid rgba(45, 154, 173, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--eh-sj-teal);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.eh-sj__protocol-signup-back:hover,
.eh-sj__protocol-signup-back:focus-visible {
	background: #f0fff8;
	border-color: var(--eh-sj-teal);
	color: var(--eh-sj-ink);
	transform: translateX(-2px);
	outline: none;
}

.eh-sj__protocol-signup-back-icon {
	font-size: 0.95rem;
	line-height: 1;
}

.eh-sj__protocol-summary {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	margin: 0;
}

.eh-sj__protocol-summary .eh-sj__protocol-head {
	margin-bottom: 0.65rem;
}

.eh-sj__protocol-summary .eh-sj__protocol-name {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}

.eh-sj__protocol-summary .eh-sj__protocol-desc {
	margin: 0;
	line-height: 1.55;
}

.eh-sj__signup-form {
	border: 0;
	border-radius: 0;
	padding: 1.5rem 1.5rem 0.85rem;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
	background: transparent;
	margin-bottom: 0;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.eh-study-join-page .eh-sj__signup-form.founder-form {
	margin-bottom: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.eh-study-join-page .eh-sj__signup-form .founder-step {
	margin-bottom: 0;
}

body.eh-study-join-page .eh-sj__signup-form .founder-terms {
	margin: 0;
}

body.eh-study-join-page .eh-sj__signup-form .eh-pr__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

body.eh-study-join-page .eh-sj__signup-form .founder-form-error {
	margin: 0;
}

.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-step {
	animation: eh-sj-step-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-step:nth-child(1) { animation-delay: 0.04s; }
.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-step:nth-child(2) { animation-delay: 0.08s; }
.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-step:nth-child(3) { animation-delay: 0.12s; }
.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-step:nth-child(4) { animation-delay: 0.16s; }
.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-terms { animation: eh-sj-step-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; }
.eh-sj__signup-card.is-revealed .eh-sj-signup-submit { animation: eh-sj-step-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.24s both; }

@keyframes eh-sj-step-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.eh-sj__signup-card {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-step,
	.eh-sj__signup-card.is-revealed .eh-sj__signup-form .founder-terms,
	.eh-sj__signup-card.is-revealed .eh-sj-signup-submit {
		animation: none;
	}
}

.eh-sj__signup-form .founder-step {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding-bottom: 1.35rem;
	border-bottom: 1px solid rgba(8, 19, 40, 0.07);
}

.eh-sj__signup-form .founder-step:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

.eh-sj__signup-form .founder-label {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eh-sj-muted);
}

.eh-sj__signup-form .founder-label .founder-hint {
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
	color: rgba(8, 19, 40, 0.48);
}

.eh-sj__signup-form .founder-input,
.eh-sj__signup-form .founder-textarea,
.eh-sj__signup-form .founder-select {
	width: 100%;
	padding: 0.9rem 1.05rem;
	border: 1.5px solid var(--eh-sj-rule);
	border-radius: 14px;
	background: #fafdfc;
	color: var(--eh-sj-ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.eh-sj__signup-form .founder-select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2350606f' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 12px 8px;
	cursor: pointer;
}

.eh-sj__signup-form .founder-input:hover,
.eh-sj__signup-form .founder-textarea:hover,
.eh-sj__signup-form .founder-select:hover {
	border-color: rgba(45, 154, 173, 0.35);
}

.eh-sj__signup-form .founder-textarea {
	min-height: 120px;
	resize: vertical;
	line-height: 1.55;
}

.eh-sj__signup-form .founder-input:focus,
.eh-sj__signup-form .founder-textarea:focus,
.eh-sj__signup-form .founder-select:focus {
	outline: none;
	border-color: var(--eh-sj-teal);
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(45, 154, 173, 0.14);
}

.eh-sj__signup-form .founder-chips,
.eh-sj__signup-form .q-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.eh-sj__signup-form .founder-chip,
.eh-sj__signup-form .q-chip {
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	border: 1.5px solid var(--eh-sj-rule);
	background: #ffffff;
	color: var(--eh-sj-ink);
	font: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.35;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.15s ease,
		box-shadow 0.2s ease;
}

.eh-sj__signup-form .founder-chip:active,
.eh-sj__signup-form .q-chip:active {
	transform: scale(0.97);
}

.eh-sj__signup-form .founder-chip:hover,
.eh-sj__signup-form .q-chip:hover {
	border-color: var(--eh-sj-teal);
	background: #f0fff8;
	color: var(--eh-sj-ink);
	transform: translateY(-1px);
}

body.eh-study-join-page .eh-sj__signup-form .founder-chip:hover,
body.eh-study-join-page .eh-sj__signup-form .q-chip:hover {
	border-color: var(--eh-sj-teal);
	background: #f0fff8;
	color: var(--eh-sj-ink);
}

.eh-sj__signup-form .founder-chip.selected,
.eh-sj__signup-form .q-chip.selected,
body.eh-study-join-page .eh-sj__signup-form .founder-chip.selected,
body.eh-study-join-page .eh-sj__signup-form .q-chip.selected {
	background: var(--eh-sj-teal);
	border-color: var(--eh-sj-teal);
	color: #ffffff;
	box-shadow: 0 8px 20px -10px rgba(45, 154, 173, 0.65);
}

.eh-sj__signup-form .founder-chip.selected:hover,
.eh-sj__signup-form .q-chip.selected:hover,
body.eh-study-join-page .eh-sj__signup-form .founder-chip.selected:hover,
body.eh-study-join-page .eh-sj__signup-form .q-chip.selected:hover {
	background: var(--eh-sj-teal);
	border-color: var(--eh-sj-teal);
	color: #ffffff;
}

.eh-sj__signup-form .trending-block--inline {
	padding: 0.85rem 0.95rem;
	margin-bottom: 0.65rem;
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fcfb 0%, #f3f8f7 100%);
	border: 1px solid rgba(8, 19, 40, 0.06);
}

.eh-sj__signup-form .trending-block--inline .q-chips {
	gap: 0.42rem;
}

.eh-sj__signup-form .trending-block--inline .q-chip {
	font-size: 0.82rem;
	padding: 0.42rem 0.8rem;
	background: rgba(255, 255, 255, 0.88);
}

.eh-sj__signup-form .trending-block--inline .q-chip.selected,
body.eh-study-join-page .eh-sj__signup-form .trending-block--inline .q-chip.selected {
	background: var(--eh-sj-teal);
	border-color: var(--eh-sj-teal);
	color: #ffffff;
	box-shadow: 0 8px 20px -10px rgba(45, 154, 173, 0.65);
}

.eh-sj__signup-form .trending-block--inline .block-label {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(8, 19, 40, 0.52);
}

.eh-sj__signup-form .founder-step--profile {
	padding-top: 0.15rem;
}

.eh-sj__signup-form .founder-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1rem;
}

.eh-sj__signup-form .founder-field--wide {
	grid-column: 1 / -1;
}

.eh-sj__signup-form .founder-field label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--eh-sj-ink);
}

.eh-sj__signup-form .founder-terms {
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: #f6faf9;
	border: 1px solid rgba(8, 19, 40, 0.06);
}

.eh-sj__signup-form .founder-terms-label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--eh-sj-muted);
}

.eh-sj__signup-form .founder-terms-label input {
	margin-top: 0.25rem;
	width: 1.05rem;
	height: 1.05rem;
	accent-color: var(--eh-sj-teal);
	flex-shrink: 0;
}

.eh-sj__signup-form .founder-terms-label a {
	color: var(--eh-sj-teal);
	font-weight: 700;
}

.eh-sj__signup-form .eh-sj-signup-error {
	margin: 0;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	background: #fef3f2;
	border: 1px solid rgba(180, 35, 24, 0.18);
	color: #b42318;
	font-size: 0.92rem;
	font-weight: 600;
}

.eh-sj__signup-form .eh-sj-signup-submit {
	width: 100%;
	margin-top: 0.35rem;
	margin-bottom: 0;
	padding: 1rem 1.4rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 999px;
	border: none;
	background: #081328;
	color: #ffffff;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.eh-sj__signup-form .eh-sj-signup-submit:hover:not(:disabled) {
	background: #122044;
	transform: translateY(-1px);
	box-shadow: 0 14px 32px -16px rgba(8, 19, 40, 0.45);
}

.eh-sj__signup-form .eh-sj-signup-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(45, 154, 173, 0.22);
}

.eh-sj__signup-form .eh-sj-signup-submit:disabled {
	opacity: 0.72;
	cursor: wait;
}

@media (max-width: 640px) {
	.eh-sj__signup-form .founder-fields {
		grid-template-columns: 1fr;
	}

	.eh-sj__signup-card-protocol,
	.eh-sj__signup-form {
		padding-left: 1.15rem;
		padding-right: 1.15rem;
	}

	.eh-sj__signup-card-top {
		flex-wrap: wrap;
	}

	.eh-sj__protocol-signup-back {
		margin-left: auto;
	}
}

.eh-sj__community {
	background: #ffffff;
}

.eh-sj__community-form,
.eh-sj__community-post {
	border-radius: 18px;
	box-shadow: var(--eh-sj-card-shadow);
}

.eh-sj__community-empty {
	font-weight: 500;
	padding: 2.5rem 1rem;
	background: #f6faf9;
	border-radius: 18px;
	border: 1px dashed var(--eh-sj-rule);
}

.eh-sj__founding {
	background: linear-gradient(180deg, #ffffff 0%, #f6faf9 100%);
	border: none;
}

.eh-sj__founding-card {
	background: linear-gradient(180deg, #fffbe6 0%, #f3fbe8 48%, #eaf8e0 100%);
	color: var(--eh-sj-ink);
	border-radius: 24px;
	padding: clamp(2rem, 5vw, 3rem);
	border: 1px solid rgba(8, 19, 40, 0.08);
	box-shadow: var(--eh-sj-card-shadow);
}

.eh-sj__founding-card .eh-sj__h2 {
	color: var(--eh-sj-ink);
	margin: 0 0 0.85rem;
}

.eh-sj__founding-card .eh-sj__lede {
	color: var(--eh-sj-muted);
	font-weight: 500;
	max-width: 38rem;
}

/* Founding CTA: override pre-register paragraph margin reset. */
body.eh-study-join-page.eh-pre-register-page .eh-pr .eh-sj__founding-card {
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.eh-study-join-page.eh-pre-register-page .eh-pr .eh-sj__founding-card > p.eh-sj__lede {
	margin-block: 0 0.65rem !important;
	margin-bottom: 0.65rem !important;
}

body.eh-study-join-page.eh-pre-register-page .eh-pr .eh-sj__founding-card > .eh-sj__cta {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

.eh-sj__enroll-body {
	padding: 1.35rem 1.5rem 1.65rem;
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.eh-sj__enroll-legal-eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eh-sj-teal);
}

.eh-sj__enroll-legal-copy {
	max-height: min(42vh, 320px);
	overflow: auto;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: #f6faf9;
	border: 1px solid rgba(8, 19, 40, 0.08);
}

.eh-sj__enroll-consent {
	margin: 0;
}

.eh-sj-enroll-submit {
	width: 100%;
	justify-content: center;
}

.eh-sj__legal {
	background: #f6faf9;
}

.eh-sj__consent {
	font-weight: 500;
	color: #1f2a3a;
}

.eh-sj__consent span {
	line-height: 1.45;
}

@media (max-width: 640px) {
	.eh-sj__chat-form {
		flex-direction: column;
	}

	.eh-sj__chat-send {
		width: 100%;
	}
}
