/* RoboRSI Research Blog NO.2. Shared navigation and article typography come
   from styles.css; this file owns only the second article's components. */

.roborsi-page {
  --roborsi-blue: #007dce;
  --roborsi-sky: #00bfe8;
  --roborsi-green: #b9da19;
  --roborsi-orange: #ef562c;
  --roborsi-ink: #142735;
  --roborsi-soft: #41545f;
  --roborsi-muted: #6e7d84;
}

.roborsi-page h1,
.roborsi-page h2,
.roborsi-page h3,
.roborsi-page p,
.roborsi-page span,
.roborsi-page strong,
.roborsi-page small,
.roborsi-page code,
.roborsi-page button {
  letter-spacing: 0;
}

.roborsi-page .accent {
  white-space: normal;
}

.roborsi-page .site-nav .toc-main.is-chapter-active {
  color: var(--roborsi-muted);
}

.roborsi-page .site-nav .toc-main.is-chapter-active::after {
  transform: scaleY(0);
}

.roborsi-page .article-hero h1,
html[data-lang="en"] .roborsi-page .article-hero h1 {
  max-width: 1040px;
  font-size: 76px;
  line-height: 1;
}

.roborsi-page .hero-thesis,
html[data-lang="en"] .roborsi-page .hero-thesis {
  max-width: 1040px;
  font-size: 38px;
  line-height: 1.16;
}

.roborsi-page .dek,
html[data-lang="en"] .roborsi-page .dek {
  width: min(720px, 100%);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.github-repo-strip {
  display: grid;
  width: min(1040px, 100%);
  min-height: 58px;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  gap: 13px;
  align-items: center;
  margin: 28px auto 0;
  padding: 0 20px;
  border: 1px solid rgba(0, 191, 232, 0.28);
  border-radius: 10px;
  background: linear-gradient(105deg, #112a3a 0%, #073f65 58%, #006fae 100%);
  box-shadow: 0 18px 44px rgba(0, 75, 121, 0.2);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.github-repo-strip-mark {
  width: 16px;
  height: 16px;
  color: var(--roborsi-sky);
}

.github-repo-strip-label {
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  color: #aeeaff;
  font: 750 9px/1 var(--font-mono);
}

.github-repo-strip-title {
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 720;
}

.github-repo-strip code {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  white-space: nowrap;
}

.github-repo-strip-arrow {
  width: 14px;
  height: 14px;
  color: var(--roborsi-green);
}

.github-repo-strip:hover,
.github-repo-strip:focus-visible {
  border-color: rgba(185, 218, 25, 0.78);
  background: linear-gradient(105deg, #0d2534 0%, #074c75 58%, #007dce 100%);
  box-shadow: 0 22px 50px rgba(0, 75, 121, 0.28);
  color: #fff;
  transform: translateY(-2px);
}

.github-repo-strip:focus-visible {
  outline: 3px solid rgba(185, 218, 25, 0.4);
  outline-offset: 3px;
}

/* Keep right-column intro accents near the paragraph's lower-left corner. */
.roborsi-page .section-intro:not(.multi-paragraph-intro) > p > .ambient-orbit-section {
  top: auto;
  bottom: -12px;
}

.roborsi-page .multi-paragraph-intro {
  display: block;
}

.roborsi-page .multi-paragraph-intro > p {
  width: min(720px, 100%);
  max-width: none;
  margin: 64px auto 0;
  padding-top: 0;
  color: var(--roborsi-soft);
  font-size: 18px;
  line-height: 1.9;
}

.roborsi-page .multi-paragraph-intro > p + p,
.roborsi-introduction .multi-paragraph-intro > p + p {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.roborsi-film video {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: #08131a;
  object-fit: contain;
}

@media (min-width: 901px) {
  .roborsi-page .hero-title-stage {
    min-height: 290px;
    min-height: min(540px, calc(100vh - 250px));
    min-height: min(540px, calc(100svh - 250px));
    padding-top: 44px;
    padding-top: clamp(44px, 6vh, 62px);
    padding-top: clamp(44px, 6svh, 62px);
    padding-bottom: 28px;
    padding-bottom: clamp(28px, 4vh, 40px);
    padding-bottom: clamp(28px, 4svh, 40px);
  }

  .roborsi-page .hero-media {
    margin-top: 18px;
    margin-top: clamp(18px, 3vh, 28px);
    margin-top: clamp(18px, 3svh, 28px);
  }

  .roborsi-page .dek,
  html[data-lang="en"] .roborsi-page .dek {
    width: min(720px, 100%);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    font-size: 17.5px;
    line-height: 1.55;
  }

  .roborsi-page .article-meta {
    margin-top: 28px;
  }

  .roborsi-page .article-meta div {
    min-height: 70px;
    padding-top: 13px;
    padding-bottom: 12px;
  }
}

.roborsi-page .hero-media.roborsi-film {
  width: min(1280px, 100%);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  transform: none;
}

.iteration-comparison {
  width: min(1180px, 100%);
  margin: 48px auto 0;
}

.iteration-comparison > h2 {
  max-width: 1100px;
  font-family: var(--display);
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 470;
  line-height: 1.08;
  text-wrap: balance;
}

html[data-lang="zh"] .iteration-comparison > h2 {
  font-size: clamp(38px, 3.5vw, 50px);
  font-weight: 680;
  line-height: 1.14;
}

.iteration-comparison-real {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.iteration-comparison-real > h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 540;
  line-height: 1.22;
}

html[data-lang="zh"] .iteration-comparison-real > h3 {
  font-weight: 650;
}

.real-iteration-media > i {
  position: relative;
  height: 1px;
  background: rgba(0, 125, 206, 0.42);
}

.real-iteration-media > i::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--roborsi-blue);
  border-right: 2px solid var(--roborsi-blue);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.real-iteration-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.real-iteration-media > article {
  min-width: 0;
}

.comparison-video-shell {
  position: relative;
  overflow: hidden;
  background: #07131a;
}

.comparison-video-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  background: rgba(7, 19, 26, 0.78);
  color: #fff;
  font: 700 10px/1 var(--font-mono);
  pointer-events: none;
}

.comparison-video-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  object-fit: contain;
}

.real-iteration-media article > strong {
  display: block;
  margin-top: 18px;
  color: var(--roborsi-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.real-iteration-media > article:last-child > strong {
  color: var(--roborsi-blue);
}

.real-iteration-media article > p {
  margin-top: 8px;
  color: var(--roborsi-ink);
  font-size: 15px;
  line-height: 1.45;
}

.iteration-comparison-note {
  margin-top: 18px;
  color: var(--roborsi-muted);
  font-size: 13px;
  line-height: 1.55;
}

.iteration-comparison-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  color: var(--roborsi-muted);
  font: 650 10px/1.3 var(--font-mono);
}

.evolution-evidence {
  width: min(1180px, 100%);
  margin: 92px auto 72px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}

.evolution-evidence-title {
  max-width: 820px;
  margin-bottom: 34px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 520;
  line-height: 1.22;
}

html[data-lang="zh"] .evolution-evidence-title {
  font-weight: 650;
}

.evolution-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(38px, 5vw, 70px);
  align-items: start;
  margin-top: 0;
}

.hero-capability-radar,
.zero-shot-evolution-curve {
  min-width: 0;
  margin: 0;
}

.hero-capability-radar .capability-radar-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-capability-radar .capability-radar-header,
.zero-shot-curve-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 30px;
  padding: 0 4px 14px;
  border-bottom: 0;
}

.zero-shot-curve-header > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.3 var(--font-mono);
}

.zero-shot-curve-header > strong {
  color: var(--roborsi-ink);
  font-size: 13px;
  font-weight: 700;
}

.hero-capability-radar .capability-radar-controls {
  padding: 10px 4px 0;
  border-top: 0;
}

.zero-shot-curve-svg {
  display: block;
  width: 100%;
  height: auto;
}

.zero-shot-grid line {
  stroke: #d5e0e5;
  stroke-width: 1.2;
}

.zero-shot-grid text,
.zero-shot-x-labels text {
  fill: var(--roborsi-muted);
  font: 650 13px/1 var(--font-mono);
}

.zero-shot-line {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 430;
  stroke-dashoffset: 430;
  transition: stroke-dashoffset 900ms ease 180ms;
}

.zero-shot-evolution-curve.is-visible .zero-shot-line {
  stroke-dashoffset: 0;
}

.libero-line {
  stroke: var(--roborsi-blue);
}

.robotwin-line {
  stroke: var(--roborsi-orange);
}

.zero-shot-points circle {
  fill: #fff;
  stroke-width: 4;
}

.zero-shot-points .libero-point {
  stroke: var(--roborsi-blue);
}

.zero-shot-points .robotwin-point {
  stroke: var(--roborsi-orange);
}

.zero-shot-values text,
.zero-shot-series-labels text {
  font: 720 15px/1 var(--font-mono);
}

.zero-shot-values .libero-value,
.zero-shot-series-labels .libero-value {
  fill: var(--roborsi-blue);
}

.zero-shot-values .robotwin-value,
.zero-shot-series-labels .robotwin-value {
  fill: var(--roborsi-orange);
}

.roborsi-page .compact-chart-note {
  display: block;
  padding: 10px 4px 0;
  border-top: 0;
  color: var(--roborsi-muted);
  font-size: 13px;
  line-height: 1.55;
}

.engineering-history {
  display: block;
  width: min(1180px, 100%);
  margin: 52px auto 96px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.engineering-history-media {
  display: grid;
  grid-template-rows: auto auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(20, 39, 53, 0.1);
}

.engineering-history-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #08131a;
  object-fit: contain;
}

.engineering-history-media figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 92px;
  align-items: start;
  padding: 17px 20px 20px;
  border-top: 1px solid var(--line);
  color: var(--roborsi-soft);
  font-size: 13px;
  line-height: 1.55;
}

.engineering-history-copy {
  min-width: 0;
}

.engineering-history-copy h2 {
  max-width: 900px;
  margin-top: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3.6vw, 54px);
  font-weight: 430;
  line-height: 1.08;
  text-wrap: balance;
}

html[data-lang="zh"] .engineering-history-copy h2 {
  font-weight: 680;
  line-height: 1.12;
}

.engineering-video-morph-stage {
  position: relative;
  margin-top: 34px;
}

.engineering-video-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 0;
}

.engineering-history-media.is-before {
  border-top: 5px solid var(--roborsi-orange);
}

.engineering-history-media.is-after {
  border-top: 5px solid var(--roborsi-blue);
}

.engineering-comparison-arrow {
  position: relative;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, var(--roborsi-orange), var(--roborsi-blue));
}

.engineering-comparison-arrow::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--roborsi-blue);
  border-right: 2px solid var(--roborsi-blue);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

@media (min-width: 901px) {
  html.js
    .engineering-video-morph-stage:not(.is-morph-ready)
    .engineering-video-comparison {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  html.js
    .engineering-video-morph-stage:not(.is-morph-ready)
    .engineering-comparison-arrow {
    width: 2px;
    height: 34px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--roborsi-orange), var(--roborsi-blue));
  }

  html.js
    .engineering-video-morph-stage:not(.is-morph-ready)
    .engineering-comparison-arrow::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    border-top: 0;
    border-right: 2px solid var(--roborsi-blue);
    border-bottom: 2px solid var(--roborsi-blue);
    transform: translateX(-50%) rotate(45deg);
  }

  html.js .engineering-video-morph-stage.is-morph-ready {
    min-height: var(--comparison-stage-height, 530px);
  }

  html.js
    .engineering-video-morph-stage.is-morph-ready
    .engineering-video-comparison {
    position: sticky;
    top: clamp(96px, 10vh, 144px);
    display: block;
    min-height: var(--comparison-card-height, 430px);
  }

  html.js
    .engineering-video-morph-stage.is-morph-ready
    .engineering-history-media {
    position: absolute;
    top: 0;
    height: var(--comparison-card-height, auto);
    will-change: opacity, transform, width;
  }

  html.js
    .engineering-video-morph-stage.is-morph-ready
    .engineering-history-media.is-before {
    left: 0;
    width: var(--comparison-before-width, calc((100% - 76px) / 2));
    z-index: 1;
    opacity: var(--comparison-before-opacity, 1);
  }

  html.js
    .engineering-video-morph-stage.is-morph-ready
    .engineering-history-media.is-after {
    right: 0;
    width: var(--comparison-after-width, 100%);
    z-index: 3;
  }

  html.js
    .engineering-video-morph-stage.is-morph-ready
    .engineering-comparison-arrow {
    position: absolute;
    top: calc(var(--comparison-card-height, 430px) * 0.46);
    left: calc(var(--comparison-arrow-center, 50%) - 26px);
    z-index: 2;
    width: 52px;
    opacity: var(--comparison-arrow-opacity, 1);
    transform: translateY(-50%);
    will-change: opacity, transform;
  }
}

.engineering-history-prose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  margin-top: 30px;
}

.engineering-history-prose p {
  color: var(--roborsi-soft);
  font-size: 16px;
  line-height: 1.68;
}

.engineering-history-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.engineering-history-facts > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 5px 18px;
  padding: 20px 24px 20px 0;
  border-right: 1px solid var(--line);
}

.engineering-history-facts > div:last-child {
  padding-right: 0;
  padding-left: 24px;
  border-right: 0;
}

.engineering-history-facts span {
  grid-row: 1 / span 2;
  color: var(--roborsi-muted);
  font: 700 10px/1.45 var(--font-mono);
}

.engineering-history-facts strong {
  color: var(--roborsi-ink);
  font-size: 15px;
  line-height: 1.35;
}

