/* Text actions share a button treatment while retaining navigation and handlers. */
html body[data-brand="aura"] :is(a.link, button.link, a.linkish, button.linkish, button.lnk, a.up-atl, .svc-n .svc-more, .auth-card .alt a, .auth-card a[id="fgt"], .auth-card a[id="again"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-height: 36px;
  min-width: 0;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--p-text) 25%, transparent);
  border-radius: 8px;
  background: var(--soft);
  color: var(--p-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: middle;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

html body[data-brand="aura"] :is(a.link, button.link, a.linkish, button.linkish, button.lnk, a.up-atl, .svc-n .svc-more, .auth-card .alt a, .auth-card a[id="fgt"], .auth-card a[id="again"]):hover {
  background: var(--soft-2, var(--soft));
  border-color: var(--p-text);
  text-decoration: none;
}

html body[data-brand="aura"] :is(a.link, button.link, a.linkish, button.linkish, button.lnk, a.up-atl, .auth-card .alt a, .auth-card a[id="fgt"], .auth-card a[id="again"]):focus-visible {
  outline: 2px solid var(--p-text);
  outline-offset: 3px;
  text-decoration: none;
}

html body[data-brand="aura"] :is(a.link, button.link, a.linkish, button.linkish, button.lnk) > .ico {
  flex-shrink: 0;
}

html body[data-brand="aura"] :is(button.link, button.linkish, button.lnk):disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Actions inside rows and field labels remain compact. */
html body[data-brand="aura"] :is(td, .fld > label, .pe-hint, .cl-ph, .pop header) .linkish,
html body[data-brand="aura"] .svc-n .svc-more {
  min-height: 30px;
  padding: 4px 9px;
  font-size: 12px;
}

html body[data-brand="aura"] .fld > label:has(.linkish) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 760px) {
  html body[data-brand="aura"] .lead-kanban-actions .linkish {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body[data-brand="aura"] :is(a.link, button.link, a.linkish, button.linkish, button.lnk, a.up-atl, .svc-n .svc-more, .auth-card .alt a, .auth-card a[id="fgt"], .auth-card a[id="again"]) {
    transition: none;
  }
}
