.library-shell { --max-width: 980px; padding-top: 2.5rem; }
.library-shell .article-header { max-width: none; margin-bottom: 1.8rem; }
.library-shell .article-header h1 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1.3; }
.library-nav, .paper-resources { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.library-nav { font-size: .85rem; }
.paper-authors { font-size: 1rem; line-height: 1.65; margin: 1.2rem 0 .45rem; }
.paper-venue { color: var(--muted); font-size: .9rem; margin: .4rem 0; }
.paper-abstract h2, .library-section h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; line-height: 1.35; margin: 0 0 .9rem; }
.paper-abstract p { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.85; }
.paper-resources { margin: 1.4rem 0; font-size: .88rem; }
.paper-resources a, .topic-outline a { text-decoration: underline; }
.library-section { border-top: 1px solid var(--line); padding-top: 1.8rem; margin-top: 2rem; scroll-margin-top: 90px; }
.library-section p { line-height: 1.8; }
.citation-text { color: var(--ink-soft); overflow-wrap: anywhere; }
.publication-figure { margin: 2rem 0; }
.publication-figure img { width: 100%; max-height: 390px; object-fit: contain; background: #fff; }
.publication-figure figcaption { color: var(--muted); font-size: .8rem; margin-top: .6rem; }
.library-papers { list-style: none; padding: 0; }
.library-papers li { border-top: 1px solid var(--line); padding: 1.4rem 0 .5rem; }
.library-papers h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.5; margin: 0 0 .65rem; }
.library-papers li > p { margin: .65rem 0; }
.topic-outline { display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; margin: 1.2rem 0 2rem; font-size: .92rem; }
.note-reference { font-size: .85rem; margin-top: 2rem; }
.library-shell a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .library-shell { padding-top: 1.8rem; }
  .library-shell .article-header h1 { font-size: 1.55rem; }
  .note-nav-inner { flex-wrap: wrap; padding: .65rem 0; gap: .6rem; }
  .library-nav { gap: 1rem; }
  .library-shell .article-deck { font-size: 1.05rem; }
}
