/* One restrained contextual action, placed by each surface in its real
   result/subject/comparison hierarchy. Never occupy the search stepper. */
.ka-share-slot { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: var(--ka-space-8, 8px); min-width: 0; }
.ka-share-slot[hidden] { display: none; }
.ka-share-action {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; min-width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--ka-color-rule-strong, #cac8bd);
  border-radius: var(--ka-radius-sm, 5px);
  background: var(--ka-color-paper-surface, #fff);
  color: var(--ka-color-ink-primary, #181c19);
  font: inherit; font-size: var(--ka-text-data-label, 0.875rem);
  line-height: 1.3; font-weight: 600; cursor: pointer;
}
.ka-share-action:hover { background: var(--ka-color-paper-base, #fcfbf7); border-color: var(--ka-color-brand-pine, #205c42); }
.ka-share-action:focus-visible { outline: 2px solid var(--ka-color-focus-ring, #163626); outline-offset: 2px; }
.ka-share-action[hidden] { display: none; }
.ka-share-feedback { color: var(--ka-color-ink-secondary, #3b433d); font-size: var(--ka-text-data-label, .875rem); }
.ka-share-feedback:empty { display: none; }
/* Species metadata owns the Share action height, not a separate CTA row. */
.species-identity-heading { position: relative; }
.species-identity-heading > .ka-share-slot {
  position: absolute; right: 0; bottom: 0;
}
.species-identity-heading .ka-identity-plate .ka-identity-badges {
  min-height: 44px;
  padding-right: 52px;
}
.ka-result-share-slot { margin: 0; }
.ka-compare-share-slot { margin: 0; }
.species-quick-view-footer .ka-share-slot { flex: none; }
.ka-share-action svg { display: block; width: 18px; height: 18px; }
