:root{--leaf-height:1088px;--flow-top:7%;--flow-left:11%;--flow-right:11%}
body.duvernua-reader>header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand menu" "book author";align-items:center;gap:7px 18px;padding:10px 22px;min-height:90px}
body.library-reader[data-book].duvernua-reader>header{position:sticky!important;top:0!important;z-index:120!important}
body.library-reader[data-book].duvernua-reader>.bar{position:sticky!important;top:var(--reader-header-height,0px)!important;z-index:119!important}
body.duvernua-reader>header>.global-library-brand{grid-area:brand;display:flex;align-items:center;gap:10px;color:#faf4e6;text-decoration:none;font:600 15px/1.15 system-ui;min-width:0}
body.duvernua-reader>header>.global-library-brand img{width:38px;height:38px;flex:none}
body.duvernua-reader>header>.global-library-menu{grid-area:menu;justify-self:end;flex:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important}
body.duvernua-reader>header>.global-library-brand{grid-area:brand}
body.duvernua-reader>header>.global-library-menu{grid-area:menu;justify-self:end}
body.duvernua-reader>header>.book-heading{grid-area:book;min-width:0}
body.duvernua-reader>header>.author-link{grid-area:author;justify-self:end;white-space:nowrap;padding:9px 13px;border-radius:5px;background:#f8f3e8;color:#263a32;text-decoration:none;font-weight:650}
body.duvernua-reader>header .book-heading small{display:block;color:#dbcda9;font-size:11px;letter-spacing:.04em}
body.duvernua-reader>header .book-heading h1{margin:3px 0 0;font:20px/1.2 Georgia,'Times New Roman',serif;color:#fffaf0}
.bar #contents{background:#315b4c!important;color:#fff!important;border-color:#315b4c!important}
.bar #contents:hover,.bar #contents:focus-visible{background:#24483d!important}
.book .leaf{height:var(--leaf-height);padding:58px 76px 70px}
.book .flow{font-family:OldStandard,Georgia,'Times New Roman',serif;font-size:18px;line-height:1.3}
.book .flow p{margin:0 0 .34em;text-indent:1.35em;text-align:justify}
.book .flow h1,.book .flow h2,.book .flow h3,.book .flow h4{text-align:center;text-indent:0;line-height:1.28;margin:.55em 0;font-family:OldStandard,Georgia,'Times New Roman',serif}
.book .flow h1{font-size:1.35em}.book .flow h2{font-size:1.18em}.book .flow h3{font-size:1.08em}
.book .titlepage .flow{text-align:center;padding-top:12%;font-size:21px}
.book .titlepage .flow p{text-align:center;text-indent:0;margin:.6em 0}
.book .titlepage .flow h1{font-size:1.5em;letter-spacing:.04em}
.book .dedicationpage .flow{display:flex;align-items:center;justify-content:center;text-align:center;font-size:24px}
.book .dedicationpage .flow p{text-align:center;text-indent:0}
.book .openingpage .flow h1:first-child,.book .openingpage .flow h2:first-child{margin-top:.2em}
main.continuous-view .leaf.titlepage,main.continuous-view .leaf.dedicationpage{height:var(--leaf-height)!important;min-height:740px!important;padding:0!important;overflow:hidden!important}
main.continuous-view .leaf.titlepage .flow,main.continuous-view .leaf.dedicationpage .flow{position:absolute!important;inset:9% 9% 9%!important;text-align:center!important}
main.continuous-view .leaf.prosepage,main.continuous-view .leaf.openingpage{height:auto!important;min-height:0!important;padding:50px 72px 60px!important;overflow:visible!important}
main.continuous-view .leaf.prosepage .flow,main.continuous-view .leaf.openingpage .flow{position:static!important;height:auto!important;overflow:visible!important;font-size:19px!important;line-height:1.55!important;text-align:justify!important}
main.continuous-view .leaf.prosepage .flow p,main.continuous-view .leaf.openingpage .flow p{margin:0 0 .72em!important;text-indent:1.4em!important}
.page-label{position:absolute;right:22px;bottom:12px;color:#8e806b;font:10px system-ui}
.reader-quick-nav{right:18px;bottom:calc(18px + env(safe-area-inset-bottom));gap:8px}
body.duvernua-reader .reader-quick-nav{display:flex!important}
.reader-quick-nav button{width:44px;height:44px;border-radius:8px!important}
.toc-return,.toc-return[hidden]{border-radius:7px;left:18px;bottom:calc(18px + env(safe-area-inset-bottom))}
.contents-panel{top:calc(var(--reader-header-height,90px) + var(--reader-bar-height,56px) + 14px);bottom:20px;z-index:1000;border:1px solid #d4c8b4;border-radius:9px}
.contents-top{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-24px;background:#fffdf7;padding:4px 0 12px;z-index:2}
.uniform-contents .toc-row{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:9px 4px;border-bottom:1px solid #e9e1d4;color:#383127;text-decoration:none}
.uniform-contents .toc-row small{white-space:nowrap;color:#756a59}
.uniform-contents .toc-row:hover,.uniform-contents .toc-row:focus-visible{background:#f2eee5;color:#244a40}
.contents-panel.open{display:block}
main.continuous-view{padding-bottom:104px!important}
.footnotes{font-size:14px;line-height:1.16}
.footnotes .footnote{margin:0 0 3px!important;text-indent:0!important;text-align:justify}
.footnotes .footnote{scroll-margin-top:calc(var(--reader-header-height,90px) + var(--reader-bar-height,56px) + 18px)}
.fn-ref,.fn-backlink{color:inherit!important;text-decoration:none!important;border-radius:2px;scroll-margin-top:calc(var(--reader-header-height,90px) + var(--reader-bar-height,56px) + 18px)}
.fn-ref sup,.fn-backlink sup{font-size:.8em;line-height:0;vertical-align:super}
.fn-note-numbers{white-space:nowrap;margin-right:.22em}
.fn-ref:hover,.fn-backlink:hover{color:#725b2f!important}
.fn-ref:focus-visible,.fn-backlink:focus-visible{outline:2px solid #8b774d;outline-offset:2px}
.fn-continuation-link{display:inline-block;margin-left:.35em;color:inherit!important;text-decoration:none!important;white-space:nowrap;font:12px/1.2 system-ui,sans-serif}
.fn-continuation-link:hover,.fn-continuation-link:focus-visible{color:#725b2f!important;text-decoration:underline!important;text-underline-offset:2px}
.fn-continuation-backlink{display:inline-block;color:inherit!important;text-decoration:none!important;margin-right:.25em;scroll-margin-top:calc(var(--reader-header-height,90px) + var(--reader-bar-height,56px) + 18px)}
.fn-continuation-label{font-style:italic}
.footnote-continuation{scroll-margin-top:calc(var(--reader-header-height,90px) + var(--reader-bar-height,56px) + 18px)}
/* Keep this reader's shared masthead legible against the library-wide grid. */
body.library-reader[data-book="duvernua"].duvernua-reader>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand menu" "book author"!important;align-items:center!important;gap:8px 18px!important}
body.library-reader[data-book="duvernua"].duvernua-reader>header>.global-library-brand{grid-area:brand!important}
body.library-reader[data-book="duvernua"].duvernua-reader>header>.global-library-menu{grid-area:menu!important;position:relative!important;top:auto!important;right:auto!important}
body.library-reader[data-book="duvernua"].duvernua-reader>header>.book-heading{grid-area:book!important;text-align:left!important}
body.library-reader[data-book="duvernua"].duvernua-reader>header>.author-link{grid-area:author!important;justify-self:end!important}
body.duvernua-reader main.book-mode~.reader-quick-nav,body.duvernua-reader main.scan-mode~.reader-quick-nav,body.duvernua-reader main.compare~.reader-quick-nav{display:none!important}
@media(max-width:700px){body.library-reader[data-book="duvernua"].duvernua-reader>header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand menu" "book book" "author author"!important;padding:12px!important}body.library-reader[data-book="duvernua"].duvernua-reader>header>.book-heading{max-width:100%;overflow-wrap:anywhere}body.library-reader[data-book="duvernua"].duvernua-reader>header>.author-link{justify-self:start!important}}
@media(max-width:720px){body.library-reader[data-book].duvernua-reader>header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand menu" "book book" ". author"!important;gap:8px 10px!important;padding:12px 12px 12px 14px!important;min-height:0!important}body.library-reader[data-book].duvernua-reader>header>.global-library-brand{grid-area:brand!important;font-size:13px!important;min-width:0}body.library-reader[data-book].duvernua-reader>header>.global-library-brand img{width:32px;height:32px}body.library-reader[data-book].duvernua-reader>header>.global-library-menu{grid-area:menu!important;position:relative!important;top:auto!important;right:auto!important;justify-self:end;flex:0 0 auto!important;width:auto!important;margin:0!important;padding:0!important;border:0!important}body.library-reader[data-book].duvernua-reader>header>.book-heading{grid-area:book!important;text-align:left!important;min-width:0}body.duvernua-reader>header .book-heading h1{font-size:18px;line-height:1.2;overflow-wrap:anywhere}body.library-reader[data-book].duvernua-reader>header>.author-link{grid-area:author!important;justify-self:end;padding:8px 11px;font-size:12px}.bar{justify-content:flex-start;gap:6px}.bar select{max-width:140px}main.continuous-view{padding:14px 9px 96px!important}main.continuous-view .leaf.prosepage,main.continuous-view .leaf.openingpage{padding:35px 23px 46px!important}main.continuous-view .leaf.prosepage .flow,main.continuous-view .leaf.openingpage .flow{font-size:17px!important;line-height:1.54!important}.reader-quick-nav{right:10px;bottom:calc(12px + env(safe-area-inset-bottom))}.toc-return{left:10px;bottom:calc(12px + env(safe-area-inset-bottom))}.contents-panel{inset:12px;top:calc(var(--reader-header-height,100px) + 8px);bottom:12px}}
/* The injected account control shares the author's grid cell. Keep both controls reachable. */
@media (min-width:721px){
  body.library-reader[data-book="duvernua"].duvernua-reader>header.hn-account-header>.author-link{justify-self:start!important}
  body.library-reader[data-book="duvernua"].duvernua-reader>header.hn-account-header>.hn-tools{grid-area:author!important;justify-self:end!important}
}
@media (max-width:720px){
  body.library-reader[data-book="duvernua"].duvernua-reader>header.hn-account-header{grid-template-areas:"brand menu" "book book" "tools tools" "author author"!important}
  body.library-reader[data-book="duvernua"].duvernua-reader>header.hn-account-header>.hn-tools{grid-area:tools!important;justify-self:start!important;position:static!important;margin:0!important}
  body.library-reader[data-book="duvernua"].duvernua-reader>header.hn-account-header>.author-link{grid-area:author!important;justify-self:start!important}
}

/* The book's printed contents keep their own line breaks and a separate page column. */
.book .leaf.contentspage .flow{font-size:15px;line-height:1.18}
.book .leaf.contentspage .flow .printed-toc-entry{display:grid;grid-template-columns:minmax(0,1fr) 3.3em;gap:.7em;align-items:end;margin:.34em 0;color:inherit;text-decoration:none;text-indent:0;text-align:left}
.book .leaf.contentspage .flow .printed-toc-label{min-width:0;text-align:justify;text-align-last:left}
.book .leaf.contentspage .flow .printed-toc-folio{white-space:nowrap;text-align:right;align-self:end}
.book .leaf.contentspage .flow .printed-toc-column{text-align:right;text-indent:0;font-size:.78em;margin:.1em 0}
.book .leaf.contentspage .flow .printed-toc-heading{color:inherit;text-decoration:none}
.book .leaf.contentspage .flow a.printed-toc-entry:hover,.book .leaf.contentspage .flow a.printed-toc-heading:hover{color:#245447;text-decoration:underline}
.book .leaf.contentspage .flow a:focus-visible{outline:2px solid #245447;outline-offset:2px}
