/*** Fonts ***/
@font-face {
	font-family: 'Quicksand';
	font-weight: 100 1000;
	src: url('../fonts/Quicksand-VariableFont_wght.ttf');
}
@font-face {
	font-family: 'SourceCodePro';
	font-weight: 100 1000;
	src: url('../fonts/SourceCodePro-VariableFont_wght.ttf');
}

/*** Main ***/
body, html {
	height: 100%;
	margin: 0px;
}
html,
#explorer-content,
#login-form,
.controls.sticky {
	background-color: #FAFAFA;
}
body {
	font-family: "Quicksand", sans-serif;
	font-size: 14px;
	color: rgb(7,7,7);
	margin: 0px;
	-webkit-font-smoothing: antialiased;
}
body.loading {
	cursor: wait;
}
h1 {
	font-size: 24px;
	font-weight: 200;
}
h2 {
	font-size: 20px;
	font-weight: 200;
}
h3 {
	font-size: 16px;
	font-weight: 200;
}
#container {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	max-height: 100%;
}
#header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 62px;
	background-color: #314351;
	color: white;
	box-sizing: border-box;
	padding: 5px 15px;
	font-weight: 100;
}
#header.progress {
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.1) 75%, transparent 75%, transparent);
	background-size: 1rem 1rem;
	animation: progressbar-stripes 1s linear infinite;
}
#header * {
	vertical-align: middle;
}
#header .title {
	font-size: 20px;
}
#header > #search-container {
	flex-grow: 1;
	position: relative;
	margin-right: 10px;
}
#header a {
	color: inherit;
	text-decoration: none;
}
#header button {
	background: transparent;
	background-color: transparent;
	border: none;
	box-shadow: none;
	color: #B3B9BE;
	text-transform: none;
}
#header button.active * {
	filter: drop-shadow(0px 0px 4px white);
}
#header button > span {
	display: inline-block;
	margin-bottom: 2px;
}
#header span.separator {
	display: inline-block;
	height: 30px;
	width: 1px;
	background-color: #B3B9BE;
	opacity: 0.2;
}
#header span.separator.space {
	margin-left: 15px;
	margin-right: 5px;
	margin-bottom: 0px;
}
#header input {
	padding: 8px 10px;
	padding-left: 32px; /* for glass icon */
	color: #B3B9BE;
	background-color: transparent;
	box-shadow: none;
	border: none;
	border-radius: 4px;
	width: 100%;
}
#header input::placeholder {
	color: #B3B9BE;
}
#header input:focus {
	color: black;
	background-color: white;
}
#header input:focus::placeholder {
	color: gray;
}
#header #search-glass {
	background-color: #B3B9BE;
	-webkit-mask: url('../img/search.dyn.svg') no-repeat center;
	mask: url('../img/search.dyn.svg') no-repeat center;
	width: 24px;
	height: 24px;
	position: absolute;
	top: 6px;
	left: 4px;
	pointer-events: none;
}
#header #search-glass.focus {
	background-color: gray;
}
#header #search-results {
	display: none;
	position: absolute;
	top: 40px;
	left: 0px;
	right: 0px;
	padding: 10px;
	color: black;
	background-color: white;
	box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
	border-radius: 4px;
	z-index: 99;
}
#header #search-results.visible {
	display: block;
}

#login {
	flex-grow: 1;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: stretch;
}
#login-form {
	flex-grow: 1;
	flex-shrink: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	min-width: 350px;
	max-width: 500px;
	width: 30%;
	border-right: 2px solid #DDDDDD;
	overflow: auto;
}
#login-form form {
	flex-shrink: 1;
	width: 80%;
}
#login-form form input,
#login-form form button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
}
#login-form > img {
	opacity: 0.2;
}
#login-wall {
	position: relative;
	flex-grow: 1;
	flex-shrink: 1;
	width: 70%;
	height: 100%;
}
#login-bg {
	position: absolute;
	background: url('../img/bg.jpg');
	background-size: cover;
	background-position: center;
	filter: grayscale(20%) contrast(40%) brightness(165%);
	width: 100%;
	height: 100%;
}
#login-wall img#forkme {
	position: absolute;
	top: 0px;
	right: 0px;
}
#login-wall #motd {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	padding: 20px;
	color: white;
	text-shadow: 0px 0px 2px rgba(0,0,0,0.2);
	max-width: 600px;
}

#explorer {
	flex-grow: 1;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	align-items: stretch;
	height: calc(100% - 62px);
}
#explorer.diffuse,
#explorer.noresponse {
	opacity: 0.5;
}
#explorer.noresponse {
	pointer-events: none;
}
#explorer.nosidebar #explorer-tree {
	display: none;
}
#explorer.nosidebar #explorer-content {
	flex-basis: 100%;
}
#explorer-tree {
	position: relative;
	flex-grow: 1;
	flex-shrink: 1;
	background-color: white;
	resize: horizontal;
	width: 20%;
	height: 100%;
	border-right: 2px solid #DDDDDD;
	overflow: auto;
	box-sizing: border-box;
	white-space: nowrap;
}
#explorer-tree a,
#header #search-results a,
.blockListItem {
	display: block;
	text-decoration: none;
	color: inherit;
	padding: 5px;
	border-radius: 4px;
	user-select: none;
	position: relative;
}
#explorer-tree .node > a {
	border-radius: 0px;
}
.blockListItem > * {
	vertical-align: text-top;
}
#explorer-tree a:focus,
#explorer-tree a:hover,
#explorer-tree a:active,
#header #search-results a:focus,
#header #search-results a:hover,
#header #search-results a:active,
.blockListItem:focus, .blockListItem:focus-within,
.blockListItem:hover,
.blockListItem:active {
	background-color: #eeeeee;
	cursor: pointer;
}
#explorer-tree a img,
#header #search-results a img {
	width: 16px;
	margin-right: 5px;
	margin-bottom: 2px;
	vertical-align: middle;
}
#explorer-tree .node {
	border-left: 5px solid transparent;
}
#explorer-tree .node:hover {
	border-color: #0079B8;
}
#explorer-tree .node > a {
	padding: 15px 10px 15px 10px;
	margin-left: -5px;
	border-left: 5px solid transparent;
}
#explorer-tree .node:hover > a {
	border-color: #0079B8;
}
#explorer-tree .node > .subitems {
	margin-left: 17px;
}
#explorer-tree .node.expandable > a:hover > img,
#explorer-tree .node.expandable > a:focus > img,
#explorer-tree .subnode.expandable > a:hover > img,
#explorer-tree .subnode.expandable > a:focus > img {
	object-position: 16px 16px;
	background-image: url('../img/expand.dyn.svg');
	background-size: 16px 16px;
}
#explorer-tree .node.expandable.expanded > a:hover > img,
#explorer-tree .node.expandable.expanded > a:focus > img,
#explorer-tree .subnode.expandable.expanded > a:hover > img,
#explorer-tree .subnode.expandable.expanded > a:focus > img {
	object-position: 16px 16px;
	background-image: url('../img/collapse.dyn.svg');
	background-size: 16px 16px;
}
.subitems {
	margin-left: 12px;
	padding-left: 8px;
	border-left: 1px dashed rgb(150,150,150,0.4);
}
#explorer-tree .subitems {
	display: none;
	max-height: 0px;
	overflow: hidden;
}
#explorer-tree .expanded > .subitems {
	display: block;
	max-height: none;
	overflow: visible;
}
#explorer-content {
	position: relative;
	flex-basis: 80%;
	padding: 20px;
	box-sizing: border-box;
	overflow: scroll;
	height: 100%;
}
#explorer-content > *:first-child {
	margin-top: 0px;
	padding-top: 0px;
}
#explorer-content > *:last-child {
	margin-bottom: 0px;
	padding-bottom: 0px;
}
#explorer-content > .details-header:first-child > *:first-child {
	margin-top: 0px;
	padding-top: 0px;
}
#explorer-content > .details-header:first-child > *:last-child {
	margin-bottom: 0px;
	padding-bottom: 0px;
}
#explorer-content .details-abreast h1,
#explorer-content .details-abreast h2,
#explorer-content .details-abreast h3,
#explorer-content .gallery h1,
#explorer-content .gallery h2,
#explorer-content .gallery h3 {
	color: rgb(86,86,86);
}
.content-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin: 15px 0px;
}
.filler {
	align-self: center;
	height: 1px;
	min-width: 5px;
	background-color: rgb(0,0,0,0.1);
	flex-grow: 1;
}
.filler.invisible {
	background-color: transparent;
}

