:root { --bg: #10141d; --ink: #e9ecf5; --muted: #adb7ca; --line: #333c4e; --panel: #1a2130; --accent: #8aafff; --pink: #ff91c7; --header: rgba(16,20,29,.96); }
[data-theme="light"] { --bg: #f7f7f5; --ink: #252733; --muted: #656b79; --line: #d9dde4; --panel: #fff; --accent: #245e92; --pink: #a02464; --header: rgba(247,247,245,.97); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0px; background: var(--bg); color: var(--ink); font: 17px / 1.8 "Microsoft YaHei", system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
.site-header { position: sticky; top: 0px; z-index: 100; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(14px); }
.site-header-inner { max-width: 1370px; padding: 16px 32px; margin: auto; display: flex; align-items: center; gap: 28px; }
.site-brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-brand img { width: 28px; height: 28px; border-radius: 5px; margin: 0px; }
.site-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.site-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.site-nav a[aria-current] { color: var(--ink); font-weight: 700; }
.hd-r { display: flex; align-items: center; }
.hd-r button { width: 36px; height: 36px; display: grid; place-items: center; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.hd-r svg { width: 18px; height: 18px; }
.hd-r .moon { display: none; }
[data-theme="light"] .hd-r .moon { display: block; }
[data-theme="light"] .hd-r .sun { display: none; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 200; padding: 10px 20px; background: var(--panel); color: var(--ink); }
.skip-link:focus { top: 8px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 11px; font-size: 13px; color: var(--muted); margin: 0px 0px 30px; }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.site-footer { max-width: 1306px; margin: 50px auto 0px; padding: 25px 0px 35px; display: flex; gap: 22px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.research-index { max-width: 1120px; margin: 0px auto; padding: 45px 32px 70px; min-height: 65vh; }
.research-eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 700; color: var(--pink); margin-top: 48px; }
.research-index h1 { font-size: 44px; line-height: 1.3; margin: 12px 0px 20px; }
.research-intro { color: var(--muted); max-width: 700px; margin: 0px 0px 45px; }
.research-card { display: grid; grid-template-columns: 1.6fr 1fr; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); text-decoration: none; color: var(--ink); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.research-card:hover { border-color: var(--pink); transform: translateY(-2px); }
.research-card-copy { padding: 34px 38px; }
.research-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.research-meta span { color: var(--pink); font-weight: 700; }
.research-card h2 { font-size: 28px; line-height: 1.4; margin: 0px 0px 7px; }
.research-card p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 14px 0px 22px; }
.research-card .research-subtitle { font-size: 19px; color: var(--ink); margin: 0px 0px 18px; }
.read-link { font-size: 14px; font-weight: 700; color: var(--accent); }
.research-card-mark { background: linear-gradient(140deg, rgba(160, 36, 100, 0.13), rgba(36, 94, 146, 0.07)); display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 250px; gap: 18px; border-left: 1px solid var(--line); }
.research-card-mark > span { color: var(--pink); font-size: 78px; font-weight: 900; line-height: 1; letter-spacing: -4px; }
.research-card-mark small { color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.method-page { max-width: 1000px; margin: 40px auto 70px; padding: 0px 30px; }
.method-page h1 { font-size: 30px; line-height: 1.5; }
.method-page h2 { font-size: 23px; margin-top: 35px; }
.method-page table { border-collapse: collapse; font-size: 14px; display: block; overflow: auto; max-width: 100%; }
.method-page th, .method-page td { padding: 10px 13px; border: 1px solid var(--line); min-width: 90px; }
.method-page pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.method-page code { overflow-wrap: anywhere; }
.method-page p { overflow-wrap: anywhere; }
.method-page img { max-width: 100%; height: auto; }
@media (max-width: 980px) {
  .site-footer { margin-left: 22px; margin-right: 22px; }
  .site-header-inner { padding: 13px 22px; gap: 15px; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 13px; }
  .research-index { padding: 30px 22px 50px; }
  .research-index h1 { font-size: 34px; }
  .research-card-copy { padding: 28px; }
  .research-card h2 { font-size: 24px; }
  .research-card-mark > span { font-size: 64px; }
}
@media (max-width: 600px) {
  .site-brand { font-size: 19px; }
  .site-nav a:first-child { display: none; }
  .site-header-inner { gap: 12px; }
  .research-card { grid-template-columns: 1fr; }
  .research-card-mark { min-height: 130px; flex-direction: row; gap: 28px; border-left: 0px; border-top: 1px solid var(--line); }
  .research-card-mark > span { font-size: 48px; }
  .research-card-mark small { max-width: 80px; line-height: 1.8; }
  .research-eyebrow { margin-top: 30px; }
  .research-card-copy { padding: 25px; }
  .research-intro { font-size: 16px; }
  .method-page { padding: 0px 22px; }
  .method-page h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .research-card { transition: none; }
  .research-card:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .breadcrumbs, .skip-link { display: none; }
  body { background: rgb(255, 255, 255); color: rgb(0, 0, 0); }
  .method-page { max-width: none; padding: 0px; }
}
.research-index .research-card + .research-card { margin-top: 24px; }
:root { --bg: #f7f7f5; --ink: #252733; --muted: #656b79; --line: #d9dde4; --pink: #a02464; --blue: #245e92; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0px; background: var(--bg); color: var(--ink); font: 17px / 1.8 "Microsoft YaHei", system-ui, sans-serif; }
.layout { display: grid; grid-template-columns: 220px minmax(0px, 1040px); gap: 44px; max-width: 1370px; padding: 45px 32px 90px; margin: auto; }
aside { position: sticky; top: 35px; height: max-content; }
aside .label { font-size: 12px; letter-spacing: 2px; color: var(--pink); font-weight: 700; margin-bottom: 20px; }
aside a { display: block; text-decoration: none; padding: 12px 0px; color: var(--muted); line-height: 1.5; font-size: 15px; }
aside a:hover { color: var(--pink); }
aside .downloads { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; }
main { min-width: 0px; }
h1 { font-size: 36px; line-height: 1.35; margin: 0px 0px 27px; letter-spacing: -0.5px; }
h2 { font-size: 27px; line-height: 1.5; margin: 65px 0px 25px; padding: 16px 0px; border-top: 3px solid var(--pink); }
h3 { font-size: 21px; line-height: 1.5; margin: 32px 0px 18px; }
p { margin: 16px 0px; }
a { color: var(--blue); text-underline-offset: 4px; }
strong { font-weight: 700; }
ul { padding-left: 24px; }
li { padding: 4px 0px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; margin: 22px 0px; background: white; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.75; }
thead { background: rgb(237, 240, 244); }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 80px; }
th { font-weight: 700; text-align: left; }
tr:last-child td { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }
th:first-child, td:first-child { min-width: 145px; }
img { display: block; width: 100%; height: auto; border-radius: 5px; margin: 26px 0px; }
code { background: rgb(232, 235, 238); padding: 2px 5px; border-radius: 3px; font-size: 14px; overflow-wrap: anywhere; }
footer { margin-top: 45px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; padding: 26px 22px 60px; gap: 20px; }
  aside { position: static; display: flex; flex-wrap: wrap; gap: 0px 20px; }
  aside .label { width: 100%; margin: 0px; }
  aside .downloads { border: 0px; padding: 0px; margin: 0px; display: flex; gap: 20px; }
  h1 { font-size: 29px; }
  h2 { font-size: 25px; }
  body { font-size: 16px; }
  th, td { min-width: 115px; }
  img { margin: 22px 0px; }
}
@media print {
  aside { display: none; }
  .layout { display: block; max-width: none; padding: 0px; }
  body { font-size: 10pt; background: white; }
  h1 { font-size: 23pt; }
  h2 { font-size: 18pt; break-before: page; margin-top: 0px; }
  h3 { font-size: 13pt; break-after: avoid; }
  table { font-size: 9pt; }
  tr { break-inside: avoid; }
  img { max-height: 360px; object-fit: contain; }
  .table-wrap { overflow: visible; }
  a { color: inherit; }
}
:root { --bg: #10141d; --ink: #e9ecf5; --muted: #adb7ca; --line: #333c4e; --panel: #1a2130; --pink: #ff91c7; --blue: #8aafff; }
[data-theme="light"] { --bg: #f7f7f5; --ink: #252733; --muted: #656b79; --line: #d9dde4; --panel: #fff; --pink: #a02464; --blue: #245e92; }
html { scroll-padding-top: 100px; }
.layout { padding-top: 32px; padding-bottom: 30px; }
.layout aside { top: 100px; }
.table-wrap { background: var(--panel); }
thead { background: rgba(127, 139, 160, 0.12); }
code { background: rgba(127, 139, 160, 0.14); color: var(--ink); }
main p, main li { overflow-wrap: anywhere; }
.site-brand img { width: 28px; height: 28px; margin: 0px; }
.site-footer { line-height: 1.8; margin-top: 40px; }
.breadcrumbs { line-height: 1.7; }
.site-header a { color: var(--ink); }
.site-header .site-nav a { color: var(--muted); }
.site-header .site-nav a[aria-current] { color: var(--ink); }
.site-footer { max-width: 1306px; }
.site-footer a { color: var(--muted); }
@media (max-width: 980px) {
  .layout { padding-top: 25px; }
  .layout aside { top: auto; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .layout aside a { font-size: 13px; padding: 8px 0px; }
  .layout aside .label { font-size: 11px; }
  h1 { font-size: 29px; }
  .breadcrumbs { margin-bottom: 24px; }
}
@media print {
  .site-header, .site-footer, .breadcrumbs { display: none; }
  :root, [data-theme="light"] { --bg: #fff; --ink: #000; --muted: #444; --line: #bbb; --panel: #fff; --pink: #000; --blue: #000; }
  .layout { padding: 0px; }
}