@font-face{font-family:BookStory;src:url("../assets/0109-Carlito-Regular.woff")}@font-face{font-family:BookStory;src:url("../assets/0112-Carlito-Bold.woff");font-weight:700}.bookpager{display:flex;align-items:center;gap:10px;margin-bottom:16px}.bookpager select{flex:1;min-width:0}.bookpager button{padding:10px 15px}.bookpager label{margin:0}#bookCanvas{display:block;width:100%;height:auto}.preview{max-width:620px}.preview .cardstage{padding:10px;background:#f1ecdf}#downloadBook{margin-top:12px}#audioPlayer{width:100%}.pdfactions{margin-top:15px}@media(max-width:760px){.preview{order:0}.editor{order:-1}.bookpager{gap:7px}}/* Group page count and format; separate the reading/coloring purpose. */
.preview .book-format{gap:0;line-height:1.3}
.preview .book-format span,.preview .book-format small{line-height:1.3;margin:0;flex-shrink:0}
.preview .book-format small:last-child{margin-top:1em;white-space:nowrap}

/* One book layout for Christmas, Easter, and the bundle editor. */
.book-page .preview{max-width:620px}
.book-page .preview .cardstage{padding:10px;margin-top:20px;overflow:visible}
.book-page .preview .book-format{position:absolute;top:-8px;right:-2px;display:flex;width:105px;height:105px;min-width:105px;min-height:105px;box-sizing:border-box;gap:0;padding:12px 7px;font:italic .7rem/1.3 Georgia,serif}
.book-page .preview .book-format span,.book-page .preview .book-format small{font:inherit;line-height:1.3;margin:0}
.book-page .preview .book-format small:last-child{margin-top:1em}
.book-page.embed .workspace{display:grid;grid-template-columns:minmax(360px,.86fr) minmax(400px,1.14fr);gap:35px}
@media(max-width:1100px){.book-page .preview .book-format{width:85px;height:85px;min-width:85px;min-height:85px;padding:10px 6px;font-size:.59rem}.book-page.embed .workspace{grid-template-columns:1fr 1fr;gap:20px}}
@media(max-width:760px){.book-page.embed .workspace{display:flex;flex-direction:column}.book-page .editor,.book-page.embed .editor{order:-1}.book-page .preview,.book-page.embed .preview{order:0}.book-page.embed .formsection{padding:24px}}

/* Shared page navigation: previous, page selection, next. */
.book-page .bookpager{display:grid;grid-template-columns:42px auto minmax(0,1fr) 42px;align-items:center;gap:10px;width:100%;margin-bottom:16px}
.book-page .bookpager button{display:grid;place-items:center;width:42px;min-width:42px;height:42px;padding:0;line-height:1;font-size:18px}
.book-page .bookpager label{margin:0;white-space:nowrap}
.book-page .bookpager select{width:100%;min-width:0;min-height:42px;margin:0}
.book-page .easter-intro h1{font-size:clamp(1.05rem,4.2vw,3.2rem);white-space:nowrap;line-height:1.2;letter-spacing:-.025em}
@media(max-width:760px){.book-page .bookpager{gap:7px}}

/* Numbered questions must wrap rather than form one unbreakable flex row. */
@media(max-width:600px){.book-page .formsection h3{display:block;text-align:left;white-space:normal;overflow-wrap:anywhere}.book-page .formsection h3 .number{display:inline-grid;vertical-align:middle;margin-right:10px}.book-page .formsection h3 .wholeword{white-space:normal}}

/* Same introductory layout as the card configurator. */
.book-page .intro{text-align:left}.book-page .intro>div{max-width:none}.book-page .intro p:not(.eyebrow){font-size:1rem;color:#66736c;text-align:left}.book-page .intro .easter-stiftline{white-space:normal}.book-page .easter-page .workspace{margin-top:0}.book-page .downloadbox{padding:28px}.book-page .book-details p{margin:0 0 18px;line-height:1.7}.book-page .book-details .hint{margin-bottom:0}.book-page .downloadbox>.textbutton{display:inline-block;margin:22px 0}.book-page .downloadbox>p{margin:18px 0}.book-page .downloadbox>.primary:not([hidden]){display:block;width:100%;margin:20px 0 0}@media(max-width:760px){.book-page .downloadbox{padding:24px}}
