ul.m1dll_filelist {list-style-type: none; margin-left: 0px;}
ul.m1dll_filelist a {overflow-wrap: anywhere;}
.m1dll_subdirpath {margin: 20px 0px;}
.m1dll_filesize {}
.m1dll_filetime {}

/* Templates list, table, grid ([m1dll layout="..."]); colours and fonts come from the theme. */
.m1dll {
	--m1dll-line: rgba(128, 128, 128, 0.3);
	--m1dll-line-strong: rgba(128, 128, 128, 0.6);
	--m1dll-hover: rgba(128, 128, 128, 0.08);
	--m1dll-gap: 0.75em;
	container-type: inline-size;
	width: 100%;
	margin: 1.5em 0;
	scroll-margin-top: 4em;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
	.m1dll {
		--m1dll-line: color-mix(in srgb, currentColor 18%, transparent);
		--m1dll-line-strong: color-mix(in srgb, currentColor 35%, transparent);
		--m1dll-hover: color-mix(in srgb, currentColor 5%, transparent);
	}
}
.m1dll ul,
.m1dll ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.m1dll-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Breadcrumb */
.m1dll-crumbs {
	margin: 0 0 0.75em;
	font-size: 0.9em;
}
.m1dll-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 0;
}
.m1dll-crumbs li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	overflow-wrap: anywhere;
}
.m1dll-crumbs li + li::before {
	content: "/";
	content: "/" / "";
	margin: 0 0.5em;
}
.m1dll-crumbs [aria-current],
.m1dll-crumbs__current {
	font-weight: 600;
}

/* Icons */
.m1dll-icon {
	flex: none;
	width: 2em;
	height: 2em;
	display: block;
}
img.m1dll-icon {
	object-fit: contain;
}
.m1dll-icon__paper {
	fill: #fff;
	stroke: #9aa0a6;
	stroke-width: 1.2;
}
.m1dll-icon__fold {
	fill: none;
	stroke: #9aa0a6;
	stroke-width: 1.2;
	stroke-linejoin: round;
}
.m1dll-icon__folder-back {
	fill: #D9A21B;
}
.m1dll-icon__folder-front {
	fill: #F2BF3A;
}
.m1dll-icon--tabler {
	stroke-width: 1.5;
}
@media (forced-colors: active) {
	.m1dll-icon--wordpress {
		fill: CanvasText;
	}
}

/* Entry: name and details */
.m1dll-item__main {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}
.m1dll-item__link {
	overflow-wrap: anywhere;
	hyphens: auto;
}
.m1dll-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.9em;
	font-size: 0.85em;
	font-variant-numeric: tabular-nums;
}
.m1dll-item__meta > * {
	white-space: nowrap;
}
.m1dll--own-date .m1dll-item__meta > time {
	white-space: normal;
}
.m1dll-newwin {
	margin-left: 0.25em;
	font-size: 0.85em;
	text-decoration: none;
	display: inline-block;
}

/* The whole row or card is clickable, the link stays the only focus stop. */
.m1dll-list .m1dll-item,
.m1dll-grid .m1dll-item {
	position: relative;
}
.m1dll-list .m1dll-item__link,
.m1dll-grid .m1dll-item__link {
	position: static;
}
.m1dll-list .m1dll-item__link::after,
.m1dll-grid .m1dll-item__link::after {
	content: "";
	position: absolute;
	inset: 0;
}
.m1dll-list .m1dll-item:hover,
.m1dll-grid .m1dll-item:hover {
	background: var(--m1dll-hover);
}
.m1dll-list .m1dll-item:focus-within,
.m1dll-grid .m1dll-item:focus-within {
	outline: 2px solid currentColor;
	outline-offset: -2px;
}
.m1dll-list .m1dll-item__link:focus,
.m1dll-grid .m1dll-item__link:focus {
	outline: none;
}

