/* The chapters of parallels (js/parallels.js): one story told several times, each telling a column — the Patriarchs'
   four generations (css/patriarchs.css), Noah's three worlds. On the overview, one picture to a motif, each framed
   between its first telling (left) and its last (right), its stations seen in order and in motion, the telling written
   beneath the drawing first; the foundation beneath them all; and the second pattern, where the story is silent. Then
   the study of each picture, its motifs told of each column side by side; the table of every motif; and the page of the
   columns. Each frame is a plate set into the page, as on the Days of Creation (css/creation.css), whose measures it
   keeps: its drawing keeps the night's palette in both themes, while the words around it follow the theme. On the
   overview each picture is one horizontal image, the column in view centred and a tab to each column at its foot, the
   same on a wide screen and a phone; a feature's stations stand one above another.

   These rules are a chapter's whatever its number of columns (up to six); the chapter's own stylesheet supplies, on its
   panel, the inks of its columns and the ring of its numbers:
     --g0-ink, --g0-edge, --g0-soft … --g5-…   each column's ink in the theme (its heads, steps, tellings, table)
     --pw-g0, --pw-g0-soft … --pw-g5-…         each column's ink in the drawing's night palette (its station, its name,
                                               its telling beneath the drawing)
     --pt-ring                                 the ring round the pictures' numbers: a conic gradient of the edges
     --pt-mid                                  the frame's width on a wide screen (40rem if it is not given)
   and js/parallels.js sets --pt-cols, the number of columns, on the panel, for the grids that set them side by side.
   The chapter's stylesheet also holds the inks its own figures and grounds are drawn in. */

/* each column in its ink, in the theme, from the chapter's own (on its panel) */
.pt-g0 { --g-ink: var(--g0-ink); --g-edge: var(--g0-edge); --g-soft: var(--g0-soft); }
.pt-g1 { --g-ink: var(--g1-ink); --g-edge: var(--g1-edge); --g-soft: var(--g1-soft); }
.pt-g2 { --g-ink: var(--g2-ink); --g-edge: var(--g2-edge); --g-soft: var(--g2-soft); }
.pt-g3 { --g-ink: var(--g3-ink); --g-edge: var(--g3-edge); --g-soft: var(--g3-soft); }
.pt-g4 { --g-ink: var(--g4-ink); --g-edge: var(--g4-edge); --g-soft: var(--g4-soft); }
.pt-g5 { --g-ink: var(--g5-ink); --g-edge: var(--g5-edge); --g-soft: var(--g5-soft); }

.pt-ref { margin: 2px 0 16px; text-align: center; font-style: normal; color: var(--muted); font-size: 1rem; }
.pt-over { max-width: 40rem; margin: 0 auto; text-align: center; font-style: normal; font-size: 1rem; color: var(--muted); text-wrap: balance; }
.pt-hint { max-width: 38rem; margin: 10px auto 0; text-align: center; font-size: 1rem; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.pt-hint b { font-weight: var(--caps-wt); font-family: var(--caps); letter-spacing: 0.01em; color: var(--g-ink, var(--ink)); }

/* ---- the heads: the columns, also the key ---- */
.pt-heads { display: grid; grid-template-columns: repeat(var(--pt-cols, 4), minmax(0, 1fr)); gap: 18px 22px; max-width: 62rem; margin: 26px auto 0; text-align: center; }
.pt-h { display: block; }
.pt-h-t { display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; letter-spacing: 0.03em; color: var(--g-ink); }
.pt-h-t::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--g-ink); }
.pt-h-k { display: block; margin-top: 4px; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--muted); }
.pt-h-d { display: block; font-style: normal; font-size: 0.95rem; line-height: 1.35; color: var(--muted); text-wrap: balance; }
/* the parts in order, each in its ink (on the Patriarchs, from the promise to the blessing of the nations) */
.pt-flow { max-width: 46rem; margin: 14px auto 0; text-align: center; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.pt-flow span { color: var(--g-ink); }

/* ---- the pictures: a frame to each motif ---- */
.pt-world { margin: 0; }
.pt-bands { display: grid; gap: 50px; margin: 50px 0 0; padding: 0; list-style: none; }
.pt-band {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--pt-mid, 40rem) minmax(0, 1fr); column-gap: 22px; row-gap: 8px;
  grid-template-areas: ". art ." ". order ." ". words go"; align-items: center; width: 100%; margin: 0; padding: 0;
}
.pt-art { grid-area: art; position: relative; display: block; }
.pt-frame {
  /* the plate's own palette, the night's, whatever the theme: its ground (the inks the stations are drawn in are the
     chapter's, --pw-g0 …, on its panel) */
  --pw-bg: #1b1020; --pw-deep: #120a15; --pw-air: #211a2c; --pw-night: #160e1c; --pw-ground: #2a2338;
  --pw-rule: #6a4c78; --pw-pale: #b7a8c3; --pw-mute: #8a7699; --pw-water: #262334; --pw-blue: #a3bff1; --pw-blood: #c76b6b; --pw-hole: #0a050c;
  display: block; border: 1.5px solid var(--rule); border-radius: 18px 18px 0 0; overflow: hidden; background: var(--pw-deep); transition: border-color .2s;
}
.pt-frame svg { display: block; width: 100%; height: auto; }
.pw-narrow { display: none !important; }
/* the telling of the station in view, beneath the drawing, in that column's ink, its reference after it, pale; the
   tellings are set in one place, so that the frame keeps the height of its longest whichever is shown */
