/* Shared reading typography: existing articles and unsaved previews use the same hierarchy. */
.knowledge-read-layout{max-width:1220px;margin-inline:auto;grid-template-columns:minmax(0,1fr) 210px;gap:28px;align-items:start}
.knowledge-article{padding:44px 48px!important;border-color:#dce6ef!important;box-shadow:0 8px 32px #213c5605}
.knowledge-article-header{max-width:760px;margin:0 auto 28px;padding-bottom:26px;border-bottom:1px solid #dce6ef}
.knowledge-article-header .knowledge-category{display:inline-block;padding:6px 11px;letter-spacing:.04em;color:#426d86;background:#eaf2f7;font-size:12px;font-weight:600}
.knowledge-article-header .knowledge-article-title{font-size:clamp(27px,2.4vw,36px);font-weight:750;color:#17324d;line-height:1.5;letter-spacing:-.025em;margin:18px 0 16px;overflow-wrap:anywhere}
.knowledge-article-header .knowledge-byline{font-size:12px;color:#6c8094;margin:0;line-height:1.8}
.knowledge-article .knowledge-summary,.knowledge-preview-modal .knowledge-summary{display:block;max-width:760px;box-sizing:border-box;margin:0 auto 34px;padding:18px 22px;border:1px solid #e0eaf2;border-left:4px solid #7197b3;background:#f2f7fb;border-radius:0 10px 10px 0;color:#526c82;font-size:14px;line-height:1.95;white-space:pre-line}
.knowledge-summary-label{display:block;color:#365e7c;font-size:11px;letter-spacing:.12em;font-weight:700;margin-bottom:7px}
.knowledge-article .knowledge-prose,.knowledge-preview-modal .knowledge-prose{max-width:760px;margin-inline:auto;color:#354b5e;font-size:16px;line-height:2;letter-spacing:.015em;word-break:normal;overflow-wrap:anywhere}
.knowledge-prose>p{margin:0 0 22px;text-align:start}
.knowledge-prose>h2{font-size:25px;font-weight:750;line-height:1.6;color:#214c6a;padding:12px 18px;margin:46px 0 22px;background:#eef4f8;border-left:4px solid #5c87a7;border-radius:0 8px 8px 0;scroll-margin-top:28px}
.knowledge-prose>h3{font-size:21px;font-weight:700;line-height:1.6;color:#2e5875;margin:34px 0 16px;padding-bottom:10px;border-bottom:1px solid #dfe8ef;scroll-margin-top:28px}
.knowledge-prose>h4,.knowledge-prose>h5,.knowledge-prose>h6{font-size:18px;font-weight:700;line-height:1.7;color:#365f7c;margin:27px 0 13px;scroll-margin-top:28px}
.knowledge-prose>h2:first-child,.knowledge-prose>h3:first-child{margin-top:8px}
.knowledge-prose strong{font-weight:700;color:#234f70}
.knowledge-prose ul,.knowledge-prose ol{padding-left:26px;margin:12px 0 26px}
.knowledge-prose li{padding-left:5px;margin:10px 0;line-height:1.95}
.knowledge-prose li::marker{color:#6389a5;font-weight:650}
.knowledge-prose blockquote{margin:24px 0;padding:16px 22px;border-left:3px solid #91adbf;border-radius:0 8px 8px 0;background:#f6f8fa;color:#61778a}
.knowledge-prose blockquote p{margin:4px 0}
.knowledge-prose pre{font-size:13px;line-height:1.8;border:1px solid #dfe7ef;background:#f4f7fa;padding:18px;margin:24px 0}
.knowledge-prose code{font-family:Consolas,monospace;font-size:.86em;background:#edf2f6;color:#315c79}
.knowledge-prose pre code{padding:0;background:transparent}
.knowledge-article .knowledge-attachments{max-width:760px;margin:46px auto 0;padding:24px;border:1px solid #dfe8ef;background:#f8fafc;border-radius:12px}
.knowledge-attachments h3{font-size:17px;color:#2b506c;margin:0 0 17px}
.knowledge-attachments button{padding:14px 16px;border-color:#dce6ee!important;background:#fff!important;color:#48677f!important;border-radius:8px;align-items:center;line-height:1.7}
.knowledge-attachments button span{min-width:0;overflow-wrap:anywhere}
.knowledge-attachments small{font-size:11px;color:#6b8195}
.knowledge-toc{background:#f7fafc;border:1px solid #e0e8ef;border-radius:12px;padding:20px 16px;max-height:calc(100vh - 80px);overflow-y:auto}
.knowledge-toc h3{color:#3d617b;font-size:13px;margin:0 0 14px;letter-spacing:.08em}
.knowledge-toc a{color:#5e788f;font-size:12px;line-height:1.8;padding:7px 10px;margin:3px 0;border-left:2px solid #d7e3ec;border-radius:0 5px 5px 0;overflow-wrap:anywhere}
.knowledge-toc a:hover,.knowledge-toc a:focus-visible{background:#eaf2f7;color:#28587b;border-left-color:#648fad}
.knowledge-toc .toc-level-3{padding-left:20px;font-size:11px}.knowledge-toc .toc-level-4,.knowledge-toc .toc-level-5,.knowledge-toc .toc-level-6{padding-left:28px;font-size:11px}
.knowledge-preview-modal .modalbox{width:min(980px,100%);padding:30px 40px;box-sizing:border-box}
.knowledge-preview-modal .modalhead{top:-30px;margin-bottom:26px}.knowledge-preview-modal .modalhead h2{font-size:15px;color:#526f87}
@media(max-width:1000px){.knowledge-read-layout{grid-template-columns:1fr}.knowledge-toc{display:block;position:static;grid-row:1;max-height:180px}.knowledge-toc a{display:inline-block;vertical-align:top;margin-right:8px}.knowledge-toc .hint{font-size:12px}.knowledge-article{padding:32px!important}}
@media(max-width:650px){.knowledge-article{padding:24px 19px!important}.knowledge-article-header{padding-bottom:20px;margin-bottom:22px}.knowledge-article-header .knowledge-article-title{font-size:27px}.knowledge-article .knowledge-summary,.knowledge-preview-modal .knowledge-summary{padding:15px 16px;margin-bottom:28px}.knowledge-article .knowledge-prose,.knowledge-preview-modal .knowledge-prose{font-size:15px;line-height:1.95}.knowledge-prose>h2{font-size:21px;padding:10px 13px;margin-top:34px}.knowledge-prose>h3{font-size:18px;margin-top:28px}.knowledge-prose>h4,.knowledge-prose>h5,.knowledge-prose>h6{font-size:16px}.knowledge-article .knowledge-attachments{padding:18px;margin-top:34px}.knowledge-attachments button{align-items:flex-start;flex-direction:column;gap:4px}.knowledge-preview-modal .modalbox{padding:20px}.knowledge-preview-modal .modalhead{top:-20px}.knowledge-toc{max-height:145px}}
