/* Structured object context inside the desktop topbar. The base shell owns the
   row; this small sheet owns only the linked ancestor/current-label projection. */

.topbar-title {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	flex: 0 1 auto;
}

.topbar-title.has-context {
	gap: 7px;
}

.topbar-context-ancestor {
	flex: none;
	color: var(--text-2);
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}

.topbar-context-ancestor:hover,
.topbar-context-ancestor:focus-visible {
	color: var(--text);
	text-decoration-color: currentColor;
}

.topbar-context-separator {
	flex: none;
	color: var(--text-4);
}

.topbar-context-current {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.topbar-spacer {
	min-width: 0;
	flex: 1 1 auto;
}

@media (forced-colors: active) {
	.topbar-context-ancestor {
		text-decoration-color: currentColor;
	}
}
