/* One coin's report (public/reports-coin.js): the Reports page's cards, charts and tables (reports.css),
   plus its title band, the depth and focus switches and a few pieces of its own. Theme colours only. */
.cr-intro { align-items: flex-end; }
.cr-title { min-width: 0; }
.cr-crumbs { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cr-crumbs a { color: var(--muted); text-decoration: none; }
.cr-crumbs a:hover { color: var(--text); text-decoration: underline; }
.cr-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cr-name img { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); }
.cr-name img[hidden] { display: none; }
.cr-name h1 { overflow-wrap: anywhere; }
.cr-sub { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.cr-sub a { color: var(--accent); }
.cr-controls { gap: 10px 14px; }
.cr-controls[hidden] { display: none; }
.cr-ctl { display: flex; align-items: center; gap: 8px; }
.cr-ctl-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.scope-switch button:focus-visible, .seg button:focus-visible, .linkish:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.report-nav[hidden] { display: none; }
.cr-body { min-height: 60vh; }
.cr-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cr-kpi .kpi-label::after { content: none; }
.report-card.cr-kpi:hover { border-color: var(--line); }
.cr-summary .cr-prose { margin: 0; font-size: 16px; line-height: 1.65; max-width: 900px; }
.cr-why { margin-top: 10px; }
.cr-why summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.cr-why summary:hover { color: var(--text); }
.cr-why .list { margin-top: 6px; }
.cr-lead { margin: 0 0 10px; color: var(--text); font-size: 13px; }
.cr-note, .cr-notes { margin: 4px 0 0; line-height: 1.6; }
.cr-notes { margin: 18px 0 0; font-size: 12px; }
.cr-none { margin: 6px 0; font-style: italic; }
.cr-peers tr.cr-self td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.cr-peers td:nth-child(2) { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.cr-events, .cr-venues { max-height: 380px; overflow: auto; }
.cr-block .report-grid.two .report-card { margin-bottom: 0; }
.cr-block > .report-grid { margin-bottom: 10px; }
.cr-block h4 { margin: 14px 0 6px; font-size: 12px; color: var(--muted); }
/* The server's summary while the script starts (and what a crawler reads); the 404 page's search */
.cr-static h2, .cr-missing h2 { margin: 6px 0 10px; }
.cr-static p, .cr-missing p { max-width: 760px; line-height: 1.6; }
.cr-static a, .cr-missing a { color: var(--accent); }
.cr-search { display: flex; gap: 6px; max-width: 420px; margin: 10px 0; }
.cr-search input { flex: 1; min-width: 0; height: 32px; padding: 0 10px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; }
.cr-found { max-width: 520px; margin-bottom: 10px; }
@media (max-width: 1300px) { .cr-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .cr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-controls { justify-content: flex-start; width: 100%; }
  .cr-ctl { flex-wrap: wrap; }
  .cr-summary .cr-prose { font-size: 15px; }
  .cr-name img { width: 32px; height: 32px; }
}
@media (max-width: 420px) {
  .cr-ctl { width: 100%; }
  .cr-ctl .scope-switch { flex: 1; }
  .cr-ctl .scope-switch button { flex: 1; padding: 7px 6px; }
}
