.pbs-library {
  --pbs-primary: #1769aa;
  --pbs-secondary: #5b6470;
  width: 100%;
  max-width: 100%;
  color: #17212b;
  font-family: inherit;
  box-sizing: border-box;
}
.pbs-library *, .pbs-library *::before, .pbs-library *::after { box-sizing: border-box; }
.pbs-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(8px, 2vw, 16px);
  width: 100%;
}
.pbs-search, .pbs-year-filter {
  min-width: 0;
  width: 100%;
  height: 56px;
  border: 1px solid #cbd5dc;
  border-radius: 8px;
  background: #fff;
  color: #293744;
  font: inherit;
}
.pbs-search { display: flex; align-items: center; gap: 12px; padding: 0 16px; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.pbs-search:focus-within { border-color: var(--pbs-primary); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--pbs-primary) 13%, transparent); }
.pbs-search-icon { position: relative; display: block; flex: 0 0 17px; width: 17px; height: 17px; color: #697985; font-size: 0; line-height: 0; }
.pbs-search-icon::before { position: absolute; top: 1px; left: 1px; width: 11px; height: 11px; border: 1.7px solid currentColor; border-radius: 50%; content: ''; }
.pbs-search-icon::after { position: absolute; top: 11px; left: 11px; width: 6px; height: 1.7px; border-radius: 2px; background: currentColor; content: ''; transform: rotate(45deg); transform-origin: left center; }
.pbs-search-input, .pbs-library .pbs-search input[type="search"] { min-width: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; color: inherit; font: inherit; appearance: none; }
.pbs-search-input::placeholder { color: #788791; opacity: 1; }
.pbs-year-filter { padding: 0 32px 0 12px; text-overflow: ellipsis; }
.pbs-year-filter:focus-visible { outline: 2px solid var(--pbs-primary); outline-offset: 2px; }
.pbs-result-count { margin: 16px 0 22px; color: var(--pbs-secondary); font-size: 14px; }
.pbs-tabs { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; max-width: 100%; margin: 0 0 24px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.pbs-tab { flex: 0 0 auto; min-height: 40px; padding: 9px 18px; border: 1px solid transparent; border-radius: 999px; background: #f0f2f4; color: #35414d; font: inherit; font-size: 14px; line-height: 1.2; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.pbs-tab:hover { background: #e3e7ea; }
.pbs-tab.is-active { background: #24313b; color: #fff; }
.pbs-tab:focus-visible, .pbs-action:focus-visible, .pbs-pagination button:focus-visible { outline: 2px solid var(--pbs-primary); outline-offset: 2px; }
.pbs-section-heading { margin: 0; padding: 0 0 12px; border-bottom: 1px solid #cfd5da; color: #17212b; font-size: 24px; font-weight: 700; line-height: 1.3; }
.pbs-publications { display: block; padding-top: 4px; }
.pbs-publications.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 20px; }
.pbs-publication { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; padding: 24px 8px; border-bottom: 1px solid #d8dde1; background: transparent; }
.pbs-publication-content { flex: 1 1 auto; min-width: 0; }
.pbs-publication-date { margin: 0 0 7px; color: #64717d; font-size: 14px; line-height: 1.4; }
.pbs-publication-title { margin: 0; color: #17212b; font-size: 21px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.pbs-publication-description { margin: 8px 0 0; color: #56616b; font-size: 15px; line-height: 1.55; }
.pbs-actions { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; }
.pbs-action { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--pbs-primary); border-radius: 6px; background: transparent; color: var(--pbs-primary); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.pbs-action:hover { background: var(--pbs-primary); color: #fff; }
.pbs-no-results { padding: 22px 0; color: var(--pbs-secondary); text-align: center; }
.pbs-publication[hidden] { display: none; }
.pbs-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 22px 0 0; }
.pbs-pagination button { min-width: 38px; min-height: 38px; padding: 7px 12px; border: 1px solid #d2d8dd; border-radius: 5px; background: #fff; color: #273541; font: inherit; cursor: pointer; }
.pbs-pagination button:hover, .pbs-pagination button.is-active { border-color: var(--pbs-primary); background: var(--pbs-primary); color: #fff; }
.pbs-pagination button:disabled { opacity: .5; cursor: not-allowed; }
.pbs-preset-minimal .pbs-tab { border-radius: 4px; background: transparent; }
.pbs-preset-minimal .pbs-tab.is-active { background: #24313b; }
.pbs-preset-cards .pbs-publications.is-list .pbs-publication, .pbs-preset-cards .pbs-publications.is-grid .pbs-publication { padding: 23px 22px; border: 1px solid #dce3e7; border-left: 3px solid #638b8d; border-radius: 3px; background: #fff; box-shadow: none; }
.pbs-preset-cards .pbs-publications.is-grid .pbs-publication { align-items: flex-start; flex-direction: column; }
.pbs-preset-compact .pbs-publication { padding-top: 14px; padding-bottom: 14px; }
.pbs-preset-compact .pbs-publication-title { font-size: 18px; }
.pbs-related { --pbs-related-accent: #0877b9; width: 100%; max-width: 100%; color: #17212b; box-sizing: border-box; }
.pbs-related *, .pbs-related *::before, .pbs-related *::after { box-sizing: border-box; }
.pbs-related-heading { margin: 0 0 22px; padding: 0 0 8px; border: 0; border-bottom: 2px solid #202930; color: #17212b; font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; line-height: 1.2; }
.pbs-related-list { display: flex; flex-direction: column; }
.pbs-related-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 0; padding: 23px 12px; border: 0; border-bottom: 2px solid #a4a6a5; background: transparent; }
.pbs-related-copy { flex: 1 1 auto; min-width: 0; }
.pbs-related-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 0 0 8px; color: #25333d; font-size: 17px; line-height: 1.35; }
.pbs-related-meta span { font-weight: 700; }
.pbs-related-meta time { font-style: italic; }
.pbs-related-title { margin: 0; color: #17212b; font-size: clamp(19px, 2vw, 27px); font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.pbs-related-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.pbs-related-action { display: inline-flex; min-width: 124px; min-height: 58px; align-items: center; justify-content: center; gap: 7px; padding: 12px 18px; border: 3px solid var(--pbs-related-accent); border-radius: 5px; background: transparent; color: var(--pbs-related-accent); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.pbs-related-action:hover { border-color: #075e91; background: #075e91; color: #fff; }
.pbs-related-action:focus-visible { outline: 2px solid var(--pbs-related-accent); outline-offset: 3px; }
.pbs-related-empty { padding: 16px 0; color: #5b6470; }
@media (max-width: 767px) {
  .pbs-toolbar { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; }
  .pbs-search, .pbs-year-filter { height: 48px; border-radius: 8px; }
  .pbs-search { gap: 9px; padding-right: 9px; padding-left: 11px; }
  .pbs-search-input { font-size: 14px; }
  .pbs-search-input::placeholder { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pbs-year-filter { padding-right: 23px; padding-left: 8px; font-size: 13px; }
  .pbs-result-count { margin: 13px 0 17px; }
  .pbs-tabs { gap: 7px; margin-bottom: 18px; }
  .pbs-tab { min-height: 36px; padding: 8px 13px; font-size: 13px; }
  .pbs-section-heading { padding-bottom: 9px; font-size: 21px; }
  .pbs-publications.is-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px; padding-top: 12px; }
  .pbs-publication { align-items: flex-start; flex-direction: column; gap: 13px; padding: 18px 2px; }
  .pbs-publication-date { margin-bottom: 5px; font-size: 13px; }
  .pbs-publication-title { font-size: 19px; }
  .pbs-publication-description { font-size: 14px; }
  .pbs-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .pbs-action { min-height: 38px; flex: 0 1 auto; }
  .pbs-preset-cards .pbs-publications.is-list .pbs-publication, .pbs-preset-cards .pbs-publications.is-grid .pbs-publication { padding: 16px; }
  .pbs-related-heading { margin-bottom: 12px; font-size: 25px; }
  .pbs-related-row { align-items: flex-start; flex-direction: column; gap: 13px; padding: 18px 3px; }
  .pbs-related-meta { margin-bottom: 5px; font-size: 14px; }
  .pbs-related-title { font-size: 19px; }
  .pbs-related-actions { width: 100%; flex-wrap: wrap; }
  .pbs-related-action { min-width: 112px; min-height: 46px; padding: 9px 14px; border-width: 2px; }
}