.engineering-history-facts small {
  color: var(--roborsi-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (min-width: 2200px) and (max-width: 2999px) {
  .engineering-history,
  .evolution-evidence {
    width: min(1280px, calc(100vw - 2 * var(--toc-rail) - 96px));
  }
}

@media (min-width: 3000px) {
  .roborsi-page {
    --toc-rail: 280px;
    --toc-half: 140px;
  }

  :root {
    --reading: 1080px;
    --section-title-width: 1200px;
    --figure-width: 1480px;
  }

  .roborsi-page .site-nav {
    width: var(--toc-rail);
  }

  .roborsi-page .article-hero h1,
  html[data-lang="en"] .roborsi-page .article-hero h1,
  .roborsi-page .hero-thesis,
  html[data-lang="en"] .roborsi-page .hero-thesis,
  .roborsi-page .github-repo-strip,
  .roborsi-page .article-meta {
    width: min(1320px, 100%);
    max-width: 1320px;
  }

  .roborsi-page .article-hero h1,
  html[data-lang="en"] .roborsi-page .article-hero h1 {
    font-size: 92px;
  }

  .roborsi-page .hero-thesis,
  html[data-lang="en"] .roborsi-page .hero-thesis {
    font-size: 46px;
  }

  .roborsi-page .dek,
  html[data-lang="en"] .roborsi-page .dek {
    width: min(880px, 100%);
    font-size: 21px;
  }

  .engineering-history,
  .evolution-evidence {
    width: min(1480px, calc(100vw - 2 * var(--toc-rail) - 120px));
    margin-right: auto;
    margin-left: auto;
  }

  .engineering-history-copy h2 {
    max-width: 1080px;
    font-size: 64px;
  }

  .engineering-history-media figcaption,
  .roborsi-page .compact-chart-note {
    font-size: 15px;
  }

  .engineering-history-facts span {
    font-size: 12px;
  }

  .engineering-history-facts strong {
    font-size: 17px;
  }

  .engineering-history-facts small,
  .radar-axis-value {
    font-size: 14px;
  }

  .engineering-history-prose p {
    font-size: 18px;
  }

  .evolution-evidence-title {
    max-width: 1040px;
    font-size: 34px;
  }
}

@media (min-width: 1181px) {
  .roborsi-page main,
  .roborsi-page .site-footer {
    padding-left: var(--toc-rail);
  }

  .roborsi-page .site-nav {
    top: 72px;
    bottom: 0;
    left: 0;
    width: var(--toc-rail);
    max-height: none;
    align-content: start;
    padding:
      clamp(48px, 7vh, 88px)
      22px
      30px
      max(28px, calc((var(--toc-rail) - 190px) / 2));
    overflow-y: auto;
    border-right: 1px solid rgba(20, 39, 53, 0.1);
    background: rgba(var(--canvas-rgb), 0.9);
    backdrop-filter: blur(16px);
    transform: none;
  }
}

.related-work-note {
  margin-top: 22px;
}

.problem-ledger.problem-ledger-two {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  width: min(1120px, calc(100% + 80px));
  margin-right: auto;
  margin-left: auto;
}

.problem-ledger-two article:nth-child(2) {
  border-right: 0;
}

.problem-ledger-two article {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 34px 30px 38px;
}

.problem-ledger-two h3 {
  min-height: 2.45em;
  margin-top: 30px;
  font-size: 30px;
  line-height: 1.18;
  text-wrap: balance;
}

.problem-ledger-two p {
  width: 100%;
  max-width: none;
  margin-top: 24px;
}

.skill-tree-scrubber {
  position: relative;
  width: min(1120px, calc(100% + 80px));
  max-width: none;
  margin: 72px auto 0;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.2);
  border-radius: 8px;
  background: #fff;
}

.skill-tree-scrubber-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fbfbfa;
}

.skill-tree-scrubber-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  pointer-events: none;
  transform: scale(1.004);
}

.skill-tree-scrubber-stage img.is-active {
  opacity: 1;
  transform: scale(1);
  animation: skill-tree-frame-in 220ms ease-out both;
}

@keyframes skill-tree-frame-in {
  from {
    opacity: 0.72;
    transform: scale(1.004);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.skill-tree-scrubber-controls {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(380px, 1.45fr);
  gap: 22px 42px;
  padding: 24px 28px 20px;
  border-top: 1px solid rgba(20, 39, 53, 0.14);
  background: #fff;
  color: var(--roborsi-ink);
}

.skill-tree-scrubber-readout {
  grid-row: 1 / span 3;
}

.skill-tree-scrubber-readout > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.35 var(--font-mono);
}

.skill-tree-scrubber-readout strong {
  display: block;
  margin-top: 10px;
  color: var(--roborsi-ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 560;
  line-height: 1.25;
}

.skill-tree-scrubber-readout p {
  margin-top: 10px;
  color: var(--roborsi-muted);
  font-size: 14px;
  line-height: 1.6;
}

.skill-tree-scrubber-controls label {
  align-self: end;
  color: var(--roborsi-soft);
  font-size: 13px;
}

.skill-tree-control-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.round-play-button {
  display: grid;
  width: 38px;
  height: 38px;
  min-height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0, 125, 206, 0.28);
  border-radius: 50%;
  background: #fff;
  color: var(--roborsi-blue);
  font: 700 13px/1 var(--font-mono);
  cursor: pointer;
}

.round-play-button:hover,
.round-play-button:focus-visible {
  border-color: var(--roborsi-blue);
  background: #eef8fc;
}

.skill-tree-scrubber .round-play-button {
  border-color: rgba(0, 125, 206, 0.3);
  background: #fff;
  color: var(--roborsi-blue);
}

.skill-tree-scrubber .round-play-button:hover,
.skill-tree-scrubber .round-play-button:focus-visible {
  border-color: var(--roborsi-blue);
  background: #eef8fc;
}

.skill-tree-scrubber-controls input[type="range"] {
  --skill-tree-progress: 0%;
  width: 100%;
  height: 4px;
  margin: 4px 0;
  appearance: none;
  border-radius: 0;
  outline: none;
  background: linear-gradient(
    to right,
    var(--roborsi-blue) 0 var(--skill-tree-progress),
    #c5d1d6 var(--skill-tree-progress) 100%
  );
}

.skill-tree-scrubber-controls input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--roborsi-blue);
  cursor: ew-resize;
}

.skill-tree-scrubber-controls input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--roborsi-blue);
  cursor: ew-resize;
}

.skill-tree-scrubber-ticks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  color: var(--roborsi-muted);
  font: 700 9px/1.2 var(--font-mono);
}

.skill-tree-scrubber-ticks button {
  min-width: 0;
  min-height: 30px;
  padding: 8px 0 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.skill-tree-scrubber-ticks button:hover,
.skill-tree-scrubber-ticks button:focus-visible,
.skill-tree-scrubber-ticks button.is-active {
  color: var(--roborsi-blue);
}

.skill-tree-scrubber-ticks button.is-active {
  text-decoration: underline;
  text-decoration-color: var(--roborsi-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.skill-tree-scrubber-ticks button:first-child {
  text-align: left;
}

.skill-tree-scrubber-ticks button:last-child {
  text-align: right;
}

.skill-tree-scrubber figcaption {
  border-top-color: rgba(20, 39, 53, 0.14);
  background: #fff;
  color: var(--roborsi-soft);
}

.skill-tree-scrubber .figure-number {
  color: var(--roborsi-muted);
}

.skill-trust-region {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1040px, 100%);
  margin: 42px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skill-trust-region article {
  padding: 28px 30px 32px;
  border-right: 1px solid var(--line);
}

.skill-trust-region article:last-child {
  border-right: 0;
}

.skill-trust-region h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 540;
}

.skill-trust-region p {
  margin-top: 14px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.6;
}

.method-code-intro {
  margin-top: 82px;
}

.real-robot-protocol-section {
  margin-top: 92px;
  padding-top: 92px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(241, 248, 251, 0.52) 0, rgba(255, 255, 255, 0) 320px);
}

.article-section.design-philosophy-section {
  margin-top: 0;
  padding-top: 168px;
  border-top: 1px solid var(--line-strong);
}

.protocol-interface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1040px, 100%);
  margin: 44px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.protocol-interface-grid article {
  min-width: 0;
  padding: 30px 32px 34px;
  border-right: 1px solid var(--line);
}

.protocol-interface-grid article:last-child {
  border-right: 0;
}

.protocol-interface-grid article > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.35 var(--font-mono);
}

.protocol-interface-grid h3 {
  margin-top: 28px;
  color: var(--roborsi-ink);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 540;
  line-height: 1.22;
}

.protocol-interface-grid p {
  margin-top: 16px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.68;
}

.real-robot-protocol-flow {
  width: min(1120px, calc(100% + 80px));
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(29, 63, 82, 0.08);
}

.protocol-flow-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: #f5fafc;
}

.protocol-flow-heading > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.35 var(--font-mono);
}

.protocol-flow-heading > strong {
  color: var(--roborsi-ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 560;
  line-height: 1.3;
  text-align: right;
}

.real-robot-protocol-flow ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.real-robot-protocol-flow li {
  position: relative;
  min-width: 0;
  min-height: 220px;
  padding: 26px 20px 24px;
  border-right: 1px solid var(--line);
  background: #f7fafb;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--protocol-accent) 8%, white), #fff 38%);
}

.real-robot-protocol-flow li:last-child {
  border-right: 0;
}

.real-robot-protocol-flow li::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  background: var(--protocol-accent);
  content: "";
}

.real-robot-protocol-flow li::after {
  position: absolute;
  top: 50%;
  right: -5px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--roborsi-blue);
  border-right: 1px solid var(--roborsi-blue);
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.real-robot-protocol-flow li:last-child::after {
  display: none;
}

.real-robot-protocol-flow li > span {
  color: var(--protocol-accent);
  font: 700 10px/1.35 var(--font-mono);
}

.real-robot-protocol-flow li > strong {
  display: block;
  margin-top: 50px;
  color: var(--roborsi-ink);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 560;
  line-height: 1.2;
}

.real-robot-protocol-flow li > small {
  display: block;
  margin-top: 15px;
  color: var(--roborsi-soft);
  font-size: 12px;
  line-height: 1.55;
}

.protocol-return-line {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 17px 26px;
  border-top: 1px solid var(--line);
  color: var(--roborsi-soft);
  font-size: 12px;
  line-height: 1.5;
}

.protocol-return-line i {
  position: relative;
  height: 1px;
  background: var(--roborsi-orange);
}

.protocol-return-line i::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid var(--roborsi-orange);
  border-left: 1px solid var(--roborsi-orange);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.protocol-principles-intro {
  width: min(760px, 100%);
  margin: 82px auto 0;
}

.protocol-principles-intro h3 {
  margin-top: 0;
  color: var(--roborsi-ink);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 520;
  line-height: 1.16;
}

.protocol-principles-intro p {
  margin-top: 22px;
  color: var(--roborsi-soft);
  font-size: 17px;
  line-height: 1.68;
}

.protocol-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1040px, 100%);
  margin: 44px auto 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.protocol-principles article {
  min-width: 0;
  padding: 30px 32px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.protocol-principles article:nth-child(2n) {
  border-right: 0;
}

.protocol-principles article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.protocol-principles h3 {
  margin-top: 12px;
  color: var(--roborsi-ink);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 540;
  line-height: 1.24;
}

.protocol-principles p {
  margin-top: 16px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.68;
}

.protocol-principles code {
  color: #34515f;
  font-size: 0.9em;
}

.solidification-shift {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1040px, 100%);
  margin: 42px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solidification-shift article {
  padding: 24px 26px 28px;
  border-right: 1px solid var(--line);
}

.solidification-shift article:last-child {
  border-right: 0;
}

.solidification-shift article > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.35 var(--font-mono);
}

.solidification-shift article > strong {
  display: block;
  margin-top: 22px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 540;
}

.solidification-share {
  height: 8px;
  margin-top: 20px;
  background: var(--roborsi-green);
}

.solidification-share i {
  display: block;
  width: var(--agent-share);
  height: 100%;
  background: var(--roborsi-blue);
}

.solidification-shift article > small {
  display: block;
  margin-top: 14px;
  color: var(--roborsi-muted);
  font-size: 12px;
  line-height: 1.5;
}

.roborsi-page [hidden] {
  display: none !important;
}

