/* New document pages keep the site's existing font, palette and width. */
.header .title {
  font-size: 2rem;
  line-height: calc(2 * var(--line-height));
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  margin: 0;
}
.writing { line-height: 1.6; }
.writing h1, .writing h2, .writing h3, .writing h4 { line-height: 1.3; }
.writing pre { overflow-x: auto; max-width: 100%; white-space: pre; }
.writing pre code { white-space: pre; }
.writing img { max-width: 100%; height: auto; }
.writing table { display: block; max-width: 100%; overflow-x: auto; }
.writing-index { list-style: none; padding: 0; }
.writing-index li { margin-bottom: calc(2 * var(--line-height)); }
.writing figure { margin: calc(2 * var(--line-height)) 0; }
.writing figcaption { margin-bottom: var(--line-height); }
.writing img { display: block; margin: var(--line-height) auto; }
.writing pre { padding: var(--line-height) 1ch; }
.writing table { width: 100%; }
.writing th, .writing td { vertical-align: top; }
.writing caption { text-align: left; padding-bottom: .5rem; }
.writing blockquote { border-left: var(--border-thickness) solid currentColor; margin-left: 0; padding-left: 2ch; }
.writing .sample-notice { font-size: .875rem; }
.writing .chart-plot { max-width: 100%; overflow-x: auto; margin-bottom: var(--line-height); }
.writing .chart-plot svg { display: block; width: 100%; min-width: 32rem; height: auto; font-family: inherit; font-size: 16px; }
.writing .chart-plot text { fill: currentColor; }
.writing .chart-plot:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.writing .chart-data { margin-bottom: var(--line-height); }
