Skip to content

The agent that grows with you

1.3 KB
Raw Blame
/* The one content column every Capabilities tab sits in: search, filters,
   sections and directory rows all share these edges. */
:root {
  /* Shared vertical rhythm, the same on every tab. */
  --capabilities-gap-controls: 16px; /* search → its filter / segment row */
  --capabilities-gap-lead: 20px; /* last control row → first section heading */
  --capabilities-gap-section: 48px; /* one section → the next section's heading */
  --capabilities-gap-heading: 20px; /* section heading → its cards or rows */
  --capabilities-gap-sticky: 12px; /* sticky filter row → the bar's bottom edge */
  --capabilities-inset: 20px; /* headings and copy inset from the card edge */
}

.capabilities-page,
.catalog-search-header,
.catalog-filter-bar,
.catalog-filtered-results,
.catalog-discovery {
  width: 100%;
  max-width: 1228px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Scrollers reserve the gutter on both sides so the column stays centred on
   the same axis as the chrome above it. */
.capabilities-scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable both-edges;
}

@container (max-width: 440px) {
  .capabilities-page,
  .catalog-search-header,
  .catalog-filter-bar,
  .catalog-filtered-results,
  .catalog-discovery {
    padding-inline: 12px;
  }
}