/* Keep research articles on the synthesis page's reading measure. */
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper {
  width:min(1080px,calc(100% - 48px)); max-width:none; padding:48px 0 64px;
}
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper > .header {
  width:min(760px,100%); max-width:none; margin:0 auto; padding:0; border-bottom:0;
}
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper > section {
  width:min(760px,100%); max-width:none; margin:0 auto; padding:18px 0;
}
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper > section + section {
  margin-top:0; padding-top:18px;
}
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper .article-dek { max-width:none; }
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper .whiteboard-diagram {
  width:100%; max-width:760px;
}
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper-footer {
  width:min(760px,100%); max-width:none; margin:44px auto 0;
}
:is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper h1,
:is(.tool-efficiency-page,.rlm-page,.answer-path-page) h1 {
  max-width:none; margin-inline:auto; text-align:center;
}
main .paper h1 { line-height:1.12; }
main .clustering-page .paper > header + section { padding-top:34px !important; }
/* Match compact results to the numeric and body type used in article tables. */
main .paper :is(.stat-value,.ratio-card-value) {
  font:500 var(--wp-type-body)/1.3 var(--wp-mono);
  letter-spacing:0;
}
main .paper :is(.stat-label,.ratio-card-industry,.ratio-card-body) {
  font-size:var(--wp-type-body);
}
:is(.tool-efficiency-page,.rlm-page) .paper > header,
.rlm-page .paper > section,
.rlm-page .paper-footer {
  width:min(760px,100%); max-width:none; margin-inline:auto;
}
.rlm-page .paper > section { padding:12px 0; }
.rlm-page .paper-footer { margin-top:44px; }
.rlm-page .article-dek { max-width:none; }
.tool-efficiency-page .paper > header { margin-bottom:24px; }
.tool-efficiency-page .paper > section { margin-inline:auto; }
.tool-efficiency-page .paper > section.paper-read {
  max-width:760px; margin:12px auto 0; padding-top:16px;
}
.tool-efficiency-page .paper-footer { width:min(760px,100%); margin:44px auto 0; }
.answer-path-page .paper > section { padding:12px 0; }
.answer-path-page .paper > header + section { padding-top:44px; }
.answer-path-page .paper-footer { margin-top:44px; }
.answer-path-page h1 .title-line { display:block; }
main .paper .article-dek { margin-top:34px !important; }
main .tool-efficiency-page .paper > header + section { padding-top:34px !important; }
main .paper .paper-footer {
  color:#444 !important;
  font:400 14px/1.5 "DM Sans",Arial,sans-serif !important;
}
main .paper .paper-footer span { color:#444 !important; font-weight:400 !important; }
main .paper .paper-footer .paper-footer-dot { color:#777 !important; }
.tool-efficiency-page .paper-citation {
  margin:0 0 16px; color:#444; font:400 14px/1.55 "DM Sans",Arial,sans-serif;
}
.tool-efficiency-page .paper-citation a { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
.rlm-page .research-figure.rlm-method-figure {
  width:min(100%,580px); max-width:580px; margin:24px auto;
}
.rlm-method-figure picture,
.rlm-method-figure img { display:block; width:100%; height:auto; }
/* Research tables use the article's reading type and wrap within narrow screens. */
main .wp-root .appendix-table {
  width:100%; min-width:0; table-layout:fixed;
  font:400 var(--wp-type-body,16px)/1.5 var(--wp-sans,"DM Sans",Arial,sans-serif);
}
main .wp-root .appendix-table :is(th,td),
main .wp-root .appendix-table :is(th,td) * {
  font-family:var(--wp-sans,"DM Sans",Arial,sans-serif) !important;
  font-size:var(--wp-type-body,16px) !important;
  line-height:1.5;
  overflow-wrap:anywhere;
}
main .wp-root .appendix-table th { font-weight:600; }
@media(max-width:680px) {
  :is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper {
    width:calc(100% - 40px); padding:32px 0 64px;
  }
  :is(.rca-benchmark-page,.clustering-page,.rca-claude-code-page) .paper .whiteboard-diagram {
    width:100%;
  }
}
@media(max-width:620px) {
  main .wp-root :is(.sketch-diagram,.whiteboard-diagram,.tool-savings-figure,.research-figure,.issue-volume-chart) {
    width:100% !important; max-width:100% !important; overflow:hidden !important;
  }
  main .wp-root :is(.sketch-diagram,.whiteboard-diagram,.tool-savings-figure,.research-figure,.issue-volume-chart) :is(svg,img,picture) {
    display:block; width:100% !important; min-width:0 !important; max-width:100% !important; height:auto !important;
  }
  main .rlm-page .research-figure.rlm-method-figure {
    width:min(100%,280px) !important; max-width:280px !important; margin:22px auto !important;
  }
  main .wp-root .appendix-table :is(th,td) {
    padding:8px 5px;
    hyphens:auto;
  }
}
