.factory-document { color:#26362f; background:#fff; font-family:Inter,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif; font-size:15px; line-height:1.9; overflow-wrap:anywhere; }
.factory-document>:first-child { margin-top:0; }
.factory-document h1,.factory-document h2,.factory-document h3,.factory-document h4 { color:#132d22; line-height:1.45; break-after:avoid; }
.factory-document h1 { font-size:27px; margin:0 0 28px; padding-bottom:18px; border-bottom:2px solid #176c4b; }
.factory-document h2 { font-size:21px; margin:32px 0 16px; }
.factory-document h3 { font-size:17px; margin:25px 0 12px; }
.factory-document p { margin:14px 0; }
.factory-document a { color:#176c4b; text-decoration:underline; }
.factory-document pre { margin:20px 0; padding:20px; border:1px solid #e0e7e2; border-radius:4px; background:#f4f7f5; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.7; tab-size:4; }
.factory-document code { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace; }
.factory-document :not(pre)>code { background:#edf3ef; padding:2px 5px; border-radius:3px; font-size:.9em; }
.factory-document blockquote { margin:20px 0; padding:6px 18px; border-left:3px solid #64a284; background:#f4f8f5; color:#52685b; }
.factory-document table { border-collapse:collapse; width:100%; font-size:14px; margin:20px 0; }
.factory-document td,.factory-document th { border:1px solid #dce5df; padding:8px 12px; text-align:left; }
.factory-document th { background:#edf3ef; }
.factory-document hr { border:0; border-top:1px solid #dce5df; margin:28px 0; }
.factory-document .katex { font-size:1.08em; }
.factory-document .katex-display { overflow-x:auto; overflow-y:hidden; padding:6px 0; }
.factory-document .katex-display>.katex { white-space:normal; }
.export-page { margin:0; background:white; }
.export-page .factory-document { padding:48px 56px; width:960px; box-sizing:border-box; }
@media print { .export-page .factory-document { padding:0; width:auto; font-size:11pt; } .factory-document pre { font-size:9pt; } .factory-document tr,.factory-document blockquote { break-inside:avoid; } .factory-document thead { display:table-header-group; } }
