/* A compact reference index with one integrated search instrument. */
.resource-browser { max-width: 880px; margin: 28px auto 0; }
.resource-browser [hidden] { display: none !important; }
.rb__workspace-head { margin: 0 auto; }
.rb__heading { text-align: center; }
.rb__heading > p { max-width: 52ch; margin: 0 auto 20px; color: #58616d; font-size: 15px; line-height: 1.6; }
.rb__controls { display: flex; align-items: center; gap: 4px; margin: 0 auto; padding: 6px; border: 1px solid #d5dce5; border-radius: 16px; background: #fff; box-shadow: inset 0 1px 0 #fff, 0 4px 14px -10px #33465e40; }
.rb__search { position: relative; flex: 1 1 260px; min-width: 0; }
.rb__search > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #77818e; pointer-events: none; }
.rb__search input { display: block; width: 100%; min-height: 48px; padding: 12px 12px 12px 46px; border: 0; border-radius: 10px; background: transparent; color: #252c36; font: inherit; font-size: 16px; line-height: 1.5; }
.rb__search input::placeholder { color: #697382; opacity: 1; }
.rb__search:focus-within > svg { color: #a72135; }
.rb__search input:focus-visible { outline: 2px solid #ac3144; outline-offset: -2px; }
.rb__filters { display: flex; flex: 0 1 auto; align-items: center; gap: 2px; min-width: 0; }
.rb__filters:empty { display: none; }
.rb__filter { position: relative; max-width: 100%; min-width: 0; }
.rb__filter::after { content: ''; width: 5px; height: 5px; position: absolute; right: 13px; top: calc(50% - 4px); border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); color: #76808e; pointer-events: none; }
.rb__filter select { display: block; appearance: none; width: 100%; max-width: 100%; min-height: 44px; padding: 10px 29px 10px 12px; border: 0; border-radius: 9px; background: transparent; color: #5d6774; font: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; transition: background-color 160ms ease-out; }
.rb__filter select:hover { background: #f3f5f8; }
.rb__filter select:focus-visible { outline: 2px solid #ac3144; outline-offset: -2px; }
.rb__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.rb__results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; margin: 15px 12px 4px; }
.rb__count { margin: 0; color: #697380; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.rb__reset { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 0; border: 0; background: none; color: #a32336; font: inherit; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rb__reset:hover { color: #771b2a; }
.rb__reset:focus-visible, .rb__more:focus-visible { outline: 2px solid #ac3144; outline-offset: 4px; }
.rb__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; padding: 0; margin: 0; list-style: none; }
.rb__list > li { position: relative; min-width: 0; margin: 0; }
.rb__row { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 15px; height: 100%; min-height: 96px; padding: 15px 12px; border: 1px solid transparent; border-radius: 12px; color: inherit; transition: background-color 160ms ease-out, border-color 160ms ease-out; }
.rb__row:hover { background: #ffffffb3; border-color: #e4e8ee; }
.rb__row:focus-visible { outline: 2px solid #ac3144; outline-offset: 1px; background: #fff; }
.rb__format { display: flex; align-items: center; color: #788491; }
.rb__format svg { width: 22px; height: 22px; }
.rb__format--tool { color: #a82c3e; }
.rb__format--signal { color: #9b5964; }
.rb__copy { min-width: 0; }
.rb__copy h3 { margin: 0; color: #2b3038; font-size: 19px; font-weight: 490; line-height: 1.32; letter-spacing: -.02em; overflow-wrap: anywhere; text-wrap: pretty; transition: color 160ms ease-out; }
.resource-browser .rb__meta { margin: 7px 0 0; color: #65717e; font-size: 11px; line-height: 1.45; }
.rb__row:hover h3 { color: #a32336; }
.rb__arrow { display: flex; align-items: center; color: #a0a8b2; transition: transform 160ms ease-out, color 160ms ease-out; }
.rb__arrow svg { width: 16px; }
.rb__row:hover .rb__arrow { color: #a32336; transform: translateX(2px); }
.rb__empty { padding: 36px 20px; text-align: center; }
.rb__empty h3 { color: #303a47; font-size: 21px; font-weight: 480; line-height: 1.4; letter-spacing: -.015em; }
.rb__empty > p { margin-top: 8px; color: #657180; font-size: 14px; line-height: 1.6; }
.rb__empty .rb__reset { margin-top: 10px; font-size: 14px; }
.rb__more { display: block; min-height: 44px; margin: 20px auto 0; padding: 10px 23px; border: 1px solid #d8dfe7; border-radius: 100px; background: transparent; color: #596574; font: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; transition: border-color 160ms ease-out, background-color 160ms ease-out; }
.rb__more:hover { border-color: #a6b3c3; background: #fff; }
@media (max-width: 700px) {
  .rb__controls { flex-direction: column; align-items: stretch; padding: 5px; }
  .rb__search { flex-basis: auto; }
  .rb__filters { justify-content: center; }
  .rb__filter { flex: 0 1 auto; }
  .rb__filter select { font-size: 16px; padding-inline: 12px 28px; }
  .rb__list { gap: 4px 12px; }
  .rb__row { gap: 10px; padding-inline: 8px; }
  .rb__copy h3 { font-size: 18px; }
}
@media (max-width: 560px) {
  .resource-browser { margin-top: 22px; }
  .rb__results-head { margin: 12px 8px 0; }
  .rb__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rb__row { min-height: 84px; padding: 13px 8px; gap: 14px; }
  .rb__copy h3 { font-size: 18px; }
  .resource-browser .rb__meta { margin-top: 5px; }
  .rb__more { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .rb__row, .rb__copy h3, .rb__more, .rb__arrow, .rb__filter select { transition: none; } }
@media (forced-colors: active) { .rb__controls { box-shadow: none; } .rb__row:focus-visible { outline-color: Highlight; } }
@media print { .rb__context { position: static; width: auto; height: auto; margin: 0 12px 16px; overflow: visible; clip: auto; white-space: normal; font-size: 12px; line-height: 1.5; } }

/* The format and useful takeaway are visible before opening a resource. */
.resource-browser .rb__meta { margin: 0 0 6px; font-size: 11px; color: #647080; }
.resource-browser .rb__purpose { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 7px 0 0; color: #586473; font-size: 13px; line-height: 1.55; }
.rb__row { align-items: start; padding-block: 20px; }
.rb__format, .rb__arrow { margin-top: 22px; }
@media (max-width: 560px) { .resource-browser .rb__meta { margin: 0 0 5px; } .rb__row { padding-block: 17px; } }
