/* Scalable cover artwork shared by customer previews and the book manager. */
.theme-forest{--cover:#174e43;--accent:#d6e9ba;--mat:#e9ece1}
.theme-indigo{--cover:#30345b;--accent:#e5bf88;--mat:#e6e5ef}
.theme-clay{--cover:#9c4938;--accent:#f4d4b4;--mat:#f1e5de}
.theme-ocean{--cover:#155d75;--accent:#d2ebe8;--mat:#e2ebec}
.theme-plum{--cover:#62445f;--accent:#efcabc;--mat:#ebe2e8}
.theme-ochre{--cover:#826019;--accent:#f6e6ad;--mat:#eee7d7}
.bs-book{position:relative;width:100%;aspect-ratio:148/210;background:var(--cover,#174e43);color:#fff8e9;border-radius:2px 5px 5px 2px;padding:8.5% 9% 8% 12%;display:flex;flex-direction:column;isolation:isolate;overflow:hidden;box-shadow:2px 2px 0 #e2e0d5,5px 5px 0 #f9f8f0,7px 7px 0 #c1c6b7,12px 16px 22px #172d3226}
.bs-book:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,#fff0 55%,#fff1);pointer-events:none}
.bs-book-binding{position:absolute;left:4%;width:1px;top:0;bottom:0;background:#fff2;box-shadow:2px 0 3px #0003}
.bs-cover-top{display:flex;justify-content:space-between;gap:8px;font-size:6px;letter-spacing:.15em;line-height:1.5}
.bs-cover-top b{letter-spacing:.3em}
.bs-cover-edition{font-size:6px;font-weight:400;letter-spacing:.03em;text-align:right;max-width:50%}
.bs-cover-kind{font-size:6px;letter-spacing:.06em;margin-top:17%;color:var(--accent)}
.bs-cover-title{font:700 24px/1.05 var(--public-heading);letter-spacing:-.05em;margin-top:6px;overflow-wrap:anywhere;position:relative;z-index:2}
.bs-cover-subtitle{font-size:6px;line-height:1.6;max-width:90%;margin-top:9px;color:#fffbd8bb}
.bs-cover-art{position:relative;flex:1;min-height:27%;margin-top:11%;overflow:hidden;border-bottom:1px solid #ffffff29}
.bs-cover-art i{position:absolute;display:block;border:1px solid var(--accent);border-radius:50%;width:95%;aspect-ratio:1;left:2%;top:15%;opacity:.8}
.bs-cover-art i:nth-child(2){width:76%;left:12%;top:27%}
.bs-cover-art i:nth-child(3){width:57%;left:21%;top:39%}
.bs-cover-art i:nth-child(4){width:37%;left:31%;top:51%;background:var(--accent)}
.bs-cover-art>span{position:absolute;right:0;top:4%;font:700 22px var(--public-heading);color:var(--accent)}
.design-arch .bs-cover-art i{border-radius:100% 100% 0 0;top:15%;height:100%;width:75%;left:12%}
.design-arch .bs-cover-art i:nth-child(2){left:22%;top:32%;width:55%}
.design-arch .bs-cover-art i:nth-child(3){left:32%;top:50%;width:35%}
.design-arch .bs-cover-art i:nth-child(4){display:none}
.design-grid .bs-cover-art{background-image:linear-gradient(#ffffff22 1px,transparent 1px),linear-gradient(90deg,#ffffff22 1px,transparent 1px);background-size:18% 28%}
.design-grid .bs-cover-art i{width:42%;height:65%;left:25%;top:20%;border-radius:2%;transform:rotate(45deg)}
.design-grid .bs-cover-art i:nth-child(2){width:26%;height:42%;top:32%;left:34%;background:var(--accent)}
.design-grid .bs-cover-art i:nth-child(n+3){display:none}
.bs-cover-personal{display:flex;align-items:center;flex-direction:column;gap:3px;font-size:7px;line-height:1.3;margin-top:9px;text-align:center;overflow-wrap:anywhere}
.bs-cover-personal strong{font-size:9px}
.bs-cover-personal small{font-size:6px;max-width:100%;overflow-wrap:anywhere}
.bs-cover-personal img{width:20px;height:20px;object-fit:contain}
.bs-cover-bottom{display:flex;justify-content:space-between;gap:5px;font-size:5px;letter-spacing:.13em;padding-top:11px;margin-top:auto;color:var(--accent)}
.bs-book{container-type:inline-size;padding:0}
.bs-book>*:not(.bs-book-binding){margin-left:12%;margin-right:9%}
.bs-book .bs-cover-top{margin-top:8.5%;font-size:3.2cqw}
.bs-book .bs-cover-edition{font-size:3.1cqw}
.bs-book .bs-cover-kind{font-size:3.3cqw;margin-top:13%}
.bs-book .bs-cover-title{font-size:11.6cqw;overflow-wrap:break-word}
.bs-book .bs-cover-subtitle{font-size:3.4cqw;line-height:1.5;margin-top:4%}
.bs-book .bs-cover-art{min-height:18%;margin-top:8%;flex-shrink:1}
.bs-book .bs-cover-art>span{font-size:12cqw}
.bs-book .bs-cover-personal{font-size:3.5cqw;margin-top:4%;gap:1cqw}
.bs-book .bs-cover-personal strong{font-size:4.7cqw}
.bs-book .bs-cover-personal>span{font-size:3.5cqw}
.bs-book .bs-cover-personal small{font-size:2.9cqw}
.bs-book .bs-cover-personal img{width:10cqw;height:10cqw}
.bs-book .bs-cover-bottom{font-size:2.6cqw;padding-top:5%;margin-bottom:8%}
.bs-book.cover-dense .bs-cover-kind{margin-top:8%}
.bs-book.cover-dense .bs-cover-title{font-size:10cqw}
.bs-book.cover-dense .bs-cover-subtitle{margin-top:3%;font-size:3cqw}
.bs-book.cover-dense .bs-cover-art{min-height:6%;margin-top:4%}
.bs-book.cover-dense .bs-cover-personal{margin-top:3%;gap:.7cqw}
.bs-book.cover-dense .bs-cover-personal strong{font-size:3.6cqw}
.bs-book.cover-dense .bs-cover-personal>span{font-size:2.8cqw}
.bs-book.cover-dense .bs-cover-personal small{font-size:2.5cqw}
.bs-book.cover-dense .bs-cover-personal img{width:8cqw;height:8cqw}
.bs-book.cover-dense .bs-cover-bottom{padding-top:3%;margin-bottom:6%}

/* The illustrated science edition uses the same artwork in previews and print. */
.bs-book.science-cover{background:#f7f6ee;color:var(--cover);border-top:4px solid var(--cover)}
.science-cover .bs-book-binding{background:#b1c1b0;box-shadow:none}
.bs-book.science-cover .bs-cover-kind{color:var(--cover);margin-top:9%}
.science-cover .bs-cover-subtitle{color:#47645b}
.bs-book.science-cover .bs-cover-art{display:flex;align-items:center;border:0;min-height:18%;margin-top:5%;background:none}
.science-cover .bs-cover-art img{display:block;width:100%;height:auto;max-height:100%;object-fit:contain}
.science-cover.design-arch .bs-cover-art img{border-radius:45% 45% 1cqw 1cqw}
.science-cover.design-grid .bs-cover-art{border:1px solid var(--cover);border-radius:0}
.bs-book.science-cover .bs-cover-bottom{color:var(--cover);padding-top:3%;margin-bottom:5%;flex-shrink:0}

.bs-publisher{display:flex;align-items:center;gap:.6em}.bs-publisher .brand-symbol{width:3.5em;height:3.5em;flex:none}.bs-cover-art .brand-symbol{width:1.6em;height:1.6em}
