/* book-look.css: the look of the book's own pages on the other pages of the site, in the colors of tokens.css:
   tables ruled as in print, and captions in the ink with the credit on its own line. The chapter pages load tokens.css
   themselves and keep their own dress, so this sheet is not linked from them. Light theme only: in the dark theme
   tables and captions keep the colors each page gives them. The phone card view of tables is untouched, and so is the
   relationship chart, whose first column stays in place when the chart scrolls sideways and needs its own ground. */
@media screen {
/* tables rule-only, as in print: a rule above and below, a thin rule under the head row, light rules between rows */
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) table:has(> thead):not(.rel-chart):not(#_):not(:is(.bk-wrap, [class*="map"], [class*="calendar"]) *) {
  border: 0; border-top: 1.2px solid var(--bk-ink, #111111); border-bottom: 1.2px solid var(--bk-ink, #111111); border-radius: 0;
}
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) table:not(.rel-chart):not(:is(.bk-wrap, [class*="map"], [class*="calendar"]) *) > thead > tr > th:not(#_) {
  background: transparent !important; color: var(--bk-ink, #111111) !important;
  font-variant-caps: all-small-caps; text-transform: none !important; letter-spacing: 0.05em !important; font-size: 0.95rem !important;
  line-height: 1.25 !important; border-bottom: 0.8px solid var(--bk-ink, #111111) !important;
}
/* no band behind the head row and no stripes between rows: the rules carry the table, as on the page of the book */
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) table:has(> thead):not(.rel-chart):not(#_):not(#_):not(:is(.bk-wrap, [class*="map"], [class*="calendar"]) *) :is(thead, thead > tr, tbody > tr, tbody > tr > td) {
  background: transparent !important;
}
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) table:has(> thead):not(.rel-chart):not(:is(.bk-wrap, [class*="map"], [class*="calendar"]) *) > tbody > tr > :is(td, th):not(#_) {
  border-bottom: 0.5px solid var(--bk-rule-light, #cccccc) !important;
}
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) table:has(> thead):not(.rel-chart):not(:is(.bk-wrap, [class*="map"], [class*="calendar"]) *) > tbody > tr:last-child > :is(td, th):not(#_) {
  border-bottom: 0 !important;
}
/* key-and-value tables: the key as a small-caps label in the ink, as the head of a table */
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) table.kv > tbody > tr > :is(td, th):first-child:not(:only-child):not(#_) {
  color: var(--bk-ink, #111111) !important; font-variant-caps: all-small-caps; text-transform: none !important; letter-spacing: 0.05em !important; font-size: 0.95rem !important;
}
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) table.kv > tbody > tr > :is(td, th):not(#_) { border-bottom-color: var(--bk-rule-light, #cccccc) !important; }
/* captions: the caption in the ink, roman; the credit on its own smaller line in the soft ink */
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) figure:not(.bk-wrap *) > figcaption:not(#_) { color: var(--bk-ink, #111111) !important; }
html:not(.theme-dark) body:not(.home) :is(main, article, .page-column) figure:not(.bk-wrap *) > figcaption .credit:not(#_) { display: block; margin-top: 0.3rem; font-size: 0.86em; color: var(--bk-ink-soft, #444444) !important; }
}
