/* Shared by rendered articles and the isolated Markdown preview. */
.post-content pre, .ripro-md-render pre { position:relative; padding:18px; border:1px solid #dfe5ee; border-radius:8px; background:#f6f8fa; color:#344054; overflow:auto; tab-size:4; }
.post-content pre code, .ripro-md-render pre code { display:block; padding:0; border:0; background:transparent; color:inherit; font:14px/1.75 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace; white-space:pre; overflow-wrap:normal; word-break:normal; }
.post-content pre { padding-top:42px; }
.post-content pre .ripro-code-copy { position:absolute; top:8px; right:8px; z-index:1; padding:4px 9px; border:1px solid #cbd5e1; border-radius:5px; background:rgba(255,255,255,.86); color:#526071; font-family:inherit; font-size:12px; line-height:1.4; cursor:pointer; transition:background .15s ease, color .15s ease, border-color .15s ease; }
.post-content pre .ripro-code-copy:hover { border-color:#7893c8; color:#365fc6; background:#fff; }
.post-content pre .ripro-code-copy.is-copied { border-color:#69a77a; color:#28733b; background:#f1fbf3; }
.post-content :not(pre)>code, .ripro-md-render :not(pre)>code { padding:.15em .35em; border-radius:4px; background:#f0f3f7; color:#44546a; font-size:.9em; }
.ripro-md-table { max-width:100%; overflow:auto; margin:1.5rem 0; }
.post-content table, .ripro-md-render table { width:100%; border-collapse:collapse; font-size:.95em; }
.post-content table th, .post-content table td, .ripro-md-render table th, .ripro-md-render table td { padding:12px 16px; border:1px solid #dfe5ee; line-height:1.7; }
.post-content table th, .ripro-md-render table th { background:#f3f6fa; color:#344054; font-weight:600; }
.post-content table tr:nth-child(2n), .ripro-md-render table tr:nth-child(2n) { background:#f9fafc; }
.post-content .hljs-keyword, .ripro-md-render .hljs-keyword { color:#a626a4; }
.post-content .hljs-string, .ripro-md-render .hljs-string { color:#32743c; }
.post-content .hljs-number, .post-content .hljs-literal, .ripro-md-render .hljs-number, .ripro-md-render .hljs-literal { color:#986801; }
.post-content .hljs-comment, .ripro-md-render .hljs-comment { color:#6a737d; }
.post-content .hljs-title, .post-content .hljs-built_in, .ripro-md-render .hljs-title, .ripro-md-render .hljs-built_in { color:#1764aa; }
[data-bs-theme=dark] .post-content pre { background:#191d25; color:#cbd5e1; border-color:#394150; }
[data-bs-theme=dark] .post-content pre .ripro-code-copy { border-color:#4a5568; background:rgba(32,36,45,.9); color:#cbd5e1; }
[data-bs-theme=dark] .post-content pre .ripro-code-copy:hover { border-color:#8aa8e8; color:#9ab6ff; background:#303743; }
[data-bs-theme=dark] .post-content pre .ripro-code-copy.is-copied { border-color:#69a77a; color:#a3d3ad; background:#26392b; }
[data-bs-theme=dark] .post-content :not(pre)>code { background:#303743; color:#d3dce9; }
[data-bs-theme=dark] .post-content table th { background:#303743; color:#e0e5ed; }
[data-bs-theme=dark] .post-content table td, [data-bs-theme=dark] .post-content table th { border-color:#394150; }
[data-bs-theme=dark] .post-content table tr:nth-child(2n) { background:#252b35; }
[data-bs-theme=dark] .post-content .hljs-keyword { color:#d5a2ea; }
[data-bs-theme=dark] .post-content .hljs-string { color:#a3ce98; }
[data-bs-theme=dark] .post-content .hljs-number, [data-bs-theme=dark] .post-content .hljs-literal { color:#e7bd7b; }
[data-bs-theme=dark] .post-content .hljs-comment { color:#a0adbf; }
[data-bs-theme=dark] .post-content .hljs-title, [data-bs-theme=dark] .post-content .hljs-built_in { color:#8cbef1; }