.chapter-harness {
  background:
    radial-gradient(circle at 82% 50%, rgba(0, 191, 232, 0.1), transparent 32%),
    linear-gradient(135deg, #fbfbfa 0%, #f2f8fa 58%, #fff 100%);
}

.chapter-evolution {
  background:
    radial-gradient(circle at 74% 40%, rgba(185, 218, 25, 0.08), transparent 28%),
    linear-gradient(135deg, #f8fbfc 0%, #eef8fc 58%, #fbfbfa 100%);
}

.chapter-evidence {
  background:
    radial-gradient(circle at 78% 46%, rgba(239, 86, 44, 0.06), transparent 26%),
    linear-gradient(135deg, #fbfbfa 0%, #f1f8fb 52%, #fff 100%);
}

.roborsi-page .chapter-divider .chapter-heading h2 {
  font-size: 92px;
  line-height: 0.94;
}

.roborsi-page .chapter-divider .chapter-subtitle {
  max-width: 780px;
  font-size: 24px;
  line-height: 1.34;
}

.problem-ledger,
.feature-ledger,
.role-flow,
.headline-results,
.outlook-list {
  width: min(1040px, 100%);
  margin: 64px auto 0;
}

.problem-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-ledger article {
  min-width: 0;
  padding: 30px 28px 34px;
  border-right: 1px solid var(--line);
}

.problem-ledger article:last-child {
  border-right: 0;
}

.problem-ledger article > span,
.feature-ledger article > span,
.feature-ledger article > div > p,
.application-grid article > span,
.role-flow article > span,
.code-figure-heading > span,
.study-heading > div > span,
.robustness-heading > div > span,
.evidence-heading > div > span,
.evidence-card > div > span,
.act-comparison article > div > span,
.curve-heading > div > span {
  color: var(--roborsi-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.problem-ledger h3 {
  margin-top: 38px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 520;
  line-height: 1.12;
}

.problem-ledger-two h3 {
  margin-top: 12px;
}

.problem-ledger article > .card-sequence,
.skill-trust-region article > .card-sequence,
.protocol-principles article > .card-sequence,
.real-world-copy > .card-sequence {
  display: block;
  color: var(--roborsi-muted);
  font: 700 11px/1.3 var(--font-mono);
}

.problem-ledger p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 16px;
  line-height: 1.62;
}

.loop-thesis,
.architecture-figure,
.evolution-curve,
.code-figure {
  width: min(1040px, 100%);
  margin: 72px auto 0;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.13);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 64px rgba(0, 87, 145, 0.08);
}

.loop-thesis-track {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 72px minmax(0, 1fr) 72px
    minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
  min-height: 250px;
  padding: 42px;
  background:
    linear-gradient(rgba(0, 125, 206, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 125, 206, 0.034) 1px, transparent 1px),
    #fff;
  background-size: 32px 32px;
}

.loop-thesis-track > div {
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(0, 125, 206, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.loop-thesis-track > div > span {
  color: var(--roborsi-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.loop-thesis-track > div > strong {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.2;
}

.loop-thesis-track > i {
  position: relative;
  display: block;
  height: 1px;
  background: rgba(0, 125, 206, 0.52);
}

.loop-thesis-track > i::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--roborsi-blue);
  border-right: 1px solid var(--roborsi-blue);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.roborsi-page figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 28px 26px;
  border-top: 1px solid var(--line);
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.55;
}

.roborsi-page .hero-media > figcaption {
  border-top: 0;
}

.roborsi-page .figure-number {
  color: var(--roborsi-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.harness-section {
  background:
    radial-gradient(circle at 92% 16%, rgba(0, 191, 232, 0.05), transparent 22rem),
    #fff;
}

.architecture-figure {
  width: min(1180px, 100%);
  padding: 28px 28px 0;
}

.architecture-figure > img {
  display: block;
  width: 100%;
  height: auto;
}

.architecture-mobile {
  display: none;
}

.architecture-figure figcaption {
  margin: 28px -28px 0;
}

.architecture-figure {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.architecture-figure figcaption {
  margin: 18px 0 0;
  padding-right: 0;
  padding-left: 0;
  border-top-color: rgba(20, 39, 53, 0.2);
}

.paper-figure {
  position: relative;
  width: min(1180px, 100%);
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.paper-figure > .paper-figure-art {
  display: block;
  width: 100%;
  height: auto;
}

.figure-flow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.motivation-flow-overlay {
  aspect-ratio: 1800 / 680;
}

.architecture-flow-overlay {
  aspect-ratio: 2401 / 1350;
}

.figure-flow-overlay path {
  fill: none;
  stroke: rgba(0, 125, 206, 0.92);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18 16;
  opacity: 0;
}

.figure-flow-overlay .pass-path {
  stroke: rgba(102, 129, 14, 0.94);
}

.figure-flow-overlay .revise-path {
  stroke: rgba(239, 86, 44, 0.92);
}

.figure-flow-overlay .return-path {
  stroke-width: 5;
  stroke: rgba(0, 125, 206, 0.72);
}

.paper-figure.is-visible .figure-flow-overlay path {
  animation: figure-flow-pulse 2.8s linear infinite;
  opacity: 1;
}

.paper-figure.is-visible .figure-flow-overlay path:nth-child(2) {
  animation-delay: 0.18s;
}

.paper-figure.is-visible .figure-flow-overlay path:nth-child(3) {
  animation-delay: 0.36s;
}

.paper-figure.is-visible .figure-flow-overlay path:nth-child(4) {
  animation-delay: 0.54s;
}

.paper-figure.is-visible .figure-flow-overlay path:nth-child(5) {
  animation-delay: 0.72s;
}

.paper-figure.is-visible .figure-flow-overlay path:nth-child(n + 6) {
  animation-delay: 0.9s;
}

.paper-figure figcaption {
  margin: 18px 0 0;
  padding-right: 0;
  padding-left: 0;
  border-top-color: rgba(20, 39, 53, 0.2);
}

.paper-figure .figure-downloads {
  padding-right: 0;
  padding-bottom: 4px;
  padding-left: 0;
}

.feature-ledger {
  border-top: 1px solid var(--line);
}

.feature-ledger article {
  display: grid;
  grid-template-columns: 64px minmax(220px, 0.72fr) minmax(300px, 1.28fr);
  gap: 28px;
  align-items: start;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.feature-ledger article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 125, 206, 0.28);
  border-radius: 50%;
}

.feature-ledger h3 {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 520;
  line-height: 1.12;
}

.feature-ledger article > p {
  color: var(--roborsi-soft);
  font-size: 17px;
  line-height: 1.66;
}

.skill-hierarchy {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1040px, 100%);
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.skill-hierarchy article {
  display: grid;
  min-width: 0;
  min-height: 176px;
  align-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.skill-hierarchy article:last-child {
  border-right: 0;
}

.skill-hierarchy article > span {
  color: var(--roborsi-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 750;
}

.skill-hierarchy article > strong {
  margin-top: 34px;
  font-size: 17px;
  line-height: 1.25;
}

.skill-hierarchy article > small {
  margin-top: 10px;
  color: var(--roborsi-muted);
  font-size: 13px;
  line-height: 1.45;
}

.application-section {
  background:
    radial-gradient(circle at 5% 80%, rgba(0, 125, 206, 0.04), transparent 24rem),
    #fdfcf8;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1040px, 100%);
  margin: 64px auto 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.application-grid article {
  position: relative;
  min-width: 0;
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.application-grid article::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 24px;
  height: 1px;
  background: var(--roborsi-blue);
  content: "";
}

.application-grid article:nth-child(2)::after,
.application-grid article:nth-child(5)::after {
  background: var(--roborsi-green);
}

.application-grid article:nth-child(3)::after,
.application-grid article:nth-child(6)::after {
  background: var(--roborsi-orange);
}

.application-grid h3 {
  margin-top: 52px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 520;
  line-height: 1.14;
}

.application-grid p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.58;
}

.application-grid small {
  display: block;
  margin-top: 18px;
  color: var(--roborsi-orange);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.prototype-application {
  background:
    linear-gradient(rgba(0, 125, 206, 0.025), rgba(0, 191, 232, 0.05)),
    #fff !important;
}

.evolution-section {
  background:
    radial-gradient(circle at 88% 14%, rgba(185, 218, 25, 0.045), transparent 22rem),
    #fff;
}

.role-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.role-flow article {
  min-width: 0;
  min-height: 210px;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
}

.role-flow article:last-child {
  border-right: 0;
}

.role-flow h3 {
  margin-top: 48px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 530;
}

.role-flow p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.55;
}

.curve-heading,
.study-heading,
.robustness-heading,
.evidence-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.curve-heading {
  padding: 30px 32px 22px;
}

.curve-heading h3,
.study-heading h3,
.robustness-heading h3,
.evidence-heading h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 520;
  line-height: 1.15;
}

.robotwin-showcase .study-heading h3,
.matched-study .study-heading h3,
.physical-prototype .study-heading h3 {
  margin-top: 0;
}

.curve-heading > strong,
.study-heading > strong,
.robustness-heading > strong {
  color: var(--roborsi-blue);
  font-family: var(--font-mono);
  font-size: 15px;
  text-align: right;
}

.evolution-curve > svg {
  width: 100%;
  height: auto;
  background:
    linear-gradient(rgba(0, 125, 206, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 125, 206, 0.025) 1px, transparent 1px),
    #fbfdfe;
  background-size: 32px 32px;
}

.curve-grid line {
  stroke: rgba(20, 39, 53, 0.12);
  stroke-width: 1;
}

.curve-axis text,
.curve-points text {
  fill: #65757f;
  font: 600 13px var(--font-mono);
  text-anchor: middle;
}

.curve-area-line {
  fill: none;
  stroke: var(--roborsi-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.curve-points circle {
  fill: #fff;
  stroke: var(--roborsi-blue);
  stroke-width: 4;
}

.curve-points g:last-child circle {
  fill: var(--roborsi-green);
  stroke: #819a08;
}

.curve-points g:last-child text {
  fill: var(--roborsi-ink);
  font-weight: 800;
}

.curve-measures,
.efficiency-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.curve-measures p,
.efficiency-strip p {
  display: grid;
  gap: 6px;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}

.curve-measures p:last-child,
.efficiency-strip p:last-child {
  border-right: 0;
}

.curve-measures span,
.efficiency-strip span {
  color: var(--roborsi-muted);
  font-size: 13px;
}

.curve-measures strong,
.efficiency-strip strong {
  font-family: var(--font-mono);
  font-size: 24px;
}

.scope-note,
.study-note {
  color: var(--roborsi-muted);
  font-size: 14px;
  line-height: 1.6;
}

.scope-note {
  width: min(760px, 100%);
  margin: 34px auto 0;
}

.consolidation-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 191, 232, 0.04), transparent 22rem),
    #fdfcf8;
}

.paradigm-bridge {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 88px minmax(0, 1fr) 88px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  width: min(1040px, 100%);
  margin: 64px auto 0;
}

.paradigm-bridge article {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.paradigm-bridge article > span {
  color: var(--roborsi-blue);
  font: 700 12px/1.3 var(--font-mono);
}

.paradigm-bridge h3 {
  margin-top: 48px;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 520;
  line-height: 1.14;
}

.paradigm-bridge p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.6;
}

.bridge-arrow {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  place-items: center;
  color: var(--roborsi-muted);
  font: 700 11px/1 var(--font-mono);
}

.bridge-arrow i {
  position: relative;
  width: 1px;
  height: 100%;
  min-height: 90px;
  background: rgba(0, 125, 206, 0.48);
}

.bridge-arrow i::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--roborsi-blue);
  border-bottom: 1px solid var(--roborsi-blue);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.bridge-arrow strong {
  color: var(--roborsi-blue);
}

.paradigm-loop {
  width: min(1120px, calc(100% + 80px));
  margin: 64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(31, 71, 96, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 71, 96, 0.035) 1px, transparent 1px),
    #fbfdfe;
  background-size: 40px 40px;
}

.paradigm-loop-canvas {
  position: relative;
  min-height: 480px;
}

.paradigm-loop-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.paradigm-loop-paths marker path {
  fill: var(--roborsi-blue);
}

.paradigm-path {
  fill: none;
  stroke: rgba(0, 125, 206, 0.58);
  stroke-width: 2;
  stroke-dasharray: 9 10;
  marker-end: url("#paradigm-arrow");
  animation: paradigm-flow 2.4s linear infinite;
}

.paradigm-path.cap-path {
  stroke: rgba(231, 116, 39, 0.72);
}

.paradigm-path.vla-path {
  stroke: rgba(27, 137, 120, 0.72);
}

.paradigm-path.return-path {
  stroke: rgba(66, 86, 98, 0.44);
  stroke-width: 1.5;
  animation-duration: 3.8s;
}

.paradigm-particle {
  fill: var(--roborsi-blue);
  filter: drop-shadow(0 0 6px rgba(0, 125, 206, 0.45));
}

.particle-b {
  fill: #1b8978;
}

.particle-c {
  fill: #e77427;
}

.paradigm-node {
  position: absolute;
  display: grid;
  min-height: 138px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid rgba(77, 101, 114, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(25, 56, 74, 0.07);
}

.paradigm-node > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.3 var(--font-mono);
}

.paradigm-node strong {
  margin-top: 24px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 540;
  line-height: 1.08;
}

.paradigm-node small {
  margin-top: 12px;
  color: var(--roborsi-soft);
  font: 600 11px/1.45 var(--font-mono);
}

.node-task {
  top: 36%;
  left: 3.5%;
  width: 15.5%;
}

.node-eta {
  top: 36%;
  left: 25.8%;
  width: 17.5%;
}

.node-evidence {
  top: 36%;
  left: 49.2%;
  width: 17.5%;
}

.node-cap {
  top: 11%;
  left: 73%;
  width: 21%;
  border-color: rgba(231, 116, 39, 0.42);
}

.node-vla {
  top: 60%;
  left: 73%;
  width: 21%;
  border-color: rgba(27, 137, 120, 0.42);
}

.paradigm-return-label {
  position: absolute;
  bottom: 11px;
  left: 31%;
  width: 40%;
  color: var(--roborsi-muted);
  font: 700 11px/1.4 var(--font-mono);
  text-align: center;
}

.paradigm-loop figcaption {
  padding: 19px 24px 22px;
  border-top: 1px solid var(--line);
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.55;
}

@keyframes paradigm-flow {
  to {
    stroke-dashoffset: -38;
  }
}

.roborsi-introduction .section-intro > p + p {
  margin-top: 24px;
}

.roborsi-goal-callout {
  display: block;
  margin-top: 24px;
  padding: 20px 22px 21px;
  border: 1px solid rgba(0, 125, 206, 0.18);
  border-left: 4px solid var(--roborsi-blue);
  border-radius: 0 18px 18px 0;
  background: linear-gradient(115deg, rgba(0, 125, 206, 0.09), rgba(0, 191, 232, 0.035));
  box-shadow: 0 18px 44px rgba(0, 125, 206, 0.08);
  color: var(--roborsi-ink);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 650;
  line-height: 1.48;
}

@media (max-width: 760px) {
  .roborsi-goal-callout {
    margin-top: 18px;
    padding: 16px 17px 18px;
    border-radius: 0 14px 14px 0;
    font-size: 19px;
    line-height: 1.55;
  }
}

.full-report-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  color: var(--roborsi-blue);
  font: 750 12px/1.4 var(--font-mono);
  text-decoration: none;
}

.full-report-link i {
  font-style: normal;
  transition: transform 160ms ease;
}

.full-report-link:hover i {
  transform: translateX(5px);
}

.figure-downloads {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 26px 22px;
}

.figure-downloads a {
  color: var(--roborsi-blue);
  font: 700 11px/1.4 var(--font-mono);
  text-decoration: none;
}

.figure-downloads a:hover {
  text-decoration: underline;
}

.code-figure-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.code-figure-heading strong {
  font-family: var(--font-mono);
  font-size: 14px;
}

.code-figure pre {
  margin: 0;
  padding: 34px;
  overflow-x: auto;
  background: #101c24;
  color: #e8f3f8;
  font: 13px/1.68 var(--font-mono);
  tab-size: 2;
}

.code-figure code {
  font: inherit;
}

.matched-study,
.robustness-result,
.act-study,
.robotwin-study {
  width: min(1040px, 100%);
  margin: 72px auto 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.paired-bars {
  display: grid;
  gap: 28px;
  margin-top: 42px;
}

.paired-bars article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 130px;
  gap: 24px;
  align-items: center;
}

.paired-bars article > div:first-child {
  display: grid;
  gap: 7px;
}

.paired-bars article > div:first-child span {
  color: var(--roborsi-muted);
  font: 700 11px/1.3 var(--font-mono);
}

.paired-bars article > div:first-child strong,
.paired-bars article > small {
  font-family: var(--font-mono);
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #e7edf0;
}

.bar-track i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--roborsi-blue);
}

.paired-bars article:first-child .bar-track i {
  background: #9cabb3;
}

.paired-bars article > small {
  color: var(--roborsi-soft);
  font-size: 13px;
  text-align: right;
}

.efficiency-strip {
  margin-top: 38px;
  border: 1px solid var(--line);
  border-right: 0;
  border-left: 0;
}

.matched-study .study-note,
.robustness-result .study-note,
.act-study .study-note,
.robotwin-study .study-note {
  margin-top: 26px;
}

.evidence-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(239, 86, 44, 0.035), transparent 22rem),
    #fff;
}

.headline-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.headline-results article {
  display: grid;
  min-width: 0;
  min-height: 210px;
  align-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.headline-results article:last-child {
  border-right: 0;
}

.headline-results article > span {
  color: var(--roborsi-muted);
  font: 700 11px/1.35 var(--font-mono);
}

.headline-results strong {
  margin-top: 32px;
  color: var(--roborsi-blue);
  font-family: var(--font-mono);
  font-size: 34px;
}

.headline-results p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 13px;
  line-height: 1.5;
}

.headline-results .diagnostic-result {
  background: #fbf4f2;
}

.headline-results .diagnostic-result > span,
.headline-results .diagnostic-result strong {
  color: #9b463d;
}

.benchmark-separation {
  width: min(1040px, 100%);
  margin: 22px auto 0;
  padding: 18px 20px;
  border-left: 3px solid #9b463d;
  background: #fbf7f5;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.62;
}

.benchmark-separation strong {
  color: var(--roborsi-ink);
}

.benchmark-separation code {
  color: #7f3c35;
  font: 650 0.94em/1.4 var(--font-mono);
}

.evidence-heading {
  width: min(1040px, 100%);
  margin: 78px auto 0;
}

.evidence-heading > p {
  width: 330px;
  color: var(--roborsi-muted);
  font-size: 14px;
  line-height: 1.55;
}

.evidence-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% + 80px));
  margin: 34px 0 0 -40px;
}

