/* /proof page layout on top of site.css (ADR-0005: tokens, type, header, footer, buttons, kpis, check rows). Settlement table only. */
main > header { margin: 0 0 16px; }
main > section { margin: 0 0 36px; }
.stats { margin-top: 22px; }
.status { color: var(--muted); }
.note { color: var(--muted); font-size: 0.9rem; margin: 0; }
.daily { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* settlements */
table.settlements { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.settlements th { text-align: left; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); background: var(--panel-strong); padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.settlements td { padding: 10px 14px; vertical-align: top; overflow-wrap: anywhere; color: var(--text); }
.settlements tbody + tbody td { border-top: 1px solid var(--hairline); }
.settlements tr.main td { padding-bottom: 6px; }
.settlements tr.detail td { padding-top: 4px; padding-bottom: 14px; }
.unit { color: var(--muted); font-size: 0.85rem; }
.results { margin-top: 12px; }
.progress { color: var(--muted); }

dl.key { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0 0 12px; }
dl.key dt { color: var(--muted); }
dl.key dd { margin: 0; min-width: 0; }

/* tables collapse to cards on narrow screens */
@media (max-width: 720px) {
  table.settlements, .settlements thead, .settlements tbody, .settlements tr, .settlements td { display: block; }
  .settlements thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.settlements { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
  .settlements tbody { background: var(--panel); border: 1px solid var(--edge); border-radius: 18px; margin: 0 0 14px; padding: 6px 0; box-shadow: var(--shadow); }
  .settlements tbody + tbody td { border-top: 0; }
  .settlements td { padding: 6px 14px; }
  .settlements td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
  dl.key { grid-template-columns: minmax(0, 1fr); gap: 0; }
  dl.key dd { margin-bottom: 10px; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .settlements .btn { width: 100%; }
}

@media (min-width: 721px) {
  .settlements td[data-f="endpoint"], .settlements td[data-label="Payer"], .settlements td[data-f="time"] { white-space: nowrap; }
  .settlements td[data-f="time"] { overflow-wrap: normal; }
}

.digest { margin: 0 0 10px; color: var(--muted); font-size: 0.85rem; max-width: none; }
.digest code { overflow-wrap: anywhere; word-break: break-all; }

/* R17: UnyKorn's classification and the gate's counts are captioned, apart from anything the browser verifies */
.label-cell .tag { margin: 2px 0; }
.signed-payer { display: block; margin-top: 4px; color: var(--muted); font-size: 0.85rem; }
