/* Public discovery surfaces. Loaded after home, site, and research styles. */
:root {
  --discovery-forest: #004d35;
  --discovery-night: #073d2f;
  --discovery-paper: #f7f6ef;
  --discovery-lime: #d7ee91;
  --discovery-ink: #153c2e;
  --discovery-muted: #51675c;
  --discovery-line: #d9e1d8;
}

[hidden] { display: none !important; }

/* Keep the supplied mark on its original white ground. */
.sp-home { font-size: 16px; color: var(--discovery-ink); }
.sp-home .home-container { width: min(1280px, calc(100% - 80px)); }
.sp-home .home-header { border-bottom-color: #e6e9e2; }
.sp-home .home-nav { min-height: 96px; gap: 24px; }
.sp-home .home-brand { font-size: 21px; letter-spacing: -.6px; gap: 10px; }
.sp-home .home-brand .brand-logo { width: 66px; height: 66px; border-radius: 0; }
.sp-home .home-brand small { font-size: 11px; letter-spacing: .5px; font-weight: 500; }
.sp-home .home-desktop-links { gap: 26px; }
.sp-home .home-desktop-links a { border-bottom: 2px solid transparent; }
.sp-home .home-desktop-links a:hover { border-bottom-color: var(--discovery-forest); }
.sp-home .home-nav-actions { gap: 18px; }
.sp-home .home-button,
body.editorial .site-button { border-radius: 5px; box-shadow: none; font-size: 14px; min-height: 48px; }
.sp-home .home-button.small { padding: 12px 19px; }
.sp-home :focus-visible,
body.editorial :focus-visible { outline: 3px solid #b9760c; outline-offset: 4px; }

/* An editorial cover, with the real reading room as the visual anchor. */
.sp-home .home-hero {
  background: var(--discovery-night);
  color: var(--discovery-paper);
  border-bottom: 0;
}
.sp-home .home-hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 64px;
  padding-top: 66px;
  padding-bottom: 48px;
  align-items: center;
}
.sp-home .home-hero-copy { padding: 0; min-width: 0; }
.sp-home .home-hero .home-eyebrow { color: #d7e3cc; font-size: 14px; letter-spacing: 1.25px; margin-bottom: 22px !important; }
.sp-home .home-hero .home-eyebrow > span { background: var(--discovery-lime); width: 7px; height: 7px; }
.sp-home .home-hero h1 {
  color: #fffef2;
  font-size: clamp(48px, 4.8vw, 72px);
  line-height: 1.045;
  font-weight: 450;
  letter-spacing: -2.7px;
  margin-bottom: 25px;
  text-wrap: balance;
}
.sp-home .home-hero h1 em { color: var(--discovery-lime); font-weight: 400; }
.sp-home .home-intro { font-size: 17px; line-height: 1.8; color: #d6e2d8; max-width: 570px; }
.sp-home .home-search { margin-top: 31px; }
.sp-home .home-search label { color: #f7f7eb; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.sp-home .home-search-field {
  padding: 7px 7px 7px 19px;
  gap: 12px;
  flex-wrap: nowrap;
  border: 1px solid #fff;
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 8px 22px #001c181a;
}
.sp-home .home-search-field > svg { width: 21px; height: 21px; color: #365c46; }
.sp-home .home-search input { font-size: 16px; padding: 13px 0; line-height: 1.5; }
.sp-home .home-search input::placeholder { color: #647369; }
.sp-home .home-search button {
  width: auto;
  margin: 0;
  min-height: 50px;
  padding: 13px 17px;
  color: #183b2a;
  background: var(--discovery-lime);
  border-color: var(--discovery-lime);
  border-radius: 4px;
  font-size: 14px;
}
.sp-home .home-search button:hover { background: #e4f6b0; border-color: #e4f6b0; }
.sp-home .home-search-shortcuts { color: #c2d4c8; gap: 8px 15px; margin-top: 15px; font-size: 14px; }
.sp-home .home-search-shortcuts a { color: #f0f2e5; border-bottom-color: #6a8b77; }
.sp-home .home-search-shortcuts a:hover { color: var(--discovery-lime); }
.sp-home .home-hero-actions { margin-top: 27px; gap: 25px; }
.sp-home .home-hero .home-text-link { color: #f2f5e3 !important; }
.sp-home .home-hero .home-text-button { color: #e0e9dc; border-bottom-color: #73917d; }
.sp-home .home-hero .home-text-button:hover { color: var(--discovery-lime); }
.sp-home .home-hero-note { color: #b9cdc0; font-size: 14px; line-height: 1.7; max-width: 500px; }
.sp-home .home-featured-resource { padding: 0; width: 100%; max-width: none; min-width: 0; }
.sp-home .home-library-figure { margin: 0; position: relative; padding-bottom: 36px; }
.sp-home .home-library-figure > img {
  height: clamp(435px, 42vw, 550px);
  aspect-ratio: auto;
  width: 100%;
  object-fit: cover;
  object-position: 51% center;
  border-radius: 4px;
}
.sp-home .home-library-note {
  position: absolute;
  bottom: 62px;
  left: 25px;
  right: 25px;
  margin: 0;
  background: #f9f7ed;
  color: var(--discovery-ink);
  padding: 24px 26px;
  border: 0;
  border-top: 4px solid var(--discovery-lime);
  box-shadow: 0 10px 26px #00251b1a;
}
.sp-home .home-library-note > span { font-size: 14px; letter-spacing: .9px; color: #526250; }
.sp-home .home-library-note h2 { font-size: clamp(26px, 2.6vw, 35px); line-height: 1.18; letter-spacing: -.65px; margin: 13px 0 17px; }
.sp-home .home-library-note a { font-size: 14px; line-height: 1.6; display: inline-block; }
.sp-home .home-library-figure figcaption { position: absolute; left: 0; bottom: 0; padding: 0; color: #bed0c1; font-size: 14px; line-height: 1.5; }
.sp-home .home-collection-metrics { gap: 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #3b6351; }
.sp-home .home-collection-metrics strong { color: var(--discovery-lime); font-size: 30px; }
.sp-home .home-collection-metrics span { font-size: 14px; color: #d3dfd2; }
.sp-home .home-regions { border-top-color: #375e4c; padding-block: 22px; gap: 25px; }
.sp-home .home-regions > span,
.sp-home .home-regions > a { color: #d2e0d3; font-size: 14px; }
.sp-home .home-regions p { color: #f2f2e4; font-size: 14px; }
.sp-home .home-regions i { color: #819b82; }

/* Collections behave as useful destinations, with color assigned by discipline. */
.sp-home .home-discovery { background: var(--discovery-paper); padding: 72px 0 78px; }
.sp-home .discovery-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 33px; }
.sp-home .discovery-heading .home-eyebrow { margin-bottom: 12px !important; }
.sp-home .discovery-heading h2 { max-width: 730px; }
.sp-home .discovery-heading > p { max-width: 370px; color: var(--discovery-muted); font-size: 16px; line-height: 1.7; }
.sp-home .discovery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sp-home .discovery-collection {
  --collection-bg: #e1ead9;
  --collection-ink: #294a36;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 246px;
  padding: 27px;
  background: var(--collection-bg);
  color: var(--collection-ink);
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  transition: border-color .16s, box-shadow .16s;
}
.sp-home .discovery-collection[data-tone="sage"],
.sp-home .discovery-collection[data-tone="1"] { --collection-bg: #e1ead9; --collection-ink: #294a36; }
.sp-home .discovery-collection[data-tone="sand"],
.sp-home .discovery-collection[data-tone="2"] { --collection-bg: #f0e5bd; --collection-ink: #564624; }
.sp-home .discovery-collection[data-tone="blue"],
.sp-home .discovery-collection[data-tone="3"] { --collection-bg: #dce8ed; --collection-ink: #2d4a58; }
.sp-home .discovery-collection[data-tone="rose"],
.sp-home .discovery-collection[data-tone="4"] { --collection-bg: #efddda; --collection-ink: #693f3b; }
.sp-home .discovery-collection[data-tone="lilac"],
.sp-home .discovery-collection[data-tone="5"] { --collection-bg: #e6e1ef; --collection-ink: #4c425e; }
.sp-home .discovery-collection[data-tone="peach"],
.sp-home .discovery-collection[data-tone="6"] { --collection-bg: #f1e1cc; --collection-ink: #644a30; }
.sp-home .discovery-collection:hover { border-color: var(--collection-ink); box-shadow: 0 4px 12px #17352509; }
.sp-home .discovery-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; }
.sp-home .discovery-icon svg { width: 25px; height: 25px; stroke-width: 1.5; }
.sp-home .discovery-count { position: absolute; right: 27px; top: 35px; font-size: 14px; line-height: 1.4; font-weight: 500; }
.sp-home .discovery-collection h3 { font: 450 29px/1.16 Fraunces, Georgia, serif; letter-spacing: -.6px; margin: 25px 0 11px; }
.sp-home .discovery-collection p { font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
.sp-home .discovery-collection > b,
.sp-home .discovery-link,
.sp-home .discovery-collection .home-topic-link { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.6; margin-top: auto; padding-top: 15px; border-top: 1px solid #00000020; }
.sp-home .discovery-citation { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; margin-top: 27px; border-top: 1px solid #d5dccd; font-size: 14px; color: #52654f; }
.sp-home .discovery-citation p { max-width: 760px; font-size: 14px; line-height: 1.7; }
.sp-home .discovery-sourcebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; font-size: 14px; padding-block: 24px; color: var(--discovery-muted); }
.sp-home .discovery-sourcebar > p { font-size: 14px; line-height: 1.65; }
.sp-home .discovery-sourcebar strong { color: var(--discovery-ink); font-weight: 650; }
.sp-home .discovery-sourcebar a { text-decoration: underline; text-underline-offset: 4px; }

/* A consistent scale for the remaining editorial homepage. */
.sp-home .home-section { padding-block: 72px; }
.sp-home .home-section h2,
.sp-home .home-institutions h2,
.sp-home .home-workspace h2,
.sp-home .home-final h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.14; letter-spacing: -1.35px; }
.sp-home .home-eyebrow { font-size: 14px; letter-spacing: 1.05px; }
.sp-home .home-heading-note,
.sp-home .home-topic p,
.sp-home .home-reading-intro > p:not(.home-eyebrow),
.sp-home .home-reading-list p,
.sp-home .home-download-info p,
.sp-home .home-institutions-grid > div:first-child > p:not(.home-eyebrow),
.sp-home .home-institution-note > p,
.sp-home .home-health-grid p,
.sp-home .home-tool-link p,
.sp-home .home-audience-grid p,
.sp-home .home-workspace-heading > p,
.sp-home .home-module-grid p,
.sp-home .home-step-grid p,
.sp-home .home-price-description,
.sp-home .home-faq-grid > div:first-child > p:not(.home-eyebrow),
.sp-home .home-faq-list details > p,
.sp-home .home-final p { font-size: 16px; line-height: 1.8; }
.sp-home .home-reading-list h3,
.sp-home .home-step-grid h3,
.sp-home .home-faq-list summary { font-size: 17px; line-height: 1.6; }
.sp-home .home-topic-number,
.sp-home .home-reading-label,
.sp-home .home-small-note,
.sp-home .home-note-label,
.sp-home .home-plan-kicker,
.sp-home .home-plan-badge,
.sp-home .home-tool-link b,
.sp-home .home-audience-grid span { font-size: 14px; }
.sp-home .home-topic { border-radius: 5px; }
.sp-home .home-topic:hover { transform: none; border-color: #55754b; box-shadow: none; }
.sp-home .home-reading { padding-top: 0; }
.sp-home .home-reading-grid { gap: 70px; padding-top: 58px; }
.sp-home .home-reading-intro > p:not(.home-eyebrow) { max-width: 350px; }
.sp-home .home-reading-number { font-size: 29px; color: #73856a; }
.sp-home .home-reading-list > a { padding-block: 24px; }
.sp-home .home-downloads { background: #f2f3eb; border-color: #e1e5d9; }
.sp-home .home-download-grid > article { border-color: #d6ded1; border-radius: 6px; }
.sp-home .home-download-info { padding: 28px; }
.sp-home .home-download-info h3 { font-size: 26px; letter-spacing: -.4px; }
.sp-home .home-tools-grid { gap: 28px; }
.sp-home .home-tool-link { border-top-width: 1px; padding-top: 23px; }
.sp-home .home-tool-link h3 { font-size: 20px; letter-spacing: -.35px; }
.sp-home .home-tool-link > span { font-size: 27px; color: #70816b; }
.sp-home .home-audience-grid > a { background: #faf9f2; border-radius: 5px; padding: 30px; }
.sp-home .home-audience-grid h3 { font-size: 31px; }
.sp-home .home-health-grid > a { padding-block: 30px; }
.sp-home .home-health-grid h3 { font-size: 29px; }
.sp-home .home-workspace { background: var(--discovery-night); padding-block: 78px; }
.sp-home .home-workspace h2 em { color: var(--discovery-lime); }
.sp-home .home-workspace .home-button.light { background: var(--discovery-lime); border-color: var(--discovery-lime); }
.sp-home .home-module-grid h3 { font-size: 25px; }
.sp-home .home-price { border-radius: 6px; padding: 32px 27px 25px; }
.sp-home .home-price-value { font-size: 59px; }
.sp-home .home-price.recommended { background: var(--discovery-night); }
.sp-home .home-plan-badge { background: var(--discovery-lime); color: #203d2c; padding: 5px 12px; }
.sp-home .home-price ul { font-size: 16px; line-height: 1.75; }
.sp-home .home-price li:before { top: 10px; }
.sp-home .home-faq-list details { padding-block: 23px; }
.sp-home .home-faq-list details > p { max-width: 740px; }
.sp-home .home-final { background: #e8eedd; }
.sp-home .home-footer { background: #fafaf6; }
.sp-home .home-footer-brand > p,
.sp-home .home-footer-contact,
.sp-home .home-footer-bottom { font-size: 14px; line-height: 1.8; }
.sp-home .home-footer-contact { flex-wrap: wrap; }
.sp-home .home-footer-contact a { max-width: 100%; overflow-wrap: anywhere; }

/* Public catalogue: compact introduction and one clear search workspace. */
body.editorial { color: var(--discovery-ink); font-size: 16px; }
body.editorial .site-header { max-width: 1280px; min-height: 96px; gap: 25px; padding-block: 10px; }
body.editorial .site-brand { font-size: 19px; letter-spacing: -.4px; gap: 9px; }
body.editorial .site-brand .brand-logo { width: 66px; height: 66px; border-radius: 0; }
body.editorial .site-header nav { gap: 24px; }
body.editorial .site-header nav a { font-size: 14px; }
body.editorial .library-hero {
  padding: 30px max(28px, calc((100vw - 1124px) / 2));
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 44px;
  background: #f1f3e9;
  border-color: #dce3d4;
}
body.editorial .library-intro h1 { font-family: Fraunces, Georgia, serif; font-size: clamp(32px, 3.15vw, 43px); letter-spacing: -1.15px; line-height: 1.14; margin: 10px 0 13px; }
body.editorial .library-intro > p { font-size: 16px; line-height: 1.7; max-width: 775px; margin-bottom: 0; color: #4d6355; }
body.editorial .library-intro .eyebrow { margin-bottom: 0; }
body.editorial .library-facts { gap: 10px 21px; margin-top: 18px; font-size: 14px; }
body.editorial .library-facts span { border-top: 0; padding-top: 0; color: #365841; }
body.editorial .library-photo { align-self: center; }
body.editorial .library-photo img { height: 170px; aspect-ratio: auto; border-radius: 4px; object-position: center; }
body.editorial .library-photo figcaption { margin-top: 9px; font-size: 14px; line-height: 1.5; }
body.editorial .library-content { padding-top: 30px; padding-bottom: 50px; }
body.editorial .library-search-shell { border: 1px solid #cad7c7; border-radius: 7px; background: #fff; padding: 0; overflow: clip; margin-bottom: 28px; box-shadow: 0 6px 20px #1c3c2505; }
body.editorial .catalogue-modes { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; padding: 0 24px; background: #f5f7ef; border-bottom: 1px solid #dce4d6; }
body.editorial .catalogue-modes button { appearance: none; background: transparent; color: #4d6053; border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 19px 20px 16px; min-height: 58px; font: 600 15px/1.5 Inter, system-ui, sans-serif; cursor: pointer; }
body.editorial .catalogue-modes button:hover { color: var(--discovery-forest); background: #ecf1e3; }
body.editorial .catalogue-modes button[aria-pressed="true"] { color: var(--discovery-forest); border-bottom-color: var(--discovery-forest); background: #fff; }
body.editorial .library-search { padding: 25px; border-radius: 6px; background: #f5f7f0; border-color: #d1dccb; gap: 16px; }
body.editorial .library-search-shell .library-search { background: #fff; border: 0; border-radius: 0; margin: 0; }
body.editorial .library-search label { font-size: 14px; margin-bottom: 8px; color: #304b39; }
body.editorial .library-search input,
body.editorial .library-search select,
body.editorial .extended-search-form input,
body.editorial .extended-search-form select { font: 400 16px/1.5 Inter, system-ui, sans-serif; color: #234332; min-width: 0; width: 100%; min-height: 49px; border: 1px solid #b8c9b5; border-radius: 4px; padding: 11px 13px; background: #fff; }
body.editorial .library-search input::placeholder,
body.editorial .extended-search-form input::placeholder { color: #647268; }
body.editorial .catalogue-query input { min-height: 56px; border-color: #839f83; padding-left: 16px; }
body.editorial .library-search input:focus-visible,
body.editorial .library-search select:focus-visible,
body.editorial .extended-search-form input:focus-visible,
body.editorial .extended-search-form select:focus-visible { outline: 3px solid #b9760c; outline-offset: 3px; }
body.editorial .library-search-actions { gap: 18px; padding-top: 4px; }
body.editorial .catalogue-filters .saved-filter { font-size: 14px; gap: 9px; margin-bottom: 0; }
body.editorial .catalogue-filters .saved-filter input { min-height: 18px; width: 18px; height: 18px; padding: 0; flex-shrink: 0; }
body.editorial .library-result-count { font-size: 14px; line-height: 1.65; margin-top: 19px; color: #4d6554; }
body.editorial .library-search-shell .library-result-count { margin: 0; padding: 0 25px 22px; }
body.editorial .extended-intro { margin: 0; padding: 23px 25px 0; font-size: 16px; line-height: 1.75; color: #4d6355; max-width: 1000px; }
body.editorial .extended-intro p { margin-bottom: 0; }
body.editorial .extended-intro strong { color: #22452e; }
body.editorial .extended-search-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 17px; align-items: end; padding: 24px 25px; }
body.editorial .extended-search-form > :first-child { grid-column: 1 / -1; }
body.editorial .extended-search-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; font-weight: 650; color: #304b39; }
body.editorial .extended-search-form > div > label { margin-bottom: 8px; }
body.editorial .extended-search-form input[type="search"] { min-height: 56px; border-color: #839f83; }
body.editorial .extended-search-form button { font: 600 14px/1.5 Inter, system-ui, sans-serif; cursor: pointer; min-height: 49px; border: 0; }
body.editorial .extended-status { margin: 0; padding: 0 25px 24px; font-size: 14px; line-height: 1.7; color: #4b6251; }
body.editorial .extended-status:empty { padding-bottom: 0; }
body.editorial .extended-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 26px 0; }
body.editorial .library-search-shell .extended-results { padding: 0 25px; }
body.editorial .extended-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin: 26px 0; font-size: 14px; }
body.editorial .library-search-shell .extended-pagination { margin-inline: 25px; }
body.editorial .extended-pagination button { font: 500 14px/1.5 Inter, system-ui, sans-serif; cursor: pointer; background: #f3f6ed; color: #244931; border: 1px solid #b9cbb5; border-radius: 4px; min-height: 44px; padding: 10px 15px; }
body.editorial .extended-pagination button:disabled { opacity: .5; cursor: default; }

/* Readable reference cards and shared public reading pages. */
body.editorial .catalogue-results { gap: 20px; }
body.editorial .document-card { grid-template-columns: 48px minmax(0, 1fr); padding: 25px; gap: 20px; border-color: #d2ddcf; border-radius: 5px; }
body.editorial .document-spine { box-shadow: none; min-height: 112px; font-size: 14px; padding: 12px 6px; line-height: 1.45; border-left-width: 3px; background: #e8eeda; }
body.editorial .document-card h3,
body.editorial .search-result h3 { font: 500 24px/1.32 Fraunces, Georgia, serif; color: #20422e; margin-block: 13px; letter-spacing: -.3px; }
body.editorial .document-authors { font-size: 16px; line-height: 1.7; color: #526756; }
body.editorial .document-origin,
body.editorial .document-card .resource-type,
body.editorial .document-card .resource-link { font-size: 14px; line-height: 1.6; }
body.editorial .document-card .resource-type { letter-spacing: .35px; }
body.editorial .search-result { border-color: #d2ddcf; border-radius: 5px; padding: 25px; }
body.editorial .search-result > p:not(.resource-type) { font-size: 16px; line-height: 1.75; }
body.editorial .search-result-actions { font-size: 14px; gap: 12px 18px; line-height: 1.6; padding-top: 18px; }
body.editorial .save-reference { font-size: 14px; min-height: 43px; padding: 9px 12px; line-height: 1.5; }
body.editorial .save-reference[aria-pressed="true"] { color: #20442c; background: #e0ebd7; border-color: #648459; }
body.editorial .catalogue-pagination { font-size: 14px; flex-wrap: wrap; }
body.editorial .catalogue-pagination button { font-size: 14px; min-height: 44px; }
body.editorial .discipline-links { gap: 12px; }
body.editorial .discipline-links a { font-size: 14px; line-height: 1.5; background: #fafbf6; padding: 17px 14px; }
body.editorial .discipline-links span { font-size: 14px; }
body.editorial .library-card,
body.editorial .guide-card,
body.editorial .provider-card { border-radius: 5px; border-color: #d4dfcf; }
body.editorial .guide-card:hover { transform: none; }
body.editorial .library-card h3,
body.editorial .guide-card h3 { font-family: Fraunces, Georgia, serif; font-size: 27px; }
body.editorial .library-card p,
body.editorial .guide-card p,
body.editorial .library-section-title > p,
body.editorial .library-directory-link p,
body.editorial .directory-introduction,
body.editorial .institution-summary,
body.editorial .record-main p,
body.editorial .record-reading p,
body.editorial .record-reading li,
body.editorial .reading-card p,
body.editorial .provider-card p,
body.editorial .plan-card p { font-size: 16px; line-height: 1.8; }
body.editorial .eyebrow,
body.editorial .resource-type,
body.editorial .resource-link,
body.editorial .card-link,
body.editorial .fine,
body.editorial .breadcrumbs,
body.editorial .keyword-list li,
body.editorial .contents h2,
body.editorial .contents a,
body.editorial .institution-source p,
body.editorial .institution-related,
body.editorial .site-footer p { font-size: 14px; }
body.editorial .eyebrow { letter-spacing: 1px; }
body.editorial .reading-card { border-radius: 5px; background: #f4f6ec; }
body.editorial .reading-card > a,
body.editorial .reading-card > button,
body.editorial .reading-card > .site-button { font-size: 14px; }
body.editorial .record-hero .breadcrumbs { color: #4b6955; }
body.editorial .record-hero h1,
body.editorial .article-hero h1 { font-family: Fraunces, Georgia, serif; }
body.editorial .record-metadata { font-size: 16px; }
body.editorial .article-body { font-size: 17px; line-height: 1.85; }
body.editorial .article-body h2 { font-family: Fraunces, Georgia, serif; }
body.editorial .tool-form { border-radius: 5px; }
body.editorial .tool-form input,
body.editorial .tool-form textarea,
body.editorial .tool-form select,
body.editorial .tool-form output { font-size: 16px; }
body.editorial .bottom-cta,
body.editorial .aside-card { border-radius: 5px; }

@media (max-width: 1150px) {
  .sp-home .home-container { width: calc(100% - 56px); }
  .sp-home .home-nav { gap: 16px; }
  .sp-home .home-brand { font-size: 18px; }
  .sp-home .home-brand small { max-width: 200px; line-height: 1.5; }
  .sp-home .home-desktop-links { gap: 17px; }
  .sp-home .home-nav-actions { gap: 12px; }
  .sp-home .home-brand .brand-logo { width: 60px; height: 60px; }
  .sp-home .home-hero-grid { gap: 35px; padding-top: 54px; }
  .sp-home .home-hero h1 { font-size: 57px; letter-spacing: -2px; }
  .sp-home .home-library-figure > img { height: 520px; }
  .sp-home .home-library-note { left: 18px; right: 18px; padding: 23px; }
  .sp-home .home-search button { padding-inline: 12px; }
  .sp-home .home-search button span { display: none; }
  .sp-home .home-tools-grid { gap: 20px; }
  body.editorial .site-header { gap: 17px; }
  body.editorial .site-header nav { gap: 17px; }
  body.editorial .site-brand { font-size: 17px; }
}

@media (max-width: 960px) {
  .sp-home .home-desktop-links { display: none; }
  .sp-home .home-nav-actions { margin-left: auto; }
  .sp-home .home-mobile-menu { display: block; position: relative; flex-shrink: 0; }
  .sp-home .home-mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d4dece; border-radius: 4px; list-style: none; cursor: pointer; }
  .sp-home .home-mobile-menu summary::-webkit-details-marker { display: none; }
  .sp-home .home-mobile-menu nav { position: absolute; top: 56px; right: 0; width: min(280px, calc(100vw - 36px)); min-width: 0; padding: 12px; display: flex; flex-direction: column; gap: 3px; border: 1px solid #d4dece; border-radius: 5px; background: #fff; box-shadow: 0 12px 24px #133e2420; }
  .sp-home .home-mobile-menu nav a,
  .sp-home .home-mobile-menu nav button { display: block; min-height: 44px; padding: 10px 12px; text-align: left; font-size: 15px; color: var(--discovery-ink); background: none; border: 0; border-radius: 3px; }
  .sp-home .home-mobile-menu nav a:hover,
  .sp-home .home-mobile-menu nav button:hover { background: #eef2e7; }
  .sp-home .home-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; }
  .sp-home .home-hero h1 { font-size: 48px; letter-spacing: -1.75px; }
  .sp-home .home-search-field { flex-wrap: wrap; padding: 10px 12px; gap: 7px; }
  .sp-home .home-search-field input { flex-basis: calc(100% - 35px); }
  .sp-home .home-search button { width: 100%; }
  .sp-home .home-intro { font-size: 16px; }
  .sp-home .home-library-figure { padding-bottom: 57px; }
  .sp-home .home-library-figure > img { height: 535px; }
  .sp-home .home-library-note { bottom: 82px; padding: 21px; }
  .sp-home .home-library-note h2 { font-size: 29px; }
  .sp-home .home-hero-actions { gap: 14px; }
  .sp-home .home-regions { flex-wrap: wrap; gap: 13px 25px; }
  .sp-home .home-regions > a { width: 100%; max-width: none; text-align: left; }
  .sp-home .discovery-grid { gap: 15px; }
  .sp-home .discovery-collection { padding: 22px; }
  .sp-home .discovery-count { right: 20px; top: 26px; max-width: 90px; text-align: right; }
  .sp-home .discovery-icon { width: 43px; height: 43px; }
  .sp-home .discovery-collection h3 { font-size: 27px; }
  .sp-home .home-reading-grid { gap: 38px; }
  .sp-home .home-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 35px; }
  .sp-home .home-price { padding: 28px 21px 23px; }
  body.editorial .library-hero { grid-template-columns: minmax(0, 1fr) 190px; gap: 26px; padding-block: 27px; }
  body.editorial .library-photo img { height: 160px; }
  body.editorial .library-photo figcaption { font-size: 14px; }
  body.editorial .site-header { flex-wrap: wrap; }
  body.editorial .site-header nav { order: 3; width: 100%; gap: 25px; margin: 0; overflow-x: auto; padding: 3px 0 8px; }
  body.editorial .site-header nav a { white-space: nowrap; }
  body.editorial .site-header > .site-button { margin-left: auto; }
  body.editorial .extended-search-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.editorial .extended-search-form > button { grid-column: 1 / -1; justify-self: end; min-width: 170px; }
  body.editorial .document-card { padding: 22px; gap: 16px; }
}

@media (max-width: 720px) {
  .sp-home .home-container { width: calc(100% - 40px); }
  .sp-home .home-nav { min-height: 83px; gap: 13px; }
  .sp-home .home-brand { font-size: 18px; }
  .sp-home .home-brand .brand-logo { width: 55px; height: 55px; }
  .sp-home .home-brand small { display: none; }
  .sp-home .home-nav-actions > .home-login { display: none; }
  .sp-home .home-nav-actions .home-button { min-height: 44px; padding: 10px 13px; }
  .sp-home .home-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 41px; padding-bottom: 26px; }
  .sp-home .home-hero h1 { max-width: 620px; font-size: clamp(43px, 7.8vw, 59px); line-height: 1.07; letter-spacing: -1.9px; }
  .sp-home .home-hero .home-eyebrow { letter-spacing: .8px; margin-bottom: 20px !important; }
  .sp-home .home-intro { font-size: 16px; line-height: 1.8; max-width: 580px; }
  .sp-home .home-search { margin-top: 26px; }
  .sp-home .home-search-field { flex-wrap: nowrap; padding: 7px 7px 7px 14px; gap: 10px; }
  .sp-home .home-search-field input { flex-basis: auto; padding-block: 12px; }
  .sp-home .home-search button { width: auto; padding: 12px 16px; }
  .sp-home .home-search-shortcuts > span { width: auto; margin: 0; }
  .sp-home .home-hero-actions { margin-top: 23px; gap: 18px 24px; }
  .sp-home .home-featured-resource { padding: 0; width: 100%; margin: 0; }
  .sp-home .home-library-figure { padding-bottom: 50px; }
  .sp-home .home-library-figure > img { height: 370px; object-position: center 44%; }
  .sp-home .home-library-note { bottom: 70px; left: 21px; right: 21px; padding: 21px 24px; }
  .sp-home .home-library-note h2 { font-size: 31px; }
  .sp-home .home-library-figure figcaption { font-size: 14px; line-height: 1.5; }
  .sp-home .home-regions { gap: 12px; padding-top: 21px; padding-bottom: 25px; }
  .sp-home .home-regions > span { width: 100%; }
  .sp-home .home-regions p { width: 100%; margin: 0; gap: 13px; }
  .sp-home .home-collection-metrics { gap: 17px; }
  .sp-home .home-collection-metrics strong { font-size: 27px; }
  .sp-home .home-section,
  .sp-home .home-discovery { padding-block: 51px; }
  .sp-home .home-section h2,
  .sp-home .home-institutions h2,
  .sp-home .home-workspace h2,
  .sp-home .home-final h2 { font-size: 35px; letter-spacing: -.85px; line-height: 1.17; }
  .sp-home .discovery-heading { display: block; margin-bottom: 26px; }
  .sp-home .discovery-heading > a,
  .sp-home .discovery-heading > p { margin-top: 19px; }
  .sp-home .discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .sp-home .discovery-collection { padding: 22px; min-height: 268px; }
  .sp-home .discovery-collection h3 { font-size: 28px; margin-top: 22px; }
  .sp-home .discovery-count { position: static; margin-top: 15px; max-width: none; text-align: left; }
  .sp-home .discovery-citation { align-items: start; flex-direction: column; gap: 15px; }
  .sp-home .discovery-sourcebar { align-items: start; justify-content: flex-start; gap: 14px 22px; }
  .sp-home .home-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-home .home-topic { padding: 23px; }
  .sp-home .home-reading { padding-top: 0; }
  .sp-home .home-reading-grid { display: block; padding-top: 40px; }
  .sp-home .home-reading-list { margin-top: 32px; }
  .sp-home .home-reading-intro > p:not(.home-eyebrow) { max-width: 500px; }
  .sp-home .home-download-grid { grid-template-columns: 1fr; }
  .sp-home .home-download-grid > article { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); align-items: center; }
  .sp-home .home-mini-doc { margin: 20px 0 20px 23px; max-width: 240px; }
  .sp-home .home-download-info { border-top: 0; padding: 25px 23px; }
  .sp-home .home-download-info h3 { font-size: 25px; min-height: 0; }
  .sp-home .home-download-info p { min-height: 0; }
  .sp-home .home-download-info a { margin-top: 20px; }
  .sp-home .home-audience-grid { grid-template-columns: 1fr; gap: 17px; }
  .sp-home .home-institutions-grid { grid-template-columns: 1fr; gap: 28px; }
  .sp-home .home-health-grid { grid-template-columns: 1fr; gap: 0; }
  .sp-home .home-workspace { padding-block: 52px; }
  .sp-home .home-workspace-heading { display: block; }
  .sp-home .home-workspace-heading > p { margin-top: 24px !important; }
  .sp-home .home-module-grid,
  .sp-home .home-step-grid { gap: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-home .home-pricing-grid { grid-template-columns: 1fr; gap: 28px; }
  .sp-home .home-price { padding: 30px 27px 25px; }
  .sp-home .home-price-description,
  .sp-home .home-price-period { min-height: 0; }
  .sp-home .home-price-value { font-size: 57px; }
  .sp-home .home-faq-grid { display: block; }
  .sp-home .home-faq-list { margin-top: 30px; }
  .sp-home .home-final-inner { display: block; }
  .sp-home .home-final-inner > div:last-child { max-width: none; margin-top: 24px; }
  .sp-home .home-footer-brand { display: block; }
  .sp-home .home-footer-brand > p { margin-top: 20px !important; }
  .sp-home .home-footer-contact { display: flex; flex-direction: column; gap: 8px; }
  .sp-home .home-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px; }
  body.editorial .site-header { min-height: 82px; padding: 11px 20px 0; gap: 10px; }
  body.editorial .site-brand { font-size: 17px; }
  body.editorial .site-brand .brand-logo { width: 55px; height: 55px; }
  body.editorial .site-header > .site-button { min-height: 44px; padding: 10px 13px; }
  body.editorial .site-header nav { padding-bottom: 13px; gap: 23px; }
  body.editorial .library-hero { display: block; padding: 26px 20px; }
  body.editorial .library-intro h1 { font-size: 36px; line-height: 1.12; letter-spacing: -.9px; }
  body.editorial .library-photo { display: none; }
  body.editorial .library-facts { margin-top: 16px; gap: 8px 19px; }
  body.editorial .library-content { padding: 24px 20px 40px; }
  body.editorial .catalogue-modes { padding-inline: 13px; }
  body.editorial .catalogue-modes button { flex: 1; padding: 15px 10px 12px; font-size: 14px; min-height: 57px; }
  body.editorial .library-search,
  body.editorial .extended-search-form { padding: 20px; gap: 17px; grid-template-columns: 1fr; }
  body.editorial .catalogue-query { grid-column: auto; }
  body.editorial .library-search-actions { flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 4px; }
  body.editorial .catalogue-filters .saved-filter { flex-basis: 100%; margin-bottom: 6px; }
  body.editorial .library-search-actions .site-button { min-width: 135px; flex: 1; }
  body.editorial .library-search-shell .library-result-count { padding: 0 20px 20px; }
  body.editorial .extended-intro { padding: 21px 20px 0; }
  body.editorial .extended-status { padding: 0 20px 21px; }
  body.editorial .extended-search-form > button { width: 100%; min-width: 0; }
  body.editorial .extended-results,
  body.editorial .catalogue-results { grid-template-columns: 1fr; gap: 18px; }
  body.editorial .library-search-shell .extended-results { padding-inline: 20px; }
  body.editorial .library-search-shell .extended-pagination { margin-inline: 20px; }
  body.editorial .document-card { padding: 22px; grid-template-columns: 42px minmax(0, 1fr); gap: 17px; }
  body.editorial .document-card h3,
  body.editorial .search-result h3 { font-size: 23px; }
  body.editorial .search-result { padding: 22px; }
  body.editorial .discipline-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.editorial .library-pathways { font-size: 14px; }
  body.editorial .site-footer { padding-inline: 20px; }
}

@media (max-width: 480px) {
  .sp-home .home-container { width: calc(100% - 36px); }
  .sp-home .home-nav { min-height: 78px; gap: 10px; }
  .sp-home .home-brand { font-size: 17px; gap: 6px; }
  .sp-home .home-brand .brand-logo { width: 50px; height: 50px; }
  .sp-home .home-nav-actions { gap: 0; }
  .sp-home .home-nav-actions .home-button { display: none; }
  .sp-home .home-hero-grid { padding-top: 33px; }
  .sp-home .home-hero h1 { font-size: 45px; letter-spacing: -1.9px; }
  .sp-home .home-hero .home-eyebrow { font-size: 14px; line-height: 1.6; }
  .sp-home .home-search-field { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 9px; padding: 8px 12px 12px; }
  .sp-home .home-search-field input { width: 100%; padding-block: 12px; }
  .sp-home .home-search button { grid-column: 1 / -1; width: 100%; margin-top: 3px; }
  .sp-home .home-search button span { display: inline; }
  .sp-home .home-search-shortcuts > span { width: 100%; }
  .sp-home .home-hero-actions { align-items: start; flex-direction: column; gap: 17px; }
  .sp-home .home-library-figure { padding-bottom: 68px; }
  .sp-home .home-library-figure > img { height: 365px; }
  .sp-home .home-library-note { bottom: 87px; left: 15px; right: 15px; padding: 21px; }
  .sp-home .home-library-note > span { font-size: 14px; letter-spacing: .3px; }
  .sp-home .home-library-note h2 { font-size: 28px; }
  .sp-home .home-library-note h2 br { display: none; }
  .sp-home .home-regions p { gap: 10px; }
  .sp-home .home-section h2,
  .sp-home .home-institutions h2,
  .sp-home .home-workspace h2,
  .sp-home .home-final h2 { font-size: 33px; }
  .sp-home .discovery-grid,
  .sp-home .home-topic-grid { grid-template-columns: 1fr; gap: 14px; }
  .sp-home .discovery-collection { min-height: 244px; padding: 25px; }
  .sp-home .discovery-count { position: absolute; top: 34px; right: 25px; margin: 0; max-width: 140px; }
  .sp-home .discovery-collection h3 { font-size: 30px; }
  .sp-home .home-topic { min-height: 0; padding: 27px; }
  .sp-home .home-topic h3 { margin-top: 22px; }
  .sp-home .home-topic h3 br { display: none; }
  .sp-home .home-topic p { max-width: none; }
  .sp-home .home-download-grid > article { display: block; }
  .sp-home .home-mini-doc { max-width: 215px; height: 230px; margin: 24px auto 0; padding: 24px; }
  .sp-home .home-download-info { margin-top: 24px; border-top: 1px solid #e0e5d8; padding: 25px; }
  .sp-home .home-download-info h3 { font-size: 28px; }
  .sp-home .home-reading-list > a { gap: 15px; }
  .sp-home .home-reading-number { font-size: 25px; }
  .sp-home .home-reading-arrow { padding-left: 0; }
  .sp-home .home-tools-grid { grid-template-columns: 1fr; gap: 3px; }
  .sp-home .home-tool-link { padding-bottom: 26px; }
  .sp-home .home-tool-link h3 { font-size: 22px; }
  .sp-home .home-module-grid,
  .sp-home .home-step-grid { grid-template-columns: 1fr; gap: 27px; }
  .sp-home .home-step-grid li { padding-top: 22px; border-top: 1px solid #dde4d4; }
  .sp-home .home-health-grid > a { gap: 14px; }
  .sp-home .home-health-grid > a > div > span { font-size: 14px; letter-spacing: .3px; }
  .sp-home .home-workspace-bottom { align-items: start; flex-direction: column; }
  .sp-home .home-workspace-bottom .home-button { width: 100%; }
  .sp-home .home-price { padding: 29px 23px 24px; }
  .sp-home .home-footer-grid { grid-template-columns: 1fr; }
  .sp-home .home-footer-bottom { align-items: start; flex-direction: column; gap: 9px; }
  body.editorial .site-header { padding-inline: 18px; }
  body.editorial .site-brand { font-size: 16px; gap: 6px; }
  body.editorial .site-brand .brand-logo { width: 46px; height: 46px; }
  body.editorial .site-header > .site-button { font-size: 14px; padding: 9px 11px; }
  body.editorial .site-header nav { gap: 22px; }
  body.editorial .library-hero { padding: 23px 18px; }
  body.editorial .library-intro h1 { font-size: 33px; }
  body.editorial .library-content { padding-inline: 18px; }
  body.editorial .library-facts { gap: 8px 15px; }
  body.editorial .library-search,
  body.editorial .extended-search-form { padding: 19px 16px; }
  body.editorial .catalogue-modes { padding-inline: 6px; }
  body.editorial .catalogue-modes button { padding-inline: 8px; font-size: 14px; }
  body.editorial .extended-intro { padding-inline: 16px; }
  body.editorial .extended-status { padding-inline: 16px; }
  body.editorial .library-search-shell .library-result-count { padding-inline: 16px; }
  body.editorial .library-search-actions { gap: 10px; }
  body.editorial .library-search-actions .site-button { min-width: 0; }
  body.editorial .document-card { padding: 19px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.editorial .document-spine { flex-direction: row; align-items: center; min-height: 39px; max-width: 100%; padding: 7px 12px; gap: 18px; border-left-width: 3px; }
  body.editorial .document-spine span { font-size: 18px; }
  body.editorial .document-card h3,
  body.editorial .search-result h3 { font-size: 24px; }
  body.editorial .search-result { padding: 20px; }
  body.editorial .library-search-shell .extended-results { padding-inline: 16px; }
  body.editorial .library-search-shell .extended-pagination { margin-inline: 16px; }
  body.editorial .extended-pagination button { padding-inline: 11px; }
  body.editorial .discipline-links { grid-template-columns: 1fr; }
  body.editorial .catalogue-pagination { justify-content: center; gap: 12px; }
  body.editorial .catalogue-pagination > span { order: 3; width: 100%; text-align: center; }
  body.editorial .article-hero h1,
  body.editorial .record-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
  body.editorial .record-hero .hero-actions { gap: 16px; }
  body.editorial .record-hero .site-button { width: 100%; }
}

@media (max-width: 350px) {
  .sp-home .home-hero h1 { font-size: 40px; letter-spacing: -1.5px; }
  .sp-home .home-library-note { padding: 18px; }
  .sp-home .home-library-note h2 { font-size: 26px; }
  .sp-home .home-library-figure > img { height: 360px; }
  body.editorial .site-header > .site-button { margin: 0 0 0 auto; }
  body.editorial .site-brand { font-size: 15px; gap: 4px; }
  body.editorial .site-brand .brand-logo { width: 40px; height: 40px; }
}

/* The live collection markup uses discipline labels and a reference footer. */
.sp-home .discovery-icon {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 1.2px;
}
.sp-home .discovery-count {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  max-width: none;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #00000024;
}
.sp-home .discovery-count > span { font-size: 20px; flex-shrink: 0; }
.sp-home .discovery-sourcebar { border-top: 1px solid #d5dccd; margin-top: 28px; }
.sp-home .discovery-sourcebar strong { font: 500 28px/1.3 Fraunces, Georgia, serif; letter-spacing: -.4px; margin-right: 4px; }
.sp-home .discovery-sourcebar small { font-size: 14px; }
body.editorial .catalogue-modes button span { display: block; font-size: 14px; font-weight: 400; margin-top: 3px; }
body.editorial .extended-intro h2 { font: 500 28px/1.2 Fraunces, Georgia, serif; letter-spacing: -.5px; margin: 9px 0 12px; color: var(--discovery-ink); }
body.editorial .extended-intro > a { display: inline-block; margin-top: 15px; font-size: 14px; }
body.editorial .extended-search-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.editorial .extended-form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 18px; }
body.editorial .extended-form-actions [type="reset"] { background: none; color: var(--discovery-forest); text-decoration: underline; text-underline-offset: 4px; padding: 10px; }
body.editorial [data-extended-panel] > .fine { padding-inline: 25px; }
@media (max-width: 720px) {
  body.editorial .extended-search-form { grid-template-columns: 1fr; }
  body.editorial .extended-form-actions { gap: 10px; justify-content: space-between; }
  body.editorial .extended-form-actions > button { flex: 1; }
  body.editorial [data-extended-panel] > .fine { padding-inline: 20px; }
}
@media (max-width: 480px) {
  body.editorial .extended-form-actions { flex-direction: column-reverse; align-items: stretch; }
  body.editorial [data-extended-panel] > .fine { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .sp-home *, body.editorial * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Reading and working inside the library. */
.library-owned { margin: 56px 0; padding-top: 38px; border-top: 1px solid #cbd9cc; }
.library-owned .library-section-title { align-items: start; gap: 24px; }
.library-owned .library-section-title > p { max-width: 600px; }
.library-owned-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 26px 0; }
.library-owned-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid #cbd9cc; border-radius: 18px; background: #fffdf5; }
.library-owned-card:nth-child(2) { background: #eaf0dd; }
.library-owned-card:nth-child(3) { background: #f6eadf; }
.library-owned-card:nth-child(4) { background: #e6eef1; }
.library-owned-card h3 { font-size: 1.45rem; line-height: 1.25; margin: 0; }
.library-owned-card h3 a { color: #153e31; text-decoration: none; }
.library-owned-card p { margin: 0; line-height: 1.7; }
.library-owned-card .resource-link { margin-top: auto; padding-top: 12px; }
.library-method-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin: 32px 0; }
.library-method-grid p, .library-owned-note p { line-height: 1.8; max-width: 76ch; }
.library-method-grid h3, .library-owned-note h3 { color: #123c2e; font-size: 1.3rem; }
.library-owned-note { padding: 20px 26px; background: #edf2ec; border-left: 4px solid #53714a; border-radius: 0 16px 16px 0; }
.library-workspace { margin: 24px 0; padding: clamp(18px,3vw,34px); background: #fffdf5; border: 1px solid #a5bfa8; border-radius: 22px; box-shadow: 0 18px 48px #143a2710; scroll-margin-top: 100px; }
.library-workspace[hidden] { display: none; }
.library-workspace-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.library-workspace-title { font-size: clamp(1.45rem,2.4vw,2.1rem); line-height: 1.25; color: #073d2f; overflow-wrap: anywhere; }
.library-workspace-meta { color: #4f6256; line-height: 1.65; overflow-wrap: anywhere; }
.library-workspace-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 28px; margin-top: 24px; }
.library-workspace-reference { padding: 22px; border-radius: 16px; background: #eaf0dd; }
.library-workspace-reference p { line-height: 1.7; overflow-wrap: anywhere; }
.library-workspace-notes { min-width: 0; }
.library-workspace-notes h3, .library-workspace-reference h3 { margin-top: 0; color: #073d2f; }
.library-note-field { display: block; margin: 0 0 18px; }
.library-note-field label { display: block; font-weight: 700; color: #153e31; margin-bottom: 8px; }
.library-note-field textarea, .library-note-field input { width: 100%; box-sizing: border-box; min-height: 108px; resize: vertical; padding: 12px 14px; font: inherit; line-height: 1.6; border: 1px solid #a7bbaa; border-radius: 10px; background: white; color: #17392e; }
.library-note-field input { min-height: 46px; }
.library-note-field textarea:focus-visible, .library-note-field input:focus-visible { outline: 3px solid #c1da91; outline-offset: 2px; }
.library-note-actions, .library-source-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0; }
.library-workspace button, .library-note-actions button { cursor: pointer; padding: 11px 16px; border: 1px solid #9bb29c; border-radius: 9px; background: #fffdf5; color: #123c2e; font: inherit; font-weight: 600; }
.library-workspace button.site-button, .library-note-actions button.site-button { background: #073d2f; color: #fffdf5; }
.library-workspace button:focus-visible, .extended-open-title:focus-visible, .open-library-workspace:focus-visible { outline: 3px solid #719d45; outline-offset: 3px; }
.library-note-status { min-height: 1.5em; color: #214f39; line-height: 1.6; }
.library-workspace-help { font-size: .92rem; color: #4b5c50; line-height: 1.7; }
.extended-open-title { display: inline; padding: 0; border: 0; text-align: left; font: inherit; color: #073d2f; background: none; cursor: pointer; }
.extended-open-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.open-library-workspace { cursor: pointer; border: 0; padding: 8px 0; background: none; color: #073d2f; text-align: left; font: inherit; font-weight: 700; }
.record-note-workspace { margin: 34px 0; scroll-margin-top: 110px; }
.record-note-workspace .library-workspace-notes { padding: 24px; border: 1px solid #cbd9cc; border-radius: 18px; background: #fffdf5; }
@media (max-width: 760px) {
  .library-owned-grid, .library-method-grid, .library-workspace-grid { grid-template-columns: minmax(0,1fr); }
  .library-workspace-top { flex-wrap: wrap; }
  .library-owned-card, .library-workspace-reference { padding: 20px; }
}

/* Find a guide, a usable template and a route back to saved readings. */
.library-country-shelf { margin: 40px 0; padding: 32px 0; border-top: 1px solid #cad7c8; scroll-margin-top: 110px; }
.library-country-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 24px 0; }
.library-country-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; border: 1px solid #cbd9cc; background: #fffdf5; }
.library-country-card h3 { margin: 0; line-height: 1.3; font-size: 1.4rem; }
.library-country-card p { margin: 0; line-height: 1.7; }
.library-country-card h3 a { color: #0c4332; text-decoration: none; }
.library-country-card .resource-link { margin-top: auto; padding-top: 12px; }
.library-country-card > a:last-child { font-size: .92rem; }
.guide-directory { padding-top: 30px; padding-bottom: 60px; }
.guide-directory-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.guide-directory-nav a { padding: 10px 15px; border: 1px solid #b2c5ad; border-radius: 30px; background: #edf2e6; color: #1b4835; text-decoration: none; }
.guide-directory-section { padding: 28px 0; scroll-margin-top: 110px; }
.guide-directory-section > h2 { font-size: clamp(1.4rem,2.3vw,2rem); color: #073d2f; margin: 0 0 20px; }
.institution-country-guide { display: block; margin: 18px 0 8px; color: #164b35; font-weight: 600; }
#modeles { padding: 36px 0; scroll-margin-top: 110px; }
.saved-library-readings { border: 1px solid #b3c7aa; border-radius: 16px; background: #f5f5e9; padding: 18px 22px; margin: 18px 0 26px; }
.saved-library-readings summary { cursor: pointer; font-weight: 700; color: #073d2f; }
.saved-library-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.saved-library-entry { padding: 16px 0; border-top: 1px solid #d2dbcc; overflow-wrap: anywhere; }
.saved-library-entry h3 { font-size: 1.08rem; line-height: 1.45; }
.saved-library-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.saved-library-actions button { font: inherit; cursor: pointer; border: 1px solid #a8bca3; background: white; color: #123d2e; border-radius: 8px; padding: 8px 12px; }
.saved-library-status { line-height: 1.6; font-size: .94rem; color: #405948; }
.extended-presets { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.extended-presets button { border: 1px solid #a9bea7; border-radius: 28px; background: #eef3e6; color: #153f2f; font: 600 14px/1.5 Inter, system-ui, sans-serif; padding: 11px 17px; cursor: pointer; }
.extended-presets button:hover { background: #dbe9ce; }
.extended-presets button:focus-visible { outline: 3px solid #b9760c; outline-offset: 3px; }
.saved-library-readings button:focus-visible, .saved-library-readings summary:focus-visible, .guide-directory-nav a:focus-visible { outline: 3px solid #648f3e; outline-offset: 3px; }
@media (max-width: 700px) { .library-country-grid { grid-template-columns: minmax(0,1fr); } .library-country-card { padding: 20px; } .saved-library-readings { padding: 16px; } }

/* The workspace is the main offer; the open library is a useful way in. */
.sp-home .home-project-primary {
  min-height: 56px;
  padding: 16px 25px;
  background: var(--discovery-lime);
  border-color: var(--discovery-lime);
  color: var(--discovery-night) !important;
  font-size: 16px;
}
.sp-home .home-project-primary:hover { background: #e7f8ba; border-color: #e7f8ba; }
.sp-home .home-project-benefits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 30px 0 19px; padding: 22px 0 0; border-top: 1px solid #3b6351; }
.sp-home .home-project-benefits li { min-width: 0; font-size: 14px; line-height: 1.6; }
.sp-home .home-project-benefits strong { display: block; color: #fffef2; margin-bottom: 5px; font-weight: 600; }
.sp-home .home-project-benefits li > span { color: #c2d4c8; }
.sp-home .home-project-help { display: inline-block; color: #c2d4c8; font-size: 14px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.sp-home .home-project-help:hover { color: var(--discovery-lime); }
.sp-home .home-project-figure { display: grid; padding: 0; gap: 13px; }
.sp-home .home-project-figure > img { grid-area: 1 / 1; height: 550px; min-height: 100%; }
.sp-home .home-project-figure .home-library-note { position: relative; inset: auto; grid-area: 1 / 1; align-self: end; margin: 25px; }
.sp-home .home-project-figure figcaption { position: static; grid-row: 2; }
.sp-home .home-project-figure h2 { font-size: clamp(26px,2.4vw,34px); }
.sp-home .home-project-outline { list-style: none; margin: 0 0 20px; padding: 0; }
.sp-home .home-project-outline li { display: flex; align-items: start; gap: 14px; padding: 12px 0; border-bottom: 1px solid #d9e1d3; line-height: 1.5; }
.sp-home .home-project-outline li > span { font: 450 22px/1.4 Fraunces,Georgia,serif; color: #68806a; }
.sp-home .home-project-outline strong { display: block; font-size: 14px; font-weight: 600; }
.sp-home .home-project-outline small { display: block; font-size: 14px; color: #526250; margin-top: 3px; }
.sp-home .home-library-entry { background: var(--discovery-paper); color: var(--discovery-ink); padding: 31px 0; border-bottom: 1px solid var(--discovery-line); }
.sp-home .home-library-entry-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); align-items: center; gap: 60px; }
.sp-home .home-library-entry .home-search { margin: 0; }
.sp-home .home-library-entry .home-search label { color: var(--discovery-ink); font-size: 15px; line-height: 1.6; }
.sp-home .home-library-entry .home-search-field { border-color: #b9c9b5; box-shadow: none; }
.sp-home .home-library-entry .home-search button { background: var(--discovery-forest); border-color: var(--discovery-forest); color: #fff; }
.sp-home .home-library-entry .home-search button:hover { background: #006145; }
.sp-home .home-library-entry .home-search-shortcuts { color: var(--discovery-muted); }
.sp-home .home-library-entry .home-search-shortcuts a { color: var(--discovery-forest); border-color: #9aaa93; }
.sp-home .home-library-entry-info > p { font-size: 15px; line-height: 1.65; color: var(--discovery-muted); }
.sp-home .home-library-entry-info strong { color: var(--discovery-ink); }
.sp-home .home-library-entry .home-collection-metrics { margin-top: 16px; padding-top: 14px; border-top-color: #d1daca; gap: 24px; }
.sp-home .home-library-entry .home-collection-metrics strong { color: var(--discovery-forest); font-size: 25px; }
.sp-home .home-library-entry .home-collection-metrics span { color: var(--discovery-muted); font-size: 13px; }
.sp-home .home-final-note { margin-top: 13px !important; font-size: 14px; color: var(--discovery-muted); }
.sp-home .home-heading-note a { text-decoration: underline; text-underline-offset: 4px; }

/* Contextual next step after a useful guide or saved reading. */
body.editorial .library-project-bridge { display: flex; align-items: center; gap: 30px; padding: 28px; margin-top: 32px; background: #edf2e5; color: var(--discovery-ink); border: 1px solid #d1ddc9; border-radius: 7px; }
body.editorial .library-project-bridge > div:first-child { flex: 1; min-width: 0; }
body.editorial .library-project-bridge .eyebrow { color: #405e3f; margin-bottom: 10px; font-size: 12px; }
body.editorial .library-project-bridge h2,
body.editorial .library-project-bridge h3 { margin: 0 0 12px; color: var(--discovery-ink); font: 450 27px/1.25 Fraunces,Georgia,serif; letter-spacing: -.4px; }
body.editorial .library-project-bridge p { color: #415845; line-height: 1.75; font-size: 15px; margin: 0 0 10px; }
body.editorial .library-project-bridge .fine { margin-bottom: 0; font-size: 13px; }
body.editorial .library-project-actions { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 14px; }
body.editorial .library-project-actions > a { font-size: 14px; line-height: 1.5; text-align: center; }
body.editorial .library-project-actions > a:not(.site-button) { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
body.editorial .library-project-actions .site-button { min-height: 48px; margin: 0; padding: 13px 21px; background: var(--discovery-forest); color: #fff; }
body.editorial .library-project-actions .site-button:hover { background: #006145; }
body.editorial .bottom-cta .library-project-actions { color: inherit; }
body.editorial .library-workspace-reference .library-project-bridge { display: block; padding: 22px; margin-top: 24px; }
body.editorial .library-workspace-reference .library-project-actions { align-items: start; margin-top: 20px; }
@media (max-width: 960px) {
  .sp-home .home-project-benefits { gap: 14px; }
  .sp-home .home-project-figure .home-library-note { margin: 15px; padding: 21px; }
  .sp-home .home-library-entry-grid { gap: 30px; }
  body.editorial .library-project-bridge { align-items: start; flex-direction: column; }
  body.editorial .library-project-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .sp-home .home-library-entry-grid { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .sp-home .home-library-entry-info > p { display: none; }
  .sp-home .home-library-entry .home-collection-metrics { margin: 0; padding-top: 22px; }
  .sp-home .home-project-figure > img { height: 440px; }
  .sp-home .home-project-figure .home-library-note { margin: 21px; }
}
@media (max-width: 480px) {
  .sp-home .home-hero-actions .home-project-primary { width: 100%; }
  .sp-home .home-project-benefits { gap: 14px 22px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sp-home .home-project-benefits li:last-child { grid-column: 1 / -1; }
  .sp-home .home-project-figure .home-library-note { margin: 15px; padding: 20px; }
  .sp-home .home-project-figure > img { height: 450px; }
  .sp-home .home-project-figure h2 { font-size: 28px; }
  .sp-home .home-project-figure figcaption { font-size: 13px; }
  .sp-home .home-library-entry .home-collection-metrics { gap: 15px; flex-wrap: wrap; }
  body.editorial .library-project-bridge { padding: 22px; }
  body.editorial .library-project-actions { width: 100%; flex-direction: column; align-items: stretch; }
  body.editorial .library-workspace-reference .library-project-actions { align-items: stretch; }
  body.editorial .library-project-actions .site-button { width: 100%; }
}

/* Large research figures, with the provider and local selection kept explicit. */
.sp-home .home-library-entry .home-collection-metrics {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 28px;
}
.sp-home .home-library-entry .home-collection-metrics > div { min-width: 0; }
.sp-home .home-library-entry .home-collection-metrics .home-metric-primary { grid-column: 1 / -1; }
.sp-home .home-library-entry .home-collection-metrics strong {
  font: 800 clamp(34px,4vw,46px)/1.05 Inter,Arial,sans-serif; letter-spacing: -.045em; margin-bottom: 9px;
}
.sp-home .home-library-entry .home-collection-metrics .home-metric-primary strong {
  font-size: clamp(44px,6vw,64px); white-space: nowrap;
}
.sp-home .home-library-entry .home-collection-metrics span { display: block; line-height: 1.5; }
.sp-home .home-library-entry-info > .home-metrics-context {
  display: block; margin: 20px 0 0; font-size: 12px; line-height: 1.7; color: var(--discovery-muted);
}
.sp-home .home-metrics-context a { color: var(--discovery-forest); text-decoration: underline; text-underline-offset: 3px; }
