:root {
	--report-ink: #06111a;
	--report-ink-soft: #0b1d29;
	--report-panel: rgba(7, 27, 39, 0.78);
	--report-panel-strong: rgba(5, 21, 32, 0.9);
	--report-line: rgba(139, 215, 222, 0.24);
	--report-line-strong: rgba(139, 215, 222, 0.5);
	--report-text: #edf7f6;
	--report-lead: #c5dde0;
	--report-muted: #96b1b5;
	--report-cyan: #8ce6eb;
	--report-amber: #e2b36b;
	--report-green: #9bd8b0;
	--report-red: #e2a19e;
}

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

html {
	background: var(--report-ink);
}

body {
	position: relative;
	 isolation: isolate;
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	background: var(--report-ink);
	color: var(--report-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: -2;
	content: "";
	background: url('/holographic-lungs.webp') center / cover no-repeat;
	filter: saturate(1.15) contrast(1.1) brightness(0.74);
	opacity: 0.56;
	pointer-events: none;
}

body::after {
	position: fixed;
	inset: 0;
	z-index: -1;
	content: "";
	background: linear-gradient(110deg, rgba(2, 10, 16, 0.95) 0%, rgba(2, 13, 21, 0.82) 46%, rgba(3, 13, 20, 0.91) 100%), linear-gradient(180deg, rgba(3, 15, 24, 0.35), rgba(2, 9, 15, 0.82));
	pointer-events: none;
}

a {
	color: var(--report-cyan);
}

.mast {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
	padding: 42px 0 30px;
	text-align: center;
}

.mast img {
	display: block;
	width: 130px;
	height: auto;
	margin: 0 auto;
}

.tagline {
	margin: 12px 0 0;
	color: var(--report-lead);
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.23em;
	line-height: 1.4;
}

.wrap {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
	padding-bottom: 64px;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 4vw, 46px);
	border: 1px solid var(--report-line-strong);
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(10, 39, 51, 0.82), rgba(4, 19, 30, 0.83));
	box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
}

.hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	content: "";
	background: linear-gradient(90deg, transparent, var(--report-cyan), transparent);
	opacity: 0.7;
}