.dialogContainer {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 999;
}
.dialogContainer.active,
.dialogContainer.loading {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.3);
}
.dialogContainer > img {
	display: none;
	position: absolute;
	top: calc(50% - 45px);
	left: calc(50% - 45px);
}
.dialogContainer.loading > .dialogBox,
.dialogContainer.loading2 > .dialogBox {
	display: none;
}
.dialogContainer.loading2 > img {
	display: inline-block;
}
.dialogContainer .dialogBox {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	padding: 25px;
	background-color: white;
	border-radius: 4px;
	z-index: 999;
	box-shadow: 0px 0px 25px rgba(0,0,0,0.2);
}
.dialogContainer .dialogBox.large {
	width: 75%;
	height: 75%;
}
.dialogContainer .dialogBox.small {
	width: 55%;
	height: 55%;
}
.dialogContainer .dialogBox .dialogTitle {
	margin: 0px;
}
.dialogContainer .dialogBox .dialogText {
	flex-grow: 1;
	overflow: auto;
	margin-top: 15px;
}
.dialogContainer .dialogBox .dialogText.monospace {
	white-space: pre-wrap;
	border-left: 2px solid rgb(200,200,200);
	padding: 10px;
}
.dialogContainer .dialogBox > button.dialogClose {
	position: absolute;
	top: -16px; right: -16px;
	border-radius: 999px;
}
.dialogStretch {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-x: hidden;
}
.dialogStretch > * {
	flex-grow: 1;
	flex-basis: 100px;
}
.dialogStretch .fillHeight {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.dialogStretch .fillHeight > * {
	flex-grow: 0;
}
.dialogStretch .fillHeight > .listItems {
	flex-grow: 1;
}
.dialogStretch > .controls {
	flex-grow: 0;
	flex-basis: 10px;
}
.first {
	margin-top: 0px;
}

#message-container {
	position: fixed;
	top: 62px;
	right: 0px;
	width: 22%;
	min-width: 200px;
	padding: 5px;
	z-index: 999;
}
#message-container .message {
	position: relative;
	background-color: white;
	color: gray;
	padding: 15px;
	padding-right: 30px;
	margin-bottom: 10px;
	border-radius: 3px;
	box-shadow: 0px 0px 6px rgba(0,0,0,0.35);
	overflow: hidden;
	animation: message-in 0.4s ease 0s forwards;
}
#message-container .message.icon {
	padding-left: 44px;
	background-size: 24px;
	background-position: 10px center;
	background-repeat: no-repeat;
}
#message-container .message .message-content {
	max-height: 340px;
	word-wrap: break-word;
	overflow-y: auto;
}
#message-container .message.info {
	border-left: 6px solid #0f6082;
	background-image: url('../img/info.message.svg');
}
#message-container .message.success {
	border-left: 6px solid #87CA81;
	background-image: url('../img/success.message.svg');
}
#message-container .message.warning {
	border-left: 6px solid #FFC122;
	background-image: url('../img/warning.message.svg');
}
#message-container .message.error {
	border-left: 6px solid #EC5870;
	background-image: url('../img/error.message.svg');
}
#message-container .message .message-title {
	font-weight: bold;
	color: black;
}
#message-container .message .message-close {
	position: absolute;
	width: 20px;
	height: 20px;
	top: calc(50% - 10px);
	right: 6px;
	padding: 0px;
	border: none;
	background-image: url('../img/close.opacity.svg');
	background-size: 20px 20px;
	background-position: center center;
	background-color: transparent;
	box-shadow: none;
	color: transparent;
}
@keyframes message-in {
	0%   { opacity:0; max-height:0; transform:translateY(-50%); }
	100% { opacity:1; max-height:350px; transform:translateY(0); }
}

.quote {
	border-left: 2px solid rgb(200,200,200);
	padding: 10px;
}

.hidden {
	display: none !important;
}
.invisible {
	opacity: 0 !important;
	pointer-events: none;
}

