/* Tata MD Women's Metabolic Health Check — scoped under .tmhc to match website typography & theme */
.tmhc {
	--tmhc-blue: #235D9C;
	--tmhc-sky: #4499C7;
	--tmhc-ash: #EEF3F6;
	--tmhc-ink: #161719;
	--tmhc-text: #5B6874;
	--tmhc-line: #cbd8e1;
	--tmhc-border: #e0e8ed;
	--tmhc-err: #b42318;
	max-width: 900px;
	margin: 28px auto;
	color: var(--tmhc-ink);
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

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

.tmhc-panel {
	min-height: 480px;
	background: #fff;
	border: 1px solid var(--tmhc-border);
	border-radius: 22px;
	padding: 25px 28px 29px;
	box-shadow: 0 16px 42px rgba(25, 72, 112, 0.08);
	overflow: hidden;
}

.tmhc h1 {
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1.2;
	color: var(--tmhc-blue);
	margin: 0 0 8px;
	font-weight: 800;
}

.tmhc h2 {
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 23px;
	line-height: 1.25;
	letter-spacing: -0.4px;
	margin: 16px 0 18px;
	color: var(--tmhc-blue);
	font-weight: 800;
}

.tmhc h2.tmhc-title {
	font-size: 21px;
	line-height: 1.25;
	margin: 0 0 7px;
	color: var(--tmhc-ink);
	font-weight: 700;
}

.tmhc h3 {
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 21px;
	line-height: 1.25;
	margin: 18px 0 8px;
	color: var(--tmhc-ink);
	font-weight: 700;
}

.tmhc p {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 14.5px;
	color: var(--tmhc-text);
	margin: 0 0 14px;
	line-height: 1.55;
}

.tmhc .tmhc-lead,
.tmhc .tmhc-sub {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: var(--tmhc-text);
	margin: 0 0 20px !important;
	line-height: 1.5;
}

.tmhc-eyebrow {
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 800;
	color: var(--tmhc-blue);
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.tmhc-note {
	background: var(--tmhc-ash);
	border-left: 4px solid var(--tmhc-sky);
	padding: 14px 16px;
	border-radius: 8px;
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 13.5px;
	line-height: 1.5;
	color: #354858;
	margin: 18px 0;
}

/* Fields */
.tmhc-group {
	margin-bottom: 17px;
}

.tmhc label.tmhc-field,
.tmhc label {
	display: block;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	margin: 14px 0 8px;
	color: var(--tmhc-ink);
}

.tmhc-group label.tmhc-field {
	margin-top: 0;
}

.tmhc-req {
	color: var(--tmhc-err);
}

.tmhc input[type=number],
.tmhc input[type=text],
.tmhc input[type=tel] {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	padding: 12px 13px;
	border: 1px solid var(--tmhc-line);
	border-radius: 11px;
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: var(--tmhc-ink);
	background: #fff;
	margin: 0;
	box-shadow: none;
	line-height: 1.4;
	transition: border-color 0.2s ease, outline 0.2s ease;
}

.tmhc input::placeholder {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #8c9ba5;
	opacity: 1;
}

.tmhc input:focus,
.tmhc input:focus-visible {
	border-color: var(--tmhc-blue);
	outline: 3px solid #4499c7aa;
	outline-offset: 2px;
}

.tmhc .has-error input[type=text],
.tmhc .has-error input[type=tel],
.tmhc .has-error input[type=number] {
	border-color: var(--tmhc-err);
}

.tmhc-hint {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 11px !important;
	color: var(--tmhc-text);
	margin: 6px 0 0 !important;
}

.tmhc-field-error {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	color: var(--tmhc-err);
	font-size: 13px;
	font-weight: 500;
	margin-top: 8px;
	min-height: 18px;
}

.tmhc-error {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	color: var(--tmhc-err);
	font-size: 13px;
	font-weight: 500;
	margin: 10px 0;
}

/* Consent Pattern */
.tmhc .tmhc-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
	color: #53616c;
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	margin: 18px 0 0;
}

.tmhc .tmhc-consent input {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin: 3px 0 0;
	accent-color: var(--tmhc-blue);
	cursor: pointer;
}

.tmhc .tmhc-consent a {
	color: var(--tmhc-blue);
	text-decoration: underline;
}

/* Choices */
.tmhc-choices {
	display: grid;
	gap: 10px;
	margin: 14px 0 22px;
}

.tmhc .tmhc-choice {
	display: flex;
	gap: 10px;
	align-items: center;
	border: 1px solid var(--tmhc-line);
	border-radius: 12px;
	padding: 11px 14px;
	min-height: 52px;
	cursor: pointer;
	color: var(--tmhc-ink);
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 500;
	margin: 0;
	background: #fff;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tmhc .tmhc-choice:has(input:checked) {
	border-color: var(--tmhc-blue);
	background: #f0f6fa;
	color: var(--tmhc-blue);
	font-weight: 700;
}

.tmhc .tmhc-choice input {
	accent-color: var(--tmhc-blue);
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin: 0;
	cursor: pointer;
}

/* Buttons */
.tmhc-controls {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	margin-top: 26px;
	flex-wrap: wrap;
}

.tmhc a.tmhc-primary,
.tmhc a.tmhc-secondary,
.tmhc button.tmhc-primary,
.tmhc button.tmhc-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 0;
	border-radius: 11px;
	padding: 12px 24px;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-weight: 800;
	min-height: 48px;
	font-size: 15px;
	line-height: 1.2;
	cursor: pointer;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background-color 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.tmhc a.tmhc-primary,
.tmhc button.tmhc-primary {
	background: var(--tmhc-blue) !important;
	color: #fff !important;
}

.tmhc a.tmhc-primary:hover,
.tmhc a.tmhc-primary:focus,
.tmhc button.tmhc-primary:hover,
.tmhc button.tmhc-primary:focus {
	background: #174b82 !important;
	color: #fff !important;
}

.tmhc a.tmhc-secondary,
.tmhc button.tmhc-secondary {
	background: #edf3f7 !important;
	color: var(--tmhc-blue) !important;
}

.tmhc a.tmhc-secondary:hover,
.tmhc a.tmhc-secondary:focus,
.tmhc button.tmhc-secondary:hover,
.tmhc button.tmhc-secondary:focus {
	background: #e1eaf0 !important;
	color: #174b82 !important;
}

.tmhc button:disabled {
	opacity: 0.55;
	cursor: wait;
}

/* Progress */
.tmhc-progress-head {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: var(--tmhc-text);
	margin-bottom: 7px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tmhc-track {
	height: 6px;
	background: #e8f0f4;
	border-radius: 9px;
	overflow: hidden;
	margin-bottom: 24px;
}

.tmhc-fill {
	height: 100%;
	background: var(--tmhc-sky);
	transition: width .2s;
}

/* BMI & Unit Switch */
.tmhc-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.tmhc-fields label.tmhc-field {
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 14px;
}

.tmhc-unit-switch {
	display: flex;
	gap: 8px;
	margin: 16px 0;
	flex-wrap: wrap;
}

.tmhc .tmhc-unit-switch button {
	padding: 6px 16px;
	min-height: 36px;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	border-radius: 8px;
}

.tmhc .tmhc-unit-switch .active {
	background: var(--tmhc-blue) !important;
	color: #fff !important;
}

.tmhc-bmi {
	background: #f3f7fa;
	border: 1px solid var(--tmhc-border);
	border-radius: 11px;
	padding: 12px 14px;
	margin-top: 18px;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--tmhc-ink);
}

.tmhc-muted {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 12.5px !important;
	color: var(--tmhc-text);
}

/* Review */
.tmhc-review-item {
	padding: 14px 0;
	border-bottom: 1px solid #e4ebef;
}

.tmhc-review-item strong {
	display: block;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 14.5px;
	color: var(--tmhc-ink);
	margin-bottom: 4px;
}

.tmhc-review-item span {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: var(--tmhc-text);
}

.tmhc .tmhc-review-item button.tmhc-edit {
	padding: 6px 12px;
	min-height: 32px;
	margin-top: 7px;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
	border-radius: 8px;
}

/* Result */
.tmhc-result-category {
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 26px;
	color: var(--tmhc-blue);
	font-weight: 800;
	margin: 16px 0;
}

.tmhc-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 22px 0;
}

