/* Reset, wrapped in :where() so it never wins specificity fights. */
:where(*, *::before, *::after) {
	box-sizing: border-box;
}

:where(html) {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	tab-size: 4;
}

:where(body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol, address) {
	margin: 0;
}

:where(ul, ol) {
	padding: 0;
	list-style: none;
}

:where(img, svg, video, picture) {
	display: block;
	max-width: 100%;
}

:where(img) {
	height: auto;
}

:where(button, input, select, textarea) {
	font: inherit;
	color: inherit;
	margin: 0;
}

:where(button) {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

:where(a) {
	color: inherit;
}

:where(address) {
	font-style: normal;
}

:where(h1, h2, h3, h4, h5, h6) {
	font-size: inherit;
	font-weight: inherit;
}

:where([hidden]) {
	display: none !important;
}
