/* Ledger receipt page only. Loaded after styles.css; does not change it. */
.lr-panel { min-width: 0; }
.lr-note { margin: 0 0 var(--s-4); max-width: 76ch; color: var(--ink-dim); font-size: var(--t-body); line-height: 1.55; }
.lr-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; -webkit-overflow-scrolling: touch; }
.lr-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lr-table { width: 100%; min-width: 880px; border-collapse: collapse; }
.lr-table th, .lr-table td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.lr-table tbody tr:last-child th, .lr-table tbody tr:last-child td { border-bottom: 0; }
.lr-table thead th { color: var(--ink-faint); font: 600 var(--t-label)/1.35 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: var(--surface-2); }
.lr-table tbody th { width: 128px; font-weight: 600; font-size: var(--t-body); color: var(--m, var(--accent)); }
.lr-what { width: 28%; min-width: 220px; color: var(--ink-dim); font-size: var(--t-sm); line-height: 1.5; }
.lr-time { width: 92px; white-space: nowrap; font: 500 var(--t-sm)/1.5 var(--mono); color: var(--ink); }
.lr-refs { min-width: 300px; }
.lr-ref { display: grid; gap: 2px; margin: 0 0 var(--s-3); }
.lr-ref:last-child { margin-bottom: 0; }
.lr-lab { color: var(--ink-faint); font-size: var(--t-note); line-height: 1.35; }
.lr-line { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.lr-id { font: 500 var(--t-note)/1.4 var(--mono); color: var(--ink); word-break: break-all; cursor: help; }
.lr-copy { min-height: 30px; padding: 0 var(--s-3); border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--accent); font: 600 var(--t-note)/1 var(--sans); cursor: pointer; }
.lr-copy:hover { border-color: var(--accent); background: var(--accent-wash); }
.lr-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lr-copy.is-done { border-color: var(--accent); background: var(--accent-wash); }
.lr-actions { margin-top: var(--s-6); }
@media (max-width: 640px) {
  .lr-copy { min-height: 36px; }
  .lr-note { font-size: var(--t-sm); }
}
