#transactions { min-width: 0; }
.columns.single > #transactions { display: block; }
.personal-heading { margin-bottom: 14px; }
.personal-heading h2 { font-size: 22px; font-weight: 610; }
.wallet-label { font: 500 13px/1.4 ui-monospace, monospace; color: var(--muted-foreground); }
.personal-ledger { overflow: hidden; border-radius: var(--folio-radius-panel, 20px); }
.history-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--hairline);
}
.history-toolbar .receipt-copy { min-height: 36px; padding: 4px 8px; font-size: 13px; }
#history-status { padding: 18px; color: var(--muted-foreground); line-height: 1.5; font-size: 14px; }
#history-status:empty { display: none; }
#history-actions { padding: 0 18px 18px; }
.activity-row {
  width: 100%; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center;
  gap: 12px; padding: 14px 18px; border: 0; border-radius: var(--folio-radius-inner, 12px);
  background: var(--card); color: var(--foreground); text-align: left; cursor: pointer;
}
.activity-row + .activity-row { border-top: 1px solid var(--hairline); }
.activity-row:hover, .activity-row:focus-visible { background: var(--accent); }
.activity-row:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.activity-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--hairline); border-radius: 50%; background: var(--card); font-size: 10px; }
.activity-mark img { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; }
.activity-row small { display: block; color: var(--muted-foreground); font-size: 12px; }
.activity-identity strong { font-size: 15px; font-weight: 650; }
.activity-block { text-align: right; font-size: 13px; color: var(--forest); font-variant-numeric: tabular-nums; }
.receipt-confirmation { display: grid; justify-items: center; gap: 8px; margin: 7px 0 0; }
.receipt-confirmation dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.receipt-confirmation dd { margin: 0; color: #ccdccf; font-size: 13px; }
.receipt-outcome {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 1rem;
  background: #2b4f39;
  color: #cee9c8;
  font-weight: 600;
}
.receipt-outcome::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.receipt-outcome[data-state="order"] { background: #354c40; color: #e3ede5; }
.receipt-outcome[data-state="rejected"] { background: #503933; color: #ffe1d8; }
.receipt-metrics, .receipt-identifiers { margin: 0; }
.receipt-metrics dt, .receipt-identifiers dt { margin-bottom: 3px; color: var(--muted-foreground); font-size: 12px; }
.receipt-metrics dd, .receipt-identifiers dd { margin: 0; font-variant-numeric: tabular-nums; }
.receipt-metrics {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.85fr) minmax(0,1.55fr);
  gap: 14px;
  padding: 15px 16px;
  background: var(--muted);
  border-radius: var(--folio-radius-inner, 14px);
}
.receipt-metrics dd { font: 550 14px/1.45 var(--heading); overflow-wrap: anywhere; }
.receipt-metrics a, .receipt-identifiers a { color: var(--brand-deep); text-decoration: underline; text-decoration-color: var(--input); text-underline-offset: .2em; }
.receipt-metrics a:hover, .receipt-identifiers a:hover { text-decoration-color: currentColor; }
.receipt-identifiers { display: grid; gap: 13px; margin: 22px 0 0; }
.receipt-identifiers > div { min-width: 0; }
.receipt-identifiers dd { font-size: 14px; line-height: 1.45; }
.receipt-identifiers .receipt-address {
  font: 500 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-wrap: anywhere;
}
@media (max-width: 435px) {
  .receipt-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .receipt-metrics > div:last-child { grid-column: 1/-1; }
}
@media (max-height: 580px) {
  .receipt-confirmation { grid-template-columns: repeat(2,auto); align-items: center; }
}
@media (max-width: 420px) {
  .activity-row { gap: 9px; padding: 13px 12px; }
}
