/* Vditor output shares the site's reading typography and colour tokens. */
.vditor-reset { min-width: 0; overflow-wrap: anywhere; }
.vditor-reset pre code.hljs { display: block; padding: 0; background: transparent; overflow: visible; }
.vditor-reset input[type="checkbox"] { accent-color: var(--color-accent); margin-right: .6em; }
.vditor-reset .language-math { max-width: 100%; }
.vditor-reset div.language-math, .vditor-reset .katex-display { overflow-x: auto; overflow-y: hidden; padding-block: .5em; }
.vditor-reset .article-diagram { margin: 28px 0; max-width: 100%; overflow-x: auto; }
.vditor-reset .article-diagram > svg { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.vditor-reset summary { cursor: pointer; color: var(--color-accent); padding-block: 12px; }
.vditor-reset .footnotes-defs-div { margin-top: 3em; border-top: 1px solid var(--color-line); font-size: .875em; }
.vditor-reset .render-notice { color: var(--color-muted); font-size: .875em; }
.vditor-reset mark { background: var(--color-reading-highlight); color: var(--color-accent); }
.admin-prose.vditor-reset { line-height: 1.9; }
.admin-prose.vditor-reset pre { overflow-x: auto; padding: 20px; background: var(--color-bg); border-radius: 8px; }
.admin-prose.vditor-reset img { max-width: 100%; height: auto; }
.admin-prose.vditor-reset .article-table { overflow-x: auto; }
.admin-prose.vditor-reset table { width: 100%; border-collapse: collapse; }
.admin-prose.vditor-reset th, .admin-prose.vditor-reset td { padding: 12px; border: 1px solid var(--color-line); }