.gallery {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.gallery.gap {
	gap: 30px;
	flex-wrap: wrap;
}
.gallery > *:not(img) {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0px;
}
.gallery > img {
	margin-top: 45px;
	opacity: 0.2;
}
.gallery > * > * {
	width: 100%;
}
.gallery > * > *:first-child {
	margin-top: 0px;
}
.gallery h2,
.gallery h3 {
	display: flex;
	align-items: center;
}
.gallery h2 img,
.gallery h3 img {
	width: 18px;
	margin: 0px 5px 0px 0px;
}
.gallery > .item {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 200px;
	padding: 10px;
	background-color: white;
	transition: 0.2s ease;
	text-decoration: none !important;
	text-align: center !important;
}
.gallery > .item > h3 {
	display: block;
	font-weight: bold;
	margin-bottom: 0px;
}
.gallery > .item:hover {
	transform: scale(1.05);
}
.gallery > .item.blue {
	border: 3px solid #0079B8;
	border-radius: 5px;
}
.gallery > .item.orange {
	border: 3px solid #ffa725;
	border-radius: 5px;
}
.gallery > .item.red {
	border: 3px solid #5f2020;
	border-radius: 5px;
}

.controls {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	margin: 16px 0px;
	gap: 4px;
}
.controls > .controls {
	margin: 0px;
}
.controls.spread {
	justify-content: space-between;
	align-items: center;
}
.controls h1, .controls h2, .controls h3 {
	margin: 0px !important;
	align-self: center;
}
.controls:last-child {
	margin-bottom: 0px;
}
.spread {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: space-between;
}
.controls.right, tfoot .controls {
	justify-content: right;
}
tfoot .controls {
	flex-wrap: wrap;
	margin: 0px;
}
.controls > *:not(.controls):not(span) {
	display: inline-block;
}
.controls > * {
	vertical-align: middle;
}
.controls > span,
.controls label {
	display: flex;
	align-items: center;
}
.controls select {
	max-width: 200px;
}
.controls button img {
	height: 24px;
}
.controls.subfolders {
	flex-wrap: wrap;
}
.controls.subfolders a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.controls.sticky {
	position: sticky;
	top: -20px;
	z-index: 1;
}
.fillwidth {
	flex-grow: 1;
}

.block {
	display: block;
}
.inlineblock {
	display: inline-block;
}

h1 img {
	margin-right: 15px;
	margin-bottom: 5px;
	vertical-align: middle;
	width: 35px;
}
h2 img {
	margin-right: 10px;
	margin-bottom: 4px;
	vertical-align: middle;
	width: 22px;
}

table {
	border-spacing: 0px;
}
table th, table td {
	text-align: left;
	padding: 4px;
}
table.aligned tr > *:first-child {
	padding-left: 0px;
}
table.aligned tr > *:last-child {
	padding-right: 0px;
}
table.list, .boxshadow {
	box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.08);
}

/*** INPUTS & BUTTONS ***/
hr {
	border: 1px solid #DBDBDB;
}
.box {
	box-sizing: border-box;
	background-color: white;
	padding: 10px;
	border: 2px solid #DBDBDB;
	border-radius: 3px;
}
.box > *:first-child {
	margin-top: 0px;
}
.box > *:last-child {
	margin-bottom: 0px;
}
.box .subitems {
	margin-left: 8px;
}
.infohover {
	position: relative;
}
.infohover::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	background-image: url('../img/info.dyn.svg');
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	transition: opacity 0.2s;
}
.infohover:hover::after {
	opacity: 0.8;
}
.infohover .hint {
	filter: grayscale();
	opacity: 0.5;
	font-size: 85%;
}
input, select, button, textarea {
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	border: 2px solid #DBDBDB;
	border-radius: 3px;
	padding: 5px;
	outline: none;
}
input, select, textarea, button {
	background-color: white;
}
input:focus, select:focus, textarea:focus {
	border-color: #C4C4C4;
}
input:disabled, select:disabled, textarea:disabled, .disabled,
input:not([type=file]):read-only, textarea:read-only {
	background-color: rgb(240, 240, 240);
	background-image: repeating-linear-gradient(45deg, rgb(255,255,255), rgb(255,255,255) 10px, rgb(240, 240, 240) 10px, rgb(240, 240, 240) 20px);
}
input.tableSearch {
	width: 100%;
	min-width: 80px;
	padding: 0px;
	border: none !important;
	box-shadow: none !important;
	background-color: transparent !important;
}
input.tableSearch:not(:placeholder-shown) {
	background-color: rgba(255,250,0,0.2) !important;
}
table.form input:not([type=checkbox]):not([type=radio]),
table.form select,
table.form textarea {
	width: 100%;
}
table.form textarea {
	resize: vertical;
	height: 70px;
}
table.form th:not(:first-child) {
	padding-left: 25px;
}
table.form tr:not(.nospace) th, table.form tr:not(.nospace) td {
	padding-bottom: 10px;
}
table.form th.top, table.form td.top {
	vertical-align: top;
}
.dualInput {
	display: flex;
}

/* default button */
button {
	cursor: pointer;
	color: #4C4C4C;
	background-color: #E4E4E4;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 6px 7px;
	border-color: rgba(0,0,0,0.1);
}
button:focus-visible {
	outline: 2px auto #212121;
}
button.small,
tfoot button {
	padding: 3px 4px;
}
button.small img,
tfoot button img {
	height: 16px !important;
}
button:hover,
button:focus {
	background-color: #EDEDED;
}
button:active:not(:disabled) {
	box-shadow: 0px 0px 10px rgba(0,0,0,0.4) inset;
}
button:disabled {
	color: #C0C0C0 !important;
	cursor: not-allowed !important;
	background-color: #EDEDED !important;
}
button:disabled > img {
	opacity: 0.2;
}
button > img {
	vertical-align: middle;
	margin-bottom: 1px;
	pointer-events: none;
}
button > select {
	padding: 1px;
}
/* primary button */
button.primary {
	color: white;
	font-weight: bold;
	background-color: #007CBB;
}
button.primary:hover,
button.primary:focus {
	background-color: #004a70;
}

.drag {
	text-align: center;
	cursor: move;
}
.draggable.nodrag .drag {
	cursor: not-allowed;
}
.drag img {
	pointer-events: none;
}
.draggable.nodrag .drag img {
	opacity: 0.4;
}
label[draggable=true] {
	cursor: move !important;
}
img.dragicon {
	position: absolute;
	right: 0px;
	pointer-events: none;
}

.inputWithLabel {
	display: flex;
	align-items: center;
	vertical-align: middle;
}
.inputWithLabel > *:not(:last-child) {
	margin-right: 5px;
	width: auto !important;
	flex-grow: 1;
}
.inputWithLabel > div {
	text-align: right;
	min-width: 25px;
}
.stretchInput {
	display: flex;
	align-items: center;
	vertical-align: middle;
}
.stretchInput > * {
	width: auto !important;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 1;
}
.stretchInput > *:not(:last-child) {
	margin-right: 5px;
}