.pt-say { display: grid; min-height: calc(3 * 1.35em + 20px); padding: 10px 18px; border-top: 1px solid var(--pw-rule); background: var(--pw-deep); font-size: 1.25rem; line-height: 1.35; }
.pt-v { grid-area: 1 / 1; align-self: center; text-align: center; text-wrap: balance; color: var(--pw-pale); }
.pt-v.pt-g0 { color: var(--pw-g0); } .pt-v.pt-g1 { color: var(--pw-g1); } .pt-v.pt-g2 { color: var(--pw-g2); } .pt-v.pt-g3 { color: var(--pw-g3); } .pt-v.pt-g4 { color: var(--pw-g4); } .pt-v.pt-g5 { color: var(--pw-g5); }
.pt-v.none { font-style: normal; color: var(--pw-mute); }
.pt-v .nw { color: var(--pw-pale); font-size: 0.92em; }
/* each telling's column, named before it only when all are shown */
.pt-v-k { display: none; margin-right: 0.45em; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.82em; letter-spacing: 0.01em; }
/* the plate on each frame: its number in the ring of the columns' inks, and its name */
.pt-plate {
  position: absolute; z-index: 1; left: 50%; top: 0; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 3px 16px 3px 4px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--bg);
  font-family: var(--caps); font-weight: var(--caps-wt); font-size: 1.12rem; letter-spacing: 0.01em; line-height: 1.2; color: var(--ink); white-space: nowrap;
}
.pt-plate-t { overflow: hidden; text-overflow: ellipsis; }
.pt-n {
  position: relative; flex: none; display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%;
  border: 3px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--pt-ring) border-box;
  font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1; letter-spacing: 0; color: var(--ink);
}
/* ---- the overview's picture: one horizontal image (js/parallels.js, the strip). Its stations in a reel seen two cells
   wide, the column in view centred, the reel's edges fading where it runs on past the view; drawn back for All. The
   names are not written in it: a tab to each column hangs from its foot instead ---- */
