/* Shared palette for the shelf, annual volumes and complete web edition. */
:root {
  --book-surround: #ebf2fa;
  --book-shelf-paper: #f1eeee;
  --book-paper: #e5e3dd;
}
body { background-color: var(--book-surround); }
body.book-complete-edition { --book-surround: #eae5dc; }
.book-complete-edition .book-controls { background: var(--book-surround); border-color: #cbc3b7; }
.book-reader{padding-block:clamp(2rem,5vw,5rem);--book-blue:#123b52}
.book-reader [hidden]{display:none!important}
.book-intro{display:flex;align-items:end;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:1.2rem}
.book-intro:has(+ #book-shelf:not([hidden])) { border-bottom: 2px solid #78323b; }
.book-intro .eyebrow,.book-edition{margin:0;color:var(--sea)}
.book-intro h1{margin:.35rem 0 0;color:var(--book-blue);font-size:clamp(2.5rem,6.3vw,5.8rem);line-height:1.04;letter-spacing:-.055em}
.book-subtitle{margin:.4em 0 0;color:var(--book-blue);font-size:clamp(1.25rem,2.4vw,2rem);font-weight:500;line-height:1.2}
.book-edition,.book-kicker{font-variant-numeric:tabular-nums}
.book-lead{margin:1.5rem 0 2rem;color:var(--muted)}
.book-shelf{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:clamp(1.6rem,3vw,2.8rem) clamp(1.2rem,3vw,3rem)}
.book-volume{border-top:2px solid var(--book-blue);padding:.9rem 1rem .8rem;background:var(--book-shelf-paper)}
.book-kicker{font-size:.77rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0}
.book-volume h3{line-height:1.22;font-weight:600;font-size:clamp(1.45rem,2.5vw,2rem);color:var(--book-blue);margin:.65rem 0 .55rem;letter-spacing:-.04em}
.book-volume h3 a{text-decoration:none}.book-volume h3 a:hover,.book-volume h3 a:focus-visible{text-decoration:underline}
.book-stops{display:flex;flex-wrap:wrap;gap:.1rem .55rem;list-style:none;margin:0;padding:0;color:var(--sea);font-size:.94rem}
.book-stops li:not(:last-child)::after{content:" ·";color:#78919c;padding-left:.22rem}.book-stops a{text-decoration-color:#91a6ae}
.book-all{margin:2rem 0 0}.book-contact{border-top:1px solid var(--line);padding-top:1rem;margin:2rem 0 0}
.book-top,.book-controls,.book-turn,.book-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.book-top{margin:1rem 0}.book-top>a{margin-right:auto}.book-controls{justify-content:space-between;padding:.55rem .8rem;background:#edf3f4;border:1px solid #d4dfe2;color:var(--book-blue)}
.book-reader button,.book-reader select,.book-reader input{font:inherit;color:var(--book-blue);border:1px solid #91a6af;background:#fff;border-radius:3px;min-height:42px;padding:.2rem .65rem}
.book-reader button,.book-reader select{cursor:pointer}.book-reader button:hover:enabled{background:#e3eff2}.book-reader button:disabled{opacity:.4;cursor:default}
.book-turn button{font-size:1.25rem;min-width:44px}.book-turn label,.book-top label{font-size:.87rem}.book-turn input{width:4.5rem;font-variant-numeric:tabular-nums}.book-turn span{font-size:.88rem;white-space:nowrap}
.book-stage{display:flex;justify-content:safe center;align-items:start;overflow-x:auto;padding:clamp(.5rem,2vw,1.8rem);background:var(--book-surround);min-height:22vh}
.book-leaf{margin:0;width:min(100%,max(310px,calc((100svh - 155px)*.8)));flex:none;box-shadow:0 2px 12px #12313c29;background:var(--book-paper)}
.book-stage.is-spread .book-leaf{max-width:50%}.book-stage.is-enlarged .book-leaf{width:min(1120px,max(100%,680px));max-width:none}
.book-art{position:relative;line-height:0}.book-art img{width:100%;height:auto;display:block}.book-hotspot{position:absolute;display:block}.book-hotspot:focus-visible,.book-hotspot:hover{outline:2px solid #287399;background:#2b789323;outline-offset:0}
.book-bottom{margin-top:.8rem}.book-bottom details{width:100%}.book-bottom summary{cursor:pointer;color:var(--book-blue)}#book-copy{columns:2 24rem;column-gap:2rem;max-height:55vh;overflow:auto}#book-copy p{white-space:pre-line;margin:.65rem 0}
.book-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:640px){.book-intro{align-items:start;flex-direction:column;gap:.5rem}.book-controls{padding:.4rem;gap:.4rem}.book-turn{gap:.3rem}.book-turn input{width:3.7rem}.book-top{gap:.4rem}.book-top label{position:absolute;clip-path:inset(50%)}.book-stage{padding:.35rem}.book-stage .book-leaf{width:100%}.book-reader #book-zoom{font-size:.85rem;padding:.2rem .45rem}.book-stops a{display:inline-block;padding-block:.15rem}}

.book-art .book-print {position:absolute;display:block;margin:0;max-width:none;pointer-events:none}

.book-art:has(.book-cover-imprint){container-type:inline-size}
.book-cover-imprint{position:absolute;inset:0 0 auto;height:26%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.6cqw;padding:0 3%;background:#becacf;color:#123954;text-align:center;line-height:1.15}
.book-cover-imprint strong{font:500 9cqw/1 Georgia,serif;letter-spacing:-.045em}
.book-cover-imprint span{font:400 3.65cqw/1.2 Georgia,serif}
.book-cover-imprint small{font-size:3.1cqw;letter-spacing:.035em}
