/* HD Accessibility: statement page and notice form. Scoped by the hdacc- prefix.
   Colors are inherited from the theme except where a text/background pair is set
   together (form controls, button), so contrast does not depend on the theme. */

.hdacc-statement {
	max-inline-size: 60rem;
	line-height: 1.6;
}

.hdacc-section {
	margin-block: 1.75rem;
}

.hdacc-statement h2 {
	margin-block-end: 0.5rem;
}

.hdacc-statement h3 {
	margin-block: 1rem 0.25rem;
}

.hdacc-updated {
	font-weight: 700;
}

.hdacc-interruption {
	border: 3px solid currentcolor;
	border-radius: 4px;
	padding: 1rem;
}

.hdacc-dl dt {
	font-weight: 700;
	margin-block-start: 0.5rem;
}

.hdacc-dl dd {
	margin: 0;
}

.hdacc-statement a,
.hdacc-notice-form a {
	text-decoration: underline;
}

.hdacc-admin-warning {
	border: 2px dashed currentcolor;
	padding: 0.75rem 1rem;
	margin-block-end: 1rem;
}

/* Notice form */
.hdacc-notice-form {
	max-inline-size: 40rem;
}

.hdacc-field {
	margin-block-end: 1rem;
}

.hdacc-field label {
	display: block;
	font-weight: 700;
	margin-block-end: 0.25rem;
}

.hdacc-hint,
.hdacc-error {
	display: block;
	margin-block-end: 0.25rem;
}

.hdacc-error {
	font-weight: 700;
}

.hdacc-fieldset {
	border: 2px solid currentcolor;
	border-radius: 4px;
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
}

.hdacc-fieldset legend {
	font-weight: 700;
	padding-inline: 0.25rem;
}

.hdacc-field input,
.hdacc-field textarea {
	display: block;
	box-sizing: border-box;
	inline-size: 100%;
	padding: 0.5rem;
	font: inherit;
	color: #111111;
	background: #ffffff;
	border: 2px solid #444444;
	border-radius: 3px;
}

.hdacc-field input[aria-invalid="true"],
.hdacc-field textarea[aria-invalid="true"] {
	border-style: dashed;
	border-width: 3px;
}

.hdacc-field input:focus,
.hdacc-field textarea:focus,
.hdacc-button:focus,
.hdacc-feedback:focus {
	outline: 2px solid transparent;
	box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px #000000;
}

.hdacc-button {
	padding: 0.6rem 1.4rem;
	font: inherit;
	font-weight: 700;
	color: #ffffff;
	background: #0b4db3;
	border: 2px solid #0b4db3;
	border-radius: 3px;
	cursor: pointer;
}

.hdacc-button:hover {
	background: #083a8a;
	border-color: #083a8a;
}

.hdacc-feedback {
	border: 3px solid currentcolor;
	border-radius: 4px;
	padding: 0.75rem 1rem;
	margin-block: 1rem;
}

.hdacc-feedback--error {
	border-style: double;
	border-width: 6px;
}

.hdacc-feedback h3 {
	margin-block-start: 0;
}

/* Honeypot: off-screen, not display:none, so simple bots still fill it. */
.hdacc-hp {
	position: absolute;
	inset-inline-start: -10000px;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
}
