/* Browser tool reports. Colors come from the shared appearance tokens. */
.tr-page {
  box-sizing: border-box;
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.tr-kicker {
  margin: 0 0 0.5rem;
  color: var(--cpk-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tr-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--cpk-ink);
}
.tr-lead,
.tr-page p,
.tr-page li {
  color: var(--cpk-ink);
  line-height: 1.6;
}
.tr-note,
.tr-page .tr-lead {
  color: var(--cpk-muted);
}
.tr-crumbs ol,
.tr-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: 0;
  margin: 0 0 1.25rem;
  list-style: none;
}
.tr-crumbs a,
.tr-subnav a,
.tr-page a {
  color: var(--cpk-link);
}
.tr-subnav a[aria-current="page"] {
  color: var(--cpk-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--cpk-accent);
}
.tr-env,
.tr-case,
.tr-card {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--cpk-surface);
  border: 1px solid var(--cpk-line);
  border-radius: 0.75rem;
}
.tr-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0;
}
.tr-facts div {
  min-width: 0;
}
.tr-facts dt {
  color: var(--cpk-muted);
  font-size: 0.75rem;
}
.tr-facts dd {
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}
.tr-count {
  font-weight: 700;
}
.tr-status {
  display: inline-block;
  margin: 0;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid var(--cpk-line);
}
.tr-status--pass { color: var(--cpk-emerald); }
.tr-status--partial,
.tr-status--unsupported { color: var(--cpk-amber); }
.tr-status--rejected,
.tr-status--failed { color: var(--cpk-rose); }
.tr-corrupt {
  padding: 0.75rem;
  border: 1px solid var(--cpk-rose);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--cpk-rose) 12%, var(--cpk-surface));
}
.tr-shots {
  display: grid;
  gap: 1rem;
}
.tr-shot {
  margin: 0;
}
.tr-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--cpk-line);
  border-radius: 0.5rem;
  background: var(--cpk-surface-2);
}
.tr-shot figcaption,
.tr-compare > figcaption {
  margin-top: 0.4rem;
  color: var(--cpk-muted);
  font-size: 0.9rem;
}
.tr-comparisons {
  display: grid;
  gap: 1rem;
}
.tr-compare {
  margin: 0;
}
.tr-compare-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
}
.tr-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.tr-table th,
.tr-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--cpk-line);
  text-align: left;
  vertical-align: top;
}
.tr-case h3,
.tr-card h2,
.tr-page h2,
.tr-page h4 {
  color: var(--cpk-ink);
}
.tr-case-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.tr-download code,
.tr-facts code,
.tr-page code {
  overflow-wrap: anywhere;
}
.tr-pending {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--cpk-surface);
  border: 1px solid var(--cpk-line);
  border-radius: 0.75rem;
}
.tr-size {
  margin: 0.75rem 0 1rem;
}
.tr-size-verdict {
  margin: 0 0 0.5rem;
  color: var(--cpk-ink);
}
.tr-log {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: var(--cpk-surface);
  border: 1px solid var(--cpk-line);
  border-radius: 0.5rem;
}
.tr-log > summary {
  cursor: pointer;
  color: var(--cpk-ink);
  font-weight: 600;
}
.tr-log > summary:focus {
  outline: 2px solid var(--cpk-accent);
  outline-offset: 2px;
}
.tr-log > summary:focus:not(:focus-visible) {
  outline: none;
}
.tr-log > summary:focus-visible {
  outline: 2px solid var(--cpk-accent);
  outline-offset: 2px;
}
@media (max-width: 40rem) {
  .tr-page { padding: 1.25rem 0.9rem 3rem; }
  .tr-facts { grid-template-columns: 1fr; }
}
