/*
 * Styles for Brickmoat's screens in the WordPress admin.
 * The design tokens, the scoped reset and the Inter font are imported in index.tsx.
 * Every utility below is emitted as `.brickmoat-admin .class`, so nothing here can
 * affect the rest of the admin.
 */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* The page behind the app takes the app's ground colour, light or dark. */
body.brickmoat-admin-page,
body.brickmoat-admin-page #wpwrap,
body.brickmoat-admin-page #wpcontent,
body.brickmoat-admin-page #wpbody-content {
	background: var(--bm-page-bg, #f6f6f3);
}
body.brickmoat-admin-page #wpfooter {
	color: var(--bm-page-muted, #5e5d58);
}
body.brickmoat-admin-page .brickmoat-wrap {
	margin: 0;
	padding: 28px 20px 40px 0;
}
@media screen and (max-width: 782px) {
	body.brickmoat-admin-page .brickmoat-wrap {
		padding: 20px 10px 32px 0;
	}
}

.brickmoat-admin {
	max-width: 1180px;
	margin: 0 auto;
}
.brickmoat-admin .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}
