@media (min-width: 801px) {
  .agent-launcher {
    right: max(30px, calc((100vw - var(--page-width, 1440px)) / 2 + 30px));
  }

  .agent-bottom-dock {
    left: max(280px, calc((100vw - var(--page-width, 1440px)) / 2 + 280px));
    right: max(18px, calc((100vw - var(--page-width, 1440px)) / 2 + 18px));
    bottom: 18px;
    height: min(48dvh, 520px);
    min-height: 360px;
  }

  .agent-bottom-dock .agent-panel {
    overflow: hidden;
    border: 1px solid var(--theme-divider, var(--line));
    border-radius: 20px;
  }

  .report-toolbar {
    min-height: 58px;
    flex-wrap: nowrap;
  }

  .report-toc {
    top: 74px;
  }

  .toc-items {
    max-height: calc(100vh - 104px);
  }
}

.section-card {
  scroll-margin-top: 74px;
}

.agent-launcher {
  min-width: 164px;
  grid-template-columns: 38px auto;
  column-gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 18px;
}

.agent-launcher::after {
  inset: -4px;
  border-radius: 22px;
}

.agent-launcher > span {
  width: 38px;
  height: 38px;
  font-size: 17px;
}

.agent-launcher strong {
  font-size: 15px;
}

.section-title > span {
  align-self: flex-start;
  margin-bottom: 9px;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--theme-primary, #286458) 28%, var(--line, #dedfd5));
  border-radius: 8px;
  background: color-mix(in srgb, var(--theme-primary, #286458) 10%, var(--paper, #fffef9));
  color: var(--theme-primary, #286458);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .06em;
}

@media (max-width: 800px) {
  .section-title > span { padding: 4px 10px; font-size: 17px; }
  .section-card { scroll-margin-top: 112px; }
}

/* ──「报告简单解读」下线（2026-09-02 委托人决定）────────────────────────
 *
 * 委托人：「看不出来有任何意义，先去掉吧，不要浪费 token」。
 *
 * ★ 为什么用 CSS 隐藏，而不是删掉 React 组件：
 *   那个组件即使没有数据也会渲染整块外壳（标题＋说明＋按钮），
 *   所以光让后端不返回内容并不能让它消失。而删组件要重新构建前端——
 *   目前重新构建会把「暂不上线」的器官图谱一并带上生产。
 *   等器官图谱的事有了结论、前端可以重新构建时，应当**真正删掉组件**，
 *   届时连同这段 CSS 一起移除。
 *
 * ★ 为什么要 !important：本文件在 HTML 里排在构建产物 CSS 之前，
 *   同特异性下后加载者胜出，不加就压不住。
 *
 * 后端侧同时已停用 /api/report-agent/summary（默认不调模型、直接回空），
 * 所以此处只是把已经空掉的外壳藏起来，两边缺一不可：
 * 只藏不停 = 照样烧 token；只停不藏 = 页面上留一块空壳。
 *
 * 客户主动提问的「智能解读」对话不受影响——它有自己的入口 .agent-launcher。
 */
.report-simple-summary {
  display: none !important;
}
