@font-face{font-family:OldStandard;src:url(fonts/OldStandard-Regular.woff2);font-weight:400;font-display:swap}
@font-face{font-family:OldStandard;src:url(fonts/OldStandard-Italic.woff2);font-style:italic;font-display:swap}
@font-face{font-family:OldStandard;src:url(fonts/OldStandard-Bold.woff2);font-weight:700;font-display:swap}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:#e8e2d7;color:#241f19;font:14px/1.4 system-ui}
body>header{position:sticky;top:0;z-index:60;background:#263a32;color:#fbf5e9;padding:12px 20px;display:flex;justify-content:space-between;gap:20px}
header h1{font:22px Georgia,serif;margin:3px 0}header a{color:inherit}
.bar{position:sticky;top:var(--reader-header-height,75px);z-index:60;background:#f8f3e8;border-bottom:1px solid #c8bdab;padding:8px;display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}
.bar button,.bar select{font:inherit;padding:8px 10px;border:1px solid #b8aa95;background:#fffdf8;border-radius:4px;cursor:pointer}.bar button.on{background:#315f52;color:white}.bar select{max-width:240px}.bar button:disabled{opacity:.4}
.notice{padding:11px 20px;text-align:center;color:#665e50;font:12px/1.7 system-ui}.notice a{color:#315f52}
main{padding:20px;display:flex;gap:18px;justify-content:center;align-items:flex-start}.book,.scan{width:700px;flex:none}
.leaf{width:700px;height:var(--leaf-height);position:relative;background:#fffdf7;border:1px solid #d2c5b1;box-shadow:0 8px 20px #0002;scroll-margin-top:calc(var(--reader-header-height,68px) + var(--reader-bar-height,56px) + 12px)}
.flow{position:absolute;top:var(--flow-top);bottom:8%;left:var(--flow-left);right:var(--flow-right);display:flex;flex-direction:column;font:18px/1.2 OldStandard,Georgia,serif}
.prosepage .flow{font-size:18px!important}
.densepage .flow{font-size:16.5px!important}.densepage .footnotes{font-size:13.5px}
.printed-folio{position:absolute;top:-48px;left:0;right:0;text-align:center;font-size:16px;line-height:1.2}.printed-folio:empty{display:none}
.block{flex:none}.block.prose p{margin:0;text-align:justify;text-indent:1.12em;hyphens:auto}.block.prose p:first-child{margin-top:0}.block.heading{text-align:center;margin:10px 0 14px}.block.heading :is(h1,h2,h3,h4){font-size:19px;line-height:1.2;letter-spacing:.025em;font-weight:400;margin:0}
.footnotes{margin-top:auto;padding-top:9px;position:relative;font-size:14px;line-height:1.16}.footnotes:before{content:"";display:block;width:32%;border-top:1px solid #51483b;margin:-5px 0 8px}.footnotes p{margin:0 0 3px;text-align:justify;text-indent:0}
.printer-footer{margin-top:auto;text-align:right;font:12px OldStandard,serif}.ornament{display:block;object-fit:contain;mix-blend-mode:multiply}.end-ornament{width:110px;margin:48px auto 0}
.page-label{position:absolute;bottom:14px;right:24px;color:#8d7f6c;font:10px system-ui}
.titlepage .flow{inset:0;display:block;text-align:center}.title-line{position:absolute;left:9%;right:9%;line-height:1.08}.title-line p,.title-line h1{margin:0;font:inherit!important;line-height:1.08!important}.title-0{font-size:20px;font-weight:700}.title-1{font-size:16px}.title-1:after{content:"";display:block;border-top:1px solid;width:40%;margin:7px auto 0}.title-2{font-size:27px;letter-spacing:.01em;font-weight:700;white-space:nowrap}.title-3{font-size:20px}.title-4,.title-5{font-size:23px;font-weight:700;letter-spacing:.01em;white-space:nowrap}.title-8{top:78%!important;font-size:16px}.title-9{top:81%!important;font-size:13px}.title-ornament{position:absolute;top:59%;left:calc(50% - 50px);width:100px}
.scan{display:none}.scan img{display:block;width:100%;height:auto;box-shadow:0 8px 20px #0002}.continuous .book{display:flex;flex-direction:column;gap:20px}
.book-mode .leaf,.scan-mode .leaf,.compare .leaf{display:none}.book-mode .leaf.active,.compare .leaf.active{display:block}.scan-mode .book{display:none}.scan-mode .scan,.compare .scan{display:block}
.contents-panel{position:fixed;z-index:200;inset:10vh max(16px,calc((100vw - 760px)/2));overflow:auto;padding:24px;background:#fffdf7;box-shadow:0 10px 60px #0005}.contents-panel[hidden]{display:none}.contents-panel a{display:block;color:#315f52;margin:9px 0}
main.continuous{max-width:900px;margin:auto}main.continuous .book{width:100%}main.continuous .leaf{width:100%;height:auto;min-height:0;padding:46px 65px 52px}main.continuous .flow{position:static;inset:auto;display:block;font-size:19px;line-height:1.5}.continuous .printed-folio{position:static;margin-bottom:24px}.continuous .footnotes{margin-top:25px}.continuous .printer-footer{margin-top:25px}.continuous .titlepage{height:var(--leaf-height);padding:0}.continuous .titlepage .flow{position:absolute;inset:0}
@media(max-width:740px){body>header{padding:9px 10px}header h1{font-size:16px}.bar{justify-content:flex-start;gap:4px}.bar button,.bar select{padding:6px;font-size:12px}.bar select{max-width:150px}#status{display:none}main{padding:10px;overflow-x:auto;justify-content:flex-start}.book,.leaf,.scan{width:700px}.compare{flex-direction:column}.notice{font-size:11px}.contents-panel{inset:12px}main.continuous .leaf{padding:40px 24px}main.continuous .flow{font-size:17px}}
.malinin-theory-reader .prosepage .flow{font-size:16.5px!important;line-height:1.16}
.malinin-theory-reader .prosepage .footnotes{font-size:12.5px;line-height:1.1}
.malinin-theory-reader .prosepage .block.heading{margin:8px 0 10px}
.malinin-theory-reader .prosepage .block.heading :is(h1,h2,h3,h4){font-size:18px}
.malinin-theory-reader .titlepage .flow,.malinin-theory-reader .colophonpage .flow{position:absolute;inset:0;display:block;text-align:center}
.malinin-theory-reader .display-line{position:absolute;left:5%;right:5%;line-height:1.14;font-family:OldStandard,Georgia,serif}
.malinin-theory-reader .display-line :is(p,h1,h2){font:inherit;margin:0}
.malinin-theory-reader .titlepage .display-0{font-size:25px;font-weight:700;letter-spacing:.1em}
.malinin-theory-reader .titlepage .display-1{font-size:21px;font-weight:700}
.malinin-theory-reader .titlepage .display-2{font-size:14px}
.malinin-theory-reader .titlepage .display-3{font-size:18px;font-weight:700}
.malinin-theory-reader .titlepage .display-4{font-size:17px}
.malinin-theory-reader .titlepage .display-5{font-size:17px;font-weight:700}
.malinin-theory-reader .titlepage .display-6{font-size:13px}
.malinin-theory-reader .colophonpage .display-line{font-size:13px}
.malinin-theory-reader main.continuous-view .colophonpage{height:var(--leaf-height)!important;min-height:800px!important;padding:0!important;overflow:hidden!important}
.malinin-theory-reader main.continuous-view .colophonpage .flow{position:absolute!important;inset:0!important}

body.krivtsov-reader .prosepage .flow{font-size:18px!important;line-height:1.2!important;bottom:5%;right:11%}
body.krivtsov-reader .contentspage .flow{font-size:16px!important;line-height:1.12!important;left:11%;right:11%;bottom:5%}
body.krivtsov-reader .titlepage .flow{position:absolute;inset:0;display:block;text-align:center;font-family:OldStandard,Georgia,serif}
body.krivtsov-reader .titlepage .title-author{position:absolute;top:17%;left:8%;right:8%;font-size:20px;font-weight:700}
body.krivtsov-reader .titlepage .title-work{position:absolute;top:34%;left:7%;right:7%;font-size:30px;font-weight:700;line-height:1.55}
body.krivtsov-reader .titlepage .title-preposition{position:absolute;top:50%;left:8%;right:8%;font-size:15px}
body.krivtsov-reader .titlepage .title-subtitle{position:absolute;top:56%;left:8%;right:8%;font-size:20px;line-height:1.35}
body.krivtsov-reader .titlepage .title-imprint{position:absolute;top:79%;left:6%;right:6%;font-size:15px;line-height:1.45}
body.krivtsov-damages .titlepage .title-author{top:11%}body.krivtsov-damages .titlepage .title-work{top:24%;font-size:32px;line-height:1.5}body.krivtsov-damages .titlepage .title-imprint{top:83%}
body.krivtsov-reader .footnotes{font-size:14px;line-height:1.12}
body.krivtsov-reader .printer-signature{position:absolute;right:0;bottom:-22px;font-size:12px;line-height:1.1}body.krivtsov-reader .printer-signature p{margin:0;text-indent:0}
body.krivtsov-reader .prosepage.densepage .flow{font-size:17px!important;line-height:1.13!important;bottom:3%}
body.krivtsov-reader .prosepage.tightpage .flow{font-size:18px!important;line-height:1.13!important;bottom:3%}
body.krivtsov-reader .contentspage .flow{font-size:15px!important;line-height:1.08!important;bottom:3%}
body.krivtsov-reader .contentspage a{color:#322b22;text-decoration:none}body.krivtsov-reader .contentspage a:hover{text-decoration:underline}body.krivtsov-reader .contentspage .block.prose p{margin:0 0 2px;text-indent:0;text-align:left}
body.krivtsov-reader .block.prose table{width:100%;font-size:inherit}
@media(max-width:740px){body.krivtsov-reader main.book-mode,body.krivtsov-reader main.compare{overflow-x:hidden;width:100%;padding:8px;display:block}body.krivtsov-reader main.book-mode .book,body.krivtsov-reader main.compare .book,body.krivtsov-reader main.compare .scan,body.krivtsov-reader main.scan-mode .scan{width:100%}body.krivtsov-reader main.book-mode .leaf,body.krivtsov-reader main.compare .leaf{width:100%;height:auto;min-height:0;padding:30px 18px 42px}body.krivtsov-reader main.book-mode .prosepage .flow,body.krivtsov-reader main.compare .prosepage .flow,body.krivtsov-reader main.book-mode .contentspage .flow,body.krivtsov-reader main.compare .contentspage .flow{position:static;inset:auto;font-size:18px!important;line-height:1.35!important}body.krivtsov-reader main.book-mode .titlepage,body.krivtsov-reader main.compare .titlepage{height:600px;padding:0}body.krivtsov-reader main.book-mode .titlepage .flow,body.krivtsov-reader main.compare .titlepage .flow{position:absolute;inset:0}body.krivtsov-reader main.compare .scan{display:block;margin-top:16px}body.krivtsov-reader main.scan-mode{overflow-x:hidden;padding:8px}body.krivtsov-reader main.scan-mode .scan{width:100%}body.krivtsov-reader .reader-quick-nav{right:8px;bottom:10px}}
/* Book-scoped composition: readable type in every mode; no per-block squeeze. */
body.krivtsov-abstract .titlepage .title-author{top:20%}
body.krivtsov-abstract .titlepage .title-work{top:34%;font-size:27px;line-height:1.7}
body.krivtsov-abstract .titlepage .title-work strong{font-size:40px}
body.krivtsov-abstract .titlepage .title-subtitle{font-size:18px;white-space:nowrap;left:6%;right:6%}
body.krivtsov-damages .titlepage .title-work{top:22%;font-size:52px;font-weight:400;line-height:1.7}
body.krivtsov-damages .titlepage .title-author{top:10%;font-size:24px}
body.krivtsov-damages .titlepage .title-ornament{position:absolute;top:59.7%;left:36.9%;width:29.85%;height:auto;mix-blend-mode:multiply}
body.krivtsov-reader .erratapage .flow{top:39.5%;left:16%;right:12%;font-size:16px;display:block}
body.krivtsov-reader .erratapage .flow>p{margin:0 0 8px;text-align:center}
body.krivtsov-reader .erratapage table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:16px;line-height:1.15}
body.krivtsov-reader .erratapage th{font-size:13px;font-weight:400;text-align:center}
body.krivtsov-reader .erratapage td{vertical-align:top;padding:1px 5px 1px 0}
body.krivtsov-reader .erratapage td:first-child{width:31%}
body.krivtsov-reader .toc-line a{display:flex;align-items:baseline;gap:8px}
body.krivtsov-reader .toc-line .toc-label{flex:1;min-width:0}
body.krivtsov-reader .toc-line .toc-page{flex:0 0 28px;text-align:right;white-space:nowrap}
body.krivtsov-reader .contentspage th{font-weight:400}
body.krivtsov-abstract #page-20 .block.heading :is(h2,h4){font-weight:700}
body.krivtsov-damages .contentspage .flow{font-size:16.5px!important;line-height:1.2!important}
body.krivtsov-reader main.three-view .leaf{display:none}
body.krivtsov-reader main.three-view .leaf.active{display:block}
body.krivtsov-reader main.three-view{width:100%;min-width:0;overflow:visible;flex-wrap:wrap;justify-content:center!important;padding:36px 12px 24px}
body.krivtsov-reader main.compare{flex-wrap:wrap;justify-content:center;min-width:0}
body.krivtsov-reader main.three-view :is(.three-original,.modern-panel,.three-scan){zoom:1!important;height:auto!important;width:700px;max-width:100%;margin-top:26px}
body.krivtsov-reader main.three-view .modern-copy{height:auto!important;width:100%}
body.krivtsov-reader main.three-view :is(.three-original,.modern-panel,.three-scan)::before{top:-28px}
body.krivtsov-reader main.continuous-view .contentspage{height:auto!important;min-height:0!important;padding:46px 60px!important;overflow:visible!important}
body.krivtsov-reader main.continuous-view .contentspage .flow{height:auto!important;display:block;overflow:visible!important}
body.krivtsov-reader main.continuous-view .printed-folio{position:static;margin:0 0 20px}
body.krivtsov-reader main.continuous-view .printer-signature{position:static;text-align:right;margin-top:12px}
body.krivtsov-reader main.continuous-view .footnotes{margin-top:24px}
body.krivtsov-reader .uncertain{text-decoration:underline dotted #895c27;text-underline-offset:3px}
body.krivtsov-reader .editorial-note{max-width:860px;margin:0 auto;padding:8px 20px 14px;color:#665e50;font:13px/1.5 system-ui}
body.krivtsov-reader .contentspage a:focus-visible{outline:2px solid #315f52;outline-offset:2px}
body.krivtsov-reader .bar .reader-quick-nav{position:static!important;inset:auto!important;display:inline-flex!important;flex-direction:row!important;align-items:center;gap:4px;z-index:auto;margin:0}
body.krivtsov-reader .bar .reader-quick-nav button{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;border-radius:4px;font:700 18px/1 system-ui;box-shadow:none;backdrop-filter:none}
@media(max-width:740px){
 body.krivtsov-reader main.three-view{display:flex!important;flex-direction:column;align-items:stretch!important;padding:16px 8px}
 body.krivtsov-reader main.three-view :is(.three-original,.modern-panel,.three-scan){width:100%!important;max-width:100%}
 body.krivtsov-reader main.three-view .leaf{width:100%;height:auto;min-height:0;padding:30px 18px 42px}
 body.krivtsov-reader main.three-view :is(.prosepage,.contentspage,.erratapage) .flow{position:static;inset:auto;font-size:18px!important;line-height:1.35!important}
 body.krivtsov-reader main:is(.book-mode,.compare) .erratapage .flow{position:static;inset:auto;font-size:17px!important;line-height:1.35!important}
 body.krivtsov-reader .erratapage table{overflow-wrap:anywhere;font-size:16px}
 body.krivtsov-reader main.three-view .titlepage{height:600px;padding:0}
 body.krivtsov-reader main.three-view .titlepage .flow{position:absolute;inset:0}
 body.krivtsov-reader main.continuous-view .contentspage{padding:32px 22px!important}
 body.krivtsov-reader main.continuous-view .contentspage .flow{font-size:17px!important;line-height:1.4!important}
 body.krivtsov-reader main:not(.continuous-view) .printer-signature{bottom:15px;right:20px}
 body.krivtsov-reader main:not(.continuous-view) .printed-folio{position:static;margin:0 0 18px}
 body.krivtsov-reader .contentspage .block.prose table{table-layout:fixed;overflow-wrap:anywhere}
 body.krivtsov-reader .contentspage .block.prose td:last-child{width:36px}
 body.krivtsov-reader .titlepage .title-work{font-size:23px!important;line-height:1.4}
 body.krivtsov-abstract .titlepage .title-work strong{font-size:29px}
 body.krivtsov-abstract .titlepage .title-subtitle{white-space:normal}
 body.krivtsov-abstract .titlepage .title-preposition{top:58%}
 body.krivtsov-abstract .titlepage .title-subtitle{top:64%}
 body.krivtsov-damages .titlepage .title-work{font-size:30px!important}
 body.krivtsov-reader .titlepage .title-subtitle{font-size:17px}
 body.krivtsov-reader .titlepage .title-author{font-size:18px}
 body.krivtsov-reader .titlepage .title-imprint{font-size:13px}
 body.krivtsov-reader .toc-return{max-width:calc(100vw - 82px);left:8px;font-size:12px}
}

@font-face{font-family:"Krivtsov Glyph Fallback";src:url("fonts/Krivtsov-Glossa-fallback.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+03AC,U+03B1-03B4,U+03BB-03BD,U+03BF,U+03C3,U+207E}
body.krivtsov-reader .flow,body.krivtsov-reader .titlepage .flow,body.krivtsov-reader .printer-footer{font-family:OldStandard,"Krivtsov Glyph Fallback",Georgia,serif}

/* krivtsov-return-links-20260927 */
body.krivtsov-reader .reader-return-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}body.krivtsov-reader .reader-return-links a{white-space:nowrap;font:13px/1.3 system-ui}body.krivtsov-reader .bar .reader-quick-nav button{width:auto;min-width:69px;padding:0 7px;font:600 13px/1 system-ui}@media(max-width:740px){body.krivtsov-reader .reader-return-links{flex-direction:column;align-items:flex-end;gap:5px}body.krivtsov-reader .reader-return-links a{font-size:12px}body.krivtsov-reader .bar .reader-quick-nav button{min-width:62px;padding:0 5px;font-size:12px}}
