
/* The chapter CSS must never cause two-axis overflow of the book viewer. */
#collectedViewer{box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;max-height:min(86vh,790px)!important;width:min(900px,92vw)!important;}
#collectedContent{box-sizing:border-box!important;max-width:100%!important;width:100%!important;overflow-wrap:anywhere!important;overflow-x:hidden!important;}
#collectedViewer #closeCollectedViewer{position:sticky!important;float:right!important;right:8px!important;top:5px!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;line-height:1!important;display:flex!important;align-items:center!important;justify-content:center!important;transform:none!important;clip-path:none!important;border-radius:50%!important;writing-mode:horizontal-tb!important;}
#collectedContent .dnhChapterKnowledge,#collectedContent .dnhKnowledgeGrid{max-width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
#collectedContent img{max-width:100%!important;}
@media(max-width:650px){#collectedContent .dnhChapterKnowledge,#collectedContent .dnhKnowledgeGrid{grid-template-columns:1fr!important;}}
