.lab-release1 .tool-card-feature {
  background:
    radial-gradient(circle at 86% 12%, rgba(201,168,76,0.12), transparent 34%),
    var(--surface-2);
}

.lab-release1 .tool-directory-section > .page-intro {
  max-width: 68ch;
}

.lab-release1 .tool-cat-nav {
  position: sticky;
  top: 72px;
  z-index: 4;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(12,12,15,0.94);
  backdrop-filter: blur(14px);
}

/* auto-fit collapses the empty tracks, so a group that resolves to a single
   live tool stretched one card across the full row. Groups with several cards
   still want that stretch, so only the lone-card case is pinned back. */
.lab-release1 .tool-directory-group .related-tool-grid:has(> .related-tool-card:only-child) {
  grid-template-columns: minmax(220px, 320px);
}

.lab-release1 .related-tool-card {
  min-height: 206px;
}

.lab-release1 .related-tool-card[data-lab-slug="commander-deck-audit"] {
  grid-column: span 2;
  min-height: 260px;
  border-color: rgba(201,168,76,0.48);
  background:
    radial-gradient(circle at 90% 10%, rgba(201,168,76,0.14), transparent 38%),
    linear-gradient(150deg, rgba(201,168,76,0.08), rgba(255,255,255,0.018)),
    var(--surface-2);
}

.lab-card-output,
.lab-card-compatibility {
  display: block;
  color: var(--text-3);
  font-size: 0.75rem;
  line-height: 1.45;
}

.lab-card-output::before {
  content: "Example: ";
  color: var(--accent-soft);
  font-weight: 760;
}

.lab-card-compatibility {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.lab-card-compatibility.is-compatible {
  color: #8ee6b8;
}

@media (max-width: 719px) {
  .lab-release1 .tool-cat-nav {
    top: 64px;
  }

  .lab-release1 .related-tool-card[data-lab-slug="commander-deck-audit"] {
    grid-column: auto;
  }
}

@media (max-width: 440px) {
  .lab-release1 .tool-card-feature .page-title {
    font-size: clamp(1.95rem, 10vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .lab-release1 .tool-card-feature .hero-actions {
    display: grid;
  }

  .lab-release1 .tool-card-feature .hero-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lab-release1 .related-tool-card {
    animation: none !important;
    transition: none !important;
  }
}