#homepage {
	text-align: center;
}
#homepage .title {
	font-size: 20px;
}
#homepage .subtitle {
	font-size: 92%;
	opacity: 0.6;
}
#homepage .subtitle2 {
	font-weight: bold;
}
.stats > div {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
}
.stats > div > * {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 50px;
	max-width: 100%;
}
.stats > div > *:not(.motd) {
	white-space: nowrap;
}
@media (max-width: 850px) {
	.stats > div.bars {
		flex-direction: column;
		gap: 5px;
	}
	.stats > div.bars > div.version {
		order: -1;
	}
}

table.list {
	border-spacing: 0;
	background-color: white;
}
table.list td > table {
	margin-left: 25px;
	width: calc(100% - 25px);
}
table.list tr:not(.nobottom) > th, table.list tr:not(.nobottom) > td {
	border-bottom: 1px solid rgba(0,0,0,0.2);
}
table.list tr .middle > *, table.list tr .middle > * {
	vertical-align: middle;
}
table.list tr:first-child th,
table.list tr:first-child td {
	border-top: 1px solid rgba(0,0,0,0.2);
}
table.list tr th:first-child,
table.list tr td:first-child {
	border-left: 1px solid rgba(0,0,0,0.2);
}
table.list tr th:last-child,
table.list tr td:last-child {
	border-right: 1px solid rgba(0,0,0,0.2);
}
table.list tr:first-child th:first-child,
table.list tr:first-child td:first-child {
	border-top-left-radius: 2px;
}
table.list tr:first-child th:last-child,
table.list tr:first-child td:last-child {
	border-top-right-radius: 2px;
}
table.list tr:last-child th:first-child,
table.list tr:last-child td:first-child {
	border-bottom-left-radius: 2px;
}
table.list tr:last-child th:last-child,
table.list tr:last-child td:last-child {
	border-bottom-right-radius: 2px;
}
table.list.actioncolumn thead tr th:last-child,
table.list.actioncolumn tbody tr td:last-child {
	text-align: right;
	white-space: nowrap;
}
table.list.policies tr td {
	padding-top: 10px;
	padding-bottom: 10px;
	vertical-align: top;
	table-layout: fixed;
}
table.list.policies tr td:nth-child(1),
table.list.policies tr td:nth-child(2) {
	width: 40%;
}
table.list.policies tr td:nth-child(2) {
	text-align: center;
	width: 1%;
}
table.metadata tr th:first-child {
	width: 40%;
}

table.list .sortbutton {
	width: 100%;
	height: 100%;
	border: none;
	background-color: transparent;
	font: inherit;
	color: inherit;
	text-align: inherit;
	padding: 0;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
}
table.list .sortsymbol::after {
	display: inline-block;
	letter-spacing: -.2em;
	margin-left:.1em;
	width: 1.8em;
}
table.list .sortsymbol.sortedasc::after {
	display: inline;
	content: "▲▽";
}
table.list .sortsymbol.sorteddesc::after {
	display: inline;
	content: "△▼";
}
table.list .sortsymbol.unsorted::after {
	display: inline;
	content: "△▽";
}
table.list tfoot .spread {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
table.list tfoot .spread > div:last-child {
	text-align: right;
}

.servicecount {
	border-radius: 99px;
	padding: 2px 6px;
	font-family: monospace;
	font-size: 85%;
	font-weight: bold;
}
table.list .servicestatus,
table.list .eventlevel {
	font-weight: bold;
}
table.list .servicestatus.ok,
.servicecount.ok {
	background-color: #13D389;
	color: rgba(25,25,25);
}
table.list .servicestatus.warn,
table.list .eventlevel.warning,
.servicecount.warn {
	background-color: #FFD000;
	color: rgba(25,25,25);
}
table.list .servicestatus.crit,
table.list .eventlevel.critical,
table.list .eventlevel.error,
.servicecount.crit {
	background-color: #E85555;
	color: white;
}
table.list .servicestatus.unknown {
	background-color: #FCB97B;
	color: rgba(25,25,25);
}
table.list .eventlevel.info,
table.list .eventlevel.verbose {
	background-color: #A8D1DF;
	color: rgba(25,25,25);
}

table.list ul {
	margin: 0;
	padding-left: 14px;
}
ul li.subbuttons {
	position: relative;
	padding-left: 2px;
}
ul li.subbuttons > button {
	position: absolute;
	top: 4px;
	left: -18px;
}
ul li.subbuttons:hover {
	list-style-type: none;
}

img.small,
.stats img,
table tr th img,
table tr td img {
	height: 16px;
	vertical-align: middle;
	margin-bottom: 2px;
}
table tr td button > img {
	height: 24px;
}

table.fixed {
	table-layout: fixed;
}

.subbuttons {
	white-space: nowrap;
}
.subbuttons.wrap {
	white-space: normal;
}
.subbuttons > button {
	opacity: 0;
	transition: opacity 0.2s ease;
	vertical-align: middle;
	margin: -2px 0px 0px 0px;
	padding: 0px;
	border: none;
	background: transparent;
	background-color: transparent !important;
	box-shadow: none !important;
}
.subbuttons .subbutton {
	opacity: 0;
	display: none;
}
a.subbuttons > button {
	margin-left: 4px;
}
.subbuttons > button:first-child {
	margin-left: 0px;
}
.subbuttons > button > img {
	display: block;
	margin: 0px;
}
.subbuttons:hover > button,
.subbuttons:hover .subbutton,
.subbuttons:focus > button,
.subbuttons:focus .subbutton {
	opacity: 0.85;
}
.subbuttons:hover > button:hover,
.subbuttons:hover .subbutton:hover,
.subbuttons > button:focus,
.subbuttons .subbutton:focus {
	opacity: 1;
}
.subbuttons:hover .subbutton {
	display: block;
}

.flyout-container {
	position: relative;
}
.flyout-container > .flyout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 150%;
	min-width: 250px;
	padding: 2px 4px;
	opacity: 0;
	transform: translateX(-10px);
	pointer-events: none;
	transition: all 0.2s ease;
	overflow: auto;
}
.flyout-container:hover > .flyout,
.flyout-container:focus > .flyout {
	opacity: 1;
	transform: translateX(0);
	pointer-events: all;
}

.tabbuttons {
	display: flex;
	align-items: bottom;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 16px;
}
.actionmenu {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-top: 16px;
}
.tabbuttons a,
.actionmenu a {
	flex-shrink: 1;
	flex-grow: 0;
	display: inline-block;
	padding: 8px 0px;
	text-transform: uppercase;
	border-bottom: 4px solid transparent;
	text-decoration: none;
	color: inherit;
	letter-spacing: 0.2px;
	font-size: 16px;
}
.tabcontents > * {
	display: none;
}
.tabcontents > *.active {
	display: block;
}
.actionmenu a:hover,
.actionmenu a:focus,
.actionmenu a:active,
.tabbuttons a.active {
	border-color: #0079B8;
	color: #0079B8;
}

