.lh-front {
	max-width: 40rem;
	margin: 1.5rem 0;
}

.lh-front__title {
	margin-bottom: 1rem;
}

.lh-notice {
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	border-left: 3px solid #2271b1;
	background: #f0f6fc;
}

.lh-notice--error {
	border-left-color: #d63638;
	background: #fcf0f1;
}

.lh-notice--success {
	border-left-color: #00a32a;
	background: #edfaef;
}

.lh-card {
	padding: 1.25rem;
	border: 1px solid #dcdcde;
	background: #fff;
}

.lh-form p {
	margin-bottom: 1rem;
}

.lh-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.lh-input {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem 0.65rem;
}

.lh-list {
	list-style: disc;
	padding-left: 1.25rem;
}

.lh-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}

.lh-table th,
.lh-table td {
	border-bottom: 1px solid #dcdcde;
	padding: 0.5rem 0.4rem;
	text-align: left;
}

.lh-front .required {
	color: #d63638;
}

.lh-prenom-field {
	margin: 1rem 0 1.25rem;
	width: 100%;
	max-width: 100%;
}

.lh-prenom-field label {
	display: block;
	margin-bottom: 0.4rem;
}

.lh-prenom-field .lh-input,
.lh-prenom-field input[type="text"] {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.7rem;
}

.lh-prenom-field .required {
	color: #d63638;
}

.lh-notice--info {
	border-left-color: #2271b1;
	background: #f0f6fc;
}

.lh-account__sub {
	margin: 1.5rem 0;
	padding-bottom: 1rem;
	border-bottom: 1px solid #dcdcde;
}

.lh-account__chapters {
	list-style: disc;
	padding-left: 1.25rem;
	margin: 0.5rem 0 0;
}

.lh-account__hint {
	font-size: 0.95em;
	color: #50575e;
	margin: 0.35rem 0 0;
	max-width: 36rem;
}

.lh-thankyou p {
	margin: 0.5rem 0;
}

.lh-thankyou__panel {
	margin: 1.25rem 0;
	padding: 1.35rem 1.5rem;
	border-radius: 4px;
}

