.research-shell {
  overflow-x: hidden;
}

.research-page {
  overflow-x: hidden;
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 24px 86px;
}

.research-hero {
  display: grid;
  gap: 16px;
  min-width: 0;
  max-width: 860px;
  margin-bottom: 34px;
}

.research-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.research-hero p {
  max-width: 820px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}

.research-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.research-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.research-snapshot div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
}

.research-snapshot span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.research-snapshot strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.research-snapshot p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.research-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  min-width: 0;
}

.research-toc {
  position: sticky;
  top: 92px;
  display: grid;
  min-width: 0;
  max-height: calc(100vh - 116px);
  overflow: auto;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 16px;
}

.research-toc::after {
  content: "";
  pointer-events: none;
  position: sticky;
  bottom: -16px;
  display: block;
  height: 20px;
  margin: 0 -16px -16px;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96));
}

.research-toc strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
}

.research-toc a {
  border-radius: 6px;
  color: var(--muted);
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 650;
}

.research-toc a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.research-toc .toc-l3 {
  padding-left: 18px;
  font-size: 12px;
}

.research-report {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
  padding: 42px;
}

.research-report h1,
.research-report h2,
.research-report h3 {
  scroll-margin-top: 100px;
}

.research-report h1 {
  margin: 0 0 22px;
  font-size: 36px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.title-part {
  display: inline;
}

.research-report h2 {
  margin: 44px 0 14px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  font-size: 28px;
  line-height: 1.22;
}

.research-report h3 {
  margin: 30px 0 12px;
  font-size: 21px;
  line-height: 1.3;
}

.research-report p,
.research-report li {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.research-report p {
  margin: 0 0 14px;
}

.research-report ol {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.research-report a {
  overflow-wrap: anywhere;
}

.research-report code {
  border-radius: 5px;
  background: #eef6f3;
  color: var(--green);
  padding: 2px 5px;
  font-size: 13px;
}

.research-report blockquote {
  margin: 18px 0;
  border-left: 3px solid var(--green);
  background: #f5faf8;
  padding: 14px 18px;
}

.research-report hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

.research-report pre {
  overflow-x: auto;
  border: 1px solid #273044;
  border-radius: 8px;
  background: #111827;
  color: #e8eefc;
  padding: 18px;
  font-size: 13px;
  line-height: 1.75;
}

.report-table {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.report-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.report-table th,
.report-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.report-table th {
  color: var(--muted);
  background: #fbfcfe;
  font-size: 12px;
}

.report-table tr:last-child td {
  border-bottom: 0;
}

.report-table .num {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .research-layout {
    grid-template-columns: 1fr;
  }

  .research-toc {
    position: static;
    max-height: 220px;
  }

  .research-snapshot {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .research-shell .site-header {
    position: static;
  }

  .research-shell .nav-wrap {
    grid-template-columns: 1fr auto;
    height: 64px;
    gap: 10px;
    padding: 0 14px;
  }

  .research-shell .brand {
    justify-self: start;
  }

  .research-shell .brand-mark-shell {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .research-shell .brand-mark-small {
    width: 26px;
    height: 22px;
  }

  .research-shell .brand-name {
    font-size: 18px;
  }

  .research-shell .nav-links,
  .research-shell .nav-actions .ghost-link {
    display: none;
  }

  .research-shell .nav-actions {
    justify-self: end;
    width: auto;
  }

  .research-shell .nav-actions .solid-link {
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .research-page {
    width: 100%;
    max-width: 100vw;
    padding: 32px 14px 58px;
  }

  .research-hero {
    gap: 14px;
    width: 100%;
    max-width: calc(100vw - 28px);
    margin-bottom: 22px;
  }

  .research-hero h1 {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.12;
    word-break: break-all;
  }

  .research-hero .title-part,
  .research-report .title-part {
    display: block;
  }

  .research-hero p {
    width: 100%;
    max-width: 330px;
    font-size: 15px;
    line-height: 1.68;
    word-break: break-all;
  }

  .research-layout {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .research-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .research-actions a {
    width: 100%;
  }

  .research-report {
    width: 100%;
    max-width: calc(100vw - 28px);
    border-radius: 8px;
    padding: 24px 16px;
  }

  .research-report h1 {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.2;
    word-break: break-all;
  }

  .research-report h2 {
    margin-top: 34px;
    padding-top: 26px;
    font-size: 23px;
  }

  .research-report h3 {
    margin-top: 24px;
    font-size: 18px;
  }

  .research-report p,
  .research-report li {
    width: 100%;
    max-width: 330px;
    font-size: 14px;
    line-height: 1.82;
    word-break: break-all;
  }

  .research-report .report-meta {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.78;
  }

  .research-report ol {
    padding-left: 20px;
  }

  .research-toc {
    width: 100%;
    max-width: calc(100vw - 28px);
    max-height: 180px;
    padding: 14px;
  }

  .research-toc a {
    padding: 7px 8px;
  }

  .research-snapshot div {
    padding: 14px;
  }

  .research-snapshot strong {
    font-size: 20px;
  }

  .research-snapshot p {
    max-width: 330px;
    word-break: break-all;
  }

  .report-table {
    margin-inline: -2px;
  }

  .report-table::before {
    content: "横向滑动查看完整表格";
    display: block;
    position: sticky;
    left: 0;
    width: max-content;
    padding: 9px 12px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .report-table table {
    min-width: 560px;
  }

  .report-table th,
  .report-table td {
    padding: 11px 12px;
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .research-shell .nav-actions .solid-link {
    max-width: 108px;
    padding: 0 10px;
    font-size: 13px;
  }

  .research-page {
    padding-inline: 12px;
  }

  .research-hero h1 {
    font-size: 29px;
  }

  .research-report h1 {
    font-size: 25px;
  }
}
