/* ---------------------------------------------------------------------------
   Reset
   Corrective only: box model, media, form font inheritance, a focus-visible
   baseline. Colour, type and spacing live in style.css and theme.json.
--------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	color-scheme: light;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
}

body {
	margin: 0;
}

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

img,
video {
	height: auto;
}

input,
button,
textarea,
select,
optgroup {
	font: inherit;
	margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}

/* Bare buttons: the theme styles every button it ships, so the UA chrome goes. */
button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

/* Focus rings only for keyboard users. Mouse clicks and taps get nothing,
   and the :focus reset must come BEFORE the :focus-visible rule. */
:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

dialog {
	margin: auto;
	padding: 0;
	border: 0;
	color: inherit;
}

address {
	font-style: normal;
}

dl, dd {
	margin: 0;
}

[hidden] {
	display: none !important;
}
