/* Final presentation layer shared by all five pages. */
.hero .idea-summary{max-width:740px;margin:30px auto 0;font-size:17px;line-height:1.7;color:#50596b;text-align:left;text-wrap:pretty}
body.edition-two #real-experiments .task-caption{flex-wrap:wrap}
body.edition-two #real-experiments .task-caption .trial-timing-note{flex-basis:100%;max-width:none;font-size:14px!important;line-height:1.5;color:#626d80;margin:6px 0 0}
.agent-log-header #agent-log-clock{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:600px){
 body.edition-two #real-experiments .task-caption{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}
 body.edition-two #real-experiments .task-caption>div:first-child{flex:0 0 100%;min-width:0}
 body.edition-two #real-experiments .task-caption #task-title{max-width:none;overflow-wrap:normal;font-size:22px;line-height:1.3}
 body.edition-two #real-experiments .task-caption .selected-trial-note{flex:1 1 150px;max-width:none;margin:0}
 body.edition-two #real-experiments .task-caption .trial-timing-note{flex-basis:100%;max-width:none}
 body.edition-two .demo-chapter .chapter-heading{flex-wrap:wrap;align-items:flex-start}
 body.edition-two .nav{max-width:100%;box-sizing:border-box}
 body.edition-two .nav nav{max-width:100%;min-width:0;flex-wrap:wrap;column-gap:12px;row-gap:8px;justify-content:center}
 body.edition-two .nav nav a{flex:0 0 auto}
 body.edition-two .hero .idea-summary{font-size:16px;margin-top:24px}
 .agent-log-header{flex-wrap:wrap;gap:8px 12px}
}
@media(max-width:360px){body.edition-two .nav nav{column-gap:8px}}
:root{--review-heading:32px;--review-body:16px;--review-note:14px}
body.edition-two :is(.chapter-heading,.section-heading,.benchmark-intro) h2,
body.edition-two .full-results>h2{font-size:var(--review-heading);line-height:1.2;font-weight:600;letter-spacing:-.035em}
body.edition-two .research-lead,body.edition-two .benchmark-subtitle{font-size:var(--review-body);line-height:1.6}
body.edition-two main section:not(.hero) h2{font-size:var(--review-heading)!important;line-height:1.2;font-weight:600;letter-spacing:-.035em}
body.edition-two #full-results-section .full-results>h3,body.edition-two #results h3{font-size:24px;line-height:1.3}
body.edition-two .full-results>h3,body.edition-two .chart-heading h3,body.edition-two .platform-heading h3{font-size:24px;line-height:1.3}
body.edition-two #abstract .wrap{display:block;max-width:800px}
body.edition-two #abstract p{max-width:none}
body.edition-two #abstract .paper-downloads{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-top:24px}
body.edition-two #abstract .paper-downloads .button{height:auto;min-height:44px}
.benchmark-group-label{font-size:14px;font-weight:600;color:#5c6b7e;margin:0 0 14px}
.log-available{display:inline-flex;margin-left:6px;vertical-align:middle;color:#42648b;flex-shrink:0}
.connector-picker .log-available svg{width:14px;height:14px}
.connector-picker button.selected .log-available{color:inherit}
.connector-picker .log-availability-key{display:flex;align-items:center;gap:6px;font-size:12px;color:#526783;margin:10px 0 16px}
.chart-pan{display:none}
.evidence-note{font-size:13px;line-height:1.55;color:#42648b;margin:12px 0 0;padding:10px 12px;border-left:2px solid #82a9dc;background:#f0f5fb}
.methods-disclosure{display:none}
.author-notes{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 20px}
.author-notes>span{white-space:nowrap}
.draft-note{font-size:14px;color:#616574;margin:10px 0 24px}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #527fbb;outline-offset:4px}
.diagram-desktop{display:block;width:100%;height:auto}
.diagram-panels{display:none}
.trial-evidence-link{display:inline-flex;gap:12px;align-items:center;margin:22px 12px 2px;color:#426b9b;font-size:14px;line-height:1.5}
.setup-scroll{overflow:auto;scrollbar-width:thin}
body.edition-two #experimental-overview .setup-scroll img{min-width:700px}
.benchmark-tasks{display:block;margin-top:28px}
.benchmark-group+.benchmark-group{margin-top:28px;padding-top:24px;border-top:1px solid #dce3ed}
.benchmark-group>h3{font-size:14px;font-weight:600;margin:0 0 14px;color:#5c6b7e}
.benchmark-group-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.benchmark-group:last-child .benchmark-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px}
.benchmark-foot p{font-size:14px}
body.edition-two #results .connector-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:22px 0 30px}
.difficulty-group h5{font-size:14px;font-weight:600;margin:0 0 12px;color:#5c6b7e}
.difficulty-group ul{list-style:none;padding:0;margin:0}
.difficulty-group li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:1px solid #dfe5ed;padding:10px 0;font-size:14px}
.difficulty-group a{color:#384d6b}.difficulty-group a:hover{text-decoration:underline}
.difficulty-group strong{font-size:14px;font-weight:600;color:#5277a7;white-space:nowrap}
.results-chart-card .chart-toolbar{margin-bottom:14px}
.results-chart-card .chart-context{margin-bottom:18px}
.results-chart-card .chart-legend{gap:12px;padding-bottom:16px}
.results-chart-card .legend-group{display:grid;grid-template-columns:146px minmax(0,1fr);align-items:start;gap:12px}
.results-chart-card .legend-group-title{font-size:13px;line-height:1.5;padding-top:5px}
.results-chart-card .legend-keys{gap:6px;display:flex;flex-wrap:wrap;overflow:visible}
.results-chart-card .method-key{font-size:13px;padding:5px 8px;min-height:30px}
.results-chart-card .chart-grouping button{background:transparent}
.results-chart-card .chart-scroll{margin-top:20px}
.results-chart-card .chart-footnote{font-size:14px;line-height:1.6}
.log-read-toggle{margin-left:auto;font:inherit;font-size:13px;border:1px solid #d1d9e5;background:transparent;color:inherit;padding:4px 9px;border-radius:6px;cursor:pointer}
#real-experiments .agent-log-row{grid-template-columns:43px 64px minmax(0,1fr);column-gap:8px}
#real-experiments .agent-log-row.current{align-items:start}
#real-experiments .agent-log-row.current .agent-log-content{white-space:normal!important;overflow-wrap:anywhere;overflow:visible!important;text-overflow:clip!important}
.agent-log.reading .agent-log-row{align-items:start}
.agent-log.reading .agent-log-content{white-space:pre-wrap!important;overflow-wrap:anywhere;overflow:visible!important;text-overflow:clip!important}
.agent-log.reading .agent-log-row{min-height:30px;padding-top:7px;padding-bottom:7px}
@media(max-width:600px){
 #real-experiments .agent-log-row{grid-template-columns:43px minmax(0,1fr);row-gap:4px;align-items:start}
 #real-experiments .agent-log-row time{grid-column:1;grid-row:1}
 #real-experiments .agent-log-row .agent-log-type{grid-column:2;grid-row:1}
 #real-experiments .agent-log-row .agent-log-content{grid-column:1/-1;grid-row:2;font-size:13px;line-height:1.55}
}
.result-display-note{font-size:13px;color:#59677c;margin:8px 0}
.selected-trial-note{font-size:13px;color:#59677c;margin:8px 0 12px;line-height:1.5}
.selected-trial-note a{color:#4d6f9f;text-decoration:underline;text-underline-offset:3px}
.session-ending{padding:10px 16px;border-top:1px solid #e0e5ef;font-size:13px;line-height:1.6;color:#4a566a}
.session-ending summary{cursor:pointer;font-weight:600}
.session-ending>p{margin:10px 0;font-size:13px;color:#65718a}
.session-ending-row{padding:10px 0;border-top:1px solid #edf0f5}
.session-ending-row strong{font-size:12px;font-weight:600}
.session-ending-row p{font-size:13px;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:800px){
 :root{--review-heading:28px}
 .nav{padding-top:12px;padding-bottom:10px}.nav-inner{gap:10px}
 .nav nav{display:flex;flex-wrap:nowrap;gap:22px;overflow-x:auto;scrollbar-width:none;max-width:100%;padding-bottom:4px}
 .nav nav::-webkit-scrollbar{display:none}
 .nav nav a{white-space:nowrap}
 .benchmark-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .results-chart-card .legend-group{grid-template-columns:1fr;gap:7px}
 .results-chart-card .legend-keys{display:flex!important;grid-auto-flow:unset!important;flex-wrap:wrap!important;overflow:visible!important;gap:6px;padding:0!important}
 .results-chart-card .method-key{white-space:normal!important;max-width:100%;text-align:left}
 body.edition-two #results .connector-gallery{grid-template-columns:1fr;gap:20px}
 body.edition-two .difficulty-group li{min-width:0}
 body.edition-two .difficulty-group a{min-width:0;overflow-wrap:anywhere}
 .difficulty-group li{font-size:14px}
}
@media(max-width:600px){
 .results-chart-card .chart-pan{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#60738e;font-size:12px;margin:12px 0 0}
 .chart-pan-controls{display:flex;gap:6px}
 .results-chart-card .chart-pan button{width:32px;height:32px;border:1px solid #d4deeb;border-radius:50%;padding:0;background:transparent;color:#42648b;font-size:18px}
 .results-chart-card .chart-pan button:disabled{opacity:.35;cursor:default}
 .results-chart-card .chart-pan+.chart-scroll{margin-top:12px}
 .native-diagram{overflow-x:auto;scrollbar-width:thin;padding-bottom:12px}
 body.edition-two .method-chapter .native-diagram .diagram-desktop{display:block;min-width:950px;max-width:none}
 .diagram-panels{display:grid;gap:24px}
 .diagram-panels figure{margin:0}
 .diagram-panels figcaption{font-size:15px;color:#4d5d74;font-weight:600;margin:0 0 10px}
 .diagram-panels img{display:block;width:100%;height:auto}
 .diagram-panels svg{display:block;width:100%;height:auto}
 body.edition-two .hero .actions{display:grid;grid-template-columns:1fr;max-width:280px;margin-left:auto;margin-right:auto}
 body.edition-two .hero .actions>*{width:100%;box-sizing:border-box;justify-content:center}
 .author-notes>span{white-space:nowrap}
 .methods-disclosure{display:block;text-align:left;border:1px solid #d4deeb;border-radius:8px;background:transparent;color:#4f6585;font:inherit;font-size:14px;padding:10px 12px;width:100%;margin-bottom:12px}
 .results-chart-card .chart-legend.many-methods:not(.expanded) .method-key[aria-pressed=false]{display:none}
 .results-chart-card .chart-legend.many-methods:not(.expanded) .legend-group-title{font-size:12px}
 .results-chart-card .chart-legend.many-methods:not(.expanded) .legend-group{gap:5px}
 .results-chart-card .chart-legend.many-methods:not(.expanded){gap:9px}
 .trial-evidence-link{margin:20px 0 0}
 .benchmark-group:last-child .benchmark-group-grid{max-width:none}
 body.edition-two .research-lead{font-size:16px}
}
/* Compact lab affiliation on the existing light page atmosphere. */
body.edition-two .footer-affiliation{max-width:960px;margin:0 auto;display:flex;align-items:center;gap:22px;padding:22px 0 28px;border-top:1px solid rgba(161,177,201,.28)}
.footer-affiliation img{display:block;width:88px;height:auto;flex:0 0 88px}
.footer-affiliation p{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin:0;min-width:0;color:#687181;font-size:14px;line-height:1.6}
body.edition-two .footer-affiliation a{color:#58667c;font-size:14px;font-weight:500;text-decoration:underline;text-decoration-color:rgba(88,102,124,.32);text-underline-offset:3px}
.footer-affiliation a:hover{color:#4268a4;text-decoration-color:currentColor}
.footer-affiliation a:focus-visible{outline:2px solid #7894bf;outline-offset:4px;border-radius:2px}
@media(max-width:600px){
 body.edition-two .footer-affiliation{gap:16px;padding:20px 0 24px}
 .footer-affiliation img{width:72px;flex-basis:72px}
 .footer-affiliation p{display:block;font-size:12px;line-height:1.6}
 body.edition-two .footer-affiliation a{font-size:13px}
 .footer-affiliation p span{display:block;margin-top:2px}
}
