.pgp-key {
  border: 1px solid currentColor;
  border-radius: 10px;
  margin: 1.5rem 0;
  overflow: hidden;
}
.pgp-key__fingerprint {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  justify-content: space-between;
  padding: 1rem;
}
.pgp-key__fingerprint code {
  display: block;
  font-size: .9rem;
  margin-top: .4rem;
  overflow-wrap: anywhere;
  user-select: all;
}
.pgp-key__bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  justify-content: space-between;
  padding: .75rem 1rem;
}
.pgp-key__label { font-weight: 700; }
.pgp-key__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.pgp-key__button {
  align-items: center;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: .4rem;
  line-height: 1.2;
  padding: .45rem .7rem;
  text-decoration: none;
}
.pgp-key__button:hover { background: color-mix(in srgb, currentColor 10%, transparent); text-decoration: none; }
.pgp-key__button:focus-visible, .pgp-key__text:focus-visible { outline: 3px solid var(--accent-color, currentColor); outline-offset: 2px; }
.pgp-key__button svg { height: 1.15em; width: 1.15em; }
.pgp-key__text {
  border-top: 1px solid currentColor;
  font-size: .78rem;
  line-height: 1.5;
  margin: 0;
  max-height: 25rem;
  overflow: auto;
  padding: 1rem;
  white-space: pre;
}
.pgp-key__status { display: block; font-size: .85rem; min-height: 1.5em; padding: .2rem 1rem; }
