/* Shared short-desktop shell policy. The desktop navigation model stays intact;
   this sheet only reclaims fixed chrome and spare spacing. Route-owned
   workspaces remain responsible for their content geometry. */

@media (min-width: 1024px) and (max-height: 820px) {
	.topbar {
		height: calc(40px + env(safe-area-inset-top, 0px));
	}

	.topbar.condensed {
		height: calc(38px + env(safe-area-inset-top, 0px));
	}

	/* A context strip disappears only when its route explicitly declares it
	   redundant with visible page identity and an available return path. */
	.context-strip[data-tcg-redundant="true"] {
		display: none;
	}

	.sidebar,
	.rail {
		padding-top: 8px;
	}
}

/* The all-tabs key remains a permanent route to every tab. Only a fine-pointer
   row gives back spare focus-ring padding; coarse input keeps its 44px targets. */
@media (min-width: 1024px) and (max-height: 820px) and (pointer: fine) {
	.tabrow-list {
		padding-block: 1px;
	}
}

@media (min-width: 1024px) and (max-height: 600px) {
	.topbar {
		height: calc(38px + env(safe-area-inset-top, 0px));
	}
}
