/* Layout for the kernel reference, Canon, Manifest and the English Logos. */
.identities, .reading {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .35rem .8rem;
  margin-block: 1rem;
}
.id-label, .label, .dim, .note, .subtitle, .tagline, .version, .byline {
  color: var(--muted);
}
.id-eq, .map { overflow-wrap: anywhere; }
.notice, .changelog, .motto, blockquote {
  border-inline-start: 1px solid var(--line);
  margin: 1rem 0;
  padding-inline-start: 1rem;
}
.equation .main, .jline, .map { font-size: 1.25em; }
.jline, .map { margin-block: 1rem; }
.footer, .foot, .links {
  margin-top: 2rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.x-link { display: inline-flex; vertical-align: middle; }

.logos-reader {
  --text: var(--ink);
  --text-bright: var(--ink);
  --rule: var(--line);
  --panel: var(--paper);
  --accent: var(--link);
  background: var(--paper);
  color: var(--ink);
  font: 1.125rem/1.54 Georgia, "Times New Roman", serif;
  overflow-wrap: anywhere;
  padding: 2.1rem clamp(1rem, 4vw, 2.5rem) 3rem;
}
.logos-reader .page { max-width: none; padding: 0; }
.logos-reader .eyebrow { display: none; }
.logos-reader h1 {
  margin: 2.2rem 0 .7rem;
  font-size: clamp(2.2rem, 6vw, 3.45rem);
  font-weight: normal;
  text-align: start;
}
.logos-reader h2 {
  margin: 1.85rem 0 .65rem;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 1.44rem;
  font-weight: bold;
  letter-spacing: normal;
  text-transform: none;
}
.logos-reader .byline, .logos-reader .version, .logos-reader .note, .logos-reader .foot {
  max-width: none;
  margin-inline: 0;
  color: var(--muted);
  text-align: start;
}
.logos-reader .note { margin-block: .9rem 1.5rem; }
.logos-reader a { color: var(--link); text-decoration: underline; border: 0; }
.logos-reader a:visited { color: var(--visited); }
.logos-reader figure { border: 0; border-radius: 0; padding: 0; }
.logos-reader ol, .logos-reader ul { margin-inline-start: 0; }
.logos-reader table { table-layout: fixed; }
.logos-edition-note {
  color: var(--muted);
  font-size: .95rem;
  margin-block: .75rem 1.2rem;
}
.logos-toc {
  border-block: 1px solid var(--line);
  margin-block: 1.15rem 1.6rem;
  padding-block: .65rem;
  font-size: 1rem;
}
.logos-toc ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: .25rem .9rem;
  margin: .35rem 0 0;
  padding-inline-start: 1.25rem;
}
.logos-toc li { margin: 0; }
.logos-figure-graphic { overflow-x: auto; }
.logos-figure-graphic:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
@media screen and (max-width: 42rem) {
  .logos-figure-graphic > svg { min-inline-size: 42rem; }
  .logos-reader figcaption { text-align: start; }
}
@media (max-width: 32rem) {
  .logos-reader { padding-top: 1rem; }
  .logos-reader h1 { margin-top: 1.5rem; }
  .logos-reader th, .logos-reader td { padding-inline: .25rem; }
}
@media print {
  .logos-reader { padding: 0; font-size: 11pt; }
}
