/* Dated public archive preview. Accepted Home tokens and the shared reading shell own the palette. */
/* Outrank the retained legacy body.search canvas without changing print rules. */
@media screen {
  body.search.fsr-reading-page {
    background: var(--fsr-bg);
    color: var(--fsr-text);
  }
}
@media screen and (forced-colors: active) {
  body.search.fsr-reading-page {
    background: Canvas;
    color: CanvasText;
  }
}

.fsr-category-page .fsr-category-hero {
  margin-bottom: 30px;
}
.fsr-category-page .fsr-category-hero h1 {
  max-width: 100%;
}
.fsr-category-page .fsr-category-hero .document-summary {
  width: 100%;
}
.fsr-category-page .fsr-category-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px 34px;
}
.fsr-category-page .fsr-category-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.fsr-category-page .fsr-category-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--fsr-control-border, var(--fsr-line));
  border-radius: 999px;
  color: var(--fsr-muted);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.fsr-category-page .fsr-category-navigation a[aria-current="page"] {
  border-color: var(--fsr-mint);
  color: var(--fsr-mint);
}
.fsr-category-page .fsr-category-navigation a:hover {
  border-color: var(--fsr-mint);
  color: var(--fsr-text);
  background: var(--fsr-control-hover, var(--fsr-bg));
}
.fsr-category-page .fsr-category-search {
  flex: 0 1 440px;
  min-width: 270px;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--fsr-control-border, var(--fsr-line));
  border-radius: 12px;
  background: var(--fsr-control-surface, var(--fsr-bg));
}
.fsr-category-page .fsr-category-search label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--fsr-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.fsr-category-page .fsr-category-search-controls {
  display: flex;
  min-width: 0;
  gap: 8px;
}
.fsr-category-page .fsr-category-search input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--fsr-input-border, var(--fsr-line));
  border-radius: 7px;
  background: var(--fsr-control-surface, var(--fsr-bg));
  color: var(--fsr-text);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
}
.fsr-category-page .fsr-category-search input::placeholder {
  color: var(--fsr-muted);
  opacity: 1;
}
.fsr-category-page .fsr-category-search button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid var(--fsr-mint);
  border-radius: 7px;
  background: var(--fsr-mint);
  color: var(--fsr-bg);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.fsr-category-page .fsr-category-search button:hover {
  background: var(--fsr-bg);
  color: var(--fsr-mint);
}
.fsr-category-page .fsr-category-search-help {
  margin: 10px 0 0;
  color: var(--fsr-muted);
  font-size: 12px;
  line-height: 1.6;
}
.fsr-category-page.fsr-tool-search-page {
  max-width: 100%;
}
.fsr-category-page.fsr-tool-search-page > .fsr-category-search {
  width: min(100%, 620px);
  margin-bottom: 32px;
}
.fsr-category-page .fsr-tool-result-count {
  margin: 0 0 30px;
  color: var(--fsr-text);
  font-size: 16px;
  overflow-wrap: anywhere;
}
.fsr-category-page .fsr-tool-result-group {
  margin-top: 38px;
}
.fsr-category-page .fsr-tool-result-group h2 {
  margin: 0 0 22px;
  font-family: var(--fsr-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.3;
}
.fsr-category-page .fsr-tool-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}
.fsr-category-page .fsr-tool-result {
  min-width: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--fsr-line);
}
.fsr-category-page .fsr-tool-result h3 {
  margin: 0 0 12px;
  font-family: var(--fsr-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.fsr-category-page .fsr-tool-empty {
  max-width: 760px;
  padding-block: 10px 20px;
  overflow-wrap: anywhere;
}
.fsr-category-page .fsr-tool-browse {
  margin-top: 42px;
}
.fsr-category-page .fsr-tool-more {
  margin: 32px 0 0;
}
.fsr-category-page .fsr-category-scope {
  margin: 31px 0 21px;
  color: var(--fsr-muted);
  font-size: 12px;
  line-height: 1.5;
}
.fsr-category-page .fsr-category-scope span {
  padding-inline: 6px;
}
.fsr-category-page .fsr-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 24px;
}
.fsr-category-page .fsr-category-card {
  min-width: 0;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--fsr-line);
}
.fsr-category-page .fsr-category-image {
  margin: 0 0 22px;
}
.fsr-category-page .fsr-category-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.fsr-category-page .fsr-category-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 0 0 8px;
  color: var(--fsr-mint);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .025em;
}
.fsr-category-page .fsr-category-date {
  margin: 0 0 13px;
  color: var(--fsr-muted);
  font-size: 12px;
  line-height: 1.5;
}
.fsr-category-page .fsr-category-card h2 {
  margin: 0 0 16px;
  font-family: var(--fsr-display);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.fsr-category-page .fsr-category-card h2 a {
  text-decoration: none;
}
.fsr-category-page .fsr-category-card h2 a:hover,
.fsr-category-page .fsr-category-card h2 a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.fsr-category-page .fsr-category-excerpt {
  color: var(--fsr-muted);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.fsr-category-page .fsr-category-excerpt p {
  margin: 0 0 12px;
}
.fsr-category-page .fsr-category-excerpt p:last-child {
  margin-bottom: 0;
}
.fsr-category-page .fsr-category-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 42px 0 0;
}
.fsr-category-page .fsr-category-pagination a,
.fsr-category-page .fsr-category-pagination > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--fsr-control-border, var(--fsr-line));
  border-radius: 7px;
  color: var(--fsr-muted);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}
