/* Explorer live — estensioni minime sopra ledger-ui.css (design system chiaro approvato).
   Nessun token nuovo: solo layout per stati di caricamento/errore generati dal JS. */
.hidden { display: none !important; }
.flash { border: 1px solid var(--border-strong); background: var(--surface);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); font-size: 15px; }
.flash.ok { border-color: var(--ok-text); }
.flash.error { border-color: var(--err-text); }
.flash.warn { border-color: var(--wait-text); }
.stat-v { font: 600 34px/1.1 var(--font-display); letter-spacing: -.02em; margin-top: 8px; }
.search-bar { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.search-bar .field { flex: 1; min-width: 240px; }
td.mono, dd.mono, .mono { overflow-wrap: anywhere; }
.badge-verified { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px;
  padding: 2px 10px; border-radius: var(--r-full); font-size: 12.5px; font-weight: 600;
  color: var(--ok-text); background: var(--ok-bg); white-space: nowrap; }
.record-row { display: block; text-decoration: none; }
@media (max-width: 700px) {
  .navbar { height: auto; }
  .navbar-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 4px; }
  .navbar-links { flex-wrap: wrap; row-gap: 2px; }
  .navbar-links a { padding: 8px 9px; }
}

/* --- EN pass 2026-10-12: no horizontal overflow at any width -------------
   Root causes fixed here: grid/flex children that would not shrink
   (min-width:auto), .kv values sized by their longest unbreakable token,
   and full-length hashes in detail views. Detail views show the complete
   fingerprint with free wrapping (.hash-full); lists keep the
   middle-truncated .hash from the design system. */
html, body { overflow-x: clip; }
.container, .container-wide { min-width: 0; }
.card, .card-grid > *, .stack > *, .stack-lg > * { min-width: 0; }
.h1 { font-size: clamp(28px, 9vw, 40px); }
.kv { grid-template-columns: 180px minmax(0, 1fr); }
.kv dd { min-width: 0; }
.table-wrap { max-width: 100%; }
.table td { overflow-wrap: anywhere; }
.table td .hash, .timeline-meta .hash { overflow-wrap: normal; }
.hash-full { display: inline-flex; align-items: flex-start; gap: var(--sp-2);
  max-width: 100%; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 13.5px; }
.hash-full-text { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; padding-top: 2px; }
.hash-full .hash-copy { margin: -8px -8px -8px 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
@media (max-width: 700px) {
  /* Records table becomes stacked rows: label above each value,
     nothing ever leaves the card. */
  .table-stack thead { display: none; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td { border-bottom: 0; padding: 3px 0; }
  .table-stack td::before { content: attr(data-label); display: block;
    font-size: 11px; font-weight: 500; letter-spacing: .06em;
    text-transform: uppercase; color: var(--text-2); margin-bottom: 2px; }
  .search-bar .field { min-width: 0; }
  .card { padding: var(--sp-5); }
}
