/* Approved homepage v05: three category tiles and the catalog control row. */
.topic-hub-grid{--visible-categories:3;display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--visible-categories) - 1)*20px)/var(--visible-categories));gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0}
.topic-hub-link{min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.topic-hub-grid.is-animating{scroll-snap-type:none}
.topic-hub-grid:focus-visible,.topic-hub-link:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.js .topic-hub-grid{scrollbar-width:none}
.js .topic-hub-grid::-webkit-scrollbar{display:none}
.task-carousel-controls{gap:8px;flex-shrink:0;align-self:center}
.task-carousel-controls button{width:44px;height:44px;border:1px solid var(--control-border);border-radius:50%;background:var(--surface);color:var(--ink)}
.task-carousel-controls button:hover{background:var(--ice)}
.task-carousel-controls button[aria-disabled=true]{color:var(--slate);opacity:.55;cursor:default}
.task-carousel-controls svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.catalog{scroll-margin-top:120px}
.catalog-toolbar{flex-wrap:wrap}
.toolbar-actions{flex-wrap:wrap;min-width:0;justify-content:flex-end}
.filter-field{display:flex;align-items:center;gap:12px;min-width:0}
.toolbar-actions select{min-height:44px;max-width:100%}
.toolbar-actions label{display:block}
.product-install-link{max-width:100%;min-height:44px;overflow-wrap:anywhere;text-align:center}
.extension-card>.product-install-link--card{align-self:stretch;margin-bottom:16px;font-size:.82rem}
.product-install-link--article{margin-top:22px}
.story-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.story-card-actions>.text-link{min-height:44px}
.story-card-actions>.product-install-link--card{font-size:.82rem}
@media(max-width:900px){.topic-hub-grid{--visible-categories:2}.catalog-toolbar>p{max-width:none}.toolbar-actions{gap:12px}}
@media(max-width:640px){
  .hero{grid-template-columns:minmax(0,1fr)}
  .hero-copy,.hero-art{min-width:0}
  .browser-pills{min-inline-size:0}
  .card-bottom{flex-wrap:wrap}
  .hero h1,.extension-card h3,.topic-hub-link h3{overflow-wrap:anywhere}
  .footer-main>div{min-width:0;max-width:100%}
  .footer-brand{white-space:normal;overflow-wrap:anywhere}
  .footer-brand .brand-mark{flex-shrink:0}
  .topic-hub-grid{--visible-categories:1}
  .topic-hubs .section-heading>div:first-child{min-width:0}
  .topic-hubs .section-heading p{max-width:230px}
  .catalog-toolbar{align-items:stretch}
  .catalog-toolbar>p{width:100%;padding-top:0}
  .toolbar-actions{width:100%;justify-content:flex-start;gap:12px}
  .filter-field{flex:1 1 125px;flex-direction:column;align-items:stretch;gap:6px}
  .toolbar-actions label{font-size:.75rem}
  .toolbar-actions select{font-size:.8rem;max-width:100%;width:100%}
  .toolbar-actions #clear-filters{flex-basis:100%;text-align:left}
}
@media(max-width:520px){.js .browser-pills{grid-template-columns:repeat(auto-fit,minmax(min(100%,2.5rem),1fr))}}
@media(prefers-reduced-motion:reduce){.topic-hub-grid{scroll-behavior:auto}}
