/* Measures, the work layout's fixed sizes, and the breakpoints. Custom properties cannot be used in a @media condition, so the
   --bp-* values are the documented source and each @media query repeats the literal. */

:root {
  --measure: 43rem;      /* the text block: about 66 characters of Garamond at --size-text */
  --measure-wide: 64rem; /* tables and code blocks may grow to this, centred on the text block */

  --topbar-height: 3rem;
  --sidebar-width: 16rem;
  --toc-width: 15rem;

  --bp-toc: 88rem;      /* below this, "On this page" is a panel opened with Contents */
  --bp-book-toc: 80rem; /* below this, a public page's contents (c-toc--book) are a panel opened with Contents; from here
                           up the list is fixed at the right edge, beside the centred text block at its full measure */
  --bp-sidebar: 56rem;  /* below this, the file tree is a panel opened with Files, and --size-text drops */
  --bp-phone: 36rem;    /* below this, running text is set ragged right and the top bar drops the site name */
  --bp-small-phone: 24rem; /* below this (a phone 320 to 384 px wide), a display equation (c-equation) is set a little smaller and
                              in a book page takes half the page's side margins */
}
