.edition-nav { background: #fafbfc; border-bottom: 1px solid #eaedef; font-size: .8rem; }
.edition-nav .wrap { display: flex; justify-content: space-between; align-items: stretch; }
.edition-nav span { display: flex; gap: 1.1rem; }
.edition-nav a { display: inline-block; padding: .4rem 0; color: #56616a; text-decoration: none; }
.edition-nav a:hover, .edition-nav a:focus-visible { text-decoration: underline; }
.edition-nav [aria-current] { color: #175c8c; box-shadow: inset 0 -2px; font-weight: 700; }
.edition-nav .back-review { font-weight: 700; }
.studio .evidence > .figure:not(:first-of-type), .studio .evidence section + .figure { margin-top: 32px; }
.studio .publication, .studio main { overflow-wrap: break-word; }
.studio .scroll { max-width: 100%; overflow-x: auto; }
.studio .results-table { font-variant-numeric: tabular-nums; }
.studio .evidence > .figure { max-width: 890px; margin-inline: auto; }
.studio .citation { white-space: pre-wrap; overflow-wrap: anywhere; }
.title-phrase { white-space: nowrap; }
.studio .overlay-key { display: flex; gap: .85rem; align-items: center; color: #424b52; font-size: .83rem; }
.studio .overlay-key[hidden] { display: flex; visibility: hidden; }
.overlay-key span { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.overlay-key span::before { content: ""; width: 1.05rem; height: .4rem; border-radius: 2px; }
.gt-key::before { background: #a9e5db; border: 1px solid #7cbeb3; }
.prediction-key::before { background: #aa8bc8; border: 1px solid #9475b0; }
.studio .playerbar { justify-content: flex-start; gap: .65rem 1.2rem; min-height: 48px; }
.studio .overlay-key { margin-left: auto; }
.recording-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.6rem 1.25rem; }
.recording-grid figure { min-width: 0; margin: 0; }
.recording-grid .tile-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.tile-heading h4 { margin: 0; font-size: 1rem; }
.tile-heading a { font-size: .83rem; color: var(--accent); }
.recording-grid video, .field-example video { aspect-ratio: 1408 / 646; object-fit: contain; background: white; }
.poster-player { position: relative; }
.poster-play { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; }
.poster-play::before, .poster-play::after { content: ""; position: absolute; }
.poster-play::before { left: 9px; bottom: 9px; width: 34px; height: 34px; background: #233441eb; border-radius: 50%; }
.poster-play::after { left: 23px; bottom: 20px; border-left: 10px solid white; border-block: 6px solid transparent; }
.poster-play:hover::before, .poster-play:focus-visible::before { background: #176caa; }
.recording-grid figcaption { margin: .4rem 0 0; color: #545b62; font-size: .9rem; }
.studio .youtube-menu button, .studio .youtube-menu a { min-height: 26px; }
.studio .youtube-menu button { width: 100%; }
.gallery-choice { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-block: 1.25rem; }
.gallery-choice h2 { font-size: 1.25rem; margin: 0; }
.gallery-choice p { margin: .4rem 0 .65rem; }
.gallery-choice a { color: #245d84; display: inline-block; margin: 0 1.5rem .35rem 0; }
.studio .results-table thead th { white-space: nowrap; }
.studio .scroll:focus-visible, .studio .citation:focus-visible, .studio select:focus-visible { outline: 2px solid #176caa; outline-offset: 2px; }
.studio .section-intro { max-width: none; }
.scroll-hint { margin: .5rem 0 0; color: #53616d; font-size: .8rem; }
@media (max-width: 840px) {
  .results-table { --subset-width: 5.5rem; }
  .results-table th[scope="row"], .joint-results .dataset { position: sticky; left: 0; background: white; box-shadow: 1px 0 #e0e5e9; }
  .results-table .ours th[scope="row"] { background: #ecf4fa; }
  .results-table thead th[rowspan], .joint-results thead th:nth-child(-n+2) { position: sticky; left: 0; z-index: 1; background: #f3f4f6; box-shadow: 1px 0 #e0e5e9; }
  .joint-results .dataset, .joint-results thead th:first-child { min-width: var(--subset-width); width: var(--subset-width); }
  .joint-results th[scope="row"], .joint-results thead th:nth-child(2) { left: var(--subset-width); }
}
@media (max-width: 660px) {
  .recording-grid { grid-template-columns: minmax(0,1fr); gap: 1.2rem; }
  .studio .playerbar { justify-content: flex-start; gap: .4rem .7rem; }
  .studio .overlay-key { flex-basis: 100%; margin: 0; }
}

.edition-method .publication { text-align: left; width: min(1060px, calc(100% - 48px)); max-width: none; padding: 44px 0 20px; }
.edition-method .publication h1 { max-width: 27em; margin-left: 0; }
.edition-method .byline, .edition-method .resources { justify-content: flex-start; }
.edition-method .resources a { border-radius: 4px; }
.studio.edition-method #overview { max-width: none; border-top: 1px solid var(--line); padding-block: 18px; }
.edition-method #overview figure { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(190px, 1fr); gap: clamp(22px,4vw,56px); align-items: center; }
.studio.edition-method #overview figcaption { margin: 0; max-width: 34ch; }
.edition-method #overview figcaption strong { display: block; color: var(--ink); margin: 1.1rem 0 .2rem; }
.edition-method #overview figcaption strong:first-child { margin-top: 0; }
.edition-method main .block h2, .edition-method .sectionhead { text-align: left; }
.edition-method .sectionhead > p { margin-left: 0; }
.edition-method #abstract { display: grid; grid-template-columns: minmax(125px, .7fr) minmax(0, 2.2fr); gap: 1.5rem; }
.fit-example { max-width: 940px; margin: 2rem auto 1.6rem; padding: 1.6rem 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); align-items: center; gap: clamp(22px,5vw,72px); }
.fit-example img { width: 100%; height: auto; }
.fit-example h3 { margin: 0 0 .55rem; font-size: 1.4rem; }
.fit-example p { margin: 0; line-height: 1.65; }
.edition-field .publication { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: center; gap: 3.5%; max-width: 1108px; text-align: left; }
.edition-field .publication h1 { font-size: clamp(1.9rem,3.15vw,2.7rem); }
.edition-field .publication-meta { padding-left: 24px; border-left: 1px solid var(--line); }
.edition-field .byline, .edition-field .resources { justify-content: flex-start; }
.edition-field .venue { font-size: 1rem; margin-top: 0; }
.edition-field .resources a { padding: 5px 10px; font-size: .82rem; }
.studio.edition-field #overview { max-width: 770px; }
.studio.edition-field .youtube-gallery { display: flex; flex-direction: column; gap: .5rem; }
.edition-field .field-example { width: 100%; }
.edition-field .youtube-menu { display: flex; width: 100%; flex-wrap: wrap; gap: .35rem; }
.edition-field .youtube-menu li { flex: 1 1 140px; }
.review-wrap { max-width: 1190px; margin: 0 auto; padding: clamp(36px,6vw,85px) clamp(18px,4vw,56px); color: #202832; word-break: keep-all; overflow-wrap: anywhere; }
.review header { max-width: 770px; }
.review header p:first-child { font-size: .88rem; font-weight: 700; color: #28658c; }
.review header h1 { margin: .6rem 0; font-size: clamp(2rem,4vw,3.1rem); letter-spacing: -.055em; line-height: 1.2; }
.review header p { margin: .65rem 0; color: #505d68; line-height: 1.75; }
.review-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,3vw,36px); margin-top: clamp(22px,4vw,48px); }
.review-option { border-top: 1px solid #9da9b1; display: flex; flex-direction: column; min-width: 0; }
.review-thumb { display: grid; place-items: center; height: clamp(135px,16vw,195px); margin: 14px 0; background: #f6f7f8; }
.review-thumb img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.review-option h2, .review-option h3 { margin: 0; line-height: 1.4; }
.review-wrap .review-option h2 { margin: .6rem 0 .25rem; text-align: left; font-size: 1.4rem; }
.review-option h2 a { text-decoration: none; }
.review-option h3 { font-size: 1rem; font-weight: 500; }
.review-option p { color: #53606c; font-size: .94rem; line-height: 1.7; margin: .7rem 0 1.3rem; }
.review-actions { display: flex; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; margin-top: auto; font-size: .85rem; }
.review-actions a { color: #245d84; }
.review-actions a:first-child { background: #263b4a; color: white; padding: .4rem .75rem; border-radius: 4px; text-decoration: none; }
@media(max-width:720px) {
  .edition-field .publication, .edition-method #overview figure, .edition-method #abstract, .fit-example { display: block; }
  .edition-field .publication-meta { border-left: 0; padding-left: 0; margin-top: 1rem; }
  .edition-method .publication { width: calc(100% - 28px); padding: 25px 0 15px; }
  .studio.edition-method #overview figcaption { max-width: none; margin-top: 1rem; }
  .fit-example figcaption { padding-top: 1rem; }
  .review-options { grid-template-columns: 1fr; gap: 30px; }
  .review-thumb { height: 180px; }
}

/* Sticky section navigation. */
.section-nav { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(20,30,40,.06); transform: translateY(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.section-nav.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
.section-nav .wrap { display: flex; align-items: center; gap: 1rem; min-height: 46px; }
.section-nav .nav-brand { font-weight: 900; color: var(--accent); text-decoration: none; letter-spacing: -.02em; }
.section-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0 auto; padding: 0; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav li a { display: block; padding: .38rem .75rem; border-radius: 999px; color: #4d565e; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.section-nav li a:hover { color: var(--ink); background: #f1f3f5; }
.section-nav li a[aria-current="true"] { color: var(--accent); background: #eaf2f8; font-weight: 700; }
.section-nav .nav-spacer { width: 2.6rem; flex: none; }
.studio main > section { scroll-margin-top: 56px; }
@media (max-width: 600px) {
  .section-nav .wrap { gap: .4rem; }
  .section-nav .nav-brand, .section-nav .nav-spacer { display: none; }
  .section-nav li a { padding: .34rem .6rem; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { .section-nav, .section-nav.is-visible { transition: none; } }
