/* One neutral visual language for benchmark results, diagrams and ablations. */
.task-result-legend{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;color:#555;margin:0 0 22px}
.task-result-legend span{display:flex;align-items:center;gap:8px}
.task-result-legend i{display:inline-block;width:18px;height:7px;background:#bcbcbc}
.task-result-legend span:last-child i{background:#171717}
.task-result-row{padding:15px 0 18px;border-top:1px solid #ededed}
.task-result-row h4{font-size:15px;font-weight:500;margin:0 0 11px;line-height:1.4}
.task-result-bars{display:grid;gap:9px}
.task-result-bar{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:14px}
.task-result-track{height:13px;background:repeating-linear-gradient(to right,#f7f7f7 0,#f7f7f7 calc(25% - 1px),#e4e4e4 calc(25% - 1px),#e4e4e4 25%);position:relative}
.task-result-track>span{display:block;height:100%;background:#bcbcbc;transform-origin:left;animation:evidence-bar-in .6s ease both}
.task-result-bar.memory .task-result-track>span{background:#171717}
.task-result-bar>span{font-size:13px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;color:#555}
.task-result-bar.memory>span{color:#171717;font-weight:600}
.task-result-bar small{font-size:10px;font-weight:400;margin-left:4px;color:#666}
.task-results .chart-axis{margin:0 110px 0 0}
.task-results .chart-title{align-items:start}
.task-results .chart-title h3{font-size:20px;max-width:360px}
.evaluation-task-scope{font-size:13px;line-height:1.75;color:#666;margin:0 0 20px}
.video-memory-section{padding-top:64px;margin-top:64px;border-top:1px solid #dcdcdc}
.video-memory-heading{display:grid;grid-template-columns:1.35fr 1fr;gap:80px;align-items:end}
.video-memory-heading h3{font-size:clamp(30px,3.2vw,42px);font-weight:500;letter-spacing:-1.4px;line-height:1.15;margin:15px 0 0}
.video-memory-heading>p{font-size:16px;color:#626262;line-height:1.8}
.video-memory-insight{display:flex;align-items:baseline;gap:22px;margin:36px 0 32px;padding:23px 0;border-top:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5}
.video-memory-insight>strong{font-size:62px;font-weight:500;letter-spacing:-3px;line-height:1}
.video-memory-insight>strong span{font-size:23px;letter-spacing:-.5px;margin-left:5px}
.video-memory-insight p{font-size:15px;line-height:1.7;color:#606060;max-width:480px}
.history-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:32px 0 28px}
.history-chart-heading>p{font-size:13px;color:#666}
.history-views{display:flex;gap:4px;background:#f4f4f4;border:1px solid #e4e4e4;padding:4px;border-radius:6px}
.history-views button{padding:9px 15px;background:transparent;font:inherit;font-size:12px;color:#666;border-radius:3px}
.history-views button[aria-selected=true]{background:#fff;color:#111;box-shadow:0 1px 4px #00000012}
.video-memory-chart.mean-view{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px}
.memory-comparison{min-width:0}
.memory-comparison .small-label{font-size:10px;letter-spacing:.4px;min-height:34px;line-height:1.8}
.memory-mean{font-size:clamp(46px,5vw,70px);letter-spacing:-3px;font-weight:500;line-height:1.15;display:block;margin:5px 0 8px;font-variant-numeric:tabular-nums}
.memory-mean>span{font-size:.38em;letter-spacing:-1px;margin-left:3px}
.memory-comparison h4{font-size:16px;font-weight:500;line-height:1.5;margin:0 0 24px}
.memory-mean-plot{height:205px;background:#fafafa;position:relative;border-bottom:1px solid #999;overflow:hidden}
.memory-mean-plot>span{display:block;position:absolute;bottom:0;left:17%;width:66%;background:#bcbcbc;z-index:1;transform-origin:bottom;animation:evidence-bar-up .8s cubic-bezier(.22,1,.36,1) both}
.memory-comparison.combined .memory-mean-plot>span{background:repeating-linear-gradient(135deg,#575757 0,#575757 3px,#999 3px,#999 5px)}
.memory-comparison.memory .memory-mean-plot>span{background:#171717}
.memory-gridline{position:absolute;left:0;width:100%;border-top:1px solid #e4e4e4}.memory-gridline.at-50{top:50%}.memory-gridline.at-100{top:0}
.memory-mean-plot small{position:absolute;top:7px;left:9px;font:10px var(--mono);color:#777}.memory-mean-plot small:last-child{top:auto;bottom:6px}
.video-memory-chart.task-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 55px}
.history-task{border-top:1px solid #ddd;padding-top:22px;min-width:0}
.history-task h4{font-size:19px;font-weight:500;margin:0 0 21px}
.evidence-bar{margin:0 0 17px}
.evidence-bar-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;line-height:1.5;margin-bottom:7px;color:#555}
.evidence-bar-label strong{font-weight:500;color:#333;white-space:nowrap;font-variant-numeric:tabular-nums}
.evidence-track{height:15px;background:repeating-linear-gradient(to right,#f7f7f7 0,#f7f7f7 calc(25% - 1px),#e7e7e7 calc(25% - 1px),#e7e7e7 25%)}
.evidence-track>span{display:block;height:100%;background:#bcbcbc;transform-origin:left;animation:evidence-bar-in .65s ease both}
.evidence-bar.memory .evidence-track>span{background:#171717}.evidence-bar.vision .evidence-track>span{background:#777}
.evidence-bar.combined .evidence-track>span{background:repeating-linear-gradient(135deg,#575757 0,#575757 3px,#999 3px,#999 5px)}
.evidence-axis{display:flex;justify-content:space-between;font:10px var(--mono);color:#777;margin-top:8px}
.history-scope{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:26px}
.history-scope p{font-size:12px;line-height:1.8;color:#666}
.history-scope p strong{font-weight:500;color:#333}
.video-memory-link{display:inline-flex;align-items:center;gap:12px;font-size:14px;font-weight:500;margin-top:23px;border-bottom:1px solid #999;padding-bottom:5px}
.ablation-grid{gap:70px!important;align-items:start}
.ablation-grid article{min-width:0}
.ablation-grid article h3{font-size:26px;line-height:1.3;font-weight:500;margin:13px 0 16px;letter-spacing:-.7px}
.ablation-headline{display:flex;align-items:baseline;gap:14px;margin:25px 0 14px}
.ablation-headline strong{font-size:53px;font-weight:500;letter-spacing:-2px;line-height:1}
.ablation-headline strong small{font-size:20px;letter-spacing:-.5px;margin-left:4px}
.ablation-headline>span{font-size:12px;line-height:1.6;color:#666;max-width:170px}
.ablation-scope{font-size:12px;line-height:1.8;color:#666;min-height:44px}
.ablation-chart{margin:30px 0 24px}
.anchor-legend{display:flex;gap:20px;font-size:11px;color:#666;flex-wrap:wrap;margin:24px 0 0}
.anchor-legend span{display:flex;align-items:center;gap:8px}
.anchor-legend i{width:9px;height:9px;border-radius:50%;border:2px solid #aaa;display:inline-block}
.anchor-legend span:last-child i{border:0;border-radius:0;background:#171717}
.anchor-task{padding:0 0 22px}
.anchor-task-label{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:13px;line-height:1.5}
.anchor-task-label strong{font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.anchor-task-label strong span{color:#888}.anchor-task-label small{font-size:10px;margin-left:3px;color:#666}
.anchor-track{height:15px;position:relative;background:repeating-linear-gradient(to right,#fafafa 0,#fafafa calc(25% - 1px),#e4e4e4 calc(25% - 1px),#e4e4e4 25%)}
.anchor-track i{position:absolute;top:6px;height:3px;background:#bcbcbc}
.anchor-track b{position:absolute;top:2px;width:11px;height:11px;transform:translateX(-50%)}
.anchor-track .anchor-before{background:#fff;border:2px solid #999;border-radius:50%}.anchor-track .anchor-after{background:#171717}
.write-task{border-top:1px solid #e5e5e5;padding:17px 0 6px}.write-task h4{font-size:13px;font-weight:500;margin:0 0 13px}.write-task .evidence-bar{margin-bottom:10px}.write-task .evidence-track{height:9px}.write-task .evidence-bar-label{font-size:11px;margin-bottom:5px}
.ablation-grid article>p:last-child{font-size:13px;line-height:1.85;padding-top:20px;border-top:1px solid #ddd}
.architecture-details figure>a{display:block;background:#fff}
.figure-stat-note{max-width:900px}
@keyframes evidence-bar-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes evidence-bar-up{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.evidence-animate:not(.evidence-visible) .memory-mean-plot>span{transform:scaleY(0);animation:none}
.evidence-animate:not(.evidence-visible) .evidence-track>span{transform:scaleX(0);animation:none}
@media(max-width:900px){.video-memory-heading{gap:35px}.video-memory-chart.mean-view{gap:22px}.memory-comparison h4{min-height:48px}.history-scope{gap:25px}.ablation-grid{gap:35px!important}}
@media(max-width:680px){.video-memory-section{margin-top:44px;padding-top:40px}.video-memory-heading{grid-template-columns:1fr;gap:20px}.video-memory-heading h3{font-size:33px}.video-memory-heading>p{font-size:15px}.video-memory-insight{gap:17px;align-items:center}.video-memory-insight>strong{font-size:48px;letter-spacing:-2px;white-space:nowrap}.video-memory-insight>strong span{font-size:18px}.video-memory-insight p{font-size:13px}.history-chart-heading{align-items:start;flex-direction:column;gap:16px}.video-memory-chart.mean-view{gap:15px}.memory-comparison .small-label{font-size:9px;min-height:53px;letter-spacing:0}.memory-mean{font-size:38px;letter-spacing:-2px}.memory-comparison h4{font-size:12px;min-height:54px;margin-bottom:10px}.memory-mean-plot{height:160px}.memory-mean-plot>span{left:10%;width:80%}.memory-mean-plot small{font-size:8px;left:6px}.history-scope{grid-template-columns:1fr;gap:12px}.video-memory-chart.task-view{grid-template-columns:1fr;gap:25px}.ablation-grid{gap:48px!important}.ablation-scope{min-height:0}.task-result-row{padding-top:14px}.task-result-legend{font-size:11px;gap:15px}.task-result-bar{grid-template-columns:minmax(0,1fr) 95px}.task-results .chart-title{flex-wrap:wrap;gap:10px}.task-results .chart-title h3{font-size:21px}.ablation-headline strong{font-size:54px}}
@media(prefers-reduced-motion:reduce){.memory-mean-plot>span,.evidence-track>span,.task-result-track>span{animation:none!important;transform:none!important}}

.task-ci{position:absolute;top:5px;height:2px;background:#555}.task-ci::before,.task-ci::after{content:"";position:absolute;top:-3px;height:8px;width:1px;background:#555}.task-ci::before{left:0}.task-ci::after{right:0}

@media(max-width:680px){
 .video-memory-chart.mean-view{grid-template-columns:1fr;gap:28px}
 .memory-comparison{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px}
 .memory-comparison h4{grid-column:1;grid-row:1;font-size:16px;min-height:0;margin:0 0 6px;line-height:1.4}
 .memory-comparison .small-label{grid-column:1;grid-row:2;min-height:0;font:11px/1.6 var(--font);margin:0;color:#666}
 .memory-mean{grid-column:2;grid-row:1/3;font-size:42px;margin:0;align-self:center}
 .memory-mean-plot{grid-column:1/-1;height:15px;margin-top:14px;border:0;background:repeating-linear-gradient(to right,#f7f7f7 0,#f7f7f7 calc(25% - 1px),#e5e5e5 calc(25% - 1px),#e5e5e5 25%)}
 .memory-mean-plot>span{left:0;width:var(--mean-value);height:100%!important;transform-origin:left;animation-name:evidence-bar-in}
 .memory-mean-plot small,.memory-gridline{display:none}
}

.task-ci,.task-ci::before,.task-ci::after{box-shadow:0 0 0 1px #fff}
