.article-body pre,.rich-editor pre{position:relative;max-width:100%;overflow:auto;white-space:pre;background:#17232d;color:#e5edf4;border-radius:7px;padding:18px;font:14px/1.75 Consolas,"Courier New",monospace;overflow-wrap:normal;tab-size:4}
.article-body pre code,.rich-editor pre code{font:inherit;white-space:pre;display:block;color:inherit;overflow-wrap:normal;word-break:normal;background:transparent;padding:0}
.article-body :not(pre)>code,.rich-editor :not(pre)>code{font-family:Consolas,"Courier New",monospace;background:#edf2f4;padding:2px 5px;border-radius:3px;overflow-wrap:anywhere}
.article-body table,.rich-editor table{border-collapse:collapse;max-width:100%;display:block;overflow:auto;margin:18px 0}
.article-body th,.article-body td,.rich-editor th,.rich-editor td{border:1px solid #ced8dd;padding:10px 14px}
.rich-tools .rich-text-button{width:auto;padding:6px 10px;border:1px solid #d8e2df;background:white;font-size:13px}
.rich-tools .rich-text-button[aria-pressed="true"]{background:#e6f3ed;color:#12664b;border-color:#91baaa}
.rich-tools select{width:auto;max-width:100%;padding:5px 8px;font-size:13px;min-height:34px}
.rich-source{display:block;width:100%;min-height:340px;resize:vertical;border-radius:0;border-color:#cfd9dc;background:#16232d;color:#e5edf4;font:14px/1.75 Consolas,"Courier New",monospace;tab-size:4;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto}
.rich-help,.rich-status{font-size:13px;line-height:1.8;margin:10px 0;overflow-wrap:anywhere}.rich-status{color:#14694e}.rich-help code{font-family:Consolas,monospace;color:#17644f;background:#e9f2ee;padding:2px 5px}
.rich-code-dialog{width:min(760px,calc(100% - 28px));max-height:90vh;overflow:auto;border:1px solid #bbcfc6;border-radius:8px;padding:24px;color:#263c33;box-shadow:0 16px 70px #10292133}
.rich-code-dialog::backdrop{background:#112b3655}.rich-code-dialog h2{margin:0 0 20px}.rich-code-dialog label{margin-bottom:16px}.rich-code-dialog textarea{width:100%;font:14px/1.7 Consolas,"Courier New",monospace;min-height:240px;tab-size:4;white-space:pre}.rich-code-dialog .form-actions{justify-content:flex-end}
@media(max-width:760px){.rich-tools{gap:7px}.rich-tools select{flex:1 1 180px}.rich-code-dialog{padding:18px}.article-body pre{font-size:13px}.rich-source{font-size:13px}}