.checkboxWithText {
	display: flex;
	align-items: flex-start;
	gap: 5px;
}

.small {
	font-size: 90%;
}
.monospace {
	font-family: 'SourceCodePro', monospace;
}
.rawvalue {
	display: none;
}

code {
	display: inline-block;
	background-color: rgba(150,150,150,0.2);
	border-radius: 2px;
	padding: 1px 4px;
	margin: 1px 0px;
}
code.block {
	margin: auto;
	padding: 6px;
	display: block;
	line-height: 1.3;
	border: 1px solid rgba(0, 0, 0, 0.1);
	white-space: pre-wrap;
}
code.block.hscroll {
	white-space: pre;
	overflow-x: auto;
}

div.details-abreast {
	display: flex;
	align-items: flex-start;
	column-gap: 25px;
}
div.details-abreast > div h1,
div.details-abreast > div h2,
div.details-abreast > div h3,
div.details-abreast > div .controls.heading {
	margin-top: 20px;
	margin-bottom: 12px;
	min-height: 41px; /*for alignment with .controls.heading*/
}
div.details-abreast > div h1,
div.details-abreast > div h2,
div.details-abreast > div h3 {
	display: flex !important;
	align-items: center;
}
div.details-abreast > div {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 100%;
	width: 0px;
	overflow: auto;
	/* to preserve table box shadow */
	padding: 4px;
	margin: -4px;
}
div.details-abreast > div > table {
	width: 100%;
}
div.details-abreast > div.stickytable {
	overflow: visible;
}
div.stickytable > table.list thead,
div.stickytable > table.list tfoot {
	position: sticky;
	background-color: white;
	z-index: 2;
}
div.stickytable > table.list thead {
	inset-block-start: -20px;
}
div.stickytable > table.list tfoot {
	inset-block-end: -20px;
}

.offline:not(tr),
table:not(.actioncolumn) tr.offline > td,
table.actioncolumn tr.offline > td:not(:last-child) {
	opacity: 0.4;
}
.fullwidth {
	width: 100%;
}
.margintop {
	margin-top: 16px !important;
}
.marginbottom {
	margin-bottom: 16px !important;
}
.nomargin {
	margin: 0px !important;
}
.center {
	text-align: center;
}

.progressbar-container {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	max-width: 100%;
	height: 17px;
	position: relative;
}
.progressbar-container.big {
	height: 40px;
	width: 180px;
}
.progressbar-container.stretch {
	display: flex;
}
.progressbar-container > .progresstext {
	display: inline-block;
	text-align: center;
	position: absolute;
	left: 0;
	right: 0;
	background: linear-gradient(to right, white var(--progress,0%), black 0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: bold;
}
.progressbar {
	flex-grow: 1;
	vertical-align: middle;
	display: inline-block;
	height: 100%;
	max-width: 100%;
	width: 100px;
	background-color: #EEEEEE;
	border-radius: 2px;
	overflow: hidden;
	text-align: left;
}
.progressbar > .progress {
	display: inline-block;
	height: 100%;
	width: var(--progress,0%);
	background-color: #0079B8;
	border-radius: 2px;
}
.progressbar-container.animated {
	--progress: 100% !important;
}
.progressbar-container.animated > .progressbar > .progress {
	width: 100%;
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.25) 75%, transparent 75%, transparent);
	background-size: 1rem 1rem;
	animation: progressbar-stripes 1s linear infinite;
}
@keyframes progressbar-stripes {
	from { background-position: 1rem 0; }
	to { background-position: 0 0; }
}

.footer {
	position: absolute;
	bottom: 2px; left: 2px; right: 2px;
	font-size: 95%;
	opacity: 0.5;
}
.footer a {
	color: inherit;
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}

#btnHidden {
	position: fixed;
	bottom: 0px;
	right: 0px;
	height: 12px;
	width: 12px;
	opacity: 0;
	border: none;
	background-color: transparent;
}
#btnHidden:hover {
	opacity: 1;
	animation: anim 3s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}
@keyframes anim {
	000% {background-color: red;}
	010% {background-color: green;}
	020% {background-color: blue;}
	030% {background-color: yellow;}
	040% {background-color: orange;}
	050% {background-color: purple;}
	060% {background-color: brown;}
	070% {background-color: pink;}
	080% {background-color: lime;}
	090% {background-color: cyan;}
	100% {background-color: teal;}
}

.resizeVertical {
	resize: vertical;
}
.bold {
	font-weight: bold;
}
.normal {
	font-weight: normal;
}
.hint {
	opacity: 0.6;
}
.checkboxWithText .hint {
	max-width: 650px;
}
.mask > .maskValue {
	display: inline-block;
	-webkit-text-security: disc;
	white-space: nowrap;
}
.mask:hover > .maskValue, .mask:focus > .maskValue {
	-webkit-text-security: none;
}

