@font-face{font-family:EditionSerif;src:url('/assets/fonts/edition-serif-sc-v7.woff2') format('woff2');font-weight:200 900;font-display:swap}
@font-face{font-family:EditionBlack;src:url('/assets/fonts/edition-black-sc-v7.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:EditionPlex;src:url('/assets/fonts/edition-plex-sc-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:EditionPlex;src:url('/assets/fonts/edition-plex-sc-700.woff2') format('woff2');font-weight:700;font-display:swap}
[data-edition-face]{--edition-font:EditionSerif,"Songti SC","Noto Serif CJK SC",serif}
[data-edition-face=black]{--edition-font:EditionBlack,"PingFang SC","Microsoft YaHei",sans-serif}
[data-edition-face=plex]{--edition-font:EditionPlex,"PingFang SC","Microsoft YaHei",sans-serif}
.edition-bands,.edition-sheet{--edition-gutter:clamp(16px,4.6vw,38px)}
.edition-band{background:#f5f2ec;color:#232323;padding:clamp(20px,5vw,36px) var(--edition-gutter);overflow-wrap:anywhere}
.edition-band.edition-dark{background:#232323;color:#ededed}
.edition-band+.edition-band{border-top:1px solid #a9a9a9}
.edition-band-copy{hyphens:auto;min-width:0}
.edition-band-copy>*:first-child{margin-top:0}
.edition-band-copy>*:last-child{margin-bottom:0}
.edition-band-copy p{white-space:pre-wrap}
.edition-band h1,.edition-band h2,.edition-band h3,.edition-band h4,.edition-band blockquote{color:inherit}
.edition-band blockquote{border-color:#909090}
.edition-rule{border:0;border-top:1px solid #8c8c8c;width:100%;max-width:none;height:0;margin:1.22em 0;column-span:all}
.edition-dark .edition-rule{border-color:#aaa}
.edition-reading :is(.reading-heading,.reading-heading h1,.reading-prose){font-family:var(--edition-font)}
.edition-reading .reading-prose{padding:0;max-width:none;width:100%;background:#eee;color:#242424}
.edition-reading .reading-heading{background:#e6e6e6;color:#191919}
.edition-reading .reading-heading :is(h1,.reading-deck,.reading-topic,.reading-meta){color:inherit}
.edition-reading .edition-band :is(p,h1,h2,h3,h4,blockquote,figure){max-width:unset}
.edition-reading.ops-reading-dark .reading-heading,.edition-reading.ops-reading-dark .edition-light{background:#191919;color:#f0f0f0}
.edition-reading .edition-band [data-edition-color]{color:var(--edition-block-color)}
.edition-dark [data-edition-color=dark],.ops-reading-dark .edition-light [data-edition-color=dark]{color:#e7e7e7!important}
.edition-light [data-edition-color=light]{color:#343434!important}
.edition-export-cover{max-width:100%;height:auto;display:block}
.edition-reading{padding:0 0 24px;background:#e8e8e8}
.edition-reading .reading-frame{max-inline-size:46rem}
.edition-reading .reading-heading{padding:clamp(24px,6vw,42px) var(--edition-gutter,clamp(16px,4.6vw,38px)) 19px}
.edition-reading .reading-intro{background:transparent;padding:0;margin-bottom:0}
.edition-reading .reading-footer{padding:0 clamp(16px,4.6vw,38px)}
.edition-reading .edition-dark blockquote{background:#343434;color:#eee}
.edition-reading .edition-band :is(h2,h3,h4):not(:first-child){margin-top:1em}
.edition-reading{--edition-gutter:clamp(16px,4.6vw,38px)}
/* Shared reader, editorial preview and lossless export styling. */
.article-document{width:100%;background:#eee;color:#232323;margin:0;box-sizing:border-box;font-family:var(--edition-font);font-size:17px;line-height:1.75;overflow-wrap:anywhere}
.article-document-lead{padding:30px 30px 24px;background:#e9e9e9;color:#222}
.article-document-masthead{display:flex;justify-content:space-between;align-items:center;border-top:2px solid currentColor;border-bottom:1px solid #969696;padding:7px 0;margin-bottom:20px;font-size:.72em}
.article-document-masthead strong{font-weight:650;letter-spacing:.12em}
.article-document-title{margin:0;font-family:inherit;font-size:2em;line-height:1.2;font-weight:700;color:inherit}
.article-document-deck{margin:12px 0 0;font-size:1.03em;line-height:1.6}
.article-document-meta{font-size:.7em;margin:12px 0 0}
.article-document-cover,.article-figure img{display:block;max-width:100%;width:auto;height:auto;margin-inline:auto;object-fit:contain}
.article-figure{margin:1.1em 0;text-align:center}
.article-figure figcaption{margin:.52em 0 0;font-size:.76em;color:inherit}
.article-bold{font-weight:700}
.article-run{white-space:pre-wrap}
.edition-band [data-edition-color]{color:var(--edition-block-color)}
.edition-rule[data-variant=double]{height:4px;border-bottom:1px solid currentColor}
.edition-rule[data-variant=ornament]{width:35%;margin-inline:auto;border-top-style:dashed}
.article-document-copy :is(h2,h3,h4){line-height:1.3}
.article-document-copy :is(p,blockquote){white-space:pre-wrap}
.article-mode-export{width:540px;--edition-gutter:30px}
.article-mode-export .edition-band{padding:24px 30px}
.article-mode-export :is(img){max-height:2300px}
.article-export-surface{position:absolute;top:0;left:-12000px;width:540px;pointer-events:none;z-index:-10;isolation:isolate}
.article-export-dialog{width:min(95vw,650px);max-height:90dvh;box-sizing:border-box;border:1px solid #a1a1a1;background:#f4f4f4;color:#161616;padding:18px;overflow:auto;border-radius:6px}
.article-export-dialog::backdrop{background:#101010ae}
.article-export-dialog h2{margin:.15em 0 .65em}
.article-export-dialog img{display:block;max-width:100%;width:100%;height:auto;user-select:auto;-webkit-touch-callout:default}
.article-export-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:.8em 0}
.article-export-actions :is(button,a){font:inherit;color:#111;background:#fff;border:1px solid #777;padding:8px 12px;text-decoration:none;border-radius:4px}
.article-export-part+.article-export-part{border-top:1px solid #aaa;margin-top:1.3em;padding-top:.6em}
[data-edition-face=default]{--edition-font:var(--custom-article-font,EditionSerif,"Songti SC","Noto Serif CJK SC",serif)}
.article-italic{font-style:italic}
.edition-band [data-edition-face]{font-family:var(--edition-font)}
.article-callout{border-inline-start:3px solid currentColor;padding:.75em 1em;margin:1em 0;white-space:pre-wrap;background:#7f7f7f22}
.edition-band :is(ol,ul){padding-inline-start:1.5em}
[data-edition-face=kai]{--edition-font:EditionKai,"Kaiti SC",KaiTi,"STKaiti",EditionSerif,serif}
@font-face{font-family:EditionKai;src:url('/assets/fonts/edition-kai-sc-v12.woff2') format('woff2');font-weight:400;font-display:swap}
.edition-rule[data-variant=ornament]{max-width:3.4em;margin-inline:auto;border-top:1px solid currentColor}
.edition-rule[data-variant=ornament]::before,.edition-rule[data-variant=ornament]::after{display:none}
.article-document .edition-light{background:var(--wq-paper,#f5f2ec);color:var(--wq-ink,#232323)}
.article-document .edition-dark{background:var(--wq-dark,#232323);color:var(--wq-dark-ink,#ededed)}
.article-document .article-document-lead{background:var(--wq-paper,#f5f2ec);color:var(--wq-ink,#232323)}
.article-flow .edition-band.article-flow-band{background:#faf9f7;color:#222}
.article-flow :is(p,h2,h3,h4,aside,blockquote,li){white-space:pre-wrap;overflow-wrap:anywhere}

/* Per-article typography and laid-paper colors shared by preview, export and reader. */
.article-document:has(.article-document-title) .article-document-title{overflow-wrap:anywhere}
.article-document[data-article-paper] :is(.article-document-lead,.edition-light),
.edition-reading[data-article-paper]:not(.ops-reading-dark) :is(.reading-heading,.reading-prose .edition-light){background-color:var(--article-paper)}
.article-document[data-article-ink] :is(.article-document-lead,.edition-light),
.edition-reading[data-article-ink]:not(.ops-reading-dark) :is(.reading-heading,.reading-prose .edition-light){color:var(--article-ink)}
.edition-reading.ops-reading-dark .reading-heading h1{color:inherit!important}
.article-document .article-document-copy,.studio-writing .studio-flow{font-size:var(--article-body-size,inherit)}

/* Body text uses full system families before any branding subset. */
:where(.edition-sheet,.article-document,.edition-reading,[data-edition-face=serif]){--article-text-face:"Songti SC","Noto Serif CJK SC",SimSun,serif}
:where([data-edition-face=default]){--article-text-face:var(--custom-article-text-face,"Songti SC","Noto Serif CJK SC",SimSun,serif)}
:where([data-edition-face=black],[data-edition-face=plex]){--article-text-face:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
:where([data-edition-face=kai]){--article-text-face:"Kaiti SC",KaiTi,STKaiti,EditionKai,serif}
.edition-sheet .studio-flow,.article-document .article-document-copy,.edition-reading .reading-prose{
 font-family:var(--article-text-face);font-weight:400
}
:is(.studio-flow,.article-document-copy,.reading-prose) [data-edition-face]{font-family:var(--article-text-face)}
