.compile-error-panel {
	display: none;
	margin: 0;
	background: #1f2430;
	border: 1px solid #2d3342;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	flex-direction: column;
}

.compile-error-panel.visible {
	display: flex;
}

.compile-error-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #2d3342;
	flex-shrink: 0;
}

.compile-error-title {
	font-weight: 700;
	color: #f9fafb;
}

.compile-error-meta {
	color: #cbd5e1;
	font-size: 0.85rem;
	margin-top: 0.15rem;
}

.compile-error-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.compile-marker-label {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	color: #9ca3af;
	font-size: 0.8rem;
	cursor: pointer;
	user-select: none;
	margin-right: 0.25rem;
}

.compile-marker-label input[type="checkbox"] {
	accent-color: #f59e0b;
	cursor: pointer;
}

.compile-error-btn {
	background: #334155;
	color: #e5e7eb;
	border: 1px solid #475569;
	border-radius: 8px;
	padding: 0.35rem 0.65rem;
	cursor: pointer;
	font-size: 0.85rem;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.compile-error-btn:hover {
	background: #3b475c;
	border-color: #6b7280;
}

.compile-error-icon-btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid #475569;
	background: #1f2937;
	color: #e5e7eb;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.compile-error-icon-btn:hover {
	background: #273244;
	border-color: #6b7280;
}

.compile-error-list {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
}

.compile-issue {
	padding: 0.75rem 1rem;
	border-top: 1px solid #2d3342;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	cursor: pointer;
	transition: background 0.15s ease;
}

.compile-issue:hover {
	background: #252c3c;
}

.compile-issue.error {
	border-left: 4px solid #ef4444;
}

.compile-issue.warning {
	border-left: 4px solid #f59e0b;
}

.issue-title {
	color: #f9fafb;
	font-weight: 600;
}

.issue-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	color: #cbd5e1;
	font-size: 0.85rem;
}

.issue-pill {
	background: #374151;
	border-radius: 999px;
	padding: 0.1rem 0.65rem;
	color: #e5e7eb;
	font-size: 0.75rem;
}

.issue-snippet {
	color: #94a3b8;
	font-size: 0.85rem;
	line-height: 1.4;
}

.compile-error-empty {
	padding: 1rem;
	color: #cbd5e1;
	font-size: 0.9rem;
}

.compile-hint-banner {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	margin: 0.5rem 0.75rem;
	background: #1a2332;
	border: 1px solid #4fc3f7;
	border-radius: 8px;
	font-size: 0.85rem;
	color: #b3e5fc;
	line-height: 1.4;
}

.compile-hint-icon {
	flex-shrink: 0;
	font-size: 1rem;
}

/* Inline hints attached to individual issues */
.compile-hint-inline {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	padding: 0.5rem 0.7rem;
	margin-top: 0.4rem;
	background: rgba(79, 195, 247, 0.08);
	border-left: 3px solid #4fc3f7;
	border-radius: 0 6px 6px 0;
	font-size: 0.8rem;
	color: #b3e5fc;
	line-height: 1.35;
}
.compile-hint-inline code {
	background: rgba(255, 255, 255, 0.1);
	padding: 0.1em 0.35em;
	border-radius: 3px;
	font-size: 0.85em;
}

