:root{color-scheme:dark;--bg:#10292c;--panel:#17383b;--text:#eff8f6;--muted:#a6bfbe;--accent:#f0ce75;--line:rgba(225,237,218,.12);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;height:100dvh;min-height:440px;overflow:hidden;background:var(--bg);color:var(--text)}button,a,input{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer}button:disabled{opacity:.22;cursor:default}button{border:0}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:7px}.header{height:88px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(23,27,25,.8);position:relative;z-index:3}.identity,.header-actions{display:flex;align-items:center;gap:20px}.brand-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#19454a;border:1px solid #326367;border-radius:12px;color:var(--accent)}.brand-mark svg{width:23px;height:23px}.document-name h1{font-size:16px;font-weight:550;letter-spacing:-.2px;margin:0 0 6px}.document-name p{margin:0;color:var(--muted);font-size:11px;letter-spacing:.4px}.document-name p span{margin:0 5px}.edition{color:#90b7b6;font-size:10px;letter-spacing:2px;font-weight:600;margin-right:10px}.header-actions{gap:12px}.button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:8px;font-size:12px;font-weight:500;min-height:38px;padding:0 13px;background:#183b3e}.button svg{width:16px;height:16px}.button:hover{background:#245256}.icon-button{width:38px;height:38px;border-radius:8px;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button:hover:not(:disabled){background:#285258;color:var(--accent)}.reader{display:flex;height:calc(100dvh - 88px);min-height:352px}.workspace{position:relative;min-width:0;flex:1;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 44%,#285b60 0%,#173b3f 43%,#10292c 83%)}.stage{display:flex;align-items:center;justify-content:center;position:relative;min-height:0;flex:1;isolation:isolate;overflow:hidden;perspective:2200px}.book{width:1000px;height:500px;position:relative;flex-shrink:0;transform:translateX(var(--offset,0px));transform-style:preserve-3d;transition:transform .7s cubic-bezier(.2,.65,.25,1);user-select:none;touch-action:pan-y;outline:0}.page{position:absolute;top:0;width:50%;height:100%;background:#fff;box-shadow:0 20px 34px -16px #000b,0 2px 5px #0005;overflow:hidden;cursor:pointer;backface-visibility:hidden}.page[hidden]{display:none}.left-page{left:0;border-radius:3px 0 0 3px}.right-page{left:50%;border-radius:0 3px 3px 0}.page img,.face img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;pointer-events:none}.paper-shade{position:absolute;inset:0;pointer-events:none}.left-page .paper-shade{background:linear-gradient(to left,#0000001c 0,#00000004 3%,transparent 12%)}.right-page .paper-shade{background:linear-gradient(to right,#00000015 0,#00000003 3%,transparent 12%)}.book.cover .right-page .paper-shade,.book.last .left-page .paper-shade{opacity:.3}.book.cover .right-page{border-radius:2px}.sheet{display:none;position:absolute;top:0;width:50%;height:100%;z-index:6;transform-style:preserve-3d;will-change:transform;pointer-events:none}.sheet.flipping{display:block}.sheet.forward{left:50%;transform-origin:left center}.sheet.backward{left:0;transform-origin:right center}.face{position:absolute;inset:0;background:white;backface-visibility:hidden;overflow:hidden;box-shadow:0 10px 24px #0003}.face.back{transform:rotateY(180deg)}.face span{position:absolute;inset:0;background:linear-gradient(90deg,#0000002b,transparent 35%,#00000014);opacity:0}.sheet.flipping .face span{animation:foldshade .7s ease-in-out}@keyframes foldshade{0%,100%{opacity:0}50%{opacity:1}}.side-arrow{position:absolute;top:50%;z-index:10;display:flex;align-items:center;justify-content:center;width:42px;height:62px;margin-top:-31px;border-radius:24px;background:transparent;color:#cae0dd;border:1px solid #9bc3bd24;transition:background .2s,border-color .2s}.side-arrow:hover:not(:disabled){background:#f0ce7515;border-color:#f0ce7575;color:var(--accent)}.side-arrow svg{width:23px;height:23px}.previous{left:28px}.next{right:28px}.reader-footer{position:relative;flex:none;padding:0 24px 26px;display:flex;align-items:center;flex-direction:column;gap:18px}.hint{font-size:11px;font-weight:400;color:#a5bfbb;letter-spacing:.15px;margin:0;line-height:18px}kbd{font-family:inherit;font-size:13px;margin-left:3px;padding:0 4px;border:1px solid #9bc3bd28;border-radius:3px;line-height:15px}.toolbar{display:flex;align-items:center;gap:7px;padding:7px 10px;background:#173a3eeb;border:1px solid #62908e44;border-radius:13px;box-shadow:0 10px 30px #0003;backdrop-filter:blur(16px)}.toolbar .icon-button{width:36px;height:36px}.toolbar .icon-button[aria-expanded=true]{background:#f0ce7520;color:var(--accent)}.divider{width:1px;height:20px;background:var(--line);margin:0 4px}.page-counter{display:flex;align-items:center;justify-content:center;min-width:102px;gap:8px;font-size:12px;color:var(--muted);white-space:nowrap}.page-counter input{font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.5px;width:51px;padding:6px 3px;text-align:center;border-radius:5px;border:1px solid transparent;background:#151c1566;color:var(--text);outline:none}.page-counter input:hover{border-color:#b6cba355}.page-counter input:focus{border-color:var(--accent)}.progress-track{position:absolute;bottom:0;left:0;width:100%;height:2px;background:#f0ce750b}.progress-track span{display:block;height:100%;width:10%;background:var(--accent);opacity:.7;transition:width .5s}.sidebar{width:248px;flex:none;z-index:5;background:#123236;border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3c6969 transparent}.sidebar[hidden]{display:none}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 16px 14px;position:sticky;top:0;background:#123236;z-index:1}.sidebar-heading h2{font-size:13px;margin:0;font-weight:500}.sidebar-heading h2 span{color:var(--muted);margin-left:7px;font-size:11px}.sidebar-heading .icon-button{width:28px;height:28px}.sidebar-heading svg{width:16px;height:16px}.thumbnails{padding:2px 18px 24px;display:grid;grid-template-columns:1fr 1fr;gap:19px 14px}.thumbnail{background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:9px;color:#abc7c1;font-size:10px}.thumbnail img{width:100%;aspect-ratio:1;object-fit:contain;background:white;border-radius:2px;border:2px solid transparent;box-shadow:0 3px 8px #0003}.thumbnail.active{color:var(--accent)}.thumbnail.active img{border-color:var(--accent);outline:3px solid #f0ce751a}.thumbnail:hover img{outline:2px solid #f0ce7580}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:#26575b;border:1px solid #66958e;border-radius:10px;max-width:90vw;padding:12px 18px;z-index:100;font-size:13px;box-shadow:0 8px 20px #0005}.zoom-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#10292c;color:var(--text);overflow:hidden}.zoom-dialog[open]{display:flex;flex-direction:column}.zoom-dialog::backdrop{background:#000c}.zoom-header{height:70px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);flex:none}.zoom-header h2{font-size:14px;font-weight:500;margin:0}.zoom-tools{display:flex;align-items:center;gap:6px}.zoom-tools output{font-size:12px;text-align:center;min-width:48px;font-variant-numeric:tabular-nums}.text-button{background:transparent;border:1px solid var(--line);border-radius:6px;padding:8px 10px;color:var(--muted);font-size:11px;margin:0 12px}.text-button:hover{color:var(--accent)}.zoom-area{min-height:0;flex:1;overflow:auto;padding:24px;overscroll-behavior:contain}.zoom-pages{display:flex;justify-content:center;width:max-content;min-width:100%;gap:2px;margin:0 auto}.zoom-pages img{display:block;background:white;box-shadow:0 6px 20px #0004;height:auto;align-self:start}.zoom-hint{font-size:11px;text-align:center;color:var(--muted);padding:16px;margin:0;flex:none}.noscript{position:fixed;inset:40% 10% auto;padding:24px;background:#19454a;z-index:20}.noscript a{text-decoration:underline}
@media(min-width:1600px){.header{padding:0 44px}.previous{left:40px}.next{right:40px}}
@media(max-width:799px){body{min-height:360px}.header{height:72px;padding:0 18px}.identity{gap:12px}.brand-mark{width:36px;height:36px;border-radius:10px}.document-name h1{font-size:14px}.header-actions{gap:7px}.edition{display:none}.download{min-height:34px;padding:0 9px}.download span{display:none}.download svg{width:17px;height:17px}.header-actions .icon-button{width:32px;height:34px}.header-actions .icon-button svg{width:18px;height:18px}.reader{height:calc(100dvh - 72px);min-height:288px}.workspace{background:radial-gradient(ellipse at 50% 40%,#285b60 0%,#15373b 55%,#10292c 95%)}.side-arrow{width:28px;height:48px;margin-top:-24px;border:0;background:#0002}.previous{left:5px}.next{right:5px}.side-arrow svg{width:18px;height:18px}.book{transition:none}.book.single .page{width:100%;left:0;border-radius:2px}.book.single .left-page{display:none}.book.single .paper-shade{opacity:0}.book.single .sheet{width:100%;left:0;transform-origin:left center}.hint{font-size:10px}.reader-footer{padding:0 12px max(20px,env(safe-area-inset-bottom));gap:14px}.toolbar{gap:4px}.toolbar .icon-button{width:34px;height:34px}.page-counter{min-width:87px;gap:5px}.page-counter input{width:43px}.sidebar{position:absolute;top:72px;bottom:0;left:0;box-shadow:20px 0 60px #0008;width:232px}.zoom-header{height:65px;padding:0 12px}.zoom-header h2{font-size:12px}.text-button{font-size:10px;margin:0 3px;padding:8px 6px}.zoom-tools{gap:0}.zoom-tools .icon-button{width:30px}.zoom-tools output{min-width:41px}.zoom-area{padding:12px}.zoom-hint{font-size:10px;padding:12px}}
@media(max-height:550px){.header{height:60px}.reader{height:calc(100dvh - 60px)}.reader-footer{gap:7px;padding-bottom:10px}.hint{display:none}.toolbar{padding:4px 8px}.sidebar{top:60px}.sidebar-heading{padding-top:10px}.zoom-header{height:55px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Portrait publication and readable viewer controls. */
:root{font-size:16px}
.identity{min-width:0}.document-name{min-width:0}.document-name h1{font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:56vw;line-height:1.3}.document-name p{font-size:.75rem;line-height:1.4}.button{font-size:.875rem}.sidebar-heading h2{font-size:.9375rem}.sidebar-heading h2 span{font-size:.8125rem}.hint{font-size:.75rem}.page-counter{font-size:.875rem;min-width:128px;gap:7px}.page-counter input{font-size:.875rem;width:66px}.thumbnails{gap:18px 14px}.thumbnail{font-size:.8125rem}.thumbnail img{aspect-ratio:595 / 842}.text-button{font-size:.875rem}.zoom-tools output{font-size:.875rem;min-width:52px}.zoom-header h2{font-size:1rem}.zoom-hint{font-size:.75rem}.edition{font-size:.75rem;letter-spacing:1.6px}.sheet .face{border-radius:1px}.page,.face{background:#f6f6f6}
@media(max-width:799px){.header{padding:0 12px}.identity{gap:9px}.document-name h1{font-size:.8125rem;max-width:calc(100vw - 151px)}.document-name p{font-size:.75rem}.brand-mark{width:32px;height:34px}.header-actions{gap:4px}.reader-footer{gap:11px}.hint{font-size:.75rem}.page-counter{font-size:.875rem;min-width:112px}.page-counter input{font-size:.875rem;width:61px}.zoom-header h2{font-size:.875rem}.zoom-header{gap:8px}.zoom-tools output{font-size:.8125rem}.text-button{font-size:.75rem;max-width:87px}.zoom-hint{font-size:.75rem}.sidebar-heading h2{font-size:.9375rem}}
@media(max-width:350px){.toolbar{gap:1px;padding:6px}.toolbar .icon-button{width:31px}.divider{margin:0 1px}.page-counter{min-width:105px}.document-name h1{max-width:calc(100vw - 148px)}}