/* List */
.m1dll-list {
	border-top: 1px solid var(--m1dll-line);
}
.m1dll-list .m1dll-item {
	display: flex;
	align-items: center;
	gap: var(--m1dll-gap);
	padding: 0.65em 0.5em;
	border-bottom: 1px solid var(--m1dll-line);
}
@container (min-width: 26em) {
	.m1dll-list .m1dll-item__main {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: var(--m1dll-gap);
	}
	.m1dll-list .m1dll-item__meta {
		flex: none;
		justify-content: flex-end;
		text-align: right;
	}
}

/* Table */
.m1dll-sortbar {
	display: none;
}
.m1dll-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.95em;
}
.m1dll-table caption {
	caption-side: top;
}
.m1dll-table th,
.m1dll-table td {
	padding: 0.6em 0.5em;
	border: 0;
	border-bottom: 1px solid var(--m1dll-line);
	text-align: left;
	vertical-align: middle;
}
.m1dll-table thead th {
	border-bottom-color: var(--m1dll-line-strong);
	font-size: 0.9em;
	font-weight: 600;
	white-space: nowrap;
}
.m1dll-table th a {
	display: block;
	color: inherit;
	text-decoration: none;
}
.m1dll-table th a:hover {
	text-decoration: underline;
}
.m1dll-table a:focus-visible,
.m1dll-sortbar a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.m1dll-sort::after {
	display: inline-block;
	margin-left: 0.35em;
	font-size: 0.75em;
	content: "\2195";
	opacity: 0.6;
}
[aria-sort="ascending"] .m1dll-sort::after,
.m1dll-sort--ascending .m1dll-sort::after {
	content: "\25B2";
	opacity: 1;
}
[aria-sort="descending"] .m1dll-sort::after,
.m1dll-sort--descending .m1dll-sort::after {
	content: "\25BC";
	opacity: 1;
}
.m1dll-table td.m1dll-table__name {
	width: 100%;
}
.m1dll-table__cell {
	display: flex;
	align-items: center;
	gap: var(--m1dll-gap);
}
.m1dll-table__size {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.m1dll-table td.m1dll-table__size,
.m1dll-table th.m1dll-table__size {
	text-align: right;
}
.m1dll-table th.m1dll-table__size a {
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
	gap: 0.35em;
}
.m1dll-table th.m1dll-table__size .m1dll-sort::after {
	margin-left: 0;
}
.m1dll-table__date {
	white-space: nowrap;
}
.m1dll-table--own-date .m1dll-table__date {
	white-space: normal;
	min-width: 11em;
}
.m1dll-table .m1dll-item__meta {
	display: none;
}
@container (max-width: 28em) {
	.m1dll-table thead,
	.m1dll-table td.m1dll-table__type,
	.m1dll-table td.m1dll-table__size,
	.m1dll-table td.m1dll-table__date {
		display: none;
	}
	.m1dll-table .m1dll-item__meta {
		display: flex;
	}
	.m1dll-sortbar {
		display: flex;
		flex-wrap: wrap;
		gap: 0.25em 1em;
		margin: 0 0 0.5em;
		font-size: 0.9em;
	}
	.m1dll-sortbar a {
		display: inline-block;
		padding: 0.2em 0;
	}
	.m1dll-sortbar [aria-current] {
		font-weight: 600;
	}
}

/* Grid */
.m1dll-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 9em), 1fr));
	gap: 0.75em;
}
.m1dll-grid .m1dll-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4em;
	padding: 1em 0.75em;
	border: 1px solid var(--m1dll-line);
	border-radius: 0.5em;
	text-align: center;
}
.m1dll-grid .m1dll-item__link {
	font-size: 0.9em;
}
.m1dll-grid .m1dll-icon {
	width: 3.25em;
	height: 3.25em;
	margin-bottom: 0.25em;
}
.m1dll-grid .m1dll-item__meta {
	justify-content: center;
}
@container (max-width: 24em) {
	.m1dll-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.m1dll-grid .m1dll-icon {
		width: 2.5em;
		height: 2.5em;
	}
	.m1dll-grid .m1dll-item__meta > time {
		white-space: normal;
	}
}
