:root {
	--brand: #263d5f;
	--brand-help: #f69952;
	--brand-sub: #536a8c;
}

.top {
	position: sticky;
	top: 0;
	z-index: 6;
	flex: none;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 56px;
	padding: 0 24px;
	background: var(--card, #fff);
	border-bottom: 1px solid var(--line, #e4e7ec);
}

.top-start {
	display: flex;
	align-items: center;
	gap: 28px;
	justify-self: start;
	min-width: 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.brand img { display: block; flex: none; }

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.brand-title {
	font-family: "Noto Sans", sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: var(--brand);
	white-space: nowrap;
}

.brand-help { color: var(--brand-help); }

.brand-sub {
	margin-top: 3px;
	font-family: "Noto Sans", sans-serif;
	font-weight: 400;
	font-size: 10.5px;
	color: var(--brand-sub);
	white-space: nowrap;
}

.top-nav {
	display: flex;
	align-items: stretch;
	gap: 4px;
	height: 56px;
}

.top-nav a {
	display: inline-flex;
	align-items: center;
	padding: 0 10px;
	border-bottom: 2px solid transparent;
	color: var(--text-2, #475467);
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.top-nav a:hover { color: var(--text, #101828); }

.top-nav a[aria-current="page"] {
	border-bottom-color: var(--tile, #2e90fa);
	color: var(--text, #101828);
	font-weight: 600;
}

.app-name {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 500;
	white-space: nowrap;
}

@media (max-width: 1199px) {
	.app-name { display: none; }
}

@media (max-width: 1100px) {
	.top-start { gap: 16px; }
	.top-nav a { padding: 0 8px; }
}

@media (max-width: 767px) {
	.top {
		display: flex;
		height: auto;
		min-height: 56px;
		padding: 0 12px 0 6px;
	}

	.top-start {
		gap: 8px;
		flex-wrap: wrap;
		padding: 8px 0;
	}

	.top-nav { height: auto; flex-wrap: wrap; }

	.top-nav a { padding: 0 8px; }

	.app-name,
	.top-side { display: none; }
}
