/* Manuscript figures, paired demonstrations and source-grounded tables. */
.author-line { color: #536b73; font-size: 16px; margin: 20px 0 0; }
.actions { flex-wrap: wrap; }
.navlinks { gap: 22px; }
.abstract-text p { text-wrap: pretty; }
.abstract-text strong { color: var(--green); }
.paper-reference { font-size: 14px; color: #316d73; text-decoration: underline; text-underline-offset: 4px; }
.paper-figure { margin: 30px 0 42px; padding: 22px; border: 1px solid #c6dcdf; border-radius: 12px; background: #ffffffeb; box-shadow: 0 12px 35px #17453706; }
.paper-figure > a { display: block; }
.paper-figure img { display: block; width: 100%; height: auto; border-radius: 3px; }
.paper-figure figcaption { font-size: 14px; line-height: 1.7; color: #586b74; margin-top: 18px; }
.paper-figure figcaption a { display: inline; color: #316d73; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.motivation-figure { max-width: 900px; margin-inline: auto; margin-bottom: 46px; }
.case-figure { max-width: 860px; margin: 30px auto 76px; }
.case-figure:last-child { margin-bottom: 0; }
.method-grid { margin-top: 44px; }
.demos-band { background: linear-gradient(180deg, #e4f4ef, #edf5fb 45%, #e4f4ef); }
.demo-group { background: #ffffffa8; border: 1px solid #c5dbdd; border-radius: 14px; padding: 30px; }
.demo-heading { display: flex; gap: 35px; justify-content: space-between; align-items: center; }
.demo-heading .eyebrow { font-size: 12px; margin-bottom: 10px; }
.demo-heading h3 { font-size: 27px; line-height: 1.3; letter-spacing: -.035em; margin-bottom: 22px; }
.demo-heading > p { max-width: 380px; font-size: 15px; line-height: 1.7; }
.demo-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin: 12px 0 25px; }
.case-picker { display: flex; gap: 6px; flex-wrap: wrap; }
.case-button { background: #f1f7f7; border: 1px solid #c5d9da; border-radius: 6px; color: #49646c; font: 600 14px 'DM Sans', Arial, sans-serif; padding: 10px 13px; cursor: pointer; }
.case-button[aria-pressed="true"] { background: #d5eae4; border-color: #6eaaa2; color: #214f4b; box-shadow: inset 0 -2px #6eaaa2; }
.case-button:hover { background: #deeeea; }
.playback-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.playback-controls .button { cursor: pointer; padding: 8px 12px; color: #2c555b; }
.playback-controls label { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #536b73; }
.playback-controls select { padding: 8px; }
.video-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.video-card { margin: 0; background: #fff; border: 1px solid #cfdfdf; border-radius: 10px; overflow: hidden; }
.video-card figcaption { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 14px 16px; font-size: 13px; }
.outcome { font-weight: 600; }
.outcome.wrong { color: #974d40; }
.outcome.right { color: #276b59; }
.case-label { color: #6b7b80; font-size: 12px; white-space: nowrap; }
.video-card video { display: block; width: 100%; aspect-ratio: 1; background: #dee8e7; object-fit: contain; }
.video-download { display: block; font-size: 13px; color: #456b70; padding: 10px 16px; text-decoration: underline; text-underline-offset: 3px; }
.playback-status { min-height: 24px; font-size: 14px; color: #37686a!important; margin: 20px 0 6px; }
.demo-note { font-size: 13px; margin-bottom: 0; }
.stat-strip { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid #b9d4ce; padding: 28px 0; margin: 22px 0 28px; }
.stat-strip > div { padding: 0 28px; }
.stat-strip > div:first-child { padding-left: 0; }
.stat-strip > div + div { border-left: 1px solid #b9d4ce; }
.stat-strip strong { font: 700 clamp(32px,4vw,48px)/1.3 'Manrope', Arial, sans-serif; letter-spacing: -.04em; color: #286454; }
.stat-strip strong span { font-size: .6em; }
.stat-strip p { font-size: 14px; margin: 9px 0 0; }
.protocol-note { font-size: 15px; margin-bottom: 30px; }
.protocol-note a { color: #316d73; text-decoration: underline; }
.table-panel { background: #ffffffc9; border: 1px solid #c4d9d5; border-radius: 12px; padding: 26px; margin: 24px 0 32px; overflow: hidden; }
.table-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.table-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #548085; }
.table-title h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.03em; margin: 9px 0 15px; }
.table-title .paper-reference { white-space: nowrap; margin-top: 7px; font-size: 13px; }
.table-panel table { font-variant-numeric: tabular-nums; margin: 12px 0 14px; font-size: 14px; }
.table-panel th, .table-panel td { padding: 12px 11px; text-align: right; }
.table-panel thead th { color: #41626a; background: #eef5f4; font-size: 13px; }
.table-panel thead th[colspan] { text-align: center; }
.table-panel th:first-child { text-align: left; }
.table-panel tbody th { font-weight: 500; }
.table-panel tbody tr.ours { background: #e0f1e9; color: #21574f; }
.table-panel tbody tr.ours th, .table-panel tbody tr.ours td { font-weight: 700; }
.table-panel tbody tr:hover { background: #edf5f7; }
.table-panel .table-note { font-size: 13px; line-height: 1.7; margin: 5px 0 0; }
.table-scroll { scrollbar-color: #8db7b6 #edf5f3; }
.results-subheading { margin-top: 58px; }
.results-subheading h3 { font-size: 28px; margin-bottom: 12px; letter-spacing: -.035em; }
.results-subheading p { font-size: 15px; }
.runtime-details .table-panel, .sensitivity-details .table-panel { margin-bottom: 0; padding: 22px 0 0; border: 0; border-radius: 0; background: transparent; }
.ablation-band { background: linear-gradient(180deg, #f4f8fa, #eaf4f7 55%, #f4f8fa); }
.ablation-takeaway { border-left: 3px solid #82b5ac; padding-left: 22px; max-width: 870px; font-size: 18px; margin: 30px 0; }
.sensitivity-details { padding: 20px 24px; background: #ffffffb5; border: 1px solid #c4dad1; border-radius: 10px; }
.data-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media(max-width:950px) {
  nav { flex-wrap: wrap; gap: 12px; }
  .navlinks { order: 3; width: 100%; justify-content: center; gap: 25px; }
  .draft { margin-left: auto; }
  html { scroll-padding-top: 135px; }
  .demo-heading { display: block; }
  .demo-heading > p { max-width: none; }
}
@media(max-width:760px) {
  .navlinks { justify-content: flex-start; gap: 22px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .navlinks a { white-space: nowrap; }
  .paper-figure { padding: 14px; margin-block: 25px 35px; }
  .paper-figure figcaption { font-size: 13px; }
  .demo-group { padding: 20px; }
  .demo-heading h3 { font-size: 24px; }
  .demo-toolbar { gap: 15px; }
  .case-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .case-button { padding: 9px 5px; font-size: 13px; }
  .video-pair { gap: 15px; }
  .video-card figcaption { display: block; padding: 10px; }
  .case-label { display: block; margin-top: 3px; }
  .video-download { padding: 9px 10px; font-size: 12px; }
  .case-figure { margin-bottom: 54px; }
  .stat-strip { gap: 20px; grid-template-columns: 1fr; }
  .stat-strip > div, .stat-strip > div:first-child { padding: 0; }
  .stat-strip > div + div { border-left: 0; border-top: 1px solid #c8dcd6; padding-top: 18px; }
  .stat-strip strong { font-size: 37px; }
  .table-panel { padding: 17px; }
  .table-title { display: block; }
  .table-title h3 { font-size: 20px; }
  .table-title .paper-reference { display: inline-block; margin: 0 0 10px; }
  .sensitivity-details { padding: 18px; }
}
@media(max-width:460px) {
  .video-pair { grid-template-columns: 1fr; }
  .video-card figcaption { display: flex; }
  .case-label { margin-top: 0; }
}
