.lbsd-app {
	--lbsd-accent: #9a7450;
	--lbsd-ink: #252722;
	--lbsd-muted: #676a63;
	--lbsd-line: #ded9d0;
	--lbsd-cream: #f7f4ee;
	--lbsd-paper: #fffdf9;
	--lbsd-vata: #6f9273;
	--lbsd-pitta: #6588a8;
	--lbsd-kapha: #b2605e;
	color: var(--lbsd-ink);
	font-family: inherit;
	margin: 28px auto;
	max-width: 980px;
	scroll-margin-top: 24px;
}

.lbsd-app *,
.lbsd-app *::before,
.lbsd-app *::after {
	box-sizing: border-box;
}

.lbsd-loading,
.lbsd-app noscript {
	background: var(--lbsd-cream);
	border: 1px solid var(--lbsd-line);
	border-radius: 18px;
	display: block;
	padding: 32px;
	text-align: center;
}

.lbsd-shell {
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--lbsd-accent) 11%, transparent), transparent 31%),
		var(--lbsd-paper);
	border: 1px solid var(--lbsd-line);
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(62, 51, 38, 0.09);
	overflow: hidden;
	padding: clamp(28px, 5vw, 64px);
	position: relative;
}

.lbsd-app h2,
.lbsd-app h3,
.lbsd-app h4,
.lbsd-app p {
	margin-top: 0;
}

.lbsd-app h2 {
	color: var(--lbsd-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 5vw, 58px);
	letter-spacing: -0.025em;
	line-height: 1.05;
	margin-bottom: 18px;
}

.lbsd-app h3 {
	font-size: 21px;
	line-height: 1.25;
}

.lbsd-app button,
.lbsd-app a {
	font: inherit;
}

.lbsd-app button:focus-visible,
.lbsd-app a:focus-visible,
.lbsd-app summary:focus-visible,
.lbsd-app [data-lbsd-focus]:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--lbsd-accent) 42%, white);
	outline-offset: 4px;
}

.lbsd-intro {
	text-align: center;
}

.lbsd-ornament {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: center;
	margin: 0 auto 20px;
}

.lbsd-ornament span {
	background: var(--lbsd-accent);
	height: 1px;
	opacity: 0.5;
	width: 46px;
}

.lbsd-ornament i {
	border: 1px solid var(--lbsd-accent);
	border-radius: 50% 0 50% 0;
	display: block;
	height: 17px;
	transform: rotate(45deg);
	width: 17px;
}

.lbsd-kicker,
.lbsd-question-type {
	color: var(--lbsd-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.lbsd-subtitle {
	font-size: clamp(17px, 2.2vw, 21px);
	font-weight: 600;
	margin: 0 auto 30px;
	max-width: 680px;
}

.lbsd-intro-copy {
	color: var(--lbsd-muted);
	font-size: 16px;
	line-height: 1.75;
	margin: 0 auto 30px;
	max-width: 720px;
}

.lbsd-benefits {
	background: color-mix(in srgb, var(--lbsd-accent) 7%, white);
	border: 1px solid color-mix(in srgb, var(--lbsd-accent) 20%, white);
	border-radius: 18px;
	margin: 28px auto 22px;
	max-width: 700px;
	padding: 22px 26px;
	text-align: left;
}

.lbsd-benefits p {
	font-weight: 700;
	margin-bottom: 12px;
}

.lbsd-benefits ul,
.lbsd-result-section ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lbsd-benefits ul {
	display: grid;
	gap: 8px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lbsd-benefits li {
	padding-left: 24px;
	position: relative;
}

.lbsd-benefits li::before {
	color: var(--lbsd-accent);
	content: "✓";
	font-weight: 800;
	left: 0;
	position: absolute;
}

.lbsd-duration {
	color: var(--lbsd-muted);
	font-size: 14px;
	margin-bottom: 24px;
}

.lbsd-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	gap: 10px;
	justify-content: center;
	line-height: 1;
	min-height: 50px;
	padding: 15px 24px;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lbsd-button:hover {
	transform: translateY(-1px);
}

.lbsd-button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
	transform: none;
}

.lbsd-button--primary {
	background: var(--lbsd-accent);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--lbsd-accent) 25%, transparent);
	color: #fff;
}