.eyebrow,
.sec-eyebrow {
	margin: 0;
	color: var(--report-cyan);
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

h1,
h2,
p {
	margin-top: 0;
}

h1 {
	max-width: 820px;
	margin-bottom: 14px;
	font-size: clamp(2.1rem, 5vw, 4.6rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.03;
}

.lead {
	max-width: 78ch;
	margin-bottom: 30px;
	color: var(--report-lead);
	font-size: clamp(0.96rem, 1.6vw, 1.1rem);
	line-height: 1.6;
}

.meta-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}

.meta-tile {
	min-height: 86px;
	padding: 14px;
	border: 1px solid var(--report-line);
	border-radius: 10px;
	background: rgba(4, 17, 27, 0.55);
}

.meta-tile dt {
	margin-bottom: 7px;
	color: var(--report-muted);
	font-size: 0.61rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.35;
	text-transform: uppercase;
}

.meta-tile dd {
	margin: 0;
	color: var(--report-text);
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.35;
}

.notice {
	margin-top: 20px;
	padding: 20px 22px;
	border: 1px solid rgba(226, 179, 107, 0.58);
	border-radius: 12px;
	background: rgba(75, 49, 20, 0.62);
	color: #f1ddb9;
}

.notice strong {
	display: block;
	margin-bottom: 5px;
	color: #f1c77f;
	font-size: 0.79rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.notice p {
	max-width: 92ch;
	margin-bottom: 0;
	font-size: 0.9rem;
}

.notice p + p {
	margin-top: 10px;
	color: #e4c995;
	font-size: 0.8rem;
}

.sec {
	margin-top: 54px;
}

.sec h2 {
	margin: 7px 0 7px;
	font-size: clamp(1.7rem, 3vw, 2.55rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.1;
}

p.sub {
	max-width: 72ch;
	margin-bottom: 20px;
	color: var(--report-lead);
}

.card {
	padding: 22px;
	border: 1px solid var(--report-line);
	border-radius: 14px;
	background: var(--report-panel);
}

.tbl-scroll {
	overflow-x: auto;
	border: 1px solid var(--report-line);
	border-radius: 14px;
	background: var(--report-panel);
}

table.dtable {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.dtable th {
	padding: 15px 16px;
	background: var(--report-panel-strong);
	color: var(--report-cyan);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.35;
	text-align: left;
	text-transform: uppercase;
}

.dtable td {
	padding: 15px 16px;
	border-top: 1px solid var(--report-line);
	color: var(--report-lead);
	vertical-align: top;
}

.dtable td:first-child {
	color: var(--report-text);
	font-weight: 700;
}

.flag-in,
.flag-out {
	display: inline-block;
	padding: 3px 7px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	white-space: nowrap;
}

.flag-in {
	border-color: rgba(155, 216, 176, 0.42);
	background: rgba(72, 130, 91, 0.16);
	color: var(--report-green);
}

.flag-out {
	border-color: rgba(226, 161, 158, 0.45);
	background: rgba(145, 65, 62, 0.18);
	color: var(--report-red);
}

.notes-card {
	margin-top: 16px;
}

.notes-card h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.notes-card p {
	max-width: 78ch;
	margin-bottom: 0;
	color: var(--report-lead);
	font-size: 0.9rem;
}

.tick-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tick {
	padding: 18px;
	border: 1px solid var(--report-line-strong);
	border-radius: 12px;
	background: rgba(17, 48, 57, 0.62);
}

.tick.off {
	border-color: rgba(139, 215, 222, 0.2);
	background: rgba(7, 25, 36, 0.7);
}

.tick strong {
	display: block;
	margin-bottom: 10px;
	color: var(--report-text);
	font-size: 0.95rem;
}

.tick span {
	color: var(--report-cyan);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.placeholder {
	padding: clamp(24px, 4vw, 38px);
	border: 1px dashed rgba(150, 177, 181, 0.58);
	border-radius: 14px;
	background: rgba(8, 24, 34, 0.58);
	color: var(--report-muted);
	font-size: 0.92rem;
}

.placeholder p {
	max-width: 80ch;
	margin: 0;
}

.panel-date {
	margin: 0 0 10px;
	color: var(--report-cyan);
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.report-source {
	margin-top: 14px;
	color: var(--report-muted);
	font-size: 0.78rem;
	line-height: 1.55;
}

.ring-grid {
	display: grid;
	grid-template-columns: minmax(170px, 0.55fr) minmax(0, 1.45fr);
	gap: 28px;
	align-items: center;
}

.meta-grid--compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bio-ring {
	display: grid;
	width: min(100%, 190px);
	aspect-ratio: 1;
	place-items: center;
	margin: 0 auto;
	border: 1px solid var(--report-line-strong);
	border-radius: 50%;
	background: conic-gradient(var(--report-cyan) 0 82%, rgba(139, 215, 222, 0.12) 82% 100%);
	box-shadow: 0 0 0 10px rgba(140, 230, 235, 0.04), 0 0 34px rgba(140, 230, 235, 0.16);
}

.bio-ring__inner {
	display: grid;
	width: calc(100% - 18px);
	aspect-ratio: 1;
	place-items: center;
	align-content: center;
	border: 1px solid var(--report-line);
	border-radius: 50%;
	background: var(--report-ink-soft);
	text-align: center;
}

.bio-ring__value {
	display: block;
	color: var(--report-cyan);
	font-size: clamp(2.8rem, 7vw, 4.6rem);
	font-weight: 700;
	line-height: 0.95;
}

.bio-ring__label {
	margin-top: 8px;
	color: var(--report-muted);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ring-copy h3 {
	margin: 0 0 12px;
	color: var(--report-text);
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	line-height: 1.2;
}

.ring-copy p {
	max-width: 70ch;
	margin-bottom: 0;
	color: var(--report-lead);
}

.ring-copy .ring-line {
	margin-bottom: 14px;
	color: var(--report-cyan);
	font-size: clamp(0.86rem, 1.6vw, 1.05rem);
	font-weight: 700;
	letter-spacing: 0.08em;
}

.chart-wrap {
	overflow-x: auto;
	margin-top: 16px;
	padding: 18px;
	border: 1px solid var(--report-line);
	border-radius: 14px;
	background: var(--report-panel);
}

.chart-wrap svg {
	display: block;
	width: 100%;
	min-width: 700px;
	height: auto;
}

.chart-wrap .grid-line {
	stroke: rgba(139, 215, 222, 0.2);
	stroke-width: 1;
}

.chart-wrap .trend-line {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.chart-wrap .weight { stroke: var(--report-cyan); }
.chart-wrap .lean { stroke: var(--report-green); }
.chart-wrap .fat { stroke: var(--report-red); }
.chart-wrap .visceral { stroke: var(--report-amber); }

.chart-wrap text {
	fill: var(--report-muted);
	font: 700 11px Arial, Helvetica, sans-serif;
}

.posture-images img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--report-line);
	border-radius: 10px;
	background: var(--report-panel-strong);
}

.posture-images {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 860px;
	margin-inline: auto;
	align-items: start;
}

.posture-images figcaption {
	margin-top: 8px;
	color: var(--report-cyan);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-align: center;
	text-transform: uppercase;
}

.posture-images--spaced,
.placeholder--spaced {
	margin-top: 16px;
}

.metric-value {
	color: var(--report-cyan);
	font-size: clamp(2.5rem, 6vw, 4.2rem);
	font-weight: 700;
	line-height: 1;
}

.metric-label {
	margin-top: 10px;
	color: var(--report-lead);
	font-size: 0.88rem;
}

.next-test {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--report-line);
	color: var(--report-amber);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

footer {
	width: min(100% - 32px, 1180px);
	margin: 0 auto;
	padding: 22px 0 40px;
	border-top: 1px solid var(--report-line);
	color: var(--report-muted);
	font-size: 0.72rem;
	line-height: 1.6;
	text-align: center;
}

footer p {
	margin: 0;
}

@media (max-width: 980px) {
	.meta-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.mast {
		padding-top: 28px;
	}

	.wrap {
		padding-bottom: 48px;
	}

	.hero {
		border-radius: 15px;
	}

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

	.meta-tile {
		min-height: 0;
	}

	.notice,
	.card {
		padding: 18px;
	}

	.ring-grid {
		grid-template-columns: 1fr;
	}

	.meta-grid--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bio-ring {
		width: min(100%, 164px);
	}

	.sec {
		margin-top: 42px;
	}

	.dtable th,
	.dtable td {
		padding: 13px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
	}
}
