/* The site's changes to u1's classless.css 1.2.0 (loaded before it from the cdn, see plugin.ts). */
html {
	color-scheme: light dark;
	--shadow:
		var(--shadow-x) var(--shadow-y) .8rem -.25rem rgba(23, 23, 23, 0.7),
		var(--shadow-x) var(--shadow-y) .5rem -.35rem rgba(23, 23, 23, 0.4);
	--scrollbar-color-track: var(--color-area);
}

/* The site's copy had these rules commented out — and the hr rule after them, as the comment ended early
   inside it: links that open elsewhere or download stay underlined, without arrow, and hr keeps u2's look
   (revert-layer: back to u2's layers, as if the rule were not there). */
a[download], a[target] {
	text-decoration: revert-layer;
}
/* …except the link boxes: main.css's .Download/.Link would lose to a[target] */
a:is(.Download, .Link) {
	text-decoration: none;
}
a[target]::after, a[download]::after {
	content: none;
}
hr {
	color: revert-layer;
	margin: revert-layer;
	border-width: revert-layer;
	border-color: revert-layer;
}

/* inputs and buttons a little higher; left and right stay the base's (buttons 1em) */
input, textarea, select, button, ::file-selector-button, ::-webkit-file-upload-button, .btn {
	padding-block: .3em;
}
input, select, textarea {
	background-color: var(--color-area2);
	border-color: transparent;
}

/* the mark of a checked box: in the page's background colour */
[type=radio]::before,
[type=checkbox]::before {
	color: var(--color-bg);
}