.tmhc-meta div {
	background: #f5f8fa;
	border: 1px solid var(--tmhc-border);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: var(--tmhc-ink);
}

.tmhc-meta b {
	display: block;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #526778;
	margin-bottom: 3px;
}

.tmhc-flags {
	border-left: 4px solid #b16d45;
	background: #fff7f1;
	padding: 14px 18px;
	margin-top: 18px;
	border-radius: 8px;
}

.tmhc-flags strong {
	display: block;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #5a382b;
	margin-bottom: 4px;
}

.tmhc-flags p {
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
	font-size: 13.5px;
	color: #5a382b;
	margin: 4px 0 0;
}

/* Contact & CTAs at the bottom of the summary section */
.tmhc-contact {
	text-align: center;
	border-top: 1px solid #e7edf1;
	padding-top: 24px;
	margin-top: 28px;
}

.tmhc-contact strong {
	display: block;
	color: #161719;
	font-size: 15px;
	font-weight: 700;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
}

.tmhc-contact p {
	margin: 5px 0 0;
	color: var(--tmhc-muted);
	font-size: 13px;
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
}

.tmhc a.tmhc-phone {
	display: inline-block;
	font-size: 24px;
	color: var(--tmhc-blue);
	text-decoration: none;
	font-weight: 800;
	margin-top: 8px;
	font-family: "DMSansBold", Arial, Helvetica, sans-serif;
	letter-spacing: -0.3px;
	transition: color 0.2s ease;
}

.tmhc a.tmhc-phone:hover {
	color: #174b82;
}

.tmhc-ctas {
	display: flex;
	gap: 12px;
	margin-top: 22px;
}

.tmhc-ctas>* {
	flex: 1;
}

.tmhc-disclaimer {
	font-size: 11px !important;
	line-height: 1.5;
	color: #687783;
	margin: 20px 0 0 !important;
	font-family: "DMSansRegular", Arial, Helvetica, sans-serif;
}

.tmhc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 600px) {
	.tmhc {
		margin: 16px auto;
	}

	.tmhc-panel {
		padding: 20px 18px;
		border-radius: 16px;
	}

	.tmhc-fields,
	.tmhc-meta {
		grid-template-columns: 1fr;
	}

	.tmhc-controls,
	.tmhc-ctas {
		flex-direction: column-reverse;
		gap: 10px;
	}

	.tmhc-ctas {
		flex-direction: column;
	}

	.tmhc-controls button,
	.tmhc-ctas>* {
		width: 100%;
		padding: 12px 14px;
	}
}

@media print {
	body.tmhc-printing * {
		visibility: hidden;
	}

	body.tmhc-printing .tmhc,
	body.tmhc-printing .tmhc * {
		visibility: visible;
	}

	body.tmhc-printing .tmhc {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		margin: 0;
		max-width: none;
	}

	.tmhc .tmhc-controls,
	.tmhc .tmhc-contact,
	.tmhc .tmhc-ctas {
		display: none !important;
	}

	.tmhc-panel {
		box-shadow: none;
		border: 0;
		padding: 12px;
	}

	.tmhc-note,
	.tmhc-flags {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}