:root {
  --bg: #fff;
  --ink: #15191d;
  --muted: #616c76;
  --line: #e7ebef;
  --blue: #2878ae;
  --green: #31866a;
  --soft: #f7f9fc;
  --light-blue: #edf5fb;
  --light-green: #eef8f2;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
img,
video {
  display: block;
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--blue);
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.section {
  padding-block: 96px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: white;
  padding: 12px;
  border: 1px solid var(--ink);
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  min-height: 90px;
  width: min(1440px, calc(100% - 80px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.brand svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
#navigation {
  display: flex;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 40px;
}
#navigation a {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 30px;
}
#navigation a:hover {
  color: var(--ink);
  background: var(--soft);
}
.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}
.github-link {
  font-size: 13px;
}
.button {
  display: inline-flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 30px;
  transition: background 0.2s;
}
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.button.dark {
  color: white;
  background: var(--ink);
}
.button.dark:hover {
  background: #33444f;
}
.button.outline {
  background: white;
  border-color: #dce1e6;
}
.button.outline:hover {
  background: var(--soft);
}
.button.small {
  min-height: 39px;
  padding: 9px 18px;
  font-size: 12px;
}
.menu-toggle {
  display: none;
}
.hero {
  padding-top: 56px;
}
.hero-copy {
  text-align: center;
}
.research-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.research-label > span {
  height: 7px;
  width: 7px;
  background: var(--green);
  border-radius: 50%;
}
h1 {
  margin-top: 23px;
  font-size: clamp(40px, 4.35vw, 64px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}
h1 > span {
  background: linear-gradient(105deg, var(--blue) 25%, var(--green) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-scope {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
.hero-scope span {
  margin-inline: 12px;
  color: #b0b9bf;
}
.video-halo {
  max-width: 1060px;
  margin-top: 50px;
  position: relative;
}
.video-halo::before {
  content: "";
  position: absolute;
  inset: -25px -25px 35px;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, #e2eefb 0, transparent 60%),
    radial-gradient(ellipse at 85% 70%, #e2f3eb 0, transparent 60%);
  filter: blur(22px);
  opacity: 0.8;
}
.video-frame {
  position: relative;
  padding: 6px;
  border: 1px solid #e4e9ed;
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 45px #243f5510;
}
.video-frame video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  background: white;
}
.video-start {
  display: none;
  position: absolute;
  inset: 6px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}
.video-frame.has-start .video-start {
  display: block;
}
.video-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding: 18px 4px 0;
}
.caption-dot {
  margin-inline: 7px;
  color: #a7b2bc;
}
.video-caption > div {
  display: flex;
  gap: 22px;
}
.section-label {
  font-size: 12px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 16px;
}
h2 {
  font-size: 34px;
  letter-spacing: -0.035em;
  line-height: 1.24;
}
.section-intro {
  text-align: center;
  margin-bottom: 42px;
}
.section-intro > p:last-child:not(.section-label) {
  margin-top: 20px;
  line-height: 1.65;
  color: var(--muted);
  font-size: 14px;
}
.overview-section {
  padding-top: 90px;
  padding-bottom: 78px;
}
.overview-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.overview-text strong {
  font-weight: 500;
  color: var(--ink);
}
.domain-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.framework-section {
  background: var(--soft);
}
.framework-layout {
  display: grid;
  grid-template-columns: 266px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.framework-tabs {
  display: grid;
  gap: 4px;
}
.framework-tab {
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 18px 19px;
}
.framework-tab:hover {
  background: #fff8;
}
.tab-title {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.tab-title > span {
  color: #9cabb5;
  margin-left: auto;
}
.tab-detail {
  display: none;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 11px;
}
.framework-tab[aria-selected="true"] {
  background: white;
  border-color: var(--line);
  box-shadow: 0 5px 15px #263c4a04;
}
.framework-tab[aria-selected="true"] .tab-title {
  color: var(--blue);
}
.framework-tab[aria-selected="true"] .tab-detail {
  display: block;
}
.framework-panel {
  min-width: 0;
}
.paper-figure {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  overflow: hidden;
}
.figure-open {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 405px;
  cursor: zoom-in;
}
.figure-open img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.expand-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: #fffffff0;
  border-radius: 7px;
  font-size: 20px;
  color: var(--muted);
}
.figure-open:hover .expand-icon {
  background: var(--light-blue);
  color: var(--blue);
}
figcaption {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
figcaption strong {
  font-weight: 500;
  color: var(--ink);
}
figcaption a {
  white-space: nowrap;
  color: var(--blue);
}
.framework-note {
  margin-top: 24px;
  margin-left: 306px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}
.result-summary {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}
.result-summary > div {
  width: 255px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.result-summary > div:last-child {
  border: 0;
}
.result-summary > div > strong {
  display: block;
  font-weight: 500;
  font-size: 51px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.result-summary strong > span {
  font-size: 28px;
}
.result-summary > div > span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}
.result-summary small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
}
.both-stat > strong {
  color: var(--green);
}
.summary-note {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  margin: 28px 0 44px;
  color: var(--muted);
}
.summary-note strong {
  font-weight: 500;
}
.result-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
}
.result-tabs button {
  background: transparent;
  border: 1px solid transparent;
  padding: 11px 20px;
  border-radius: 30px;
  font-size: 12px;
  color: var(--muted);
}
.result-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--soft);
  border-color: var(--line);
}
.result-tabs button:hover {
  color: var(--ink);
}
.table-scroll {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
caption {
  caption-side: bottom;
  text-align: left;
  padding: 16px 22px;
  background: var(--soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
th,
td {
  padding: 16px 22px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-weight: 500;
  font-size: 11px;
  background: var(--soft);
  color: var(--muted);
}
tbody th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 400;
}
tbody td {
  font-variant-numeric: tabular-nums;
}
tbody td strong {
  color: var(--green);
  font-weight: 500;
}
tbody td small {
  display: inline-block;
  margin-left: 9px;
  color: var(--muted);
  font-size: 10px;
}
tbody tr:hover {
  background: #f8fbfd;
}
.result-footnote {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
  margin-top: 18px;
}
.result-panel .figure-open {
  min-height: 0;
  padding: 28px;
}
#result-panel-rules .figure-open img {
  max-width: 880px;
}
.results-download {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--blue);
}
.results-download span {
  margin-left: 8px;
}
.notes-section {
  background: var(--soft);
}
.notes-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 80px;
}
.notes-layout > div:first-child > p:last-child {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 22px;
}
details {
  border-bottom: 1px solid #dee5eb;
}
details:first-child {
  border-top: 1px solid #dee5eb;
}
summary {
  padding: 22px 0;
  cursor: pointer;
  font-size: 14px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
summary::-webkit-details-marker {
  display: none;
}
summary > span {
  font-size: 20px;
  color: var(--muted);
  font-weight: 400;
}
details[open] summary > span {
  transform: rotate(45deg);
}
details p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 12px;
  margin: 0 20px 20px 0;
}
.paper-callout {
  background: linear-gradient(115deg, #edf5fb, #f2f8f4);
  border: 1px solid #e4edf2;
  border-radius: 20px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.paper-callout h2 {
  font-size: 38px;
}
.paper-title {
  font-size: 17px;
  line-height: 1.55;
  margin-top: 13px;
  max-width: 420px;
}
.paper-meta {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 16px;
}
.paper-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.paper-actions .button {
  font-size: 11px;
  padding: 11px 16px;
  min-height: 42px;
  gap: 12px;
}
.citation-box {
  min-width: 0;
  background: #ffffffb8;
  border: 1px solid #e0e8ee;
  border-radius: 12px;
  overflow: hidden;
}
.citation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
  padding: 11px 17px;
  color: var(--muted);
}
.citation-heading button {
  background: white;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 10px;
}
pre {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.85;
  padding: 18px;
  margin: 0;
  overflow: auto;
}
.resource-note {
  font-size: 11px;
  color: var(--muted);
  margin: 21px 4px 0;
}
.site-footer {
  padding-block: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer .brand {
  font-size: 20px;
}
.site-footer > span {
  font-size: 11px;
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  gap: 22px;
  font-size: 11px;
}
#figure-dialog {
  width: min(1460px, 95vw);
  max-width: 95vw;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  box-shadow: 0 20px 100px #172f3340;
}
#figure-dialog::backdrop {
  background: #18253299;
  backdrop-filter: blur(5px);
}
.dialog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.dialog-toolbar > div {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.dialog-toolbar button {
  background: transparent;
  border: 0;
  padding: 7px 2px;
  font-size: 12px;
}
#figure-close {
  font-size: 24px;
  line-height: 1;
  padding: 5px 8px;
}
.dialog-canvas {
  padding: 24px;
  overflow: auto;
  max-height: 80vh;
}
.dialog-canvas img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}
.dialog-canvas.zoomed img {
  width: 200%;
  max-width: none;
  max-height: none;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 1080px) {
  .site-header {
    width: calc(100% - 48px);
    gap: 16px;
  }
  .header-actions .github-link {
    display: none;
  }
  #navigation a {
    padding-inline: 12px;
  }
  .framework-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 24px;
  }
  .framework-note {
    margin-left: 254px;
  }
  .figure-open {
    min-height: 350px;
  }
  .notes-layout {
    gap: 50px;
  }
  .paper-callout {
    gap: 30px;
    padding: 32px;
  }
  .site-footer > span {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    scroll-padding-top: 30px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    position: relative;
    min-height: 76px;
    width: calc(100% - 40px);
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    font-size: 22px;
  }
  .brand svg {
    width: 29px;
    height: 29px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 20px;
    font-size: 12px;
  }
  .menu-toggle > span {
    font-size: 13px;
  }
  .header-actions {
    display: none;
  }
  #navigation {
    display: none;
    width: 100%;
    margin-bottom: 16px;
    justify-content: center;
    border-radius: 15px;
  }
  #navigation.open {
    display: flex;
  }
  #navigation a {
    padding: 9px 12px;
    font-size: 12px;
  }
  .hero {
    padding-top: 35px;
  }
  h1 {
    font-size: clamp(33px, 6.6vw, 49px);
    line-height: 1.16;
    letter-spacing: -0.045em;
    margin-top: 20px;
  }
  .research-label {
    font-size: 11px;
  }
  .hero-subtitle {
    font-size: 14px;
    margin-top: 20px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .button {
    font-size: 12px;
    min-height: 45px;
    padding: 11px 20px;
    gap: 10px;
  }
  .hero-scope {
    font-size: 10px;
    margin-top: 20px;
  }
  .hero-scope span {
    margin-inline: 5px;
  }
  .video-halo {
    margin-top: 34px;
  }
  .video-halo::before {
    inset-inline: -10px;
    filter: blur(15px);
  }
  .video-frame {
    padding: 4px;
    border-radius: 12px;
  }
  .video-frame video {
    border-radius: 8px;
  }
  .video-caption {
    flex-wrap: wrap;
    font-size: 10px;
    gap: 9px;
    padding-top: 13px;
  }
  .video-caption > div {
    gap: 20px;
  }
  .section {
    padding-block: 64px;
  }
  h2 {
    font-size: 27px;
    line-height: 1.3;
  }
  h2 br {
    display: none;
  }
  .section-intro {
    margin-bottom: 30px;
  }
  .section-label {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .section-intro > p:last-child:not(.section-label) {
    font-size: 13px;
    margin-top: 16px;
  }
  .overview-text {
    grid-template-columns: 1fr;
    gap: 18px;
    font-size: 13px;
    line-height: 1.8;
  }
  .domain-list {
    gap: 12px 20px;
    font-size: 11px;
    margin-top: 25px;
  }
  .framework-layout {
    display: block;
  }
  .framework-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px;
  }
  .framework-tab {
    padding: 13px;
    border-color: var(--line);
  }
  .tab-title {
    font-size: 12px;
    gap: 6px;
  }
  .tab-title > span {
    display: none;
  }
  .framework-tab[aria-selected] .tab-detail {
    display: none;
  }
  .figure-open {
    min-height: 0;
    padding: 10px;
  }
  figcaption {
    display: block;
    padding: 14px;
    font-size: 10px;
  }
  figcaption a {
    display: block;
    margin-top: 6px;
  }
  .expand-icon {
    width: 26px;
    height: 26px;
    right: 8px;
    bottom: 8px;
    font-size: 18px;
  }
  .framework-note {
    margin: 16px 0 0;
    font-size: 11px;
  }
  .result-summary {
    margin-top: 30px;
  }
  .result-summary > div {
    width: 33.333%;
  }
  .result-summary > div > strong {
    font-size: 34px;
  }
  .result-summary strong > span {
    font-size: 18px;
  }
  .result-summary > div > span {
    font-size: 11px;
  }
  .result-summary small {
    font-size: 10px;
  }
  .summary-note {
    margin: 23px 0 30px;
    font-size: 11px;
  }
  .result-tabs {
    gap: 2px;
    margin-bottom: 20px;
  }
  .result-tabs button {
    padding: 10px 11px;
    font-size: 11px;
  }
  th,
  td {
    padding: 14px 16px;
  }
  table {
    font-size: 11px;
  }
  tbody th {
    font-size: 11px;
  }
  tbody td small {
    display: block;
    margin: 3px 0 0;
  }
  caption {
    padding: 13px 16px;
  }
  .result-panel .figure-open {
    padding: 10px;
  }
  .results-download {
    justify-content: start;
    gap: 14px;
    font-size: 11px;
  }
  .notes-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .notes-layout > div:first-child > p:last-child {
    margin-top: 15px;
  }
  summary {
    font-size: 13px;
    padding: 19px 0;
  }
  .paper-callout {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    gap: 28px;
    border-radius: 16px;
  }
  .paper-callout h2 {
    font-size: 32px;
  }
  .paper-title {
    font-size: 15px;
  }
  .paper-actions .button {
    font-size: 10px;
    padding: 10px 13px;
    gap: 8px;
  }
  pre {
    font-size: 9px;
    padding: 14px;
  }
  .resource-note {
    line-height: 1.7;
    font-size: 10px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 24px;
    gap: 18px;
  }
  .site-footer > div {
    gap: 17px;
    font-size: 10px;
  }
  .dialog-toolbar {
    gap: 10px;
    padding: 10px 12px;
    align-items: start;
    flex-direction: column;
    font-size: 11px;
  }
  .dialog-toolbar > div {
    width: 100%;
    gap: 20px;
  }
  #figure-close {
    margin-left: auto;
  }
  .dialog-canvas {
    padding: 12px;
  }
  .dialog-canvas.zoomed img {
    width: 300%;
  }
}
@media (max-width: 360px) {
  h1 {
    font-size: 30px;
  }
  .result-summary > div > strong {
    font-size: 29px;
  }
  .result-tabs button {
    font-size: 10px;
    padding-inline: 8px;
  }
  .paper-callout {
    padding: 22px 17px;
  }
}
/* Research detail sections keep long methods and tables available on demand. */
.reading-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 23px;
  margin-top: 29px;
  font-size: 11px;
  color: var(--blue);
}
.reading-guide > span {
  width: 100%;
  text-align: center;
  color: var(--muted);
  margin-bottom: 3px;
}
.construction-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 0;
  margin: 0;
}
.construction-flow li {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.step-number {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 16px;
}
.construction-flow h3,
.reproduce-grid h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.construction-flow p,
.reproduce-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.construction-flow strong {
  color: var(--ink);
  font-weight: 500;
}
p.source-reference,
.source-reference {
  display: block;
  margin-top: 24px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1.8;
}
.source-reference a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.research-details {
  margin-top: 38px;
}
.research-details summary {
  font-size: 15px;
  font-weight: 500;
  padding-block: 22px;
}
.detail-body {
  padding-bottom: 12px;
}
.detail-body > p {
  margin-right: 0;
  font-size: 13px;
  line-height: 1.85;
}
.detail-body > p:last-child {
  margin-bottom: 12px;
}
.task-equation {
  color: var(--blue);
  font-size: 23px !important;
  letter-spacing: 0.03em;
}
.task-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 35px;
  margin: 24px 0 30px;
}
.task-fields dt {
  font-size: 13px;
  font-weight: 500;
}
.task-fields dt > span {
  display: inline-block;
  min-width: 27px;
  color: var(--blue);
  font-size: 16px;
}
.task-fields dd {
  margin: 9px 0 0 27px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.information-boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  background: var(--soft);
  padding: 25px 28px;
  border-radius: 12px;
  margin: 22px 0;
}
.information-boundary h4 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 10px;
}
.information-boundary p {
  font-size: 12px;
  margin: 0;
}
.evidence-chain {
  margin: 26px 0;
}
.evidence-chain > div {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 25px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.evidence-chain dt {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
}
.evidence-chain dd {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}
.research-callout {
  border-left: 2px solid var(--blue);
  padding: 14px 20px;
  background: var(--light-blue);
  border-radius: 0 8px 8px 0;
}
.research-table tbody th {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}
.detail-body .table-scroll {
  margin: 20px 0;
}
code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.sequence-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
}
.sequence-line > span {
  color: var(--blue);
}
.check-list {
  margin: 0 0 22px;
  padding-left: 22px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.check-list li {
  padding: 5px 0 5px 8px;
}
.check-list li::marker {
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}
.evaluation-section {
  background: var(--soft);
}
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #dfe7ee;
  border-radius: 16px;
  overflow: hidden;
  background: white;
}
.verdict-grid article {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
}
.verdict-grid article:last-child {
  border: 0;
}
.verdict-label {
  display: block;
  color: var(--blue);
  font-size: 11px;
  margin-bottom: 15px;
}
.verdict-grid h3 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.verdict-grid p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}
.verdict-grid strong {
  font-weight: 500;
  color: var(--ink);
}
.verdict-formula {
  font-size: 19px;
  color: var(--green);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: auto;
}
.verdict-formula span {
  display: block;
  font-size: 16px;
  line-height: 1.8;
}
.verdict-formula span:last-child {
  color: #a74848;
}
.judge-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 38px;
}
.judge-detail h3 {
  font-size: 19px;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}
