/* Shared editorial layout for research 01–04. */
:root{--research-ink:#172c3e;--research-line:#dce4ea;--research-width:1160px}
html{scroll-behavior:smooth}body{background:#fff;color:var(--research-ink);font-family:"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
body *{box-sizing:border-box}img,video{max-width:100%}

/* Shared navigation and homepage footer for every research page. */
.research-shell-nav{display:block;position:sticky;top:0;z-index:1000;width:100%;background:rgba(9,20,36,.94);color:#fff;border-bottom:1px solid rgba(255,255,255,.12);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.research-shell-nav__inner{width:100%;min-height:88px;margin:auto;padding:0 clamp(24px,4vw,64px);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(24px,3vw,48px)}
.research-shell-logos{display:flex;align-items:center;gap:22px;flex-shrink:0}.research-shell-logos a{display:flex;align-items:center}.research-shell-logos img{display:block;width:auto;object-fit:contain;opacity:.92}.research-shell-logos img:first-child{height:40px}.research-shell-logos img:last-child{height:32px}.research-shell-logos i{display:block;width:1px;height:25px;background:rgba(255,255,255,.3)}
.research-shell-menu{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,2vw,34px);min-width:0}.research-shell-menu a{position:relative;color:rgba(255,255,255,.72);font:600 13px/1 "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:.12em;text-decoration:none;white-space:nowrap;text-transform:uppercase;transition:color .2s ease}.research-shell-menu a:hover,.research-shell-menu a[aria-current="page"]{color:#fff}.research-shell-menu a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:2px;background:#38bdf8;border-radius:2px}
.research-shell-actions{display:flex;align-items:center;gap:12px}
.research-shell-back,.research-shell-brand,.research-shell-lang button{font:600 15px/1 "PingFang SC","Microsoft YaHei",sans-serif;color:inherit;text-decoration:none}
.research-shell-back{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;gap:9px;padding:11px 14px;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px;background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:none!important;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.research-shell-back:hover{color:#fff!important;background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.42)!important;transform:translateX(-2px)}
.research-shell-back:active{background:rgba(255,255,255,.22)!important;transform:translateX(-1px)}
.research-shell-back:focus-visible{outline:2px solid #38bdf8!important;outline-offset:3px!important}
.research-shell-back svg{width:17px;height:17px;stroke:currentColor}
.research-shell-lang{display:flex;align-items:center;padding:4px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px}
.research-shell-lang button{min-width:48px;padding:8px 12px;border:0;border-radius:999px;background:transparent;cursor:pointer;color:rgba(255,255,255,.62);transition:background .2s ease,color .2s ease}
.research-shell-lang button[aria-pressed="true"]{background:#fff;color:#10243c}
.research-shell-lang button:hover{color:#fff}.research-shell-lang button[aria-pressed="true"]:hover{color:#10243c}
.research-shell-footer{position:relative;overflow:hidden;background:#020617;color:#fff;padding:0!important;border:0!important}
.research-shell-footer__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.72}
.research-shell-footer__shade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(2,6,23,.74),rgba(2,6,23,.52),rgba(2,6,23,.86))}
.research-shell-footer__inner{position:relative;width:min(1280px,calc(100% - 48px))!important;margin:auto;padding:108px 0 48px!important;display:block!important}
.research-shell-footer__title{text-align:center}.research-shell-footer__title h2{margin:0;color:#fff;font-size:clamp(40px,6vw,72px);line-height:1.15;font-weight:800;letter-spacing:.08em}
.research-shell-footer__title p{margin:22px 0 0;color:rgba(255,255,255,.62);font-size:13px;line-height:1.5;font-weight:300;letter-spacing:.42em;text-transform:uppercase}
.research-shell-footer__bottom{margin-top:82px;padding-top:30px;border-top:1px solid rgba(255,255,255,.16);display:flex;align-items:center;justify-content:space-between;gap:28px}
.research-shell-footer__logos{display:flex;align-items:center;gap:22px}.research-shell-footer__logos img{display:block;width:auto;height:64px;object-fit:contain}.research-shell-footer__logos i{display:block;width:1px;height:40px;background:rgba(255,255,255,.16)}
.research-shell-footer__copy{margin:0!important;color:rgba(255,255,255,.62)!important;font-size:14px!important;line-height:1.5!important;font-weight:300;text-align:center}
.research-shell-footer__links{display:flex;gap:10px}.research-shell-footer__links a{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.1);color:rgba(255,255,255,.72);transition:background .2s ease,color .2s ease}.research-shell-footer__links a:hover{background:#2563eb;color:#fff}.research-shell-footer__links svg{width:18px;height:18px;stroke:currentColor}
.research-cover{background:#f5f7f9;padding-inline:max(28px,calc((100% - var(--research-width))/2));border-bottom:0}
.cover-layout{min-height:420px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:48px}
.research-cover .cover-copy h1{font-size:clamp(36px,4vw,60px);line-height:1.4;letter-spacing:-.025em;font-weight:600;overflow-wrap:anywhere}
.cover-art img{max-height:360px;object-fit:contain}.cover-series{border-color:var(--research-line)}
.cover-series a{padding:24px 18px;font-size:20px;gap:16px}.cover-series a>span{font:500 24px/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums}.cover-series b{font-weight:500}
main.source-main,body>main.wrap,body>#research-content.container{max-width:var(--research-width);width:100%;padding:0 28px 88px;margin:0 auto;background:transparent}
.source-section,main.wrap>.focus{border:0;border-radius:0;box-shadow:none;background:transparent;padding:64px 0;margin:0;border-bottom:1px solid var(--research-line)}
.source-section:last-child,main.wrap>.focus:last-child{border-bottom:0}
.source-section h2,main.wrap>.focus>.sec-title,#research-content.container>h2:first-child{display:block;font-size:36px;line-height:1.5;font-weight:600;letter-spacing:-.02em;margin:0 0 32px;padding:0;border:0;color:var(--research-ink)}
.source-section h2{display:flex;gap:24px}.source-number{font:500 32px/1.5 Arial,sans-serif;color:#8b9eac;flex-shrink:0;min-width:42px}
.source-section p,main.wrap>.focus p,#research-content.container p{font-size:22px;line-height:1.95;color:#394956;max-width:940px;margin:22px 0;text-indent:0;text-align:left;overflow-wrap:anywhere}
.source-section h3,main.wrap>.focus h3{font-size:28px;line-height:1.6;margin:44px 0 18px;color:var(--research-ink)}
.source-section figure,main.wrap .source-image{margin:32px 0;padding:24px;background:#f7f9fa;border:1px solid #edf0f3;border-radius:12px}
.source-section figure img,main.wrap .source-image img{width:auto;max-width:100%;height:auto;max-height:640px;object-fit:contain;margin:auto;border-radius:4px}
.research-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:32px 0;align-items:start}.research-gallery .source-image{margin:0;min-width:0}.research-gallery .source-image img{max-height:440px}
.source-section .paper-title{font-size:23px;border-top:1px solid var(--research-line);padding-top:24px;margin-top:32px}.source-section .paper-title+p{font-size:18px;color:#6c7b87;margin-top:8px}
body>#research-content.container{padding-top:64px}.container .single-image,.container .image-row{margin:36px 0}.container .image-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.container .image-box{min-width:0;background:#f7f9fa;border:1px solid #edf0f3;border-radius:12px;padding:20px}.container .image-box img{width:auto;max-height:480px;object-fit:contain}
body>main>.sec{padding:64px 0;background:#fff;border-bottom:1px solid var(--research-line)}body>main>.sec>.wrap,body>.hero>.wrap{max-width:var(--research-width);padding-inline:28px}
.sec-head{margin-bottom:36px;text-align:left}.sec-head .sec-num{font-size:36px;font-weight:600;line-height:1.5;letter-spacing:0;color:var(--research-ink)}.sec-head .t-cn,.sec-head .t-div{display:none}
.plate,.plate.flip{gap:48px;padding:36px 0;align-items:center}.plate-p,.fab-p,.collab-p,.onchip-p,.branch-p{font-size:22px;line-height:1.95}.plate-fig{min-width:0}.plate-fig img,.plate-fig video{object-fit:contain;max-width:100%;height:auto}.matrix{margin-bottom:32px}.mx-c{padding:22px}.app-grid,.paper-grid{gap:24px}.paper-link{min-width:0;overflow-wrap:anywhere}.selected-papers{border:0;padding:0;box-shadow:none}.rv{opacity:1;transform:none}
a:focus-visible{outline:2px solid #426d9a;outline-offset:5px}
@media(max-width:800px){.cover-layout{min-height:0;grid-template-columns:1fr;gap:0}.cover-copy{padding:40px 0 8px}.cover-art{max-width:380px;margin:0 auto}.cover-art img{max-height:250px}.research-cover .cover-copy h1{font-size:36px}.cover-series a{font-size:18px}.cover-series a>span{font-size:24px}.source-section,main.wrap>.focus,body>main>.sec{padding:40px 0}.source-section h2,main.wrap>.focus>.sec-title,#research-content.container>h2:first-child,.sec-head .sec-num{font-size:28px}.source-number{font-size:32px}.source-section h2{gap:16px}.source-section p,main.wrap>.focus p,#research-content.container p,.plate-p,.fab-p,.collab-p,.onchip-p,.branch-p{font-size:20px;line-height:1.9}.source-section h3,main.wrap>.focus h3{font-size:24px}.research-gallery,.container .image-row{grid-template-columns:1fr}.source-section figure,main.wrap .source-image{padding:12px}.plate,.plate.flip{grid-template-columns:minmax(0,1fr);gap:24px}.app-grid,.paper-grid{grid-template-columns:minmax(0,1fr)}main.source-main,body>main.wrap,body>#research-content.container{padding-inline:20px}.source-section .paper-title{font-size:21px}}
@media(max-width:1120px){.research-shell-nav__inner{gap:22px}.research-shell-menu{gap:22px}}
@media(max-width:800px){.research-shell-nav__inner{min-height:68px;padding:0 16px;grid-template-columns:1fr auto;gap:12px}.research-shell-logos{gap:12px}.research-shell-logos img:first-child{height:32px}.research-shell-logos img:last-child{height:25px}.research-shell-logos i{height:21px}.research-shell-menu{display:none}.research-shell-actions{gap:8px}.research-shell-back{padding:10px}.research-shell-back span{display:none}.research-shell-lang button{min-width:40px;padding:8px}.research-shell-footer__inner{width:calc(100% - 36px)!important;padding:72px 0 34px!important}.research-shell-footer__title h2{font-size:clamp(34px,10vw,48px)}.research-shell-footer__title p{font-size:11px;letter-spacing:.25em}.research-shell-footer__bottom{margin-top:58px;flex-direction:column}.research-shell-footer__logos img{height:50px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Final spacing, alignment and responsive refinements. */
.research-cover .cover-copy h1{text-wrap:balance;word-break:normal}
.cover-series a{transition:color .18s ease,background-color .18s ease;border-radius:0}
.cover-series a:hover{background:rgba(255,255,255,.6)}
.source-section h2,main.wrap>.focus>.sec-title,.source-section h3,main.wrap>.focus h3{text-wrap:pretty}
.source-section>:last-child,main.wrap>.focus>:last-child{margin-bottom:0}
.source-section .source-number{line-height:1.65}
main.wrap .pdf-columns>*{min-width:0}
main.wrap .pdf-columns>p{line-height:1.85}
main.wrap .research-gallery{gap:24px}
main.wrap .research-gallery .source-image{display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafb}
main.wrap .pdf-oct .research-gallery .source-image{padding:0;background:transparent}
.source-section figure img,.container .single-image img{display:block;margin-inline:auto}
.container .single-image{padding:20px;background:#f8fafb;border-radius:12px}
.plate-txt,.app-card,.branch{min-width:0}
.paper-link{transition:border-color .18s ease,background-color .18s ease}
.paper-link:hover{border-color:#b6c5d1;background:#f8fafb}
@media(min-width:801px){
 .source-section,main.wrap>.focus{padding-block:56px}
 .source-section h2,main.wrap>.focus>.sec-title{margin-bottom:28px}
 .source-section h3,main.wrap>.focus h3{margin-top:36px}
}
@media(min-width:761px) and (max-width:1000px){
 main.wrap .pdf-columns>p{font-size:20px;line-height:1.85}
}
@media(max-width:480px){
 .research-cover{padding-inline:20px}
 .research-cover .cover-copy h1{font-size:32px;line-height:1.45}
 .cover-series a{gap:9px!important;font-size:16px}
 .cover-series a>span{font-size:24px;min-width:28px}
 .source-section h2{gap:12px}.source-number{min-width:36px}
 .source-section h2,main.wrap>.focus>.sec-title{font-size:27px}
 main.wrap .research-gallery{gap:18px}
 .source-section,.focus{overflow-wrap:break-word}
}
@media(prefers-reduced-motion:reduce){.cover-series a,.paper-link{transition:none}}

/* Research direction disclosure shared by desktop and compact headers. */
.research-shell-directions{position:relative;color:#fff;flex-shrink:0}
.research-shell-directions--mobile{display:none}
.research-shell-directions__toggle{appearance:none;display:inline-flex;align-items:center;gap:5px;min-height:42px;padding:0 2px;border:0;background:none;color:inherit;font:600 13px/1 "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;cursor:pointer}
.research-shell-directions__toggle svg{flex:none}
.research-shell-directions__toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.research-shell-directions__toggle:focus-visible,.research-shell-directions__list a:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}
.research-shell-directions__list{position:absolute;top:100%;left:0;z-index:2;min-width:max-content;max-width:calc(100vw - 24px);margin:0;padding:6px;list-style:none;background:#101d30;border:1px solid #354356;border-radius:10px;box-shadow:0 10px 28px #0004}
.research-shell-directions__list[hidden]{display:none}
@media (any-hover:hover) and (min-width:801px){
 .research-shell-nav:not([data-directions-bound]) .research-shell-directions--desktop:hover > .research-shell-directions__list[hidden]{display:block}
}
.research-shell-nav ~ .site-bar{display:none}
.research-shell-directions__list a{display:block;min-height:38px;padding:11px 12px;color:#e2e8f0;font:600 13px/1.35 "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:normal;text-decoration:none;white-space:normal;text-transform:none;border-radius:6px}
.research-shell-directions__list a:hover,.research-shell-directions__list a[aria-current="page"]{color:#fff;background:#26364b}
.research-shell-directions__list a[aria-current="page"]::after{content:none}
@media(max-width:800px){
 .research-shell-directions--mobile{display:block;position:relative}
 .research-shell-directions--mobile .research-shell-directions__list{top:100%;left:auto;right:0;min-width:min(250px,calc(100vw - 24px))}
 .research-shell-directions__toggle{letter-spacing:0;font-size:12px}
 .research-shell-nav__inner{grid-template-columns:minmax(0,1fr) auto}
 .research-shell-logos{min-width:0}
 .research-shell-logos a{min-width:0}
}
@media(min-width:801px){
 .research-shell-logos a:first-child img{max-width:clamp(95px,12vw,175px)}
 .research-shell-logos a:last-child img{max-width:clamp(80px,9vw,132px)}
}
@media(min-width:801px) and (max-width:1500px){.research-shell-menu{gap:clamp(13px,1.4vw,22px)}}
@media(min-width:1121px) and (max-width:1500px){}
@media(max-width:360px){.research-shell-nav__inner{padding-inline:10px;gap:8px}.research-shell-actions,.research-shell-logos{gap:5px}.research-shell-lang button{min-width:33px;padding-inline:4px}}

/* Use the homepage type system, with a width cap for illustrated covers. */
:root {
  --lab-home-font: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --lab-home-title: 2.625rem;
  --lab-home-title-spacing: .06em;
  --lab-home-nav-size: 1rem;
}
:root[lang="en"] {
  --lab-home-title: clamp(2.4rem, 6vw, 6rem);
  --lab-home-title-spacing: -.025em;
  --lab-home-nav-size: .875rem;
}
@media (min-width: 768px) { :root { --lab-home-title: 6rem; } }
@media (min-width: 1024px) { :root { --lab-home-title: 8rem; } }
@media (min-width: 1280px) { :root { --lab-home-title: 8.5rem; } }
.research-shell-nav, .research-cover { font-family: var(--lab-home-font); }
.research-shell-nav { overflow: visible; }
.research-shell-nav .research-shell-menu > a,
.research-shell-nav .research-shell-directions__toggle {
  font: 600 var(--lab-home-nav-size)/1.5 var(--lab-home-font);
}
.research-shell-nav .research-shell-back,
.research-shell-nav .research-shell-lang button,
.research-shell-nav .research-shell-directions__list a { font-family: var(--lab-home-font); }
@media (any-hover: hover) and (max-width: 800px) {
  .research-shell-nav:not([data-directions-bound]) .research-shell-directions--mobile:hover > .research-shell-directions__list[hidden] { display: block; }
}
.research-cover .cover-copy { container-type: inline-size; }
.research-cover .cover-copy h1#cover-title {
  font: 800 min(var(--lab-home-title), max(2rem, 18cqi))/1.1 var(--lab-home-font);
  letter-spacing: var(--lab-home-title-spacing);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.research-cover.cover-3 .cover-copy h1#cover-title { font-size: min(var(--lab-home-title), max(2rem, 11cqi)); }
#research-content.hero .hero-p, #flow-research #section-01 .flow-content > p:first-child,
#dffoct-page .pg-hero-inner > p, #main > .hero > .wrap > p {
  font: 300 clamp(1.125rem, 2.2vw, 1.6875rem)/1.625 var(--lab-home-font);
}
@media(max-width:760px){html[lang="en"] .cell-node{max-width:110px;white-space:normal;text-align:center;font-size:14px}html[lang="en"] .node-3{left:83%}html[lang="en"] .node-6{left:17%}html[lang="en"] .flow-process li{min-width:0;overflow-wrap:anywhere}}
/* Keep every destination available; use a separate menu row when space is tight. */
@media(min-width:801px){
 .research-shell-nav__inner{gap:24px;grid-template-columns:auto minmax(max-content,1fr) auto}
 .research-shell-menu{gap:18px;justify-content:flex-end}
 .research-shell-menu>a,.research-shell-directions__toggle{letter-spacing:.06em}
}
@media(min-width:801px) and (max-width:1680px){}
@media(min-width:801px) and (max-width:1280px){}
@media(max-width:1500px){
 .research-shell-nav__inner{grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;padding-top:14px;padding-bottom:14px}
 .research-shell-logos{grid-column:1;grid-row:1}
 .research-shell-actions{grid-column:2;grid-row:1}
 .research-shell-menu{grid-column:1 / -1;grid-row:2;display:flex;flex-wrap:wrap;justify-content:center;gap:16px 24px;padding:8px 0}
 .research-shell-menu>a{display:block}
}
@media(max-width:800px){
 .research-shell-menu{gap:14px 18px}
 .research-shell-menu>a{font-size:12px!important;letter-spacing:.04em}
 .research-shell-logos{gap:8px}
 .research-shell-logos a:first-child{flex:1;min-width:0}
 .research-shell-logos img{max-width:100%;height:auto!important;max-height:30px}
 .research-shell-logos a:last-child{flex:0 1 76px}
 .research-shell-lang button{font-size:0!important;min-width:30px;padding:8px 6px}
 .research-shell-lang button::after{font:600 12px/1 var(--lab-home-font)}
 .research-shell-lang button[data-lang="zh"]::after{content:"中"}
 .research-shell-lang button[data-lang="en"]::after{content:"EN"}
 .research-shell-nav .research-shell-directions__toggle{font-size:12px;letter-spacing:0}
}

