/* Owner-approved C04 shelf card: home, methods and directions share all rows.
   Applied after prepared-source validation; no pool/order/data changes. */
body .marketplace-product-card.is-wb-compact[data-specialist] {
  height: auto;
  min-height: 0;
}
body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-link {
  height: auto;
}
body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-name {
  line-height: 1.25;
}
body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-offer {
  display: block;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
}
body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-rating {
  line-height: 1.3;
}
body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-proof {
  flex-wrap: wrap;
  overflow: visible;
  white-space: normal;
}

/* Hide shelf scrollbars without disabling touch, trackpad or arrow navigation. */
body :is(.marketplace-product-shelf,.home-marketplace-shelf-list,.home-specialist-list,.methods-index-list,.directions-index-list) {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
}
body :is(.marketplace-product-shelf,.home-marketplace-shelf-list,.home-specialist-list,.methods-index-list,.directions-index-list)::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Desktop shelves reserve enough width for both proof labels at the usual size. */
@media (min-width: 821px) {
  body .marketplace-product-shelf {
    --marketplace-shelf-card-width: 272px;
    --methods-card-width: 272px;
  }
  body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-proof.has-under-year-experience {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}
@media (max-width: 820px) {
  body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  body .marketplace-product-card.is-wb-compact[data-specialist] .marketplace-product-card-proof span + span::before {
    content: none;
    margin: 0;
  }
}

/* Scroll input remains enabled; native bars inside the interface stay hidden. */
.matching-chat .matching-chat__timeline { scrollbar-width:none !important; -ms-overflow-style:none; }
.matching-chat .matching-chat__timeline::-webkit-scrollbar { display:none !important; width:0; height:0; }
