@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}
header{background:#263a32;color:#fbf5e9;padding:14px 22px;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:0;z-index:100;background:#f8f3e8;border-bottom:1px solid #c8bdab;padding:7px;display:flex;justify-content:center;align-items:center;gap:5px;flex-wrap:wrap}.bar button,.bar select{font:inherit;padding:7px 9px;border:1px solid #b8aa95;background:#fffdf8;border-radius:4px;cursor:pointer}.bar button.on{background:#315f52;color:#fff}.bar select{max-width:235px}.bar button:disabled{opacity:.4;cursor:default}#status{font-size:11px}#jump-top,#jump-bottom{font-size:19px;line-height:1;padding:5px 10px;min-width:36px}#toc-return{background:#d9e8e0;border-color:#829a8d;color:#163d30}#toc-return[hidden]{display:none}
.notice{padding:12px 20px;text-align:center;color:#665e50;font:12px/1.8 system-ui}.notice a{color:#315f52}
main{padding:18px;display:flex;gap:18px;justify-content:center;align-items:flex-start;scroll-margin-top:120px}.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;font:18px/1.2 OldStandard,Georgia,serif;scroll-margin-top:130px}.transcription{position:absolute;left:7%;right:7%;top:5%;bottom:7%;overflow:visible}.flow{width:100%;font:inherit}.flow p{margin:0 0 .4em;text-align:justify;text-indent:1.2em;hyphens:auto}.flow p:first-child{text-indent:0}.flow h1,.flow h2,.flow h3{font-family:OldStandard,Georgia,serif;text-align:center;line-height:1.12;margin:0 0 .65em}.flow h1{font-size:1.5em}.flow h2{font-size:1.3em}.flow h3{font-size:1.15em}.flow em{font-style:italic}.flow strong{font-weight:700}.page-label{position:absolute;bottom:10px;right:24px;color:#867967;font:10px system-ui}.titleleaf .transcription{top:10%}.titleleaf .flow{text-align:center}.titleleaf .flow p{text-align:center;text-indent:0;margin-bottom:1.4em}.titleleaf h1{font-size:2em;margin:2em 0 1.1em}.tocleaf .flow{font-size:15px}.tocleaf .flow .toc-row{display:flex;justify-content:space-between;gap:10px;text-indent:0;text-align:left;margin:0 0 .25em}.tocleaf .flow .toc-row a{color:#234e40;text-decoration:none}.tocleaf .flow .toc-row a:hover{text-decoration:underline}.tocleaf .flow table{font-size:14px}.tableleaf .flow{font-size:16px}.table-scroll{overflow-x:auto;max-width:100%;margin:.4em 0}.flow table{border-collapse:collapse;width:100%;font:14px/1.18 OldStandard,Georgia,serif}.flow th,.flow td{border:1px solid #a89a83;padding:3px 4px;vertical-align:top;min-width:24px}.flow th{font-weight:700}.flow table a{color:#234e40}
.scan{display:none}.scan img{width:100%;display:block}.continuous .book,.continuous-view .book{display:flex;flex-direction:column;gap:20px}.book-mode .leaf,.compare .leaf,.scan-mode .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:300;inset:12vh max(14px,calc((100vw - 760px)/2));overflow:auto;padding:25px;background:#fffdf7;box-shadow:0 10px 60px #0005}.contents-panel[hidden]{display:none}.contents-panel a{display:block;color:#315f52;margin:10px 0;padding:5px;border-bottom:1px solid #e1d8c8}.contents-panel button{padding:7px 10px}
.reader-quick-nav,.toc-return{display:none!important}
.nefedyev-commercial-procedure-1908 .leaf:not(.titleleaf):not(.tocleaf) .flow{font-size:17px}
main.book-mode .tableleaf .flow,main.compare .tableleaf .flow{display:flex;flex-direction:column;height:100%;min-height:0}
main.book-mode .tableleaf .table-scroll,main.compare .tableleaf .table-scroll{flex:1;min-height:0;overflow:auto}
main.continuous-view .tableleaf .flow{display:block!important;height:auto!important}
main.continuous-view .tableleaf .table-scroll{overflow-x:auto;overflow-y:visible;max-height:none}
.printed-folio{text-align:center;font-size:.85em;margin-bottom:1.1em}.footnotes{border-top:1px solid #8d8579;margin-top:1.5em;padding-top:.45em;font-size:.82em;line-height:1.18}.footnotes p{margin:0;text-indent:0}.note-ref{font-size:.68em;vertical-align:super}.math-display{display:block;text-align:center;margin:.8em 0}.math-inline{white-space:nowrap}.fraction{display:inline-grid;vertical-align:middle;text-align:center;line-height:1.1;margin:0 .18em}.fraction>span:first-child{border-bottom:1px solid;padding:0 .2em}.fraction>span:last-child{padding:0 .2em}.historical-balance{table-layout:fixed;min-width:900px}.historical-balance th,.historical-balance td{font-size:12px;overflow-wrap:anywhere}.historical-balance caption{font-size:18px;font-weight:700;margin-bottom:8px}.historical-balance td[data-uncertainty]{text-decoration:underline dotted #9b6736;text-underline-offset:2px}.tableleaf .source-form-number{text-align:right}
main.continuous-view .leaf .transcription{position:static!important;inset:auto!important;width:auto!important;height:auto!important;overflow:visible!important;padding:0!important}
main.continuous-view .leaf .flow{position:static!important;height:auto!important;overflow:visible!important}
main.continuous-view .leaf .page-label{position:static!important;margin-top:22px!important}
main.continuous-view .leaf{height:auto!important;min-height:0!important}
@media(max-width:740px){header{padding:10px}header h1{font-size:16px}.bar{justify-content:flex-start;gap:4px}.bar button,.bar select{padding:6px;font-size:12px}#jump-top,#jump-bottom{font-size:18px;min-width:44px;min-height:44px}#status{display:none}main{padding:10px;display:block}.book,.scan{width:100%}.leaf{width:100%;height:auto;min-height:0;margin-bottom:18px}.transcription{position:relative;left:auto;right:auto;top:auto;bottom:auto;padding:9% 7% 11%}.page-label{bottom:5px;right:10px}.scan-mode .scan,.compare .scan{width:100%}.compare{display:flex;flex-direction:column}.contents-panel{inset:8px}.flow{font-size:17px}}
main.book-mode .tableleaf,main.compare .tableleaf{height:auto;min-height:var(--leaf-height)}
main.book-mode .tableleaf .transcription,main.compare .tableleaf .transcription{position:relative;inset:auto;padding:5% 6% 8%;width:100%}
main.book-mode .tableleaf .flow,main.compare .tableleaf .flow{display:block;height:auto;min-height:0}
main.book-mode .tableleaf .table-scroll,main.compare .tableleaf .table-scroll{display:block;overflow-x:auto;overflow-y:visible;max-height:none;min-height:0}
main.book-mode .tableleaf .page-label,main.compare .tableleaf .page-label{position:relative;text-align:right;bottom:auto;right:auto;padding:0 6% 12px}
.historical-ledger[data-columns="12"],.historical-ledger[data-columns="10"]{table-layout:fixed;min-width:0;width:100%}
.historical-ledger[data-columns="12"] col:nth-child(6n + 1){width:7%}.historical-ledger[data-columns="12"] col:nth-child(6n + 2){width:5%}.historical-ledger[data-columns="12"] col:nth-child(6n + 3){width:26%}.historical-ledger[data-columns="12"] col:nth-child(6n + 4){width:4%}.historical-ledger[data-columns="12"] col:nth-child(6n + 5){width:4%}.historical-ledger[data-columns="12"] col:nth-child(6n + 6){width:4%}
.historical-ledger[data-columns="10"] col:nth-child(5n + 1){width:7%}.historical-ledger[data-columns="10"] col:nth-child(5n + 2){width:5%}.historical-ledger[data-columns="10"] col:nth-child(5n + 3){width:30%}.historical-ledger[data-columns="10"] col:nth-child(5n + 4){width:4%}.historical-ledger[data-columns="10"] col:nth-child(5n + 5){width:4%}
.historical-ledger[data-columns="10"] th,.historical-ledger[data-columns="12"] th,.historical-ledger[data-columns="10"] td,.historical-ledger[data-columns="12"] td{min-width:0;overflow-wrap:anywhere;padding:2px;font-size:14px}
.historical-ledger[data-columns="12"] thead tr:nth-child(2) th:nth-child(n + 4):nth-child(-n + 6),.historical-ledger[data-columns="12"] thead tr:nth-child(2) th:nth-child(n + 10){writing-mode:vertical-rl;transform:rotate(180deg);height:90px;white-space:nowrap}
.historical-ledger[data-columns="16"]{min-width:1120px;table-layout:fixed}.historical-ledger[data-columns="16"] th,.historical-ledger[data-columns="16"] td{font-size:14px;min-width:0;overflow-wrap:anywhere}
.historical-balance th,.historical-balance td{font-size:14px}
@media(max-width:740px){.historical-ledger[data-columns="10"],.historical-ledger[data-columns="12"]{min-width:620px}}
