.graph-view-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	background: #1a1a2e;
}

.graph-view-toolbar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #16213e;
	border-bottom: 1px solid #333;
}

.graph-view-select {
	background: #1a1a2e;
	color: #ccc;
	border: 1px solid #444;
	padding: 4px 8px;
	font-family: monospace;
	font-size: 12px;
}

.graph-view-refresh {
	background: #1a1a2e;
	color: #888;
	border: 1px solid #444;
	padding: 4px 10px;
	font-family: monospace;
	font-size: 12px;
	cursor: pointer;
}

.graph-view-refresh:hover {
	color: #ccc;
	border-color: #666;
}

.graph-view-canvas-wrapper {
	flex: 1;
	position: relative;
	overflow: hidden;
}

.graph-view-canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: grab;
}

.graph-view-canvas:active {
	cursor: grabbing;
}

.graph-detail-panel {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 320px;
	background: rgba(22, 33, 62, 0.95);
	border-left: 1px solid #444;
	padding: 12px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.2s ease;
}

.graph-detail-panel.visible {
	transform: translateX(0);
}

.graph-detail-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.graph-detail-title {
	color: #f0c674;
	font-family: monospace;
	font-size: 13px;
	font-weight: bold;
}

.graph-detail-close {
	background: none;
	border: 1px solid #555;
	color: #888;
	width: 24px;
	height: 24px;
	font-family: monospace;
	font-size: 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.graph-detail-close:hover {
	color: #ccc;
	border-color: #888;
}

.graph-detail-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.graph-detail-tab {
	background: #1a1a2e;
	border: 1px solid #444;
	color: #888;
	padding: 4px 8px;
	font-family: monospace;
	font-size: 11px;
	cursor: pointer;
}

.graph-detail-tab:hover {
	color: #ccc;
	border-color: #666;
}

.graph-detail-tab.active {
	color: #f0c674;
	border-color: #f0c674;
}

.graph-detail-content {
	color: #ccc;
	font-family: monospace;
	font-size: 12px;
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-word;
}
