/* Only off-screen export clones are themed; the live note is never restyled. */
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is(.raw-source-tabs-shell,.raw-source-period) {
    --raw-source-tab-paper:var(--wechat-paper)!important;
    --raw-source-tab-line:var(--wechat-line)!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is(.documents-tabs-inner,.preview-tabs-container,.tabs-scroll-wrapper) {
    background:var(--wechat-paper)!important;border-color:var(--wechat-line)!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) .summary-period-note::before {
    background:var(--wechat-panel)!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) .document-header :is(div,.file-size,.document-stats) {color:var(--wechat-muted)!important}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) .document-stats-num {color:var(--wechat-accent)!important}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) .is-definition-two-column .card-cell .var-name {
    color:var(--wechat-paper)!important;background:var(--wechat-accent)!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) .hm-table.is-definition-two-column > tbody > tr > td:nth-child(3)::before {
    background:var(--wechat-panel)!important;
}
#post-container .wechat-capture[data-wechat-style]:not([data-wechat-style="academic"]) .post-detail-content {
    color:var(--wechat-ink)!important;background:var(--wechat-paper)!important;font-family:var(--wechat-font)!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is(.raw-source-period,.summary-code-tree,[data-summary-tree],.summary-insight-card,blockquote,.custom-textbox,.data-preview-section,.document-preview-wrapper,.document-preview-content,.document-header,.document-tab,.code-outline,.code-block-area,pre,pre code) {
    background:var(--wechat-paper)!important;color:var(--wechat-ink)!important;border-color:var(--wechat-line)!important;box-shadow:none!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is(.summary-insight-card,blockquote,.custom-textbox) {
    background:var(--wechat-panel)!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is(.summary-code-tree,[data-summary-tree],.raw-source-period,.summary-insight-card,blockquote) :is(p,li,[data-tree-content],[data-tree-line]) {
    font-family:var(--wechat-font)!important;
}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is([data-tree-role="meta"],[data-summary-question-detail],.document-header,.code-outline-label) {color:var(--wechat-muted)!important}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is([data-summary-concept],[data-summary-count],[data-tree-role="result"],[data-criteria-heading],.summary-insight-title,.summary-insight-point,.raw-source-period-label,.var-name,.document-tab.active) {color:var(--wechat-accent)!important}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is(.preview-table th,.preview-table td,.is-definition-two-column > tbody > tr > td) {background:var(--wechat-paper)!important;color:var(--wechat-ink)!important;border-color:var(--wechat-line)!important}
#post-container .wechat-capture.wechat-capture:not([data-wechat-style="academic"]) :is(.preview-table th,.preview-table tr:nth-child(even) td,.document-tab.active) {background:var(--wechat-panel)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] :is(.custom-textbox,.raw-source-period,.code-block-wrapper) {border:1px solid var(--wechat-line)!important;border-radius:4px!important;clip-path:none!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .custom-textbox::before,
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .custom-textbox::after {display:none!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .summary-insight-card {background:transparent!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .summary-insight-card::before {background:var(--wechat-panel)!important;inset:0}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] :is(.var-label,.varlink-info,.mapping-info,[data-criteria-item]) {color:var(--wechat-ink)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] :is(.inline-code-token,code:not(pre code),.varlink-info,.mapping-info) {
    background:var(--wechat-panel)!important;color:var(--wechat-accent)!important;border-color:var(--wechat-line)!important;
}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] :is(.hist-positive-title,.hist-label,.dbcb-var-cycle-title) {color:var(--wechat-muted)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .bar-container {background:var(--wechat-line)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .data-card .fixed-table :is(th,td) {color:var(--wechat-ink)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .markdown-paper-table :is(th,td) {
    background:var(--wechat-paper)!important;color:var(--wechat-ink)!important;border-color:var(--wechat-line)!important;
}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .markdown-paper-table :is(th,td:first-child) {background:var(--wechat-panel)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .markdown-paper-table th {color:var(--wechat-accent)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .markdown-table-paper-shell {
    --markdown-table-surface:var(--wechat-panel)!important;
    --markdown-table-fold:var(--wechat-line)!important;
    --markdown-table-scroll-cover:var(--wechat-panel)!important;
    background:var(--wechat-panel)!important;
}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] :is(.textbox-button,.drug-extract-btn) {
    color:var(--wechat-paper)!important;
}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .dbcb-var-cycle-cell {
    background:color-mix(in srgb,var(--wechat-accent) calc(var(--dbcb-cycle-color-weight,0%) * .25),var(--wechat-panel))!important;
    border-color:var(--wechat-line)!important;
}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .dbcb-var-cycle-label {color:var(--wechat-muted)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] .dbcb-var-cycle-count {color:var(--wechat-ink)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] pre code span {color:var(--wechat-ink)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] pre code :is(.hljs-comment,.hljs-quote) {color:var(--wechat-muted)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] pre code :is(.hljs-keyword,.hljs-built_in,.hljs-literal) {color:var(--wechat-accent)!important}
#post-container .wechat-capture.wechat-capture[data-wechat-style="terminal"] pre code :is(.hljs-string,.hljs-number) {color:#edc879!important}
