.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: background var(--transition);
}

.header:hover {
  background: var(--surface-2);
}

.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.description {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

.chevron {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-top: 2px;
}

.open {
  transform: rotate(90deg);
}

/* Details panel */
.details {
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
}

/* Tx row */
.txRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.txLabel {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.txHash {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text);
}

/* Address rows */
.listGroup {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.groupLabel {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.addrRow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.addrHash {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text);
  word-break: break-all;
}

.addrTag {
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
}

.addrAmount {
  font-family: var(--font-data);
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* String list */
.strList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 14px;
}

.strList li {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  position: relative;
}

.strList li::before {
  content: '—';
  position: absolute;
  left: -14px;
  color: var(--text-muted);
}

/* Correction panel */
.correction {
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.correctionLabel {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.correctionText {
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* Key-value */
.kvList {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.kvRow {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.kvKey {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  min-width: 130px;
  flex-shrink: 0;
}

.kvVal {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--text);
}
