/* Reader layout only. Published article words, source text and console data stay intact. */
.c2-wrap {
  width: min(960px, calc(100% - 40px));
}
.c2-article {
  max-width: calc(72ch + 72px);
  margin-inline: auto;
  font-size: 1.0625rem;
  padding: clamp(20px, 4vw, 36px);
  margin-block: 24px;
  scroll-margin-top: 110px;
}
.c2-article > * {
  max-width: 100%;
  margin-inline: 0;
}
.c2-article h2 {
  margin-block: 0 1.15rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.c2-article p,
.c2-article .c2-numbered {
  font-size: 1.0625rem;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
}
.c2-article p { margin-block: 0 1rem; }
.c2-article > :last-child { margin-bottom: 0; }
.c2-article .c2-subheading { font-weight: 700; margin-top: 1.8rem; }
.c2-article .c2-subheading:first-of-type { margin-top: 0; }
.c2-numbered { padding: 0; margin-block: 1rem; list-style: none; }
.c2-numbered li { padding-left: 1.7em; text-indent: -1.7em; margin-block: .75rem; }
.c2-numbered li:first-child { margin-top: 0; }
.c2-numbered li:last-child { margin-bottom: 0; }
.c2-article:target { border-color: var(--warm-gold, #a87b2d); }
.c2-reader-tools {
  margin: 2.5rem auto 1.75rem;
  max-width: 800px;
  scroll-margin-top: 110px;
}
.c2-reader-tools label { display: block; font-weight: 650; margin-bottom: .65rem; }
.c2-search { min-height: 48px; font-size: 1rem; }
.c2-search:focus-visible { outline: 3px solid var(--warm-green, #2d7a6e); outline-offset: 3px; }
#c2-count { color: var(--warm-muted, #5c6470); margin: .65rem 0 1rem; }
.c2-reader-index { border: 1px solid var(--warm-line, #e7dfd2); border-radius: 8px; padding: .85rem 1rem; }
.c2-reader-index summary { min-height: 24px; line-height: 1.5; }
.c2-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 7px; margin: 1rem 0 0; }
.c2-index a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem; }
@media (max-width: 640px) {
  .c2-wrap { width: calc(100% - 24px); padding-top: 20px; }
  .c2-note, .c2-credit { padding: 20px; }
  .c2-article { padding: 20px; margin-block: 16px; font-size: 1rem; }
  .c2-article p, .c2-article .c2-numbered { font-size: 1rem; line-height: 1.75; }
  .c2-reader-tools { margin-block: 2rem 1.25rem; }
  .c2-reader-index { padding-inline: .75rem; }
}
@media print {
  .c2-reader-tools { display: none; }
  .c2-article { break-inside: auto; border-color: #aaa; box-shadow: none; }
  .c2-article h2 { break-after: avoid; }
}

/* A responsive, uncropped illustration and a quiet invitation to the console. */
.c2-library { margin: 0; width: 100%; max-width: 430px; justify-self: center; }
.c2-library .governance-hero-image { aspect-ratio: 1; max-height: none; height: auto; }
.c2-library figcaption { margin-top: .85rem; color: var(--warm-muted, #60665c); font-size: .85rem; line-height: 1.6; text-align: center; }
.c2-library figcaption span { display: block; font-size: .75rem; }
.c2-workbench { width: min(800px, calc(100% - 40px)); margin: 0 auto 3rem; padding: 1.5rem; border-top: 1px solid var(--warm-line, #e7dfd2); color: var(--warm-muted, #60665c); line-height: 1.8; overflow-wrap: anywhere; }
.c2-workbench h2 { color: var(--warm-ink, #30352e); font-size: 1.3rem; }
@media (max-width: 640px) { .c2-workbench { width: calc(100% - 24px); padding: 20px; } }
