/**
 * WP GFM Renderer - Mermaid図表スタイル
 *
 * Mermaid.jsで生成される図表の表示最適化とレスポンシブ対応
 *
 * @package WpGfmRenderer
 * @since 0.1.0
 */

/* Mermaidコンテナのベーススタイル（Flexboxセンタリング対応） */
.gfmr-mermaid-container,
div.gfmr-mermaid-container,
article .gfmr-mermaid-container,
.entry-content .gfmr-mermaid-container,
.post-content .gfmr-mermaid-container,
.content .gfmr-mermaid-container {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin: 16px 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	position: relative !important;
	z-index: 1 !important;
}

/* 統一Mermaidコンテナのスタイル（Flexboxセンタリング対応） */
.gfmr-mermaid-container-unified,
div.gfmr-mermaid-container-unified,
article .gfmr-mermaid-container-unified,
.entry-content .gfmr-mermaid-container-unified,
.post-content .gfmr-mermaid-container-unified,
.content .gfmr-mermaid-container-unified {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin: 16px 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	z-index: 1 !important;
}

/* 内側Mermaidコンテナのスタイル（コピーボタン配置用） */
.gfmr-mermaid-inner-container {
	position: relative !important;
	display: inline-block !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* 親要素の黒背景完全対策（診断結果 rgb(13,17,23) 根絶） */

/* コピーボタンコンテナとインデントコードブロックを適切に除外 */
.gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
.gfmr-markdown-rendered:not(.gfmr-code-container):not(:has(> pre:only-child)),
div.gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
div.gfmr-markdown-rendered:not(.gfmr-code-container):not(:has(> pre:only-child)),
article .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
.entry-content .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
.post-content .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
.content .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
main .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
#main .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
#content .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)),
.site-content .gfmr-markdown-container:not(.gfmr-code-container):not(:has(> pre:only-child)) {
	background: transparent !important;
	padding: 0 !important;
}

/* :has()セレクター未対応ブラウザ向けフォールバック */
@supports not (selector(:has(*))) {

	.gfmr-markdown-container:not(.gfmr-code-container),
	.gfmr-markdown-rendered:not(.gfmr-code-container),
	div.gfmr-markdown-container:not(.gfmr-code-container),
	div.gfmr-markdown-rendered:not(.gfmr-code-container),
	article .gfmr-markdown-container:not(.gfmr-code-container),
	.entry-content .gfmr-markdown-container:not(.gfmr-code-container),
	.post-content .gfmr-markdown-container:not(.gfmr-code-container),
	.content .gfmr-markdown-container:not(.gfmr-code-container),
	main .gfmr-markdown-container:not(.gfmr-code-container),
	#main .gfmr-markdown-container:not(.gfmr-code-container),
	#content .gfmr-markdown-container:not(.gfmr-code-container),
	.site-content .gfmr-markdown-container:not(.gfmr-code-container) {
		background: transparent !important;
		padding: 0 !important;
	}
}

/* 祖父母要素までの黒背景対策（コピーボタンコンテナ除外） */
html body * .gfmr-markdown-container:not(.gfmr-code-container),
html body * .gfmr-markdown-rendered:not(.gfmr-code-container),
html body * .gfmr-mermaid-container {
	background: transparent !important;
}


/* 特定の黒背景色の対策（透明背景維持） */
[style*="rgb(13, 17, 23)"] .gfmr-mermaid-container,
[style*="background-color: rgb(13, 17, 23)"] .gfmr-mermaid-container,
.github-dark .gfmr-mermaid-container,
.bg-dark .gfmr-mermaid-container,
.dark-bg .gfmr-mermaid-container {
	background: transparent !important;
}

/* Mermaid図表の直接スタイル */
.gfmr-mermaid {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

/* gfmr-diagrams-v2.js wrapper container styles */
.gfmr-mermaid-wrapper {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	margin: 1em 0 !important;
	position: relative !important;
}

.gfmr-mermaid-wrapper svg {
	display: block !important;
	margin: 0 auto !important;
	max-width: 100% !important;
	height: auto !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* SVG図表のFlexboxセンタリング対応 */
.gfmr-mermaid svg,
.gfmr-mermaid-container svg,
div.gfmr-mermaid-container svg {
	max-width: 100% !important;
	height: auto !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Universal border removal for all Mermaid elements */
.gfmr-mermaid-container *,
.gfmr-mermaid-container *::before,
.gfmr-mermaid-container *::after,
.gfmr-mermaid *,
.gfmr-mermaid *::before,
.gfmr-mermaid *::after {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* SVG内要素の保護（テーマからの影響を防ぐ） */
.gfmr-mermaid svg *,
.gfmr-mermaid-container svg *,
.gfmr-mermaid svg *::before,
.gfmr-mermaid svg *::after,
.gfmr-mermaid-container svg *::before,
.gfmr-mermaid-container svg *::after {
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* SVGテキスト要素の保護 */
.gfmr-mermaid svg text,
.gfmr-mermaid-container svg text {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 14px !important;
	fill: currentcolor !important;
}

/* モバイル環境での調整 */
@media (max-width: 768px) {

	.gfmr-mermaid-container {
		margin: 15px 0;
		padding: 10px;
		border-radius: 4px;
	}

	.gfmr-mermaid svg {
		font-size: 12px;
	}
}

/* 最高特異性セレクター（Flexboxセンタリング強制適用） */
html body .gfmr-mermaid-container,
html body div.gfmr-mermaid-container,
html body article .gfmr-mermaid-container,
html body .entry-content .gfmr-mermaid-container,
html body .post-content .gfmr-mermaid-container,
html body .content .gfmr-mermaid-container,
html body .site .gfmr-mermaid-container,
html body .site-content .gfmr-mermaid-container,
html body .main .gfmr-mermaid-container,
html body #main .gfmr-mermaid-container,
html body #content .gfmr-mermaid-container,
html body .post .gfmr-mermaid-container,
html body .page .gfmr-mermaid-container {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin: 16px 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* 内側コンテナの最高特異性セレクター */
html body .gfmr-mermaid-inner-container {
	position: relative !important;
	display: inline-block !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* Ultimate border elimination - highest specificity */
html body .gfmr-mermaid-container *,
html body div.gfmr-mermaid-container *,
html body article .gfmr-mermaid-container *,
html body .entry-content .gfmr-mermaid-container *,
html body .post-content .gfmr-mermaid-container *,
html body .content .gfmr-mermaid-container *,
html body .site .gfmr-mermaid-container *,
html body .site-content .gfmr-mermaid-container *,
html body .main .gfmr-mermaid-container *,
html body #main .gfmr-mermaid-container *,
html body #content .gfmr-mermaid-container *,
html body .post .gfmr-mermaid-container *,
html body .page .gfmr-mermaid-container * {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Block editor and container specific border removal */
.gfmr-markdown-rendered .gfmr-mermaid-container,
.gfmr-markdown-rendered-preview .gfmr-mermaid-container,
.gfmr-markdown-container .gfmr-mermaid-container,
div[class*="gfmr-mermaid"] {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Attribute-based border removal for dynamic elements */
[class*="gfmr-mermaid"][style*="border"],
[id*="gfmr-mermaid"][style*="border"] {
	border: none !important;
}

/* システムダークテーマ対応（透明背景・テーマ適応） */
html[data-color-scheme="dark"] .gfmr-mermaid-container,
html[data-theme="dark"] .gfmr-mermaid-container,
body.dark .gfmr-mermaid-container,
body.dark-theme .gfmr-mermaid-container,
body.night-mode .gfmr-mermaid-container,
html body[data-color-scheme="dark"] .gfmr-mermaid-container,
html body[data-theme="dark"] .gfmr-mermaid-container {
	background: transparent !important;
	border: none !important;
}

/* ダークテーマ対応（透明背景・テーマ適応） */
@media (prefers-color-scheme: dark) {

	.gfmr-mermaid-container,
	body .gfmr-mermaid-container,
	html body .gfmr-mermaid-container,
	.site .gfmr-mermaid-container,
	.site-content .gfmr-mermaid-container {
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
	}
}

/* 一般的なWordPressテーマ対応（透明背景・テーマ適応） */
.dark .gfmr-mermaid-container,
.dark-theme .gfmr-mermaid-container,
.night-mode .gfmr-mermaid-container,
[data-theme="dark"] .gfmr-mermaid-container,
[data-color-scheme="dark"] .gfmr-mermaid-container {
	background: transparent !important;
	border: none !important;
}

/* エラー表示スタイル（従来版・互換性保持） */
.gfmr-mermaid-error {
	color: #dc3545;
	padding: 15px;
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	text-align: left;
	font-family: monospace;
	font-size: 14px;
	line-height: 1.4;
}

/* 統一エラー表示スタイル（完全統一保証） */
.gfmr-mermaid-error-unified {
	color: #d1242f !important;
	background: #fff8f8 !important;
	border: 1px solid #ffcdd2 !important;
	border-radius: 6px !important;
	padding: 15px !important;
	margin: 10px 0 !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	text-align: left !important;
}

/* 条件付き背景設定 - エラー時のみ白背景 */
.gfmr-mermaid-container.gfmr-mermaid-error-state,
.gfmr-mermaid-container-unified.gfmr-mermaid-error-state {
	background: #fff8f8 !important;
	border: 1px solid #ffcdd2 !important;
}

/* 条件付き背景設定 - 読み込み中のみ軽い背景 */
.gfmr-mermaid-container.gfmr-mermaid-loading-state,
.gfmr-mermaid-container-unified.gfmr-mermaid-loading-state {
	background: rgba(0, 0, 0, 0.02) !important;
	border: none !important;
}

/* 条件付き背景設定 - 強制白背景モード（デバッグ用） */
.gfmr-mermaid-container.gfmr-force-white-bg,
.gfmr-mermaid-container-unified.gfmr-force-white-bg {
	background: #fff !important;
	border: none !important;
}

.gfmr-mermaid-error strong {
	color: #721c24;
}

.gfmr-mermaid-error pre {
	margin: 10px 0;
	padding: 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-size: 12px;
	white-space: pre-wrap;
	overflow-x: auto;
}

.gfmr-mermaid-error details {
	margin-top: 10px;
}

.gfmr-mermaid-error summary {
	cursor: pointer;
	color: #721c24;
	font-weight: 700;
}

/* MD-23: 拡張エラー表示スタイル */
.gfmr-mermaid-error-enhanced {
	background: #fff;
	border: 1px solid #e1e5e9;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin: 20px 0;
	max-width: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #24292f;
	text-align: left;
}

/* エラーヘッダー */
.mermaid-error-header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	background: #fff2cc;
	border-bottom: 1px solid #e1e5e9;
	border-radius: 8px 8px 0 0;
}

.error-icon {
	font-size: 24px;
	line-height: 1;
	flex-shrink: 0;
}

.error-title h4 {
	margin: 0 0 4px 0;
	font-size: 16px;
	font-weight: 600;
	color: #d73a49;
}

.error-meta {
	margin: 0;
	font-size: 13px;
	color: #656d76;
	font-weight: 400;
}

/* エラー説明 */
.mermaid-error-description {
	padding: 16px;
	background: #f6f8fa;
	border-bottom: 1px solid #e1e5e9;
	font-size: 14px;
	line-height: 1.5;
	color: #24292f;
}

/* 解決策セクション */
.mermaid-error-solutions {
	padding: 16px;
	border-bottom: 1px solid #e1e5e9;
}

.mermaid-error-solutions h5 {
	margin: 0 0 12px 0;
	font-size: 14px;
	font-weight: 600;
	color: #24292f;
}

.solutions-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mermaid-solution-item {
	border: 1px solid #d1d9e0;
	border-radius: 6px;
	padding: 12px;
	background: #f6f8fa;
}

.solution-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.priority-icon {
	font-size: 12px;
	line-height: 1;
}

.solution-header strong {
	font-size: 13px;
	font-weight: 600;
	color: #24292f;
}

.solution-description {
	margin: 0 0 8px 0;
	font-size: 13px;
	color: #656d76;
	line-height: 1.4;
}

.solution-examples-toggle {
	background: #f6f8fa;
	border: 1px solid #d1d9e0;
	border-radius: 4px;
	padding: 6px 12px;
	font-size: 12px;
	color: #24292f;
	cursor: pointer;
	margin-bottom: 8px;
	transition: all 0.2s ease;
}

.solution-examples-toggle:hover {
	background: #e1e5e9;
	border-color: #c4c9d0;
}

.solution-examples-toggle:focus {
	outline: 2px solid #0969da;
	outline-offset: 2px;
}

.solution-examples {
	border-top: 1px solid #d1d9e0;
	padding-top: 8px;
	margin-top: 8px;
}

.example-item {
	margin-bottom: 12px;
}

.example-item:last-child {
	margin-bottom: 0;
}

.example-description {
	font-size: 12px;
	color: #656d76;
	margin-bottom: 4px;
	font-weight: 500;
}

.example-code {
	background: #24292f;
	color: #f0f6fc;
	padding: 8px 12px;
	border-radius: 4px;
	font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 11px;
	line-height: 1.4;
	overflow-x: auto;
	margin: 0;
	white-space: pre;
}

/* 詳細セクション */
.mermaid-error-details {
	padding: 16px;
	border-bottom: 1px solid #e1e5e9;
}

.error-details-toggle,
.original-code-toggle {
	width: 100%;
	margin-bottom: 12px;
}

.error-details-toggle:last-child,
.original-code-toggle:last-child {
	margin-bottom: 0;
}

.error-details-toggle summary,
.original-code-toggle summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	color: #24292f;
	padding: 8px 12px;
	background: #f6f8fa;
	border: 1px solid #d1d9e0;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.error-details-toggle summary:hover,
.original-code-toggle summary:hover {
	background: #e1e5e9;
}

.error-details-toggle[open] summary,
.original-code-toggle[open] summary {
	border-radius: 4px 4px 0 0;
	border-bottom-color: transparent;
}

.technical-details,
.original-code-container {
	border: 1px solid #d1d9e0;
	border-top: none;
	border-radius: 0 0 4px 4px;
	padding: 12px;
	background: #fff;
}

.error-message,
.code-issues {
	margin-bottom: 12px;
}

.error-message:last-child,
.code-issues:last-child {
	margin-bottom: 0;
}

.error-message strong,
.code-issues strong {
	font-size: 12px;
	font-weight: 600;
	color: #24292f;
	display: block;
	margin-bottom: 4px;
}

.error-text,
.original-code {
	background: #24292f;
	color: #f0f6fc;
	padding: 12px;
	border-radius: 4px;
	font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 12px;
	line-height: 1.4;
	overflow-x: auto;
	margin: 0;
	white-space: pre-wrap;
	word-break: break-word;
}

.code-issues ul {
	margin: 0;
	padding-left: 20px;
	font-size: 12px;
	color: #656d76;
}

.code-issues li {
	margin-bottom: 4px;
	line-height: 1.4;
}

.original-code-container {
	position: relative;
}

.copy-code-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #f6f8fa;
	border: 1px solid #d1d9e0;
	border-radius: 4px;
	padding: 4px 8px;
	font-size: 11px;
	color: #24292f;
	cursor: pointer;
	transition: all 0.2s ease;
	opacity: 0.8;
}

.copy-code-btn:hover {
	opacity: 1;
	background: #e1e5e9;
}

.copy-code-btn:focus {
	outline: 2px solid #0969da;
	outline-offset: 2px;
}

.copy-code-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ヘルプリンク */
.mermaid-error-help {
	padding: 16px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.help-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0969da;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	padding: 6px 12px;
	border: 1px solid #d1d9e0;
	border-radius: 4px;
	background: #f6f8fa;
	transition: all 0.2s ease;
}

.help-link:hover {
	background: #e1e5e9;
	border-color: #c4c9d0;
	text-decoration: none;
}

.help-link:focus {
	outline: 2px solid #0969da;
	outline-offset: 2px;
}

/* モバイル対応 */
@media (max-width: 768px) {

	.gfmr-mermaid-error-enhanced {
		margin: 15px 0;
		border-radius: 6px;
	}

	.mermaid-error-header {
		padding: 12px;
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}

	.error-icon {
		align-self: center;
	}

	.mermaid-error-description,
	.mermaid-error-solutions,
	.mermaid-error-details,
	.mermaid-error-help {
		padding: 12px;
	}

	.mermaid-error-help {
		flex-direction: column;
	}

	.help-link {
		justify-content: center;
	}

	.solution-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.copy-code-btn {
		position: static;
		margin-top: 8px;
		width: 100%;
	}
}

/* ダークテーマ対応 */
@media (prefers-color-scheme: dark) {

	.gfmr-mermaid-error-enhanced {
		background: #1c2128;
		border-color: #373e47;
		color: #e6edf3;
	}

	.mermaid-error-header {
		background: #2d1b00;
		border-bottom-color: #373e47;
	}

	.error-title h4 {
		color: #ff6b6b;
	}

	.error-meta {
		color: #8d96a0;
	}

	.mermaid-error-description {
		background: #262c36;
		border-bottom-color: #373e47;
		color: #e6edf3;
	}

	.mermaid-solution-item {
		background: #262c36;
		border-color: #373e47;
	}

	.solution-header strong {
		color: #e6edf3;
	}

	.solution-description {
		color: #8d96a0;
	}

	.solution-examples-toggle {
		background: #262c36;
		border-color: #373e47;
		color: #e6edf3;
	}

	.solution-examples-toggle:hover {
		background: #373e47;
		border-color: #4a525a;
	}

	.error-details-toggle summary,
	.original-code-toggle summary {
		background: #262c36;
		border-color: #373e47;
		color: #e6edf3;
	}

	.error-details-toggle summary:hover,
	.original-code-toggle summary:hover {
		background: #373e47;
	}

	.technical-details,
	.original-code-container {
		background: #1c2128;
		border-color: #373e47;
	}

	.error-message strong,
	.code-issues strong {
		color: #e6edf3;
	}

	.code-issues {
		color: #8d96a0;
	}

	.copy-code-btn {
		background: #262c36;
		border-color: #373e47;
		color: #e6edf3;
	}

	.copy-code-btn:hover {
		background: #373e47;
	}

	.help-link {
		background: #262c36;
		border-color: #373e47;
		color: #58a6ff;
	}

	.help-link:hover {
		background: #373e47;
		border-color: #4a525a;
	}
}

/* 読み込み中表示 */
.gfmr-mermaid-loading {
	padding: 20px;
	text-align: center;
	color: #6c757d;
	font-style: italic;
}

/* 図表タイプ別の微調整 */

/* フローチャート */
.gfmr-mermaid svg.flowchart {

	/* フローチャート特有のスタイル */
}

/* シーケンス図 */
.gfmr-mermaid svg.sequence {

	/* シーケンス図特有のスタイル */
}

/* ガントチャート */
.gfmr-mermaid svg.gantt {

	/* ガントチャート特有のスタイル */
}

/* クラス図 */
.gfmr-mermaid svg.class {

	/* クラス図特有のスタイル */
}

/* デバッグ支援機能（開発時のみ） - URL Parameter必須 */
body[data-gfmr-debug="true"][data-gfmr-debug-url="true"] .gfmr-mermaid-container {
	border: 3px dashed #f00 !important;
	position: relative !important;
}

body[data-gfmr-debug="true"][data-gfmr-debug-url="true"] .gfmr-mermaid-container::before {
	content: "Mermaid Container - BG: " attr(data-bg-color) " | Theme: " attr(data-theme);
	position: absolute;
	top: -25px;
	left: 0;
	background: #f00;
	color: #fff;
	padding: 2px 8px;
	font-size: 10px;
	font-family: monospace;
	z-index: 1000;
	border-radius: 3px;
}

/* Debug borders only in development environment with explicit URL parameter */
body[data-gfmr-debug="true"][data-gfmr-debug-url="true"] .gfmr-markdown-container {
	border: 2px dashed #0f0 !important;
	position: relative !important;
}

body[data-gfmr-debug="true"][data-gfmr-debug-url="true"] .gfmr-markdown-container::before {
	content: "Markdown Container";
	position: absolute;
	top: -20px;
	left: 0;
	background: #0f0;
	color: #000;
	padding: 2px 6px;
	font-size: 10px;
	font-family: monospace;
	z-index: 999;
}

/* 印刷時の調整 */
@media print {

	.gfmr-mermaid-container {
		background: transparent;
		border: none;
		box-shadow: none;
		page-break-inside: avoid;
	}

	.gfmr-mermaid svg {
		max-width: 100% !important;
		height: auto !important;
	}
	
	/* デバッグ表示を印刷時に非表示 */
	body[data-gfmr-debug="true"][data-gfmr-debug-url="true"] .gfmr-mermaid-container::before,
	body[data-gfmr-debug="true"][data-gfmr-debug-url="true"] .gfmr-markdown-container::before {
		display: none !important;
	}
}
