/* HR Charter Downloads: inherits the theme font (Jost); colours from the HR Charter palette. */
.hrc-dl {
	--hrc-navy: #002D6E;
	--hrc-teal: #1E7887;
	--hrc-mint: #3CC3A5;
	--hrc-ink: #1b2433;
	--hrc-muted: #4a5568;
	--hrc-line: #b9c5d4;
	--hrc-error: #a3122a;
	margin-top: 1rem;
	font: inherit;
	color: var(--hrc-ink);
}
.hrc-dl__button {
	display: inline-block;
	cursor: pointer;
	list-style: none;
	background: var(--hrc-navy);
	color: #fff;
	padding: 0.6em 1.1em;
	border-radius: 6px;
	font-weight: 500;
	line-height: 1.3;
}
.hrc-dl__button::-webkit-details-marker { display: none; }
.hrc-dl__button::marker { content: ""; }
.hrc-dl__button:hover { background: var(--hrc-teal); }
.hrc-dl__details[open] > .hrc-dl__button {
	background: transparent;
	color: var(--hrc-navy);
	box-shadow: inset 0 0 0 1.5px var(--hrc-navy);
}
.hrc-dl__button:focus-visible,
.hrc-dl input:focus-visible,
.hrc-dl__submit:focus-visible {
	outline: 3px solid var(--hrc-mint);
	outline-offset: 2px;
}
.hrc-dl__form {
	margin-top: 0.9rem;
	padding: 1rem 1.1rem;
	border-left: 3px solid var(--hrc-teal);
	background: rgba(30, 120, 135, 0.07);
	display: grid;
	gap: 0.8rem;
	max-width: 28rem;
	text-align: left;
}
.hrc-dl__field { margin: 0; display: grid; gap: 0.3rem; }
.hrc-dl__field label { font-weight: 500; }
.hrc-dl input[type="text"],
.hrc-dl input[type="email"] {
	font: inherit;
	width: 100%;
	box-sizing: border-box;
	padding: 0.5em 0.7em;
	border: 1px solid var(--hrc-line);
	border-radius: 4px;
	background: #fff;
	color: var(--hrc-ink);
}
.hrc-dl__check { margin: 0; display: flex; gap: 0.55rem; align-items: flex-start; }
.hrc-dl__check input { margin: 0.3em 0 0; accent-color: var(--hrc-teal); flex: none; }
.hrc-dl__note { margin: 0; font-size: 0.875em; color: var(--hrc-muted); }
.hrc-dl__note a { color: var(--hrc-teal); }
.hrc-dl__submit {
	justify-self: start;
	font: inherit;
	font-weight: 500;
	border: 0;
	border-radius: 6px;
	padding: 0.6em 1.1em;
	background: var(--hrc-teal);
	color: #fff;
	cursor: pointer;
}
.hrc-dl__submit:hover { background: var(--hrc-navy); }
.hrc-dl__submit[disabled] { opacity: 0.6; cursor: progress; }
.hrc-dl__status { margin: 0; min-height: 1.2em; font-size: 0.925em; }
.hrc-dl__status:empty { display: none; }
.hrc-dl__status.is-error { color: var(--hrc-error); font-weight: 500; }
.hrc-dl__done {
	margin: 0;
	padding: 0.9rem 1.1rem;
	border-left: 3px solid var(--hrc-mint);
	background: rgba(60, 195, 165, 0.12);
	max-width: 28rem;
	text-align: left;
}
.hrc-dl__done:focus { outline: none; }
.hrc-dl__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
	.hrc-dl__details[open] > .hrc-dl__form { animation: hrc-dl-open 0.18s ease-out; }
	@keyframes hrc-dl-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
