.reading-main { padding-top: 28px; }
.breadcrumbs { margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px 12px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { display: inline-flex; gap: 12px; max-width: 100%; }
.breadcrumbs li + li::before { content: "/"; color: #8b95a5; }
.breadcrumbs li:last-child { overflow-wrap: anywhere; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-deck { font-size: 20px; line-height: 1.55; margin-top: 26px; color: var(--muted); max-width: 65ch; }
.method-note { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 80ch; }
.prose { font-size: 18px; line-height: 1.8; min-width: 0; }
.prose > p, .prose > ul, .prose > ol { max-width: 70ch; }
.prose p + p { margin-top: 1.2em; }
.prose h2 { font-size: 34px; margin-block: 1.65em .65em; line-height: 1.16; letter-spacing: -.015em; scroll-margin-top: 30px; }
.prose h3 { font-size: 20px; margin-block: 1.65em .6em; scroll-margin-top: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35em; margin-block: 1em 1.3em; }
.prose li { padding-left: .2em; margin-block: .45em; }
.prose a { color: var(--accent); overflow-wrap: anywhere; }
.prose a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
.prose strong { font-weight: 600; }
.prose code { font-size: .78em; overflow-wrap: anywhere; background: var(--paper); padding: .15em .28em; border-radius: 3px; }
.prose pre { font-size: 14px; margin-block: 1.5em; line-height: 1.8; }
.prose pre code { padding: 0; border-radius: 0; font-size: inherit; overflow-wrap: normal; }
.prose blockquote { margin: 1.5em 0; padding: 22px 26px; background: var(--paper); border-radius: 8px; }
.prose blockquote p { font: 400 24px/1.4 var(--sans); letter-spacing: -.005em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.heading-anchor { margin-left: .4em; font: 400 .6em/1 var(--sans); text-decoration: none; opacity: 0; }
h2:hover .heading-anchor, h3:hover .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.table-scroll-hint { width: fit-content; font: 500 13px/1.6 var(--sans); color: var(--amber); background: var(--yellow-paper); border-left: 3px solid var(--brand-yellow); border-radius: 3px; padding: 7px 12px; margin: 20px 0 -10px; }
.table-scroll { overflow-x: auto; margin-block: 1.5em; scrollbar-width: thin; scrollbar-color: var(--scrollbar) var(--paper); }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.65; }
.prose table:has(th:nth-child(3)) { min-width: 650px; }
.prose th { background: var(--paper); font-weight: 600; text-align: left; }
.prose th, .prose td { padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.related-reading { margin-top: 40px; padding-top: 43px; border-top: 1px solid var(--line); }
.related-reading > h2 { font-size: 25px; margin-bottom: 30px; }
.related-reading > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
.related-reading .article-link { border-top: 0; padding-top: 0; }
.related-reading .article-link .article-link-heading { font-size: 25px; }
.related-reading .article-link p { font-size: 14px; }
.search-header { max-width: 850px; padding-block: 8px 35px; }
.search-header h1 { font-size: 34px; }
.search-header form { margin-top: 35px; }
.search-header label { display: block; font-size: 14px; margin-bottom: 9px; color: var(--muted); }
.search-field { display: flex; gap: 12px; }
.search-field input { min-width: 0; width: 100%; border: 1px solid #7a879d; border-radius: 6px; padding: 12px 17px; color: var(--ink); background: #fff; font-size: 16px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-status { font-size: 14px; color: var(--muted); margin-top: 20px; }
.search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 0 65px; }
.search-empty { grid-column: 1 / -1; padding-block: 30px; }
.not-found { padding-block: 35px 45px; }
.error-code { font-size: 16px; color: var(--muted); margin-bottom: 15px; }
.not-found h1 { font-size: 34px; }
.not-found > p:not(.error-code) { color: var(--muted); margin-top: 25px; max-width: 48ch; }
.not-found .actions { margin-top: 30px; }
@media (max-width: 700px) {
  .reading-main { padding-top: 23px; }
  .breadcrumbs { margin-bottom: 24px; font-size: 14px; }
  .breadcrumbs li:last-child { max-width: 55ch; }
  .search-results { grid-template-columns: 1fr; }
  .article-link .article-link-heading { font-size: 28px; }
  .article-link p { font-size: 14px; }
  .article-deck { font-size: 17px; margin-top: 22px; }
  .method-note { font-size: 14px; }
  .prose { font-size: 16px; line-height: 1.8; }
  .prose h2 { font-size: 30px; }
  .prose blockquote { padding: 19px 20px; }
  .prose blockquote p { font-size: 22px; }
  .prose pre { font-size: 14px; padding-inline: 16px; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 11px; }
  .related-reading { margin-top: 55px; padding-top: 32px; }
  .related-reading > div { grid-template-columns: 1fr; gap: 0; }
  .related-reading > h2 { font-size: 24px; }
  .search-field { gap: 9px; }
  .search-field input { padding: 11px 12px; font-size: 14px; }
  .search-field .button { padding-inline: 14px; }
}
