.bp-heading{margin:12px 0 18px;color:#2c3b45}.bp-heading h1{font-size:clamp(25px,3vw,38px);line-height:1.15;margin:0 0 5px;font-weight:500}.bp-heading p{margin:0;font-size:14px;color:#59646a}.bp-download{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:1px solid #2c3b4536;border-radius:6px;padding:8px 12px;background:#fff;color:#2c3b45;text-decoration:none;font-size:13px;font-weight:500;white-space:nowrap}.bp-download svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4}.bp-toolbar{position:sticky;top:var(--il-header-height,80px);z-index:20;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;margin-bottom:14px;padding:8px 0;background:#fff;border-bottom:1px solid #2c3b4518}.bp-view-toggle{display:flex;gap:3px;padding:3px;background:var(--cream);border-radius:7px}.bp-view-toggle button{min-height:38px;padding:6px 12px;color:inherit;border:0;border-radius:5px;background:none;font-size:13px!important;white-space:nowrap}.bp-view-toggle button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #2c3b4526}.bp-pdf-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.bp-pdf-actions select{min-height:44px;max-width:190px;padding:6px;border:1px solid #2c3b4536;border-radius:6px;background:#fff;color:inherit;font:inherit;font-size:12px}.bp-mobile-reader{max-width:620px;margin:auto}.bp-mobile-reader figure{margin:0 0 24px;scroll-margin-top:calc(var(--il-header-height,80px) + 74px)}.bp-mobile-reader figcaption{font:11px/1.5 Source Code Pro,monospace;color:#59646a;margin:0 0 7px}.bp-mobile-paper{position:relative;box-shadow:0 2px 12px #2c3b4514;border:1px solid #2c3b4520;background:#fff}.bp-mobile-paper .bp-page{height:auto}.bp-mobile-paper .bp-page img{height:auto;aspect-ratio:396/612;object-fit:contain}.bp-mobile-paper>a{position:absolute;border:1px solid transparent}.bp-mobile-paper>a:hover,.bp-mobile-paper>a:focus-visible{outline:2px solid #ad96d5;background:#ad96d522}.bp-preview{--page-w:min(29vw,300px);--page-h:calc(var(--page-w)*1.545455);background:#f5f2eb;border:1px solid #2c3b4510;border-radius:12px;padding:26px 20px 18px;overflow:hidden}.bp-book-stage{height:calc(var(--page-h) + 28px);position:relative;perspective:1800px;touch-action:pan-y}.bp-book{position:absolute;left:50%;top:10px;width:var(--page-w);height:var(--page-h);transform-style:preserve-3d;transition:transform .75s ease}.bp-closed-front{transform:translate(-50%)}.bp-closed-back{transform:translate(50%)}.bp-leaf{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:0 50%;transform-style:preserve-3d;transform:translateZ(var(--leaf-offset));transition:transform .75s cubic-bezier(.35,.05,.2,1)}.bp-leaf.bp-turned{transform:translateZ(var(--leaf-offset)) rotateY(-180deg)}.bp-leaf-front,.bp-leaf-back{position:absolute;top:0;right:0;bottom:0;left:0;backface-visibility:hidden;transform-style:preserve-3d;background:#fff;border:1px solid #2c3b4524;box-shadow:2px 4px 11px #2c3b451b}.bp-leaf-back{transform:rotateY(180deg)}.bp-leaf-front:after,.bp-leaf-back:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(90deg,#2c3b4512,transparent 5%)}.bp-leaf-back:after{background:linear-gradient(270deg,#2c3b4512,transparent 5%)}.bp-page{display:block;border:0;background:#fff;padding:0;width:100%;height:100%;cursor:zoom-in}.bp-page img{display:block;width:100%;height:100%;object-fit:fill}.bp-spine{position:absolute;left:-1px;top:0;height:100%;width:2px;background:#9eaaa7;pointer-events:none;z-index:100}.bp-staple{position:absolute;width:3px;height:20px;background:linear-gradient(90deg,#68727b,#f2f4f4 50%,#7c888c);border-radius:2px;top:calc(50% - 10px);left:-1px;z-index:101;box-shadow:1px 1px 2px #0003;pointer-events:none}.bp-turn-controls{display:flex;justify-content:center;align-items:center;gap:22px;margin:8px 0}.bp-turn-controls>span{font-size:13px;text-align:center;min-width:115px}.bp-turn-controls button{display:grid;place-items:center;flex:none;padding:0;line-height:1;border:1px solid #2c3b4530;background:#fff;width:40px;height:40px;border-radius:50%;cursor:pointer;color:#2c3b45}.bp-turn-controls button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.bp-turn-controls button:disabled{opacity:.28;cursor:default}.bp-hint{font-size:12px;text-align:center;color:#59646a;margin:12px 0}.bp-thumbnails{display:flex;gap:9px;overflow-x:auto;justify-content:flex-start;padding:9px 4px;scrollbar-width:thin;scrollbar-color:#ad96d5 transparent}.bp-thumbnails button{flex:0 0 43px;background:transparent;border:1px solid transparent;border-radius:3px;padding:3px;cursor:pointer;color:#59646a;font:inherit;font-size:10px}.bp-thumbnails button[aria-current]{border-color:#2c3b45;background:#fff}.bp-thumbnails img{width:35px;aspect-ratio:396/612;display:block;box-shadow:1px 1px 3px #0002;margin-bottom:4px}.bp-print-note{max-width:760px;margin:18px auto!important;font-size:13px!important;line-height:1.5;color:#59646a;text-align:center}.bp-loading{min-height:300px;display:flex;align-items:center;justify-content:center;gap:12px;color:#59646a}.bp-loading>span{width:20px;height:20px;border-radius:50%;border:3px solid #e3dcee;border-top-color:#ad96d5;animation:bp-spin .8s linear infinite}@keyframes bp-spin{to{transform:rotate(360deg)}}.bp-enlarged{padding:0;border:1px solid #2c3b4530;border-radius:9px;width:min(860px,94vw);max-height:92vh;background:#f5f2eb;color:#2c3b45}.bp-enlarged::backdrop{background:#19262ccc}.bp-enlarged-bar{display:flex;align-items:center;gap:16px;position:sticky;top:0;z-index:5;background:#fff;padding:10px 18px;border-bottom:1px solid #ddd;font-size:13px}.bp-enlarged-bar>span{font-size:12px;color:#59646a}.bp-enlarged-bar button{margin-left:auto;border:0;background:none;font-size:28px;cursor:pointer}.bp-enlarged-paper{position:relative;margin:16px auto;width:calc(100% - 32px)}.bp-enlarged-paper>img{width:100%;display:block}.bp-enlarged-paper>a{position:absolute;border:1px solid transparent}.bp-enlarged-paper>a:hover,.bp-enlarged-paper>a:focus-visible{outline:2px solid #ad96d5;background:#ad96d522}@media (max-width:600px){.bp-heading{margin:6px 0 10px}.bp-heading p{font-size:13px}.bp-heading h1{font-size:25px}.bp-download{padding:8px 10px;font-size:12px}.bp-preview{--page-w:37vw;padding:16px 5px 10px}.bp-toolbar{gap:8px;margin-bottom:12px}.bp-view-toggle button{font-size:12px!important;padding:6px 10px}.bp-hint{font-size:11px;padding:0 8px}.bp-enlarged-bar>span{display:none}.bp-print-note{font-size:11px!important}.bp-enlarged{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.bp-enlarged-bar{padding-top:max(8px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));min-height:54px}.bp-enlarged-bar button{width:44px;min-height:44px}.bp-enlarged-paper{width:max(640px,calc(100% - 24px));margin:12px}.bp-mobile-reader figure{margin-bottom:20px}}@media (max-height:600px) and (min-aspect-ratio:4/3){.bp-preview{--page-w:min(26vw,220px);padding:14px 12px}}@media (prefers-reduced-motion:reduce){.bp-book,.bp-leaf{transition:none}.bp-loading>span{animation:none}}
