/* Offer Ready: resource library (#/resources). Reuses .pb-filters, .pb-search, .pb-count, .chip from app.css. */
.rs-only { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--text-sm); color: var(--ink-2); cursor: pointer; min-height: 38px; }
.rs-cat { margin-top: var(--s-10); }
.rs-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-2); border-bottom: 2px solid var(--ink); }
.rs-cat-title { margin: 0; font: 820 var(--text-xl)/1.1 var(--font-ui); font-stretch: var(--stretch-bib); }
.rs-cat-count { font-size: var(--text-md); font-weight: 700; white-space: nowrap; }
.rs-cat-count .faint { font-size: var(--text-sm); font-weight: 600; }
.rs-group { margin: var(--s-6) 0 0; padding-bottom: var(--s-1); border-bottom: 1px solid var(--line); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.rs-list { list-style: none; margin: 0; padding: 0; }
.rs-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-1) var(--s-4); align-items: start;
  padding: var(--s-3) var(--s-2) var(--s-3) var(--s-3); border-bottom: 1px solid var(--line);
  
}
.rs-row.is-start { background: var(--accent-soft); }
.rs-check { margin: 3px 0 0; width: 18px; height: 18px; }
.rs-main { min-width: 0; }
.rs-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
.rs-link { font-weight: 650; overflow-wrap: anywhere; }
.rs-link .icon { display: inline-block; margin-left: 4px; vertical-align: -2px; color: var(--ink-3); }
.rs-start { height: 20px; font-size: var(--text-2xs); font-weight: 650; }
.rs-start .icon { width: 12px; height: 12px; }
.rs-note { margin: 2px 0 0; color: var(--ink-2); font-size: var(--text-sm); }
.rs-flag { display: flex; gap: var(--s-1); margin: var(--s-1) 0 0; color: var(--ink-2); font-size: var(--text-xs); }
.rs-flag .icon { flex: none; margin-top: 1px; color: var(--ink-3); }
.rs-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-1); max-width: 15rem; }
.rs-tags .chip { height: 22px; font-size: var(--text-2xs); }
.rs-row:has(.rs-check:checked) .rs-link { color: var(--ink-3); }
.rs-row:has(.rs-check:checked) .rs-note { color: var(--ink-3); }
@media (max-width: 760px) {
  .rs-row { grid-template-columns: auto minmax(0, 1fr); }
  .rs-tags { grid-column: 2; justify-content: flex-start; max-width: none; }
  .rs-cat-title { font-size: var(--text-lg); }
}
