/* ── On-chain provenance card (graph corner popup) ──────────────────────────
 * Pinned in the graph's bottom-LEFT corner so it never collides with the
 * dkg-graph-viz NodePanel (bottom-right). Shows the real blockchain identity
 * of the selected node: UAL, tx hash, block, KA id, author. Mirrors the
 * .v10-mlv-node-panel surface + the .v10-vm-identity row vocabulary.
 */
.v10-graph-prov-card {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 300px;
  max-width: calc(100% - 24px);
  max-height: 340px;
  overflow-y: auto;
  z-index: 21;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  font-size: 12px;
  color: var(--text-primary);
  pointer-events: auto;
}
.v10-graph-prov-card.verified {
  border-color: rgba(34, 197, 94, 0.45);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%),
    var(--bg-elevated);
}

.v10-graph-prov-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v10-graph-prov-glyph {
  font-size: 14px;
  line-height: 1;
  color: #22c55e;
}
.v10-graph-prov-card:not(.verified) .v10-graph-prov-glyph {
  color: var(--text-tertiary);
}
.v10-graph-prov-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}
.v10-graph-prov-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--text-success);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.v10-graph-prov-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.15s;
}
.v10-graph-prov-close:hover {
  color: var(--text-primary);
}

.v10-graph-prov-entity {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  word-break: break-word;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}

.v10-graph-prov-muted {
  font-size: 11px;
  color: var(--text-tertiary);
  padding: 4px 0 2px;
}

.v10-graph-prov-offchain {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v10-graph-prov-offchain-tag {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--text-tertiary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.v10-graph-prov-offchain p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-tertiary);
}

/* explorer link affordance reusing the identity-value type */
.v10-graph-prov-link {
  color: var(--accent-blue, #3b82f6);
  text-decoration: none;
}
.v10-graph-prov-link:hover {
  text-decoration: underline;
}