.evidence-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.evidence-card video,
.act-comparison video {
  width: 100%;
  aspect-ratio: 1;
  background: #08131a;
  object-fit: cover;
}

.evolution-comparison-film {
  margin-top: 28px;
}

.evolution-comparison-film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07111a;
  object-fit: contain;
}

.act-trace-comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.act-trace-comparison video {
  cursor: pointer;
}

.act-training-figure {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.act-training-figure figcaption {
  margin-top: 0;
  padding: 18px 24px 22px;
}

.act-source-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.act-source-line > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.4 var(--font-mono);
}

.act-source-line p {
  margin: 0;
  color: var(--roborsi-soft);
  font-size: 13px;
  line-height: 1.55;
}

.act-source-line > a {
  color: var(--roborsi-blue);
  font: 700 11px/1.4 var(--font-mono);
  text-decoration: none;
}

.evidence-card > div {
  min-height: 150px;
  padding: 18px;
}

.evidence-card h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 520;
  line-height: 1.12;
}

.evidence-card p {
  margin-top: 16px;
  color: var(--roborsi-muted);
  font-size: 11px;
  line-height: 1.5;
}

.evidence-card code {
  font-family: var(--font-mono);
  white-space: normal;
}

.showcase-loading {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--roborsi-muted);
  text-align: center;
}

.trace-enabled-card video {
  cursor: zoom-in;
}

.trace-enabled-card video:focus-visible {
  outline: 3px solid rgba(0, 125, 206, 0.34);
  outline-offset: -3px;
}

.robustness-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 191, 232, 0.04), transparent 24rem),
    #fdfcf8;
}

.robustness-bars {
  margin-top: 36px;
}

.robustness-bars article:last-child .bar-track i {
  background: linear-gradient(90deg, var(--roborsi-blue), var(--roborsi-sky));
}

