/* Same reading column as ordinary chapters. Only wide tables/formulas scroll locally. */
#readerPane,.read-body,#mReader,#mReaderScroll,#mReaderBody,.m-reader-text{min-width:0}
#reader,.m-reader-article{box-sizing:border-box;width:100%;min-width:0}
.digest-document{box-sizing:border-box;width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}
.digest-document h1,.digest-document h2{max-width:100%;overflow-wrap:anywhere}
.digest-document .digest-table-wrap{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;margin:20px 0;overscroll-behavior-x:contain}
.digest-document .digest-table-wrap table{display:table;width:100%;max-width:none;margin:0;border-collapse:collapse}
.digest-document .digest-table-wrap th,.digest-document .digest-table-wrap td{overflow-wrap:anywhere;white-space:normal}
.digest-document math{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.digest-document pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
.digest-document img,.digest-document svg{max-width:100%;height:auto}
.digest-contents{display:block;min-width:0;max-width:100%;font:400 14px/1.5 var(--sans,system-ui,sans-serif);color:inherit}
.digest-contents ol{list-style:none;margin:0;padding:0}
.digest-contents ol ol{padding-left:14px;border-left:1px solid var(--line,var(--m-line,#d7cdb7));margin:8px 0}
.digest-contents li{margin:4px 0!important;padding:0;min-width:0}
.digest-contents details{padding:0!important;border:0!important}
.digest-contents summary{cursor:pointer;padding:8px 0;font-size:14px;line-height:1.45;overflow-wrap:anywhere;font-weight:600}
.digest-contents a.digest-section-link{display:block;padding:7px 8px;line-height:1.45;font-size:14px;color:inherit;white-space:normal;overflow-wrap:anywhere;text-decoration:none;border-radius:6px}
.digest-contents a:hover{background:var(--panel2,#f3ead8);color:var(--text,#231a0d)}
.digest-contents a:focus-visible,.digest-contents summary:focus-visible,.digest-table-wrap:focus-visible{outline:2px solid var(--gold,#a16207);outline-offset:2px}
.digest-toc{margin:0 0 24px;border-radius:8px}
.digest-toc>summary{font-family:var(--sans,system-ui,sans-serif);font-weight:600;padding:4px 0}
.digest-toc[open]>summary{margin-bottom:12px}
#chapterSide .digest-contents{margin:16px 0}
#tocList .digest-contents{margin:8px 0}
#tocList .digest-contents a,#tocList .digest-contents summary{font-size:13px}
#mChapterList .digest-contents{padding:12px 4px}
.digest-languages{display:flex;gap:8px;margin:12px 0 20px;flex-wrap:wrap}
.digest-languages a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 12px;border:1px solid currentColor;border-radius:8px;text-decoration:none}
.digest-languages [aria-current="page"]{font-weight:700;background:#d6b66f33}
.digest-document table{display:block;max-width:100%;overflow-x:auto}
.digest-editor-note{font-size:.9em;opacity:.8}
