.finished-book{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:50px;margin:25px 0 65px;align-items:start}.reader-gallery,.book-purchase{min-width:0}.reader-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.reader-heading .eyebrow{font-size:10px}.text-button{border:0;background:none;color:#785647;font:inherit;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:4px;padding:9px 0}.reader-stage{display:flex;align-items:center;justify-content:center;min-height:450px;padding:25px 12px;background:#eee5d8;border-radius:5px}.reader-stage canvas{display:block;max-width:100%;width:100%;height:auto;background:#fff1dc;box-shadow:0 5px 18px #574a3624}.reader-stage.closed-cover canvas{width:auto;max-height:500px;max-width:92%;border-radius:3px 9px 9px 3px;border-left:8px solid #8f6b4c}.reader-stage.single-right{justify-content:flex-end}.reader-stage.single-left{justify-content:flex-start}.reader-stage.single-right canvas,.reader-stage.single-left canvas{width:55%;max-height:470px}.reader-nav{display:flex;align-items:center;justify-content:center;gap:22px;margin:18px 0}.reader-nav button{width:38px;height:38px;border:1px solid #d8c6b5;border-radius:50%;background:#fff9f0;color:#624939;cursor:pointer;font-size:18px}.reader-nav button:disabled{opacity:.35;cursor:default}.reader-nav span{font-size:12px;min-width:150px;text-align:center}.jump-label{display:flex;justify-content:center;align-items:center;gap:12px;font-size:12px}.jump-label select{padding:8px;border:1px solid #dacbbc;border-radius:5px;background:#fffdf8;color:#624939;max-width:80%}.reader-note,.draft-product-note{font-size:11px;line-height:1.6;color:#887566}.reader-note{text-align:center;max-width:450px;margin:20px auto}.book-purchase h1{font:38px/1.15 Georgia,serif;color:#49372b;margin:16px 0}.book-subtitle{font-size:16px;line-height:1.6;color:#786253}.book-description{font-size:13px;line-height:1.85;color:#847367}.book-details{display:flex;flex-direction:column;gap:10px;padding:22px 0;margin:25px 0;border-block:1px solid #e3d5c7;font-size:12px;color:#6f5b4c}.book-purchase .purchase-button{width:100%;padding:14px 18px;border:1px solid #dcad8a;border-radius:7px;background:#f3c6a6;color:#5d3c28;cursor:pointer;font-size:13px;font-weight:600}.book-purchase .purchase-button:disabled{opacity:.55;cursor:default}.original-button{display:block;margin:auto}.character-preview{margin-top:22px;border-top:1px solid #e3d5c7;padding-top:22px}.character-preview label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;margin-bottom:16px}.character-preview input:not([type=file]),.character-preview select{padding:11px;border:1px solid #d9cbbf;border-radius:5px;background:#fffdf8;color:#624939;font:inherit}.character-preview input[type=file]{max-width:100%;font-size:11px;margin-bottom:18px}.photo-upload{padding:15px;border:1px dashed #bc9e86;border-radius:6px;cursor:pointer;flex-direction:row!important;align-items:center;gap:15px!important}.photo-upload img{width:60px;height:70px;object-fit:cover;border-radius:4px}.photo-upload small{display:block;font-weight:400;font-size:10px;margin-top:7px}.character-preview [role=status]{font-size:12px;line-height:1.6;color:#806a59}.customer-sheet{width:100%;margin-top:12px}.book-reader-dialog{width:min(96vw,1800px);max-width:96vw;max-height:96vh;padding:20px;border:1px solid #d7c4af;border-radius:8px;background:#fff9ef;color:#5c4838}.book-reader-dialog::backdrop{background:#241b15ad}.dialog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.dialog-toolbar button{border:0;background:none;font-size:28px;color:inherit;cursor:pointer}.reader-scroll{max-height:72vh;overflow:auto;background:#eee5d8;text-align:center;padding:12px}.reader-scroll canvas{width:100%;height:auto;max-width:1700px;display:block;margin:auto}.book-reader-dialog p{text-align:center;font-size:11px}.preview-context{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;background:#f5e7d5;border:1px solid #e1c9ae;font-size:12px;border-radius:5px}.workflow-steps{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 28px}.workflow-steps a{padding:10px 18px;border:1px solid #dbc8b7;border-radius:5px;background:#fffaf3;font-size:12px;text-decoration:none;color:#755944}.workflow-steps a[aria-current=step]{background:#f3cfb2}.check-summary{max-width:1000px}.check-result{padding:22px;border:1px solid #c9d6bf;background:#f4f8ef;margin:20px 0;border-radius:7px}.check-result.warning{border-color:#d7bc95;background:#fbf3e8}.check-result h2{margin:0 0 10px;font:26px Georgia,serif}.check-result li{margin:7px 0;font-size:13px}.print-files{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.print-files a{font-size:12px}.check-pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.check-pages article{border:1px solid #e0d2c4;background:#fffaf4;padding:14px;border-radius:5px}.check-pages strong{display:block;font-size:13px}.check-pages small{font-size:11px;color:#8b7664}.preview-context a{color:inherit}@media(max-width:950px){.finished-book{grid-template-columns:1fr;gap:30px}.book-purchase{max-width:650px;width:100%;margin:auto}.reader-stage{min-height:300px}.reader-stage.closed-cover canvas{max-height:440px}}@media(max-width:540px){.finished-book{margin-top:18px}.book-purchase h1{font-size:31px}.reader-stage{min-height:180px;padding:15px 5px}.reader-stage.closed-cover canvas{max-height:360px}.reader-stage.single-right canvas,.reader-stage.single-left canvas{width:65%}.reader-heading .eyebrow{font-size:8px;letter-spacing:1px}.reader-nav{gap:12px}.reader-nav span{min-width:125px}.preview-context{gap:15px}.reader-scroll canvas{width:900px;max-width:none}.book-reader-dialog{padding:12px}.book-reader-dialog .reader-scroll{max-height:65vh}}
.finished-book [hidden]{display:none!important}
.reader-stage{padding:20px 8px;min-height:280px;overflow:hidden;display:block}.turner-host{width:100%;position:relative;min-height:180px}.page-turner{margin:auto}.turner-page{background:#fff1dc;overflow:hidden;box-shadow:inset 0 0 12px #60462718}.turner-page[data-density=hard]{box-shadow:inset 0 0 0 3px #8f6b4c;border-radius:3px}.reader-stage .turner-page canvas,.reader-stage.closed-cover .turner-page canvas,.reader-stage.single-left .turner-page canvas,.reader-stage.single-right .turner-page canvas,.reader-scroll .turner-page canvas{display:block;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none}.reader-scroll .turner-host{width:100%;min-width:0}.book-reader-dialog{width:min(1250px,96vw)}.book-reader-dialog .reader-scroll{overflow:hidden;max-height:none}.reader-stage.single-right,.reader-stage.single-left{justify-content:normal}.generation-summary{font-size:12px;color:#785647;padding:15px 0;border-top:1px solid #e0d2c4}
@media(max-width:540px){header nav{flex-wrap:wrap;gap:12px 18px;justify-content:center}}

.book-offer{margin:8px 0 48px}
.book-offer-grid{display:grid;gap:28px}
.book-offer .price-line{font-size:28px;font-weight:650;margin:8px 0}
.book-offer .save-line{margin:0 0 8px;font-size:14px;color:#6f5648}
.book-offer .shipping-note{font-size:13px;color:#6d5c68}
.book-offer .book-details span{display:block}
.book-progress{height:8px;border-radius:99px;background:#efe6ea;overflow:hidden;margin:12px 0}
.book-progress>span{display:block;height:100%;width:0;background:#73577c}
.book-progress.is-busy>span{width:40%;animation:book-progress 1.1s ease-in-out infinite}
@keyframes book-progress{0%{transform:translateX(-120%)}100%{transform:translateX(280%)}}
#offer-status{font-size:14px;line-height:1.5;min-height:1.5em}
#offer-photo{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
#offer-photo:focus-visible{position:static;width:auto;height:auto;clip:auto;margin:8px 0}
.book-offer .photo-upload{min-height:44px}
.book-offer .purchase-button{width:100%;margin-top:10px}
.book-offer input[type="text"],.book-offer input[type="search"],.book-offer select,#offer-name,#offer-text{font-size:16px}
.bundle-ornament{display:grid;gap:10px;margin-top:8px;padding-top:16px;border-top:1px solid #e3d5c7}
.bundle-ornament h2{font:22px Georgia,serif;margin:0;color:#49372b}
.bundle-ornament p{font-size:14px;line-height:1.5;color:#6f5648;margin:0}
.bundle-ornament-preview{display:grid;justify-items:center;gap:8px;background:#f3f1ed;border-radius:20px;padding:16px}
.bundle-ornament-preview canvas{width:min(100%,320px);height:auto;background:transparent;border-radius:50%}
.cart-preview{overflow:hidden}
.cart-preview>img{width:100%;height:100%;object-fit:contain;display:block;background:#f6f3ee}
.bundle-cross{margin:12px 0}
.bundle-cross a{color:#5d3c28}
.checkout-soon{background:#fff6e8;border:1px solid #ead7b8;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45}
.checkout-soon button{margin-top:8px;min-height:44px;border:1px solid #c4a07a;border-radius:8px;background:#fff;padding:8px 12px;font:inherit;font-size:14px;color:#5d3c28}
.cart-bundle .cart-components{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.cart-components li{display:flex;align-items:center;gap:10px;font-size:14px}
.cart-components img,.cart-component-fallback{width:48px;height:48px;object-fit:cover;border-radius:8px;background:#f6f3ee}
.book-offer .purchase-button:focus-visible,.reader-nav button:focus-visible,#offer-name:focus-visible,#offer-text:focus-visible,.orn-text select:focus-visible{outline:3px solid #2785aa;outline-offset:2px}
@media(min-width:800px){
 .book-offer-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:40px;align-items:start}
 .bundle-ornament-preview canvas{width:min(100%,360px)}
}
@media(prefers-reduced-motion:reduce){
 .book-progress.is-busy>span{animation:none;width:40%}
}
