:root {
	--bg: #f6f8fa;
	--surface: #fff;
	--ink: #172b3a;
	--muted: #657584;
	--line: #e3e9ee;
	--accent: #16796b;
	--nav: #122c36;
	--green: #157765;
	--red: #ba4a52;
	--blue: #3c78b4;
	--amber: #af7620;
	--radius: 12px;
	font-family:
		Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Microsoft YaHei", sans-serif;
	color: var(--ink);
	font-size: 14px;
	line-height: 1.6;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--bg);
}
button,
input {
	font: inherit;
}
button {
	cursor: pointer;
}
button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 3px solid #41a899;
	outline-offset: 4px;
}
button {
	transition:
		background 0.16s,
		color 0.16s;
}
a {
	color: inherit;
	text-decoration: none;
}
[hidden] {
	display: none !important;
}
.skip {
	position: fixed;
	top: -80px;
	left: 12px;
	z-index: 10;
	background: white;
	padding: 12px;
}
.skip:focus {
	top: 12px;
}
.sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	width: 220px;
	background: var(--nav);
	color: #c0ced3;
	padding: 34px 20px;
	display: flex;
	flex-direction: column;
}
.brand {
	display: flex;
	gap: 12px;
	align-items: center;
	color: #f4f9f9;
	font-size: 17px;
	font-weight: 650;
	letter-spacing: -0.3px;
}
.brand small {
	display: block;
	font-size: 10px;
	letter-spacing: 3px;
	font-weight: 400;
	color: #91a9b2;
	margin-top: 2px;
}
.brand-mark {
	height: 39px;
	width: 39px;
	border: 1px solid #5b7a80;
	border-radius: 12px;
	font-size: 31px;
	line-height: 32px;
	text-align: center;
	font-family: Georgia, serif;
	color: #f1f8f5;
}
.brand-mark span {
	color: #71c7ad;
}
.nav-label {
	font-size: 11px;
	letter-spacing: 2px;
	color: #829aa5;
	margin: 54px 16px 14px;
}
.sidebar nav {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.sidebar nav button {
	display: flex;
	align-items: center;
	gap: 14px;
	background: transparent;
	color: #aebfc7;
	border: 0;
	text-align: left;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 13px;
}
.sidebar nav button span {
	width: 18px;
	font-size: 19px;
	line-height: 1;
}
.sidebar nav button:hover {
	background: #1b3842;
	color: white;
}
.sidebar nav button[aria-current] {
	color: #e5fff3;
	background: #284a50;
	box-shadow: inset 3px 0 #80c5ac;
}
.sidebar-note {
	margin-top: auto;
	padding: 24px 12px 20px;
	font-size: 12px;
	color: #c8d9dc;
}
.sidebar-note p {
	font-size: 11px;
	line-height: 1.9;
	color: #829ca7;
	margin: 12px 0 0;
}
.small-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #82baa9;
	margin-right: 8px;
}
.sidebar-footer {
	border-top: 1px solid #2d424c;
	padding: 21px 10px 0;
	font-size: 10px;
	letter-spacing: 1px;
	color: #829ca7;
}
.workspace {
	margin-left: 220px;
}
.topbar {
	height: 76px;
	border-bottom: 1px solid var(--line);
	background: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 42px;
	font-size: 12px;
	color: var(--muted);
}
.slash {
	padding: 0 15px;
	color: #b7c2ca;
}
#breadcrumb {
	color: var(--ink);
}
.top-actions {
	display: flex;
	gap: 22px;
	align-items: center;
}
.readonly {
	color: var(--green);
	background: #eef6f2;
	border: 1px solid #d9ebe2;
	border-radius: 5px;
	padding: 2px 9px;
	font-size: 11px;
}
.subtle {
	border: 0;
	background: none;
	color: var(--muted);
	font-size: 12px;
	padding: 6px 0;
}
.subtle:hover {
	color: var(--accent);
}
main {
	max-width: 1600px;
	margin: 0 auto;
	padding: 38px 42px 0;
}
.page-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
h1 {
	font-size: 29px;
	line-height: 1.35;
	letter-spacing: -0.8px;
	margin: 0 0 10px;
	font-weight: 650;
}
.page-heading p {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}
.refresh-controls {
	display: flex;
	align-items: center;
	gap: 20px;
}
.refresh-controls label {
	display: flex;
	gap: 7px;
	align-items: center;
	font-size: 11px;
	white-space: nowrap;
	color: var(--muted);
}
input[type="checkbox"] {
	accent-color: var(--accent);
}
.button {
	border: 1px solid #d5dee4;
	background: white;
	padding: 9px 16px;
	border-radius: 7px;
	color: var(--ink);
	font-size: 12px;
	font-weight: 550;
	white-space: nowrap;
}
.button:hover:enabled {
	background: #edf4f2;
	border-color: #99b9af;
}
.button span {
	font-size: 16px;
	margin-right: 5px;
}
.button.primary {
	background: var(--accent);
	border-color: var(--accent);
	color: white;
}
.button.primary:hover {
	background: #106659;
}
.update-row {
	display: flex;
	justify-content: space-between;
	color: #7b8995;
	font-size: 10px;
	padding: 25px 0 16px;
	gap: 12px;
}
.notice {
	border: 1px solid #e8caa2;
	background: #fff8ec;
	color: #8c622c;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 18px;
	font-size: 12px;
}
.service-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	background: #eaf3ef;
	border: 1px solid #d6e6dd;
	border-radius: var(--radius);
	padding: 22px 25px;
	margin-bottom: 22px;
}
.service-band.degraded {
	background: #fff7e9;
	border-color: #eedfc6;
}
.service-lead {
	display: flex;
	align-items: center;
	gap: 15px;
}
.status-orb {
	width: 37px;
	height: 37px;
	border-radius: 50%;
	background: #d4e9dd;
	display: grid;
	place-items: center;
	color: var(--green);
	font-size: 18px;
}
.degraded .status-orb {
	background: #f7e7cb;
	color: var(--amber);
}
.service-lead strong {
	font-size: 15px;
	font-weight: 600;
	display: block;
}
.service-lead p {
	font-size: 11px;
	color: #5e7b6c;
	margin: 4px 0 0;
}
.service-meta {
	display: flex;
	gap: 28px;
	text-align: left;
	font-size: 11px;
	color: #5e756b;
}
.service-meta b {
	display: block;
	color: #284a3e;
	font-size: 12px;
	font-weight: 550;
	margin-top: 2px;
}
.metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 22px;
}
.metric {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: white;
	padding: 20px 22px;
}
.metric-label {
	font-size: 12px;
	color: var(--muted);
	display: flex;
	justify-content: space-between;
}
.metric-label .tiny {
	color: #9faeb8;
}
.metric-value {
	font-size: 32px;
	font-weight: 550;
	font-variant-numeric: tabular-nums;
	letter-spacing: -1px;
	margin: 7px 0 5px;
	line-height: 1.4;
}
.metric-note {
	font-size: 10px;
	color: #7c8995;
}
.metric-value small {
	font-size: 12px;
	letter-spacing: 0;
	color: var(--muted);
	margin-left: 6px;
}
.columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px;
	margin-bottom: 22px;
}
.panel {
	background: white;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 22px;
}
.columns .panel {
	margin-bottom: 0;
}
.panel-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	padding: 22px 24px 18px;
}
.panel h2 {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
}
.panel-head p {
	font-size: 10px;
	color: var(--muted);
	margin: 5px 0 0;
}
.panel-head .text-link {
	font-size: 11px;
	background: none;
	border: 0;
	padding: 0;
	color: var(--accent);
	white-space: nowrap;
}
.panel-body {
	padding: 0 24px 24px;
}
.state-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px 14px;
	padding: 4px 0;
}
.state-item span {
	font-size: 11px;
	color: var(--muted);
}
.state-item b {
	display: block;
	font-size: 22px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	margin-top: 4px;
}
.dot {
	display: inline-block;
	height: 6px;
	width: 6px;
	border-radius: 50%;
	margin-right: 7px;
	background: var(--muted);
}
.queued {
	--state-color: var(--amber);
}
.running {
	--state-color: var(--blue);
}
.stopping {
	--state-color: #986cad;
}
.completed {
	--state-color: var(--green);
}
.failed {
	--state-color: var(--red);
}
.cancelled {
	--state-color: #82929e;
}
.dot {
	background: var(--state-color, var(--muted));
}
.status {
	color: var(--state-color, var(--muted));
	font-size: 11px;
	white-space: nowrap;
}
.panel-foot {
	font-size: 10px;
	color: var(--muted);
	background: #fafcfd;
	border-top: 1px solid var(--line);
	padding: 12px 24px;
}
.usage-stats {
	display: flex;
	gap: 40px;
	padding: 2px 0 19px;
}
.usage-stats span {
	display: block;
	color: var(--muted);
	font-size: 11px;
}
.usage-stats strong {
	display: block;
	font-size: 27px;
	font-weight: 500;
	letter-spacing: -0.8px;
	margin-top: 6px;
	font-variant-numeric: tabular-nums;
}
.usage-note {
	font-size: 10px;
	line-height: 1.9;
	color: var(--muted);
	margin: 0;
}
.table-scroll {
	overflow: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	white-space: nowrap;
}
th {
	font-size: 10px;
	font-weight: 500;
	color: #7c8b96;
	background: #fafbfd;
	padding: 12px 24px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
td {
	font-size: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid #eef2f5;
}
tbody tr:last-child td {
	border-bottom: 0;
}
tbody tr:hover {
	background: #fcfdfd;
}
.mono {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 11px;
	color: #536a7c;
}
.secondary {
	display: block;
	font-size: 10px;
	color: var(--muted);
	margin-top: 4px;
}
.model-name {
	font-weight: 550;
	max-width: 260px;
	white-space: normal;
	overflow-wrap: anywhere;
}
.capability {
	font-size: 10px;
	border: 1px solid #dde6e9;
	background: #f6f9fa;
	color: #557080;
	border-radius: 4px;
	padding: 2px 6px;
	margin-right: 5px;
	display: inline-block;
}
.pagination {
	padding: 17px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--line);
	font-size: 11px;
	color: var(--muted);
	gap: 12px;
}
.pagination .buttons {
	display: flex;
	gap: 8px;
}
.empty {
	padding: 50px 24px;
	text-align: center;
	color: var(--muted);
	font-size: 12px;
}
.empty strong {
	display: block;
	color: var(--ink);
	font-size: 15px;
	margin-bottom: 8px;
	font-weight: 500;
}
.welcome {
	min-height: 425px;
	background: white;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px;
}
.welcome-symbol {
	margin: 0 auto 24px;
	background: #edf4f1;
	border: 1px solid #dce9e3;
	width: 64px;
	height: 64px;
	border-radius: 20px;
	display: grid;
	place-items: center;
	font-size: 30px;
	color: #4a8876;
}
.welcome h2 {
	font-weight: 550;
	font-size: 23px;
	margin: 0 0 12px;
	letter-spacing: -0.5px;
}
.welcome p {
	font-size: 12px;
	line-height: 1.9;
	color: var(--muted);
	margin: 0 0 25px;
}
.welcome .safe-note {
	font-size: 10px;
	color: #81918c;
	margin-top: 20px;
}
.footer {
	padding: 29px 0 25px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	color: #87939f;
	font-size: 9px;
	letter-spacing: 0.5px;
}
.footer-divider {
	padding: 0 10px;
	color: #ccd4db;
}
dialog {
	border: 1px solid #e2e9e6;
	border-radius: 16px;
	box-shadow: 0 20px 90px #0b293330;
	padding: 30px;
	width: min(440px, calc(100% - 32px));
	color: var(--ink);
}
dialog::backdrop {
	background: #102b3670;
	backdrop-filter: blur(3px);
}
.dialog-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.dialog-symbol {
	font-size: 30px;
	color: var(--accent);
}
.icon-button {
	background: none;
	border: 0;
	font-size: 24px;
	color: var(--muted);
	padding: 0 4px;
}
dialog h2 {
	font-size: 22px;
	letter-spacing: -0.5px;
	margin: 14px 0 8px;
	font-weight: 600;
}
dialog p {
	font-size: 12px;
	color: var(--muted);
	margin: 0 0 25px;
}
dialog label {
	display: block;
	font-size: 12px;
	margin-bottom: 8px;
}
dialog input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccd9de;
	border-radius: 7px;
	font-size: 13px;
}
dialog .button {
	width: 100%;
	padding: 12px;
}
.auth-note {
	font-size: 11px;
	color: var(--muted);
	line-height: 1.8;
	margin: 15px 0 22px;
}
.auth-foot {
	font-size: 10px !important;
	margin: 17px 0 0 !important;
	text-align: center;
}
.loading {
	height: 340px;
	display: grid;
	place-items: center;
	color: var(--muted);
	font-size: 12px;
}
.spinner {
	height: 22px;
	width: 22px;
	border: 2px solid #dce7e2;
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin: 0 auto 15px;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
details {
	font-size: 10px;
	color: var(--muted);
	white-space: normal;
	min-width: 160px;
	margin-top: 5px;
}
summary {
	cursor: pointer;
	color: var(--accent);
}
details p {
	margin: 8px 0;
}
.model-description {
	padding: 0 24px 20px;
	color: var(--muted);
	font-size: 11px;
	line-height: 1.9;
}
@media (min-width: 1500px) {
	main {
		padding-top: 45px;
	}
	.metric {
		padding: 24px;
	}
	.panel-head {
		padding-top: 26px;
	}
	.state-grid {
		gap: 26px 14px;
	}
}
@media (max-width: 1150px) {
	.sidebar {
		width: 190px;
		padding-left: 15px;
		padding-right: 15px;
	}
	.brand {
		font-size: 15px;
		gap: 8px;
	}
	.workspace {
		margin-left: 190px;
	}
	.topbar {
		padding: 0 26px;
	}
	main {
		padding: 30px 26px 0;
	}
	.refresh-controls {
		gap: 10px;
	}
	.refresh-controls label {
		font-size: 10px;
	}
	.service-meta {
		gap: 16px;
	}
	.metric {
		padding: 17px;
	}
	.columns {
		gap: 16px;
	}
	td,
	th {
		padding-left: 18px;
		padding-right: 18px;
	}
	.usage-stats {
		gap: 22px;
	}
}
@media (max-width: 900px) {
	.sidebar {
		width: 170px;
	}
	.workspace {
		margin-left: 170px;
	}
	.brand {
		font-size: 13px;
	}
	.brand small {
		font-size: 9px;
		letter-spacing: 2px;
	}
	.brand-mark {
		width: 32px;
		height: 34px;
	}
	.sidebar nav button {
		padding-left: 12px;
		gap: 9px;
	}
	.page-heading {
		align-items: flex-start;
		flex-direction: column;
	}
	.refresh-controls {
		width: 100%;
		justify-content: space-between;
	}
	.metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.columns {
		grid-template-columns: 1fr;
	}
	.service-band {
		align-items: flex-start;
		flex-direction: column;
	}
	.service-meta {
		padding-left: 52px;
		gap: 25px;
	}
	.update-row #scope {
		display: none;
	}
}
@media (max-width: 600px) {
	.sidebar {
		position: static;
		width: 100%;
		padding: 18px 18px 0;
		display: block;
	}
	.brand {
		font-size: 16px;
	}
	.brand small {
		display: none;
	}
	.brand-mark {
		width: 33px;
		height: 33px;
		font-size: 27px;
	}
	.nav-label,
	.sidebar-note,
	.sidebar-footer {
		display: none;
	}
	.sidebar nav {
		flex-direction: row;
		overflow: auto;
		margin-top: 19px;
		gap: 3px;
		padding-bottom: 12px;
	}
	.sidebar nav button {
		white-space: nowrap;
		font-size: 11px;
		padding: 9px 10px;
		gap: 5px;
	}
	.sidebar nav button span {
		display: none;
	}
	.sidebar nav button[aria-current] {
		box-shadow: none;
		background: #31535a;
	}
	.workspace {
		margin: 0;
	}
	.topbar {
		height: 53px;
		padding: 0 20px;
		font-size: 10px;
	}
	.top-actions {
		gap: 13px;
	}
	.subtle {
		font-size: 11px;
	}
	main {
		padding: 27px 18px 0;
	}
	h1 {
		font-size: 25px;
	}
	.page-heading p {
		font-size: 11px;
	}
	.refresh-controls {
		margin-top: 4px;
	}
	.update-row {
		padding-top: 18px;
		font-size: 9px;
	}
	.metrics {
		gap: 10px;
		margin-bottom: 16px;
	}
	.metric {
		padding: 16px;
	}
	.metric-value {
		font-size: 28px;
	}
	.metric-label {
		font-size: 11px;
	}
	.metric-note {
		font-size: 9px;
	}
	.service-band {
		padding: 18px;
		margin-bottom: 16px;
	}
	.service-lead strong {
		font-size: 14px;
	}
	.service-meta {
		padding-left: 0;
		gap: 20px;
		flex-wrap: wrap;
	}
	.panel-head {
		padding: 20px 18px 16px;
	}
	.panel-body {
		padding: 0 18px 20px;
	}
	.panel-head p {
		font-size: 9px;
	}
	.panel-foot {
		padding: 12px 18px;
	}
	.state-grid {
		gap: 16px;
	}
	.state-item b {
		font-size: 21px;
	}
	.panel,
	.columns {
		margin-bottom: 16px;
	}
	.footer {
		font-size: 8px;
		display: block;
		line-height: 2.3;
	}
	.footer > span {
		display: block;
	}
	.welcome {
		min-height: 380px;
		padding: 28px 16px;
	}
	.welcome h2 {
		font-size: 21px;
	}
	.welcome p {
		font-size: 11px;
	}
	.pagination {
		padding: 15px;
	}
	.model-description {
		padding: 0 18px 18px;
	}
	.readonly {
		padding: 1px 5px;
		font-size: 9px;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}