.lh-thankyou__panel--config {
	background: linear-gradient(135deg, #f4f7f0 0%, #e8f0e0 100%);
	border: 2px solid var(--wd-primary-color, #2f5d3a);
	box-shadow: 0 4px 18px rgba(47, 93, 58, 0.12);
}

.lh-thankyou__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--wd-primary-color, #2f5d3a);
}

.lh-thankyou__title {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	line-height: 1.25;
	color: #1a2e1f;
}

.lh-thankyou__text {
	margin: 0 0 1rem;
	color: #3d4a40;
	max-width: 36rem;
}

.lh-thankyou__cta {
	margin: 0 0 0.65rem;
}

.lh-thankyou__btn.button {
	display: inline-block;
	padding: 0.75rem 1.35rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.lh-thankyou__hint {
	margin: 0;
	font-size: 0.9em;
	color: #5a675e;
}

.lh-onboarding__account-hint {
	margin-top: 1rem;
	font-size: 0.95em;
	color: #50575e;
}

.lh-choice-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.lh-choice-list li {
	margin-bottom: 0.75rem;
}

.lh-choice-list label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 500;
	cursor: pointer;
}

/* Page « Faire mon choix » — contexte multi-enfants / Woodmart */
.lh-front.lh-chapter-choice {
	max-width: 44rem;
	margin: 0 auto 2.5rem;
}

.lh-choice-shell {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.lh-choice-header {
	margin: 0;
}

.lh-choice-kicker {
	margin: 0 0 0.3rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.65;
}

.lh-choice-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
	line-height: 1.2;
	font-weight: 700;
}

.lh-choice-subtitle {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.4;
	opacity: 0.78;
	font-style: italic;
}

.lh-choice-lead {
	margin: 0;
	max-width: 38rem;
	line-height: 1.5;
	opacity: 0.85;
}

.lh-choice-context {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 1rem 1.1rem;
	background:
		linear-gradient(
			160deg,
			rgba(0, 0, 0, 0.035) 0%,
			var(--wd-main-bgcolor, #fff) 55%
		);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-top: 3px solid var(--wd-primary-color, #52796f);
	border-radius: var(--wd-brd-radius, 0);
}

.lh-choice-context__avatar {
	flex: 0 0 auto;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	object-fit: cover;
	background: #e8eeeb;
}

.lh-choice-context__avatar--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wd-primary-color, #52796f);
}

.lh-choice-context__body {
	min-width: 0;
}

.lh-choice-context__theme {
	margin: 0 0 0.2rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wd-primary-color, inherit);
	line-height: 1.35;
}

.lh-choice-context__hero {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
}

.lh-choice-context__hint {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.4;
	opacity: 0.75;
}

.lh-choice-prompt {
	margin: 0.25rem 0 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.lh-choice-options {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.lh-choice-option {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	margin: 0;
	padding: 1rem 1.05rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: var(--wd-brd-radius, 0);
	background: var(--wd-main-bgcolor, #fff);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.lh-choice-option:hover {
	border-color: rgba(0, 0, 0, 0.28);
	transform: translateY(-1px);
}

.lh-choice-option:has(input:checked),
.lh-choice-option:has(input:focus-visible) {
	border-color: var(--wd-primary-color, #52796f);
	background:
		linear-gradient(
			160deg,
			rgba(82, 121, 111, 0.08) 0%,
			var(--wd-main-bgcolor, #fff) 70%
		);
	box-shadow: inset 3px 0 0 var(--wd-primary-color, #52796f);
}

.lh-choice-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.lh-choice-option__index {
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--wd-primary-color, #52796f);
	background: rgba(82, 121, 111, 0.12);
}

.lh-choice-option__text {
	flex: 1 1 auto;
	font-size: 0.98rem;
	line-height: 1.45;
	font-weight: 500;
}

.lh-choice-actions {
	margin: 0.35rem 0 0;
}

.lh-choice-actions .btn {
	min-width: 12rem;
}

.lh-choice-download,
.lh-choice-switch {
	margin: 0.25rem 0 0;
	font-size: 0.92rem;
}

.lh-choice-books {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

.lh-choice-book {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.15rem 1.2rem 1.25rem;
	text-decoration: none;
	color: inherit;
	background: var(--wd-main-bgcolor, #fff);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-top: 3px solid var(--wd-primary-color, #52796f);
	border-radius: var(--wd-brd-radius, 0);
	transition: border-color 0.2s ease, transform 0.15s ease;
}

.lh-choice-book:hover {
	border-color: rgba(0, 0, 0, 0.28);
	transform: translateY(-1px);
	color: inherit;
}

.lh-choice-book__theme {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wd-primary-color, inherit);
}

.lh-choice-book__hero {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
}

.lh-choice-book__meta {
	font-size: 0.9rem;
	opacity: 0.75;
	line-height: 1.4;
}

.lh-choice-book__cta {
	margin-top: 0.45rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--wd-primary-color, inherit);
}

@media (max-width: 560px) {
	.lh-choice-context {
		align-items: flex-start;
	}

	.lh-choice-actions .btn {
		width: 100%;
		min-width: 0;
	}
}

/* Fallback navigateurs sans :has() */
.lh-choice-option.is-selected {
	border-color: var(--wd-primary-color, #52796f);
	background:
		linear-gradient(
			160deg,
			rgba(82, 121, 111, 0.08) 0%,
			var(--wd-main-bgcolor, #fff) 70%
		);
	box-shadow: inset 3px 0 0 var(--wd-primary-color, #52796f);
}

/* Activer mon code — vérification inline (priorité > styles thème) */
.lh-front.lh-activate .lh-activate__verify {
	margin: 0 0 1.25rem;
}

.lh-front.lh-activate .lh-activate__verify-row {
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.75rem;
	align-items: stretch;
	width: 100%;
}

.lh-front.lh-activate .lh-activate__verify-field {
	min-width: 0;
	flex: 1 1 auto;
	width: 100%;
}

.lh-front.lh-activate .lh-activate__verify-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.lh-front.lh-activate .lh-activate__verify-field .lh-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.lh-front.lh-activate .lh-activate__verify-action {
	display: flex;
	flex: 0 0 auto;
	width: 100%;
}

.lh-front.lh-activate .lh-activate__verify-btn.btn {
	width: 100%;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}

@media (min-width: 600px) {
	.lh-front.lh-activate .lh-activate__verify-row {
		flex-direction: row !important;
		align-items: flex-end;
		gap: 0.75rem 1rem;
	}

	.lh-front.lh-activate .lh-activate__verify-field {
		width: auto;
	}

	.lh-front.lh-activate .lh-activate__verify-action {
		width: auto;
		align-self: flex-end;
	}

	.lh-front.lh-activate .lh-activate__verify-btn.btn {
		width: auto;
		min-width: max-content;
		white-space: nowrap;
	}
}

.lh-front.lh-login-prompt {
	max-width: 36rem;
	margin: 1.5rem auto 2.5rem;
}

.lh-login-prompt--gate .lh-login-prompt__card,
.lh-login-prompt--gate .lh-login-prompt__box.box-style-shadow {
	padding: 1.75rem 1.6rem;
	background: linear-gradient(165deg, #ffffff 0%, #f5f8f2 100%);
	border: 2px solid var(--wd-primary-color, #2f5d3a);
	box-shadow: 0 8px 28px rgba(47, 93, 58, 0.14);
	color: var(--wd-text-color, #50575e);
}

.lh-login-prompt__eyebrow,
.lh-login-prompt__box .info-box-subtitle {
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--wd-primary-color, #2f5d3a);
}

.lh-login-prompt__title,
.lh-login-prompt__box .info-box-title {
	margin: 0 0 0.75rem;
	font-size: 1.45rem;
	line-height: 1.25;
	color: var(--wd-title-color, #1a2e1f);
}

.lh-login-prompt__text {
	margin: 0 0 0.75rem;
	font-size: 1.02rem;
	line-height: 1.5;
	color: #3d4a40;
}

.lh-login-prompt__hint {
	margin: 0 0 1rem;
	padding: 0.65rem 0.8rem;
	font-size: 0.92em;
	line-height: 1.45;
	background: rgba(47, 93, 58, 0.08);
	border-left: 3px solid var(--wd-primary-color, #2f5d3a);
	color: #3d4a40;
}

.lh-login-prompt__steps {
	margin: 0 0 1.25rem;
	padding-left: 1.2rem;
	color: #3d4a40;
}

.lh-login-prompt__steps li {
	margin-bottom: 0.35rem;
}

.lh-login-prompt__actions {
	margin: 0 0 0.85rem;
}

.lh-login-prompt__cta.button,
.lh-login-prompt__box .btn {
	display: inline-block;
	padding: 0.8rem 1.4rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.lh-login-prompt__box.box-style-shadow {
	padding: 30px;
	background-color: #fff;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
	color: var(--wd-text-color, #767676);
}

.lh-login-prompt__box.color-scheme-dark,
.lh-login-prompt__box:not(.color-scheme-light) {
	--wd-text-color: #50575e;
	--wd-title-color: #1a2e1f;
	color: var(--wd-text-color);
}

.lh-login-prompt__box .info-box-title {
	color: var(--wd-title-color, #1a2e1f);
}

.lh-login-prompt__box .info-box-icon .wd-icon {
	font-size: 2rem;
	line-height: 1;
	color: var(--wd-primary-color, #2f5d3a);
}

.lh-login-prompt__register {
	margin-top: 0.75rem;
	margin-bottom: 0;
	font-size: 0.95em;
	color: var(--wd-text-color, #50575e);
}

.lh-login-prompt__register a {
	font-weight: 600;
	color: var(--wd-primary-color, #2f5d3a);
}
