/* minimal reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
	height: 100%;
	background: #ffffff;
}

.form_wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
	/* vh first as the fallback, dvh overrides it where supported (mobile address bar) */
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
}

/* heading kept for semantics, moved out of view so the form owns the whole screen */
.form_title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.form_block {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
}

.probe_header {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.5rem;
	background: #f4f4f6;
	border-bottom: 1px solid #d8d8dc;
}

.probe_title {
	font-size: 1.25rem;
	color: #1a1a1e;
}

.probe_desc {
	font-size: 0.9rem;
	color: #4a4a52;
}

.readout_section {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.5rem;
	max-width: 100%;
}

.section_title {
	font-size: 1rem;
	color: #1a1a1e;
}

.readout_list {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	max-width: 100%;
}

.readout_title {
	font-size: 0.85rem;
	color: #6a6a72;
	margin: 0.5rem 0 0;
}

.readout_desc {
	font-size: 0.95rem;
	color: #1a1a1e;
	padding: 0.4rem 0.6rem;
	background: #eeeeee;
	border-radius: 0.25rem;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.readout_good {
	background: rgba(34, 139, 69, 0.12);
	color: #1a5c33;
}

.readout_bad {
	background: rgba(191, 42, 42, 0.12);
	color: #7a1f1f;
}

.stage_wrap {
	display: flex;
	flex-direction: column;
	width: 100%;
	/* vh first as the fallback, dvh overrides it where supported (mobile address bar) */
	height: 100vh;
	height: 100dvh;
}

/* heading kept for semantics, moved out of view so the form owns the whole screen */
.stage_title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.stage_block {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
}
