/*
 * pbs/protected. Zero-specificity defaults (:where) so the design panel wins. Logical properties only.
 */
:where(.__PREFIX__-protected) {
	margin-block: 1.5em;
}

:where(form.__PREFIX__-protected) {
	padding: 1.5em;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
}

:where(.__PREFIX__-protected__message) {
	margin-block: 0 1em;
}

:where(.__PREFIX__-protected__error) {
	margin-block: 0 1em;
	color: #b32d2e;
	font-weight: 600;
}

:where(.__PREFIX__-protected__row) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6em;
	margin: 0;
}

:where(.__PREFIX__-protected__input) {
	flex: 1 1 12em;
	padding-block: 0.5em;
	padding-inline: 0.75em;
	border: 1px solid #757575;
	border-radius: 4px;
	font: inherit;
}

:where(.__PREFIX__-protected__button) {
	padding-block: 0.55em;
	padding-inline: 1.2em;
	border: 0;
	border-radius: 4px;
	background: #1e1e1e;
	color: #fff;
	font: inherit;
	cursor: pointer;
}

:where(.__PREFIX__-protected__input:focus-visible, .__PREFIX__-protected__button:focus-visible) {
	outline: 2px solid #1e1e1e;
	outline-offset: 2px;
}
