/* PLAN-LIBRARY-TEAM-AND-PARITY §E — an article on the item page.
   Loaded by content_watch.html only when c.kind == 'article'. Uses the page's
   own tokens (--g*, --r-*, --sh-*) and, under the Reading Room, --rr-*.
   No hex, no literal radius (tests/test_design_tokens.py). */

.art-stage { align-items: start; }
/* .stage.art-stage--solo: the page's own inline .stage rule loads after this
   file, so a single class would lose to its two-column grid */
.stage.art-stage--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.art-reader {
  background: var(--color-white); border: 1px solid var(--g200); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); padding: 28px 32px 32px; min-width: 0;
}
@media (max-width: 640px) { .art-reader { padding: 20px 16px 24px; } }

.art-brief { padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--g100); }
.art-kicker {
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--g600); margin: 0 0 10px;
}
.art-summary { font-size: 16px; line-height: 1.6; color: var(--g900); max-width: 68ch; text-wrap: pretty; }
.art-points { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 6px; max-width: 68ch; }
.art-points li { font-size: 14.5px; line-height: 1.5; color: var(--g800); }
.art-note { margin-top: 12px; font-size: 12px; color: var(--g500); }

.art-authors { font-size: 13px; color: var(--g600); margin: 0 0 16px; max-width: 68ch; }
.art-body { font-size: 15.5px; line-height: 1.7; color: var(--g800); max-width: 68ch; overflow-wrap: anywhere; }
.art-body h2, .art-body h3, .art-body h4 {
  color: var(--g900); line-height: 1.3; margin: 1.4em 0 .4em; scroll-margin-top: 80px; text-wrap: balance;
}
.art-body h2 { font-size: 20px; }
.art-body h3 { font-size: 17px; }
.art-body h4 { font-size: 15.5px; }
.art-body > :first-child { margin-top: 0; }
.art-body p { margin: 0 0 .9em; }
.art-body ul, .art-body ol { margin: 0 0 .9em 1.2em; }
.art-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 13.5px; margin: 0 0 1em; }
.art-body td, .art-body th { border: 1px solid var(--g200); padding: 6px 8px; }
.art-body a { color: var(--color-primary); text-decoration: underline; }

.art-full { margin-top: 18px; border-top: 1px solid var(--g100); padding-top: 14px; }
.art-full > summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--g800); }
.art-fulltext { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--g800); max-width: 68ch; }
.art-fulltext p { margin: 0 0 .9em; }
.art-source { margin-top: 18px; font-size: 14px; }
.art-source a { color: var(--color-primary); font-weight: 600; }

.art-gate {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  padding: 18px 20px; border: 1px dashed var(--g300); border-radius: var(--r-md); background: var(--g50);
}
.art-gate span { font-size: 14px; color: var(--g600); }
.art-gate a {
  margin-top: 4px; padding: 9px 16px; border-radius: var(--r-md); font-weight: 700;
  background: var(--color-primary); color: var(--color-white);
}

/* sections rail: sticky beside the text; the page's .chapters look */
.art-sections { contain: none; position: sticky; top: 16px; max-height: calc(100vh - 32px); }
.art-sec { text-decoration: none; }
.art-sec-3 { padding-left: 28px; }
.art-sec-4 { padding-left: 40px; }
.art-sec-3 .sl, .art-sec-4 .sl { font-weight: 500; }
/* a carousel's slide row: the number bold, the slide's words whole and regular (Ramy 2026-10-03) */
.chrow .sl.sl-slide { font-weight: 400; }
.chrow .sl.sl-slide b { font-weight: 700; }
@media (max-width: 900px) { .art-sections { position: static; max-height: 360px; order: -1; } }