.perturbation-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.perturbation-list > span {
  display: grid;
  min-width: 0;
  min-height: 105px;
  align-content: space-between;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.perturbation-list > span:last-child {
  border-right: 0;
}

.perturbation-list b {
  color: var(--roborsi-blue);
  font: 700 11px/1 var(--font-mono);
}

.perturbation-list i {
  color: var(--roborsi-soft);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.act-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.act-comparison article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.act-comparison article > div {
  padding: 20px;
}

.act-comparison h3 {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 520;
  line-height: 1.15;
}

.failure-label,
.success-label {
  display: inline-block;
  margin-top: 20px;
  font: 750 11px/1.2 var(--font-mono);
}

.failure-label {
  color: var(--roborsi-orange);
}

.success-label {
  color: #648000;
}

.outlook-section {
  background:
    radial-gradient(circle at 90% 16%, rgba(0, 125, 206, 0.04), transparent 24rem),
    #fff;
}

.outlook-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.physical-prototype {
  width: min(1180px, calc(100% + 80px));
  margin: 68px auto 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.real-world-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.real-world-grid article {
  display: grid;
  grid-template-areas:
    "copy"
    "media";
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.real-world-grid .real-world-video {
  grid-area: media;
  align-self: center;
  min-width: 0;
  overflow: hidden;
  background: #08131a;
}

.real-world-grid video {
  display: block;
  height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08131a;
  object-fit: contain;
}

.real-world-grid article > .real-world-copy {
  grid-area: copy;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.real-world-grid h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 520;
  line-height: 1.15;
}

.real-world-grid p {
  margin-top: 13px;
  color: var(--roborsi-soft);
  font-size: 12.5px;
  line-height: 1.55;
}

.physical-prototype .study-note {
  margin-top: 24px;
}

.outlook-list article {
  min-width: 0;
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.outlook-list article:last-child {
  border-right: 0;
}

.outlook-list article > span {
  color: var(--roborsi-blue);
  font: 700 12px/1 var(--font-mono);
}

.outlook-list h3 {
  margin-top: 52px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 520;
  overflow-wrap: anywhere;
}

.outlook-list p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.6;
}

.roborsi-page .citation-section {
  padding-top: 108px;
  padding-bottom: 108px;
}

.citation-copy {
  box-sizing: border-box;
  width: min(var(--reading), 100%);
  margin: 0 auto;
  padding-left: 64px;
}

.research-reference-list {
  display: grid;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.research-reference-list article {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 160px;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.research-reference-list article > span,
.research-reference-list article > small {
  color: var(--roborsi-muted);
  font: 700 11px/1.35 var(--font-mono);
}

.research-reference-list article > a {
  color: var(--roborsi-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration-color: rgba(0, 125, 206, 0.4);
  text-underline-offset: 4px;
}

.research-reference-list article > small {
  text-align: right;
}

.citation-bibtex-layout {
  margin-top: 88px;
}

.citation-bibtex-card {
  position: relative;
  min-width: 0;
}

.citation-bibtex-card button {
  position: absolute;
  top: 13px;
  right: 16px;
  z-index: 2;
  min-width: 68px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(0, 125, 206, 0.28);
  border-radius: 999px;
  background: rgba(var(--paper-rgb), 0.92);
  color: var(--roborsi-blue);
  font: 700 11px/1 var(--font-mono);
  cursor: pointer;
}

.citation-bibtex-card button:hover,
.citation-bibtex-card button:focus-visible {
  border-color: var(--roborsi-blue);
  background: var(--paper);
}

.citation-bibtex-card .bibtex-card {
  box-sizing: border-box;
  width: 100%;
}

.citation-bibtex-card .bibtex-card::before {
  right: 104px;
}

@media (max-width: 1366px) {
  .architecture-figure {
    padding: 18px 18px 0;
    border-radius: 18px;
  }

  .architecture-figure > img {
    display: none !important;
  }

  .architecture-mobile {
    display: grid;
    gap: 0;
    padding: 22px;
    background:
      linear-gradient(rgba(0, 125, 206, 0.034) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 125, 206, 0.034) 1px, transparent 1px),
      #fff;
    background-size: 28px 28px;
  }

  .architecture-mobile > article,
  .architecture-mobile-branches article {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(0, 125, 206, 0.2);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.95);
  }

  .architecture-mobile article > span {
    color: var(--roborsi-blue);
    font: 700 11px/1 var(--font-mono);
  }

  .architecture-mobile article > strong {
    font-size: 16px;
    line-height: 1.25;
  }

  .architecture-mobile article > small {
    color: var(--roborsi-muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .architecture-mobile > i {
    position: relative;
    width: 1px;
    height: 34px;
    margin: 0 auto;
    background: rgba(0, 125, 206, 0.45);
  }

  .architecture-mobile > i::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--roborsi-blue);
    border-bottom: 1px solid var(--roborsi-blue);
    content: "";
    transform: translateX(-50%) rotate(45deg);
  }

  .architecture-mobile-branches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .architecture-mobile-branches article:first-child {
    border-color: rgba(239, 86, 44, 0.28);
  }

  .architecture-mobile-branches article:last-child {
    border-color: rgba(0, 125, 206, 0.28);
  }

  .architecture-figure figcaption {
    margin: 18px -18px 0;
  }
}

@media (max-width: 1180px) {
  .evidence-video-grid {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 980px) {
  .citation-bibtex-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-ledger,
  .application-grid,
  .evidence-video-grid,
  .headline-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-ledger article:nth-child(2),
  .headline-results article:nth-child(2) {
    border-right: 0;
  }

  .problem-ledger article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .headline-results article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .headline-results article:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .role-flow,
  .skill-hierarchy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-flow article:nth-child(2),
  .skill-hierarchy article:nth-child(2) {
    border-right: 0;
  }

  .role-flow article:nth-child(-n + 2),
  .skill-hierarchy article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .feature-ledger article {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .feature-ledger article > p {
    grid-column: 2;
  }

  .perturbation-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .perturbation-list > span:nth-child(4) {
    border-right: 0;
  }

  .perturbation-list > span:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .perturbation-list > span:nth-child(7) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .roborsi-page .article-hero h1,
  html[data-lang="en"] .roborsi-page .article-hero h1 {
    font-size: 64px;
  }

  .roborsi-page .hero-thesis,
  html[data-lang="en"] .roborsi-page .hero-thesis {
    font-size: 34px;
  }

  .roborsi-page .chapter-divider .chapter-heading h2 {
    font-size: 76px;
  }

  .engineering-history {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .engineering-video-comparison {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .engineering-comparison-arrow {
    width: 2px;
    height: 34px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--roborsi-orange), var(--roborsi-blue));
  }

  .engineering-comparison-arrow::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    border-top: 0;
    border-right: 2px solid var(--roborsi-blue);
    border-bottom: 2px solid var(--roborsi-blue);
    transform: translateX(-50%) rotate(45deg);
  }

  .engineering-history-prose,
  .engineering-history-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .engineering-history-prose {
    gap: 20px;
  }

  .engineering-history-facts > div,
  .engineering-history-facts > div:last-child {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .engineering-history-facts > div:last-child {
    border-bottom: 0;
  }

  .engineering-history-copy h2 {
    max-width: 720px;
  }

  .engineering-history-copy > p {
    max-width: 720px;
  }

  .skill-tree-scrubber-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px 18px 16px;
  }

  .skill-tree-scrubber-readout {
    grid-row: auto;
  }

  .loop-thesis-track {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .loop-thesis-track > i {
    width: 1px;
    height: 48px;
    min-height: 48px;
    margin: 0 auto;
  }

  .loop-thesis-track > i::after {
    right: auto;
    bottom: -1px;
    left: 50%;
    border-top: 0;
    border-right: 1px solid var(--roborsi-blue);
    border-bottom: 1px solid var(--roborsi-blue);
    transform: translateX(-50%) rotate(45deg);
  }

  .paradigm-bridge {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .bridge-arrow {
    min-height: 112px;
  }
}

@media (max-width: 760px) {
  .roborsi-page .article-hero h1,
  html[data-lang="en"] .roborsi-page .article-hero h1 {
    font-size: 50px;
    line-height: 1.02;
  }

  .roborsi-page .hero-thesis,
  html[data-lang="en"] .roborsi-page .hero-thesis {
    margin-top: 26px;
    font-size: 29px;
  }

  .engineering-history {
    width: 100%;
    gap: 28px;
    margin: 36px auto 72px;
    padding: 32px 0;
  }

  .engineering-history-copy h2 {
    font-size: 38px;
  }

  .engineering-history-media figcaption {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .engineering-history-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .engineering-history-facts span {
    grid-row: auto;
  }

  .roborsi-page .dek,
  html[data-lang="en"] .roborsi-page .dek {
    width: 100%;
  }

  .roborsi-page .chapter-divider .chapter-heading h2 {
    font-size: 46px;
  }

  .roborsi-page .chapter-divider .chapter-subtitle {
    font-size: 20px;
  }

  .problem-ledger,
  .application-grid,
  .role-flow,
  .skill-hierarchy,
  .evidence-video-grid,
  .headline-results,
  .outlook-list,
  .act-comparison {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-ledger article,
  .role-flow article,
  .skill-hierarchy article,
  .headline-results article,
  .outlook-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-ledger article:last-child,
  .role-flow article:last-child,
  .skill-hierarchy article:last-child,
  .headline-results article:last-child,
  .outlook-list article:last-child {
    border-bottom: 0;
  }

  .problem-ledger article:last-child {
    grid-column: auto;
    border-top: 0;
  }

  .headline-results article:nth-child(3) {
    border-right: 0;
  }

  .feature-ledger article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
  }

  .feature-ledger article > p {
    grid-column: 1 / -1;
  }

  .application-grid {
    border-left: 0;
  }

  .application-grid article {
    min-height: 0;
    padding: 26px 0 32px;
    border-right: 0;
    background: transparent;
  }

  .application-grid h3 {
    margin-top: 28px;
  }

  .architecture-figure {
    padding: 12px 12px 0;
    border-radius: 16px;
  }

  .architecture-figure figcaption {
    margin: 12px -12px 0;
  }

  .loop-thesis,
  .architecture-figure,
  .evolution-curve,
  .code-figure {
    border-radius: 16px;
  }

  .loop-thesis-track {
    padding: 24px;
  }

  .curve-heading,
  .study-heading,
  .robustness-heading,
  .evidence-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .curve-heading > strong,
  .study-heading > strong,
  .robustness-heading > strong {
    text-align: left;
  }

  .curve-measures,
  .efficiency-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .curve-measures p,
  .efficiency-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .curve-measures p:last-child,
  .efficiency-strip p:last-child {
    border-bottom: 0;
  }

  .paradigm-bridge article {
    padding: 24px;
  }

  .paradigm-bridge h3 {
    margin-top: 30px;
    font-size: 26px;
  }

  .code-figure-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .code-figure pre {
    padding: 26px 20px;
    overflow-x: hidden;
    font-size: 11px;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .code-figure pre code,
  .citation-bibtex-card pre code {
    white-space: pre-wrap;
    word-break: break-word;
  }

  .matched-study,
  .robustness-result,
  .act-study,
  .robotwin-study,
  .physical-prototype {
    padding: 22px;
  }

  .paired-bars article {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .paired-bars article > small {
    text-align: left;
  }

  .evidence-heading > p {
    width: 100%;
  }

  .real-world-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .real-world-grid article > .real-world-copy {
    min-height: 0;
  }

  .evidence-card > div {
    min-height: 0;
  }

  .perturbation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .perturbation-list > span {
    min-height: 88px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .perturbation-list > span:nth-child(even) {
    border-right: 0;
  }

  .perturbation-list > span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .perturbation-list > span:last-child {
    border-right: 0;
  }

  .roborsi-page figcaption {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 18px 20px 22px;
  }

  .citation-bibtex-card .bibtex-card {
    overflow-x: hidden;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

@media (max-width: 420px) {
  .citation-bibtex-layout .citation-lead h2 {
    font-size: clamp(38px, 12.5vw, 50px);
    white-space: normal;
  }

  .roborsi-page .chapter-divider .chapter-heading h2 {
    font-size: 40px;
  }

  .roborsi-page .article-hero h1,
  html[data-lang="en"] .roborsi-page .article-hero h1 {
    font-size: 43px;
  }

  .roborsi-page .hero-thesis,
  html[data-lang="en"] .roborsi-page .hero-thesis {
    font-size: 26px;
  }

  .engineering-history-copy h2 {
    font-size: 34px;
  }

  .roborsi-page .chapter-divider .chapter-heading h2 {
    font-size: 50px;
  }

  .problem-ledger h3,
  .feature-ledger h3,
  .application-grid h3,
  .curve-heading h3,
  .study-heading h3,
  .robustness-heading h3,
  .evidence-heading h3 {
    font-size: 25px;
  }

  .evolution-curve > svg {
    min-height: 250px;
  }

  .perturbation-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .perturbation-list > span,
  .perturbation-list > span:nth-child(even),
  .perturbation-list > span:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .perturbation-list > span:last-child {
    border-bottom: 0;
  }

  .citation-bibtex-card .bibtex-card {
    font-size: 10px;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .roborsi-page .article-hero {
    padding-top: 40px;
  }

  .roborsi-page .chapter-divider {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .roborsi-page {
    --roborsi-mobile-gutter: clamp(20px, 6vw, 24px);
  }

  .roborsi-page .article-hero,
  .roborsi-page .article-section,
  .roborsi-page .closing {
    padding-right: var(--roborsi-mobile-gutter);
    padding-left: var(--roborsi-mobile-gutter);
  }

  .roborsi-page .chapter-divider {
    padding-right: var(--roborsi-mobile-gutter);
    padding-left: var(--roborsi-mobile-gutter);
  }

  .roborsi-page .site-footer {
    padding-right: var(--roborsi-mobile-gutter);
    padding-left: var(--roborsi-mobile-gutter);
  }

  .citation-copy {
    padding-left: 68px;
  }

  .github-repo-strip {
    width: 100%;
    min-height: 52px;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 8px;
    margin-top: 20px;
    padding: 0 13px;
  }

  .github-repo-strip code {
    display: none;
  }

  .github-repo-strip-title {
    font-size: 13px;
  }

  .roborsi-page .multi-paragraph-intro > p {
    margin-top: 36px;
    font-size: 16px;
    line-height: 1.8;
  }

  .roborsi-page .multi-paragraph-intro > p + p,
  .roborsi-introduction .multi-paragraph-intro > p + p {
    margin-top: 22px;
    padding-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .github-repo-strip {
    transition: none;
  }

  .bar-track i {
    transition: none;
  }
}

/* RoboRSI report v23: Introduction -> Architecture -> Features ->
   Applications -> Outlook. These rules supersede the earlier chapter layout. */

.chapter-architecture {
  background:
    radial-gradient(circle at 78% 44%, rgba(0, 191, 232, 0.09), transparent 30%),
    linear-gradient(135deg, #fbfbfa 0%, #eef8fc 58%, #fff 100%);
}

.chapter-features {
  background:
    radial-gradient(circle at 82% 42%, rgba(185, 218, 25, 0.07), transparent 28%),
    linear-gradient(135deg, #f9fcfd 0%, #f0f8fa 54%, #fff 100%);
}

.chapter-applications {
  background:
    radial-gradient(circle at 78% 42%, rgba(239, 86, 44, 0.055), transparent 28%),
    linear-gradient(135deg, #fbfbfa 0%, #f1f8fb 55%, #fff 100%);
}

.paradigm-intro,
.intro-role-strip,
.architecture-contracts,
.feature-proof-grid,
.protocol-ledger,
.cross-platform-summary {
  width: min(1040px, 100%);
  margin: 64px auto 0;
}

.paradigm-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.paradigm-intro article {
  min-width: 0;
  padding: 30px 28px 34px;
  border-right: 1px solid var(--line);
}

.paradigm-intro article:last-child {
  border-right: 0;
}

.paradigm-intro article > span,
.intro-role-heading > span,
.architecture-contracts article > span,
.feature-proof-grid article > span,
.protocol-ledger article > span,
.application-detail-heading > div > span,
.random-gallery-toolbar > p,
.random-success-card > div > span,
.cross-platform-summary article > span,
.navigation-flow article > span {
  color: var(--roborsi-blue);
  font: 700 12px/1.35 var(--font-mono);
}

.paradigm-intro h3 {
  margin-top: 42px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 520;
  line-height: 1.14;
}

.paradigm-intro p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.62;
}

.intro-role-strip {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.intro-role-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: baseline;
}

.intro-role-heading > p {
  color: var(--roborsi-soft);
  font-size: 15px;
}

.intro-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.intro-role-grid article {
  display: grid;
  min-width: 0;
  min-height: 144px;
  align-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-role-grid article > span {
  color: var(--roborsi-blue);
  font: 700 11px/1 var(--font-mono);
}

.intro-role-grid article > strong {
  margin-top: 24px;
  font-size: 18px;
}

.intro-role-grid article > small {
  margin-top: 8px;
  color: var(--roborsi-muted);
  font-size: 12px;
  line-height: 1.4;
}

.intro-gallery-heading {
  margin-top: 82px;
}

.intro-task-gallery {
  margin-bottom: 0;
}

.architecture-section {
  background:
    radial-gradient(circle at 94% 14%, rgba(0, 191, 232, 0.05), transparent 22rem),
    #fff;
}

.multi-agent-section {
  background:
    radial-gradient(circle at 8% 16%, rgba(0, 125, 206, 0.045), transparent 22rem),
    #fff;
}

.ppt-architecture {
  position: relative;
  width: min(1180px, calc(100% + 80px));
  max-width: none;
  margin: 72px auto 0;
}

.ppt-architecture > .paper-figure-art {
  border: 1px solid rgba(20, 39, 53, 0.14);
  background: #fff;
}

.ppt-architecture .figure-downloads {
  flex-wrap: wrap;
}

.overall-harness-mobile {
  display: none;
}

.multi-agent-method-intro {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 88px;
}

.multi-agent-section .multi-agent-method-intro {
  margin-top: 0;
}

.multi-agent-method-intro > * {
  min-width: 0;
}

.agent-architecture {
  width: min(1180px, 100%);
  margin: 52px auto 0;
}

.agent-architecture-board {
  position: relative;
  display: grid;
  gap: 28px;
  min-height: 760px;
  padding: 38px;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(rgba(0, 125, 206, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 125, 206, 0.03) 1px, transparent 1px),
    #fbfdfe;
  background-size: 30px 30px;
}

.multi-agent-operation .agent-architecture-board {
  gap: 22px;
  min-height: 0;
  background:
    linear-gradient(rgba(0, 125, 206, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 125, 206, 0.035) 1px, transparent 1px),
    linear-gradient(145deg, #fbfdfe 0%, #f6fbfd 58%, #fff 100%);
  background-size: 30px 30px, 30px 30px, auto;
}

.architecture-source {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 125, 206, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
}

.architecture-source > span {
  color: var(--roborsi-blue);
  font: 700 12px/1 var(--font-mono);
}

.architecture-source > strong {
  font-size: 16px;
  text-align: right;
}

.multi-agent-human-source {
  position: relative;
  overflow: hidden;
  border-color: rgba(183, 122, 0, 0.32);
  background: linear-gradient(90deg, #fff9e8 0%, rgba(255, 255, 255, 0.98) 55%);
}

.multi-agent-human-source::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #d9a11e;
  content: "";
}

.agent-role-track {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 42px minmax(0, 1fr) 42px
    minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.agent-role-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 238px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(0, 125, 206, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  opacity: 1;
  transform: none;
}

.multi-agent-operation .agent-role-card {
  height: 100%;
  overflow: hidden;
  border-color: var(--role-accent);
  background: #f5f9fb;
  background: linear-gradient(180deg, var(--role-soft) 0%, #fff 46%);
}

.multi-agent-operation .agent-role-track {
  align-items: stretch;
}

.multi-agent-operation .agent-flow-line {
  align-self: center;
}

.multi-agent-operation .agent-role-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--role-accent);
  content: "";
  opacity: 0.35;
  transform: scaleX(0.22);
  transform-origin: left;
}

.js .agent-role-card {
  opacity: 0;
  transform: translateX(-22px);
}

.agent-role-card > span {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--roborsi-muted);
  font: 700 11px/1 var(--font-mono);
}

.role-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 125, 206, 0.34);
  border-radius: 50%;
  color: var(--roborsi-blue);
  font: 750 17px/1 var(--font-mono);
}

.multi-agent-operation .role-mark {
  border-color: var(--role-accent);
  background: var(--role-soft);
  color: var(--role-accent);
}

.agent-role-card h3 {
  margin-top: 38px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 520;
}

.agent-role-card p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.55;
}

.agent-role-state {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--role-accent);
  font: 700 10px/1.2 var(--font-mono);
}

.agent-role-state i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentcolor;
  box-shadow: 0 0 0 4px rgba(0, 125, 206, 0.12);
  box-shadow: 0 0 0 4px color-mix(in srgb, currentcolor 15%, transparent);
}

.agent-flow-line {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  overflow: visible;
  background: rgba(0, 125, 206, 0.22);
  transform: scaleX(1);
  transform-origin: left;
}

.multi-agent-operation .agent-flow-line {
  overflow: hidden;
  background: rgba(0, 125, 206, 0.18);
}

.multi-agent-operation .agent-flow-line::before {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, var(--roborsi-blue), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-130%);
}

.js .agent-flow-line {
  transform: scaleX(0);
}

.agent-flow-line::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--roborsi-blue);
  border-right: 1px solid var(--roborsi-blue);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.agent-architecture.is-visible .agent-role-card {
  animation: agent-card-enter 0.56s ease-out forwards;
  animation-delay: calc(0.18s + var(--role-order) * 0.36s);
}

.agent-architecture.is-visible .agent-flow-line {
  animation: agent-line-enter 0.36s ease-out forwards;
  animation-delay: calc(0.52s + var(--role-order) * 0.36s);
}

.architecture-evidence-bus {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.14);
  border-radius: 8px;
  background: rgba(242, 248, 250, 0.9);
  opacity: 1;
  transform: none;
}

.js .architecture-evidence-bus {
  opacity: 0;
  transform: translateY(12px);
}

.architecture-evidence-bus > div {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 96px;
  align-content: space-between;
  gap: 8px;
  padding: 16px;
  border-right: 1px solid rgba(20, 39, 53, 0.12);
}

.multi-agent-operation .architecture-evidence-bus > div::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--roborsi-blue);
  content: "";
  opacity: 0.12;
  transform: scaleX(0.18);
  transform-origin: left;
}

.architecture-evidence-bus > div:last-child {
  border-right: 0;
}

.architecture-evidence-bus span {
  color: var(--roborsi-blue);
  font: 700 10px/1.25 var(--font-mono);
}

.architecture-evidence-bus strong {
  font-size: 13px;
  line-height: 1.35;
}

.architecture-evidence-bus small {
  color: var(--roborsi-muted);
  font: 600 10px/1.2 var(--font-mono);
}

.agent-architecture.is-visible .architecture-evidence-bus {
  animation: architecture-rise 0.58s ease-out 1.72s forwards;
}

.agent-execution-plane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.14);
  border-radius: 8px;
  background: #fff;
  opacity: 1;
  transform: none;
}

.js .agent-execution-plane {
  opacity: 0;
  transform: translateY(12px);
}

.agent-execution-plane article {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 126px;
  align-content: space-between;
  gap: 12px;
  padding: 20px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.agent-execution-plane article:last-child {
  border-right: 0;
}

.agent-execution-plane article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--roborsi-blue), var(--roborsi-sky));
  content: "";
  opacity: 0.18;
  transform: scaleX(0.18);
  transform-origin: left;
}

.agent-execution-plane article:nth-child(2)::before {
  background: linear-gradient(90deg, #d9a11e, var(--roborsi-orange));
}

.agent-execution-plane article:nth-child(3)::before {
  background: linear-gradient(90deg, var(--roborsi-green), var(--roborsi-sky));
}

.agent-execution-plane span {
  color: var(--roborsi-blue);
  font: 700 11px/1.2 var(--font-mono);
}

.agent-execution-plane strong {
  font-size: 15px;
  line-height: 1.35;
}

.agent-execution-plane small {
  color: var(--roborsi-muted);
  font-size: 12px;
  line-height: 1.4;
}

.agent-architecture.is-visible .agent-execution-plane {
  animation: architecture-rise 0.58s ease-out 2.08s forwards;
}

.architecture-release-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 64px minmax(0, 1.3fr);
  gap: 20px;
  align-items: stretch;
  opacity: 1;
  transform: none;
}

.js .architecture-release-row {
  opacity: 0;
  transform: translateY(12px);
}

.evaluation-gate {
  display: grid;
  min-width: 0;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(239, 86, 44, 0.32);
  border-radius: 8px;
  background: #fff8f5;
}

.evaluation-gate > span {
  color: var(--roborsi-orange);
  font: 700 11px/1.3 var(--font-mono);
}

.evaluation-gate > strong {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 520;
}

.evaluation-gate > small {
  margin-top: 12px;
  color: var(--roborsi-muted);
  font-size: 12px;
  line-height: 1.45;
}

.release-arrow {
  position: relative;
  align-self: center;
  height: 1px;
  background: rgba(239, 86, 44, 0.42);
}

.release-arrow::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--roborsi-orange);
  border-right: 1px solid var(--roborsi-orange);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.capability-outputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(0, 125, 206, 0.24);
  border-radius: 8px;
  background: #fff;
}

.capability-outputs article {
  display: grid;
  min-width: 0;
  min-height: 128px;
  align-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.capability-outputs article:last-child {
  border-right: 0;
}

.capability-outputs article > span {
  color: var(--roborsi-blue);
  font: 750 12px/1 var(--font-mono);
}

.capability-outputs article > strong {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.35;
}

.agent-architecture.is-visible .architecture-release-row {
  animation: architecture-rise 0.58s ease-out 2.02s forwards;
}

.architecture-return-loop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto;
  gap: 18px;
  align-items: center;
  color: var(--roborsi-muted);
  font: 700 10px/1.3 var(--font-mono);
  opacity: 1;
}

.js .architecture-return-loop {
  opacity: 0;
}

.architecture-return-loop i {
  position: relative;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 125, 206, 0.14), var(--roborsi-blue));
}

.architecture-return-loop i::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid var(--roborsi-blue);
  border-left: 1px solid var(--roborsi-blue);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.agent-architecture.is-visible .architecture-return-loop {
  animation: architecture-rise 0.5s ease-out 2.34s forwards;
}

.multi-agent-operation.is-running .agent-role-card::before {
  animation: multi-agent-node-cycle 8s ease-in-out var(--pulse-delay) infinite;
}

.multi-agent-operation.is-running .role-mark,
.multi-agent-operation.is-running .agent-role-state i {
  animation: multi-agent-mark-cycle 8s ease-in-out var(--pulse-delay) infinite;
}

.multi-agent-operation.is-running .agent-flow-line::before {
  animation: multi-agent-flow-cycle 8s linear var(--pulse-delay) infinite;
}

.multi-agent-operation.is-running .architecture-evidence-bus > div::after,
.multi-agent-operation.is-running .agent-execution-plane article::before {
  animation: multi-agent-node-cycle 8s ease-in-out var(--pulse-delay) infinite;
}

.multi-agent-operation.is-running .architecture-return-loop i {
  background-size: 220% 100%;
  animation: multi-agent-return-cycle 3.6s linear infinite;
}

@keyframes agent-card-enter {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes agent-line-enter {
  to {
    transform: scaleX(1);
  }
}

@keyframes architecture-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes figure-flow-pulse {
  0% {
    stroke-dashoffset: 68;
    opacity: 0.2;
  }
  18%,
  82% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.2;
  }
}

@keyframes multi-agent-node-cycle {
  0%,
  12%,
  100% {
    opacity: 0.18;
    transform: scaleX(0.18);
  }

  3%,
  8% {
    opacity: 0.92;
    transform: scaleX(1);
  }
}

@keyframes multi-agent-mark-cycle {
  0%,
  12%,
  100% {
    transform: scale(1);
  }

  3%,
  8% {
    transform: scale(1.08);
  }
}

@keyframes multi-agent-flow-cycle {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }

  3%,
  9% {
    opacity: 1;
  }

  12%,
  100% {
    opacity: 0;
    transform: translateX(300%);
  }
}

@keyframes multi-agent-return-cycle {
  to {
    background-position: -220% 0;
  }
}

.architecture-contracts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.architecture-contracts article {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.architecture-contracts article:last-child {
  border-right: 0;
}

.architecture-contracts h3 {
  margin-top: 38px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 520;
  line-height: 1.16;
}

.architecture-contracts p {
  margin-top: 16px;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.58;
}

.features-section,
.paradigm-section {
  background:
    radial-gradient(circle at 92% 14%, rgba(185, 218, 25, 0.04), transparent 22rem),
    #fff;
}

.feature-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-proof-grid article {
  display: grid;
  min-width: 0;
  min-height: 210px;
  align-content: space-between;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.feature-proof-grid article:last-child {
  border-right: 0;
}

.feature-proof-grid strong {
  margin-top: 40px;
  color: var(--roborsi-blue);
  font: 750 32px/1.05 var(--font-mono);
}

.feature-proof-grid p {
  margin-top: 20px;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.55;
}

.applications-overview,
.zero-shot-application,
.code-application,
.robustness-application,
.physical-application {
  background:
    radial-gradient(circle at 94% 12%, rgba(239, 86, 44, 0.032), transparent 22rem),
    #fff;
}

.evolution-application,
.policy-application,
.navigation-application {
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 191, 232, 0.04), transparent 24rem),
    #fdfcf8;
}

.application-index-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 0;
  gap: 0;
}

