*{box-sizing:border-box}
html{scroll-padding-top:70px}
/* "locl" off: EB Garamond otherwise draws u as v for lang=la */
body{--lgrid:110px 2em minmax(0,1fr) 110px;--lgap:10px;--tcol:3;margin:0;background:var(--bg);color:var(--ink);font-family:var(--serif);font-size:17px;line-height:1.45;font-feature-settings:"locl" 0}
a{color:inherit}

/* the bar: back and title | search | scan in view | display options | scan beside it | light/dark.
   Below 1250px the display options fold into a "Weergave" menu (reader.js opens it). */
.bar{position:sticky;top:0;z-index:10;display:flex;gap:8px;align-items:center;
  padding:8px 16px;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(6px);
  border-bottom:1px solid var(--rule);font-family:var(--sans);font-size:13px}
/* brand = emblem + name, as on the start page; the name shrinks away with the width of the bar */
.bar .brand{display:inline-flex;align-items:center;gap:7px;flex:none;min-width:0;padding:4px 8px 4px 4px;border-radius:8px;text-decoration:none;color:var(--ink)}
.bar .brand:hover{background:var(--paper)}
.bar .tocomm{flex:none;font:600 13px var(--sans);text-decoration:none;color:var(--accent);border:1px solid var(--accent);border-radius:8px;padding:4px 9px;white-space:nowrap}
.bar button.tocomm{background:none;cursor:pointer}
#otherspane{position:fixed;top:56px;right:10px;bottom:10px;width:min(360px,92vw);z-index:60;overflow-y:auto;background:var(--paper);color:var(--ink);border:1px solid var(--rule);border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.18);padding:0 14px 12px;font:14px var(--sans)}
#otherspane header{position:sticky;top:0;background:var(--paper);display:flex;justify-content:space-between;align-items:center;padding:10px 0 6px;border-bottom:1px solid var(--rule)}
#otherspane .x{border:0;background:none;font:20px/1 var(--sans);color:var(--muted);cursor:pointer;width:auto;padding:0 4px}
#otherspane h3{font:600 15px var(--sans);margin:12px 0 4px}
#otherspane h3 .n{font-weight:400;font-size:12.5px;color:var(--muted)}
#otherspane ul{list-style:none;margin:0;padding:0}
#otherspane li{padding:3px 0;border-top:1px dotted var(--rule)}
#otherspane a{color:var(--accent);text-decoration:none}
#otherspane a:hover{text-decoration:underline}
#otherspane .ocr{font-size:11px;color:var(--muted);border:1px solid var(--rule);border-radius:4px;padding:0 4px}
#otherspane .note,#otherspane .msg,#otherspane .more{font-size:12.5px;color:var(--muted);margin:10px 0 0}
.bar .brand img{display:block;flex:none;height:28px;width:auto}
.bar .brand b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.01em}
@media (max-width:900px){.bar .brand b{display:none}}
@media (max-width:600px){.bar .brand{padding:4px;gap:2px}.bar .brand img{height:24px}.bar .brand::before{content:"‹";font-size:18px;line-height:1;align-self:center}}
.bar .title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--serif);font-size:18px;font-weight:600;white-space:nowrap;text-decoration:none}
.bar button{font:inherit;color:var(--ink);cursor:pointer}
.bar :focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.ico{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}

/* search: one field with the count and the arrows in it */
.find{display:flex;align-items:center;gap:2px;height:32px;padding:0 3px 0 9px;border:1px solid var(--rule);border-radius:8px;background:var(--paper);color:var(--muted)}
.find:focus-within{border-color:var(--accent)}
#q{width:180px;min-width:0;border:0;outline:0;background:none;color:var(--ink);font:inherit;padding:0 4px}
#hits{white-space:nowrap;font-size:12px;padding:0 4px}
#hits:empty{display:none}
.find button{width:26px;height:26px;border:0;border-radius:6px;background:none;padding:0}
.find button:hover:not(:disabled){background:var(--bg)}
.find button:disabled{color:var(--rule);cursor:default}

/* the scan in view, also a field to jump to another */
.goto{display:flex;align-items:center;gap:5px;height:32px;padding:0 9px;border:1px solid var(--rule);border-radius:8px;background:var(--paper);color:var(--muted);white-space:nowrap;cursor:text}
.goto:focus-within{border-color:var(--accent)}
#go{width:4.2ch;border:0;outline:0;background:none;color:var(--ink);font:600 13px var(--sans);text-align:right;padding:0;-moz-appearance:textfield;appearance:textfield}
#go::-webkit-inner-spin-button,#go::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