/* the Reading Room */
body.rr-page .art-reader { background: var(--rr-paper-raised); border-color: var(--rr-rule); border-radius: var(--rr-radius-card); box-shadow: none; }
body.rr-page .art-brief { border-bottom-color: var(--rr-rule); }
body.rr-page .art-kicker { font-family: var(--rr-font-mono); font-weight: 500; color: var(--rr-ink-2); }
body.rr-page .art-summary { font-family: var(--rr-font-display); font-size: 18px; color: var(--rr-ink); }
body.rr-page .art-points li, body.rr-page .art-body, body.rr-page .art-fulltext { color: var(--rr-ink); }
body.rr-page .art-note, body.rr-page .art-authors { color: var(--rr-ink-3); }
body.rr-page .art-body h2, body.rr-page .art-body h3, body.rr-page .art-body h4 { font-family: var(--rr-font-display); font-weight: 500; color: var(--rr-ink); }
body.rr-page .art-body a, body.rr-page .art-source a { color: var(--rr-accent); }
body.rr-page .art-body td, body.rr-page .art-body th { border-color: var(--rr-rule); }
body.rr-page .art-full { border-top-color: var(--rr-rule); }
body.rr-page .art-gate { background: var(--rr-paper-sunken); border-color: var(--rr-rule-strong); border-radius: var(--rr-radius-card); }
body.rr-page .art-gate span { color: var(--rr-ink-2); }
body.rr-page .art-gate a { background: var(--rr-ink); color: var(--rr-paper); border-radius: var(--rr-radius-pill); }

/* the kind badge (the page defines video and podcast only) */
.tb-article { background: var(--g700); }
body.rr-page .tb-article { background: var(--rr-ink-2); color: var(--rr-paper); }

/* §E step 3 — a guideline: the document in the page, then its sections */
.tb-guideline { background: var(--g800); }
body.rr-page .tb-guideline { background: var(--rr-accent); color: var(--rr-paper); }
/* storycasts and quizzes (2026-10-04): interactive, so their own badge hues */
.tb-storycast { background: var(--g800); }
.tb-quiz { background: var(--g700); }
body.rr-page .tb-storycast { background: var(--rr-type-opinion); color: var(--rr-paper); }
body.rr-page .tb-quiz { background: var(--rr-type-research); color: var(--rr-paper); }
.gl-viewer { border: 1px solid var(--g200); border-radius: var(--r-md); overflow: hidden; margin: 0 0 20px; background: var(--g50); }
.gl-viewer object { display: block; width: 100%; height: min(80vh, 900px); }
.gl-fallback { padding: 16px; font-size: 14px; color: var(--g600); }
.gl-fallback a { color: var(--color-primary); font-weight: 600; }
.gl-sections { display: grid; gap: 14px; max-width: 68ch; }
.gl-sec h3 { font-size: 17px; color: var(--g900); margin: 0 0 4px; scroll-margin-top: 80px; text-wrap: balance; }
.gl-sec p { font-size: 15px; line-height: 1.6; color: var(--g800); margin: 0; }
@media (max-width: 640px) { .gl-viewer object { height: 70vh; } }
body.rr-page .gl-viewer { border-color: var(--rr-rule); border-radius: var(--rr-radius-media); background: var(--rr-paper-sunken); }
body.rr-page .gl-fallback { color: var(--rr-ink-2); }
body.rr-page .gl-fallback a { color: var(--rr-accent); }
body.rr-page .gl-sec h3 { font-family: var(--rr-font-display); font-weight: 500; color: var(--rr-ink); }
body.rr-page .gl-sec p { color: var(--rr-ink); }

/* §E step 4 — a document: the file is the page */
.tb-document { background: var(--g600); }
body.rr-page .tb-document { background: var(--rr-ink-3); color: var(--rr-paper); }
.art-stage--solo.doc-stage { max-width: none; }
.doc-viewer { margin: 0 0 12px; border: 1px solid var(--g200); border-radius: var(--r-md); overflow: hidden; background: var(--g50); }
.doc-frame { display: block; width: 100%; height: min(82vh, 980px); border: 0; background: var(--color-white); }
.doc-oversize { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 320px; padding: 24px; text-align: center; font-size: 14px; color: var(--g600); }
.doc-oversize[hidden] { display: none; }
.doc-oversize b { color: var(--g900); }
.doc-open { padding: 9px 16px; border-radius: var(--r-md); background: var(--color-primary); color: var(--color-white); font-weight: 700; }
.doc-none { display: flex; justify-content: center; padding: 16px; }
.doc-none img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
@media (max-width: 640px) { .doc-frame { height: 72vh; } }
body.rr-page .doc-viewer { border-color: var(--rr-rule); border-radius: var(--rr-radius-media); background: var(--rr-paper-sunken); }
body.rr-page .doc-oversize { color: var(--rr-ink-2); }
body.rr-page .doc-oversize b { color: var(--rr-ink); }
body.rr-page .doc-open { background: var(--rr-ink); color: var(--rr-paper); border-radius: var(--rr-radius-pill); }

