@font-face { font-family: "Old Standard"; src: url("/__dataset/f9b9cdf42500dcce613e54d6474279c0e6981be21d07f47649ee0ba5d6260881/static/library/658ad49bb71d32c5190356d910dc4d3390643d28322e7f4cf688e7f81fd31d23/OldStandard-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url("/__dataset/f9b9cdf42500dcce613e54d6474279c0e6981be21d07f47649ee0ba5d6260881/static/library/b0cdedb093f2b0b4a43f3dae0a988af2c9da1a8a675e4d96fb1a1c6fb38e71a3/OldStandard-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url("/__dataset/f9b9cdf42500dcce613e54d6474279c0e6981be21d07f47649ee0ba5d6260881/static/library/0aec1efb5349c84960477ca368e802d22c5900112c2c7d3219ee123f256d8f82/OldStandard-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@scope (.library-edition) {




:scope {
  --paper: #f6f1e7;
  --ink: #23201b;
  --muted: #7a7264;
  --rule: #d9d0bf;
  --accent: #8a2f1d;
  --card: #efe8d9;
  --scan-filter: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :scope:not([data-theme="light"]) {
    --paper: #181614;
    --ink: #e6dfd2;
    --muted: #9a9183;
    --rule: #3a352e;
    --accent: #d98c6a;
    --card: #221f1b;
    --scan-filter: brightness(.82) contrast(1.05);
    color-scheme: dark;
  }
}
:scope[data-theme="dark"] {
  --paper: #181614; --ink: #e6dfd2; --muted: #9a9183; --rule: #3a352e;
  --accent: #d98c6a; --card: #221f1b; --scan-filter: brightness(.82) contrast(1.05);
  color-scheme: dark;
}

* { box-sizing: border-box; }
:scope { -webkit-text-size-adjust: 100%; }
:scope {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Old Standard", "Bodoni 72", Didot, Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  font-variant-numeric: oldstyle-nums;
}
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: .18em; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }

/* running head */
.run {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  max-width: 40rem; margin: 0 auto; padding: 1.1rem 16px .6rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
.run a { text-decoration: none; }

/* reading */
.piece { max-width: 40rem; margin: 0 auto; padding: 2.6rem 16px 1rem; position: relative; }
.piece h1 {
  font-weight: 700; font-size: 1.45rem; line-height: 1.3; text-align: center;
  margin: 0 0 .4rem; letter-spacing: .01em;
}
.piece h1 .no { font-weight: 400; color: var(--muted); }
.group {
  text-align: center; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.4rem;
}
.by { text-align: center; font-style: italic; color: var(--muted); font-size: .95rem; margin: 0 0 .6rem; }
.text { margin-top: 1.8rem; position: relative; }
.text p { margin: 0; text-indent: 1.5em; hyphens: auto; -webkit-hyphens: auto; text-align: justify; }
.text p.vl { text-indent: 0; text-align: left; padding-left: 3em; }
.verse { display: table; margin-left: auto; margin-right: auto; }
.text .stanza { text-indent: 0; text-align: left; margin: 0 0 1em; }
.stanza .l { display: block; padding-left: 1.5em; text-indent: -1.5em; }
.stanza .l.in { padding-left: 3em; }

/* folios in the margin */
.pg {
  position: absolute; right: calc(100% + .9rem); font-size: .72rem; line-height: 2.2;
  color: var(--muted); text-decoration: none; text-indent: 0; font-variant-numeric: lining-nums;
  letter-spacing: .04em; white-space: nowrap;
}
.pg::before { content: "s. "; }
.text p, .stanza .l, .notes p { position: relative; }
.stanza .l .pg { right: calc(100% + .9rem); }
.stanza .l.in .pg { right: calc(100% + .9rem); }
.text > .pg.first { top: 0; }

.gloss, .notes {
  margin-top: 2rem; padding-top: .8rem; border-top: 1px solid var(--rule);
  font-size: .82rem; color: var(--muted);
}
.gloss p, .notes p { margin: 0 0 .25rem; }

/* prev / next */
.pn {
  display: flex; justify-content: space-between; gap: 1rem;
  max-width: 40rem; margin: 2.5rem auto 3rem; padding: 1rem 16px 0; border-top: 1px solid var(--rule);
  font-size: .9rem;
}
.pn a { text-decoration: none; max-width: 48%; }
.pn a[rel="next"] { text-align: right; margin-left: auto; }
.pn span { color: var(--muted); }

/* contents */
.contents { max-width: 40rem; margin: 0 auto; padding: 2.4rem 16px 1rem; }
.contents h1, .home h1 { font-weight: 400; text-align: center; font-size: 2rem; letter-spacing: .06em; margin: 0 0 2rem; }
.contents h2 {
  font-weight: 400; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase;
  text-align: center; color: var(--muted); margin: 2.4rem 0 1rem;
}
.toc { list-style: none; margin: 0; padding: 0; }
.toc li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem;
  padding: .28rem 0; border-bottom: 1px dotted var(--rule);
}
.toc li a { text-decoration: none; }
.toc .no { display: inline-block; min-width: 2.4em; color: var(--muted); font-variant-numeric: lining-nums; font-size: .9em; }
.toc .by { grid-column: 1; grid-row: 2; text-align: left; margin: 0; font-style: italic; color: var(--muted); font-size: .82rem; padding-left: 2.9em; }
.toc .pg { position: static; grid-column: 2; grid-row: 1; line-height: inherit; font-size: .85rem; }
.toc .pg::before { content: none; }
.toc li.grp { display: block; border-bottom: none; padding-top: .9rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toc.front { margin-bottom: 1rem; }
.src { max-width: 40rem; margin: 3rem auto 3rem; padding: 0 16px; font-size: .8rem; color: var(--muted); text-align: center; }
.src a { text-decoration: none; }

/* home */
.home { max-width: 60rem; margin: 0 auto; padding: 3.5rem 16px 4rem; }
.home h1 { margin-bottom: .5rem; font-size: 2.3rem; }
.author { text-align: center; letter-spacing: .24em; text-transform: uppercase; font-size: .85rem; color: var(--muted); margin: 0 0 3rem; }
.vols { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1.6rem 1.2rem; }
.vols a, .vols li.off { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.vols img, .vols .ph {
  width: 100%; aspect-ratio: 3 / 5; object-fit: cover; background: var(--card);
  box-shadow: 0 1px 0 var(--rule), 0 8px 24px -14px rgba(0,0,0,.45); filter: var(--scan-filter);
}
.vols .part { margin-top: .8rem; font-size: 1.05rem; }
.vols .yr { color: var(--muted); font-size: .85rem; font-variant-numeric: lining-nums; }
.vols li.off { opacity: .45; }

/* page viewer */
.viewer-page .run { max-width: none; }
.vnav { display: flex; align-items: center; gap: .9rem; }
.vnav button {
  font: inherit; font-size: 1rem; background: none; border: 1px solid var(--rule); color: var(--ink);
  border-radius: 999px; width: 2.1rem; height: 2.1rem; cursor: pointer; line-height: 1;
}
.vnav button:hover { border-color: var(--accent); color: var(--accent); }
#label { min-width: 3.5em; text-align: center; font-variant-numeric: lining-nums; letter-spacing: .08em; }
.viewer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 1.2rem 16px 3rem; max-width: 84rem; margin: 0 auto; }
.viewer figure { margin: 0; position: sticky; top: 1rem; align-self: start; }
.viewer img { width: 100%; height: auto; max-height: calc(100vh - 6rem); object-fit: contain; display: block; background: var(--card); filter: var(--scan-filter); }
#on { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1.2rem; font-size: .9rem; }
#on a { text-decoration: none; color: var(--accent); }
#ptext p { margin: 0; font-size: .95rem; line-height: 1.5; }
#ptext p.heading, #ptext p.section, #ptext p.group { font-weight: 700; text-align: center; margin: .6rem 0 .3rem; }
#ptext p.gloss { font-size: .8rem; color: var(--muted); }
@media (max-width: 760px) {
  :scope { font-size: 18px; }
  .viewer { grid-template-columns: 1fr; gap: 1.2rem; }
  .viewer figure { position: static; }
  .viewer img { max-height: none; }
  .pg { position: static; display: inline-block; margin-right: .4em; line-height: 1; vertical-align: baseline; }
  .pg::before { content: "["; }
  .pg::after { content: "]"; }
  .text > .pg.first { display: block; margin-bottom: .4rem; }
  .verse { display: block; }
}
.text:not(.verse) .stanza { margin: .6em 0 .6em 2.5em; }

/* lesebok additions */
.piece .sub { text-align: center; font-size: 1.05rem; margin: 0 0 .5rem; }
.text h3 { font-size: 1.05rem; font-weight: 700; text-align: center; margin: 1.6rem 0 .6rem; position: relative; }
.text p.attr { text-indent: 0; text-align: right; font-size: .95rem; margin: .4rem 0 1rem; }
.text p.other, .text p.cap { text-indent: 0; text-align: center; }
.text p + p.other { margin-top: .4rem; }
.text figure { margin: 1.4rem auto; max-width: 100%; position: relative; }
.text figure img { display: block; width: 100%; height: auto; filter: var(--scan-filter); }
.text figcaption, .text p.cap { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.notes p { text-indent: 0; }
.contents h1 .part { display: block; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .6rem; color: var(--muted); }
.contents .author { margin-bottom: 2.4rem; }
.series { margin: 0 0 3.4rem; }
.series h2 { font-weight: 400; text-align: center; font-size: 1.35rem; letter-spacing: .04em; margin: 0 0 .3rem; }
.series .author { margin-bottom: 1.8rem; }
#ptext p.heading { font-weight: 700; text-align: center; margin: .6rem 0 .3rem; }
#ptext p.verse { white-space: pre-line; margin: 0 0 .6rem 1.2rem; }
#ptext p.prose { text-indent: 1.2em; }
#ptext p.attribution { text-align: right; font-style: italic; }
#ptext p.footnote { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
#ptext p.contents_entry { display: flex; justify-content: space-between; gap: 1rem; }
#ptext p.other, #ptext p.caption { text-align: center; }

p.contents-row { display: flex; justify-content: space-between; gap: 1em; text-align: left; text-indent: 0; break-inside: avoid; }
p.contents-row .locator { white-space: nowrap; margin-left: auto; padding-left: .8em; }
p.other { white-space: pre-line; }

.toc .pg::before, .toc .pg::after { content: none; }
@media (max-width: 680px) { .pg.inferred::before, .pg.inferred::after { content: none; } }

a.noteref, a.noteback { color: inherit; text-decoration: none; }
a.noteref:hover, a.noteback:hover { text-decoration: underline; }
a.noteref:focus-visible, a.noteback:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

p.chronology-row { display: grid; grid-template-columns: minmax(0, 1fr) 3.5em; column-gap: .7em; text-align: left; text-indent: 0; margin: .3em 0; break-inside: avoid; }
p.chronology-row .entry { padding-left: 1em; text-indent: -1em; }
p.chronology-row .year { text-align: right; white-space: nowrap; }
p.chronology-prose { text-align: left; text-indent: 0; margin: .3em 0; }
/* source-bound small type (petit) from reviewed typographic annotations */
span.petit, .text p.other.petit { font-size: .86em; }
/* headings keep their hierarchy: 0.86 x each element's own normal size, out-ranking the base rule */
.piece h1.petit { font-size: calc(1.45rem * .86); }
.text h3.petit { font-size: calc(1.05rem * .86); }
.piece .group.petit { font-size: calc(.95rem * .86); }

}
