/* Deliberately scoped: retain the website's own typography and colour scheme. */
.erc-sheep {
	box-sizing: border-box;
	color: inherit;
	font: inherit;
	line-height: inherit;
}

.erc-sheep .erc-sheep__title {
	margin-block: 0 1rem;
	color: inherit;
}

.erc-sheep .erc-sheep__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: .65rem 1.15rem;
	border: 2px solid currentColor;
	border-radius: .2rem;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.erc-sheep .erc-sheep__button:hover {
	text-decoration: underline;
	text-underline-offset: .2em;
}

.erc-sheep a:focus-visible,
.erc-sheep .erc-sheep__form button:focus-visible,
.erc-sheep .erc-sheep__field input:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
	text-decoration: underline;
}

.erc-sheep .erc-sheep__form {
	max-width: 30rem;
	margin-block: 0;
}

.erc-sheep .erc-sheep__field {
	margin-block: 0 1rem;
}

.erc-sheep .erc-sheep__field label {
	display: block;
	margin-block-end: .35rem;
	font-weight: 600;
}

.erc-sheep .erc-sheep__field input {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 2.75rem;
	padding: .65rem .75rem;
	border: 1px solid currentColor;
	border-radius: .2rem;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.25;
}

.erc-sheep .erc-sheep__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.5rem;
	margin-block: 1rem 0;
}

.erc-sheep .erc-sheep__help {
	margin-block: .85rem 0;
	font-size: .95em;
}

.erc-sheep .erc-sheep__website-access {
	margin-block: 1.25rem;
}

.erc-sheep .erc-sheep__website-access p {
	margin-block: 0 .5rem;
}

.erc-sheep .erc-sheep__notice {
	margin-block: 0 1rem;
	padding: .75rem 1rem;
	border-inline-start: 3px solid currentColor;
}

.erc-sheep .erc-sheep__error-details {
	margin-block: -.5rem 1rem;
	font-size: .95em;
	overflow-wrap: anywhere;
}

.erc-sheep .erc-sheep__error-details p {
	margin-block: .35rem;
}

.erc-sheep .erc-sheep__error-reference,
.erc-sheep .erc-sheep__error-http {
	display: block;
}

.erc-sheep .erc-sheep__details {
	margin-block: 0 1rem;
}

.erc-sheep .erc-sheep__detail {
	display: grid;
	grid-template-columns: minmax(7rem, 1fr) minmax(0, 2fr);
	gap: .5rem 1rem;
	padding-block: .5rem;
}

.erc-sheep .erc-sheep__detail dt {
	font-weight: 600;
}

.erc-sheep .erc-sheep__detail dd {
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 420px) {
	.erc-sheep .erc-sheep__detail {
		grid-template-columns: minmax(0, 1fr);
		gap: .2rem;
	}
}
