/* Research figures inherit Kubo's location-aware palette; evidence pixels are unfiltered. */
.research-report { --figure-edge: color-mix(in srgb,var(--text) 13%,transparent); --figure-glint: rgba(255,255,255,.66); --figure-tint: color-mix(in srgb,var(--accent) 9%,transparent); }
.research-report h1 { max-width:700px; margin-bottom:20px; font-size:clamp(34px,3.25vw,48px); }
.research-report .report-deck { font-size:20px; line-height:1.5; color:var(--text-secondary); margin-bottom:22px; }
.research-report .report-context { font-size:14px; color:var(--text-secondary); margin-bottom:18px; }
.research-report > h2 { font-size:27px; font-weight:450; line-height:1.3; letter-spacing:-.025em; text-transform:none; padding-top:42px; border-top:1px solid var(--line); margin:52px 0 22px; scroll-margin-top:28px; }
.research-report > h3.report-subheading { font-size:21px; margin:30px 0 20px; }
.research-report > p { font-size:17px; line-height:1.8; }
.research-report > p.report-reference { font-size:14px; overflow-wrap:anywhere; scroll-margin-top:30px; }
.research-report .report-figure { margin:34px 0 42px; min-width:0; }
.research-report .figure-glass { padding:clamp(18px,2.2vw,30px); border:1px solid var(--figure-edge); border-top-color:var(--figure-glint); border-radius:22px; background:linear-gradient(135deg,rgba(255,255,255,.42),transparent 55%),color-mix(in srgb,var(--surface-container,var(--bg)) 50%,transparent); box-shadow:inset 0 1px 0 rgba(255,255,255,.36),0 12px 36px color-mix(in srgb,var(--text) 5%,transparent); backdrop-filter:blur(16px) saturate(1.08); -webkit-backdrop-filter:blur(16px) saturate(1.08); }
.research-report .figure-heading { margin-bottom:26px; }
.research-report .figure-kicker,.research-report .flow-index { display:block; font-size:12px; text-transform:uppercase; font-weight:550; letter-spacing:.07em; color:var(--accent); margin-bottom:12px; }
.research-report .figure-heading h3 { font-size:24px; line-height:1.25; margin-bottom:10px; }
.research-report .figure-heading p,.research-report .figure-note { font-size:14px; line-height:1.55; color:var(--text-secondary); margin:10px 0 0; }
.research-report .figure-note a { color:inherit; }
.research-report figcaption { font-size:14px; line-height:1.65; color:var(--text-secondary); margin:16px 3px 0; }
.research-report .diagram-node { padding:17px; border:1px solid var(--figure-edge); border-top-color:var(--figure-glint); border-radius:13px; background:linear-gradient(125deg,rgba(255,255,255,.36),rgba(255,255,255,.06)),var(--figure-tint); box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 3px 10px color-mix(in srgb,var(--text) 3%,transparent); min-width:0; }
.research-report .diagram-node > strong { display:block; font-size:16px; font-weight:550; line-height:1.35; }
.research-report .diagram-node > span { display:block; font-size:14px; color:var(--text-secondary); line-height:1.45; margin-top:6px; }
.research-report .diagram-node.tint-violet { background-color:rgba(133,116,167,.13); }
.research-report .diagram-node.tint-sage { background-color:rgba(105,148,119,.12); }
.research-report .diagram-arrow { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; margin:10px 0; color:var(--accent); font-size:23px; line-height:1.2; }
.research-report .diagram-arrow span:first-child:not(:last-child) { font-size:13px; color:var(--text-secondary); }
.research-report .flow-band { border:1px solid var(--figure-edge); border-radius:16px; padding:18px; background:color-mix(in srgb,var(--bg) 25%,transparent); }
.research-report .flow-pair { display:grid; grid-template-columns:1fr 28px 1fr; gap:8px; align-items:center; }
.research-report .flow-pair .diagram-arrow { transform:rotate(-90deg); }
.research-report .response-branches { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.research-report .branch-label { display:block; font-size:13px; color:var(--text-secondary); margin:0 0 8px 5px; }
/* Keep glass around individual steps, without extra boxes around each phase. */
.research-report #figure-1 .flow-band { border:0; border-radius:0; padding:12px 0; background:none; }
.research-report #figure-1 .flow-index { margin-bottom:18px; }
.research-report #figure-1 .response-branches { margin-top:22px; gap:12px; }
.research-report #figure-1 .branch-label { margin-left:0; }
.research-report .report-frames { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.research-report .report-frames > div > span { display:block; margin-top:5px; font-size:12px; color:var(--text-secondary); }
.research-report .report-crop { display:block; width:100%; height:auto; overflow:hidden; border-radius:8px; }
.research-report .encoder-stages { display:flex; gap:6px; margin:12px 0; }
.research-report .encoder-stages > span { display:flex; align-items:center; justify-content:center; min-width:0; flex:1; padding:12px 5px; border:1px solid var(--figure-edge); border-top-color:var(--figure-glint); border-radius:9px; background:var(--figure-tint); font-size:19px; font-weight:500; }
.research-report .encoder-stages > span:nth-child(2) { background:color-mix(in srgb,var(--accent) 14%,transparent); }
.research-report .encoder-stages > span:nth-child(3) { background:color-mix(in srgb,var(--accent) 20%,transparent); }
.research-report .encoder-stages > span:nth-child(4) { background:color-mix(in srgb,var(--accent) 27%,transparent); }
.research-report .model-flow { max-width:420px; margin:auto; }
.research-report .feature-tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; max-width:200px; margin:0 0 15px; }
.research-report .feature-tiles i { height:27px; border:1px solid var(--figure-edge); border-top-color:var(--figure-glint); border-radius:5px; background:rgba(255,255,255,.2); }
.research-report .figure-foot { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:start; gap:8px 22px; border-top:1px solid var(--figure-edge); padding-top:16px; margin-top:24px; font-size:14px; line-height:1.5; }
.research-report .figure-foot-top { margin:0 0 18px; border:0; padding:0; }
.research-report h4 { font-size:16px; line-height:1.4; font-weight:550; margin:0 0 8px; }
.research-report .weight-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin:14px 0; }
.research-report .weight-grid > span { display:flex; justify-content:center; align-items:center; padding:12px 3px; font-size:17px; font-variant-numeric:tabular-nums; border:1px solid var(--figure-edge); border-top-color:var(--figure-glint); border-radius:7px; }
.research-report .weight-family-0 { background:rgba(73,136,158,.12); }
.research-report .weight-family-1 { background:rgba(140,108,181,.12); }
.research-report .weight-family-2 { background:rgba(191,143,64,.14); }
.research-report .weight-family-3 { background:rgba(68,146,98,.12); }
.research-report .palette-flow { max-width:440px; margin:auto; }
.research-report .palette-storage h4:not(:first-child) { margin-top:24px; }
.research-report .lookup-table { display:grid; grid-template-columns:1fr 1fr; gap:4px; text-align:center; margin-top:14px; }
.research-report .lookup-table > span { padding:7px; font-size:15px; border-radius:5px; }
.research-report .lookup-table > span:nth-child(-n+2) { font-size:13px; color:var(--text-secondary); }
.research-report .saved-features { display:grid; grid-template-columns:repeat(4,1fr); margin:0 8px; }
.research-report .saved-features i { border-bottom:1px solid var(--accent); height:12px; position:relative; }
.research-report .saved-features i::before { content:''; position:absolute; width:1px; height:12px; left:50%; background:var(--accent); }
.research-report .saved-features span { grid-column:1/-1; text-align:center; font-size:13px; line-height:1.4; margin-top:10px; }
.research-report .memory-model { max-width:400px; margin:auto; }
.research-report .hardware-label { margin-top:24px; }
.research-report .hardware-flow { max-width:420px; margin:auto; }
.research-report .memory-slot { padding:9px; border-radius:6px; background:var(--figure-tint); }
.research-report .processor-pair { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:12px 0; font-size:15px; }
.research-report .processor-pair > span { border:1px solid var(--figure-edge); border-radius:6px; padding:10px; background:rgba(255,255,255,.2); }
.research-report .figure-value { display:block; margin-top:15px; font-size:30px; font-weight:450; color:var(--text); }
.research-report .align-right { text-align:right; }
.research-report .timing-row { display:grid; grid-template-columns:145px minmax(0,1fr); gap:15px; align-items:center; margin:28px 0; }
.research-report .timing-row > div:first-child { font-size:14px; line-height:1.4; }
.research-report .timing-row span { display:block; font-size:12px; color:var(--text-secondary); margin-top:6px; }
.research-report .timing-track { position:relative; margin-right:56px; height:35px; }
.research-report .timing-track > b { position:absolute; top:7px; margin-left:9px; white-space:nowrap; font-size:14px; font-weight:550; }
.research-report .timing-bar { height:100%; border:1px solid color-mix(in srgb,var(--accent) 45%,transparent); border-top-color:rgba(255,255,255,.7); border-radius:6px; background:linear-gradient(150deg,rgba(255,255,255,.38),transparent),color-mix(in srgb,var(--accent) 43%,transparent); box-shadow:inset 0 1px 0 rgba(255,255,255,.4); transform-origin:left center; transform:scaleX(var(--graph-progress,1)); }
.research-report .timing-int8 { background:linear-gradient(150deg,rgba(255,255,255,.38),transparent),rgba(160,121,66,.52); border-color:rgba(126,89,39,.3); }
.research-report .timing-axis { position:relative; display:flex; justify-content:space-between; width:calc((100% - 216px)*.85714); margin-left:160px; font-size:12px; color:var(--text-secondary); }
.research-report .deployment-flow { display:grid; list-style:none; gap:28px; margin:0; padding:0; }
.research-report .deployment-flow > li { padding:0 0 24px; border-bottom:1px solid var(--figure-edge); }
.research-report .deployment-flow > li:last-child { border:0; padding-bottom:0; }
.research-report .deployment-flow .report-frames { max-width:400px; }
.research-report .deployment-flow > li > strong { display:block; margin-top:18px; font-size:16px; }
.research-report .package-row { display:flex; gap:12px; max-width:400px; }
.research-report .package-row .encoder-stages { flex:4; }
.research-report .predictor-package { display:flex; flex:1; align-items:center; justify-content:center; margin:12px 0; border:1px solid var(--figure-edge); border-radius:9px; background:rgba(133,116,167,.17); font-size:19px; }
.research-report .diagram-phone { width:190px; margin:24px auto 16px; padding:26px 15px 20px; border:3px solid color-mix(in srgb,var(--text) 65%,transparent); border-radius:30px; background:linear-gradient(135deg,rgba(255,255,255,.36),transparent),var(--figure-tint); box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),8px 15px 32px color-mix(in srgb,var(--text) 8%,transparent); text-align:center; }
.research-report .phone-island { display:block; width:48px; height:6px; border-radius:10px; margin:-13px auto 20px; background:color-mix(in srgb,var(--text) 60%,transparent); }
.research-report .diagram-phone > span:last-child { font-size:14px; display:block; margin-top:18px; }
.research-report .performance-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; margin-bottom:26px; }
.research-report .performance-metrics > div { min-width:0; }
.research-report .performance-metrics strong { display:block; font-size:34px; letter-spacing:-.045em; font-weight:450; line-height:1.2; }
.research-report .performance-metrics small { font-size:20px; }
.research-report .performance-metrics span { display:block; font-size:14px; line-height:1.45; margin:12px 0 6px; }
.research-report .performance-metrics p { font-size:12px; line-height:1.45; color:var(--text-secondary); margin:0; }
.research-report .measured-curve { overflow-x:auto; }
.research-report .measured-curve > svg { width:100%; min-width:400px; height:auto; display:block; }
.research-report .curve-grid { stroke:var(--figure-edge); stroke-width:1; }
.research-report .curve-label { fill:var(--text-secondary); font-family:var(--font); font-size:14px; }
.research-report .curve-line { fill:none; stroke:var(--accent); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.research-report .curve-fill { fill:url(#live-curve-gradient); }
.research-report .report-table { width:100%; border-collapse:collapse; font-size:15px; line-height:1.5; }
.research-report .report-table th,.research-report .report-table td { text-align:left; vertical-align:top; padding:16px 13px; border-bottom:1px solid var(--figure-edge); }
.research-report .report-table th { font-weight:550; background:var(--figure-tint); }
.research-report .report-table-wrap { border:1px solid var(--figure-edge); border-radius:14px; overflow:hidden; margin:28px 0; }
.research-report .pca-comparison { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:26px; }
.research-report .pca-comparison .figure-note { min-height:44px; }
.research-report .pca-pair { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:12px; }
.research-report .pca-pair svg { border-radius:0; }
.research-report .assistance-flow { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:end; }
.research-report .future-policy { padding:14px; border:1px dashed var(--figure-edge); border-radius:14px; }
.research-report .assistance-examples { display:grid; gap:24px; margin-top:30px; }
.research-report .ui-example { position:relative; }
.research-report .example-glass { position:absolute; top:12px; left:12px; right:12px; padding:15px; border:1px solid rgba(255,255,255,.55); border-radius:13px; background:linear-gradient(130deg,rgba(255,255,255,.26),rgba(255,255,255,.04)),rgba(25,39,33,.58); color:white; box-shadow:0 6px 18px rgba(0,0,0,.1); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.research-report .example-glass > strong { display:block; font-size:19px; letter-spacing:-.02em; line-height:1.25; margin-bottom:12px; }
.research-report .example-glass > div { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:14px; }
.research-report .example-cta { border:1px solid rgba(255,255,255,.4); padding:7px 10px; border-radius:6px; background:rgba(231,255,229,.15); }
@media (min-width:1200px) {
 .research-report .model-flow { display:grid; grid-template-columns:minmax(0,1.2fr) 30px minmax(0,1fr) 30px minmax(0,1fr); max-width:none; align-items:center; gap:7px; }
 .research-report .model-flow > .diagram-arrow > span:first-child:not(:last-child) { display:none; }
 .research-report .model-flow > .diagram-arrow > span:last-child { transform:rotate(-90deg); }
 .research-report .model-flow .diagram-node { padding:14px; }
 .research-report .assistance-examples { grid-template-columns:1fr 1fr; gap:18px; }
 .research-report .example-glass { top:8px; left:8px; right:8px; padding:10px; }
 .research-report .example-glass > strong { font-size:16px; margin-bottom:8px; }
 .research-report .example-glass > div { font-size:12px; }
 .research-report .example-cta { padding:5px; }
}
@media (max-width:740px) {
 .research-report > h2 { font-size:25px; }
 .research-report .figure-glass { padding:18px 15px; border-radius:18px; }
 .research-report .figure-heading h3 { font-size:23px; }
 .research-report .flow-band { padding:12px; }
 .research-report .flow-pair { grid-template-columns:1fr; }
 .research-report .flow-pair .diagram-arrow { transform:none; margin:2px 0; }
 .research-report .response-branches { grid-template-columns:1fr; }
 .research-report .report-frames { gap:5px; }
 .research-report .weight-grid { gap:5px; }
 .research-report .weight-grid > span { font-size:16px; padding:10px 2px; }
 .research-report .timing-row { display:block; margin:22px 0; }
 .research-report .timing-track { margin-top:12px; }
 .research-report .timing-axis { margin-left:0; width:calc((100% - 56px)*.85714); }
 .research-report .performance-metrics { grid-template-columns:1fr; gap:20px; }
 .research-report .performance-metrics > div { display:grid; grid-template-columns:110px 1fr; gap:3px 10px; padding-bottom:14px; border-bottom:1px solid var(--figure-edge); }
 .research-report .performance-metrics strong { grid-row:1/3; align-self:center; font-size:31px; }
 .research-report .performance-metrics span { margin:0; }
 .research-report .pca-comparison { grid-template-columns:1fr; gap:22px; }
 .research-report .pca-comparison .figure-note { min-height:0; }
 .research-report .assistance-flow { grid-template-columns:1fr; gap:22px; }
 .research-report .diagram-node { padding:14px; }
 .research-report .example-glass { top:8px; left:8px; right:8px; padding:10px; }
 .research-report .example-glass > strong { font-size:17px; margin-bottom:8px; }
 .research-report .example-glass > div { font-size:13px; }
}
@media (prefers-reduced-motion:reduce) {
 .research-report [data-scroll-graph] { --graph-progress:1 !important; }
}
@media print {
 .research-report .figure-glass { box-shadow:none; backdrop-filter:none; background:white; }
 .research-report [data-scroll-graph] { --graph-progress:1 !important; }
 .research-report .report-figure { break-inside:avoid; }
}
.research-report .curve-reveal { clip-path:inset(0 calc((1 - var(--graph-progress,1))*100%) 0 0); }
.research-report #live-curve-gradient stop { stop-color:var(--accent); }
@media (min-width:1200px) {
 .research-report .hardware-flow { display:grid; grid-template-columns:minmax(0,1fr) 20px minmax(0,1.2fr) 20px minmax(0,1.4fr); max-width:none; align-items:stretch; gap:7px; }
 .research-report .hardware-flow > .diagram-arrow > span:last-child { transform:rotate(-90deg); }
 .research-report .hardware-flow > .diagram-arrow > span:first-child { display:none; }
 .research-report .hardware-flow .diagram-node { padding:12px; }
 .research-report .hardware-flow .processor-pair { grid-template-columns:1fr; }
 .research-report .hardware-flow .figure-value { font-size:25px; }
 .research-report .deployment-flow { grid-template-columns:1fr 1fr; gap:25px; }
 .research-report .deployment-flow > li { border:0; padding:0; }
 .research-report .deployment-flow > li:last-child { grid-column:1/-1; border-top:1px solid var(--figure-edge); padding-top:22px; }
}
.research-report .measured-curve { overflow:visible; }
.research-report .live-axis-title { margin:0 0 18px; }
.research-report .live-plot-layout { display:grid; grid-template-columns:44px minmax(0,1fr); grid-template-rows:174px 22px; gap:8px 10px; }
.research-report .live-plot > svg { display:block; width:100%; height:174px; overflow:visible; }
.research-report .curve-line { vector-effect:non-scaling-stroke; }
.research-report .live-y-axis { position:relative; }
.research-report .live-y-axis > span { position:absolute; right:0; transform:translateY(-50%); font-size:14px; color:var(--text-secondary); }
.research-report .live-x-axis { grid-column:2; position:relative; }
.research-report .live-x-axis > span { position:absolute; transform:translateX(-50%); font-size:14px; color:var(--text-secondary); }
