/* Layout adapted from Nerfies (https://nerfies.github.io/), CC BY-SA 4.0.
   Bulma provides the original template's base typography and controls. */
:root{color-scheme:light;scroll-behavior:smooth}
body{font-family:"Noto Sans",Arial,Helvetica,sans-serif;color:#363636;background:#fff;font-size:16px;line-height:1.65}
a{color:#3273dc}a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,summary:focus-visible,.table-scroll:focus-visible{outline:3px solid #3273dc;outline-offset:4px}
[id]{scroll-margin-top:24px}
main{max-width:1120px;margin:0 auto;padding:0 32px}
.publication-header .hero-body{padding:64px 0 32px}
.publication-title.title{font-size:48px;line-height:1.15;font-weight:600;letter-spacing:-1.5px;margin-bottom:20px}
.publication-subtitle{font-size:26px;line-height:1.35;max-width:850px;margin:0 auto 24px;font-weight:400}
.resource-buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.resource-button.button{height:auto;min-height:40px;gap:7px;padding:9px 18px;font-size:15px;line-height:1.3}
.resource-button.button[disabled]{opacity:1;background:#363636;border-color:#363636;color:#fff;cursor:default}
.resource-button svg{width:17px;height:17px;flex-shrink:0}
.resource-status{font-size:12px;color:#d6d6d6}
.teaser{max-width:1000px;margin:0 auto 20px}
.teaser img,.paper-figure img{display:block;width:100%;height:auto}
.research-question{max-width:960px;margin:20px auto 36px;text-align:center}
.question-context{font-size:18px;line-height:1.6}
.question-context p+p{margin-top:8px}
.section{padding:44px 0;max-width:100%;margin:0 auto}
.title.is-3{font-size:30px;line-height:1.25;font-weight:600;text-align:center;margin-bottom:24px;letter-spacing:0}
.section-heading{max-width:960px;margin:0 auto 24px}
.section-heading p{line-height:1.7;margin:12px 0}
.section-heading .section-subtitle{text-align:center;font-size:18px;font-weight:500}
#abstract{max-width:960px}
.text-section p{line-height:1.8}
.paper-figure{max-width:1000px;margin:28px auto 40px}
.paper-figure:last-child{margin-bottom:0}
.paper-figure figcaption{font-size:14px;color:#666;text-align:center;margin-top:12px}
.paper-table-block{margin:36px 0 44px}
h3{font-size:23px;font-weight:600;line-height:1.35;margin:24px 0 16px;color:#363636}
.paper-table-block>h3,.figure-example-block>h3,.rollout-subtitle{text-align:center}
.table-scroll{max-width:100%;overflow-x:auto;margin:16px 0;-webkit-overflow-scrolling:touch}
.paper-table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums;background:#fff}
.paper-table caption{caption-side:top;text-align:left;font-size:14px;line-height:1.6;color:#555;margin-bottom:12px}
.paper-table th,.paper-table td{padding:10px 12px;text-align:right;vertical-align:middle;border-bottom:1px solid #e8e8e8;white-space:nowrap}
.paper-table thead th{text-align:center;background:#f5f5f5;font-weight:600;border-top:1px solid #999;border-bottom:1px solid #999}
.paper-table thead th:first-child,.paper-table tbody th,.paper-table tfoot th{text-align:left}
.paper-table tbody th{font-weight:400}
.paper-table .table-group th{background:#fafafa;text-align:left;font-weight:600;border-top:1px solid #bbb}
.paper-table strong{font-weight:700;color:#222}
.paper-table tfoot th,.paper-table tfoot td{font-weight:600;border-top:1px solid #999;border-bottom:2px solid #999}
.table-note{font-size:14px;line-height:1.65;color:#666;margin-top:12px}
.results-explanation{max-width:960px;margin:40px auto 12px}
.results-explanation p+p{margin-top:16px}
.eyebrow{font-size:15px;color:#666;margin-bottom:8px}
.results-explanation h3{margin-top:8px}
.figure-example-block{margin:48px 0}
.rollout-subtitle{font-size:24px;margin:32px 0 24px}
.rollout-comparison{padding:28px 0 32px;border-top:1px solid #e5e5e5}
.rollout-category{text-align:center;font-size:16px;font-weight:600;margin-bottom:6px}
.rollout-slice{text-align:center;font-size:14px;color:#666}
.rollout-comparison>h3{font-size:20px;font-weight:500;line-height:1.5;text-align:center;max-width:900px;margin:10px auto 18px}
.rollout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.rollout-player{min-width:0}
.rollout-player h4{font-size:17px;font-weight:600;text-align:center;margin-bottom:4px}
.rollout-outcome{font-size:14px;color:#555;text-align:center;margin-bottom:12px;min-height:23px}
.rollout-player video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#111;border-radius:3px}
.pair-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:16px 0 22px}
.pair-controls button{font:inherit;font-size:14px;line-height:1.4;background:#f5f5f5;border:1px solid #d6d6d6;border-radius:4px;padding:7px 13px;color:#363636;cursor:pointer}
.pair-controls button:hover{background:#eee}
.pair-controls button:disabled{opacity:.6;cursor:wait}
.pair-status{font-size:13px;color:#666}
.pending-rollouts{margin:24px 0;border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:16px 0}
.pending-rollouts>summary{font-size:17px;font-weight:600;cursor:pointer}
.pending-rollouts[open]>summary{margin-bottom:24px}
.navigation-rollouts{margin-top:44px;padding-top:12px}
.navigation-rollout-intro{text-align:center;font-size:16px;margin:0 auto 24px;max-width:850px}
.navigation-rollout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 24px}
.navigation-rollout:last-child{grid-column:1/-1;width:calc((100% - 24px)/2);justify-self:center}
.navigation-rollout h4{min-height:52px;line-height:1.5}
.footer{background:#fafafa;padding:36px 24px;margin-top:40px;font-size:14px;color:#666}
@media(max-width:767px){
 main{padding:0 20px}
 .publication-header .hero-body{padding:42px 0 26px}
 .publication-title.title{font-size:34px;letter-spacing:-.7px}
 .publication-subtitle{font-size:21px}
 .resource-button.button{font-size:14px;padding:8px 13px}
 .question-context{font-size:16px}
 .section{padding:32px 0}
 .title.is-3{font-size:26px}
 h3{font-size:21px}
 .paper-table{font-size:13px}
 .paper-table th,.paper-table td{padding:9px}
 .rollout-grid,.navigation-rollout-grid{grid-template-columns:1fr;gap:26px}
 .navigation-rollout:last-child{grid-column:auto;width:100%}
 .navigation-rollout h4{min-height:0}
 .rollout-comparison>h3{font-size:18px}
}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}

/* Compact contents rail; the research page keeps its neutral template styling. */
.page-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;max-width:1380px;margin:0 auto;padding:0 24px}
.page-layout main{min-width:0;width:100%;padding:0 16px}
.contents-rail{position:sticky;top:28px;align-self:start;max-height:calc(100vh - 56px);overflow-y:auto;margin-top:64px}
.contents-title{font-size:13px;font-weight:600;color:#555;margin-bottom:12px;cursor:pointer}
.contents nav{display:flex;flex-direction:column;gap:3px;border-left:1px solid #e5e5e5}
.contents nav a{display:block;padding:7px 10px;border-left:2px solid transparent;margin-left:-1px;font-size:13px;line-height:1.4;color:#666;text-decoration:none}
.contents nav .subsection-link{font-size:12px;padding:5px 10px 5px 20px}
.contents nav a:hover{color:#222;background:#fafafa}
.contents nav a[aria-current]{color:#222;border-left-color:#555;background:#f5f5f5;font-weight:600}
@media(min-width:768px){.contents-title{list-style:none;pointer-events:none}.contents-title::-webkit-details-marker{display:none}}
@media(min-width:768px) and (max-width:1099px){.page-layout{grid-template-columns:150px minmax(0,1fr);gap:16px;padding:0 16px}.page-layout main{padding:0 8px}.publication-title.title{font-size:38px}}
@media(max-width:767px){.page-layout{display:block;padding:0 20px}.page-layout main{padding:0}.contents-rail{position:static;max-height:none;margin-top:16px;border-bottom:1px solid #eee;padding-bottom:10px}.contents-title{margin-bottom:0}.contents[open] .contents-title{margin-bottom:10px}.contents nav{max-height:45vh;overflow:auto}.publication-header .hero-body{padding-top:32px}}
