.flowchart-editor-shell {
	position: relative;
	height: calc(100vh - 140px);
	min-height: calc(100vh - 140px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	overflow: hidden;
}

.flowchart-editor-frame {
	flex: 1;
	width: 100%;
	border: none;
	background: #f8fafc;
}

.flowchart-editor-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.85);
	z-index: 2;
	font-weight: 500;
	color: #0f172a;
}

.spinner {
	width: 32px;
	height: 32px;
	border: 3px solid rgba(15, 23, 42, 0.1);
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.flowchart-toolbar-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	color: #0f172a;
}

.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.status-clean {
	background: #22c55e;
}

.status-dirty {
	background: #f97316;
}

.status-badge {
	background: #0369a1;
	color: #fff;
	border-radius: 12px;
	padding: 2px 10px;
	font-size: 0.75rem;
}

.badge-info {
	background: #0ea5e9;
}

.status-diagram-meta {
	display: flex;
	flex-direction: column;
	margin-right: 10px;
}

.status-diagram-meta .diagram-title {
	font-weight: 600;
	font-size: 0.9rem;
}

.diagram-name-input .dx-texteditor-input-container input {
	font-size: 0.85rem;
}

.diagram-load-panel {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.diagram-load-toolbar {
	display: flex;
	gap: 8px;
}

.diagram-search-input {
	flex: 1;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 0.9rem;
}

.diagram-search-button {
	padding: 8px 16px;
	background: #111827;
	color: #fff;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	font-weight: 600;
}

.diagram-load-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 360px;
	overflow-y: auto;
}

.diagram-list-item {
	text-align: left;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 12px;
	padding: 10px 14px;
	background: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}

.diagram-list-title {
	font-weight: 600;
}

.diagram-list-meta {
	display: flex;
	gap: 12px;
	font-size: 0.8rem;
	color: #475569;
}

.diagram-empty-state {
	border: 1px dashed rgba(15, 23, 42, 0.2);
	padding: 20px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #475569;
}

.flowchart-status-message {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: #f8fafc;
	font-size: 0.9rem;
	color: #0f172a;
}

.geMenubarContainer,
.geToolbarContainer,
.geSidebarContainer,
.geFooterContainer,
.mxTooltip,
.mxPopupMenu {
	display: none !important;
}

.geDiagramContainer {
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
}

