.ueb-has-bar {
	padding-top: 36px;
}

.ueb-bar {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 99998;
	height: 36px;
	background: #0d3b75;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 12px;
	line-height: 1;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.admin-bar .ueb-bar,
.ueb-admin-bar-visible .ueb-bar {
	top: 32px;
}

.ueb-bar,
.ueb-bar * {
	box-sizing: border-box;
}

.ueb-bar__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: 36px;
	padding: 0 16px;
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.ueb-bar__icon-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #fff;
	text-decoration: none;
}

.ueb-bar__icon {
	display: block;
	width: 20px;
	height: 20px;
	border: 0;
	border-radius: 3px;
	object-fit: contain;
}

.ueb-bar__links {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	min-width: max-content;
	height: 36px;
}

.ueb-bar__link {
	display: inline-flex;
	align-items: center;
	height: 36px;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	text-decoration: none;
	opacity: 0.92;
	transition: opacity 120ms ease, text-decoration-color 120ms ease;
}

.ueb-bar__link:focus,
.ueb-bar__link:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	opacity: 1;
}

.ueb-bar__link:focus-visible,
.ueb-bar__icon-link:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 2px;
}

.ueb-bar__separator {
	display: inline-flex;
	align-items: center;
	height: 36px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 10px;
	line-height: 1;
}

.ueb-bar__mobile-label,
.ueb-bar__menu-toggle,
.ueb-bar__mobile-menu {
	display: none;
}

@media screen and (max-width: 782px) {
	.admin-bar .ueb-bar,
	.ueb-admin-bar-visible .ueb-bar {
		top: 46px;
	}

	.ueb-bar__inner {
		padding-right: 12px;
		padding-left: 12px;
	}
}

@media screen and (max-width: 768px) {
	.ueb-has-bar {
		padding-top: 46px;
	}

	.ueb-bar {
		height: 46px;
	}

	.ueb-bar__inner {
		height: 46px;
		gap: 8px;
		overflow: visible;
	}

	.ueb-bar__links,
	.ueb-bar__separator {
		display: none;
	}

	.ueb-bar__mobile-label {
		display: inline-flex;
		flex: 0 1 auto;
		align-items: center;
		min-width: 0;
		height: 46px;
		color: #fff;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.ueb-bar__menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 4px;
		width: 40px;
		height: 40px;
		margin-left: auto;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 4px;
		color: #fff;
		cursor: pointer;
	}

	.ueb-bar__menu-toggle:focus-visible {
		outline: 2px solid rgba(255, 255, 255, 0.85);
		outline-offset: 2px;
	}

	.ueb-bar__menu-line {
		display: block;
		width: 18px;
		height: 2px;
		background: currentColor;
		border-radius: 999px;
	}

	.ueb-bar__mobile-menu {
		position: absolute;
		top: 46px;
		right: 0;
		left: 0;
		z-index: 1;
		display: block;
		background: #fff;
		border-bottom: 1px solid rgba(13, 59, 117, 0.16);
		box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
	}

	.ueb-bar__mobile-menu[hidden] {
		display: none;
	}

	.ueb-bar__mobile-link {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0 16px;
		color: #0d3b75;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 0;
		line-height: 1.2;
		text-decoration: none;
		white-space: nowrap;
	}

	.ueb-bar__mobile-link:focus,
	.ueb-bar__mobile-link:hover {
		color: #0d3b75;
		background: rgba(13, 59, 117, 0.08);
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}