.pt-frame { position: relative; }
.pw-strip { cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.pw-strip.pw-whole { -webkit-mask-image: none; mask-image: none; }
.pw-strip .pw-nm { display: none; }
.pw-reel { transform-box: view-box; transform-origin: 0 0; transition: transform .65s cubic-bezier(.3, .7, .2, 1); }
/* each station's place on the reel, moved when All on a phone sets them two to a row (pw-grid), each whole, with its
   name in its ground beneath it; the rules between the stations of a row are then not drawn */
.pw-reel > .pw-at { transform-box: view-box; transition: transform .65s cubic-bezier(.3, .7, .2, 1); }
.pw-grid .pw-div { display: none; }
.pw-strip.pw-grid .pw-nm { display: inline; }
/* the tabs: one to each column and a last for all of them, sharing the width alike (at most 11rem each), a name of
   several words going to a second line, never broken within a word (the row scrolls before it would be). The one in view is joined to the drawing, in its ground, its name in
   its ink; the others behind it, darker and shorter, the drawing's edge across their tops */
.pt-books { position: relative; z-index: 2; display: flex; gap: 6px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--pw-rule); background: var(--pw-deep); }
.pt-books::-webkit-scrollbar { display: none; }
.pt-book {
  flex: 1 1 0; max-width: 11rem; min-height: 38px; margin: -1px 0 0; padding: 6px 8px 8px; text-wrap: balance;
  border: 1px solid var(--pw-rule); border-radius: 0 0 12px 12px; background: #0b060d; color: color-mix(in srgb, var(--b-ink) 55%, var(--pw-deep)); cursor: pointer;
  font: inherit; font-family: var(--caps); font-weight: var(--caps-wt); font-size: .95rem; letter-spacing: 0.01em; line-height: 1.1; text-align: center;
  -webkit-tap-highlight-color: transparent; transition: min-height .25s, padding .25s, background-color .25s, color .25s;
}
.pt-book[aria-selected="true"] { min-height: 44px; padding-bottom: 12px; border-top-color: var(--pw-ground); background: var(--pw-ground); color: var(--b-ink); }
.pt-book.pt-g0 { --b-ink: var(--pw-g0); } .pt-book.pt-g1 { --b-ink: var(--pw-g1); } .pt-book.pt-g2 { --b-ink: var(--pw-g2); }
.pt-book.pt-g3 { --b-ink: var(--pw-g3); } .pt-book.pt-g4 { --b-ink: var(--pw-g4); } .pt-book.pt-g5 { --b-ink: var(--pw-g5); }
.pt-book-all { --b-ink: #efe6f5; }
@media (hover: hover) { .pt-book[aria-selected="false"]:hover { color: var(--b-ink); } }
.pt-book:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
/* the words beneath the whole: a tap on them goes on to the next column (the reference in them still opens its verses) */
.pt-books + .pt-say { border-top: 0; padding-top: 14px; cursor: pointer; }

/* a picture's cards: the picture first, and each page that follows it further, a card that slides in over it */
/* (a card and the cards' tabs stand on the night's ground in both themes: their rubric is the night's, not the light theme's red) */
.pt-face, .pt-tabs { --rubric: #e6bd5c; }
.pt-frame { --pt-at: 0; }
.pt-frame > :is(.pw-strip, .pt-books, .pt-say) { transform: translateX(calc(var(--pt-at) * -100%)); transition: transform .45s cubic-bezier(.3, .7, .2, 1), opacity .45s; }
.pt-frame[data-card]:not([data-card="0"]) > :is(.pw-strip, .pt-books, .pt-say) { opacity: 0; pointer-events: none; }
.pt-face {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; margin: 0; padding: 0; overflow: hidden;
  border: 0; background: var(--pw-deep); color: #efe6f5; font: inherit; text-align: center; cursor: pointer;
  transform: translateX(calc((var(--k) - var(--pt-at)) * 100%)); transition: transform .45s cubic-bezier(.3, .7, .2, 1); -webkit-tap-highlight-color: transparent;
}
.pt-face-pic { flex: none; display: block; }
.pt-frame .pt-face-pic svg { display: block !important; width: 100%; height: auto; }
.pt-face-pic .pw-nm { display: none; }
.pt-face-b { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--pw-rule); }
.pt-face-t { font-family: var(--caps); font-weight: var(--caps-wt); font-size: 1.35rem; letter-spacing: 0.01em; }
.pt-face-t .mk { margin-right: .35em; color: var(--rubric); }
.pt-face-s { font-style: normal; font-size: 1.08rem; line-height: 1.4; color: var(--pw-pale); text-wrap: balance; }
.pt-face-s:empty, .pt-face-c:empty { display: none; }
.pt-face-c { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-family: var(--caps); font-weight: var(--caps-wt); font-size: .98rem; letter-spacing: 0.01em; }
.pt-face-c span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; vertical-align: .12em; }
.pt-face-c .pt-g0 { color: var(--pw-g0); } .pt-face-c .pt-g1 { color: var(--pw-g1); } .pt-face-c .pt-g2 { color: var(--pw-g2, var(--pw-blue)); }
.pt-face-c .pt-g3 { color: var(--pw-g3); } .pt-face-c .pt-g4 { color: var(--pw-g4); } .pt-face-c .pt-g5 { color: var(--pw-g5); }
.pt-face-go { align-self: center; padding: 8px 16px; border: 1px solid var(--rubric); border-radius: 999px; font-family: var(--caps); font-weight: var(--caps-wt); font-size: .95rem; letter-spacing: 0.01em; color: var(--rubric); }
@media (hover: hover) { .pt-face:hover .pt-face-go { background: var(--rubric); color: #1b1020; } }
.pt-face:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
/* the cards' tabs, hanging from the foot of the frame: the open card's joined to it, in its ground, and the others
   behind it, darker and shorter, the frame's edge running across their tops */
.pt-tabs { position: relative; z-index: 3; display: flex; gap: 6px; margin: -1.5px 14px 0; overflow-x: auto; scrollbar-width: none; --tab-deep: #120a15; --tab-back: #0b060d; }
.pt-tabs::-webkit-scrollbar { display: none; }
.pt-tab {
  flex: 0 1 auto; display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 40px; margin: 0; padding: 0 14px 2px;
  border: 1.5px solid var(--rule); border-radius: 0 0 14px 14px; background: var(--tab-back); color: #8a7699; cursor: pointer;
  font: inherit; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; transition: height .25s, background-color .25s, color .25s, border-color .25s;
}
.pt-tab[aria-selected="true"] { flex: 0 0 auto; height: 46px; border-top-color: transparent; background: var(--tab-deep); color: #efe6f5; }
.pt-tab-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pt-tab-m { color: var(--rubric); opacity: .6; }
.pt-tab[aria-selected="true"] .pt-tab-m { opacity: 1; }
.pt-tab-n {
  flex: none; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border: 2px solid transparent; border-radius: 50%; opacity: .6;
  background: linear-gradient(var(--tab-back), var(--tab-back)) padding-box, var(--pt-ring) border-box; font-family: var(--display); font-weight: 400; font-size: 0.95rem; letter-spacing: 0;
}
.pt-tab[aria-selected="true"] .pt-tab-n { background: linear-gradient(var(--tab-deep), var(--tab-deep)) padding-box, var(--pt-ring) border-box; opacity: 1; }
@media (hover: hover) { .pt-tab[aria-selected="false"]:hover { color: #efe6f5; border-color: color-mix(in srgb, var(--rubric) 55%, var(--rule)); } }
.pt-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-band.sel .pt-tab[aria-selected="true"] { border-color: var(--rubric); border-top-color: transparent; }
/* while a card is in front, the picture's thread beneath rests */
.pt-band:has(.pt-frame[data-card]:not([data-card="0"])) .pt-words { opacity: .3; pointer-events: none; transition: opacity .3s; }
/* the thread beneath each picture, folded: its name opens it */
.pt-words { grid-area: words; display: block; text-align: center; }
.pt-words > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 4px; list-style: none; cursor: pointer;
  font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--rest-ink); -webkit-tap-highlight-color: transparent;
}
.pt-words > summary::-webkit-details-marker { display: none; }
.pt-words > summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.pt-words[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.pt-words > summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.pt-words > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-words > p { max-width: 36rem; margin: 2px auto 0; font-size: 0.95rem; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.pt-go {
  grid-area: go; align-self: center; justify-self: start; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 2px;
  border: 0; background: none; font: inherit; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--rubric); white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pt-go:hover { text-decoration: underline; text-underline-offset: 4px; }
.pt-go:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-go.pg-read { position: relative; }
.pt-band:has(.pt-go:hover) .pt-frame, .pt-band:has(.pt-go:focus-visible) .pt-frame, .pt-band.sel .pt-frame { border-color: var(--rubric); }
.pt-band.sel .pt-plate { border-color: var(--rubric); }
/* the picture last opened: a ring round its frame (and inside the foundation's rules), not colour alone */
.pt-band.sel .pt-frame { box-shadow: 0 0 0 2px var(--rubric); }
.pt-found.sel { box-shadow: inset 0 0 0 2px var(--rubric); }

/* each picture's own steps, one to a column */
.pt-order { grid-area: order; justify-self: center; display: flex; gap: 6px; }
.pt-order button {
  min-height: 34px; padding: 3px 14px; border: 1px solid var(--rule); border-radius: 999px; background: none; color: var(--g-ink);
  font: inherit; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1.2; white-space: nowrap; cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: color .2s, border-color .2s, background-color .2s;
}
@media (hover: hover) { .pt-order button:hover { border-color: color-mix(in srgb, var(--rubric) 55%, var(--rule)); } }
.pt-order button[aria-pressed="true"] { border-color: var(--rubric); background: var(--surface-3); color: var(--ink); }
.pt-order button[aria-pressed="true"]::before { content: "◆ "; content: "◆ " / ""; font-family: var(--sym); font-size: 0.7em; vertical-align: 0.12em; color: var(--rubric); }
.pt-order button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-order .pt-all { margin-left: 4px; color: var(--ink); }


/* ---- the drawing's inks: each station in its column's, solid or in line over its soft fill; the people beside them
   pale; the ground, the sky and the names in the night's own colours. The chapter's stylesheet adds the inks of its
   own figures and grounds (css/patriarchs.css) ---- */
.pw-st[data-g="0"] { --ink: var(--pw-g0); --soft: var(--pw-g0-soft); }
.pw-st[data-g="1"] { --ink: var(--pw-g1); --soft: var(--pw-g1-soft); }
.pw-st[data-g="2"] { --ink: var(--pw-g2); --soft: var(--pw-g2-soft); }
.pw-st[data-g="3"] { --ink: var(--pw-g3); --soft: var(--pw-g3-soft); }
.pw-st[data-g="4"] { --ink: var(--pw-g4); --soft: var(--pw-g4-soft); }
.pw-st[data-g="5"] { --ink: var(--pw-g5); --soft: var(--pw-g5-soft); }
.pw-f { fill: var(--ink); }
.pw-s { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pw-sf { fill: var(--soft); stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.pw-thin { stroke-width: 1.2; }
.pw-faint { opacity: 0.5; }
.pw-leg { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.pw-o { fill: var(--pw-pale); opacity: 0.72; }
.pw-o .pw-leg { stroke: var(--pw-pale); }
.pw-os { fill: none; stroke: var(--pw-pale); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.72; }
.pw-void { fill: none; stroke: var(--pw-mute); stroke-width: 1.4; stroke-dasharray: 5 5; }
.pw-void.pw-empty { stroke: var(--ink); stroke-dasharray: 3 3; opacity: 0.7; }
.pw-void-t { fill: var(--pw-mute); font-family: var(--draw-text); font-style: italic; font-size: 16px; text-anchor: middle; }
.pw-air { fill: var(--pw-air); }
.pw-night { fill: var(--pw-night); }
.pw-ground { fill: var(--pw-ground); }
.pw-gl { fill: none; stroke: var(--pw-rule); stroke-width: 1.6; }
.pw-div { fill: none; stroke: var(--pw-rule); stroke-width: 1; stroke-dasharray: 2 5; }
.pw-nm { fill: var(--pw-mute); font-family: var(--draw-caps); font-size: 16px; letter-spacing: 0.08em; paint-order: stroke; stroke: var(--pw-ground); stroke-width: 4px; stroke-linejoin: round; }
.pw-nm[data-g="0"] { --nm: var(--pw-g0); } .pw-nm[data-g="1"] { --nm: var(--pw-g1); } .pw-nm[data-g="2"] { --nm: var(--pw-g2); } .pw-nm[data-g="3"] { --nm: var(--pw-g3); } .pw-nm[data-g="4"] { --nm: var(--pw-g4); } .pw-nm[data-g="5"] { --nm: var(--pw-g5); }

/* ---- the foundation: the motif beneath all the others ---- */
.pt-found {
  position: relative; display: block; width: 100%; max-width: 40rem; margin: 60px auto 0; padding: 32px 22px 16px;
  border: 0; color: var(--ink); font: inherit; text-align: center; cursor: pointer;
  background:
    linear-gradient(var(--rest-edge), var(--rest-edge)) top / 100% 3px no-repeat,
    linear-gradient(var(--rest-edge), var(--rest-edge)) 0 6px / 100% 1px no-repeat,
    linear-gradient(var(--rest-edge), var(--rest-edge)) bottom / 100% 3px no-repeat,
    linear-gradient(var(--rest-edge), var(--rest-edge)) 0 calc(100% - 6px) / 100% 1px no-repeat,
    color-mix(in srgb, var(--rest-soft) 70%, transparent);
}
.pt-found:hover, .pt-found:focus-visible, .pt-found.sel { background-color: color-mix(in srgb, var(--rubric) 10%, var(--rest-soft)); }
.pt-found:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.pt-found > span { display: block; }
.pt-found .pt-n { position: absolute; top: 3px; left: 50%; transform: translate(-50%, -50%); width: 2.6rem; height: 2.6rem; border-width: 4px; background: linear-gradient(var(--rest-soft), var(--rest-soft)) padding-box, var(--pt-ring) border-box; }
.pt-found .k { font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--rest-ink); }
.pt-found .t { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.15; color: var(--rest-ink); }
.pt-found .s { max-width: 34rem; margin: 4px auto 0; font-style: normal; font-size: 1.02rem; line-height: 1.4; text-wrap: pretty; }
.pt-found .ref { margin-top: 2px; font-size: 0.95rem; font-style: normal; color: var(--muted); }
.pt-found:hover .t, .pt-found:focus-visible .t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.pt-loose { max-width: 40rem; margin: 14px auto 0; text-align: center; font-size: 0.95rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---- the second pattern: where the story is silent ---- */
.pt-silent {
  display: block; width: 100%; max-width: 38rem; margin: 46px auto 0; padding: 14px 18px 12px;
  border: 1px solid var(--rule); background: color-mix(in srgb, var(--ink) 2%, transparent);
  color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.pt-silent > span { display: block; }
.pt-silent:hover, .pt-silent:focus-visible { border-color: color-mix(in srgb, var(--rubric) 60%, var(--rule)); background: color-mix(in srgb, var(--rubric) 6%, transparent); }
.pt-silent:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pt-silent-t { font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; text-wrap: balance; }
.pt-silent-s { margin: 2px 0 12px; font-size: 0.95rem; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.pt-rib { display: grid !important; grid-template-columns: repeat(var(--pt-cols, 4), minmax(0, 1fr)); gap: 6px; }
.pt-rib .c { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 6px 2px 2px; border-top: 3px solid var(--g-edge); text-align: center; }
.pt-rib .n { font-family: var(--display); font-weight: 400; font-size: 1.05rem; line-height: 1.2; color: var(--g-ink); }
.pt-rib .x { max-width: 100%; font-family: var(--sym); font-size: 0.72rem; letter-spacing: 0.08em; line-height: 1.5; color: var(--bad); overflow-wrap: anywhere; }
.pt-rib .x .o { color: var(--muted); }
.pt-rib .xl { font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1.25; color: var(--bad); text-wrap: balance; }
.pt-silent-go { margin-top: 8px; text-align: right; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--rubric); }

/* ---- the notes on the page ---- */
.pt-notes-h { margin-top: 40px; }
.pt-notes > details.tb-drop + details.tb-drop { border-top: 1px dotted color-mix(in srgb, var(--rule) 70%, transparent); }
.pt-notes > .pt-using { margin-top: 16px; }
.pt-using > summary .tb-drop-t { font-size: 0.98rem; color: var(--muted); }
.pt-using > summary .tb-drop-s { font-size: 0.95rem; }

/* ---- each picture in order, in motion ----
   data-stage on the picture: the station in view, 0 (the first column's) to one less than the columns (the last's);
   and the number of columns (data-cols on the picture) for all of them at once. The stations before the one in view
   stand back, the ones after it are not yet drawn. Each station stands in a group that names its column, in order
   (pw-at, js/parallels.js), so that the rules need not know how many there are: the station in view is the one whose
   column is the stage, and those before it are the ones it comes after (:has(~ …)); at All no station's column is the
   stage, so none of them holds, and All's own rules do. (They are written for up to six columns.) A step chosen is
   played from its own start (js/parallels.js sets the step before it without motion first), so the station chosen
   always comes in, its groups one after another. Its telling comes first: written in at once beneath the drawing (the
   others go at once, so two are never seen together), and the drawing holds still for --pt-lead before it moves, so
   the words are read and then drawn. Going back is quick: only arriving is staged. Each picture begins at its first
   column. */
.pt-band { --pt-lead: .6s; }
.pt-v { visibility: hidden; opacity: 0; transform: translateY(5px); }
.pt-band[data-stage="0"] .pt-v[data-v="0"], .pt-band[data-stage="1"] .pt-v[data-v="1"], .pt-band[data-stage="2"] .pt-v[data-v="2"], .pt-band[data-stage="3"] .pt-v[data-v="3"], .pt-band[data-stage="4"] .pt-v[data-v="4"], .pt-band[data-stage="5"] .pt-v[data-v="5"] {
  visibility: visible; opacity: 1; transform: none; transition: opacity .45s ease-out, transform .45s ease-out;
}
/* a station not yet reached: away, and quickly */
.pt-band .pw-st { opacity: 0; transition: opacity .3s; }
.pt-band .pw-in { opacity: 0; transform: translateY(9px); transition: opacity .25s, transform .25s; }
/* the station in view, whole */
.pt-band[data-stage="0"] .pw-at[data-g="0"] .pw-st,
.pt-band[data-stage="1"] .pw-at[data-g="1"] .pw-st,
.pt-band[data-stage="2"] .pw-at[data-g="2"] .pw-st,
.pt-band[data-stage="3"] .pw-at[data-g="3"] .pw-st,
.pt-band[data-stage="4"] .pw-at[data-g="4"] .pw-st,
.pt-band[data-stage="5"] .pw-at[data-g="5"] .pw-st { opacity: 1; transition: opacity .3s; }
/* the ones before it, standing back once the new one has come */
.pt-band[data-stage="1"] .pw-at:has(~ .pw-at[data-g="1"]) .pw-st,
.pt-band[data-stage="2"] .pw-at:has(~ .pw-at[data-g="2"]) .pw-st,
.pt-band[data-stage="3"] .pw-at:has(~ .pw-at[data-g="3"]) .pw-st,
.pt-band[data-stage="4"] .pw-at:has(~ .pw-at[data-g="4"]) .pw-st,
.pt-band[data-stage="5"] .pw-at:has(~ .pw-at[data-g="5"]) .pw-st { opacity: 0.42; transition: opacity .6s ease calc(var(--pt-lead) + .5s); }
/* every station reached, the one in view and those before it, has its groups in place: the one arriving brings them
   in one after another */
.pt-band[data-stage="0"] :is(.pw-at[data-g="0"], .pw-at:has(~ .pw-at[data-g="0"])) .pw-in,
.pt-band[data-stage="1"] :is(.pw-at[data-g="1"], .pw-at:has(~ .pw-at[data-g="1"])) .pw-in,
.pt-band[data-stage="2"] :is(.pw-at[data-g="2"], .pw-at:has(~ .pw-at[data-g="2"])) .pw-in,
.pt-band[data-stage="3"] :is(.pw-at[data-g="3"], .pw-at:has(~ .pw-at[data-g="3"])) .pw-in,
.pt-band[data-stage="4"] :is(.pw-at[data-g="4"], .pw-at:has(~ .pw-at[data-g="4"])) .pw-in,
.pt-band[data-stage="5"] :is(.pw-at[data-g="5"], .pw-at:has(~ .pw-at[data-g="5"])) .pw-in {
  opacity: 1; transform: none;
  transition: opacity .55s ease calc(var(--pt-lead) + var(--i) * .3s), transform .75s cubic-bezier(.2, .75, .25, 1) calc(var(--pt-lead) + var(--i) * .3s);
}
/* the names of the stations reached, in their inks */
.pt-band .pw-nm { transition: fill .4s; }
.pt-band[data-stage="0"] :is(.pw-at[data-g="0"], .pw-at:has(~ .pw-at[data-g="0"])) .pw-nm,
.pt-band[data-stage="1"] :is(.pw-at[data-g="1"], .pw-at:has(~ .pw-at[data-g="1"])) .pw-nm,
.pt-band[data-stage="2"] :is(.pw-at[data-g="2"], .pw-at:has(~ .pw-at[data-g="2"])) .pw-nm,
.pt-band[data-stage="3"] :is(.pw-at[data-g="3"], .pw-at:has(~ .pw-at[data-g="3"])) .pw-nm,
.pt-band[data-stage="4"] :is(.pw-at[data-g="4"], .pw-at:has(~ .pw-at[data-g="4"])) .pw-nm,
.pt-band[data-stage="5"] :is(.pw-at[data-g="5"], .pw-at:has(~ .pw-at[data-g="5"])) .pw-nm { fill: var(--nm); }
/* all at once (the stage that is the number of columns: All four, All three): every station whole and in its ink, and
   the tellings beneath, one under another, each named */
.pt-band:is([data-cols="2"][data-stage="2"], [data-cols="3"][data-stage="3"], [data-cols="4"][data-stage="4"], [data-cols="5"][data-stage="5"], [data-cols="6"][data-stage="6"]) .pw-st { opacity: 1; transition: opacity .5s; }
.pt-band:is([data-cols="2"][data-stage="2"], [data-cols="3"][data-stage="3"], [data-cols="4"][data-stage="4"], [data-cols="5"][data-stage="5"], [data-cols="6"][data-stage="6"]) .pw-in { opacity: 1; transform: none; transition: opacity .55s ease calc(var(--i) * .15s), transform .75s cubic-bezier(.2, .75, .25, 1) calc(var(--i) * .15s); }
.pt-band:is([data-cols="2"][data-stage="2"], [data-cols="3"][data-stage="3"], [data-cols="4"][data-stage="4"], [data-cols="5"][data-stage="5"], [data-cols="6"][data-stage="6"]) .pw-nm { fill: var(--nm); }
.pt-band:is([data-cols="2"][data-stage="2"], [data-cols="3"][data-stage="3"], [data-cols="4"][data-stage="4"], [data-cols="5"][data-stage="5"], [data-cols="6"][data-stage="6"]) .pt-say { display: flex; flex-direction: column; gap: 8px; padding: 12px 18px; font-size: 1.05rem; }
.pt-band:is([data-cols="2"][data-stage="2"], [data-cols="3"][data-stage="3"], [data-cols="4"][data-stage="4"], [data-cols="5"][data-stage="5"], [data-cols="6"][data-stage="6"]) .pt-v { visibility: visible; opacity: 1; transform: none; transition: opacity .45s ease-out; }
.pt-band:is([data-cols="2"][data-stage="2"], [data-cols="3"][data-stage="3"], [data-cols="4"][data-stage="4"], [data-cols="5"][data-stage="5"], [data-cols="6"][data-stage="6"]) .pt-v-k { display: inline; }
.pt-band.snap, .pt-band.snap * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .pt-band *, .pt-frame, .pt-order button { transition: none !important; }
}
/* ---- narrower screens: each picture full width, its steps beneath it, its two captions side by side beneath them ---- */
@media (max-width: 899px) {
  .pt-heads { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 34rem; }
  /* an odd last column (the third of three) beneath the two above it, centred */
  .pt-heads > .pt-h:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pt-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; max-width: var(--pt-mid, 40rem); margin-left: auto; margin-right: auto;
    grid-template-areas: "art art" "order order" "words words" "go go"; align-items: start; row-gap: 0; }
  .pt-order { width: 100%; max-width: 26rem; margin-top: 10px; }
  .pt-order button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 4px; white-space: normal; text-wrap: balance; }
  .pt-order .pt-all { flex: 0.7 1 0; margin-left: 0; }
  .pt-go { justify-self: end; min-height: 44px; margin-top: 10px; }
  .pt-words { padding-top: 4px; }
  .pt-words > p { font-size: 0.95rem; }
  .pt-found { margin-top: 50px; }
}
/* a phone: the stations two to a row (four, two above two; three, two above one), the frame no wider than it need be */
@media (max-width: 640px) {
  .pt-band { max-width: 26rem; }
  /* the overview's picture across the whole screen, edge to edge, its sides open (js/parallels.js narrows its view, so
     that it stands taller) */
  .pt-art:has(> .pt-frame > .pw-strip) { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .pt-frame:has(> .pw-strip) { border-left: 0; border-right: 0; border-radius: 0; }
  .pt-frame:has(> .pw-strip) > .pt-say { padding-left: 16px; padding-right: 16px; }
  .pt-all-w { display: none; }
  .pw-wide { display: none !important; } .pw-narrow { display: block !important; }
  .pt-say { min-height: calc(4 * 1.35em + 20px); padding: 10px; font-size: 1.15rem; }
  .pt-plate { font-size: 1rem; }
  .pt-books { gap: 4px; padding: 0 8px; }
  .pt-book { font-size: 0.95rem; letter-spacing: .06em; }
  .pt-band:is([data-cols="4"], [data-cols="5"], [data-cols="6"]) .pt-book { padding-left: 4px; padding-right: 4px; font-size: 0.95rem; letter-spacing: .03em; }
  .pt-tabs { margin: -1.5px 8px 0; gap: 4px; }
  .pt-tab { padding: 0 10px 2px; font-size: 0.95rem; }
  .pt-face-b { gap: 10px; padding: 12px 16px; }
  .pt-face-t { font-size: 1.2rem; }
  .pt-face-s { font-size: 1rem; }
  .pt-n { width: 2rem; height: 2rem; font-size: 1.05rem; }
  .pt-found { padding: 30px 14px 14px; }
  .pt-found .s { font-size: 0.96rem; }
  .pt-silent { padding: 12px 10px 10px; }
  .pt-rib { gap: 3px; }
}
@media (max-width: 374px) {
  .pt-say { min-height: calc(5 * 1.35em + 20px); font-size: 1.08rem; }
  .pt-order button { font-size: min(0.86rem, 3.9vw); letter-spacing: 0.02em; }
  .pt-heads { gap: 14px 10px; }
  .pt-h-t { font-size: 1.2rem; }
}
/* printed, every picture stands finished, whatever step it was left at, since its tabs are not printed */
@media print {
  .pt-order, .pt-go, .pt-books, .pt-tabs, .pt-face { display: none; }
  .pt-frame { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* the strip drawn back to show every column */
  .pw-strip { -webkit-mask-image: none; mask-image: none; }
  .pw-reel { transform: scale(calc(2 / var(--pt-cols, 2))) !important; }
  .pt-band, .pt-band * { transition: none !important; }
  .pt-band .pw-st, .pt-band .pw-in { opacity: 1 !important; transform: none !important; }
  .pt-band .pw-nm { fill: var(--nm) !important; }
  /* and its words are the last telling's */
  .pt-band .pt-v { visibility: hidden !important; }
  .pt-band .pt-v:last-child { visibility: visible !important; opacity: 1 !important; transform: none !important; }
}

/* ---- the study of a picture: its motifs, each told of every column side by side ---- */
/* the roll: each picture's roundel ringed in the columns' inks; the one beneath them all in the violet of rest */
.rl-node.pt-pic { border: 3px solid transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--pt-ring) border-box; }
.rl-node.cur.pt-pic { border-width: 5px; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--rubric); }
.rl-node.pt-base { border-color: var(--rest-edge); background: var(--rest-soft); }
.rl-node.cur.pt-base { box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--rest-edge); }
.pt-d-ref { max-width: 40rem; margin-left: auto; margin-right: auto; text-wrap: balance; }
/* the motifs of the page, each a way to it */
.pt-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; max-width: 46rem; margin: 18px auto 0; padding: 0; list-style: none; }
.pt-toc-b {
  min-height: 34px; padding: 3px 12px; border: 1px solid var(--rule); border-radius: 999px; background: none; color: var(--ink);
  font: inherit; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1.2; cursor: pointer;
}
.pt-toc-b:hover, .pt-toc-b:focus-visible { border-color: var(--rubric); color: var(--rubric); }
.pt-toc-b:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pt-toc-b.lead { border-color: color-mix(in srgb, var(--rubric) 60%, var(--rule)); }
.pt-motif { max-width: 66rem; margin: 46px auto 0; scroll-margin-top: 12px; }
.pt-motif-h { margin: 0 0 14px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; text-wrap: balance; }
.pt-motif-h:focus { outline: none; }
.pt-motif-k { display: block; margin-bottom: 2px; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--rubric); }
.pt-motif-h::after { content: ""; display: block; width: 60px; height: 1px; margin: 10px auto 0; background: var(--press); }
.pt-tell { display: grid; grid-template-columns: repeat(var(--pt-cols, 4), minmax(0, 1fr)); gap: 16px 20px; margin: 0; padding: 0; list-style: none; }
.pt-t { min-width: 0; padding-top: 8px; border-top: 3px solid var(--g-edge); }
.pt-t-k { display: block; margin-bottom: 4px; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; color: var(--g-ink); }
.pt-t-x { margin: 0; font-size: 1.02rem; line-height: 1.5; text-wrap: pretty; }
/* a telling that only says what is missing, and a place where none is recorded */
.pt-t.absent { border-top-style: dotted; }
.pt-t.none { border-top: 3px dashed var(--rule); }
.pt-t.none .pt-t-k { color: var(--muted); }
.pt-t.none .pt-t-x { font-style: normal; color: var(--muted); }
.pt-thread { max-width: var(--measure); margin: 16px auto 0; text-align: center; text-wrap: pretty; }
.pt-thread .run-in { color: var(--rest-ink); }
.pt-limits { max-width: var(--measure); margin: 46px auto 0; }
@media (max-width: 899px) {
  .pt-tell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pt-tell { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pt-motif { margin-top: 38px; }
  .pt-motif-h { font-size: 1.4rem; }
}

/* ---- a feature (Parallels.feature): one picture followed further, on a page of its own (.pt-feature). Below it each
   motif folds, and within it each column's telling, its thread and the limits (pt-fold). On a wider screen the folds
   stand open and their heads are only labels, the page reading as a study does; on a phone they begin closed, each
   head a line to open with a chevron, and the words are set at the size of the tellings beneath the picture. ---- */
.pt-fold > summary { list-style: none; }
.pt-fold > summary::-webkit-details-marker { display: none; }
.pt-fold-th > summary, .pt-fold-l > summary { display: none; }
@media (min-width: 561px) {
  .pt-fold > summary { pointer-events: none; }
}
@media (max-width: 560px) {
  .pt-feature .pt-fold-wide { display: none; }
  .pt-feature .pt-fold > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; }
  .pt-feature .pt-fold > summary::after { content: ""; flex: none; width: 7px; height: 7px; margin: -4px 4px 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
  .pt-feature .pt-fold[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
  .pt-feature .pt-fold > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  /* a motif: its title the head, left-aligned beside its chevron, a rule beneath each closed one */
  .pt-feature .pt-motif { margin-top: 0; border-bottom: 1px solid var(--rule); }
  .pt-feature .pt-fold-m > summary { padding: 10px 0; }
  .pt-feature .pt-fold-m > summary .pt-motif-h { margin: 0; text-align: left; }
  .pt-feature .pt-fold-m > summary .pt-motif-h::after { display: none; }
  .pt-feature .pt-fold-m[open] > summary { padding-bottom: 6px; }
  .pt-feature .pt-fold-m > .pt-tell { margin-bottom: 4px; }
  /* a column's telling and the thread: their names the heads, in their own ink */
  .pt-feature .pt-t { padding-top: 0; }
  .pt-feature .pt-fold-t > summary .pt-t-k { margin: 0; font-size: 1.1rem; }
  .pt-feature .pt-fold-t > summary { color: var(--g-ink); }
  .pt-feature .pt-fold-th { margin: 4px 0 14px; border-top: 3px solid var(--rule); }
  .pt-feature .pt-fold-th > summary { font-family: var(--caps); font-weight: var(--caps-wt); font-size: 1.1rem; letter-spacing: 0.01em; color: var(--rest-ink); }
  .pt-feature .pt-fold-l > summary { font-family: var(--caps); font-weight: var(--caps-wt); font-size: 1.1rem; letter-spacing: 0.01em; }
  .pt-feature .pt-limits { margin-top: 18px; }
  /* the words, at the size of the tellings beneath the picture (.pt-say, 1.15rem on a phone) */
  .pt-feature .pt-t-x, .pt-feature .pt-thread, .pt-feature .pt-limits p:not(.why-k), .pt-feature .pt-words > p { font-size: 1.15rem; line-height: 1.5; }
  .pt-feature .pt-thread { margin: 0 0 12px; text-align: left; }
  .pt-feature .pt-t-x { margin-bottom: 12px; }
}

/* ---- the table of every motif: a row to each, a column to each column of the story ---- */
table.pt-lg { max-width: 60rem; margin: 0 auto; }
table.pt-lg col.pt-col-m { width: 16rem; }
table.pt-lg thead th { padding: 4px 0 8px; font-family: var(--display); font-size: 1.15rem; font-weight: 400; color: var(--g-ink); }
table.pt-lg thead th.lg-genh { font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; color: var(--muted); }
table.pt-lg .pt-lg-pic th { padding: 18px 0 6px; text-align: left; }
.pt-lg-pic-b {
  display: inline-flex; align-items: center; gap: 8px; padding: 2px 0; border: 0; background: none; color: var(--rubric);
  font: inherit; font-family: var(--caps); font-weight: var(--caps-wt); font-size: 0.95rem; letter-spacing: 0.01em; cursor: pointer;
}
.pt-lg-pic-b .pt-n { width: 1.7rem; height: 1.7rem; border-width: 2px; font-size: 0.95rem; }
.pt-lg-pic-b:hover, .pt-lg-pic-b:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.pt-lg-pic-b:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
table.pt-lg tbody th[scope="row"] { padding-right: 10px; text-align: left; font-family: var(--caps); font-size: 0.96rem; font-weight: var(--caps-wt); letter-spacing: 0.01em; line-height: 1.25; }
.lg-cell.pt-lg-cell { display: flex; align-items: center; justify-content: center; height: auto; min-height: 32px; padding: 3px 2px; }
table.pt-lg tfoot td, table.pt-lg tfoot th { padding-top: 12px; text-align: center; font-family: var(--caps); font-size: 0.95rem; font-weight: var(--caps-wt); color: var(--muted); }
table.pt-lg tfoot th { text-align: left; }
.pt-lg-tot b { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 400; color: var(--rubric); }
.pt-key { justify-content: center; }
@media (max-width: 640px) {
  table.pt-lg col.pt-col-m { width: 7.6rem; }
  table.pt-lg tbody th[scope="row"] { padding-right: 4px; font-size: 0.95rem; letter-spacing: 0; }
  table.pt-lg thead th { font-size: 0.8rem; line-height: 1.15; text-wrap: balance; overflow-wrap: normal; }   /* (four names over four narrow columns: "The world after" on two lines, no name broken) */
  .lg-cell.pt-lg-cell { min-height: 28px; }
  .lg-cell.pt-lg-cell .vi { font-size: 0.95rem; }
  .pt-lg-tot b { font-size: 1.05rem; }
}

/* ---- the page of the columns (on the Patriarchs, the four generations) ---- */
.pt-four-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 40px; max-width: 66rem; margin: 30px auto 0; }
.pt-cover .tb-cover-head { margin-bottom: 18px; }
.pt-cover .tb-cover-head h3 { color: var(--sec-ink); }
.pt-cover .tb-cover-head .kicker { color: var(--muted); }   /* (not a cover's own child, so no side's ink reaches it) */
.pt-adds { margin: 0; font-size: 1.05rem; line-height: 1.55; text-wrap: pretty; }
.pt-adds .run-in { color: var(--sec-ink); }
.pt-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 14px 0 0; font-size: 0.96rem; }
.pt-facts dt { font-family: var(--caps); font-weight: var(--caps-wt); letter-spacing: 0.01em; color: var(--muted); }
.pt-facts dd { margin: 0; }
@media (max-width: 899px) {
  .pt-four-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---- a chapter of pairs drawn as pictures (js/pairs.js: Moses' Father-in-Law, the Five Books, Sinai & Pentecost …).
   Its two sides are the two columns, inked on the panel by the script from the tab's own inks; the frames, their tabs
   and their steps are the rules above. Here is only what a pair has that a motif has not: the side's title run in
   before its telling; the words the two share, written beside the thread's name, with where they stand and how strong
   the link is folded beneath; the entry that stands alone, in its own ink, beneath the pictures or over them; and two
   numbers on a plate where a pair is named by its sides' own (the Five Books: 1 · 5). ---- */
.pr-pictured { --pt-mid: 30rem; }
.pr-world .pt-heads { max-width: var(--pt-mid); }
.pr-world { margin-bottom: 34px; }
.pt-v-t { margin-right: 0.28em; font-weight: 600; }
.pr-thread > summary { flex-wrap: wrap; justify-content: center; gap: 0 8px; max-width: 100%; }
.pr-thread-w { font-family: var(--text); font-weight: 400; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
.pr-thread > .pr-thread-l { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 12px; margin-bottom: 6px; color: var(--muted); }
.pr-thread > .pr-thread-l .bt-strength { font-size: 0.95rem; }
.pt-n.pt-n2 { display: inline-flex; align-items: center; justify-content: center; font-size: 0.98rem; }
.pt-n.pt-n2 i { margin: 0 1px; font-style: normal; color: var(--muted); }
.pr-found { --rest-ink: var(--pc-ink, var(--rest-ink)); --rest-edge: var(--pc-edge, var(--rest-edge)); --rest-soft: var(--pc-soft, var(--rest-soft)); }
.pr-found > .pt-n { display: grid; color: var(--rest-ink); }   /* (its number set in the middle of its ring: a banner's parts are blocks) */
.pr-found.top { margin-top: 44px; }
.pr-found .pr-tags { display: flex; justify-content: center; margin-top: 6px; }
.pr-world.heads-foot > .pt-heads { margin-top: 44px; }
