/* Finding rows (STYLE 7). */
.rows { display: flex; flex-direction: column; gap: 8px; }
.rows-list { display: flex; flex-direction: column; gap: 8px; }
.show-all { align-self: flex-start; }

/* Bucket header: a button inside the h2, so each section is a disclosure. */
.acc-head {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.acc-head:hover { text-decoration: underline; }
.finding:focus { outline: 2px solid var(--text); outline-offset: 2px; }

/* One line of Haiku text under a bucket header. The element only exists when there is a note. */
.bucket-note { margin: 0 0 8px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }

[hidden] { display: none !important; }

.finding {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--muted);
  background: var(--bg);
  padding: 8px 12px;
}
.finding.b-contradicted { border-left-color: var(--contradicted); }
.finding.b-missing { border-left-color: var(--missing); }
.finding.b-unverifiable { border-left-color: var(--unverifiable); }
.finding.b-verified { border-left-color: var(--verified); }

.finding-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lineno { font-size: 14px; color: var(--text); }
.meta { font-size: 12px; color: var(--label); }

.quote {
  margin: 6px 0;
  font-family: var(--mono);
  font-size: 15px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
}
.quote.name { color: var(--text); }

.evidence { margin: 4px 0; }
.evidence .value { font-size: 14px; color: var(--muted); }

.conf { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.track { display: inline-block; width: 140px; height: 10px; border: 1px solid var(--rule); background: var(--bg); }
.fill { display: block; height: 100%; background: var(--text); }

.verdict { margin: 6px 0 0; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--label); overflow-wrap: anywhere; }
.unsure { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.none { margin: 0; color: var(--muted); font-size: 14px; }

.bucket.b-contradicted .strip-title { color: var(--contradicted); }
.bucket.b-missing .strip-title { color: var(--missing); }
.bucket.b-unverifiable .strip-title { color: var(--unverifiable); }
.bucket.b-verified .strip-title { color: var(--verified); }

/* Phones. Keep this block last: the base .conf and .track rules above would win over it if they came after. */
@media (max-width: 600px) {
  .conf { flex-direction: column; align-items: stretch; gap: 4px; }
  .track { width: 100%; }
  .finding-top .meta { flex-basis: 100%; }
}
