.downloads-content {
	letter-spacing: 0;
}

.downloads-intro {
	max-width: 900px;
	margin: 20px 0 32px;
}

.downloads-content fieldset {
	min-width: 0;
	margin-bottom: 24px;
}

.downloads-content legend {
	padding-bottom: 12px;
	border-color: #9dcfc5;
	color: #18374b;
	font-size: 20px;
	font-weight: 600;
}

.downloads-content label {
	color: #18374b;
	font: 14px/1.6 "Open Sans", sans-serif;
}

.downloads-content input[type="checkbox"],
.downloads-content input[type="radio"] {
	margin-right: 8px;
	accent-color: #007f78;
}

.downloads-content li label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.downloads-content input[type="text"],
.downloads-content input[type="number"] {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #9dcfc5;
	border-radius: 4px;
	background: #fff;
	color: #18374b;
	font: 14px/1.5 "Open Sans", sans-serif;
}

.downloads-author {
	margin-bottom: 32px;
}

.downloads-author input {
	max-width: 600px;
}

.downloads-author p,
.downloads-submit p,
#types-status {
	margin-top: 8px;
	font-size: 13px;
}

.downloads-year-picker > ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
	gap: 0 8px;
}

.downloads-period {
	display: flex;
	gap: 16px;
}

.downloads-period > div {
	flex: 1;
	min-width: 0;
}

.downloads-content [hidden] {
	display: none;
}

.downloads-types input:disabled + label,
.downloads-types label:has(input:disabled) {
	color: #69756f;
}

.downloads-errors {
	margin-bottom: 24px;
	padding: 16px;
	border-left: 4px solid #a32d2d;
	background: #fff2f2;
	color: #7d2424;
}

.downloads-errors p {
	margin: 8px 0 0;
	color: inherit;
}

.downloads-submit {
	padding-top: 20px;
	border-top: 1px solid #9dcfc5;
}

.downloads-submit .btn {
	min-height: 44px;
	padding: 10px 24px;
	background: #007f78;
	color: #fff;
}

.downloads-submit .btn:hover {
	background: #00665c;
}

.downloads-submit .downloads-preview-button {
	margin: 0 8px 8px 0;
	border: 1px solid #007f78;
	background: #fff;
	color: #00665c;
}

.downloads-submit .downloads-preview-button:hover {
	color: #fff;
}

.downloads-suggestions {
	max-width: 600px;
	max-height: 260px;
	overflow-y: auto;
	border: 1px solid #9dcfc5;
	background: #fff;
}

.downloads-suggestions button {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid #edf7f4;
	background: #fff;
	color: #18374b;
	font: 14px/1.5 "Open Sans", sans-serif;
	text-align: left;
	overflow-wrap: anywhere;
	cursor: pointer;
}

.downloads-suggestions button:hover {
	background: #edf7f4;
}

.downloads-type-count {
	margin-left: 6px;
	color: #00665c;
}

.downloads-preview {
	margin-top: 40px;
}

.downloads-preview h3 {
	color: #18374b;
	font-size: 24px;
	font-weight: 600 !important;
}

.downloads-preview-table {
	margin-top: 24px;
	overflow-x: auto;
	border: 1px solid #9dcfc5;
}

.downloads-preview table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font: 13px/1.6 "Open Sans", sans-serif;
}

.downloads-preview caption {
	padding: 12px;
	color: #00665c;
	font-weight: 600;
}

.downloads-preview th,
.downloads-preview td {
	min-width: 110px;
	max-width: 450px;
	padding: 12px;
	border: 1px solid #d5e0e2;
	color: #18374b;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.downloads-preview th {
	background: #edf7f4;
}

.downloads-content input:focus-visible,
.downloads-content button:focus-visible,
.downloads-preview-table:focus-visible,
.downloads-errors:focus {
	outline: 3px solid #007f78 !important;
	outline-offset: 3px;
}
