.library-spotlight {
  display: block;
  background: var(--soft);
  border-radius: 6px;
  overflow: hidden;
}
.library-spotlight img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}
.library-spotlight > div {
  padding: 24px;
}
.library-spotlight h2 {
  font-size: clamp(26px, 2.5vw, 32px);
  margin-bottom: 12px;
}
.library-spotlight .eyebrow {
  font-size: 10px;
  margin-bottom: 14px;
}
.library-spotlight p {
  color: var(--muted);
  font-size: 14px;
}
.library-spotlight:hover h2 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.guide-index-tools .library-filters {
  gap: 6px;
}
.library-filters a {
  padding: 10px 15px;
  border-radius: 4px;
  gap: 12px;
  text-decoration: none !important;
  font-size: 14px;
}
.library-filters a:hover {
  background: var(--soft);
}
.library-filters a[aria-current] {
  background: var(--ink);
  color: var(--inverse);
}
.library-filters a span {
  font-size: 12px;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}
.library-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding-top: 8px;
  gap: 16px;
}
.library-summary p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.library-summary button {
  font-size: 13px;
  min-height: 44px;
}
.guide-category .section-heading {
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}
.guide-category .section-heading h2 {
  margin: 0;
}
.guide-category .section-heading .eyebrow {
  margin: 0;
  white-space: nowrap;
}
.guide-category {
  scroll-margin-top: 24px;
}
.guide-card a:focus-visible {
  outline-offset: 8px;
}
.guide-card h3 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
}
.reader-progress {
  margin-bottom: 28px;
}
.reader-progress label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.reader-progress progress {
  display: block;
  width: 100%;
  height: 5px;
  margin-top: 12px;
  border: 0;
  appearance: none;
  background: var(--line);
  color: var(--ink);
}
.reader-progress progress::-webkit-progress-bar {
  background: var(--line);
}
.reader-progress progress::-webkit-progress-value {
  background: var(--ink);
}
.reader-progress progress::-moz-progress-bar {
  background: var(--ink);
}
.article-toc a[aria-current] {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-end {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0 24px;
}
.article-end a {
  min-height: 44px;
}
.article-table:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
#guide-action-status:empty {
  display: none;
}
@media (max-width: 800px) {
  .library-spotlight {
    display: grid;
    grid-template-columns: minmax(100px, 0.7fr) minmax(0, 1fr);
    align-items: center;
  }
  .library-spotlight img {
    height: 100%;
    aspect-ratio: auto;
  }
  .library-spotlight > div {
    padding: 20px;
  }
  .library-spotlight h2 {
    font-size: 25px;
  }
  .library-spotlight p {
    display: none;
  }
}
@media (max-width: 400px) {
  .library-filters a {
    padding-inline: 12px;
    gap: 8px;
  }
  .guide-category .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
}
@media print {
  .reader-progress,
  .article-end {
    display: none;
  }
}