.lbsd-button--primary:hover,
.lbsd-button--primary:focus {
	background: color-mix(in srgb, var(--lbsd-accent) 88%, black);
	color: #fff;
}

.lbsd-button--ghost {
	background: #fff;
	border-color: var(--lbsd-line);
	color: var(--lbsd-ink);
}

.lbsd-button--link {
	background: transparent;
	color: var(--lbsd-muted);
	padding-left: 8px;
	padding-right: 8px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lbsd-progress-head {
	align-items: flex-end;
	color: var(--lbsd-muted);
	display: flex;
	font-size: 12px;
	font-weight: 700;
	gap: 20px;
	justify-content: space-between;
	letter-spacing: 0.055em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.lbsd-progress-head span {
	color: var(--lbsd-accent);
}

.lbsd-progress {
	background: var(--lbsd-cream);
	border-radius: 999px;
	height: 7px;
	margin-bottom: clamp(36px, 6vw, 62px);
	overflow: hidden;
}

.lbsd-progress span {
	background: linear-gradient(90deg, color-mix(in srgb, var(--lbsd-accent) 70%, white), var(--lbsd-accent));
	border-radius: inherit;
	display: block;
	height: 100%;
	transition: width 260ms ease;
}

.lbsd-question-view fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.lbsd-question-view legend {
	float: left;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(26px, 3.5vw, 39px);
	font-weight: 700;
	line-height: 1.18;
	margin-bottom: 28px;
	padding: 0;
	width: 100%;
}

.lbsd-question-view fieldset::after {
	clear: both;
	content: "";
	display: table;
}

.lbsd-contact-header {
	margin: 0 auto 30px;
	max-width: 720px;
	text-align: center;
}

.lbsd-contact-header h2 {
	font-size: clamp(30px, 4.2vw, 48px);
}

.lbsd-contact-header > p:last-child {
	color: var(--lbsd-muted);
	line-height: 1.65;
	margin: 0 auto;
	max-width: 640px;
}

.lbsd-contact-form {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 760px;
}

.lbsd-field--wide {
	grid-column: 1 / -1;
}

.lbsd-field label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
}

.lbsd-field label > span {
	color: var(--lbsd-kapha);
}

.lbsd-field input {
	appearance: none;
	background: #fff;
	border: 1px solid var(--lbsd-line);
	border-radius: 12px;
	box-shadow: none;
	color: var(--lbsd-ink);
	font: inherit;
	height: 52px;
	line-height: 1.2;
	outline: 0;
	padding: 12px 14px;
	transition: border-color 150ms ease, box-shadow 150ms ease;
	width: 100%;
}

.lbsd-field input:focus {
	border-color: var(--lbsd-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--lbsd-accent) 14%, transparent);
}

.lbsd-field input.is-error {
	border-color: var(--lbsd-kapha);
}

.lbsd-field-error {
	color: color-mix(in srgb, var(--lbsd-kapha) 82%, black);
	display: block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 6px;
}

.lbsd-consent {
	background: var(--lbsd-cream);
	border: 1px solid var(--lbsd-line);
	border-radius: 14px;
	padding: 16px;
}

.lbsd-consent.is-error {
	border-color: var(--lbsd-kapha);
}

.lbsd-consent label {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	gap: 11px;
	line-height: 1.55;
}

.lbsd-consent input {
	accent-color: var(--lbsd-accent);
	flex: 0 0 auto;
	height: 18px;
	margin: 2px 0 0;
	width: 18px;
}