.judge-detail p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.rule-categories {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
}
.rule-categories dt {
  font-size: 12px;
  font-weight: 500;
}
.rule-categories dd {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin: 7px 0 0;
}
.record-partition {
  max-width: 820px;
  margin: -10px auto 35px;
}
.partition-bar {
  display: flex;
  gap: 3px;
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
}
.partition-both {
  background: var(--green);
}
.partition-false {
  background: #bb7166;
}
.partition-failed {
  background: #d7dfe5;
}
.partition-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin: 14px 0;
  font-size: 11px;
  color: var(--muted);
}
.partition-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.partition-legend i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.record-partition p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}
.record-partition strong {
  font-weight: 500;
  color: var(--ink);
}
.protocol-detail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
}
.protocol-detail summary {
  font-size: 13px;
}
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 36px;
  margin: 4px 0 25px;
}
.protocol-grid dt {
  font-size: 12px;
  font-weight: 500;
}
.protocol-grid dd {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.finding-strip {
  margin-top: 23px;
  border-left: 2px solid #c2d8e8;
  padding: 3px 0 3px 22px;
}
.finding-strip h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.finding-strip p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}
.finding-strip strong {
  color: var(--ink);
  font-weight: 500;
}
.finding-strip .source-reference {
  margin-top: 12px;
}
.domain-result-table {
  margin-top: 25px;
}
.detection-breakdown {
  display: flex;
  gap: 30px;
  margin: 28px 0 30px;
  padding: 24px;
  background: var(--soft);
  border-radius: 12px;
}
.detection-breakdown > div {
  flex: 1;
  text-align: center;
}
.detection-breakdown strong {
  display: block;
  color: var(--blue);
  font-size: 32px;
  font-weight: 500;
}
.detection-breakdown span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.case-section {
  background: var(--soft);
}
.case-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 75px;
}
.trace-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.trace-timeline li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  position: relative;
  padding-bottom: 22px;
}
.trace-timeline li:last-child {
  padding-bottom: 0;
}
.trace-timeline li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 70px;
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}
.trace-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  bottom: -7px;
  left: 73px;
  width: 1px;
  background: #cedeea;
}
.trace-seq {
  color: var(--blue);
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
  padding-top: 3px;
}
.trace-timeline h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.trace-timeline p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.case-verdict {
  padding: 30px;
  border: 1px solid #dfe7ee;
  background: white;
  border-radius: 16px;
  align-self: start;
}
.verdict-tag {
  color: #a74848;
  font-size: 11px;
  margin-bottom: 16px;
}
.case-verdict h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.case-verdict dl {
  margin: 26px 0 22px;
}
.case-verdict dl > div + div {
  margin-top: 20px;
}
.case-verdict dt {
  font-size: 12px;
  font-weight: 500;
}
.case-verdict dd {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 7px 0 0;
}
.case-conclusion {
  font-size: 12px;
  line-height: 1.8;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
#validation {
  background: white;
}
.notes-layout > *,
.case-layout > *,
.judge-detail > *,
.reproduce-grid > * {
  min-width: 0;
}
.notes-list .table-scroll {
  margin: 0 0 20px;
}
.notes-list .source-reference {
  font-size: 11px;
  margin-top: 0;
}
.compact-table th,
.compact-table td {
  padding: 13px 15px;
  font-size: 11px;
}
.compact-table caption {
  font-size: 10px;
  padding: 13px 15px;
}
.reproduce-section {
  border-top: 1px solid var(--line);
}
.reproduce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}
.reproduce-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.reproduce-grid dl {
  margin: 20px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.reproduce-grid dt {
  font-size: 11px;
  font-weight: 500;
}
.reproduce-grid dd {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 7px 0 0;
}
.extension-details {
  margin-top: 40px;
}
.author-details {
  margin-top: 30px;
}
.author-details summary {
  font-size: 12px;
}
.affiliation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 35px;
  margin: 0 0 24px;
}
.affiliation-list dt {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}
.affiliation-list dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.detail-body a:not(.button) {
  color: var(--blue);
}
@media (max-width: 1000px) {
  .construction-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 35px;
  }
  .verdict-grid article {
    padding: 23px;
  }
  .verdict-grid h3 {
    font-size: 17px;
  }
  .case-layout {
    gap: 35px;
  }
  .judge-detail {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .reading-guide {
    justify-content: flex-start;
    gap: 14px 22px;
    font-size: 10px;
  }
  .reading-guide > span {
    text-align: left;
  }
  .construction-flow {
    gap: 26px 22px;
  }
  .construction-flow h3 {
    font-size: 15px;
    line-height: 1.4;
  }
  .construction-flow p {
    font-size: 12px;
    line-height: 1.8;
  }
  .step-number {
    margin-bottom: 12px;
    font-size: 11px;
  }
  .research-details summary {
    font-size: 13px;
    line-height: 1.6;
    gap: 20px;
  }
  .research-details summary > span {
    flex-shrink: 0;
  }
  .detail-body > p {
    font-size: 12px;
  }
  .task-fields {
    grid-template-columns: 1fr 1fr;
    gap: 23px 20px;
  }
  .task-fields dt {
    font-size: 12px;
  }
  .task-fields dd {
    margin-left: 0;
    font-size: 11px;
  }
  .information-boundary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }
  .evidence-chain > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }
  .evidence-chain dd {
    font-size: 12px;
  }
  .sequence-line {
    flex-direction: column;
    gap: 8px;
  }
  .sequence-line > span {
    transform: rotate(90deg);
  }
  .check-list {
    font-size: 12px;
    padding-left: 18px;
  }
  .verdict-grid {
    grid-template-columns: 1fr;
  }
  .verdict-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 25px;
  }
  .verdict-grid h3 {
    font-size: 20px;
  }
  .verdict-formula {
    font-size: 18px;
  }
  .judge-detail {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 30px;
  }
  .judge-detail h3 {
    font-size: 18px;
  }
  .judge-detail p {
    font-size: 12px;
  }
  .rule-categories {
    gap: 22px;
  }
  .rule-categories dd {
    font-size: 11px;
  }
  .record-partition {
    margin: 0 0 27px;
  }
  .partition-legend {
    gap: 10px 14px;
    font-size: 10px;
    justify-content: flex-start;
  }
  .record-partition p {
    font-size: 11px;
    text-align: left;
  }
  .protocol-detail summary {
    font-size: 12px;
    line-height: 1.6;
  }
  .protocol-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .protocol-grid dd {
    font-size: 12px;
  }
  .finding-strip {
    padding-left: 16px;
  }
  .finding-strip h3 {
    font-size: 13px;
    line-height: 1.6;
  }
  .finding-strip p {
    font-size: 11px;
  }
  .detection-breakdown {
    gap: 10px;
    padding: 20px 12px;
  }
  .detection-breakdown strong {
    font-size: 27px;
  }
  .detection-breakdown span {
    font-size: 10px;
  }
  .case-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .trace-timeline li {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
  }
  .trace-timeline li::before {
    left: 52px;
  }
  .trace-timeline li:not(:last-child)::after {
    left: 55px;
  }
  .trace-seq {
    font-size: 10px;
  }
  .case-verdict {
    padding: 24px;
  }
  .case-verdict h3 {
    font-size: 22px;
  }
  .reproduce-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .reproduce-grid article {
    padding-top: 20px;
  }
  .reproduce-grid p {
    font-size: 12px;
  }
  .reproduce-grid dl {
    margin-top: 15px;
    padding-top: 14px;
  }
  .affiliation-list {
    grid-template-columns: 1fr;
  }
  p.source-reference,
  .source-reference {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
