/* Series grouping used by paperSeriesHtml; scoped to the paper library. */
.series-grp { overflow: hidden; }
.series-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.series-name { font-weight: 650; }
.series-total { margin-left: 4px; }
.series-tier-pill { opacity: .8; }
.series-tier-block { margin: 0 12px 12px; border-radius: 8px; overflow: hidden; }
.series-tier-block .tier-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: var(--bg, #f7f8fc); }
.tier-name { font-weight: 600; }
.series-tier-block .vbody { padding: 4px 8px; }
@media (max-width: 700px) {
  .series-head { gap: 6px; }
  .series-tier-block { margin: 0 6px 8px; }
  .series-total { margin-left: 0; }
}
