/* Separate buttons from links: no nested interactive controls or accidental navigation. */
.plant-card.has-card-gg { position: relative; }
.plant-card.has-card-gg .plant-card-link {
  display: flex; flex: 1; flex-direction: column; min-width: 0;
  color: inherit; text-decoration: none; padding-bottom: 48px;
}
.plant-card.has-card-gg .plant-card-link:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 3px; }
.plant-card-gg { position: absolute; right: 12px; bottom: 10px; max-width: calc(100% - 24px); }
.plant-card-gg .gg-button.plant-card-gg-button {
  position: relative; overflow: visible;
  min-height: 44px; min-width: 60px; padding: 0 4px; gap: 0;
  border: 0; border-radius: 6px; background: transparent; box-shadow: none;
  color: var(--rd-muted); font-size: 14px; font-weight: 400; line-height: 1;
  white-space: nowrap; touch-action: manipulation; transform: none;
}
.plant-card-gg-label { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 4px; border-radius: 5px; }
.plant-card-gg-leaf { font-size: 12px; }
.plant-card-gg .gg-button.plant-card-gg-button.active { color: var(--rd-text); font-weight: 600; }
.plant-card-gg-button.active .plant-card-gg-label { background: #2f6b4f; color: #fff; }
.theme-dim .plant-card-gg-button.active .plant-card-gg-label { background: #397656; }
@media (hover: hover) {
  .plant-card-gg .gg-button.plant-card-gg-button:hover:not(:disabled) { color: var(--rd-text); }
  .plant-card-gg-button:hover:not(:disabled):not(.active) .plant-card-gg-label { background: rgb(68 106 71 / 10%); }
  .theme-dim .plant-card-gg-button:hover:not(:disabled):not(.active) .plant-card-gg-label { background: rgb(178 205 163 / 14%); }
}
.plant-card-gg-button:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 3px; }
.plant-card-gg-button:disabled { cursor: default; }
