/* Four equal-height catalogue actions on desktop, two rows on mobile. */
.registry-workspace .directory-four-actions {
 display:grid !important;
 grid-template-columns:minmax(145px,.85fr) minmax(145px,.85fr) minmax(220px,1.5fr) minmax(220px,1.5fr) !important;
 gap:12px !important;
 width:100% !important;
 align-items:stretch !important;
 margin:22px 0 26px !important;
}
.registry-workspace .directory-four-actions>.directory-quick-actions,
.registry-workspace .directory-four-actions>.breed-directory-group {
 display:contents !important;
}
.registry-workspace .directory-four-actions>.directory-quick-actions>a,
.registry-workspace .directory-four-actions>.breed-directory-group>.breed-directory-primary,
.registry-workspace .directory-four-actions>.breed-directory-group>.breed-directory-toggle {
 display:flex !important;
 align-items:center !important;
 justify-content:center !important;
 text-align:center !important;
 width:100% !important;
 max-width:100% !important;
 min-width:0 !important;
 min-height:66px !important;
 height:auto !important;
 margin:0 !important;
 padding:12px 14px !important;
 grid-column:auto !important;
 align-self:stretch !important;
 gap:9px !important;
 border-radius:9px !important;
 box-sizing:border-box !important;
 line-height:1.35 !important;
}
.registry-workspace .directory-four-actions>.breed-directory-group>.breed-directory-primary,
.registry-workspace .directory-four-actions>.breed-directory-group>.breed-directory-toggle {
 justify-content:space-between !important;
 text-align:left !important;
}
.registry-workspace .directory-four-actions .breed-directory-name,
.registry-workspace .directory-four-actions .breed-directory-toggle>span:first-child {
 font-size:.95rem !important;
 word-break:normal !important;
 overflow-wrap:normal !important;
 white-space:normal !important;
}
.registry-workspace .directory-four-actions .breed-directory-count,
.registry-workspace .directory-four-actions .breed-directory-other-count {
 margin-left:auto !important;
 flex-shrink:0 !important;
 font-size:.8rem !important;
}
.registry-workspace .directory-search-sr-only {
 position:absolute !important;
 width:1px !important;
 height:1px !important;
 padding:0 !important;
 margin:-1px !important;
 overflow:hidden !important;
 clip:rect(0,0,0,0) !important;
 white-space:nowrap !important;
 border:0 !important;
}
.registry-workspace .directory-four-actions+.breed-directory-expanded { margin-top:0 !important; }
@media (max-width:1020px) {
 .registry-workspace .directory-four-actions {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
 }
}
@media (max-width:520px) {
 .registry-workspace .directory-four-actions {gap:9px !important;margin:18px 0 22px !important}
 .registry-workspace .directory-four-actions>.directory-quick-actions>a,
 .registry-workspace .directory-four-actions>.breed-directory-group>.breed-directory-primary,
 .registry-workspace .directory-four-actions>.breed-directory-group>.breed-directory-toggle {
  min-height:58px !important;
  padding:10px !important;
  font-size:.85rem !important;
 }
 .registry-workspace .directory-four-actions .breed-directory-count {display:none !important}
 .registry-workspace .directory-four-actions .breed-directory-other-count {display:none !important}
}
