/* Frontend: shortcode wrapper */
.eeg-financial-files {
	margin: 1.5em 0;
}

.eeg-financial-files__filter {
	margin-bottom: 1em;
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.eeg-financial-files__filter select {
	padding: 0.35em 0.5em;
	font: inherit;
}

.eeg-financial-files__year {
	margin-top: 0.5em;
}

.eeg-financial-files__empty {
	margin: 0.75em 0;
	color: #666;
	font-style: italic;
}

.eeg-financial-file {
	border-bottom: 1px solid #e5e5e5;
}

.eeg-financial-file > .eeg-financial-file__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75em;
	padding: 0.75em 0;
	cursor: pointer;
	list-style: none;
}

.eeg-financial-file > .eeg-financial-file__summary::-webkit-details-marker {
	display: none;
}

.eeg-financial-file > .eeg-financial-file__summary::before {
	content: "+";
	display: inline-block;
	width: 1em;
	text-align: center;
	font-weight: 600;
}

.eeg-financial-file[open] > .eeg-financial-file__summary::before {
	content: "\2212";
}

.eeg-financial-file__title {
	flex: 1 1 auto;
	font-weight: 600;
}

.eeg-financial-file__date {
	flex: 0 0 auto;
	color: #555;
	font-size: 0.95em;
}

.eeg-financial-file__list {
	list-style: none;
	margin: 0 0 0.75em 1.75em;
	padding: 0;
}

.eeg-financial-file__file {
	padding: 0.25em 0;
}

.eeg-financial-file__no-files {
	margin: 0 0 0.75em 1.75em;
	color: #888;
	font-style: italic;
}

/* Admin: repeater */
.eeg-ff-repeater__rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eeg-ff-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
	padding: 0.5em 0;
	border-bottom: 1px solid #f0f0f0;
}

.eeg-ff-row__title {
	flex: 1 1 18em;
	min-width: 18em;
}

.eeg-ff-row__filename {
	flex: 1 1 auto;
	color: #555;
	font-size: 0.9em;
	word-break: break-all;
}