.lbsd-consent a {
	color: var(--lbsd-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.lbsd-consent strong {
	color: var(--lbsd-kapha);
}

.lbsd-contact-form .lbsd-actions {
	margin-top: 2px;
}

.lbsd-answers {
	clear: both;
	display: grid;
	gap: 12px;
}

.lbsd-answer {
	align-items: center;
	background: #fff;
	border: 1px solid var(--lbsd-line);
	border-radius: 15px;
	color: var(--lbsd-ink);
	cursor: pointer;
	display: grid;
	font-size: 16px;
	gap: 14px;
	grid-template-columns: 22px 1fr 22px;
	line-height: 1.45;
	min-height: 68px;
	padding: 16px 18px;
	text-align: left;
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
	width: 100%;
}

.lbsd-answer:hover {
	border-color: color-mix(in srgb, var(--lbsd-accent) 48%, var(--lbsd-line));
	box-shadow: 0 8px 24px rgba(62, 51, 38, 0.07);
	transform: translateY(-1px);
}

.lbsd-answer.is-selected {
	background: color-mix(in srgb, var(--lbsd-accent) 6%, white);
	border-color: var(--lbsd-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--lbsd-accent) 13%, transparent);
}

.lbsd-answer i {
	align-items: center;
	background: var(--lbsd-accent);
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 12px;
	font-style: normal;
	height: 22px;
	justify-content: center;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 150ms ease, transform 150ms ease;
	width: 22px;
}

.lbsd-answer.is-selected i {
	opacity: 1;
	transform: scale(1);
}

.lbsd-answer-mark {
	border: 2px solid currentColor;
	border-radius: 50%;
	display: block;
	height: 14px;
	width: 14px;
}

.lbsd-answer-mark--vata {
	color: var(--lbsd-vata);
}

.lbsd-answer-mark--pitta {
	color: var(--lbsd-pitta);
}

.lbsd-answer-mark--kapha {
	color: var(--lbsd-kapha);
}

.lbsd-error {
	color: #a13f39;
	font-size: 14px;
	min-height: 21px;
	padding-top: 10px;
}

.lbsd-actions,
.lbsd-result-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 22px;
}

.lbsd-result-hero {
	border-bottom: 1px solid var(--lbsd-line);
	margin: calc(clamp(28px, 5vw, 64px) * -1);
	margin-bottom: 32px;
	padding: clamp(32px, 6vw, 70px);
	text-align: center;
}

.lbsd-result-hero h2 {
	font-size: clamp(32px, 4.7vw, 54px);
	margin-left: auto;
	margin-right: auto;
	max-width: 850px;
}

.lbsd-result-lead {
	font-size: clamp(18px, 2.3vw, 22px);
	font-weight: 600;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 730px;
}

.lbsd-type-grid,
.lbsd-score-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lbsd-type-card {
	background: var(--lbsd-cream);
	border: 1px solid var(--lbsd-line);
	border-radius: 16px;
	padding: 20px;
}