/* choices of one: segmented buttons, the chosen one filled */
.opts{display:flex;align-items:center;gap:8px}
.seg{display:flex;height:32px;padding:2px;border:1px solid var(--rule);border-radius:8px;background:var(--paper)}
.seg button{border:0;border-radius:6px;background:none;padding:0 10px;color:var(--muted);white-space:nowrap}
.seg button:hover{color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.seg:has(button:only-child){display:none}
/* the translation beside the Latin: named in the bar, the chosen one in the accent with a tick */
#lang{align-items:center}
/* its name stands before the white box, not in it; in the folded menu the box's ::before names it */
.seglbl{margin-right:-2px;font-size:12px;color:var(--muted);white-space:nowrap}
.seglbl:has(+.seg button:only-child){display:none}
#lang button{display:flex;align-items:center;gap:5px;align-self:stretch}
#lang button small{font-size:11px;opacity:.75}
#lang button[aria-pressed="true"]{background:var(--accent);color:var(--paper)}
#lang button[aria-pressed="true"]::before{content:"✓";font-size:12px}
/* on/off: a switch */
.sw{display:flex;align-items:center;gap:7px;height:32px;padding:0 4px;cursor:pointer;white-space:nowrap;color:var(--ink)}
.sw input{position:absolute;opacity:0;pointer-events:none}
.sw i{position:relative;width:28px;height:16px;border-radius:8px;background:var(--rule);transition:background .15s}
.sw i::after{content:"";position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:var(--paper);box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.sw input:checked+i{background:var(--accent)}
.sw input:checked+i::after{transform:translateX(12px)}
.sw input:focus-visible+i{outline:2px solid var(--accent);outline-offset:2px}
.sw.off{opacity:.45;cursor:default}
.sw[hidden]{display:none}
/* a button that stays on */
.tog{display:flex;align-items:center;gap:6px;height:32px;padding:0 11px;border:1px solid var(--rule);border-radius:8px;background:var(--paper);white-space:nowrap}
.tog:hover{border-color:var(--muted)}
.tog[aria-pressed="true"]{background:var(--accentbg);border-color:var(--accent);color:var(--accent)}
.icon{width:32px;height:32px;flex:none;border:1px solid var(--rule);border-radius:8px;background:var(--paper);font-size:15px;padding:0}
/* the light/dark switch: themeIcon() puts a sun or a moon in it; centred in the square button */
.icon#theme{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.icon#theme svg{display:block}
.icon:hover,.optsbtn:hover{border-color:var(--muted)}
.optsbtn{display:none;height:32px;padding:0 11px;border:1px solid var(--rule);border-radius:8px;background:var(--paper);white-space:nowrap}
.optsbtn[aria-expanded="true"]{border-color:var(--ink)}
@media (max-width:1250px){
  .optsbtn{display:block}
  .bar{position:sticky}
  .opts{display:none;position:absolute;top:calc(100% + 4px);right:16px;z-index:11;flex-direction:column;align-items:stretch;gap:14px;
    min-width:240px;padding:14px;border:1px solid var(--rule);border-radius:10px;background:var(--paper);box-shadow:0 8px 24px rgba(0,0,0,.18)}
  body.optsopen .opts{display:flex}
  .opts .seg{flex-wrap:wrap;height:auto;border:0;padding:0;background:none;gap:4px}
  .opts .seg::before{content:attr(aria-label);flex-basis:100%;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
  .opts .seg button{flex:1;justify-content:center;height:32px;border:1px solid var(--rule)}
  .opts .seg button[aria-pressed="true"]{border-color:var(--ink)}
  .opts .seglbl{display:none}
  .opts #lang button[aria-pressed="true"]{border-color:var(--accent)}
}

.wrap{--tocw:var(--tocw0,240px);position:relative;display:grid;grid-template-columns:var(--tocw) minmax(0,1fr);gap:28px;max-width:1500px;margin:0 auto;padding:24px 16px}
nav.toc{position:sticky;top:70px;align-self:start;max-height:calc(100vh - 90px);overflow:auto;font-family:var(--sans);font-size:13px;
  padding:10px;border:1px solid color-mix(in srgb,#6b4a2a 25%,var(--bg));border-radius:6px;background:color-mix(in srgb,#6b4a2a 14%,var(--bg))}
/* the handle in the gap right of the contents; reader.js sets --tocw0 (not remembered) */
.tocgrip{position:absolute;top:24px;bottom:24px;left:calc(16px + var(--tocw) + 7px);width:14px;cursor:col-resize;touch-action:none;z-index:2}
.tocgrip i{position:absolute;left:5px;top:50%;width:4px;height:44px;margin-top:-22px;border-radius:2px;background:var(--rule);transition:background .1s}
.tocgrip:hover i,body.tocdrag .tocgrip i{background:var(--accent)}
body.notoc .tocgrip{display:none}
body.tocdrag{cursor:col-resize;user-select:none}
/* the contents fold away to a narrow strip; reader.js remembers it */
.toch{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0 0 8px;padding:4px 6px;
  border:0;border-radius:4px;background:none;color:var(--muted);cursor:pointer;
  font:600 11px var(--sans);text-transform:uppercase;letter-spacing:.08em}
.toch:hover{background:var(--paper);color:var(--ink)}
.toch i{font:400 16px/1 var(--sans);transition:transform .15s}
.toch .burger{font:400 16px/1 var(--sans);margin-right:2px}
.toch span{flex:1;text-align:left}
body.notoc .toch .burger{order:-2;margin:0}
/* beside it the arrow that unfolds everything: the translated titles and all sub-entries (reader.js) */
.tochrow{display:flex;align-items:center;gap:2px;margin:0 0 8px}
.tochrow .toch{flex:1;margin:0}
.tocall{flex:none;width:26px;height:24px;border:0;border-radius:4px;background:none;padding:0;color:var(--muted);font:400 13px/1 var(--sans);cursor:pointer;transition:transform .15s}
.tocall:hover{background:var(--paper);color:var(--ink)}
.tocall[aria-expanded="true"]{transform:rotate(180deg)}
.tocall[hidden],body.notoc .tocall{display:none}
body.notoc .wrap{--tocw:28px}
body.notoc #tocbody{display:none}
body.notoc nav.toc{background:none;border:0;padding:0}
body.notoc .toch{flex-direction:column;justify-content:flex-start;width:28px;padding:8px 0;border:1px solid color-mix(in srgb,#6b4a2a 25%,var(--bg));border-radius:6px;background:color-mix(in srgb,#6b4a2a 14%,var(--bg))}
body.notoc .toch span{writing-mode:vertical-rl}
body.notoc .toch i{transform:rotate(180deg);order:-1}

/* the scanned PDF in a third column, held in view while the text scrolls */
/* the text keeps at least 360px: a saved width gives way in a smaller window */
body.pdf .wrap{grid-template-columns:var(--tocw) minmax(360px,1fr) minmax(280px,var(--pdfw,44%));max-width:none}
.pdfpane{position:sticky;top:62px;align-self:start;height:calc(100vh - 78px);display:flex;flex-direction:column;
  border:1px solid var(--rule);border-radius:4px;background:var(--paper)}
.pdfview{border-radius:0 0 4px 4px}
/* the handle in the gap left of the panel (on a phone: above it); reader.js sets --pdfw / --pdfh */
.pdfgrip{position:absolute;left:-18px;top:0;bottom:0;width:14px;cursor:col-resize;touch-action:none;z-index:2}
.pdfgrip::after{content:"";position:absolute;left:5px;top:50%;width:4px;height:44px;margin-top:-22px;border-radius:2px;background:var(--rule);transition:background .1s}
.pdfgrip:hover::after,body.pdfdrag .pdfgrip::after{background:var(--accent)}
body.pdfdrag{cursor:col-resize;user-select:none}
body.pdfdrag .pdfview{pointer-events:none}
.pdfbar{display:flex;align-items:center;gap:6px;padding:5px 8px;border-bottom:1px solid var(--rule);font:12px var(--sans);color:var(--muted)}
#pdfat{min-width:58px;text-align:center}
.pdfbar a{color:var(--accent);text-decoration:none;margin-left:auto}
.pdfbar button{font:inherit;border:0;background:none;color:var(--muted);cursor:pointer;padding:2px 6px;border-radius:4px}
.pdfbar button:hover{background:var(--bg);color:var(--ink)}
.pdfbar button{font-size:14px}
.pdfview{flex:1;overflow:auto;background:#525659;padding:8px}
.pdfview canvas{display:block;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.4)}
/* the scan of the Opera Calvini over the book's (reader.js) */
.pdfstage{flex:1;position:relative;min-height:0}
.pdfstage>.pdfview{position:absolute;inset:0}
/* the line and the word in both texts instead of the green of a sentence */
body.ocpair .tr .on,body.ocpair .l.on .t{background:none;box-shadow:none}
body.ocpair .l.nobox .t{background:rgba(255,200,0,.28)}
body.ocpair .t::highlight(seg){background-color:transparent}
/* a word close up under the scan (reader.js: z) */
.closeup{position:relative;flex:none;border-top:1px solid var(--rule)}
.cugrip{position:absolute;left:0;right:0;top:-6px;height:12px;cursor:row-resize;touch-action:none;z-index:2}
.cugrip::after{content:"";position:absolute;left:50%;top:4px;width:44px;height:4px;margin-left:-22px;border-radius:2px;background:var(--rule);transition:background .1s}
.cugrip:hover::after{background:var(--accent)}
.cubar{display:flex;align-items:center;gap:8px;padding:3px 8px;font:12px var(--sans);color:var(--muted)}
.cubar b{font:400 17px/1.2 var(--serif);font-feature-settings:"locl" 0;color:var(--ink)}
.cubar button{font:inherit;font-size:14px;border:0;background:none;color:var(--muted);cursor:pointer;padding:2px 6px;border-radius:4px}
.cubar button:hover{background:var(--bg);color:var(--ink)}
#culess{margin-left:auto}
.cubar button:disabled{opacity:.4;cursor:default}
.cushot{height:136px;background:#fff;overflow:hidden;display:flex;flex-direction:column;gap:4px}
.cushot .pdfmsg{color:#555}
.culine{position:relative;flex:none;max-width:100%}
.culine canvas{display:block;width:100%;height:100%}
/* the word of the close-up, in the text and on the scan */
::highlight(word),::highlight(ocword){background-color:var(--word);color:#1c1c1c}
::highlight(ocline){background-color:rgba(255,200,0,.28)}
.wmark{position:absolute;background:var(--word);opacity:.7;border-radius:2px;mix-blend-mode:multiply;pointer-events:none}
/* the cogwheel's menu (reader.js) */
.setmenu{position:absolute;top:calc(100% + 4px);right:16px;z-index:11;width:270px;max-width:calc(100vw - 32px);max-height:calc(100vh - 80px);overflow:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:12px 14px 10px;background:var(--paper);color:var(--ink);border:1px solid var(--rule);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.18);font:13px var(--sans)}
#setbtn{display:inline-flex;align-items:center;justify-content:center;padding:0}
#setbtn[aria-expanded="true"]{border-color:var(--ink)}
.setmenu[hidden]{display:none}
.setmenu .sw{height:30px;margin:0 -6px;padding:0 6px;border-radius:6px}
.setmenu .sw:not(.off):hover{background:var(--bg)}
.setpart{display:flex;flex-direction:column;gap:10px}
.setpart[hidden]{display:none}
#setscan{padding-top:10px;border-top:1px solid var(--rule)}
body.scanonly #setview{display:none}
body.scanonly #settoc{display:none}
#tocsrc{width:100%;box-sizing:border-box;padding:4px 6px;font:inherit;color:inherit;background:var(--paper);border:1px solid var(--rule);border-radius:4px}
.setmenu h2{margin:0;font:600 11px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.setrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.setcolours{display:flex;gap:6px}
.setcolours button{width:22px;height:22px;padding:0;border:1px solid rgba(0,0,0,.25);border-radius:50%;cursor:pointer}
.setcolours button[aria-pressed="true"]{outline:2px solid var(--ink);outline-offset:1px}
.setstep{display:flex;align-items:center;gap:4px}
.setstep button{width:26px;height:26px;padding:0;font:14px var(--sans);border:1px solid var(--rule);border-radius:6px;background:var(--bg);color:var(--ink);cursor:pointer}
.setstep button:hover:not(:disabled){border-color:var(--muted)}
.setstep button:disabled{opacity:.4;cursor:default}
#setfmt{padding-top:10px;border-top:1px solid var(--rule)}
body.scanonly #setfmt{display:none}
.setsub{display:flex;flex-direction:column;gap:10px;margin:-4px 0 0 14px;padding-left:8px;border-left:2px solid var(--rule)}
.setstep output{min-width:52px;text-align:center;font-variant-numeric:tabular-nums}
.setreset{align-self:flex-start;padding:4px 0;font:12px var(--sans);border:0;background:none;color:var(--accent);cursor:pointer;text-decoration:underline}
.sheet{position:relative}
.marks{position:absolute;inset:0;pointer-events:none}
.marks div{position:absolute;background:rgba(255,208,0,.4);border-radius:2px;mix-blend-mode:multiply}
/* a whole sentence (reader.js): green as in the text, one even tint where the lines' boxes overlap */
.marks.sent{opacity:.4;mix-blend-mode:multiply}
.marks.sent div{background:#6fa83f;mix-blend-mode:normal}
/* the same line in the text, while the scan is open (reader.js) */
.l.pm .t{background:rgba(255,200,0,.28);box-shadow:0 0 0 2px rgba(255,200,0,.28);border-radius:2px;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
.pdfmsg{margin:16px;color:#e8e8e8;font:13px var(--sans)}
.pdfmsg a{color:inherit}
nav.toc ol{list-style:none;margin:0;padding:0}
nav.toc a{display:flex;justify-content:space-between;gap:8px;padding:4px 24px 4px 6px;border-radius:4px;text-decoration:none}
nav.toc a:hover{background:var(--paper)}
nav.toc a.here{font-weight:700}
nav.toc a>span{position:relative;display:block;padding-left:2.6em}
nav.toc .tn{position:absolute;left:0;color:var(--accent);font-weight:400;font-variant-numeric:tabular-nums}
nav.toc .tt{font-family:var(--serif);font-size:1.2em;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
nav.toc small{color:var(--muted);white-space:nowrap}
nav.toc em.tr{display:none;margin-top:1px;font-style:normal;font-weight:400;font-size:calc(1em - 1px);line-height:1.35;color:var(--muted)}
body.tocopen nav.toc em.tr{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
nav.toc li.sub{position:relative}
nav.toc li.sub>ol{padding-left:12px;font-size:12.5px}
nav.toc ol.plain a>span,nav.toc ol.plain ol a>span{padding-left:0}
#tocq{width:100%;box-sizing:border-box;margin:0 0 6px;padding:4px 6px;font:inherit;font-size:13px;color:inherit;background:var(--paper);border:1px solid var(--rule);border-radius:4px}
#tocnone{color:var(--muted);font-size:12.5px}
nav.toc li.none{color:var(--muted);font-size:12.5px;line-height:1.5;list-style:none}
nav.toc .tw{border:0;background:none;padding:0;cursor:pointer;color:var(--muted);font:inherit;font-size:15px;
  line-height:1;position:absolute;right:3px;top:5px;transition:transform .15s}
nav.toc .tw[aria-expanded="true"]{transform:rotate(90deg)}
nav.toc .tw:hover{color:inherit}
.stats{color:var(--muted);margin:14px 0 0;line-height:1.6}
.intro .stats{font:13px var(--sans);margin:2px 0 0}
.intro p[hidden]{display:none}

main{min-width:0;container-type:inline-size}
.intro{display:flex;gap:28px;align-items:flex-start;margin:0 0 24px}
.intro h1{font-size:34px;line-height:1.1;margin:0 0 6px;font-weight:600}
.intro p{margin:0;color:var(--muted)}
/* a work in volumes: the volume after the title, and the volumes to go to */
.intro h1 .vol{font-weight:400;color:var(--muted)}
.intro .vols{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0 8px;font:13px var(--sans)}
.intro .vols span{color:var(--muted);margin-right:2px}
.intro .vols a{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border:1px solid var(--rule);border-radius:12px;color:var(--ink);text-decoration:none}
.intro .vols a:hover{border-color:var(--accent)}
.intro .vols a[aria-current]{background:var(--accentbg);border-color:var(--accent);font-weight:600}
.intro .vols i{width:8px;height:8px;border-radius:50%;flex:none}
.intro .vols i.st2{background:#d98a1c}.intro .vols i.st3{background:#3f8a3a}
.intro .vols i.st4{background:var(--opera)}.intro .vols i.st5{box-shadow:inset 0 0 0 2px var(--opera)}
.ocdot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--opera);margin-right:3px}
.tr small a{display:inline-block;padding:5px 3px}
.volsbox{margin:4px 0 8px;font:13px var(--sans)}
.volsbox summary{cursor:pointer;color:var(--muted);padding:4px 0}
.opring{display:inline-block;width:9px;height:9px;margin:0 5px 0 3px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--opera)}
.intro .volsbox .vols{display:block;columns:3 19em;column-gap:28px;margin:6px 0 10px}
.vg{break-inside:avoid;padding-bottom:12px}
.vg>b{display:block;padding:0 0 3px;border-bottom:1px solid var(--rule);font-weight:600;color:var(--ink)}
.vg ul{margin:3px 0 0;padding:0;list-style:none}
.intro .vols .vg a{display:flex;gap:7px;padding:2px 4px;border:0;border-radius:3px;line-height:1.3}
.intro .vols .vg a span{flex:none;min-width:2.5em;margin:0;text-align:right;font-variant-numeric:tabular-nums}
.intro .vols .vg a:hover{text-decoration:underline}
@media (max-width:640px){.vg ul a{min-height:32px;align-items:center}}
.intro .back{display:inline-block;font:13px var(--sans);color:var(--accent);text-decoration:none;margin:0 0 10px}

/* translation beside the transcription: per page one block per sentence (or the sentences
   starting on the same line), Latin left and translation right, both starting at the same height */
/* Both columns are exactly alike: equally wide, and in the line view the translation has the same
   grid as a Latin line (margin-note gutters, line-number column), so its text runs exactly as
   wide as the Latin. The rule between them is drawn in the gap, so it takes no width from either. */
.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;
  background:linear-gradient(var(--rule),var(--rule)) 50% 0/1px 100% no-repeat}
.pair+.pair .la,.pair+.pair .tr{padding-top:.45em}
body.trans:not(.read) .pair .tr{display:grid;grid-template-columns:var(--lgrid);column-gap:var(--lgap);align-content:start}
body.trans:not(.read) .pair .tr>*{grid-column:var(--tcol)}
.pair.head .tr{padding-bottom:4px}
/* the Opera Calvini line by line beside the Latin (ocRows); its lines are often a little longer, so it has room to spare */
.ocrow{display:block}
body.ocrows .pair:not(.head) .la{padding-right:1.6em}
body.ocrows:not(.read) .pair .tr>*{grid-column:var(--tcol)/-1}
body.trans{--lgrid:62px 2em minmax(0,1fr) 62px;--lgap:8px}
body.trans .page footer{padding-left:calc(70px + 2em);margin-right:calc(50% + 24px + 70px)}
body.trans.nomarg{--lgrid:0 2em minmax(0,1fr) 0}
.tr p{margin:0}
.tr u{text-decoration:underline solid #c23a2b 2px;text-decoration-skip-ink:none;text-underline-offset:2px}  /* solid: a wave does not show under one letter */
.tr small{font:11px var(--sans);color:var(--muted);white-space:nowrap}
.tr ins{text-decoration:underline dotted #8a8f98 2px;text-underline-offset:3px}  /* the prints differ: no slip of the transcription */
.tr s{text-decoration:underline solid #2f8f46 2px;text-decoration-skip-ink:none;text-underline-offset:2px}  /* the same letters, cut into words otherwise: no slip */
/* a translated heading has the level of its Latin line and is set exactly like it (.h1 .t etc. below) */
.tr h3{font-size:1em;font-weight:400;margin:0;text-align:center}
.tr .none{font-family:var(--sans);font-size:12px;color:var(--muted);font-style:italic}
.tr .lbl{font:600 10px var(--sans);text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.tr [data-k]{border-radius:2px;transition:background-color .1s}
.tr .on{background:var(--seg);box-shadow:0 0 0 2px var(--seg)}
.tr .hit{background:var(--hl)}
.tr .cur{outline:2px solid var(--accent);outline-offset:1px}
::highlight(seg){background-color:var(--seg)}
.l.on .t{background:var(--seg)}  /* without the Highlight API: whole lines */

.page{background:var(--paper);border:1px solid var(--rule);border-radius:4px;padding:18px 22px 14px;margin:0 0 22px;
  content-visibility:auto;contain-intrinsic-size:auto 1100px}
.page.bad{border-left:3px solid var(--flag)}
.skip{position:absolute;left:8px;top:-60px;z-index:30;padding:8px 12px;background:var(--paper);color:var(--ink);border:2px solid var(--accent);font:13px var(--sans)}
.skip:focus{top:8px}
.page:focus{outline:none}  /* focused after a jump from the scan field (reader.js), for a screen reader */
/* the set title page in place of the transcribed one (build_reader.py): its lines stay, hidden. Text in the page's ink,
   so it can be selected; the ornaments (and the pictures of an edition not yet built again) are black on white, printed onto the paper with multiply, inverted onto it with screen in the dark */
.page.tpage>:not(header):not(.tpfig){display:none}
.tpfig figure{margin:8px auto 4px;max-width:440px;width:100%;text-align:center}
.tpfig svg,.tpfig img{display:block;width:100%;height:auto;overflow:visible}
.tpfig text{font-variant-ligatures:none;font-kerning:none}
.tpfig image,.tpfig img{mix-blend-mode:multiply}
.tpfig figcaption{margin-top:6px;font:11px var(--sans);color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
:root[data-theme="dark"] :is(.tpfig image,.tpfig img){filter:invert(1) brightness(.9);mix-blend-mode:screen}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) :is(.tpfig image,.tpfig img){filter:invert(1) brightness(.9);mix-blend-mode:screen}}
body.read .page.tpage{margin:0 0 22px}
.page header{display:flex;align-items:baseline;gap:12px;border-bottom:1px solid var(--rule);padding-bottom:8px;margin-bottom:12px}
.idx{font-family:var(--sans);font-size:11px;color:var(--muted);text-decoration:none;white-space:nowrap}
.rh{flex:1;text-align:center;letter-spacing:.06em;font-size:15px}
.pn{font-weight:600}
.flag{font-family:var(--sans);font-size:11px;color:var(--flag);background:var(--flagbg);padding:2px 7px;border-radius:10px;cursor:help;white-space:nowrap}

/* line view */
.l{display:grid;grid-template-columns:var(--lgrid);column-gap:var(--lgap);align-items:baseline}
.n{grid-column:2;font-family:var(--sans);font-size:10px;color:var(--muted);text-align:right;user-select:none}
.t{grid-column:var(--tcol);padding-left:1.2em;text-indent:-1.2em}
.m{font-size:13px;line-height:1.25;color:var(--accent);font-style:italic}
.m b{font-style:normal}
.ml{grid-column:1;grid-row:1;text-align:right}
.mr{grid-column:4;grid-row:1}
.h1 .t,.tr h3.h1{font-size:1.45em;font-weight:600;letter-spacing:.04em;text-align:center;padding:.3em 0}
.h2 .t,.tr h3.h2{font-size:1.12em;font-weight:600;text-align:center}
.h3 .t,.tr h3.h3{font-style:italic;text-align:center}
.anchor{display:block}
.l.cwd .t{color:var(--muted)}
body.read .lines .l.cwd:not(.h1):not(.h2){display:none}  /* beats the display:inline below */
.l.hit .t{background:var(--hl);border-radius:2px}
.l.nobox .t{background:var(--seg);border-radius:2px}  /* hovered while the scan has no box for it */
.l.cur .t{outline:2px solid var(--accent);outline-offset:1px}
::highlight(find){background-color:var(--accent);color:var(--paper)}  /* the words of the hit in view (reader.js) */
.l.goal .t{background:var(--accentbg);box-shadow:-6px 0 0 var(--accent)}  /* the line a link from register.html points to */

.page footer{display:flex;justify-content:space-between;padding:8px 0 0 calc(120px + 2em);margin-right:120px;font-size:15px;color:var(--muted)}
.cw{margin-left:auto}
/* a printer's sign of abbreviation (ab_html): written out or as printed, the other on hover */
abbr.ab{text-decoration:underline dotted color-mix(in srgb,currentColor 35%,transparent);text-underline-offset:3px;cursor:help}
details.tn{margin-top:10px;font-family:var(--sans);font-size:12.5px;color:var(--muted)}
details.tn summary{cursor:pointer}
details.tn p{margin:6px 0 0;line-height:1.5}
details.front{margin:0 0 14px;font-family:var(--sans);font-size:12.5px;color:var(--muted)}
details.front summary{cursor:pointer;padding:4px 0;list-style:none}
details.front summary::before{content:"▸";display:inline-block;width:1em;transition:transform .15s}
details.front[open] summary::before{transform:rotate(90deg)}
details.front summary::-webkit-details-marker{display:none}

/* reading view: lines flow as running text */
body.read .lines{max-width:680px;margin:0 auto}
body.read .l:not(.h1):not(.h2):not(.h3){display:inline}
body.read .l .n{display:none}
body.read .t{padding-left:0;text-indent:0;border-left:0}
body.read .l:not(.h1):not(.h2):not(.h3) .t::after{content:" "}
body.read .l.j:not(.h1):not(.h2):not(.h3) .t::after{content:""}
/* the Latin alone: a paragraph (or a list entry) starts on a line of its own */
body.read:not(.trans) .l.p0:not(.wc):not(.h1):not(.h2):not(.h3)::before{content:"";display:block;margin-top:.35em}
body.read .hy{display:none}
/* the end of a word broken over a page or a block shows behind the line before it (wholeWords in reader.js) */
body.read .l.j:not(.h1):not(.h2):not(.h3) .t[data-wc]::after{content:attr(data-wc)}
body.read .ct{font-size:0}
/* a paragraph over a page break runs on in one block (flowPages in reader.js): the broken word is whole there */
body.read .l.fl .ct{font-size:inherit}
body.read .l.j.wcin:not(.h1):not(.h2):not(.h3) .t[data-wc]::after{content:""}
body.read .m{display:none}
/* a diagram written out as an outline (type="diagram", level = depth), also in the reading view */
.l.dg .t{--step:2em;display:block;margin-left:.2em;padding:2px 0 2px calc(.7em + (var(--dg,1) - 1) * var(--step));background:repeating-linear-gradient(90deg,var(--rule) 0 2px,transparent 2px var(--step)) no-repeat left/calc(var(--dg,1) * var(--step)) 100%}
/* a marked diagram line: the colour under the guides (the shorthand above would hide it and leave only .pm's ring) */
.l.dg.pm .t{background-color:rgba(255,200,0,.28);box-shadow:none}
.l.dg.hit .t{background-color:var(--hl)}
.l.dg.on .t,.l.dg.nobox .t{background-color:var(--seg)}
.l.dg.goal .t{background-color:var(--accentbg)}
body.ocpair .l.dg.on .t{background-color:transparent}
body.ocpair .l.dg.nobox .t{background-color:rgba(255,200,0,.28)}
.l.dg .t[data-dg]::before{content:attr(data-dg) " ";color:var(--accent);font-variant-numeric:tabular-nums}
.l.d1 .t{font-weight:600}.l.d3 .t,.l.d4 .t,.l.d5 .t,.l.d6 .t{font-size:.96em}
.l.d1{--dg:1}.l.d2{--dg:2}.l.d3{--dg:3}.l.d4{--dg:4}.l.d5{--dg:5}.l.d6{--dg:6}
body.read .l.dg:not(.h1):not(.h2):not(.h3){display:block}
body.read .h1,body.read .h2,body.read .h3,body.read .h1 .t,body.read .h2 .t,body.read .h3 .t{display:block}
/* the lines of one heading (headUnits in reader.js): one centred block in the reading view, nothing in the line view */
.hu{display:contents}
body.read .hu{display:block;text-align:center}
body.read .hu1{font-size:1.45em;font-weight:600;letter-spacing:.04em;padding:.3em 0}
body.read .hu2{font-size:1.12em;font-weight:600}
body.read .hu3{font-style:italic}
body.read .hu .l,body.read .hu .l .t{display:inline;font-size:inherit;padding:0}
body.read .hu .l .t::after{content:" "}
body.read .hu .l.j .t::after,body.read .hu .l:last-child .t::after{content:""}
body.read .hu .l.hb::before{content:"\A";white-space:pre}  /* a new row inside the heading, no space between */
/* an enumeration in a heading (I. … II. … III.; build_reader.py enum_lines): every item at one left edge, the list about
   centred as a whole, the numbers left-aligned as printed, the text after them in a column past the widest one. --nw: that width, --ew: about the widest line */
.enn{display:inline-block;min-width:var(--nw,0);text-align:left;text-indent:0}
.l.en .t,.l.enc .t,body.read .hu.en{text-align:left;margin-left:max(0px,calc(50% - var(--ew) / 2));padding-left:calc(var(--nw) + .3em);text-indent:calc(-1 * (var(--nw) + .3em))}
.l.enc .t{text-indent:0}
body.read .hu.en .l .t{margin-left:0;padding-left:0;text-indent:0}
/* no scan cards: the text runs on from page to page. Pages stay blocks (one inline
   run of the whole book is far too slow to lay out), so a page break may leave a short line. */
body.read .page{background:none;border:0;border-radius:0;padding:0;margin:0;contain-intrinsic-size:auto 700px}
body.read .page header,body.read .page footer,body.read details.tn{display:none}
body.read.trans .page{margin-bottom:0}
body.read.trans .page+.page .pair:first-child>*{padding-top:.45em}
/* a page that opens with a large heading: some air above it, as in the book. :not(.l~*): the first line, behind any anchors */
body.read .page:not(.tpage):has(.lines>:is(.l.h1,.hu1):not(.l~*),.pair:not(.pair~*)>.la>:is(.l.h1,.hu1):not(.l~*)){padding-top:3.2em}
body.nomarg .m{display:none}
body.read.trans .lines{max-width:none}
/* translation under the Latin when the text column is narrow: a small window, or the PDF beside it */
@container (max-width:860px){
  .pair{grid-template-columns:1fr;gap:4px;background:none}
  .pair .tr{border-top:1px dashed var(--rule);padding-bottom:4px}
  body.trans .page footer{margin-right:70px}
}

@media (max-width:900px){
  .wrap{grid-template-columns:1fr}
  .tocgrip{display:none}
  nav.toc{position:static;max-height:260px;border:1px solid var(--rule);border-radius:4px;padding:10px;background:var(--paper)}
  .toch,.tochrow{margin:0}
  #tocbody{margin-top:8px}
  body.notoc .toch{flex-direction:row;width:100%;padding:4px 6px;border:0;background:none}
  body.notoc .toch span{writing-mode:horizontal-tb}
  body.notoc .toch i{order:0;transform:rotate(-90deg)}
  .toch i{transform:rotate(90deg)}
  /* the PDF in the lower part of the screen */
  body.pdf .wrap{grid-template-columns:1fr}
  body.pdf .wrap{padding-bottom:calc(var(--pdfh,48vh) + 16px)}
  .pdfpane{position:fixed;left:0;right:0;bottom:0;top:auto;height:var(--pdfh,48vh);z-index:9;border-radius:0;border-width:1px 0 0}
  .pdfgrip{left:0;right:0;top:-10px;bottom:auto;width:auto;height:20px;cursor:row-resize}
  .pdfgrip::after{left:50%;top:8px;width:44px;height:4px;margin:0 0 0 -22px}
  body.pdfdrag{cursor:row-resize}
  body,body.trans,body.trans.nomarg{--lgrid:2em minmax(0,1fr);--lgap:8px;--tcol:2}
  .n{grid-column:1}.t{padding-left:0;text-indent:0}
  .ml,.mr{grid-column:2;grid-row:auto;text-align:left;padding:1px 0 3px 10px;border-left:2px solid var(--rule)}
  .page{padding:14px 12px}
  .page footer{padding-left:2.5em;margin-right:0}
  #q{width:120px}
  body.trans .page footer{padding-left:2.5em;margin-right:0}
  .bar .title{display:none}
  .find{flex:1;min-width:0}
  #q{flex:1;width:auto}
}

/* the shell: pages not yet fetched are empty cards of about their height (build_reader.py, lezen.html);
   the browser's scroll anchoring, and reader.js where it has none, keep the place when pages above come in */
[hidden]{display:none!important}
.page.ph{height:1100px;display:flex;align-items:center;justify-content:center;color:var(--muted);font:13px var(--sans)}
.page.ph::before{content:"scan " attr(data-n)}
.page.ph:has(.phfail){flex-direction:column;gap:8px}
.phfail{color:var(--flag);text-align:center}
.phfail button{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:6px;padding:4px 12px;margin-left:6px;cursor:pointer}
body.trans .page.ph{height:1500px}
body.read .page.ph{height:700px;border:1px dashed var(--rule);margin-bottom:22px}
.loaderr{font:13px var(--sans);color:var(--flag)}
/* phone: the bar stays one row (swipe it sideways), the translation under its Latin without the margin-note gutter */
@media (max-width:600px){
  .bar{gap:6px;padding:8px 10px}
  .goto>span:first-child,#gomax{display:none}
  .goto{padding:0 6px}
  .tog .lbl{display:none}
  .find button:disabled{display:none}
  .bar .optsbtn{font-size:0;padding:0 9px}.optsbtn::before{content:attr(data-short);font-size:13px}
  .tog{padding:0 8px}
  .opts{right:10px;left:10px}
}
/* only the scans (scan.js): a work with a PDF but no transcription yet */
body.scanonly .find,body.scanonly .optsbtn,body.scanonly .opts,body.scanonly #pdf,body.scanonly .toc{display:none}
body.scanonly .wrap{grid-template-columns:minmax(0,1fr);max-width:960px}
.scanonly-note{color:var(--flag)}
.scan{background:#fff;border:1px solid var(--rule);border-radius:3px;margin:0 0 16px;box-shadow:0 1px 4px rgba(0,0,0,.12);overflow:hidden}
.scan canvas{display:block;width:100%;height:auto}
.scanmsg{font:14px var(--sans);color:var(--muted)}

/* OCR check (reader.js, backend/ocr_regels.py): a bar beside every line number, the OCR under a line */
body.ocr:not(.read) .l[data-ocr] .n{border-right:3px solid var(--oc);padding-right:4px;cursor:pointer}
.l[data-ocr=goed]{--oc:var(--ocr-goed)} .l[data-ocr=redelijk]{--oc:var(--ocr-redelijk)}
.l[data-ocr=afwijkend]{--oc:var(--ocr-afwijkend)} .l[data-ocr=geen]{--oc:var(--ocr-geen)}
.ocrx{display:grid;grid-template-columns:var(--lgrid);column-gap:var(--lgap);margin:1px 0 3px}
.ocrx span{grid-column:var(--tcol);font:12px/1.35 ui-monospace,Consolas,monospace;color:var(--muted)}
.ocrx b{font:600 10px var(--sans);color:var(--oc,var(--ocr-afwijkend));margin-right:6px;text-transform:uppercase;letter-spacing:.03em}
.ocrx.alleen span{color:var(--ocr-afwijkend)}
body:not(.ocr) .ocrx,body.read .ocrx{display:none}
/* with the Latin alone the OCR is a fifth column beside every line (body.ocrside) */
body.ocrside .lines{--lgrid:90px 2em minmax(0,1fr) 90px minmax(0,1fr)}
body.ocrside .l>.o,body.ocrside .ocrx span{grid-column:5;grid-row:1;font:inherit;color:var(--muted);
  border-left:1px solid var(--rule);padding-left:12px;overflow-wrap:anywhere}
body.ocrside .ocrx{margin:0}
body.ocrside .ocrx.alleen span{color:var(--ocr-afwijkend);font-style:italic}
body.ocrside .ocrx.alleen span::before{content:"+ ";font-style:normal}
.l>.o i{font:italic 11px var(--sans)}
body:not(.ocrside) .l>.o,body.read .l>.o{display:none}
.ocrx mark,.l>.o mark{background:color-mix(in srgb,var(--ocr-afwijkend) 22%,transparent);color:var(--ink);border-radius:2px}
body.ocr:not(.read) .t::highlight(ocr){background-color:color-mix(in srgb,var(--ocr-afwijkend) 22%,transparent)}
/* a narrow text column: the OCR under its line */
@container (max-width:860px){
  body.ocrside .lines{--lgrid:62px 2em minmax(0,1fr) 62px}
  body.ocrside .l>.o,body.ocrside .ocrx span{grid-column:3;grid-row:auto;border-left:0;padding-left:0;font-size:12px;margin-bottom:3px}
}
@media (max-width:900px){
  body.ocrside .lines{--lgrid:2em minmax(0,1fr)}
  body.ocrside .l>.o,body.ocrside .ocrx span{grid-column:2}
}

/* the texts to download, under the contents */
.stats.dl{margin-top:6px}
.stats.dl a{color:var(--accent)}
.stats.dl:empty{display:none}

/* the list of keys (?), shared in form with the start page's */dialog.keys{max-width:min(460px,calc(100vw - 32px));border:1px solid var(--rule);border-radius:10px;background:var(--paper);color:var(--ink);padding:18px 20px 14px;font:14px/1.5 var(--sans)}
dialog.keys .keysmore{margin:12px 0 0;font-size:13px}
dialog.keys .keysmore a{color:var(--accent)}
dialog.keys::backdrop{background:rgb(0 0 0 / .35)}
dialog.keys h2{margin:0 0 10px;font:600 20px var(--serif)}
dialog.keys table{border-collapse:collapse;width:100%}
dialog.keys td{padding:4px 0;vertical-align:top;border-top:1px solid var(--rule)}
dialog.keys td:first-child{white-space:nowrap;padding-right:14px}
dialog.keys kbd{display:inline-block;min-width:1.7em;text-align:center;padding:1px 6px;border:1px solid var(--rule);border-bottom-width:2px;border-radius:5px;background:var(--bg);font:12px var(--sans)}
dialog.keys form{text-align:right;margin-top:12px}
/* the (i): the book as the catalogue has it, and how its text was made */
dialog.info{max-width:min(640px,calc(100vw - 32px))}
dialog.info h3{margin:14px 0 6px;font:600 12px var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
dialog.info section:first-of-type h3{margin-top:4px}
dialog.info dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:0}
dialog.info dt{font-weight:600}
dialog.info dd{margin:0;overflow-wrap:anywhere}
dialog.info a{color:var(--accent)}
dialog.info .stats{margin:0 0 6px;font-size:13px}
dialog.info ul{margin:0;padding:0;list-style:none}
dialog.info .copies li+li{margin-top:2px}
dialog.info .libname{color:var(--muted);font-size:12.5px}
dialog.info .badge{font-size:11.5px;padding:0 6px;border-radius:8px;background:var(--accent);color:var(--paper)}
dialog.info summary{cursor:pointer;color:var(--accent)}
dialog.info details ul{margin-top:4px;color:var(--muted)}
@media (max-width:520px){dialog.info dl{grid-template-columns:1fr;gap:0}dialog.info dd{margin-bottom:6px}}
dialog.keys button{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:7px;padding:5px 14px;cursor:pointer}
.icon#dlbtn,.icon#infobtn{display:inline-flex;align-items:center;justify-content:center}
body.scanonly #keysbtn{display:none}
/* what a text is: the label of a machine translation, and how the text was made */
body.scanonly #infotext{display:none}
/* the download dialog (export.js), in the form of the list of keys */
dialog.dl{max-width:min(520px,calc(100vw - 32px))}
dialog.dl form{text-align:left}
dialog.dl fieldset{min-width:0;border:0;border-top:1px solid var(--rule);margin:0;padding:8px 0 10px;display:flex;flex-direction:column;gap:5px}
dialog.dl legend{font:600 12px var(--sans);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:0 8px 0 0}
dialog.dl label{display:flex;align-items:center;gap:7px;flex-wrap:wrap;cursor:pointer}
dialog.dl label.sub{margin-left:22px;color:var(--muted)}
dialog.dl select,dialog.dl input[type=number]{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--rule);border-radius:6px;padding:2px 6px;max-width:100%}
dialog.dl select{min-width:0;flex:0 1 auto;max-width:330px}
dialog.dl input[type=number]{width:5.5em}
dialog.dl .dlnote{margin:4px 0 0;color:var(--muted);font-size:13px}
dialog.dl .dlnote:empty,dialog.dl .dlstat:empty{display:none}
dialog.dl .dlstat{margin:6px 0 0}
dialog.dl .dlbtns{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
dialog.dl button.go{background:var(--accent);border-color:var(--accent);color:var(--paper)}
dialog.dl button:disabled{opacity:.6;cursor:progress}
@media (hover:none){#keysbtn{display:none}}   /* no keyboard to speak of */
/* pictures cut from the scan on a transparent ground (backend/transcription/figures.py) */
.l.fig{display:block!important;margin:.6em 0}
.l.fig .t{padding-left:0;border-left:0}
figure.fig{margin:0;text-align:center}
figure.fig img{max-width:min(100%,520px);max-height:70vh;height:auto}
.nofig{color:var(--muted);font-style:italic;font-size:13px}
:root[data-theme="dark"] figure.fig img{filter:invert(1) brightness(.9)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) figure.fig img{filter:invert(1) brightness(.9)}}
/* Greek and Hebrew in the text: set like the rest, Hebrew kept right to left inside the Latin */
.t .he,.na .he{unicode-bidi:isolate}
/* a book with many long margin notes: in the reading view the notes come after the page's text, smaller */
.na{display:none}
body.read .na{display:block;font-size:.84em;line-height:1.4;color:var(--muted);margin:.8em 0 1.2em;padding-top:.5em;border-top:1px solid var(--rule)}
body.read .na ol{margin:0;padding-left:1.4em}
body.read .na li{margin:.15em 0}
body.read .na i{color:var(--ink)}
/* German in a Latin text, and whatever the transcription marks as black letter (<bl>): in Fraktur, as the
   printer set it (build_reader.py: german_spans, TAG_HTML). Italics have no Fraktur form: upright */
.fr{font-family:"UnifrakturMaguntia",var(--serif);font-style:normal;font-size:1.06em;font-feature-settings:normal}
.fr em,em .fr{font-style:normal}

/* the cogwheel's "Opmaak" (reader/format.js): the print's formatting off as a whole (.plain) or per kind; the text
   itself stays as it is, only how it looks changes. Not the translation's own italics: those are the translator's */
body:is(.plain,.noital) :is(.l,.hu,.m) em{font-style:normal}
body:is(.plain,.nofrak) .fr{font-family:inherit;font-size:inherit;font-feature-settings:inherit}
body:is(.plain,.noheads) :is(.h1,.h2,.h3) .t,body:is(.plain,.noheads) .tr h3,body.read:is(.plain,.noheads) .hu{font-size:inherit;font-weight:inherit;font-style:inherit;letter-spacing:normal;text-align:left;padding:0}
body:is(.plain,.noheads) .hu .l .t{text-align:left}
body:is(.plain,.noabbr) abbr.ab{text-decoration:none}
/* paragraphs indented: the first line of a paragraph in, no white between them. The running text: the line's text
   is inline, its padding falls on its first line only */
body.indent:not(.read) .l.p0:not(.h1):not(.h2):not(.h3):not(.dg):not(.wc) .t{text-indent:.3em}
body.read.indent:not(.trans) .l.p0:not(.wc):not(.h1):not(.h2):not(.h3)::before{margin-top:0}
body.read.indent:not(.trans) .l.p0:not(.wc):not(.h1):not(.h2):not(.h3):not(.dg) .t,
body.read.indent.trans .la>.l.p0:not(.l~.l):not(.wc):not(.h1):not(.h2):not(.h3):not(.dg) .t{padding-left:1.5em}
/* the margin notes beside the running text (rivet-readmarg): in the white beside the column, on the side of the
   print; where there is no room (a translation beside it, a narrow window) inside the column, the text around them */
body.read.readmarg .l .m{display:block;float:right;clear:right;width:160px;margin:.2em -184px 0 0;text-indent:0;font-size:12.5px;line-height:1.3;text-align:left}
body.read.readmarg .l .ml{float:left;clear:left;margin:.2em 0 0 -184px;text-align:right}
body.read.readmarg .na{display:none}
body.read.readmarg.trans .l .m{width:32%;margin:.2em 0 .3em .8em;padding-left:.5em;border-left:2px solid var(--rule);text-align:left}
body.read.readmarg.trans .l .ml{margin:.2em .8em .3em 0;padding:0 .5em 0 0;border-left:0;border-right:2px solid var(--rule);text-align:right}
@container (max-width:1060px){
  body.read.readmarg .l .m{width:32%;margin:.2em 0 .3em .8em;padding-left:.5em;border-left:2px solid var(--rule);text-align:left}
  body.read.readmarg .l .ml{margin:.2em .8em .3em 0;padding:0 .5em 0 0;border-left:0;border-right:2px solid var(--rule);text-align:right}
}
/* & as et (rivet-ampet): the & stays in the text, without room; the et is drawn in its place */
body.ampet .amp>span{font-size:0}
body.ampet .amp::before{content:"et"}
