
/* Readable notebook: avoids chapter-specific panel styles and preserves interaction */
#collectedViewer{box-sizing:border-box!important;width:min(1000px,92vw)!important;max-width:92vw!important;max-height:88vh!important;overflow:hidden!important;padding:0!important;border:0!important;background:#ede2cc!important;clip-path:none!important;position:fixed!important;}
#collectedViewer #collectedContent{box-sizing:border-box!important;max-height:88vh!important;overflow-y:auto!important;overflow-x:hidden!important;padding:42px clamp(24px,5vw,72px) 55px!important;display:block!important;scrollbar-width:thin;scrollbar-color:#ab9980 transparent;}
#collectedViewer #collectedContent>h2{margin:0 auto 6px!important;line-height:1.4!important;letter-spacing:.26em!important;font-size:30px!important;color:#594b3c!important;}
#collectedViewer #closeCollectedViewer{position:absolute!important;right:16px!important;top:13px!important;float:none!important;width:42px!important;height:42px!important;line-height:1!important;font:26px/1 Georgia,serif!important;display:grid!important;place-items:center!important;z-index:9!important;border-radius:50%!important;background:#f5ecdb!important;clip-path:none!important;transform:none!important;}
#collectedViewer .dnhNotebook{width:100%;max-width:790px;margin:auto;font:16px/1.85 'Noto Serif CJK SC','Songti SC',KaiTi,serif;color:#514a3e;}
#collectedViewer .dnhNotebookEyebrow{text-align:center;font-size:12px;color:#937760;letter-spacing:.25em;margin-top:6px;}
#collectedViewer .dnhNotebookIntro{font-size:16px!important;margin:15px auto!important;line-height:1.9!important;max-width:620px;}
#collectedViewer .dnhNotebookCount{text-align:center;color:#8a543f!important;font-size:14px!important;margin:15px auto 22px!important;}
#collectedViewer .dnhNotebookPrimer{border-top:1px solid #b9a88c;border-bottom:1px solid #b9a88c;padding:20px 22px;margin:15px auto 30px;background:#f7efdf96;}
#collectedViewer .dnhNotebookPrimer small{font-size:13px;color:#956d55;letter-spacing:.14em;}
#collectedViewer .dnhNotebookPrimer h3{margin:4px 0!important;color:#526b65;font-size:22px;font-weight:500;}
#collectedViewer .dnhNotebookPrimer p{margin:0!important;text-align:left!important;line-height:1.95!important;color:#514a3e!important;}
#collectedViewer .dnhNotebookSubheading{padding:0 0 11px;margin-bottom:14px;color:#7b5949;font-size:17px;letter-spacing:.08em;border-bottom:1px solid #d1c3aa;}
#collectedViewer .dnhNotebookList{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
#collectedViewer .dnhNotebookEntry{min-width:0;border:1px solid #c9b99c;background:#f9f1e2b3;}
#collectedViewer .dnhNotebookEntry.locked{background:#eee5d6cc;padding:17px 23px;opacity:.82;}
#collectedViewer .dnhNotebookLock{font-size:16px;letter-spacing:.1em;color:#77847e;}
#collectedViewer .dnhNotebookEntry.locked p{margin:3px 0!important;text-align:left!important;font-size:14px!important;}
#collectedViewer details.dnhNotebookDetail{display:block;width:100%;}
#collectedViewer .dnhNotebookSummary{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 21px;cursor:pointer;list-style:none;}
#collectedViewer .dnhNotebookSummary::-webkit-details-marker{display:none;}
#collectedViewer .dnhNotebookSummary img{width:86px!important;height:86px!important;object-fit:contain!important;margin:0!important;max-height:86px!important;}
#collectedViewer .dnhNotebookWords{display:flex;min-width:0;flex-direction:column;gap:3px;text-align:left;}
#collectedViewer .dnhNotebookWords small{color:#8e775d;font-size:12px;}
#collectedViewer .dnhNotebookWords strong{font-size:20px;font-weight:500;color:#526b65;}
#collectedViewer .dnhNotebookWords span{font-size:14px;color:#6a6254;line-height:1.65;}
#collectedViewer .dnhNotebookSummary em{font-style:normal;font-size:13px;color:#8f684d;white-space:nowrap;}
#collectedViewer details[open]>.dnhNotebookSummary{border-bottom:1px solid #d7c8af;}
#collectedViewer .dnhNotebookDetailBody{padding:14px 24px 24px;}
#collectedViewer .dnhNotebookStory{margin:0 0 17px!important;color:#7f5945!important;text-align:left!important;font-size:15px!important;}
#collectedViewer .dnhNotebookDetailBody dl{display:grid;grid-template-columns:90px minmax(0,1fr);margin:0;row-gap:0;}
#collectedViewer .dnhNotebookDetailBody dt,#collectedViewer .dnhNotebookDetailBody dd{margin:0;padding:9px 5px;border-bottom:1px solid #cdbd9b73;line-height:1.8;font-size:15px;min-width:0;}
#collectedViewer .dnhNotebookDetailBody dt{color:#7f6048;}
#collectedViewer .dnhNotebookRefs{padding-top:13px;font-size:13px;color:#85735c;display:flex;flex-direction:column;gap:7px;}
#collectedViewer .dnhNotebookRefs a{color:#546b66;text-decoration:underline;overflow-wrap:anywhere;}
#collectedViewer .dnhNotebookEnsemble{margin-top:25px;border:1px solid #c3b094;padding:17px 22px;}
#collectedViewer .dnhNotebookEnsemble summary{cursor:pointer;color:#526b65;font-size:18px;}
#collectedViewer .dnhNotebookEnsemble p{margin:12px 0 0!important;text-align:left!important;line-height:1.9!important;}
#collectedViewer .dnhNotebookFoot{margin:28px auto 0!important;font-size:13px!important;color:#8c7761!important;}
@media(max-width:600px){#collectedViewer .dnhNotebookSummary{grid-template-columns:65px minmax(0,1fr);gap:9px;padding:12px;}#collectedViewer .dnhNotebookSummary img{width:60px!important;height:60px!important;}#collectedViewer .dnhNotebookSummary em{grid-column:2;text-align:right;}#collectedViewer .dnhNotebookDetailBody{padding:12px;}#collectedViewer .dnhNotebookDetailBody dl{grid-template-columns:73px minmax(0,1fr);}}
