/* Performance Center — undo Hello Elementor's reset.css.

   The refined handover's sheets were drawn on a bare page: anything they do not
   style is the browser's own default. In WordPress, Hello Elementor's
   reset.css sits underneath instead and restyles every heading, button and
   form field (pink 1px borders, 3px corners, 16px type, weight 500 headings),
   so wherever the handover relies on a default the two drifted apart.

   This sheet loads straight after reset.css and before every handover sheet
   (it is pp-mockup.css's dependency on Performance Center pages). Each rule
   matches the reset rule it undoes in specificity, so it wins on load order
   — and any handover rule loads later, so it still wins on load order. */

:where(body.page-performance-center) :is(h1, h2, h3, h4, h5, h6) {
	font-weight: revert;
	font-family: revert;
	line-height: revert;
	margin-block: revert;
	color: revert;
}

:where(body.page-performance-center) :is(button, [type=button], [type=submit], [type=reset]) {
	-webkit-appearance: revert;
	appearance: revert;
	background-color: revert;
	border: revert;
	border-radius: revert;
	color: revert;
	display: revert;
	font-family: revert;
	font-size: revert;
	font-weight: revert;
	line-height: revert;
	margin: revert;
	padding: revert;
	text-align: revert;
	text-transform: revert;
	transition: revert;
	user-select: revert;
	white-space: revert;
	width: revert;
	overflow: revert;
}

:where(body.page-performance-center) :is(button, [type=button], [type=submit]):is(:hover, :focus) {
	background-color: revert;
	color: revert;
	text-decoration: revert;
}

:where(body.page-performance-center) :is(input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], select, textarea) {
	border: revert;
	border-radius: revert;
	padding: revert;
	transition: revert;
	width: revert;
	font-family: revert;
	font-size: revert;
	line-height: revert;
	margin: revert;
}

:where(body.page-performance-center) :is(input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], select, textarea):focus {
	border-color: revert;
}

:where(body.page-performance-center) :is(input, optgroup) {
	font-family: revert;
	font-size: revert;
	line-height: revert;
	margin: revert;
}

:where(body.page-performance-center) label {
	display: revert;
	line-height: revert;
	vertical-align: revert;
}

:where(body.page-performance-center) select {
	display: revert;
	text-transform: revert;
}

:where(body.page-performance-center) p {
	margin-block: revert;
}

:where(body.page-performance-center) :is(small, sub, sup) {
	font-size: revert;
	line-height: revert;
	position: revert;
	vertical-align: revert;
}

:where(body.page-performance-center) table {
	background-color: revert;
	border-collapse: revert;
	border-spacing: revert;
	font-size: revert;
	margin-block-end: revert;
	width: revert;
}

:where(body.page-performance-center) table :is(td, th) {
	border: revert;
	line-height: revert;
	padding: revert;
	vertical-align: revert;
}
