.lab-gate {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(11, 29, 69, 0.55);
	animation: lab-gate-in 0.3s ease-out;
}
.lab-gate[hidden] {
	display: none;
}
html.lab-gate-open {
	overflow: hidden;
}
.lab-gate__panel {
	width: min(100%, 460px);
	padding: clamp(1.5rem, 5vw, 2.25rem);
	background: #ffffff;
	border-top: 2px solid #0b1d45;
	box-shadow: 0 30px 80px -20px rgba(11, 29, 69, 0.55);
	color: #0b1d45;
	font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
}
.lab-gate__title {
	margin: 0 0 0.75rem;
	font-size: 1.75rem;
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #0b1d45;
}
.lab-gate__desc {
	margin: 0 0 1.75rem;
	color: #4b5a78;
	font-size: 0.95rem;
	line-height: 1.6;
}
.lab-gate__actions {
	display: grid;
	gap: 0.5rem;
}
.lab-gate__actions button {
	padding: 0.9rem 1.25rem;
	border-radius: 0;
	font: 500 0.95rem "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.lab-gate__confirm {
	border: 0;
	background: #1a5fe6;
	color: #ffffff;
}
.lab-gate__confirm:hover {
	background: #0b1d45;
}
.lab-gate__leave {
	border: 1px solid #0b1d45;
	background: #ffffff;
	color: #0b1d45;
}
.lab-gate__leave:hover {
	background: #0b1d45;
	color: #ffffff;
}
.lab-gate__actions button:focus-visible {
	outline: 2px solid #2f7bff;
	outline-offset: 3px;
}
@keyframes lab-gate-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.lab-gate { animation: none; }
}
