:root {
	color-scheme: dark;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #efedf5;
	background: #111016;
	font-synthesis: none;
	--muted: #aaa5b9;
	--line: #34303f;
	--green: #c5f58b;
	--violet: #bdabfa;
	--mono:
		ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* {
	box-sizing: border-box;
}
[hidden] {
	display: none !important;
}
body {
	margin: 0;
	background: radial-gradient(ellipse at 20% 12%, #34274745, transparent 42%);
}
button {
	font: inherit;
	cursor: pointer;
}
button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 4px;
}
::selection {
	background: #695082;
	color: #fff;
}
.shell {
	position: relative;
	z-index: 1;
	max-width: 1120px;
	margin: auto;
	padding: 0 40px;
}
.login-background {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(ellipse at center, #342747, #111016 75%);
	overflow: hidden;
}
.login-background video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}
.login-background::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #0b0912b3, #0b0912cc);
}
.shell[data-view="login"] #main {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: 32px;
}
.shell[data-view="login"] .lab-grid {
	grid-template-columns: minmax(0, 460px);
}
.shell[data-view="login"] .panel {
	background: #1a1722f5;
	border-color: #62516f;
	border-radius: 16px;
	box-shadow: 0 24px 90px #0009;
}
.shell[data-view="login"] #main > .notice {
	width: 100%;
	max-width: 460px;
}
#login-title {
	font-size: 28px;
	line-height: 1.2;
	margin-bottom: 16px;
}
#login-note {
	margin: 24px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	line-height: 1.7;
	color: var(--muted);
}
#login-note span {
	display: block;
	margin-top: 6px;
}
#login-note strong {
	color: #d9d2e6;
	font-weight: 600;
}
.skip-link {
	position: fixed;
	top: 12px;
	left: 16px;
	z-index: 10;
	padding: 14px;
	background: var(--green);
	color: #17210e;
	transform: translateY(-160%);
}
.skip-link:focus {
	transform: translateY(0);
}
.site-header,
.brand,
.panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.site-header {
	min-height: 88px;
	border-bottom: 1px solid var(--line);
}
.brand {
	justify-content: flex-start;
	gap: 9px;
	font-size: 20px;
	font-weight: 750;
	letter-spacing: -0.7px;
	text-decoration: none;
}
.brand-mark {
	width: 31px;
	height: 31px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}
.brand-slash {
	font-weight: 400;
	color: #686172;
	margin: 0 8px;
}
.brand-label {
	font-size: 13px;
	letter-spacing: 0.01em;
	font-weight: 400;
	color: var(--muted);
}
.intro {
	padding: 54px 0 38px;
	text-align: center;
}
.eyebrow {
	margin: 0 0 14px;
	color: var(--violet);
	font: 10px / 1.5 var(--mono);
	letter-spacing: 0.14em;
}
h1 {
	margin: 0;
	font-size: clamp(32px, 4.5vw, 52px);
	line-height: 1.12;
	font-weight: 550;
	letter-spacing: -0.055em;
}
h1 > span {
	color: var(--green);
}
.lede {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.8;
	margin: 18px auto 0;
}
.lab-grid {
	display: grid;
	grid-template-columns: minmax(0, 540px);
	justify-content: center;
}
#main > .notice,
#main > noscript > .notice {
	max-width: 540px;
	margin-inline: auto;
}
.panel {
	min-width: 0;
	border: 1px solid #41384f;
	border-radius: 10px;
	background: linear-gradient(135deg, #25202f, #1a1722 75%);
	box-shadow: 0 18px 65px #00000020;
	overflow: hidden;
}
.panel-heading {
	padding: 18px 24px;
	border-bottom: 1px solid #3b3349;
}
h2 {
	font-size: 22px;
	font-weight: 550;
	letter-spacing: -0.035em;
	margin: 0;
}
.panel-heading h2 {
	font-size: 13px;
	letter-spacing: 0;
}
.badge {
	background: #302a3d;
	border: 1px solid #57486a;
	color: #d1c3ee;
	border-radius: 20px;
	padding: 6px 9px;
	font: 11px var(--mono);
}
.badge[data-state="ready"] {
	background: #273224;
	border-color: #4d663b;
	color: var(--green);
}
.badge[data-state="failed"],
.badge[data-state="cleanup_failed"],
.badge[data-state="expired"] {
	background: #3a282a;
	border-color: #805049;
	color: #ffb9a8;
}
.console-body {
	padding: 28px;
}
.console-body h3 {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.2;
}
.console-body
	> p:not(.eyebrow):not(.fine-print):not(.notice) {
	color: #bdb6cd;
	font-size: 13px;
	line-height: 1.75;
	margin: 0 0 24px;
}
.fine-print {
	font-size: 11px;
	line-height: 1.8;
	color: var(--muted);
	margin: 18px 0 0;
}
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid transparent;
	border-radius: 5px;
	padding: 10px 16px;
	font-size: 12px;
	font-weight: 650;
	text-decoration: none;
}
.button.primary {
	color: #1d2815;
	background: var(--green);
	border-color: var(--green);
}
.button.primary:hover:not(:disabled) {
	background: #d6ffac;
}
.button.secondary {
	color: #e7dff6;
	background: #30273e;
	border-color: #5d4b73;
}
.button.secondary:hover:not(:disabled) {
	background: #413251;
	border-color: #9276b0;
}
.mono,
code {
	font-family: var(--mono);
}
.session-actions {
	display: grid;
	gap: 10px;
}
.notice {
	padding: 12px 15px;
	border: 1px solid #514563;
	border-radius: 5px;
	background: #272031;
	color: #ddd2ef;
	font-size: 12px;
	line-height: 1.7;
	margin: 0 0 18px;
	overflow-wrap: anywhere;
}
.notice.warning {
	border-color: #75603c;
	background: #2e271d;
	color: #f3d394;
}
.notice.error {
	border-color: #835249;
	background: #332022;
	color: #ffc2b4;
}
.activity-line {
	position: relative;
	height: 3px;
	background: #453653;
	overflow: hidden;
	border-radius: 3px;
	margin: 8px 0 24px;
}
.activity-line::after {
	content: "";
	position: absolute;
	height: 100%;
	width: 40%;
	background: var(--violet);
	animation: activity 2s ease-in-out infinite alternate;
}
@keyframes activity {
	from {
		left: 0;
	}
	to {
		left: 60%;
	}
}
dialog {
	width: min(460px, calc(100% - 32px));
	padding: 28px;
	color: #efedf5;
	background: #241d2e;
	border: 1px solid #6c5683;
	border-radius: 10px;
	box-shadow: 0 25px 100px #0008;
}
dialog::backdrop {
	background: #09070dce;
}
dialog p {
	color: #c5bacf;
	font-size: 13px;
	line-height: 1.8;
}
.dialog-actions {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}
@media (max-width: 760px) {
	.shell {
		padding-inline: 22px;
	}
	.site-header {
		min-height: 76px;
	}
	.brand-slash,
	.brand-label {
		display: none;
	}
	.intro {
		padding: 36px 0 28px;
	}
	.console-body {
		padding: 24px;
	}
}
@media (max-width: 380px) {
	.shell {
		padding-inline: 16px;
	}
	.brand {
		font-size: 17px;
	}
	.brand-mark {
		width: 25px;
		height: 25px;
	}
	.console-body,
	.panel-heading {
		padding-inline: 18px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.activity-line::after {
		animation: none;
		left: 30%;
	}
}
