/* B21.33 partners & quarterly inventory: section tabs wrap on a phone; long section tables scroll inside their box so the
   header row stays visible (sticky) — never a horizontal page scroll at 375 px. */
.pinv .seg.pinv-tabs{display:flex;flex-wrap:wrap;margin:var(--s2, 8px) 0}
.pinv .seg.pinv-tabs button{border-bottom:1px solid var(--border)}
.pinv .grid-scroll.pinv-lines{max-height:68vh;overflow:auto}
.pinv .grid-scroll.pinv-lines thead th{position:sticky;top:0;z-index:2}
.pinv .c-act{white-space:nowrap}
.partners-screen .c-act .btn{margin-inline-end:4px}
@media (max-width:560px){
  .pinv .grid-scroll.pinv-lines{max-height:none}
  .pinv .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pinv .c-act{white-space:normal}
}