.listSearch {
	position: relative;
}
.listSearch input[type=checkbox] {
	position: absolute;
	top: 6px;
	left: 5px;
}
.listSearch input[type=search] {
	display: block;
	padding-left: 27px;
	width: 100%;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.listSearchButton {
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}
.box.listItems {
	resize: vertical;
	min-height: 100px;
	height: 155px;
	overflow-y: scroll;
	padding: 0px;

	/* for search text box above */
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-top-width: 0px;
}
.box.listItems.withContextButton {
	/* for button below */
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	border-bottom-width: 0px;
}
.box.listItems .blockListItem {
	padding-left: 7px;
	padding-right: 15px; /* for .dragicon */
}
.box.listItems .blockListItem.big {
	padding-top: 10px;
	padding-bottom: 10px;
}
.box.listItems .blockListItem > input[type=checkbox] {
	margin: 2px 5px 0px 0px;
}
.box.listItems .headline {
	display: flex;
	align-items: center;
	padding: 7px;
	gap: 5px;
}
.blockListItem > img {
	height: 16px;
	margin-top: 1px;
	margin-right: 4px;
	pointer-events: none;
}
.inputwithbutton,
.fileinputwithbutton {
	position: relative;
}
.inputwithbutton input,
.inputwithbutton textarea {
	padding-left: 25px;
}
.inputwithbutton button {
	position: absolute;
	border: none;
	background-color: transparent;
	top: 12px;
	left: 8px;
	padding: 0px;
}
.fileinputwithbutton input,
.fileinputwithbutton textarea {
	padding-right: 25px;
}
.fileinputwithbutton button {
	position: absolute;
	border: none;
	background-color: transparent;
	top: 14px;
	right: 10px;
	padding: 0px;
}
.inputwithbutton button img,
.fileinputwithbutton button img {
	height: 16px;
	display: flex;
}

ul.tree, ul.subtree {
	padding: 0;
	list-style-type: none;
}
ul.tree > li > ul.subtree,
ul.subtree > li > ul.subtree {
	padding-left: 20px;
	border-left: 1px dashed rgb(150,150,150,0.4);
}
ul.tree button.expander,
ul.subtree button.expander {
	width: 100%;
	text-align: start;
	text-transform: none;
	border: none;
	background-color: none;
}

.alert {
	border-radius: 2px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 8px !important;
	box-sizing: border-box;
}
.alert.info {
	background: #E1F4FC;
	color: black;
	border: 1px solid #0f6082;
}
.alert.success {
	background: #D4ECD2;
	color: black;
	border: 1px solid #87CA81;
}
.alert.warning {
	background: #FFEDBF;
	color: black;
	border: 1px solid #FFC122;
}
.alert.error {
	background: #FBD8DE;
	color: black;
	border: 1px solid #EC5870;
}
.alert > *:first-child {
	margin-top: 0px;
}
.alert > *:last-child {
	margin-bottom: 0px;
}

.animRotate {
	animation-name: animateRotation;
	animation-duration: 750ms;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
}
@keyframes animateRotation {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.badge {
	font-size: 70%;
	padding: 1px 6px;
	margin: 1px 4px;
	border-radius: 999px;
	background-color: #314351;
	color: white;
}

@media (max-width: 1050px) {
	#header button > span {
		display: none;
	}
	div.details-abreast {
		flex-wrap: wrap;
	}
	div.details-abreast > div {
		width: 100%;
		overflow: visible;
		padding: 0px;
		margin: 0px;
	}
	.dialogStretch .fillHeight {
		height: auto;
	}
	.controls {
		flex-wrap: wrap;
	}
}
@media (max-width: 750px) {
	#header {
		justify-content: center;
		flex-direction: column;
		height: 115px;
	}
	#header .separator.space {
		display: none;
	}
	#header > #search-container {
		width: 278px;
		margin-right: 0px;
	}
	#explorer,
	#login {
		display: block;
		height: auto;
		overflow: auto;
	}
	#explorer #explorer-tree,
	#login #login-form {
		width: 100%;
		height: 100%;
		max-width: none;
		min-width: auto;
		border: none;
	}
	#explorer:not(.nosidebar) #explorer-content {
		display: none;
	}
	#login #login-wall {
		display: none;
	}
	#message-container {
		top: 5px;
		right: 0px;
		left: 0px;
		width: auto;
		min-width: auto;
	}
}

@media (prefers-color-scheme: dark) {
	html,
	#explorer-content,
	.controls.sticky {
		background-color: #0d1117;
	}
	#explorer-tree, #login-form, .dialogContainer .dialogBox, #header #search-results {
		background-color: #161b22;
		border-color: rgba(255,255,255,0.1);
	}
	.gallery > .item {
		background-color: #161b22;
	}
	#login-bg {
		filter: grayscale(15%) contrast(85%) brightness(70%);
	}
	#login-wall #motd {
		color: rgba(255,255,255,0.75);
	}
	.filler {
		background-color: rgb(255,255,255,0.1);
	}
	.dialogContainer.active {
		background-color: rgba(0,0,0,0.45);
	}
	#message-container .message {
		background-color: black;
	}
	#message-container .message .message-title {
		color: white;
	}
	#explorer-tree a:focus,
	#explorer-tree a:hover,
	#explorer-tree a:active,
	#header #search-results a:focus,
	#header #search-results a:hover,
	#header #search-results a:active,
	.blockListItem:focus, .blockListItem:focus-within,
	.blockListItem:hover,
	.blockListItem:active {
		background-color: #30363d;
	}
	#header input:focus {
		color: white;
		background-color: #141414;
	}
	#header input:focus::placeholder {
		color: gray;
	}
	#header #search-glass.focus {
		background-color: white;
	}
	body, a, #header #search-results,
	#explorer-content .details-abreast h1,
	#explorer-content .details-abreast h2,
	#explorer-content .details-abreast h3,
	#explorer-content .gallery h1,
	#explorer-content .gallery h2,
	#explorer-content .gallery h3 {
		color: rgb(233,236,239);
	}
	.infohover::after {
		background-color: black;
	}
	code {
		background-color: rgba(22, 27, 34, 0.6);
	}
	code.block {
		border-color: rgba(255,255,255,0.1);
	}
	table.list, .box,
	div.stickytable > table.list thead,
	div.stickytable > table.list tfoot {
		background-color: #161b22;
	}
	table.list tr:not(.nobottom) > th, table.list tr:not(.nobottom) > td {
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	table.list tr:first-child th,
	table.list tr:first-child td {
		border-top: 1px solid rgba(255,255,255,0.1);
	}
	table.list tr th:first-child,
	table.list tr td:first-child {
		border-left: 1px solid rgba(255,255,255,0.1);
	}
	table.list tr th:last-child,
	table.list tr td:last-child {
		border-right: 1px solid rgba(255,255,255,0.1);
	}
	hr {
		border: 1px solid rgba(255,255,255,0.1);
	}
	.box {
		border: 2px solid rgba(255,255,255,0.1);
	}
	button,
	input:not([type=range]):not([type=radio]):not([type=checkbox]), select, textarea {
		color: white;
		background-color: #21262d;
		border-color: rgba(255,255,255,0.1);
		box-shadow: none;
	}
	input:disabled, select:disabled, textarea:disabled, .disabled,
	input:not([type=file]):read-only, textarea:read-only {
		background-color: rgb(240, 240, 240, 0.1);
		background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgb(240, 240, 240, 0.1) 10px, rgb(240, 240, 240, 0.1) 20px);
	}
	button:hover, button:focus,
	input:not([type=range]):not([type=radio]):not([type=checkbox]):focus,
	textarea:focus, select:focus {
		background-color: #30363d;
		box-shadow: none;
	}
	input:not([type=range]):not([type=radio]):not([type=checkbox]):focus,
	textarea:focus, select:focus {
		border-color: rgba(255,255,255,0.2);
	}
	button.primary {
		background-color: #006193;
	}
	button.primary:hover,
	button.primary:focus {
		background-color: #004a70;
	}
	button:disabled {
		color: #484f58 !important;
		background-color: #21262d !important;
	}
	.progressbar-container > .progresstext {
		background: linear-gradient(to right, black var(--progress,0%), white 0);
		-webkit-background-clip: text;
		background-clip: text;
	}
	.progressbar {
		background-color: #324650;
	}
	.progressbar > .progress {
		background-color: #49AFD9;
	}
	.alert.info {
		background: #0D516E;
		color: rgb(233,236,239);
		border: 1px solid rgba(255,255,255,0.2);
	}
	.alert.success {
		background: #377531;
		color: #fff;
		border: 1px solid rgba(255,255,255,0.2);
	}
	.alert.warning {
		background: #A37500;
		color: rgb(233,236,239);
		border: 1px solid rgba(255,255,255,0.2);
	}
	.alert.error {
		background: #AC142C;
		color: rgb(233,236,239);
		border: 1px solid rgba(255,255,255,0.2);
	}
	table.list .servicestatus.ok,
	.servicecount.ok {
		background-color: #4cb67f;
	}
	table.list .servicestatus.warn,
	table.list .eventlevel.warning,
	.servicecount.warn {
		background-color: #ffff26;
	}
	table.list .servicestatus.crit,
	table.list .eventlevel.critical,
	table.list .eventlevel.error,
	.servicecount.crit {
		background-color: #ff2f27;
		color: white;
	}
	table.list .servicestatus.unknown {
		background-color: #ffb400;
	}
	table.list .eventlevel.info,
	table.list .eventlevel.verbose {
		background-color: #0D516E;
		color: white;
	}
}

