/* Adapts the static /blog/ reports to the shared Kando Data shell (site-shell.css). */
body { margin: 0; }
.site-shell { min-height: 0; }

/* Per-report bar sits under the global header and keeps release chip + language toggle. */
.site-header.report-bar {
  position: sticky;
  top: 68px;
  z-index: 40;
  height: 52px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 244, 0.96);
}
.report-crumbs { display: flex; align-items: center; gap: 10px; font: 11px var(--mono); letter-spacing: 0.08em; color: var(--paper-faint); }
.report-crumbs a { color: var(--paper-dim); }
.report-crumbs a:hover { color: var(--orange-bright); }
.report-crumbs span[aria-hidden] { opacity: 0.5; }
.report-crumbs .brand-report { color: var(--paper); }

.section-anchor, .article-chapter, .article-results-leaderboard, .article-execution-stats { scroll-margin-top: 140px; }
.reading-index { top: 148px; }
.toc { top: 120px; height: calc(100vh - 120px); }
.model-detail { top: 136px; }

/* Blog directory has no report bar. */
.blog-main .hero { padding-top: clamp(56px, 8vw, 110px); }

@media (max-width: 700px) {
  .site-header.report-bar { position: static; height: auto; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
  .report-bar .release-chip, .report-bar .header-link { display: none; }
}

/* Pre-existing report layout: grid tracks must be allowed to shrink on narrow screens. */
.diagnosis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.diagnosis-panel { min-width: 0; }
@media (max-width: 980px) { .diagnosis-grid { grid-template-columns: minmax(0, 1fr); } }
.issue-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--paper-faint); font: 10px var(--mono); }
@media (max-width: 560px) { .issue-row { grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 8px; } }
/* EDGAR-US report renders list rows (.diag-row) inside the column-chart container. */
.diagnosis-chart:has(> .diag-row) { height: auto; display: block; padding: 8px 0 0; border-bottom: 0; }

@view-transition { navigation: auto; }

/* The shared header's 中 / EN switch drives the report language; hide the duplicate in the report bar. */
.report-bar .language-toggle { display: none; }
button.kd-lang { cursor: pointer; font-family: inherit; }