/* §E step 5 — an infographic: the picture, zoomable */
.tb-infographic { background: var(--g700); }
body.rr-page .tb-infographic { background: var(--rr-type-research); color: var(--rr-paper); }
.ig-figure { margin: 0 0 18px; }
.ig-open { display: block; width: 100%; padding: 0; border: 1px solid var(--g200); border-radius: var(--r-md);
  background: var(--g50); cursor: zoom-in; overflow: hidden; }
.ig-open img { display: block; width: 100%; height: auto; max-height: calc(100vh - 220px); object-fit: contain; }
.ig-open:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.ig-caption { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--g600); max-width: 68ch; }
.ig-box { margin: auto; max-width: 96vw; max-height: 96vh; padding: 0; border: 0; background: transparent; cursor: zoom-out; }
.ig-box::backdrop { background: color-mix(in srgb, var(--g900) 92%, transparent); }
.ig-box img { display: block; max-width: 96vw; max-height: 96vh; object-fit: contain; }
body.rr-page .ig-open { border-color: var(--rr-rule); border-radius: var(--rr-radius-media); background: var(--rr-paper-sunken); }
body.rr-page .ig-open:focus-visible { outline-color: var(--rr-accent); }
body.rr-page .ig-caption { color: var(--rr-ink-2); }

/* §E step 6 — a carousel: the 4:5 swipe stage (PLAN-CAROUSEL-2026-09 §5),
   restated in this page's tokens; behaviour in static/js/carousel-stage.js */
.tb-carousel { background: var(--g700); }
body.rr-page .tb-carousel { background: var(--rr-type-opinion); color: var(--rr-paper); }
.ca-stage .art-reader { max-width: 760px; }
.ca-frame { position: relative; width: 100%; max-width: 540px; margin: 0 auto; }
/* overflow-anchor: a lazy slide image loading changes the track's layout and
   the browser's scroll anchoring then keeps whatever it was anchored to in
   view — which is how a carousel opened from Browse landed on slide 4.
   carousel-stage.js pins slide 1; this stops it drifting in the first place. */
.ca-track { display: flex; aspect-ratio: 4 / 5; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-behavior: smooth;
  overflow-anchor: none;
  border-radius: var(--r-md); background: var(--g900); scrollbar-width: none; }
.ca-track::-webkit-scrollbar { display: none; }
/* `start`, not `center`: a slide is exactly the track's width so the resting
   positions are identical, but a mandatory re-snap after a layout change then
   has one unambiguous answer instead of two equidistant ones. */
.ca-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; scroll-snap-align: start;
  scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; }
.ca-slide img, .ca-slide video { width: 100%; height: 100%; object-fit: contain; display: block; }
.ca-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: none;
  cursor: pointer; z-index: 2; border-radius: var(--r-full); background: var(--color-white); color: var(--g900);
  font-size: 20px; line-height: 1; opacity: 0; transition: opacity .15s; box-shadow: var(--sh-sm); }
.ca-frame:hover .ca-nav, .ca-nav:focus-visible { opacity: .92; }
.ca-nav[disabled] { opacity: 0 !important; cursor: default; }
.ca-nav-prev { left: 10px; }
.ca-nav-next { right: 10px; }
@media (hover: none) { .ca-nav { display: none; } }
.ca-count { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 2px 9px; font-size: 12px; font-weight: 600;
  border-radius: var(--r-full); background: var(--g900); color: var(--color-white); opacity: .7; transition: opacity .4s; }
