/* Scoped to reading sheets: site navigation, owner forms and controls keep their size. */
.book-text-controls {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.book-text-controls-top { margin: 0 0 1rem; }
.book-text-controls-bottom { margin: 1.5rem 0 -2rem; }
.book-text-controls button {
  min-width: 42px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--book-paper-edge);
  border-radius: 999px;
  background: var(--book-paper);
  color: var(--book-ink);
  font: 600 .88rem/1.2 Georgia, "Times New Roman", serif;
  cursor: pointer;
}
.book-text-controls button:hover:not(:disabled) { border-color: var(--book-accent); color: var(--book-accent); }
.book-text-controls button:focus-visible { outline: 2px solid var(--book-accent); outline-offset: 3px; }
.book-text-controls button:disabled { opacity: .45; cursor: default; }
.book-reader .book-essay-body {
  font-size: calc(var(--book-body-size, 1.02rem) * var(--book-text-scale, 1));
  line-height: var(--book-body-height, 1.78);
}
.book-reader .book-chapter-subtitle,
.book-reader .book-essay-subtitle { font-size: calc(1.05rem * var(--book-text-scale, 1)); }
.book-reader .book-cover .book-subtitle { font-size: calc(1.08rem * var(--book-text-scale, 1)); }
.book-reader .book-author { font-size: calc(.95rem * var(--book-text-scale, 1)); }
.book-reader .book-framework p { font-size: calc(.83rem * var(--book-text-scale, 1)); }
.book-reader .book-availability { font-size: calc(.87rem * var(--book-text-scale, 1)); }
.book-reader .book-heading-note,
.book-reader .book-preview > p:not(.book-small-label),
.book-reader .book-end > p:not(.book-eyebrow):not(.book-follow) { font-size: calc(1rem * var(--book-text-scale, 1)); }
.book-reader .book-end .book-follow { font-size: calc(.9rem * var(--book-text-scale, 1)); }
.book-reader .book-preface {
  font-size: calc(var(--book-preface-size, 1.02rem) * var(--book-text-scale, 1));
  line-height: var(--book-preface-height, 1.78);
}
.book-reader .book-contents-part li a {
  font-size: calc(var(--book-contents-size, .82rem) * var(--book-text-scale, 1));
  line-height: var(--book-contents-height, 1.35);
}
.book-reader .book-contents-part h2 { font-size: calc(1rem * var(--book-heading-scale, 1)); }
.book-reader .book-page-heading h1,
.book-reader .book-end h1 { font-size: calc(clamp(2.05rem, 4.5vw, 3.45rem) * var(--book-heading-scale, 1)); }
.book-reader .book-cover h1 { font-size: calc(clamp(2.65rem, 6.4vw, 4.65rem) * var(--book-heading-scale, 1)); }
.book-reader .book-essay-heading .book-essay-title { font-size: calc(clamp(1.8rem, 4vw, 2.8rem) * var(--book-heading-scale, 1)); }
.book-reader .book-essay-body h2 { font-size: calc(1.45rem * var(--book-heading-scale, 1)); }
.book-reader .book-essay-body h3 { font-size: calc(1.2rem * var(--book-heading-scale, 1)); }
@media (max-width: 760px) {
  .book-reader .book-page-heading h1 { font-size: calc(clamp(2rem, 9vw, 3rem) * var(--book-heading-scale, 1)); }
}
