/* Research shares the site navigation and has its own long-form reading layout. */
.research-page:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  --bg: #fff;
  background: #fff;
}
.research-main:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  padding-top: 150px;
  padding-bottom: 120px;
}
.research-index-header:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  max-width: 800px;
  margin-bottom: 72px;
}
.research-index-header h1:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 18px 0 20px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.research-index-header p:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 19px;
}
.research-list-heading:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.research-list-heading h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 18px;
}
.research-list-heading h2 span:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-left: 8px;
  color: var(--muted);
  font-size: 14px;
}
.research-list-heading > span:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 13px;
  color: var(--muted);
}
.research-list:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 0;
  padding: 0;
  list-style: none;
}
.research-list-item:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 32px;
  gap: 30px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.research-list-item time:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  padding-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.research-category:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--accent);
}
.research-list-copy h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color 150ms;
}
.research-list-copy p:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 15px;
  max-width: 760px;
}
.research-list-arrow:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--accent);
  font-size: 24px;
  padding-top: 28px;
}
.research-list-item:hover h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--accent);
}
.research-back:where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.research-all:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: inline-block;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.8;
}
.research-all:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-top: 18px;
}
.research-article-header:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  max-width: 960px;
  margin: 44px 0 56px;
}
.research-article-meta:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
}
.research-article-meta > span:first-child:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--accent);
}
.research-article-header h1:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.research-article-header .research-author:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 14px;
  margin-top: 26px;
}
.research-article-layout:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: grid;
  grid-template-columns: 220px minmax(0, 800px);
  gap: 64px;
  align-items: start;
}
.research-cover:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 0 0 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.research-cover img:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: block;
  width: 100%;
  height: auto;
}
.research-case:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 48px 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.research-case .research-case-model:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--accent);
  font-size: 14px;
}
.research-prose .research-video-portrait video:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  width: min(100%, 380px);
}
.research-demo:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 24px 0 40px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f8fc;
}
.research-demo summary:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  cursor: pointer;
  color: var(--accent);
  font-size: 15px;
}
.research-demo iframe:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: block;
  width: 100%;
  height: 680px;
  margin: 20px 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.research-demo p:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 14px;
  margin: 0;
}
.research-article-layout > div:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  min-width: 0;
}
.research-toc:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 16px;
  scrollbar-width: thin;
}
.research-toc summary:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.research-toc ol:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.research-toc li:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.research-toc li.research-toc-level-3:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  padding-left: 14px;
  font-size: 12px;
}
.research-toc a:hover:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--accent);
}
.research-prose:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 17px;
  line-height: 1.9;
  color: #283549;
  overflow-wrap: anywhere;
}
.research-prose p:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: inherit;
  line-height: inherit;
  margin: 0 0 1.3em;
}
.research-prose h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.research-prose h3:where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.research-prose h4:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--ink);
  line-height: 1.5;
  scroll-margin-top: 110px;
}
.research-prose h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 28px;
  margin: 2em 0 0.8em;
}
.research-prose h3:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 22px;
  margin: 1.8em 0 0.7em;
}
.research-prose h4:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 18px;
  margin: 1.5em 0 0.6em;
}
.research-prose strong:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-weight: 650;
}
.research-prose a:where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.research-article-source a:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.research-prose ul:where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.research-prose ol:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  padding-left: 1.5em;
  margin: 0 0 1.4em;
}
.research-prose li:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 0.4em 0;
}
.research-prose img:where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.research-prose video:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
}
.research-prose video:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  width: 100%;
}
.research-prose figure:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin: 28px 0;
}
.research-prose figcaption:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.research-chart-scroll:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  max-width: 100%;
  overflow-x: auto;
}
.research-chart-scroll img:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  min-width: 680px;
}
.research-prose blockquote:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  border-left: 3px solid #aab8ff;
  background: #f5f7ff;
  padding: 18px 22px;
  margin: 24px 0;
}
.research-prose blockquote p:last-child:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-bottom: 0;
}
.research-prose code:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  font-size: 0.86em;
  background: #f1f4f9;
  padding: 2px 5px;
  border-radius: 4px;
}
.research-prose pre:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  background: #f3f5f9;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre;
  overflow-wrap: normal;
  margin: 24px 0;
}
.research-prose pre code:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  background: none;
  padding: 0;
  font-size: inherit;
}
.research-table:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  max-width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.research-table table:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: normal;
}
.research-table th:where(:not(.nh, .nh *, .nh-home, .nh-home > body)),.research-table td:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  padding: 12px 16px;
  text-align: left;
  min-width: 100px;
  border-bottom: 1px solid var(--line);
}
.research-table th:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  background: #f3f5fa;
  font-weight: 600;
}
.research-prose .katex-display:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0;
  max-width: 100%;
}
.research-prose .katex:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  overflow-wrap: normal;
  font-size: 1.05em;
}
.research-prose hr:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}
.research-article-source:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.research-bottom-back:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
  margin-top: 32px;
}
@media (max-width: 1000px) {
  .research-article-layout:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .research-toc:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    position: static;
    max-height: 240px;
    padding: 20px;
    background: #f7f8fb;
    border-radius: 12px;
  }
}
@media (max-width: 760px) {
  .research-main:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    padding-top: 110px;
    padding-bottom: 72px;
  }
  .research-index-header:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    margin-bottom: 44px;
  }
  .research-index-header p:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 16px;
  }
  .research-list-item:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 26px 0;
  }
  .research-list-item time:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    grid-column: 1 / -1;
    font-size: 13px;
    padding: 0;
  }
  .research-list-copy h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 21px;
  }
  .research-list-copy p:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 14px;
  }
  .research-article-header:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    margin: 32px 0;
  }
  .research-prose:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 16px;
  }
  .research-prose h2:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 25px;
  }
  .research-prose h3:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    font-size: 20px;
  }
  .research-prose pre:where(:not(.nh, .nh *, .nh-home, .nh-home > body)){
    padding: 16px;
    font-size: 12px;
  }
}