.ca-count.is-faded { opacity: 0; }
.ca-mute { position: absolute; bottom: 11px; right: 11px; z-index: 2; width: 36px; height: 36px; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--g600);
  border-radius: var(--r-full); background: var(--g900); color: var(--color-white); opacity: .8; }
.ca-mute:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }
.ca-dots { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 14px 0 0; }
.ca-dot { width: 8px; height: 8px; padding: 0; border: none; cursor: pointer; border-radius: var(--r-full);
  background: var(--g300); transition: background .15s, transform .15s; }
.ca-dot.is-active { background: var(--color-accent); transform: scale(1.15); }
.ca-note { max-width: 540px; margin: 14px auto 0; padding: 10px 12px; border: 1px solid var(--g200);
  border-radius: var(--r-md); font-size: 13px; color: var(--g600); }
.ca-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; max-width: 540px;
  margin: 0 auto; padding: 32px 24px; border-radius: var(--r-md); background: var(--g100); color: var(--g500);
  font-size: 14px; text-align: center; }
.ca-text { margin: 12px 0 0 1.4em; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; color: var(--g800); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .ca-track { scroll-behavior: auto; } .ca-dot, .ca-count, .ca-nav { transition: none; } }
body.rr-page .ca-track, body.rr-page .ca-note, body.rr-page .ca-empty { border-radius: var(--rr-radius-media); }
body.rr-page .ca-dot { background: var(--rr-rule-strong); }
body.rr-page .ca-dot.is-active { background: var(--rr-accent); }
body.rr-page .ca-note { border-color: var(--rr-rule); color: var(--rr-ink-2); }
body.rr-page .ca-empty { background: var(--rr-paper-sunken); color: var(--rr-ink-3); }
body.rr-page .ca-text { color: var(--rr-ink); }

/* ── The book (Ramy 2026-10-03) ─────────────────────────────────────────
   Every non-recording item is the same open book as the video/podcast page
   (static/css/pages/watch-book.css): ONE spread, two pages meeting at a spine
   — a hairline with a little shading either side — no gap, the outer corners
   round and the inner ones square; one screen tall (--book-h from
   static/js/item-book.js), each page scrolling on its own. Which page is the
   wide one follows what it holds:
     .book--picture  infographic, carousel   picture narrow | text wide
     .book--article  article                 article wide   | text narrow
     .book--file     guideline, document     text narrow    | file wide
   Below 901 px the pages stack, each a whole card. `.stage.book` because
   the page's own inline .stage grid loads after this file. */
.stage.book { display: grid; gap: 0; align-items: stretch; margin-top: 18px;
  height: max(320px, var(--book-h, calc(100dvh - 240px))); }
