:root{color-scheme:light;--green:#087500;--ink:#242727;--muted:#626963;--rule:#d8ded8;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select,input{border:1px solid #b7bfb8;border-radius:3px;background:#fff;color:var(--ink)}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select{min-height:44px}button{cursor:pointer;padding:8px 14px}button:disabled{opacity:.45;cursor:default}a{color:#226321;text-underline-offset:3px}button:hover{background:#edf2ec}a:hover{text-decoration:underline}:focus-visible{outline:3px solid #c88b12;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:fixed;top:-60px;z-index:20;padding:12px;background:#fff}.skip:focus{top:0}.library-header{max-width:1180px;margin:auto;padding:38px 28px 22px;text-align:center;border-bottom:1px solid var(--rule)}.library-header img{width:min(100%,650px);height:auto}.preview-label{margin-top:14px;text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:var(--muted)}.library-main{max-width:1180px;padding:28px;margin:auto}.heading-line{display:flex;align-items:center;justify-content:space-between;gap:16px}.heading-line h1{font:700 36px Georgia,serif;margin:0 0 24px}.heading-line>a{font-size:13px}.featured{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:36px;border-block:1px solid var(--rule);padding:24px 0;margin-bottom:24px}.featured .cover{height:250px}.featured h2{font:700 30px Georgia,serif;margin:10px 0 22px}.eyebrow{color:var(--muted);text-transform:uppercase;font-size:12px;letter-spacing:.1em}.read-button{display:inline-block;background:var(--green);color:#fff;text-decoration:none;padding:13px 22px;border-radius:3px;min-height:44px}.filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap;border-bottom:1px solid var(--rule);padding-bottom:20px}.filters label{display:grid;gap:6px;font-size:13px}.filters input,.filters select{height:44px;padding:8px 12px;max-width:100%;min-width:130px}.filters input{width:310px}.filters button{background:var(--ink);color:white}#library-status{font-size:13px;color:var(--muted);min-height:18px;margin:20px 0}.edition-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 28px}.edition-card{color:var(--ink);text-decoration:none;display:block;border-bottom:1px solid var(--rule);padding-bottom:20px}.cover{height:310px;display:flex;align-items:center;justify-content:center;background:#f5f6f3;margin-bottom:14px;overflow:hidden}.cover img{max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain}.cover-placeholder{text-align:center;padding:18px;color:var(--muted);font:20px Georgia,serif}.edition-card h2{font:700 19px/1.3 Georgia,serif;margin:0 0 8px;overflow-wrap:anywhere}.edition-card small{font-size:12px;color:var(--muted)}#more{display:block;margin:28px auto}.library-footer{border-top:1px solid var(--rule);max-width:1124px;margin:30px auto 0;padding:20px 0;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}
body.reading{overflow:hidden}#reader{height:100dvh;width:100%;background:#e1e4e1;position:relative}.toolbar{height:54px;display:flex;align-items:center;gap:3px;padding:5px 10px;background:#252c28;color:white;border-bottom:2px solid var(--green);position:relative;z-index:5;overflow-x:auto;scrollbar-width:thin}.toolbar button,.toolbar select,.toolbar a{color:white;background:transparent;border:0;white-space:nowrap;flex-shrink:0;border-radius:3px;font-size:13px;padding:6px 10px;text-decoration:none}.toolbar button:hover,.toolbar a:hover{background:#3c493f}.toolbar select option{color:#222}.toolbar #menu,.toolbar #previous,.toolbar #next,.toolbar #zoom-in,.toolbar #zoom-out,.toolbar #fullscreen{font-size:24px;min-width:42px;padding:2px 9px}.toolbar-home{font-weight:bold;letter-spacing:.08em}.toolbar-divider{height:24px;width:1px;flex-shrink:0;background:#566258;margin-inline:5px}#page-form{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}#page-number{width:49px;height:36px;border:1px solid #738077;background:#fff;color:#222;text-align:center;padding:4px;appearance:textfield}#page-number::-webkit-inner-spin-button{appearance:none}#zoom-level{font-size:11px;min-width:40px;text-align:center}.toolbar-download{margin-left:auto}.mode-label select{max-width:133px}#viewport{position:absolute;top:54px;left:0;right:0;bottom:34px;overflow:auto;overscroll-behavior:contain;touch-action:none;outline-offset:-4px}#paper-stage{min-width:100%;min-height:100%;width:max-content;display:flex;align-items:flex-start;justify-content:center;gap:8px;padding:14px}.pdf-page{position:relative;flex-shrink:0;background:white;box-shadow:0 1px 4px #0002;overflow:hidden}.pdf-page canvas{display:block;width:100%;height:100%}.textLayer{position:absolute;inset:0;overflow:clip;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;caret-color:CanvasText;z-index:1}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer{--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor)*var(--min-font-size));--min-font-size-inv:calc(1/var(--min-font-size))}.textLayer> :not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1;--font-height:0;--scale-x:1;--rotate:0;font-size:calc(var(--text-scale-factor)*var(--font-height));transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.textLayer .markedContent{display:contents}.textLayer ::selection{background:#3388ff66}.textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:0;cursor:default;user-select:none}#reader-notice{height:34px;position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:5px 10px;background:#f5f6f4;border-top:1px solid #cbd2cb;font-size:12px;z-index:4}#reader-notice button{min-height:26px;font-size:12px;padding:3px 8px}#reader-notice.error{height:auto;min-height:65px;flex-wrap:wrap;background:#fff4dc}#reader-notice.error~*{bottom:65px}#sidebar{position:absolute;top:54px;left:0;bottom:34px;width:274px;background:#fff;border-right:1px solid #bdc5bd;z-index:6;overflow:auto;padding:20px 18px}#reader.menu-open #viewport{left:274px}#sidebar h2{font:700 21px/1.3 Georgia,serif;margin:6px 25px 20px 0;overflow-wrap:anywhere}#close-menu{position:absolute;right:6px;top:6px;border:0;font-size:25px;background:none;padding:4px 12px}#sidebar nav{display:grid;gap:0;margin-bottom:16px}#sidebar nav a{padding:12px 0;border-bottom:1px solid #e1e6df;font-size:14px;text-decoration:none}summary{padding:14px 0;font-weight:bold;cursor:pointer;font-size:14px;border-bottom:1px solid var(--rule);min-height:44px}#sidebar details>p{font-size:12px;color:var(--muted)}#search-form{padding-top:12px;font-size:13px}#search-form label{display:block;margin-bottom:6px}.search-input{display:flex;gap:4px}.search-input input{min-width:0;width:100%;height:44px;padding:6px}#search-status{font-size:12px;line-height:1.5}#search-results{padding-left:18px}#search-results button{border:0;text-align:left;padding:10px 0;font-size:13px;line-height:1.4}#thumbnails{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:12px}.thumbnail{padding:5px;font-size:11px;min-height:120px;overflow:hidden}.thumbnail[aria-current=true]{border:2px solid var(--green)}.thumbnail canvas{display:block;max-width:100%;height:auto;margin:0 auto 6px}#article-links{font-size:13px;display:grid;gap:12px;padding-block:15px}#article-links h3{margin:0;font-size:14px}
@media(min-width:1500px){.edition-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1000px){.edition-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cover{height:270px}.toolbar-home{display:none}.toolbar-divider{margin-inline:1px}}@media(max-width:700px){.library-header{padding:25px 20px 18px}.library-main{padding:24px 18px}.heading-line h1{font-size:30px}.heading-line>a{font-size:12px}.featured{grid-template-columns:110px 1fr;gap:20px}.featured .cover{height:168px}.featured h2{font-size:23px;margin-bottom:16px}.featured .eyebrow{font-size:10px}.read-button{font-size:13px;padding:13px}.edition-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.cover{height:240px}.edition-card h2{font-size:17px}.filters{gap:12px}.filters label:nth-child(2){flex:1;min-width:130px}.filters input{width:100%}.filters select{min-width:100px}.library-footer{margin:20px 18px 0;flex-direction:column;gap:12px}.toolbar{height:102px;flex-wrap:wrap;align-content:center;overflow:hidden;padding:4px;gap:0}.toolbar #menu{order:0}.toolbar-home{display:none}.toolbar-divider{display:none}.toolbar #previous{order:1}.toolbar #page-form{order:2}.toolbar #next{order:3}.toolbar #zoom-out{order:6}.toolbar #zoom-level{order:7}.toolbar #zoom-in{order:8}.toolbar #fit-width{order:9}.toolbar #fit-page{order:10}.toolbar .mode-label{order:11}.toolbar #fullscreen{order:4;margin-left:auto}.toolbar #download{order:5;margin-left:0}.toolbar #zoom-out{margin-left:0}.toolbar .mode-label{margin-left:auto}.toolbar button,.toolbar select,.toolbar a{font-size:12px;padding:6px 8px}.toolbar #zoom-level{min-width:34px}.toolbar #zoom-out,.toolbar #zoom-in{min-width:32px}.toolbar .mode-label select{max-width:110px}#viewport,#sidebar{top:102px}#reader.menu-open #viewport{left:0}#sidebar{width:min(90vw,290px);box-shadow:4px 0 20px #0003}#paper-stage{padding:8px;gap:4px}#reader-notice{font-size:11px;justify-content:flex-start}#reader-notice.error{font-size:12px}.toolbar #fullscreen{display:none}.cover-placeholder{font-size:16px;padding:12px}}
@media(max-width:380px){.cover{height:200px}.toolbar button{padding:5px}.toolbar .mode-label select{max-width:100px}.featured{gap:12px;grid-template-columns:95px 1fr}.featured h2{font-size:20px}.featured .cover{height:145px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

@media(max-width:700px){.toolbar #fullscreen{display:inline-block;margin-left:0;min-width:32px;font-size:22px}}
.edge-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:46px;height:150px;padding:0;border:0;background:#fff;color:#626963;box-shadow:0 0 9px #0003;font-size:48px;line-height:1}.edge-left{left:0;border-radius:0 100% 100% 0;padding-right:8px}.edge-right{right:0;border-radius:100% 0 0 100%;padding-left:8px}.edge-arrow:hover{background:#f3f6f1;color:var(--green)}.edge-arrow:disabled{opacity:.3;cursor:default}#pages-toggle{position:absolute;left:18px;bottom:34px;z-index:8;border:0;border-radius:45px 45px 0 0;background:var(--green);color:#fff;font-size:12px;font-weight:bold;min-height:40px;width:74px;padding:12px 8px 8px}#reader.pages-open #pages-toggle{bottom:208px}#pages-tray{position:absolute;left:0;right:0;bottom:34px;z-index:7;height:174px;background:#e1e4e1;border-top:1px solid #b7bfb8;padding:8px 32px 6px 8px;box-shadow:0 -3px 8px #0002;animation:pages-rise .18s ease-out}#pages-close{position:absolute;right:0;top:0;z-index:1;background:#f5f6f4;border:0;font-size:24px;min-height:34px;width:30px;padding:0}#thumbnails{display:flex;align-items:stretch;gap:8px;height:100%;overflow-x:auto;overflow-y:hidden;padding:0 0 4px;overscroll-behavior:contain;touch-action:pan-x}#thumbnails .thumbnail{flex:0 0 98px;min-width:98px;height:148px;min-height:0;padding:4px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;font-size:11px;background:white}#thumbnails .thumbnail canvas{max-width:88px;max-height:124px;width:auto;height:auto;object-fit:contain;margin:0 auto 4px}#thumbnails .thumbnail[aria-current=true]{border:2px solid var(--green);background:#f0f6ed}@keyframes pages-rise{from{transform:translateY(20px)}to{transform:translateY(0)}}@media(max-width:700px){.edge-arrow{width:30px;height:100px;font-size:36px}#pages-toggle{left:10px}}@media(prefers-reduced-motion:reduce){#pages-tray{animation:none}}
.toolbar{background:#faf6e9;color:#17492d;border-bottom:4px double #087500;box-shadow:0 2px 8px #17492d14;gap:5px;padding-inline:12px}.toolbar button,.toolbar select,.toolbar a{color:#17492d;border-radius:12px;font-weight:600}.toolbar button:hover,.toolbar a:hover{background:#e1eddb;color:#064d2b}.toolbar-home{display:inline-flex;align-items:center;background:#087500!important;color:#fff!important;border-radius:10px 3px 10px 3px!important;font:700 16px Georgia,serif!important;padding:9px 12px!important;letter-spacing:.04em}.toolbar-divider{background:#bdcbb3;margin-inline:4px}.toolbar #page-number{border:1px solid #a8bb9c;background:#fffdf7;border-radius:9px;color:#17492d}.toolbar #zoom-level{color:#4a614b}.toolbar #download{background:#087500;color:white;padding:10px 13px;border-radius:16px 4px 16px 4px}.toolbar #download:hover{background:#155425}#reader{background:#e5ece1}#paper-stage{background:#e5ece1}.edge-arrow{height:230px;width:62px;background:#087500;color:#fffdf0;border:3px solid #f9f3df;font-family:Georgia,serif;font-size:64px;box-shadow:0 3px 12px #244d2a35;transition:background .15s,box-shadow .15s}.edge-left{border-left:0;border-radius:0 100% 100% 0;padding-right:13px}.edge-right{border-right:0;border-radius:100% 0 0 100%;padding-left:13px}.edge-arrow:hover{background:#12552c;color:#fff;box-shadow:0 4px 15px #244d2a55}.edge-arrow:disabled{background:#72966a;opacity:.38}#pages-toggle{background:#087500;color:#fffdf0;border:2px solid #f9f3df;border-bottom:0}#pages-tray{background:#f5f2e5;border-top:3px double #73986a}#pages-close{color:#17492d;background:#f5f2e5;border-radius:0 0 0 10px}#thumbnails .thumbnail{border-radius:7px;background:#fffdf7;border-color:#cad3bf}#thumbnails .thumbnail[aria-current=true]{border-color:#087500;background:#e6f0df}#reader-notice{background:#faf6e9;color:#36583a;border-top-color:#ced9c2}.library-header{border-bottom:3px double #7d9f70}.heading-line h1{color:#17492d}.read-button{border-radius:16px 4px 16px 4px}.cover{background:#f4f3e9}.edition-card{border-bottom-color:#ccd7c2}.filters button{background:#17492d;border-radius:10px}.preview-label{color:#496345}.library-footer{border-top:3px double #a3b496}@media(max-width:1000px){.toolbar{gap:2px;padding-inline:6px}.toolbar-home{display:none}.toolbar-divider{margin-inline:1px}}@media(max-width:700px){.toolbar{gap:0;padding:4px}.toolbar #download{padding:8px;border-radius:11px 3px 11px 3px}.toolbar-divider{display:none}.edge-arrow{height:154px;width:38px;font-size:43px;border-width:2px}.edge-left{padding-right:8px}.edge-right{padding-left:8px}}@media(prefers-reduced-motion:reduce){.edge-arrow{transition:none}}
