/* ============================================================
   技术报告页（/reports/qx-tr-2026-001/）
   仅在报告页加载，不影响站内其它页面
   依赖 style.css 的设计 token 与 .wrap / .section / .callout / .btn
   ============================================================ */

/* ---------- 报告页首 ---------- */
.report-head { max-width: 900px; }
.report-kicker {
  font-size: .84rem; letter-spacing: .04em; color: var(--c-ink-3);
  margin: 0 0 10px; text-transform: none;
}
.report-kicker strong { color: var(--c-deep); font-family: var(--font-mono); }
.report-h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.35rem); line-height: 1.25;
  color: var(--c-deep); margin: 0 0 10px; letter-spacing: -0.01em;
}
.report-sub {
  font-size: clamp(.95rem, 2.2vw, 1.12rem); color: var(--c-ink-2);
  margin: 0 0 18px; line-height: 1.6;
}
.report-meta {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: .88rem; color: var(--c-ink-3);
}
.report-meta li { margin: 0; }
.report-meta strong { color: var(--c-ink); font-weight: 600; }
.report-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.report-note { font-size: .84rem; color: var(--c-ink-3); line-height: 1.7; margin: 0; max-width: 760px; }

/* ---------- 两栏：目录 + 正文 ---------- */
.report-layout { display: block; }
@media (min-width: 1040px) {
  .report-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
}

/* ---------- 目录 ---------- */
.report-aside { margin-bottom: 28px; }
@media (min-width: 1040px) {
  .report-aside { position: sticky; top: 84px; margin-bottom: 0; max-height: calc(100vh - 110px); overflow-y: auto; }
  .report-aside::-webkit-scrollbar { width: 6px; }
  .report-aside::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 3px; }
}
.report-toc {
  border: 1px solid var(--c-line); border-radius: var(--r);
  padding: 16px 18px; background: var(--c-bg-alt);
}
.report-toc-title {
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  color: var(--c-ink-3); text-transform: uppercase; margin: 0 0 10px;
}
.report-toc ol { list-style: none; margin: 0; padding: 0; }
.report-toc ol ol { margin: 4px 0 8px 12px; padding-left: 10px; border-left: 1px solid var(--c-line); }
.report-toc li { margin: 0 0 3px; font-size: .86rem; line-height: 1.5; }
.report-toc > ol > li { margin-bottom: 8px; }
.report-toc > ol > li > a { font-weight: 600; color: var(--c-deep); }
.report-toc a { color: var(--c-ink-2); text-decoration: none; display: block; padding: 2px 0; }
.report-toc a:hover { color: var(--c-blue); }
.report-toc ol ol a { color: var(--c-ink-3); font-size: .83rem; }

/* ---------- 正文 ---------- */
.report-body { max-width: 820px; font-size: 1rem; line-height: 1.85; color: var(--c-ink); }
.report-body h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--c-deep); line-height: 1.35;
  margin: 56px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--c-deep);
  scroll-margin-top: 84px;
}
.report-body h2:first-child { margin-top: 0; }
.report-body h3 {
  font-size: clamp(1.08rem, 2.4vw, 1.22rem);
  color: var(--c-deep); line-height: 1.45;
  margin: 38px 0 12px; padding-bottom: 7px;
  border-bottom: 1px solid var(--c-line);
  scroll-margin-top: 84px;
}
.report-body h4 {
  font-size: 1rem; color: var(--c-deep); font-weight: 700;
  margin: 26px 0 8px; line-height: 1.55;
  scroll-margin-top: 84px;
}
.report-body p { margin: 0 0 14px; }
.report-body strong { color: var(--c-deep); font-weight: 700; }
.report-body a { color: var(--c-blue); text-decoration: underline; text-underline-offset: 2px; }
.report-body ul, .report-body ol { margin: 0 0 16px; padding-left: 1.4em; }
.report-body li { margin: 0 0 7px; }
.report-ol li { margin-bottom: 10px; }

/* 表标题 */
.tbl-title {
  font-size: .92rem; font-weight: 700; color: var(--c-deep);
  margin: 22px 0 8px; line-height: 1.5;
}

/* 表格 */
.report-table { margin: 0 0 22px; border: 1px solid var(--c-line); border-radius: var(--r); }
.report-table table { font-size: .86rem; }
.report-table th, .report-table td { padding: 8px 10px; line-height: 1.6; }
.report-table thead th, .report-table th[scope="col"] {
  background: var(--c-bg-alt); color: var(--c-deep);
  font-weight: 700; white-space: nowrap;
}
.report-table td strong { font-weight: 700; }

/* 图片 */
.report-fig {
  margin: 22px 0 24px; padding: 12px;
  background: var(--c-bg-alt); border: 1px solid var(--c-line);
  border-radius: var(--r);
}
.report-fig img { width: 100%; height: auto; border-radius: 2px; }
.report-fig figcaption {
  margin-top: 10px; font-size: .84rem; color: var(--c-ink-3);
  text-align: center; line-height: 1.6;
}

/* 提示框：沿用 .callout 的底色，仅调整报告内间距 */
.report-body .callout { margin: 18px 0 20px; font-size: .94rem; line-height: 1.75; }

/* 报告内列表容器 */
.report-list ul, .report-list ol { margin: 0 0 16px; }

/* 结尾 CTA */
.callout-cta { max-width: 820px; padding: 28px 30px; }
.callout-cta h2 { font-size: 1.25rem; color: var(--c-deep); margin: 0 0 10px; }
.callout-cta p { margin: 0 0 12px; }
.callout-cta p:last-child { margin-bottom: 0; }

/* 打印 */
@media print {
  .site-header, .site-footer, .report-aside, .report-actions, .callout-cta, .crumbs, .skip-link { display: none !important; }
  .report-layout { display: block; }
  .report-body { max-width: none; font-size: 10.5pt; }
  .report-body h2 { page-break-after: avoid; }
  .report-table, .report-fig { page-break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #666; }
}
