@import url('./disclosure.css');
@import url('./reference-finder.css');

/* The library body still uses this named container for its own layouts. */
.page.library-page-frame { container: html-library / inline-size; }

.library-create {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  padding: 7px 0;
}
.library-create:hover { color: var(--blue); }
.library-create span { font-size: 18px; line-height: 1; }
.library-section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 0 0 24px;
}
.library-section-intro h2 {
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -.025em;
  font-weight: 550;
  margin: 0;
}
.library-section-intro p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 2px;
}

/* Library body introductions remain outside the shared page header. */
@media (max-width: 1180px) {
  .library-section-intro { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 650px) {
  .library-section-intro h2 { font-size: 21px; }
  .library-section-intro p { font-size: 12px; }
}