.application-index-grid a {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 238px;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.application-index-grid a:nth-child(3n + 1) {
  border-left: 1px solid var(--line);
}

.application-index-grid a:nth-last-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

.application-index-grid a:last-child {
  grid-column: auto;
  min-height: 238px;
}

.application-index-grid a::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 24px;
  height: 1px;
  background: var(--roborsi-blue);
  content: "";
}

.application-index-grid h3 {
  margin-top: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 520;
  line-height: 1.14;
}

.application-index-grid p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.58;
}

.application-index-grid a:hover {
  background: #f3f9fc;
}

.protocol-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.protocol-ledger article {
  display: grid;
  min-width: 0;
  min-height: 205px;
  align-content: space-between;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.protocol-ledger article:nth-child(3n) {
  border-right: 0;
}

.protocol-ledger article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.protocol-ledger strong {
  margin-top: 30px;
  color: var(--roborsi-blue);
  font: 750 32px/1.05 var(--font-mono);
}

.protocol-ledger p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 13px;
  line-height: 1.5;
}

.protocol-ledger .diagnostic-result {
  background: #fbf4f2;
}

.protocol-ledger .diagnostic-result > span,
.protocol-ledger .diagnostic-result strong {
  color: #9b463d;
}

.robotwin-metrics {
  width: 100%;
  margin: 28px 0;
}

.robotwin-metrics article {
  min-height: 176px;
}

.robotwin-role-bars {
  margin: 32px 0 0;
}

.simulation-evolution-figure {
  width: min(1180px, calc(100% + 80px));
  margin: 64px auto 0;
}

.simulation-evolution-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.simulation-evolution-board.is-support-only {
  grid-template-columns: minmax(0, 1fr);
}

.simulation-evolution-board.is-support-only .simulation-support-picture {
  width: 100%;
  justify-self: stretch;
}

.capability-radar-panel,
.simulation-support-picture {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.16);
  border-radius: 8px;
  background: #fbfbfa;
}

.capability-radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.capability-radar-header > span {
  color: var(--roborsi-blue);
  font: 700 11px/1.3 var(--font-mono);
}

.capability-radar-header > strong {
  color: var(--roborsi-ink);
  font: 750 13px/1.3 var(--font-mono);
}

.capability-radar-svg {
  display: block;
  width: 100%;
  height: auto;
}

.radar-grid polygon,
.radar-grid line {
  fill: none;
  stroke: #d5e0e5;
  stroke-width: 1.2;
}

.radar-grid polygon:last-of-type {
  stroke: #aebfc7;
  stroke-width: 1.5;
}

.radar-shape {
  fill: url("#capability-radar-fill");
  stroke: var(--roborsi-blue);
  stroke-width: 3;
  stroke-linejoin: round;
}

.radar-points circle {
  fill: #fff;
  stroke: var(--roborsi-blue);
  stroke-width: 3;
}

.radar-center {
  fill: #fff;
  stroke: rgba(0, 125, 206, 0.28);
  stroke-width: 1.5;
}

.radar-center-label {
  fill: var(--roborsi-blue);
  font: 750 17px/1 var(--font-mono);
}

.radar-axis-label {
  fill: var(--roborsi-ink);
  font: 650 18px/1.15 var(--body);
}

.radar-axis-value {
  fill: var(--roborsi-muted);
  font: 700 13px/1 var(--font-mono);
}

.capability-radar-controls {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}

.capability-radar-controls > div {
  min-width: 0;
}

.capability-radar-controls input[type="range"] {
  --radar-progress: 0%;
  width: 100%;
  height: 4px;
  margin: 6px 0;
  appearance: none;
  border-radius: 0;
  outline: none;
  background: linear-gradient(
    to right,
    var(--roborsi-blue) 0 var(--radar-progress),
    #cbd8de var(--radar-progress) 100%
  );
}

.capability-radar-controls input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 3px solid #fbfbfa;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--roborsi-blue);
  cursor: ew-resize;
}

.capability-radar-controls input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fbfbfa;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--roborsi-blue);
  cursor: ew-resize;
}

.capability-radar-ticks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: var(--roborsi-muted);
  font: 700 8px/1.2 var(--font-mono);
}

.capability-radar-ticks span {
  text-align: center;
  white-space: nowrap;
}

.capability-radar-ticks span:first-child {
  text-align: left;
}

.capability-radar-ticks span:last-child {
  text-align: right;
}

.simulation-support-picture,
.simulation-support-picture img {
  display: block;
  width: 100%;
}

.simulation-support-picture img {
  height: auto;
  background: #fbfbfa;
}

