:root {
	color-scheme: light dark;
	--background: #f5f7fa;
	--panel: #fff;
	--ink: #172736;
	--muted: #5c6e7f;
	--line: #dfe6ec;
	--accent: #176b75;
	--accent-soft: #e8f4f3;
	--red: #a83238;
	--red-soft: #fff1f0;
	--amber: #805308;
	--amber-soft: #fff6e6;
	--green: #246849;
	--green-soft: #eaf5ee;
	--blue: #365b8b;
	--blue-soft: #eef3fa;
}
@media (prefers-color-scheme: dark) {
	:root {
		--background: #121820;
		--panel: #1a222d;
		--ink: #e6edf5;
		--muted: #a9b7c6;
		--line: #334152;
		--accent: #71c6cd;
		--accent-soft: #1c393e;
		--red: #ff9c9e;
		--red-soft: #39282d;
		--amber: #e6bd6c;
		--amber-soft: #362f24;
		--green: #8ed4b1;
		--green-soft: #20382f;
		--blue: #a9c5ed;
		--blue-soft: #263347;
	}
}
* {
	box-sizing: border-box;
}
[hidden] {
	display: none !important;
}
body {
	margin: 0;
	background: var(--background);
	color: var(--ink);
	font: 14px/1.55 "Segoe UI", "Malgun Gothic", sans-serif;
}
h1, h2, h3, p {
	margin: 0;
}
h1 {
	font-size: 25px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -.5px;
	overflow-wrap: anywhere;
}
h2 {
	font-size: 15px;
	font-weight: 600;
}
button, input, select {
	font: inherit;
	color: inherit;
}
button {
	cursor: pointer;
}
button:disabled {
	cursor: wait;
	opacity: .65;
}
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}
svg {
	width: 17px;
	height: 17px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hub-header {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 65px;
	padding: 13px 24px;
	background: var(--panel);
	border-bottom: 1px solid var(--line);
}
.hub-brand, .hub-operator {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}
.hub-brand strong {
	font-size: 19px;
	letter-spacing: -.5px;
}
.hub-brand strong span {
	color: var(--accent);
	font-weight: 400;
}
.hub-mark {
	display: inline-flex;
	padding: 8px;
	border-radius: 8px;
	background: var(--accent-soft);
	color: var(--accent);
}
.hub-header-note, .hub-operator {
	font-size: 12px;
	color: var(--muted);
}
.hub-operator {
	margin-left: auto;
}
.hub-shell {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	min-height: calc(100dvh - 65px);
}
.hub-sidebar {
	padding: 22px 12px;
	background: var(--panel);
	border-right: 1px solid var(--line);
}
.hub-menu-caption {
	padding: 0 12px;
	margin-bottom: 12px;
	font-size: 12px;
	color: var(--muted);
}
.hub-sidebar nav {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hub-nav {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 10px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--muted);
	white-space: nowrap;
	text-align: left;
}
.hub-nav:hover {
	background: var(--background);
}
.hub-nav[aria-current="page"] {
	background: var(--accent-soft);
	color: var(--accent);
	font-weight: 600;
}
.hub-nav-count {
	margin-left: auto;
	padding: 0 5px;
	border-radius: 5px;
	color: var(--red);
	background: var(--red-soft);
	font-size: 11px;
}
.hub-main {
	min-width: 0;
	width: 100%;
	max-width: 1440px;
	padding: 26px;
}
.hub-page-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}
.hub-page-title > div {
	min-width: 0;
}
.hub-page-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.hub-subtitle, .hub-clock {
	color: var(--muted);
	font-size: 12px;
	overflow-wrap: anywhere;
}
.hub-subtitle {
	margin-top: 6px;
}
.hub-clock {
	text-align: right;
}
time, .hub-stat-value {
	font-variant-numeric: tabular-nums;
}
.hub-access {
	width: min(100% - 32px, 460px);
	margin: clamp(30px, 12vh, 120px) auto;
}
.hub-access .hub-info {
	padding: 24px;
}
#login {
	display: grid;
	gap: 8px;
	margin-top: 20px;
}
#login button, #retry-access {
	justify-self: start;
	margin-top: 6px;
}
#retry-access {
	margin-top: 16px;
}
.hub-notice {
	padding: 10px 24px;
	font-size: 13px;
}
.hub-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.hub-stat, .hub-info, .hub-service, .hub-resource, .hub-alert {
	border: 1px solid var(--line);
	background: var(--panel);
	border-radius: 9px;
	min-width: 0;
}
.hub-stat {
	padding: 15px 18px;
}
.hub-stat-label {
	color: var(--muted);
	font-size: 13px;
}
.hub-stat-value {
	margin-top: 3px;
	font-size: 28px;
	line-height: 1.4;
	font-weight: 600;
}
.hub-stat-value small {
	margin-left: 4px;
	font-size: 12px;
	color: var(--muted);
	font-weight: 400;
}
.hub-stat-note, .hub-text-muted, .hub-table-note {
	color: var(--muted);
	font-size: 12px;
}
.hub-stat-note {
	margin-top: 3px;
}
.hub-section-top, .hub-table-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}
.hub-table-wrap {
	max-width: 100%;
	overflow: auto;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--panel);
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
th, td {
	padding: 12px 14px;
	text-align: left;
}
th {
	background: var(--background);
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
}
td {
	border-top: 1px solid var(--line);
	vertical-align: middle;
}
tr.critical td:first-child {
	box-shadow: inset 3px 0 var(--red);
}
tr.attention td:first-child {
	box-shadow: inset 3px 0 var(--amber);
}
.hub-site-link {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-weight: 600;
	text-align: left;
	overflow-wrap: anywhere;
}
.hub-site-link:hover {
	color: var(--accent);
	text-decoration: underline;
}
.hub-site-meta {
	display: block;
	margin-top: 3px;
	color: var(--muted);
	font-size: 12px;
	overflow-wrap: anywhere;
}
.hub-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 7px;
	border-radius: 5px;
	white-space: nowrap;
	font-size: 12px;
	font-weight: 500;
}
.hub-pill::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}
.hub-good {
	color: var(--green);
	background: var(--green-soft);
}
.hub-warn {
	color: var(--amber);
	background: var(--amber-soft);
}
.hub-bad {
	color: var(--red);
	background: var(--red-soft);
}
.hub-unknown {
	color: var(--muted);
	background: var(--background);
}
.hub-planned {
	color: var(--blue);
	background: var(--blue-soft);
}
.hub-warning-text {
	color: var(--amber);
}
.hub-table-note {
	align-items: flex-start;
	margin: 10px 0 0;
}
.hub-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 11px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--panel);
	font-size: 13px;
	white-space: nowrap;
}
.hub-btn:hover, .hub-btn[aria-pressed="true"] {
	background: var(--accent-soft);
	color: var(--accent);
}
.hub-primary {
	background: var(--accent-soft);
	color: var(--accent);
	border-color: var(--accent);
}
.hub-link-btn {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--accent);
	font-size: 13px;
	text-align: left;
}
.hub-link-btn:hover {
	text-decoration: underline;
}
.hub-back, .hub-toolbar {
	margin-bottom: 16px;
}
.hub-toolbar {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 12px;
}
.hub-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: var(--muted);
	font-size: 12px;
}
.hub-toolbar .hub-field:first-child {
	flex: 1;
	min-width: min(160px, 100%);
}
input, select {
	max-width: 100%;
	min-width: 0;
	padding: 9px 10px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--panel);
}
.hub-empty {
	padding: 26px 18px;
	color: var(--muted);
	text-align: center;
}
.hub-detail-banner {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 13px;
}
.hub-detail-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--line);
}
.hub-detail-tabs button {
	padding: 8px 0 11px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: transparent;
	color: var(--muted);
	font-size: 13px;
}
.hub-detail-tabs button[aria-pressed="true"] {
	border-bottom-color: var(--accent);
	color: var(--accent);
	font-weight: 600;
}
.hub-services, .hub-resources, .hub-detail-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0 22px;
}
.hub-resources {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.hub-detail-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.hub-service, .hub-resource, .hub-info {
	padding: 15px;
}
.hub-service h3 {
	margin-bottom: 9px;
	font-size: 13px;
	font-weight: 600;
	overflow-wrap: anywhere;
}
.hub-resource-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px;
}
.hub-historical {
	margin-bottom: 20px;
}
.hub-historical .hub-resources {
	margin-bottom: 0;
}
meter {
	display: block;
	width: 100%;
	height: 10px;
	margin-top: 10px;
}
meter::-webkit-meter-bar {
	border: 0;
	border-radius: 5px;
	background: var(--background);
}
meter::-webkit-meter-optimum-value {
	background: var(--accent);
}
meter.hub-disk-warning::-webkit-meter-optimum-value {
	background: var(--amber);
}
.hub-historical meter::-webkit-meter-optimum-value {
	background: var(--muted);
}
.hub-info dl {
	display: grid;
	grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
	gap: 10px 12px;
	margin: 12px 0 0;
	font-size: 13px;
}
.hub-info dt {
	color: var(--muted);
}
.hub-info dd {
	margin: 0;
	text-align: right;
	overflow-wrap: anywhere;
}
.hub-timeline {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
}
.hub-timeline li {
	display: grid;
	grid-template-columns: minmax(90px, 180px) minmax(0, 1fr);
	gap: 8px 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}