.stage.book--picture { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.stage.book--article { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.stage.book--file { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.book-page { min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior: contain;
  background-color: var(--color-white); border: 1px solid var(--g200); }
/* the verso: shading into the gutter on its inner (right) edge */
.book-page:first-child { border-radius: var(--r-lg) var(--rr-radius-none, 0) var(--rr-radius-none, 0) var(--r-lg);
  background-image: linear-gradient(to left, var(--g100), transparent 40px); }
/* the recto: no second rule at the spine, shading from its inner (left) edge */
.book-page:last-child { border-left: 0; border-radius: var(--rr-radius-none, 0) var(--r-lg) var(--r-lg) var(--rr-radius-none, 0);
  background-image: linear-gradient(to right, var(--g100), transparent 24px); }
/* book margins: the gutter side wider than the outer one */
.book-text:first-child { padding: 30px 52px 24px 36px; }
.book-text:last-child { padding: 30px 36px 24px 44px; }
.book-media { display: flex; flex-direction: column; align-items: stretch; justify-content: center; }
.book-media:first-child { padding: 24px 40px 24px 24px; }
.book-media:last-child { padding: 24px 24px 24px 32px; }
.book-media > .art-gate { margin: 24px; }
/* the running head (as the video page's verso) */
.book-head { margin-bottom: 14px; }
.book-head .bk-kicker { font-size: 12px; letter-spacing: .04em; color: var(--g500); }
.book-head .bk-title { margin-top: 4px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.15; color: var(--g900); text-wrap: balance; }
.book-text .art-brief { border-bottom: 0; padding-bottom: 6px; margin-bottom: 14px; }
.book-text .art-brief .art-kicker { display: none; }          /* the running head says it */
/* the picture is an illustration on its page: whole, fitted */
.book-media .ig-open { flex: 1; min-height: 0; border: 0; border-radius: var(--rr-radius-none, 0); background: transparent;
  display: flex; align-items: center; justify-content: center; }
.book-media .ig-open img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); }
/* the carousel stage: full page width at 4:5, dots below; the book fits it (item-book.js) */
.book-media .ca-frame { width: 100%; height: auto; max-height: calc(100% - 44px); aspect-ratio: 4 / 5; margin: 0 auto; }
.book-media .ca-track { height: 100%; aspect-ratio: auto; }
.book-media .ca-dots { padding: 10px 0 0; }
.book-media .ca-note { margin: 10px 0 0; }
/* frames: the journal's page, the PDF, the Office file */
.book-frame, .book-file, .book-file object { display: block; width: 100%; height: 100%; border: 0;
  border-radius: var(--r-md); background: var(--color-white); }
.book-file { flex: 1; overflow: hidden; }
.book-media .doc-office { flex: 1; display: flex; flex-direction: column; }
.book-media .doc-office-frame { flex: 1; }
.book-reader { border: 0; box-shadow: none; border-radius: var(--rr-radius-none, 0); background: transparent; padding: 6px; height: 100%; overflow-y: auto; }
/* slides and sections read like the video page's contents rail: page
   numbers on the right, a ribbon on the current one */
.book-parts { margin: 6px 0 20px; border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.book-parts .ch-head { padding: 12px 4px; }
.book-parts .ch-list { max-height: 44vh; overflow-y: auto; position: relative; padding: 2px 0; }
.book-parts .chrow { align-items: baseline; gap: 12px; padding: 9px 6px; cursor: pointer; text-decoration: none; }
.book-parts .chrow > span:first-child { flex: 1; min-width: 0; }
.book-parts .bk-pno { flex: none; position: relative; min-width: 46px; text-align: right; font-size: 13px;
  color: var(--g600); font-variant-numeric: tabular-nums; }
.book-parts .chrow.on { background: var(--g50); }
.book-parts .chrow.on .bk-pno { color: var(--g900); font-weight: 600; }
.book-parts .bk-ribbon { position: absolute; left: 2px; top: -9px; width: 9px; height: 20px; background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); opacity: 0; }
.book-parts .chrow.on .bk-ribbon { opacity: 1; }
/* statements inside the book, as the video page's "on this page" */
.book-leaf { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--g100); }
.book-leaf .bk-leaf-h { font-size: 18px; font-weight: 600; color: var(--g700); margin-bottom: 12px; }
.book-leaf .bk-sts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.book-leaf .bk-tx { margin: 0; font-size: 17px; line-height: 1.45; color: var(--g900); }
.book-leaf .meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--g600); }
/* the article a journal will not let us frame: its page, blurred, one way out */
.art-standin { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: var(--r-md); }
.art-standin-page { position: absolute; inset: 0; padding: 32px 36px; filter: blur(5px); opacity: .55;
  pointer-events: none; user-select: none; background: var(--color-white); }
.art-standin-host { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); }
.art-standin-title { margin: 10px 0 8px; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--g900); }
.art-standin-auth { font-size: 13px; color: var(--g600); margin: 0 0 16px; }
.art-standin-body { font-size: 15px; line-height: 1.7; color: var(--g800); }
.art-standin-cta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center; }
.art-standin-cta p { margin: 0; font-size: 14px; color: var(--g700); background: var(--color-white); padding: 4px 10px; border-radius: var(--r-full); }
.art-standin-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-full);
  background: var(--g900); color: var(--color-white); font-weight: 700; text-decoration: none; box-shadow: var(--sh-md); }