.latest-benchmark-results {
  width: min(1040px, 100%);
  margin: 48px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.latest-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.latest-benchmark-grid article {
  display: grid;
  min-height: 176px;
  align-content: space-between;
  padding: 26px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.latest-benchmark-grid article:last-child {
  border-right: 0;
}

.latest-benchmark-grid article > span {
  color: var(--roborsi-blue);
  font: 700 12px/1.35 var(--font-mono);
}

.latest-benchmark-grid strong {
  margin-top: 30px;
  color: var(--roborsi-blue);
  font: 750 34px/1.05 var(--font-mono);
}

.latest-benchmark-grid p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.55;
}

.code-figure {
  width: min(1180px, 100%);
}

.evolution-release-summary {
  width: min(1040px, 100%);
  margin: 48px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.evolution-release-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.evolution-release-copy > div > span {
  color: var(--roborsi-blue);
  font: 700 12px/1.4 var(--font-mono);
}

.evolution-release-copy h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 520;
  line-height: 1.14;
}

.evolution-release-copy > p {
  color: var(--roborsi-soft);
  font-size: 16px;
  line-height: 1.7;
}

.evolution-pass-track {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr)
    28px minmax(0, 1fr) 28px minmax(0, 1.2fr);
  align-items: center;
  margin-top: 34px;
}

.evolution-pass-track > span {
  display: grid;
  min-height: 86px;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.evolution-pass-track b {
  color: var(--roborsi-muted);
  font: 700 10px/1.3 var(--font-mono);
}

.evolution-pass-track strong {
  margin-top: 10px;
  color: var(--roborsi-blue);
  font: 750 25px/1 var(--font-mono);
}

.evolution-pass-track > i {
  position: relative;
  height: 1px;
  background: rgba(0, 125, 206, 0.34);
}

.evolution-pass-track > i::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--roborsi-blue);
  border-right: 1px solid var(--roborsi-blue);
  content: "";
  transform: rotate(45deg);
}

.evolution-pass-track .is-final {
  border-color: rgba(35, 131, 92, 0.34);
  background: rgba(35, 131, 92, 0.07);
}

.evolution-pass-track .is-final strong {
  color: #23835c;
}

.evolution-subsets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evolution-subsets p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.evolution-subsets p:last-child {
  border-right: 0;
}

.evolution-subsets span {
  color: var(--roborsi-muted);
  font: 700 12px/1.35 var(--font-mono);
}

.evolution-subsets strong {
  color: #23835c;
  font: 750 20px/1 var(--font-mono);
}

.perturbation-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.perturbation-video-grid figure {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.perturbation-video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #07131a;
  object-fit: cover;
  cursor: zoom-in;
}

.perturbation-video-grid figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 96px;
  align-content: start;
  padding: 16px;
}

.perturbation-video-grid strong {
  color: var(--roborsi-ink);
  font-size: 15px;
  line-height: 1.3;
}

.perturbation-video-grid span {
  margin-top: 8px;
  color: var(--roborsi-soft);
  font-size: 12px;
  line-height: 1.45;
}

.application-detail {
  padding-top: 112px;
  padding-bottom: 112px;
}

.application-detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-end;
  width: min(1040px, 100%);
  margin: 0 auto;
}

.application-detail-heading > div {
  min-width: 0;
}

.application-section-index {
  width: 100%;
  margin: 0 0 28px;
}

.application-detail-heading h2 {
  max-width: 820px;
  margin-top: 0;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.06;
}

.mobile-manipulation-copy {
  max-width: 780px;
  margin-top: 24px;
  color: var(--roborsi-soft);
  font-size: 17px;
  line-height: 1.68;
}

.section-support-copy {
  max-width: 780px;
  margin-top: 22px;
  color: var(--roborsi-soft);
  font-size: 15px;
  line-height: 1.65;
}

.application-detail-heading > a {
  flex: 0 0 190px;
  padding-bottom: 4px;
  color: var(--roborsi-blue);
  font: 700 12px/1.5 var(--font-mono);
  text-decoration: none;
}

.application-detail-heading > a:hover {
  text-decoration: underline;
}

.application-detail-copy {
  width: min(760px, 100%);
  margin: 28px auto 0;
  color: var(--roborsi-soft);
  font-size: 16px;
  line-height: 1.7;
}

.random-gallery-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100% + 80px));
  margin: 56px auto 0;
}

.random-gallery-toolbar button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(0, 125, 206, 0.28);
  border-radius: 6px;
  background: #fff;
  color: var(--roborsi-blue);
  font: 700 12px/1 var(--font-mono);
  cursor: pointer;
}

.random-gallery-toolbar button:hover {
  background: #f2f8fa;
}

.random-success-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% + 80px));
  margin: 22px auto 0;
}

.random-success-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.random-success-card video {
  width: 100%;
  aspect-ratio: 1;
  background: #08131a;
  object-fit: cover;
}

.random-success-card > div {
  min-height: 148px;
  padding: 18px;
}

.random-success-card h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 520;
  line-height: 1.14;
}

.random-success-card p {
  margin-top: 16px;
  color: var(--roborsi-muted);
  font-size: 11px;
  line-height: 1.45;
}

.random-success-card code {
  font-family: var(--font-mono);
  white-space: normal;
}

.cross-platform-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cross-platform-summary article {
  display: grid;
  min-width: 0;
  min-height: 190px;
  align-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.cross-platform-summary article:last-child {
  border-right: 0;
}

.cross-platform-summary strong {
  margin-top: 30px;
  color: var(--roborsi-blue);
  font: 750 31px/1 var(--font-mono);
}

.cross-platform-summary p {
  margin-top: 18px;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.55;
}

.robotwin-showcase {
  width: min(1040px, 100%);
  margin: 70px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.robotwin-showcase > .study-note {
  width: min(820px, 100%);
  margin: 24px 0 0;
}

.robotwin-gallery-toolbar {
  width: 100%;
  margin: 34px 0 0;
}

.robotwin-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.robotwin-trace-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.robotwin-trace-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #08131a;
  object-fit: cover;
}

.robotwin-trace-card > div {
  min-height: 154px;
  padding: 18px;
}

.robotwin-trace-card > div > span {
  color: var(--roborsi-blue);
  font: 700 12px/1.35 var(--font-mono);
}

.robotwin-trace-card h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 520;
  line-height: 1.14;
}

.robotwin-trace-card p {
  margin-top: 16px;
  color: var(--roborsi-muted);
  font-size: 11px;
  line-height: 1.45;
}

.robotwin-trace-card code {
  font-family: var(--font-mono);
  white-space: normal;
}

.trace-dialog {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--roborsi-ink);
  box-shadow: 0 24px 80px rgba(17, 35, 47, 0.22);
}

.trace-dialog:not([open]) {
  display: none;
}

.trace-dialog::backdrop {
  background: rgba(9, 20, 28, 0.54);
  backdrop-filter: blur(3px);
}

.trace-dialog-shell {
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.trace-dialog header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.trace-dialog header span {
  color: var(--roborsi-blue);
  font: 700 11px/1.3 var(--font-mono);
}

.trace-dialog header h2 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 520;
  line-height: 1.12;
}

.trace-dialog header button {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--roborsi-ink);
  font: 300 28px/1 var(--body);
  cursor: pointer;
}

.trace-dialog header button:hover,
.trace-dialog header button:focus-visible {
  border-color: rgba(0, 125, 206, 0.5);
  color: var(--roborsi-blue);
}

.trace-dialog-body {
  display: grid;
  grid-template-areas:
    "media meta"
    "media note"
    "steps steps";
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 24px 30px;
  padding: 28px;
}

.trace-dialog-body > video {
  grid-area: media;
  width: 100%;
  max-height: 460px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #071117;
  object-fit: contain;
}

.trace-metadata {
  grid-area: meta;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.trace-metadata > div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trace-metadata dt {
  color: var(--roborsi-muted);
  font: 700 10px/1.2 var(--font-mono);
  text-transform: uppercase;
}

.trace-metadata dd {
  margin-top: 8px;
  overflow-wrap: anywhere;
  font: 650 13px/1.4 var(--font-mono);
}

.trace-note {
  grid-area: note;
  align-self: start;
  color: var(--roborsi-soft);
  font-size: 14px;
  line-height: 1.6;
}

.trace-iteration {
  grid-area: note;
  align-self: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdfe;
}

.trace-iteration[hidden] {
  display: none;
}

.trace-iteration-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  justify-content: space-between;
}

.trace-iteration-head > span {
  color: var(--roborsi-muted);
  font: 700 10px/1.2 var(--font-mono);
  text-transform: uppercase;
}

.trace-iteration-head > strong {
  font: 650 12px/1.3 var(--font-mono);
  color: #00688f;
}

.trace-iteration-curve {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
}

.trace-iteration-curve .iteration-grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.trace-iteration-curve .iteration-grid text {
  fill: var(--roborsi-muted);
  font: 600 9px var(--font-mono);
}

.trace-iteration-curve .iteration-x-label {
  text-transform: uppercase;
}

.trace-iteration-curve .iteration-line {
  fill: none;
  stroke: #0090c4;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.trace-iteration-curve .iteration-point {
  fill: #ffffff;
  stroke: #0090c4;
  stroke-width: 1.4;
}

.trace-iteration-curve .iteration-mark {
  fill: #ff7a1a;
  stroke: #ffffff;
  stroke-width: 1.6;
}

.trace-iteration-curve .iteration-mark-label {
  fill: #c25200;
  font: 700 10px var(--font-mono);
}

.trace-iteration-note {
  margin-top: 10px;
  color: var(--roborsi-muted);
  font-size: 11px;
  line-height: 1.5;
}

.random-success-grid.is-grouped {
  margin-top: 10px;
}

.skill-tree-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 12px;
}

.skill-tree-legend-item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--roborsi-muted);
  font-size: 12px;
}

.skill-tree-legend-item i {
  width: 13px;
  height: 13px;
  border-radius: 3px;
}

.skill-tree-legend-item.legend-stable i {
  background: #f4f9df;
  border: 1.5px solid #93af23;
}

.skill-tree-legend-item.legend-revised i {
  background: #ffefe8;
  border: 1.5px solid #f05a28;
}

.skill-tree-legend-item.legend-timeline i {
  border-radius: 50%;
  background: #93af23;
}

.libero-group-header {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.libero-group-header h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 560;
}

.libero-group-header p {
  margin: 0;
  color: var(--roborsi-muted);
  font-size: 12px;
}

.libero-group-header small {
  margin-left: auto;
  color: var(--roborsi-muted);
  font: 700 11px/1 var(--font-mono);
}

.trace-step-list {
  grid-area: steps;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trace-step-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-left: 3px solid #6f8d12;
  border-radius: 6px;
  background: #fbfcfa;
}

.trace-step-list li.is-failure {
  border-left-color: var(--roborsi-orange);
  background: #fff9f7;
}

.trace-step-list li > span {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--roborsi-muted);
  font: 700 11px/1 var(--font-mono);
}

.trace-step-list li > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 16px;
  padding: 13px 16px;
}

.trace-step-list strong {
  overflow-wrap: anywhere;
  font: 700 13px/1.35 var(--font-mono);
}

.trace-step-list small {
  color: #66810e;
  font: 750 10px/1.35 var(--font-mono);
}

.trace-step-list .is-failure small {
  color: var(--roborsi-orange);
}

.trace-step-list code {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
  color: var(--roborsi-soft);
  font: 11px/1.55 var(--font-mono);
  white-space: pre-wrap;
}

.skill-tree-evolution {
  position: relative;
  width: min(1120px, calc(100% + 80px));
  max-width: none;
  margin: 72px auto 0;
  overflow: hidden;
  border: 1px solid rgba(20, 39, 53, 0.16);
  border-radius: 8px;
  background: #fff;
}

.skill-tree-evolution video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fbfbfa;
  object-fit: contain;
}

.real-robot-tree-controls {
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.5fr);
  background: #fff;
}

.real-robot-skill-tree .round-play-button {
  border-color: rgba(0, 125, 206, 0.3);
  background: #fff;
  color: var(--roborsi-blue);
}

.real-robot-skill-tree .round-play-button:hover,
.real-robot-skill-tree .round-play-button:focus-visible {
  border-color: var(--roborsi-blue);
  background: #eef8fc;
}

.real-robot-tree-ticks {
  grid-template-columns: repeat(5, 1fr);
}

.real-robot-tree-ticks span {
  padding-top: 8px;
  text-align: center;
  white-space: nowrap;
}

.real-robot-tree-ticks span:first-child {
  text-align: left;
}

.real-robot-tree-ticks span:last-child {
  text-align: right;
}

.skill-tree-evolution figcaption {
  border-top-color: rgba(20, 39, 53, 0.14);
  background: #fff;
  color: var(--roborsi-soft);
}

.skill-tree-evolution .figure-number {
  color: var(--roborsi-muted);
}

.navigation-flow {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 52px minmax(0, 1fr) 52px
    minmax(0, 1fr) 52px minmax(0, 1fr);
  align-items: stretch;
  width: min(1040px, 100%);
  margin: 64px auto 0;
}

.navigation-flow article {
  display: grid;
  min-width: 0;
  min-height: 190px;
  align-content: space-between;
  padding: 24px;
  border: 1px solid rgba(0, 125, 206, 0.24);
  border-radius: 8px;
  background: #fff;
}

.navigation-flow article > strong {
  margin-top: 42px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 520;
}

.navigation-flow article > small {
  margin-top: 12px;
  color: var(--roborsi-muted);
  font-size: 12px;
  line-height: 1.45;
}

.navigation-flow > i {
  position: relative;
  align-self: center;
  height: 1px;
  background: rgba(0, 125, 206, 0.42);
}

