.custom-documents {
	width: 100%;
}

.custom-documents__report-title {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0 0 28px;
	column-gap: 20px;
	color: #0f172a;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
}

.custom-documents__report-title-text {
	flex: 0 1 auto;
	min-width: 0;
}

.custom-documents__report-title-line {
	display: block;
	flex: 1 1 auto;
	min-width: 32px;
	height: 1px;
	background-color: #d8e0e8;
}

.custom-documents__group + .custom-documents__group {
	margin-top: 16px;
}

.custom-documents__group {
	overflow: hidden;
	background-color: #fff;
	border: 1px solid #d8e0e8;
	border-radius: 18px;
}

.custom-documents__group-title {
	padding: 20px 24px;
	margin: 0;
	color: #0f172a;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	background-color: #fff;
	transition: background-color 0.22s ease;
}

.custom-documents__group--section > .custom-documents__group-title,
.custom-documents__group--collapsible[open] > .custom-documents__group-title {
	margin-bottom: 0;
}

.custom-documents__group--collapsible[open] > summary {
	border-bottom: 1px solid #d8e0e8;
}

.custom-documents__group--collapsible > summary {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	list-style: none;
}

.custom-documents__group-label {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.custom-documents__group-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin-left: auto;
	color: #475569;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	background-color: transparent;
	white-space: nowrap;
}

.custom-documents__group--collapsible > summary::-webkit-details-marker {
	display: none;
}

.custom-documents__group-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	color: #173b63;
	background-color: #eef3f8;
	border-radius: 14px;
	transition:
		color 0.22s ease,
		background-color 0.22s ease;
}

.custom-documents__group-toggle-icon svg {
	display: block;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.22s ease;
}

.custom-documents__group--collapsible[open] > summary .custom-documents__group-toggle-icon svg {
	transform: rotate(180deg);
}

.custom-documents__group--collapsible > summary:hover,
.custom-documents__group--collapsible > summary:focus-visible {
	background-color: #f8fafc;
}

.custom-documents__group--collapsible > summary:hover .custom-documents__group-toggle-icon,
.custom-documents__group--collapsible > summary:focus-visible .custom-documents__group-toggle-icon {
	background-color: #e2eaf2;
}

.custom-documents__group--collapsible > summary:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 4px;
}

.custom-documents__list {
	display: flex;
	flex-direction: column;
	row-gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
}

.custom-documents__group > .custom-documents__list {
	padding: 16px;
}

.custom-documents__item {
	padding: 0;
	margin: 0;
}

.custom-documents__item:not(:last-child) {
	border-bottom: 0 solid #e2e8f0;
}

.custom-document {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 12px 20px;
	column-gap: 14px;
	color: inherit;
	text-decoration: none;
	background-color: #fff;
	border-radius: 6px;
	transition:
		color 0.22s ease,
		background-color 0.22s ease,
		box-shadow 0.22s ease;
}

.custom-document:hover,
.custom-document:focus-visible {
	color: inherit;
	text-decoration: none;
	background-color: #f8fafc;
	box-shadow: 0 8px 20px rgb(15 23 42 / 10%);
}

.custom-document:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

.custom-document__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	color: #2563eb;
	font-size: 20px;
	line-height: 1;
	background-color: #eff6ff;
	border-radius: 8px;
	transition:
		color 0.22s ease,
		background-color 0.22s ease;
}

.custom-document__icon i,
.custom-document__icon svg,
.custom-document__icon img {
	display: block;
}

.custom-document__icon svg,
.custom-document__icon img {
	width: 1em;
	height: 1em;
	object-fit: contain;
}

.custom-document:hover .custom-document__icon,
.custom-document:focus-visible .custom-document__icon {
	color: #1d4ed8;
	background-color: #dbeafe;
}

.custom-document__content {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 5px;
}

.custom-document__title {
	color: #0f172a;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
	transition: color 0.22s ease;
}

.custom-document:hover .custom-document__title,
.custom-document:focus-visible .custom-document__title {
	color: #1d4ed8;
}

.custom-document__description {
	color: #64748b;
	font-size: 0.9375rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.custom-document__meta {
	color: #64748b;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.custom-document__trailing {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 12px;
	margin-left: auto;
}

.custom-document__download-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #2563eb;
	font-size: 18px;
	line-height: 1;
	transition:
		color 0.22s ease,
		opacity 0.22s ease,
		transform 0.22s ease;
}

.custom-document__download-icon i,
.custom-document__download-icon svg,
.custom-document__download-icon img {
	display: block;
}

.custom-document__download-icon svg,
.custom-document__download-icon img {
	width: 1em;
	height: 1em;
	object-fit: contain;
}

.custom-document:hover .custom-document__download-icon,
.custom-document:focus-visible .custom-document__download-icon {
	color: #1d4ed8;
}

.custom-documents--download-hover .custom-document__download-icon {
	opacity: 0;
	visibility: hidden;
	transform: translateY(2px);
}

.custom-documents--download-hover .custom-document:hover .custom-document__download-icon,
.custom-documents--download-hover .custom-document:focus-visible .custom-document__download-icon {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (max-width: 767px) {
	.custom-documents__group + .custom-documents__group {
		margin-top: 12px;
	}

	.custom-documents__report-title {
		align-items: flex-start;
		font-size: 1.5rem;
	}

	.custom-documents__report-title-line {
		margin-top: 0.65em;
	}

	.custom-documents__group-title {
		padding: 16px;
	}

	.custom-documents__group > .custom-documents__list {
		padding: 10px;
	}

	.custom-document {
		flex-wrap: wrap;
		padding-right: 12px;
		padding-left: 12px;
	}

	.custom-document__content {
		flex: 1 1 220px;
	}

	.custom-document__trailing {
		margin-left: auto;
	}
}

@media (hover: none) {
	.custom-documents--download-hover .custom-document__download-icon {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.custom-document,
	.custom-document__icon,
	.custom-document__download-icon,
	.custom-document__title,
	.custom-documents__group-title,
	.custom-documents__group-toggle-icon,
	.custom-documents__group-toggle-icon svg {
		transition-duration: 0.01ms;
	}
}