.art-standin-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
@media (max-width: 900px) {
  .stage.book, .stage.book--picture, .stage.book--article, .stage.book--file { grid-template-columns: minmax(0, 1fr); height: auto; gap: 16px; }
  .book-page, .book-page:first-child, .book-page:last-child { overflow: visible; border: 1px solid var(--g200);
    border-radius: var(--r-lg); background-image: none; }
  .book-text:first-child, .book-text:last-child { padding: 20px 18px 16px; }
  .book-media:first-child, .book-media:last-child { padding: 12px; min-height: 60vh; }
  .book-media .ig-open img { max-height: 80vh; }
  .book-media .ca-frame { height: auto; width: 100%; max-width: 540px; }
  .book-media .ca-track { aspect-ratio: 4 / 5; height: auto; }
  .book-frame, .book-file, .book-file object { min-height: 75vh; }
  .art-standin { min-height: 70vh; }
  /* stacked, the thing itself comes first and its text under it — also for
     a guideline / document, whose text is the left page on a wide screen */
  .book-media { order: -1; }
}
/* the Reading Room: the video book's paper, ink, faces and accent */
body.rr-page .book-page { background-color: var(--rr-paper-raised); border-color: var(--rr-rule); }
body.rr-page .book-page:first-child { border-radius: var(--rr-radius-card) var(--rr-radius-none, 0) var(--rr-radius-none, 0) var(--rr-radius-card);
  background-image: linear-gradient(to left, var(--rr-paper-sunken), transparent 40px); }
body.rr-page .book-page:last-child { border-radius: var(--rr-radius-none, 0) var(--rr-radius-card) var(--rr-radius-card) var(--rr-radius-none, 0);
  background-image: linear-gradient(to right, var(--rr-paper-sunken), transparent 24px); }
body.rr-page .book-head .bk-kicker { font-family: var(--rr-font-mono); color: var(--rr-ink-3); }
body.rr-page .book-head .bk-title { font-family: var(--rr-font-display); font-weight: 500; color: var(--rr-ink); }
body.rr-page .book-frame, body.rr-page .book-file, body.rr-page .book-media .ig-open img,
body.rr-page .art-standin { border-radius: var(--rr-radius-media); }
body.rr-page .book-parts { border-color: var(--rr-rule); }
body.rr-page .book-parts .ch-head h3 { color: var(--rr-ink); }
body.rr-page .book-parts .bk-pno { font-family: var(--rr-font-mono); color: var(--rr-ink-2); }
body.rr-page .book-parts .chrow.on { background: var(--rr-paper-sunken); }
body.rr-page .book-parts .chrow.on .bk-pno { color: var(--rr-ink); }
body.rr-page .book-parts .bk-ribbon { background: var(--rr-accent); }
body.rr-page .book-leaf { border-top-color: var(--rr-rule-soft); }
body.rr-page .book-leaf .bk-leaf-h { font-family: var(--rr-font-display); font-weight: 500; color: var(--rr-ink-2); }
body.rr-page .book-leaf .bk-tx { font-family: var(--rr-font-display); font-size: 18px; color: var(--rr-ink); }
body.rr-page .book-leaf .meta { color: var(--rr-ink-3); }
body.rr-page .art-standin-page { background: var(--rr-paper-raised); }
body.rr-page .art-standin-host, body.rr-page .art-standin-auth { color: var(--rr-ink-3); }
body.rr-page .art-standin-title { font-family: var(--rr-font-display); font-weight: 500; color: var(--rr-ink); }
body.rr-page .art-standin-body { color: var(--rr-ink); }
body.rr-page .art-standin-cta p { background: var(--rr-paper-raised); color: var(--rr-ink-2); }
body.rr-page .art-standin-btn { background: var(--rr-ink); color: var(--rr-paper); }
@media (max-width: 900px) {
  body.rr-page .book-page, body.rr-page .book-page:first-child, body.rr-page .book-page:last-child {
    border: 1px solid var(--rr-rule); border-radius: var(--rr-radius-card); background-image: none; }
}