.navigation-flow > i::after {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--roborsi-blue);
  border-right: 1px solid var(--roborsi-blue);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1180px) {
  .skill-tree-scrubber,
  .skill-tree-evolution {
    width: min(1120px, 100%);
  }

  .ppt-architecture {
    width: min(1120px, 100%);
  }

  .problem-ledger.problem-ledger-two {
    width: 100%;
    margin-left: 0;
  }

  .paradigm-loop,
  .random-gallery-toolbar,
  .random-success-grid,
  .robotwin-showcase,
  .skill-tree-evolution,
  .skill-tree-scrubber,
  .real-robot-protocol-flow,
  .simulation-evolution-figure,
  .physical-prototype {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 980px) {
  .evolution-evidence-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-capability-radar,
  .zero-shot-evolution-curve {
    width: min(720px, 100%);
    justify-self: center;
  }

  .simulation-evolution-board {
    grid-template-columns: minmax(0, 1fr);
  }

  .simulation-support-picture {
    width: min(680px, 100%);
    justify-self: center;
  }

  .paradigm-intro,
  .architecture-contracts,
  .feature-proof-grid,
  .protocol-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .paradigm-intro article:nth-child(2),
  .architecture-contracts article:nth-child(2),
  .feature-proof-grid article:nth-child(2),
  .protocol-ledger article:nth-child(2) {
    border-right: 0;
  }

  .paradigm-intro article:last-child,
  .architecture-contracts article:last-child,
  .feature-proof-grid article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .protocol-ledger article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .protocol-ledger article,
  .protocol-ledger article:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .protocol-ledger article:nth-child(2n) {
    border-right: 0;
  }

  .protocol-ledger article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .intro-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-role-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .agent-flow-line {
    display: none;
  }

  .agent-role-card {
    min-height: 210px;
  }

  .architecture-evidence-bus {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .architecture-evidence-bus > div:nth-child(3) {
    border-right: 0;
  }

  .architecture-evidence-bus > div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .agent-execution-plane {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-execution-plane article:nth-child(2) {
    border-right: 0;
  }

  .agent-execution-plane article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .architecture-release-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .release-arrow {
    width: 1px;
    height: 38px;
    margin: 0 auto;
  }

  .release-arrow::after {
    top: auto;
    right: auto;
    bottom: 1px;
    left: 50%;
    border-top: 0;
    border-right: 1px solid var(--roborsi-orange);
    border-bottom: 1px solid var(--roborsi-orange);
    transform: translateX(-50%) rotate(45deg);
  }

  .application-index-grid,
  .random-success-grid,
  .robotwin-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .application-index-grid a,
  .application-index-grid a:nth-child(3n + 1) {
    border-left: 0;
  }

  .application-index-grid a:nth-child(odd) {
    border-left: 1px solid var(--line);
  }

  .application-index-grid a:last-child {
    grid-column: auto;
    border-left: 0;
  }

  .navigation-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .navigation-flow > i {
    display: none;
  }

  .real-robot-protocol-flow ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .real-robot-protocol-flow li {
    min-height: 200px;
    border-bottom: 1px solid var(--line);
  }

  .real-robot-protocol-flow li:nth-child(3n) {
    border-right: 0;
  }

  .real-robot-protocol-flow li:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .real-robot-protocol-flow li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .problem-ledger.problem-ledger-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .real-world-grid article {
    grid-template-columns: minmax(0, 1fr);
  }

  .real-world-grid article > .real-world-copy {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .roborsi-page .hero-media.roborsi-film {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    transform: none;
  }

  .iteration-comparison {
    margin-top: 48px;
    margin-bottom: 18px;
  }

  .iteration-comparison > h2 {
    font-size: 34px;
  }

  .real-iteration-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .real-iteration-media > i {
    display: none;
  }

  .evolution-evidence {
    margin-top: 64px;
    margin-bottom: 48px;
    padding-top: 38px;
  }

  .evolution-evidence-grid {
    gap: 48px;
    margin-top: 32px;
  }

  .problem-ledger-two,
  .skill-trust-region,
  .protocol-interface-grid,
  .solidification-shift,
  .protocol-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-ledger-two article {
    min-height: 0;
    padding: 28px 24px 30px;
  }

  .problem-ledger-two h3 {
    min-height: 0;
    font-size: 27px;
  }

  .problem-ledger-two article,
  .skill-trust-region article,
  .protocol-interface-grid article,
  .solidification-shift article,
  .protocol-principles article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-ledger-two article:last-child,
  .skill-trust-region article:last-child,
  .protocol-interface-grid article:last-child,
  .solidification-shift article:last-child,
  .protocol-principles article:last-child {
    border-bottom: 0;
  }

  .skill-tree-scrubber-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px 18px 16px;
  }

  .skill-tree-scrubber-readout {
    grid-row: auto;
  }

  .capability-radar-header {
    padding: 16px 18px;
  }

  .capability-radar-controls {
    padding: 16px 18px 18px;
  }

  .radar-axis-label {
    font-size: 14px;
  }

  .radar-axis-value {
    font-size: 11px;
  }

  .multi-agent-method-intro {
    margin-top: 62px;
  }

  .real-robot-protocol-section {
    margin-top: 72px;
    padding-top: 72px;
  }

  .article-section.design-philosophy-section {
    margin-top: 0;
    padding-top: 96px;
  }

  .protocol-flow-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 20px 18px;
  }

  .protocol-flow-heading > strong {
    font-size: 18px;
    text-align: left;
  }

  .real-robot-protocol-flow ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .real-robot-protocol-flow li,
  .real-robot-protocol-flow li:nth-child(3n) {
    min-height: 0;
    padding: 22px 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .real-robot-protocol-flow li:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .real-robot-protocol-flow li:last-child {
    border-bottom: 0;
  }

  .real-robot-protocol-flow li::after,
  .real-robot-protocol-flow li:nth-child(3)::after {
    top: auto;
    right: auto;
    bottom: -5px;
    left: 50%;
    display: block;
    transform: translateX(-50%) rotate(135deg);
  }

  .real-robot-protocol-flow li:last-child::after {
    display: none;
  }

  .real-robot-protocol-flow li > strong {
    margin-top: 28px;
  }

  .protocol-return-line {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 18px;
  }

  .protocol-principles-intro {
    margin-top: 64px;
  }

  .protocol-principles-intro h3 {
    font-size: 31px;
  }

  .protocol-principles-intro p {
    font-size: 16px;
  }

  .protocol-principles article,
  .protocol-principles article:nth-child(2n),
  .protocol-principles article:nth-last-child(-n + 2) {
    padding: 24px 22px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .protocol-principles article:last-child {
    border-bottom: 0;
  }

  .research-reference-list article {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .research-reference-list article > small {
    text-align: left;
  }

  .paradigm-loop-canvas {
    display: grid;
    gap: 12px;
    min-height: 0;
    padding: 18px;
  }

  .paradigm-loop-paths,
  .paradigm-return-label {
    display: none;
  }

  .paradigm-node {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-height: 130px;
  }

  .paradigm-intro,
  .intro-role-grid,
  .architecture-contracts,
  .feature-proof-grid,
  .protocol-ledger,
  .application-index-grid,
  .random-success-grid,
  .robotwin-showcase-grid,
  .cross-platform-summary,
  .navigation-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .paradigm-intro article,
  .architecture-contracts article,
  .feature-proof-grid article,
  .protocol-ledger article,
  .cross-platform-summary article {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-top: 0;
  }

  .paradigm-intro article:last-child,
  .architecture-contracts article:last-child,
  .feature-proof-grid article:last-child,
  .protocol-ledger article:last-child,
  .cross-platform-summary article:last-child {
    border-bottom: 0;
  }

  .intro-role-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-role-grid article {
    min-height: 126px;
  }

  .agent-architecture-board {
    min-height: 0;
    padding: 18px;
  }

  .architecture-source {
    align-items: flex-start;
    flex-direction: column;
  }

  .architecture-source > strong {
    text-align: left;
  }

  .agent-role-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .agent-role-card {
    min-height: 0;
  }

  .architecture-evidence-bus,
  .capability-outputs,
  .agent-execution-plane {
    grid-template-columns: minmax(0, 1fr);
  }

  .architecture-evidence-bus > div,
  .architecture-evidence-bus > div:nth-child(3),
  .capability-outputs article,
  .agent-execution-plane article,
  .agent-execution-plane article:nth-child(2),
  .agent-execution-plane article:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-top: 0;
  }

  .architecture-evidence-bus > div:last-child,
  .capability-outputs article:last-child,
  .agent-execution-plane article:last-child {
    border-bottom: 0;
  }

  .architecture-return-loop {
    grid-template-columns: minmax(0, 1fr);
  }

  .application-index-grid a,
  .application-index-grid a:nth-child(odd),
  .application-index-grid a:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    background: transparent;
  }

  .application-detail {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .application-detail-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .application-detail-heading h2 {
    font-size: 38px;
  }

  .application-detail-heading > a {
    flex-basis: auto;
  }

  .random-gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .random-success-card > div {
    min-height: 0;
  }

  .robotwin-trace-card > div {
    min-height: 0;
  }

  .trace-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
  }

  .trace-dialog-shell {
    max-height: calc(100vh - 24px);
  }

  .trace-dialog-body {
    grid-template-areas:
      "media"
      "meta"
      "note"
      "steps";
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .skill-tree-evolution {
    border-radius: 7px;
  }

  .navigation-flow article {
    min-height: 150px;
  }
}

@media (max-width: 980px) {
  .evolution-release-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .evolution-pass-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .evolution-pass-track > i {
    display: none;
  }

  .perturbation-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .evolution-pass-track,
  .evolution-subsets,
  .perturbation-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .evolution-pass-track > span {
    min-height: 68px;
  }

  .evolution-subsets p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .evolution-subsets p:last-child {
    border-bottom: 0;
  }

  .act-source-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .roborsi-page figcaption {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .roborsi-page .figure-number {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .ppt-architecture > .paper-figure-art {
    display: none;
  }

  .overall-harness-mobile {
    display: block;
    padding: 18px;
    border: 1px solid rgba(20, 39, 53, 0.14);
    background:
      linear-gradient(rgba(0, 125, 206, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 125, 206, 0.035) 1px, transparent 1px),
      #fbfdfe;
    background-size: 24px 24px;
  }

  .overall-harness-mobile > div {
    padding: 4px 2px 16px;
    border-bottom: 1px solid var(--line);
  }

  .overall-harness-mobile > div > span {
    display: block;
    color: var(--roborsi-blue);
    font: 700 10px/1.2 var(--font-mono);
  }

  .overall-harness-mobile > div > strong {
    display: block;
    margin-top: 8px;
    font-family: var(--display);
    font-size: 21px;
    font-weight: 540;
    line-height: 1.2;
  }

  .overall-harness-mobile ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .overall-harness-mobile li {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 3px 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .overall-harness-mobile li:last-child {
    border-bottom: 0;
  }

  .overall-harness-mobile li > span {
    grid-row: 1 / 3;
    color: var(--roborsi-blue);
    font: 700 11px/1.3 var(--font-mono);
  }

  .overall-harness-mobile li > strong {
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
  }

  .overall-harness-mobile li > small {
    min-width: 0;
    color: var(--roborsi-muted);
    font-size: 11px;
    line-height: 1.42;
  }

  .multi-agent-method-intro h2,
  html[data-lang="en"] .multi-agent-method-intro h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 34px;
  }

  .multi-agent-method-intro p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .application-detail-heading h2 {
    font-size: 33px;
  }

  .paradigm-intro h3,
  .architecture-contracts h3,
  .application-index-grid h3 {
    font-size: 24px;
  }
}

@supports not (width: min(100%, 100px)) {
  .problem-ledger.problem-ledger-two,
  .agent-architecture,
  .real-robot-protocol-flow,
  .simulation-evolution-figure,
  .random-gallery-toolbar,
  .random-success-grid,
  .physical-prototype,
  .engineering-history,
  .evolution-evidence {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
  }

  .ppt-architecture,
  .skill-tree-scrubber,
  .skill-tree-evolution {
    left: auto;
    width: calc(100% - 48px);
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skill-tree-scrubber-stage img {
    animation: none;
  }

  .paradigm-path {
    animation: none;
  }

  .paradigm-particle {
    display: none;
  }

  .figure-flow-overlay {
    display: none;
  }

  .js .agent-role-card,
  .js .architecture-evidence-bus,
  .js .architecture-release-row,
  .js .agent-execution-plane,
  .js .architecture-return-loop {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .js .agent-flow-line {
    transform: scaleX(1);
    animation: none !important;
  }

  .multi-agent-operation .agent-role-card::before,
  .multi-agent-operation .architecture-evidence-bus > div::after,
  .multi-agent-operation .agent-execution-plane article::before {
    opacity: 0.45;
    transform: scaleX(1);
    animation: none !important;
  }

  .multi-agent-operation .role-mark,
  .multi-agent-operation .agent-role-state i,
  .multi-agent-operation .architecture-return-loop i {
    animation: none !important;
  }

  .multi-agent-operation .agent-flow-line::before {
    display: none;
  }
}

@media (max-width: 900px) {
  html[data-lang="zh"] .roborsi-page .chapter-divider .chapter-subtitle span {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .skill-tree-scrubber-ticks {
    column-gap: 6px;
  }

  .skill-tree-scrubber-ticks button {
    min-height: 40px;
    line-height: 1.15;
    white-space: normal;
  }

  .roborsi-page .chapter-divider .chapter-heading h2,
  html[data-lang="en"] .roborsi-page .chapter-divider .chapter-heading h2 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }
}

/* Mid-width guard: wide blocks must not overflow the content column or touch the TOC rail. */
@media (min-width: 1181px) and (max-width: 1560px) {
  .ppt-architecture,
  .skill-tree-scrubber,
  .skill-tree-evolution,
  .random-success-grid,
  .problem-ledger.problem-ledger-two {
    width: min(1120px, 100%);
  }

  .evolution-evidence-grid {
    width: calc(100% - 48px);
    margin-right: auto;
    margin-left: auto;
  }
}
