
    :root {
      color-scheme: light;
      --rise-navy: #0b3046;
      --rise-slate: #3e5062;
      --page-background: #faf8f7;
      --surface: #ffffff;
      --text: #4f555b;
      --muted: #626b73;
      --border: #d8dde1;
      --link: #155878;
    }
    *, *::before, *::after { box-sizing: border-box; }
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      background: var(--page-background);
      color: var(--text);
      line-height: 1.6;
    }
    header {
      background: var(--rise-navy);
      padding: 20px max(24px, 5vw);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      border-bottom: 4px solid var(--rise-slate);
    }
    header img { display: block; max-width: 100%; height: auto; max-height: 80px; object-fit: contain; }
    .rise-brand { flex: 0 1 360px; min-width: 0; max-width: 360px; }
    .alex-brand { width: 80px; flex-shrink: 0; }
    .container { width: 90%; max-width: 1440px; margin: auto; padding: 28px 0; }
    .filters, .section {
      background: var(--surface);
      margin-bottom: 20px;
      padding: 24px;
      border-radius: 5px;
      border: 1px solid var(--border);
      border-top: 5px solid var(--rise-navy);
      box-shadow: 0 2px 5px rgb(11 48 70 / 7%);
    }
    .filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .filter-grid > div { min-width: 0; }
    .filter-grid label { display: block; font-size: 13px; color: var(--rise-slate); margin-bottom: 6px; font-weight: 600; }
    input, select {
      width: 100%; padding: 12px; border-radius: 4px;
      border: 1px solid #9daab4; background: var(--surface);
      color: var(--text); font: inherit; font-size: 14px;
    }
    .filters { border-top: 1px solid var(--border); }
    .search-row { display: flex; gap: 12px; margin-bottom: 18px; }
    .search-row input { flex: 1; min-width: 0; font-size: 16px; }
    .search-row button { padding: 12px 28px; font-size: 16px; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
    .filter-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
    button.text-button { color: var(--link); background: transparent; border: 0; padding: 4px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
    button.text-button:hover { color: var(--rise-navy); }
    .intro > p { max-width: 74ch; }
    .intro .description { font-size: 18px; }
    .intro .curation-note { color: #087f8c; font-size: 20px; font-weight: 700; margin: 22px 0 4px; }
    .named-collections { margin: 4px 0 24px; }
    .named-collections p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
    .collection-links { display: flex; gap: 10px; flex-wrap: wrap; }
    .collection-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; padding: 7px 14px; border: 1px solid #c7d1da; border-radius: 4px; background: var(--surface); color: var(--link); font-size: 14px; text-decoration: none; }
    .collection-link span { font-size: 19px; line-height: 1; }
    .collection-link:hover { background: #f0f4f6; border-color: var(--link); }
    .results-heading h2 { margin: 0 0 2px; color: var(--rise-navy); font-size: 24px; }
    .actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
    button, .button {
      background: var(--rise-navy); color: #fff; border: 1px solid var(--rise-navy);
      border-radius: 4px; padding: 10px 14px; cursor: pointer;
      text-decoration: none; display: inline-block; font: inherit; font-size: 14px;
    }
    button:hover, .button:hover { background: var(--rise-slate); color: #fff; text-decoration: none; }
    button.secondary, .button.secondary { background: var(--surface); border: 1px solid var(--rise-slate); color: var(--rise-navy); }
    button.secondary:hover, .button.secondary:hover { background: #edf1f4; }
    :focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
    header a:focus-visible { outline-color: #fff; }
    .section h1, .section h2, .section h3 { margin-top: 0; color: var(--rise-navy); line-height: 1.35; }
    .section h1 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
    .section .lead { font-size: 1.25rem; color: var(--rise-navy); margin-bottom: 8px; }
    .section h3 { font-size: 20px; }
    .section { overflow-wrap: anywhere; }
    .meta { color: var(--muted); font-size: 14px; margin-top: -6px; margin-bottom: 10px; }
    a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
    a:hover { color: var(--rise-navy); }
    .summary-line { color: var(--muted); margin-bottom: 18px; }
    footer { width: 90%; max-width: 1440px; margin: 0 auto; text-align: center; padding: 22px 0 26px; border-top: 1px solid #9daab4; font-size: 13px; color: var(--rise-slate); }
    footer p { margin: 0 0 5px; }
    footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; }
    footer .download-links { margin-top: 8px; font-size: 12px; }
    #collectionStatus { color: var(--muted); font-size: 12px; margin-top: 8px; }
    @media (max-width: 900px) { .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 700px) {
      header { padding: 16px; gap: 16px; }
      .rise-brand { max-width: 300px; }
      .alex-brand { width: 64px; }
      .container { width: calc(100% - 32px); padding: 20px 0; }
      .filters, .section { padding: 18px; }
      .filter-grid { gap: 12px; }
      .search-row button { padding: 12px 16px; }
      .intro .description { font-size: 16px; }
      .intro .curation-note { font-size: 18px; }
      .collection-link { min-height: 44px; }
      footer { width: calc(100% - 32px); }
    }
/* Collection-only additions; this stylesheet is not loaded by ALEX search. */
.skip-link { position: absolute; top: -80px; left: 16px; background: white; padding: 12px; z-index: 1; }
.skip-link:focus { top: 12px; }
.collection-nav { margin-bottom: 20px; }
.bibliography { padding-left: 2rem; }
.bibliography .paper { padding: 16px 0; border-bottom: 1px solid var(--border); }
.bibliography h3 { font-size: 1.1rem; margin: 0 0 8px; }
.bibliography p { margin: 8px 0; }
.collection-source { font-size: .9rem; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pagination a, .pagination span { padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px; }
.pagination [aria-current] { color: white; background: var(--rise-navy); }