.fsr-category-page .fsr-category-pagination > [aria-current="page"] {
  border-color: var(--fsr-mint);
  color: var(--fsr-mint);
}
.fsr-category-page .fsr-category-pagination .fsr-category-ellipsis {
  min-width: 20px;
  padding-inline: 0;
  border: 0;
}
.fsr-category-page .fsr-category-pagination a:hover {
  border-color: var(--fsr-mint);
  background: var(--fsr-control-hover, var(--fsr-bg));
  color: var(--fsr-text);
}
@media (max-width: 1000px) {
  .fsr-category-page .fsr-category-tools {
    align-items: start;
    flex-direction: column;
  }
  .fsr-category-page .fsr-category-search {
    flex: 0 1 auto;
    width: min(100%, 480px);
  }
  .fsr-category-page .fsr-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .fsr-category-page .fsr-category-hero {
    margin-bottom: 24px;
  }
  .fsr-category-page .fsr-category-tools {
    gap: 23px;
  }
  .fsr-category-page .fsr-category-navigation {
    gap: 7px;
  }
  .fsr-category-page .fsr-category-navigation a {
    padding-inline: 12px;
    font-size: 12px;
  }
  .fsr-category-page .fsr-category-search {
    min-width: 0;
    width: 100%;
  }
  .fsr-category-page .fsr-category-search input {
    font-size: 16px;
  }
  .fsr-category-page .fsr-category-search-controls {
    flex-direction: column;
  }
  .fsr-category-page .fsr-category-search button {
    padding-inline: 12px;
  }
  .fsr-category-page .fsr-category-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 33px;
  }
  .fsr-category-page .fsr-tool-result-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .fsr-category-page .fsr-category-image {
    margin-bottom: 19px;
  }
  .fsr-category-page .fsr-category-card h2 {
    font-size: 27px;
    line-height: 1.26;
  }
  .fsr-category-page .fsr-category-excerpt {
    font-size: 15px;
  }
}
@media print {
  .fsr-category-page .fsr-category-search,
  .fsr-category-page .fsr-category-navigation {
    display: none;
  }
  .fsr-category-page .fsr-category-grid {
    display: block;
  }
  .fsr-category-page .fsr-category-card {
    break-inside: avoid;
    margin-bottom: 26px;
  }
  .fsr-category-page .fsr-category-image {
    max-width: 360px;
  }
}
