@font-face{font-family:OldStandard;src:url(fonts/OldStandard-Regular.woff2)}
@font-face{font-family:OldStandard;src:url(fonts/OldStandard-Bold.woff2);font-weight:700}
@font-face{font-family:OldStandard;src:url(fonts/OldStandard-Italic.woff2);font-style:italic}
*{box-sizing:border-box}
html{scroll-behavior:auto}
body{margin:0;background:#e9e4da;color:#27221c;font:14px/1.45 system-ui,sans-serif}
button,select{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #b47b29;outline-offset:2px}
.site-head{position:sticky;top:0;z-index:30;background:#273b33;color:#f7f2e9;padding:10px 22px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.site-head h1{font:21px/1.25 OldStandard,Georgia,serif;margin:2px 0}
.site-head small{letter-spacing:.05em}
.site-head a{color:#f7f2e9;white-space:nowrap}
body.library-reader>header.site-head{display:grid!important;grid-template-columns:minmax(0,1fr) max-content max-content;grid-template-rows:auto auto;align-items:center;column-gap:12px;row-gap:18px;padding:16px clamp(22px,4vw,58px)!important}
body.library-reader>header.site-head>.global-library-brand{grid-column:1;grid-row:1;justify-self:start;max-width:100%}
body.library-reader>header.site-head>div:not(.global-library-menu){grid-column:1/3;grid-row:2;min-width:0}
body.library-reader>header.site-head>div:not(.global-library-menu) h1{overflow-wrap:anywhere}
body.library-reader>header.site-head>a:not(.global-library-brand){grid-column:3;grid-row:2;justify-self:start;display:inline;color:#f7f2e9!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;min-height:0!important;text-decoration:underline!important;font:400 13px/1.3 Arial,sans-serif!important}
body.library-reader>header.site-head>.global-library-menu{grid-column:2;grid-row:1;justify-self:end;position:relative!important;top:auto!important;right:auto!important;order:0!important;flex:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important}
body.library-reader>header.site-head>.hn-tools{grid-column:3;grid-row:1;justify-self:end;position:relative!important;top:auto!important;right:auto!important;margin:0!important}
@media(max-width:1240px){body.library-reader>header.site-head{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto}body.library-reader>header.site-head>.global-library-brand{grid-column:1;grid-row:1}body.library-reader>header.site-head>.hn-tools{grid-column:2;grid-row:1}body.library-reader>header.site-head>div:not(.global-library-menu){grid-column:1;grid-row:2}body.library-reader>header.site-head>a:not(.global-library-brand){grid-column:2;grid-row:2;justify-self:end}body.library-reader>header.site-head>.global-library-menu{grid-column:1/-1;grid-row:3;justify-self:end}}
.toolbar{position:sticky;top:var(--header-height,74px);z-index:30;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;background:#f9f5ec;border-bottom:1px solid #c9bcaa;padding:7px 10px;box-shadow:0 3px 9px #0001}
.toolbar button,.toolbar select{border:1px solid #b8a992;border-radius:5px;background:#fffdf8;color:#27221c;padding:8px 10px;min-height:38px}
.toolbar button.on{background:#315e50;color:white;border-color:#315e50}
.toolbar button:disabled{opacity:.45;cursor:default}
.toolbar select{max-width:215px}
#status{font-size:12px;color:#5e5549;min-width:155px}
.provenance-note{max-width:1120px;margin:9px auto 0;padding:0 16px;color:#62594e;font-size:12px;text-align:center}
.provenance-note a{color:#315e50}
.reader{display:flex;justify-content:center;align-items:flex-start;gap:20px;padding:18px 18px 92px}
.book{width:700px;max-width:100%;flex:none}
.leaf{width:700px;max-width:100%;min-height:1055px;background:#fffdf8;border:1px solid #cec2b2;box-shadow:0 9px 22px #0002;position:relative;scroll-margin-top:calc(var(--header-height,74px) + var(--toolbar-height,60px) + 14px);margin:0 auto}
.leaf+.leaf{margin-top:18px}
.orth{padding:8% 10% 10%;font:18px/1.29 OldStandard,Georgia,serif;overflow-wrap:anywhere}
.orth p{margin:0 0 .75em;text-align:justify;text-indent:1.1em}
.orth p:first-child{text-indent:0}
.orth h2,.orth h3,.orth h4{text-align:center;font-weight:700;line-height:1.22;margin:1.15em 0 .8em;break-after:avoid}
.orth h2{font-size:23px}.orth h3{font-size:19px}.orth h4{font-size:17px}
.orth sup{font-size:.7em;vertical-align:super;line-height:0}
.orth .footnotes{margin-top:22px;padding-top:10px;font-size:max(13px,.8em);line-height:1.2}
.orth .footnotes::before{content:"";display:block;width:29%;border-top:1px solid #766b5d;margin:0 0 10px}
.orth .footnotes p{text-indent:0;margin:0 0 7px}
.fn-call,.fn-back{color:inherit;text-decoration:none;scroll-margin-top:calc(var(--header-height,74px) + var(--toolbar-height,60px) + 32px)}
.fn-call:hover,.fn-back:hover{text-decoration:underline}
.fn-call:focus-visible,.fn-back:focus-visible{outline:3px solid #b47d25;outline-offset:2px}
.footnotes p[id]{scroll-margin-top:calc(var(--header-height,74px) + var(--toolbar-height,60px) + 32px)}
.densepage .orth{font-size:16.5px;line-height:1.2;padding:7% 9% 8%}
.running-head{text-align:center;font-size:13px;letter-spacing:.04em;margin:-20px 0 26px}
.printed-folio{position:absolute;top:34px;left:0;right:0;text-align:center;font:16px OldStandard,serif}
.leaf.pirvits .printed-folio{left:10%;right:10%;text-align:right}
.leaf.pirvits:nth-child(odd) .printed-folio{text-align:left}
.leaf-label{position:absolute;bottom:12px;right:20px;font:11px system-ui;color:#817664}
.signature{font-size:12px;text-align:right;margin-top:18px}
body[data-orthography="modern"] .orth-original,body[data-orthography="original"] .orth-modern{display:none!important}
.titlepage .orth{padding:0;height:1055px;position:relative;text-align:center}
.title-composition{position:absolute;inset:0}
.title-composition p{text-align:center;text-indent:0;margin:0;line-height:1.13}
.title-0{position:absolute;top:15%;left:8%;right:8%;font-size:22px}
.title-1{position:absolute;top:27%;left:8%;right:8%;font-size:28px;font-weight:700}
.title-2{position:absolute;top:34%;left:8%;right:8%;font-size:29px;font-weight:700}
.title-3{position:absolute;top:76%;left:8%;right:8%;font-size:21px}
.title-4{position:absolute;top:81%;left:8%;right:8%;font-size:17px}
.title-5{position:absolute;top:86%;left:8%;right:8%;font-size:17px}
.title-6{position:absolute;top:89%;left:8%;right:8%;font-size:17px}
.title-7{position:absolute;top:92%;left:8%;right:8%;font-size:17px}
.titlepage.pirvits .title-0{top:15%}
.titlepage.pirvits .title-1{top:27%}
.titlepage.pirvits .title-2{top:32%}
.titlepage.pirvits .title-3{top:37%;font-size:25px}
.titlepage.pirvits .title-4{top:55%;font-size:17px}
.titlepage.pirvits .title-5{top:76%}
.titlepage.pirvits .title-6{top:82%}
.titlepage.pirvits .title-7{top:87%}
.contentspage .orth{padding:13% 11% 10%}
.contentspage h2{text-transform:uppercase;letter-spacing:.08em;margin:0 0 35px}
.printed-contents{display:flex;flex-direction:column;gap:4px}
.toc-row{display:flex;align-items:baseline;gap:.4em;color:inherit;text-decoration:none;font:14px/1.12 OldStandard,Georgia,serif}
.contentspage.passek .orth{padding-top:18%;padding-bottom:6%}
.contentspage.passek h2{margin-bottom:19px}
.contentspage.pirvits .orth{padding-top:29%}
.contentspage.pirvits .printed-contents{max-width:520px;margin:auto;gap:16px}
.contentspage.pirvits .toc-row{font-size:19px}
.toc-row span{flex:0 1 auto;min-width:0}.toc-row i{border-bottom:1px dotted #827667;flex:1;min-width:12px}.toc-row b{font-weight:400;flex:0 0 auto;white-space:nowrap}
.toc-row:hover,.contents-panel a:hover{text-decoration:underline;color:#315e50}
.scan-panel{display:none;width:700px;max-width:100%;flex:none}
.scan-panel img{display:block;width:100%;height:auto;background:white;box-shadow:0 9px 22px #0002}
.mode-continuous .leaf{min-height:1055px;height:auto}
.mode-continuous .leaf .orth{padding:46px 10% 18px;font-size:19px;line-height:1.5}
.mode-continuous .leaf .orth p{margin-bottom:.65em}
.mode-continuous .titlepage .orth{height:1055px;padding:0}
.mode-book .leaf,.mode-scan .leaf,.mode-compare .leaf{display:none}
.mode-book .leaf.active,.mode-compare .leaf.active{display:block}
.mode-book .prosepage .orth,.mode-compare .prosepage .orth{min-height:1055px;display:flex;flex-direction:column}
.mode-book .prosepage .footnotes,.mode-compare .prosepage .footnotes{margin-top:auto}
.mode-scan .book{display:none}
.mode-scan .scan-panel,.mode-compare .scan-panel{display:block}
.mode-compare{flex-wrap:wrap}
.mode-compare .book,.mode-compare .scan-panel{width:700px}
#contents-panel{border:1px solid #c5b9a7;border-radius:8px;background:#fffdf7;color:#2a241d;box-shadow:0 14px 70px #0006;width:min(780px,calc(100vw - 30px));max-height:85vh;padding:18px 24px}
#contents-panel::backdrop{background:#0007}
#contents-panel .contents-top{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-18px;background:#fffdf7;padding:8px 0;border-bottom:1px solid #ddd1bf}
#contents-panel h2{margin:0;font:24px OldStandard,Georgia,serif}
#contents-panel nav{display:flex;flex-direction:column}
#contents-panel a{padding:8px 0;border-bottom:1px solid #eee6db;color:#315e50;text-decoration:none;font:17px/1.25 OldStandard,Georgia,serif}
#contents-panel small{color:#756b5d;font:11px system-ui;margin-left:.5em}
.bottom-dock{position:fixed;left:0;right:0;bottom:12px;z-index:50;display:flex;justify-content:space-between;align-items:flex-end;padding:0 18px;pointer-events:none}
.bottom-dock button{pointer-events:auto;background:#fffdf8;border:1px solid #b8a992;box-shadow:0 3px 12px #0003;min-width:44px;min-height:44px;border-radius:8px;color:#24392f}
.bottom-dock .return-contents{padding:10px 14px;background:#315e50;color:#fff}
.bottom-dock .return-contents[hidden]{visibility:hidden}
.quick-nav{display:flex;flex-direction:column;gap:7px;margin-left:auto}
.quick-nav button{font-size:22px;line-height:1}
@media(max-width:740px){.site-head{padding:7px 10px}.site-head h1{font-size:16px}.site-head small{font-size:10px}.toolbar{justify-content:flex-start;gap:4px;padding:5px}.toolbar button,.toolbar select{padding:5px 6px;min-height:34px;font-size:12px}.toolbar select{max-width:130px}#status{display:none}.reader{padding:10px 8px 95px}.orth{font-size:16px;line-height:1.3}.mode-continuous .leaf .orth{font-size:16.5px;padding:28px 7% 12px}.titlepage .orth{height:calc((100vw - 18px)*1.5)}.leaf{min-height:calc((100vw - 18px)*1.5)}.title-0{font-size:16px}.title-1,.title-2{font-size:20px}.title-3{font-size:17px}.title-4,.title-5,.title-6{font-size:14px}.contentspage .orth{padding:16% 8% 10%}.toc-row{font-size:14px}.bottom-dock{bottom:0;background:#f8f3e9e8;padding:5px 8px}.quick-nav{flex-direction:row}.quick-nav button{width:42px;height:42px}.bottom-dock .return-contents{font-size:12px;padding:5px 9px;min-height:42px}}
@media(max-width:740px){.mode-book .prosepage .orth,.mode-compare .prosepage .orth{min-height:calc((100vw - 18px)*1.5)}}
@media(max-width:740px){body.library-reader>header.site-head{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;padding:12px 14px!important;gap:9px!important}body.library-reader>header.site-head>.global-library-brand{grid-column:1;grid-row:1;max-width:100%!important;white-space:normal!important;font-size:clamp(16px,4.5vw,20px)!important}body.library-reader>header.site-head>.global-library-brand img{width:40px;height:40px}body.library-reader>header.site-head>.hn-tools{grid-column:2;grid-row:1}body.library-reader>header.site-head>div:not(.global-library-menu){grid-column:1/-1;grid-row:2}body.library-reader>header.site-head>div:not(.global-library-menu) h1{padding-right:0}body.library-reader>header.site-head>.global-library-menu{grid-column:1;grid-row:3;justify-self:start}body.library-reader>header.site-head>a:not(.global-library-brand){grid-column:2;grid-row:3;justify-self:end;white-space:nowrap}.mode-continuous .leaf{min-height:calc((100vw - 18px)*1.5)}.mode-continuous .titlepage .orth{height:calc((100vw - 18px)*1.5)}}
