/* The demo's note, in the page's own tokens so it follows the look and the light or dark setting.
   On a wide screen it sits at the foot of the side navigation, which makes room for it; on a narrow
   one it runs along the bottom, and the page ends far enough down to clear it. */
.demo-note {
	position: fixed;
	left: 12px;
	bottom: 12px;
	z-index: 20;
	width: 200px;
	padding: 8px 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--surface);
	color: var(--ink-2);
	box-shadow: var(--shadow);
	font-size: var(--text-sm);
}

.demo-note strong {
	color: var(--ink);
}

.demo-note a {
	color: var(--link);
}

.sidebar {
	padding-bottom: 140px;
}

@media (max-width: 900px) {
	.demo-note {
		left: 8px;
		right: 8px;
		bottom: 8px;
		width: auto;
	}

	.sidebar {
		padding-bottom: 16px;
	}

	body {
		padding-bottom: 88px;
	}
}