.lbsd-type-label {
	color: var(--lbsd-muted);
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.lbsd-type-card > strong {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 23px;
	margin-bottom: 12px;
}

.lbsd-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.lbsd-dosha-pill {
	align-items: center;
	background: #fff;
	border: 1px solid var(--lbsd-line);
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	gap: 6px;
	padding: 6px 10px;
}

.lbsd-dot {
	background: currentColor;
	border-radius: 50%;
	display: block;
	height: 7px;
	width: 7px;
}

.lbsd-dosha-pill--vata {
	color: var(--lbsd-vata);
}

.lbsd-dosha-pill--pitta {
	color: var(--lbsd-pitta);
}

.lbsd-dosha-pill--kapha {
	color: var(--lbsd-kapha);
}

.lbsd-score-details {
	border-bottom: 1px solid var(--lbsd-line);
	margin: 18px 0 30px;
	padding: 0 0 20px;
}

.lbsd-score-details summary {
	color: var(--lbsd-accent);
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	padding: 8px 0;
}

.lbsd-score-grid {
	margin-top: 14px;
}

.lbsd-score-panel {
	border: 1px solid var(--lbsd-line);
	border-radius: 14px;
	padding: 18px;
}

.lbsd-score-panel h4 {
	font-size: 14px;
	margin-bottom: 15px;
}

.lbsd-score-row {
	align-items: center;
	display: grid;
	font-size: 12px;
	gap: 9px;
	grid-template-columns: 52px 1fr 20px;
	margin-top: 9px;
}

.lbsd-score-track {
	background: var(--lbsd-cream);
	border-radius: 999px;
	height: 6px;
	overflow: hidden;
}

.lbsd-score-fill {
	border-radius: inherit;
	display: block;
	height: 100%;
}

.lbsd-score-fill--vata {
	background: var(--lbsd-vata);
}

.lbsd-score-fill--pitta {
	background: var(--lbsd-pitta);
}

.lbsd-score-fill--kapha {
	background: var(--lbsd-kapha);
}

.lbsd-result-copy {
	color: var(--lbsd-muted);
	font-size: 16px;
	line-height: 1.75;
	margin: 0 auto 28px;
	max-width: 800px;
}

.lbsd-result-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lbsd-result-section {
	background: #fff;
	border: 1px solid var(--lbsd-line);
	border-radius: 16px;
	padding: 22px;
}

.lbsd-result-section h3 {
	margin-bottom: 14px;
}

.lbsd-result-section li {
	line-height: 1.45;
	margin-top: 9px;
	padding-left: 23px;
	position: relative;
}

.lbsd-result-section li::before {
	color: var(--lbsd-accent);
	content: "•";
	font-weight: 800;
	left: 3px;
	position: absolute;
}

.lbsd-result-section--positive li::before,
.lbsd-result-section--routine li::before {
	content: "✓";
}

.lbsd-result-section--negative li::before {
	color: var(--lbsd-kapha);
	content: "×";
	font-size: 18px;
	line-height: 1;
}

.lbsd-result-section--products {
	background: color-mix(in srgb, var(--lbsd-accent) 8%, white);
	border-color: color-mix(in srgb, var(--lbsd-accent) 22%, white);
}

.lbsd-closing {
	background: var(--lbsd-ink);
	border-radius: 18px;
	color: #fff;
	margin-top: 28px;
	padding: clamp(24px, 4vw, 38px);
	text-align: center;
}

.lbsd-closing h3 {
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(24px, 3vw, 32px);
	margin-bottom: 10px;
}

.lbsd-closing p {
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.65;
	margin: 0 auto;
	max-width: 720px;
}

.lbsd-disclaimer {
	color: var(--lbsd-muted);
	font-size: 12px;
	line-height: 1.55;
	margin: 18px auto 0;
	max-width: 720px;
	text-align: center;
}

.lbsd-email-status {
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	margin: 14px auto 0;
	max-width: 720px;
	padding: 9px 12px;
	text-align: center;
}

.lbsd-email-status:empty {
	display: none;
}

.lbsd-email-status.is-sending {
	background: var(--lbsd-cream);
	color: var(--lbsd-muted);
}

.lbsd-email-status.is-success {
	background: color-mix(in srgb, var(--lbsd-vata) 12%, white);
	color: color-mix(in srgb, var(--lbsd-vata) 78%, black);
}

.lbsd-email-status.is-error {
	background: color-mix(in srgb, var(--lbsd-kapha) 10%, white);
	color: color-mix(in srgb, var(--lbsd-kapha) 78%, black);
}

.lbsd-result-actions {
	justify-content: center;
}

@media (max-width: 680px) {
	.lbsd-app {
		margin: 18px auto;
	}

	.lbsd-shell {
		border-radius: 18px;
		padding: 24px 18px;
	}

	.lbsd-benefits ul,
	.lbsd-type-grid,
	.lbsd-score-grid,
	.lbsd-result-grid,
	.lbsd-contact-form {
		grid-template-columns: 1fr;
	}

	.lbsd-field--wide {
		grid-column: auto;
	}

	.lbsd-progress-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.lbsd-progress {
		margin-bottom: 34px;
	}

	.lbsd-answer {
		font-size: 15px;
		padding: 14px;
	}

	.lbsd-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.lbsd-actions .lbsd-button,
	.lbsd-result-actions .lbsd-button {
		width: 100%;
	}

	.lbsd-result-hero {
		margin: -24px -18px 26px;
		padding: 34px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lbsd-app *,
	.lbsd-app *::before,
	.lbsd-app *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	body * {
		visibility: hidden !important;
	}

	.lbsd-app,
	.lbsd-app * {
		visibility: visible !important;
	}

	.lbsd-app {
		left: 0;
		margin: 0;
		max-width: none;
		position: absolute;
		top: 0;
		width: 100%;
	}

	.lbsd-shell {
		border: 0;
		box-shadow: none;
		padding: 0;
	}

	.lbsd-result-actions,
	.lbsd-score-details,
	.lbsd-email-status {
		display: none !important;
	}

	.lbsd-result-section,
	.lbsd-closing,
	.lbsd-type-card {
		break-inside: avoid;
	}
}
