/**
 * ]
 */
.mw-authority-control {
	margin-top: 1.5em;
}
.mw-authority-control .navbox table {
	margin: 0;
}
.mw-authority-control .navbox hr:last-child {
	display: none;
}
.mw-authority-control .navbox + .mw-mf-linked-projects {
	display: none;
}
.mw-authority-control .mw-mf-linked-projects {
	display: flex;
	padding: 0.5em;
	border: 1px solid var(--border-color-base,#a2a9b1);
	background-color: var(--background-color-neutral, #eaecf0);
	color: var(--color-base,#202122);
}
.mw-authority-control .mw-mf-linked-projects ul li {
	margin-bottom: 0;
}

.mw-authority-control .navbox {
	border: 1px solid var(--border-color-base,#a2a9b1);
	background-color: var(--background-color-neutral-subtle,#f8f9fa);
}
.mw-authority-control .navbox-list {
	border-color: #f8f9fa;	/* Must match background-color */
}
.mw-authority-control .navbox th {
	background-color: #eeeeff;
}

html.skin-theme-clientpref-night .mw-authority-control .mw-mf-linked-projects {
	border: 1px solid var(--border-color-base,#72777d);
	background-color: var(--background-color-neutral, #27292d);
	color: var(--color-base,#eaecf0);
}
html.skin-theme-clientpref-night .mw-authority-control .navbox {
	border: 1px solid var(--border-color-base,#72777d) !important;
	background-color: var(--background-color-neutral-subtle,#202122) !important;
}
html.skin-theme-clientpref-night .mw-authority-control .navbox-list {
	border-color: #202122 !important;	/* Must match background-color */
}
html.skin-theme-clientpref-night .mw-authority-control .navbox th {
	background-color: #27292d !important;
}
@media (prefers-color-scheme:dark) {
  html.skin-theme-clientpref-os .mw-authority-control .mw-mf-linked-projects {
    border: 1px solid var(--border-color-base,#72777d) !important;
    background-color: var(--background-color-neutral, #27292d) !important;
    color: var(--color-base,#eaecf0) !important;
  }
  html.skin-theme-clientpref-os .mw-authority-control .navbox {
    border: 1px solid var(--border-color-base,#72777d) !important;
    background-color: var(--background-color-neutral-subtle,#202122) !important;
  }
  html.skin-theme-clientpref-os .mw-authority-control .navbox-list {
    border-color: #202122 !important;	/* Must match background-color */
  }
  html.skin-theme-clientpref-os .mw-authority-control .navbox th {
    background-color: #27292d !important;
  }
}