  /* The guide book (/guides and its chapters), built on the tokens in styles.css and loaded after
     pages.css. Ported from the approved one-page preview: prose, code, tables inside prose and the
     contents list; plus the version line, quotes and the links between chapters. */
  .guide-version{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
  .page-hero.guide-hero{max-width:var(--wrap)}
  .guide-version + .prose{margin-top:26px}
  .sec h2.sec-title{font-size:clamp(24px,2.8vw,32px);line-height:1.2;letter-spacing:-.03em;font-weight:650;margin:0 0 18px}

  .prose{max-width:760px;min-width:0;font-size:16.5px;line-height:1.75;overflow-wrap:anywhere}
  .hero-prose{max-width:720px;color:var(--muted)}
  .prose p{margin:0 0 16px}
  .prose ul,.prose ol{margin:0 0 18px;padding-left:22px;display:grid;gap:8px}
  .prose li{padding-left:4px;min-width:0}
  .prose li::marker{color:var(--muted)}
  .prose ol li::marker{font-family:var(--mono);font-weight:700;font-size:14px;color:var(--ink)}
  .prose strong{font-weight:620}
  .prose h3{font-size:17px;margin:22px 0 10px;font-weight:650}
  .prose code{font-family:var(--mono);font-size:.86em;background:var(--tint);border:1px solid var(--line);border-radius:5px;padding:1px 5px;overflow-wrap:anywhere}
  .prose blockquote{margin:0 0 16px;padding:2px 0 2px 16px;border-left:3px solid var(--line);color:var(--muted)}
  .prose .table-wrap{margin:18px 0}
  .prose .platforms td,.prose .platforms th{font-size:14px}
  /* A table keeps its words whole and scrolls in its frame on a phone, rather than splitting them. It
     is never forced wider than its words need, as the homepage table's 560px would, so a narrow table fits. */
  .prose .platforms{min-width:0}
  .prose .platforms td,.prose .platforms th,.prose .platforms code{overflow-wrap:normal}
  /* A command wraps to the frame instead of hiding its end; a copy still gives one line. */
  pre.code{font-family:var(--mono);font-size:13px;line-height:1.7;background:var(--tint);border:1px solid var(--line);border-radius:8px;padding:14px 16px;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px}
  .prose :is(p,ul,ol,blockquote,pre):last-child{margin-bottom:0}

  /* The front page's contents: one card per chapter, its number, title and first words. */
  .toc{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .toc li{display:grid;min-width:0}
  .toc a{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;align-items:start;text-decoration:none;border:1px solid var(--line);border-radius:12px;padding:18px 20px;min-width:0}
  .toc a:hover{border-color:var(--ink)}
  .toc .num{font-family:var(--mono);font-weight:700;font-size:13px;border:1px solid var(--line);border-radius:999px;height:30px;display:grid;place-items:center}
  .toc span{color:var(--muted);font-size:14.5px;line-height:1.6}
  .toc b{display:block;font-size:17px;margin-bottom:4px;color:var(--ink)}
  @media(max-width:760px){.toc{grid-template-columns:minmax(0,1fr)}}

  /* The end of a chapter: the previous and next chapters, and all of them. */
  .chapter-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .chapter-link{display:grid;gap:4px;align-content:start;min-width:0;border:1px solid var(--line);border-radius:12px;padding:18px 20px;text-decoration:none}
  .chapter-link:hover{border-color:var(--ink)}
  .chapter-link small{font-size:12px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
  .chapter-link b{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
  .chapter-next{grid-column:2;text-align:right}
  .chapter-all{grid-column:1/-1;justify-self:start;font-weight:600;font-size:15px}
  @media(max-width:760px){.chapter-nav{grid-template-columns:minmax(0,1fr)}.chapter-next{grid-column:auto;text-align:left}}