@media print {
	#explorer > #explorer-tree, .controls {
		display: none;
	}
	#explorer {
		height: auto;
	}
	#explorer > #explorer-content {
		flex-basis: 100%;
		overflow: auto;
	}
	table.list .sortsymbol::after {
		content: '' !important;
	}
	.noprint {
		display: none !important;
	}
}

/* ========================================================================
   OCO Apple MDM Pro UI 2.1.0
   Presentation-only skin. Backend/API/permissions remain unchanged.
   ======================================================================== */
:root {
  --pro-sidebar:#111827; --pro-sidebar-2:#0b1220; --pro-blue:#2563eb;
  --pro-blue-2:#1d4ed8; --pro-bg:#f5f7fb; --pro-card:#fff;
  --pro-border:#e5e7eb; --pro-text:#111827; --pro-muted:#6b7280;
  --pro-green:#16a34a; --pro-amber:#d97706; --pro-red:#dc2626;
  --pro-shadow:0 1px 2px rgba(15,23,42,.05),0 8px 24px rgba(15,23,42,.06);
}
html,#explorer-content,.controls.sticky { background:var(--pro-bg); }
body { color:var(--pro-text); font-size:13px; }
#header {
  height:64px; background:#fff; color:var(--pro-text); border-bottom:1px solid var(--pro-border);
  padding:0 18px; box-shadow:0 1px 2px rgba(15,23,42,.04); z-index:20;
}
#header .left { display:flex; align-items:center; min-width:300px; }
#header .brand-title { display:flex; align-items:center; gap:10px; font-weight:700; color:var(--pro-text); }
.brand-mark { width:40px; height:40px; border-radius:12px; display:inline-grid; place-items:center; color:#fff;
  background:linear-gradient(135deg,#2563eb,#1e40af); font-size:14px; letter-spacing:.5px; box-shadow:0 6px 18px rgba(37,99,235,.28); }
.brand-copy { display:flex; flex-direction:column; line-height:1.05; font-size:15px; }
.brand-copy small { margin-top:4px; font-size:9px; font-weight:600; color:#94a3b8; letter-spacing:.05em; text-transform:uppercase; }
#header span.separator { background:#cbd5e1; }
#header button { color:#64748b; border-radius:9px; padding:8px; }
#header button:hover { background:#f1f5f9; }
#header button img { filter:none; }
#header #search-container { max-width:620px; margin:0 auto; }
#header input { background:#f8fafc; color:#334155; border:1px solid #e2e8f0; border-radius:10px; padding:10px 12px 10px 36px; }
#header input:focus { background:#fff; border-color:#93c5fd; box-shadow:0 0 0 3px rgba(37,99,235,.10); }
#header input::placeholder { color:#94a3b8; }
#header #search-glass { background-color:#94a3b8; top:9px; left:7px; }
#header #btnLogout { display:flex; align-items:center; gap:8px; font-weight:600; color:#334155; }
#explorer { height:calc(100% - 64px); }
#explorer-tree {
  flex:0 0 244px; width:244px; min-width:244px; resize:none; background:linear-gradient(180deg,var(--pro-sidebar),var(--pro-sidebar-2));
  border-right:0; color:#dbe4f0; padding:14px 10px 20px; scrollbar-color:#334155 transparent;
}
#explorer-tree hr { border:0; border-top:1px solid rgba(148,163,184,.15); margin:14px 8px; }
#explorer-tree .menu-section-title { padding:12px 12px 7px; color:#64748b; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.11em; }
#explorer-tree .node { border-left:0; margin:2px 0; }
#explorer-tree .node:hover,#explorer-tree .node:hover > a { border-color:transparent; }
#explorer-tree .node > a,#explorer-tree .subnode > a { border-left:0; border-radius:9px; margin:0; padding:10px 11px; color:#dbe4f0; font-weight:600; }
#explorer-tree a:hover,#explorer-tree a:focus,#explorer-tree a:active { background:rgba(59,130,246,.13); color:#fff; }
#explorer-tree a.active,#explorer-tree .active > a { background:linear-gradient(90deg,#2563eb,#1d4ed8); color:#fff; box-shadow:0 7px 18px rgba(37,99,235,.22); }
#explorer-tree a img { width:18px; height:18px; margin-right:9px; filter:brightness(0) invert(1); opacity:.86; }
#explorer-tree .subitems { border-left:1px solid rgba(148,163,184,.16); margin:4px 0 5px 19px !important; padding-left:7px; }
#explorer-tree .subitems a { font-size:12px; padding:8px 10px; color:#9fb0c5; }
#explorer-content { padding:24px 28px 36px; overflow:auto; }
#explorer-content > h1,#explorer-content > .details-header:first-child { margin-top:0; }
h1 { font-size:23px; font-weight:700; letter-spacing:-.02em; color:#0f172a; }
h1 > img { width:24px!important; height:24px!important; padding:8px; border-radius:10px; background:#eff6ff; }
h2 { font-size:17px; font-weight:700; color:#172033; }
.controls { gap:7px; }
.controls:not(.subfolders) { background:#fff; border:1px solid var(--pro-border); border-radius:12px; padding:10px; box-shadow:0 1px 2px rgba(15,23,42,.03); }
.controls.subfolders { background:transparent; }
button,.button { border:1px solid #dbe2ea; background:#fff; color:#334155; border-radius:8px; font-weight:650; padding:8px 11px; box-shadow:none; }
button:hover,button:focus { background:#f8fafc; border-color:#bfdbfe; color:#1d4ed8; }
button.primary,.controls > button:first-child:not(:disabled) { background:var(--pro-blue); color:#fff; border-color:var(--pro-blue); }
button.primary:hover,.controls > button:first-child:not(:disabled):hover { background:var(--pro-blue-2); border-color:var(--pro-blue-2); }
button img { width:15px; height:15px; }
input,select,textarea { border:1px solid #dbe2ea; border-radius:8px; background:#fff; padding:8px 10px; }
input:focus,select:focus,textarea:focus { border-color:#60a5fa; box-shadow:0 0 0 3px rgba(37,99,235,.10); outline:0; }
.box,table.list,.boxshadow,.dialogBox { background:var(--pro-card); border:1px solid var(--pro-border); border-radius:12px; box-shadow:var(--pro-shadow); }
.stickytable { border-radius:12px; box-shadow:var(--pro-shadow); }
table.list { overflow:hidden; border-collapse:separate; border-spacing:0; }
table.list thead th { background:#f8fafc; color:#64748b; font-size:11px; text-transform:uppercase; letter-spacing:.04em; font-weight:800; border-bottom:1px solid var(--pro-border); }
table.list th,table.list td { padding:11px 12px; }
table.list tbody tr { transition:background .15s ease; }
table.list tbody tr:hover { background:#f8fbff; }
table.list tbody tr td { border-bottom:1px solid #eef2f7; }
table.list tbody tr:last-child td { border-bottom:0; }
table.list a { color:#2563eb; font-weight:650; }
table.metadata { border:1px solid var(--pro-border); border-radius:12px; overflow:hidden; background:#fff; }
table.metadata th { color:#64748b; background:#f8fafc; font-weight:700; }
.tabbuttons { border-bottom:1px solid var(--pro-border); gap:4px; background:#fff; padding:0 10px; border-radius:12px 12px 0 0; }
.tabbuttons a { color:#64748b; font-weight:700; padding:12px 14px; border-bottom:2px solid transparent; }
.tabbuttons a.active { color:#2563eb; border-bottom-color:#2563eb; background:transparent; }
.tabcontents { background:#fff; border:1px solid var(--pro-border); border-top:0; border-radius:0 0 12px 12px; padding:14px; box-shadow:var(--pro-shadow); }
.badge { border-radius:999px; padding:3px 8px; font-size:11px; font-weight:800; }
.alert { border-radius:10px; border-width:1px; box-shadow:none; }
.dialogContainer { backdrop-filter:blur(3px); background:rgba(15,23,42,.32); }
.dialogBox { border-radius:16px; }
.dialogTitle { font-weight:800; }
.progressbar { border-radius:999px!important; overflow:hidden; }

/* dashboard */
#homepage.pro-dashboard { max-width:1500px; margin:0 auto; }
.pro-page-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:18px; }
.pro-page-head h1 { margin:0 0 4px; }
.pro-page-head p { margin:0; color:var(--pro-muted); }
.pro-status-pill { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; background:#ecfdf5; color:#15803d; font-weight:800; }
.pro-status-pill:before { content:''; width:8px; height:8px; background:#22c55e; border-radius:50%; box-shadow:0 0 0 4px #dcfce7; }
.pro-card-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:14px; }
.pro-stat-card { position:relative; overflow:hidden; background:#fff; border:1px solid var(--pro-border); border-radius:14px; padding:17px; box-shadow:var(--pro-shadow); }
.pro-stat-card .label { color:#64748b; font-size:12px; font-weight:700; }
.pro-stat-card .value { margin-top:8px; font-size:28px; line-height:1; font-weight:800; color:#0f172a; }
.pro-stat-card .foot { margin-top:9px; color:#94a3b8; font-size:11px; }
.pro-stat-card .icon { position:absolute; top:15px; right:15px; width:36px; height:36px; border-radius:10px; background:#eff6ff; display:grid; place-items:center; }
.pro-stat-card .icon img { width:19px; height:19px; }
.pro-panel-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:14px; margin-bottom:14px; }
.pro-panel { background:#fff; border:1px solid var(--pro-border); border-radius:14px; padding:17px; box-shadow:var(--pro-shadow); }
.pro-panel h2 { margin:0 0 14px; font-size:14px; }
.pro-bars { display:grid; gap:13px; }
.pro-bar-row { display:grid; grid-template-columns:100px 1fr 52px; align-items:center; gap:10px; color:#64748b; font-size:12px; }
.pro-bar-track { height:8px; background:#eef2f7; border-radius:999px; overflow:hidden; }
.pro-bar-fill { height:100%; background:linear-gradient(90deg,#3b82f6,#2563eb); border-radius:999px; }
.pro-quick { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.pro-quick a { text-decoration:none; color:#334155; border:1px solid #e5e7eb; border-radius:10px; padding:12px; display:flex; gap:9px; align-items:center; font-weight:700; }
.pro-quick a:hover { border-color:#bfdbfe; background:#f8fbff; color:#1d4ed8; }
.pro-quick img { width:18px; height:18px; }
.pro-system-line { display:grid; grid-template-columns:1fr auto; gap:10px; padding:8px 0; border-bottom:1px solid #eef2f7; font-size:12px; }
.pro-system-line:last-child { border-bottom:0; }
.pro-system-line span:first-child { color:#64748b; }
.pro-license-alert { margin-bottom:14px; }
@media(max-width:1100px){ .pro-card-grid{grid-template-columns:repeat(2,1fr)} .pro-panel-grid{grid-template-columns:1fr} #explorer-tree{flex-basis:220px;width:220px;min-width:220px} }
@media(max-width:760px){ #header .brand-copy{display:none} #header .left{min-width:auto} #header .right span:not(.separator){display:none} #explorer-content{padding:16px} .pro-card-grid{grid-template-columns:1fr} #explorer-tree{position:absolute;z-index:30;left:0;top:0;height:100%;width:250px} }
.pro-page-subtitle { margin:-10px 0 16px 42px; color:#64748b; font-size:12px; }