.hub-timeline time {
	color: var(--muted);
	font-size: 12px;
}
.hub-alert-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.hub-alert {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
}
.hub-alert h2 {
	margin-top: 6px;
	overflow-wrap: anywhere;
}
.hub-alert-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.hub-nowrap {
	white-space: nowrap;
}
@media (max-width: 850px) {
	.hub-shell {
		grid-template-columns: 140px minmax(0, 1fr);
	}
	.hub-sidebar {
		padding-inline: 8px;
	}
	.hub-main {
		padding: 20px;
	}
	.hub-nav {
		padding-inline: 7px;
		gap: 6px;
	}
	th, td {
		padding-inline: 10px;
	}
	.hub-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 650px) {
	.hub-shell {
		display: block;
		min-height: 0;
	}
	.hub-header, .hub-notice {
		padding-inline: 14px;
	}
	.hub-sidebar {
		border-right: 0;
		border-bottom: 1px solid var(--line);
		padding: 8px 12px;
	}
	.hub-sidebar nav {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 4px;
	}
	.hub-menu-caption, .hub-header-note, .hub-operator > span {
		display: none;
	}
	.hub-nav {
		position: relative;
		justify-content: center;
		flex-direction: column;
		font-size: 12px;
		padding: 8px 2px;
		gap: 4px;
	}
	.hub-nav-count {
		position: absolute;
		top: 4px;
		left: calc(50% + 9px);
	}
	.hub-main {
		padding: 18px 12px;
	}
	.hub-page-title {
		margin-bottom: 16px;
	}
	h1 {
		font-size: 22px;
	}
	.hub-clock {
		text-align: left;
	}
	.hub-stats {
		gap: 7px;
	}
	.hub-stat {
		padding: 10px;
	}
	.hub-stat-value {
		font-size: 24px;
	}
	.hub-detail-grid, .hub-resources, .hub-alert {
		grid-template-columns: 1fr;
	}
	.hub-alert .hub-btn {
		justify-self: start;
	}
	.hub-table-wrap table {
		min-width: 565px;
	}
}
@media (max-width: 400px) {
	.hub-stats {
		grid-template-columns: 1fr;
	}
	.hub-stat {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0 12px;
	}
	.hub-stat-value {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: center;
		margin: 0;
	}
}
@media (pointer: coarse) {
	button {
		min-height: 44px;
	}
	input, select {
		font-size: 16px;
	}
}
