/* Keep the guest account buttons together in desktop and mobile navigation. */
.site-header nav {
	gap: 18px;
}
.nav-account-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.nav-account-actions .nav-account {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}
.site-header .nav-register {
	color: var(--bg);
	background: var(--accent);
	border-color: var(--accent);
	font-weight: 650;
}
.site-header .nav-register:hover {
	color: var(--bg);
	background: var(--text);
	border-color: var(--text);
}
.nav-account-actions a:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
/* Switch to the existing menu earlier to make room for both account actions. */
@media (min-width: 901px) and (max-width: 1100px) {
	.site-header {
		height: 80px;
		position: relative;
		flex-wrap: wrap;
		z-index: 2;
	}
	.menu-toggle {
		display: block;
	}
	.site-header nav {
		display: none;
		position: absolute;
		top: 79px;
		left: 0;
		right: 0;
		padding: 20px 32px;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		flex-wrap: wrap;
	}
	.site-header nav.open {
		display: flex;
	}
	.database-menu > div {
		position: static;
		margin-top: 10px;
		box-shadow: none;
	}
}
@media (max-width: 1100px) {
	.site-header nav {
		gap: 20px;
	}
	.nav-account-actions {
		flex-basis: 100%;
	}
}
@media (max-width: 640px) {
	.site-header nav {
		padding-right: 18px;
		padding-left: 18px;
	}
	.nav-account-actions {
		gap: 8px;
	}
	.nav-account-actions .nav-account {
		padding: 9px 12px;
	}
}
