/* GCL Tool Parts: pill row + "because" line. Cards come from article-parts.css.
   Pills copy the serial decoder goal pills (.gcl-dp-gtab in decoder-parts.css). */
.gcl-tp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.gcl-tp-tab { font: inherit; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #E2E8F0; background: #F8FAFC; color: #334155; font-size: 13.5px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.gcl-tp-tab:hover { border-color: #94A3B8; background: #fff; color: #0F172A; }
.gcl-tp-tab[aria-pressed="true"] { background: #0F172A; border-color: #0F172A; color: #fff; }
.gcl-tp-count { font-size: 12px; font-weight: 600; color: #94A3B8; }
.gcl-tp-tab[aria-pressed="true"] .gcl-tp-count { color: rgba(255,255,255,.6); }
.gcl-tp-tab:focus-visible { outline: 2px solid #16A34A; outline-offset: 2px; }
.gcl-tp-group[hidden] { display: none; }
.gcl-tp-why { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #334155; }

@media (max-width: 640px) {
  .gcl-tp-tabs { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gcl-tp-tabs::-webkit-scrollbar { display: none; }
  .gcl-tp-tab { flex: none; height: 30px; padding: 0 11px; gap: 5px; font-size: 12.5px; }
  .gcl-tp-count { font-size: 11px; }
}

/* Tool card (a finder): icon tile instead of a product photo. */
.gcl-ap .gcl-tp-toolcard .gcl-ap-img { display: flex; align-items: center; justify-content: center; background: #F0FDF4; border-radius: 10px; color: #15803D; }
.gcl-ap .gcl-tp-toolcard .gcl-ap-img svg { width: 48px; height: 48px; display: block; }
.gcl-ap .gcl-tp-toolcard { border-color: #BBF7D0; }
