body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.main-container {
	max-width: 960px;
	margin: 24px auto;
	padding: 24px;
	background: #dde0f0;
	border-radius: 8px;
	flex: 1 1 auto;
}

.welcome {
	background-color: #1c3d72;
	color: #fff;
	font-size: 22px;
	padding: 14px 18px;
	border-radius: 8px;
	margin-bottom: 14px;
}

.explorer-hint {
	padding: 10px 14px;
	background-color: #e6e6f2;
	border-radius: 8px;
	font-size: 14px;
	color: #444;
	margin-bottom: 12px;
	line-height: 1.45;
}

.explorer-status {
	min-height: 1.35em;
	font-size: 13px;
	color: #a02424;
	margin-bottom: 10px;
}

.explorer-tree-wrap {
	font-family: ui-monospace, Consolas, monospace;
	font-size: 13px;
	background: #1e1e2e;
	color: #e0e0f0;
	padding: 14px 12px;
	border-radius: 8px;
	overflow-x: auto;
}

.tree-root {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tree-children {
	list-style: none;
	padding-left: 1.25rem;
	margin: 0;
	border-left: 1px dashed rgba(224, 224, 240, 0.25);
	margin-left: 4px;
}

.tree-node .tree-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 2px 0;
	line-height: 1.4;
	word-break: break-all;
}

.tree-caret {
	flex: 0 0 auto;
	width: 1.75rem;
	min-height: 1.5rem;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: #9be7ff;
	font-size: 12px;
	line-height: 1.5;
	cursor: pointer;
	border-radius: 3px;
}

.tree-caret:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.06);
}

.tree-caret:disabled {
	opacity: 0;
	visibility: hidden;
	cursor: default;
	padding: 0;
	width: 0;
	overflow: hidden;
}

.tree-node.is-expanded > .tree-row .tree-caret {
	color: #c8ecff;
}

.tree-label {
	color: #a6e39a;
	flex: 0 1 auto;
}

.tree-node[data-leaf="true"] .tree-label {
	color: #e0cb9a;
}

.tree-value {
	color: #b8b8d8;
	flex: 1 1 auto;
	overflow-wrap: anywhere;
}

.tree-node:not(.is-expanded) > .tree-children {
	display: none;
}

.tree-node.is-expanded > .tree-children {
	display: block;
}

.tree-path-footnote {
	font-size: 11px;
	color: #666;
	margin-top: 10px;
}
