@import url('fonts.css');
/* Elastic keeps its familiar mail controls; the lab supplies its identity. */
:root {
	--lab-mail-ink: #1a1a1a;
	--lab-mail-blue: #1a3a5c;
	--lab-mail-paper: #fff;
	--lab-mail-rule: #e2e8f0;
}
html[data-lab-state] {
	color-scheme: light dark;
	background: var(--lab-mail-paper);
	color: var(--lab-mail-ink);
}
[data-lab-state] * {
	box-sizing: border-box;
}
[data-lab-state] body {
	margin: 0;
	font:
		16px/1.6 Inter,
		system-ui,
		sans-serif;
}
.lab-mail-state {
	max-width: 560px;
	margin: 12vh auto;
	padding: 32px 24px;
}
.lab-mail-state img {
	width: 210px;
	max-width: 80%;
	height: auto;
}
.lab-mail-eyebrow {
	margin-top: 48px;
	font: 11px/1.4 monospace;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #757575;
}
.lab-mail-state h1 {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.2;
	margin: 16px 0;
}
.lab-mail-state p {
	margin: 20px 0;
}
.lab-mail-state a {
	color: var(--lab-mail-blue);
}
.lab-mail-primary {
	display: inline-block;
	padding: 10px 18px;
	border: 2px solid var(--lab-mail-blue);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.lab-mail-primary:hover {
	background: var(--lab-mail-blue);
	color: var(--lab-mail-paper);
}
.lab-mail-note {
	font-size: 13px;
	color: #757575;
	border-top: 1px solid var(--lab-mail-rule);
	padding-top: 20px;
}
.lab-mail-state a:focus-visible,
.lab-mail-connection button:focus-visible {
	outline: 2px solid var(--lab-mail-blue);
	outline-offset: 3px;
}
body:not([data-lab-state]) {
	font-family: Inter, system-ui, sans-serif;
}
#layout-menu .popover-header img {
	max-width: 180px;
	width: auto;
	max-height: 42px;
}
body .btn-primary {
	background-color: #1a3a5c;
	border-color: #1a3a5c;
}
.lab-mail-connection {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	background: #fff;
	color: #1a1a1a;
	border-bottom: 2px solid #1a3a5c;
	padding: 14px 24px;
	font:
		14px/1.5 Inter,
		system-ui,
		sans-serif;
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: space-between;
}
.lab-mail-connection button {
	background: #fff;
	color: #1a3a5c;
	border: 1px solid #1a3a5c;
	padding: 6px 12px;
	cursor: pointer;
	flex-shrink: 0;
}
@media (max-width: 600px) {
	.lab-mail-connection {
		padding: 12px;
		align-items: flex-start;
	}
	.lab-mail-state {
		margin: 6vh auto;
	}
	.lab-mail-state h1 {
		font-size: 26px;
	}
}
@media (prefers-color-scheme: dark) {
	html[data-lab-state] {
		--lab-mail-paper: #111;
		--lab-mail-ink: #eee;
		--lab-mail-blue: #9abce3;
		--lab-mail-rule: #444;
	}
}
#layout-menu #logo {
	width: 42px;
	height: 42px;
	max-width: 100%;
	object-fit: contain;
	margin: 8px auto;
}
html[data-lab-blank],
[data-lab-blank] body {
	margin: 0;
	background: transparent;
	height: 100%;
	font:
		14px/1.5 Inter,
		system-ui,
		sans-serif;
	color: #757575;
}
[data-lab-blank] main {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
}
[data-lab-blank] img {
	opacity: 0.18;
}
body .form-control,
body .btn {
	border-radius: 0;
}
#taskmenu a:hover,
#taskmenu a.selected {
	color: #9abce3;
}
