/* The supplied frontier, using the live site's local typeface and palette. */
.research-frontier{--surface:#fff;--ink:#24232b;--muted:#62616a;--line:#d4d3d7;--iris:#5145cd;--tint:rgba(81,69,205,.06);--wash:rgba(181,175,255,.24);--citron:#d7f59a;--band:#191820;--band-ink:#f7f7f4;--band-iris:#b5afff;--faint:#9895a2}
.research-frontier button{font:inherit;color:inherit;cursor:pointer}
.research-frontier :is(button,a):focus-visible{outline:2px solid var(--iris);outline-offset:3px}
.research-frontier[hidden],.research-frontier [hidden]{display:none!important}
/* decision path */
.research-frontier .path{position:relative;display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr)) minmax(0,.8fr) auto;gap:0;align-items:start;margin-top:30px;padding-bottom:26px}
.research-frontier .path::before{content:"";position:absolute;left:8px;right:8px;top:8px;border-top:2px solid var(--band-ink)}
.research-frontier .path .end{position:relative;z-index:1;width:18px;height:18px;margin-top:-1px}
.research-frontier .path .end.dec{background:var(--band-iris);transform:rotate(45deg) scale(.82)}
.research-frontier .path .end.per{border:2.4px solid var(--band-ink);border-radius:50%;background:var(--band)}
.research-frontier .st{position:relative;z-index:1;border:0;background:none;text-align:left;padding:0 14px 0 18px;color:var(--band-ink)}
.research-frontier .st::before{content:"";display:block;width:8px;height:26px;background:var(--citron);border:1.25px solid var(--band);margin:-5px 0 10px -4px;transition:transform .3s}
.research-frontier .st:hover::before,.research-frontier .st[aria-pressed=true]::before{transform:scaleY(1.25)}
.research-frontier .st b{display:block;font-weight:500;font-size:16.5px;line-height:1.2;letter-spacing:-.01em}
.research-frontier .st small{display:block;margin-top:5px;font-size:12.5px;color:var(--band-iris)}
.research-frontier .st[aria-pressed=true] b{color:var(--citron)}
.research-frontier .st.un{cursor:default}
.research-frontier .st.un::before{background:none;border:1.5px dashed var(--band-iris)}
.research-frontier .path .mask{position:absolute;top:0;height:18px;right:8px;width:calc((100% - 36px) * .2);background:repeating-linear-gradient(90deg,var(--band) 0 6px,transparent 6px 12px);z-index:0}
.research-frontier .wrap{padding:26px clamp(16px,4vw,56px) 64px}
.research-frontier h2{font-weight:500;font-size:23px;letter-spacing:-.02em;margin:0 0 6px}
.research-frontier .lede{color:var(--muted);max-width:72ch;margin:0 0 14px}
.research-frontier .bar{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:0 0 14px}
.research-frontier .seg{display:inline-flex;border:1px solid var(--ink);border-radius:4px;overflow:hidden}
.research-frontier .seg button{border:0;background:none;padding:8px 14px;min-height:40px}
.research-frontier .seg button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.research-frontier .legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--muted)}
.research-frontier .legend span{display:inline-flex;gap:7px;align-items:center}
.research-frontier .u{display:inline-block;width:9px;height:9px;background:var(--ink);flex:none}
.research-frontier .u.o{background:none;border:1.6px solid var(--ink)}
.research-frontier .u.s{background:none;border:1.6px solid var(--iris)}
.research-frontier .u.x{height:2px;background:var(--faint);width:10px}
.research-frontier .fb{display:inline-block;width:6px;height:16px;background:var(--citron);border:1.25px solid var(--ink)}
.research-frontier .work{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}
.research-frontier .work>*{min-width:0}
.research-frontier .scroll{overflow-x:auto;border:1px solid var(--line);border-radius:4px;background:var(--surface)}
.research-frontier .fig{min-width:820px;--cols:232px repeat(5,minmax(112px,1fr))}
.research-frontier .r{display:grid;grid-template-columns:var(--cols);border-top:1px solid var(--line)}
.research-frontier .r.h{border-top:0;border-bottom:1px solid var(--ink);position:sticky;top:0;background:var(--surface);z-index:3}
.research-frontier .r.h div{text-align:center;padding:12px 10px 10px;font-size:12.5px;line-height:1.25;font-weight:500}
.research-frontier .r.h div small{display:block;font-weight:400;color:var(--muted);margin-top:3px}
.research-frontier .g{padding:12px 12px 6px;font-size:12.5px;color:var(--muted);background:var(--tint);border-top:1px solid var(--line)}
.research-frontier .g b{color:var(--ink)}
.research-frontier .p{border:0;background:var(--surface);text-align:left;padding:12px 10px 12px 14px;display:grid;grid-template-columns:16px 1fr;gap:0 10px;align-content:center;position:sticky;left:0;z-index:2}
.research-frontier .p i{width:14px;height:14px;border-radius:50%;background:var(--ink);margin-top:3px;box-shadow:0 0 0 3px var(--surface),0 0 0 4.2px var(--faint)}
.research-frontier .p b{font-weight:500;font-size:14.5px;line-height:1.22}
.research-frontier .p small{grid-column:2;color:var(--muted);font-size:12px;line-height:1.3;margin-top:2px}
.research-frontier .p:hover b{color:var(--iris)}
.research-frontier .r.on .p,.research-frontier .r.on .c{background:var(--paper)}
.research-frontier .c{position:relative;border:0;background:var(--surface);padding:12px 8px 10px;display:flex;flex-direction:column;align-items:center;gap:7px;min-height:92px;text-align:center}
.research-frontier .c::before{content:"";position:absolute;left:0;right:0;top:27px;border-top:2px solid var(--ink)}
.research-frontier .c.o::before{border-top:2px dashed var(--faint)}
.research-frontier .c.x::before{border-top:1.5px dotted var(--faint)}
.research-frontier .c.edge::after{content:"";position:absolute;right:-4px;top:10px;width:8px;height:36px;background:var(--citron);border:1.25px solid var(--ink);z-index:1}
.research-frontier .c .sp{position:relative;display:grid;gap:2px;padding:4px 6px;background:var(--surface);min-height:32px;align-content:center;justify-content:center}
.research-frontier .r.on .c .sp{background:var(--paper)}
.research-frontier .c .sp .u{width:8px;height:8px}
.research-frontier .c .sp.one .u{width:11px;height:11px}
.research-frontier .c .sp .u.x,.research-frontier .c .sp.one .u.x,.research-frontier .strip .u.x{width:12px;height:2px}
.research-frontier .c span.t{font-size:11.5px;line-height:1.3;color:var(--muted);max-width:19ch}
.research-frontier .c.hd span.t{color:var(--ink)}
.research-frontier .c:hover,.research-frontier .c:focus-visible{background:var(--wash)}
.research-frontier .c:hover .sp,.research-frontier .c:focus-visible .sp{background:transparent}
.research-frontier .c[aria-pressed=true]{outline:1.5px solid var(--ink);outline-offset:-2px;background:var(--wash)}
.research-frontier .c[aria-pressed=true] .sp{background:transparent}
.research-frontier .fig.dim .r[data-g]:not(.keep){opacity:.28}
.research-frontier .fig.open .c.hd{opacity:.3}
.research-frontier .fig.open .c.o .sp .u.o{background:var(--citron);border-color:var(--ink)}
.research-frontier .fig.open .c.o span.t{color:var(--ink)}
.research-frontier .foot{display:grid;grid-template-columns:var(--cols);border-top:1px solid var(--ink);font-size:12px;color:var(--muted)}
.research-frontier .foot div{padding:10px}
.research-frontier .foot b{color:var(--ink);font-weight:500}
.research-frontier .panel{position:sticky;top:12px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--iris);border-radius:4px;padding:18px 18px 22px;max-height:calc(100vh - 24px);overflow:auto}
.research-frontier .panel .k{font-size:12.5px;color:var(--iris);margin:0 0 6px;display:flex;gap:8px;align-items:center}
.research-frontier .panel h3{font-weight:500;font-size:21px;line-height:1.2;letter-spacing:-.02em;margin:0 0 10px}
.research-frontier .panel h4{font-size:12.5px;font-weight:700;margin:16px 0 4px}
.research-frontier .panel p{margin:0 0 10px}
.research-frontier .panel .q{background:var(--tint);border-left:2px solid var(--citron);padding:10px 12px}
.research-frontier .panel .lim{color:var(--muted);font-size:13.5px}
.research-frontier .act{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.research-frontier .btn{border:1px solid var(--line);background:var(--paper);border-radius:4px;padding:7px 10px;font-size:13.5px;text-decoration:none;color:var(--ink)}
.research-frontier .btn:hover{border-color:var(--iris);color:var(--iris)}
.research-frontier .strip{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin:8px 0 2px}
.research-frontier .strip button{border:1px solid var(--line);background:var(--paper);border-radius:3px;min-height:36px;display:grid;place-items:center}
.research-frontier .tally{display:flex;flex-wrap:wrap;gap:3px;margin:10px 0 8px}
.research-frontier .tally .u{width:11px;height:11px}
.research-frontier .tally .u.x{height:2px;align-self:center}
.research-frontier .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px;margin-top:14px}
.research-frontier .card{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--citron);padding:14px 16px 16px}
.research-frontier .card b{font-weight:500}
.research-frontier .card p{margin:6px 0 10px;font-size:14px;color:var(--muted)}
.research-frontier .note{color:var(--muted);font-size:13px;max-width:74ch;margin-top:30px;border-top:1px solid var(--line);padding-top:14px}
@media (max-width:1020px){
.research-frontier .work{grid-template-columns:1fr}
.research-frontier .panel{position:static;max-height:none}}
@media (max-width:760px){
.research-frontier .path{grid-template-columns:auto 1fr;row-gap:18px}
.research-frontier .path::before{left:8px;right:auto;top:8px;bottom:34px;border-top:0;border-left:2px solid var(--band-ink)}
.research-frontier .path .end.per{grid-column:1}
.research-frontier .st{grid-column:2;padding-left:6px}
.research-frontier .st::before{position:absolute;left:-23px;top:4px;margin:0;width:26px;height:8px}
.research-frontier .path .mask{display:none}
.research-frontier .path .end.dec{grid-row:1}}
@media (max-width:760px){
.research-frontier .fig{min-width:730px;--cols:150px repeat(5,116px)}
.research-frontier .p{padding-left:8px;grid-template-columns:1fr}
.research-frontier .p i{display:none}
.research-frontier .p small{grid-column:1}
.research-frontier .r.h div:first-child{position:sticky;left:0;background:var(--surface)}}
@media (prefers-reduced-motion: reduce){
.research-frontier .st::before{transition:none}}

/* Integrate with the same editorial hierarchy as About and the agenda. */
.research-frontier-frame{max-width:1440px}
.research-frontier .lede,.research-frontier .panel p,.research-frontier .card p{font-size:18px;line-height:1.5}
.research-frontier .lede{margin:20px 0 24px}
.research-frontier .panel h3{font-size:23px;line-height:1.25}
.research-frontier .panel h4{font-size:14px;line-height:1.5}
.research-frontier .panel .lim,.research-frontier .panel .k,.research-frontier .legend,.research-frontier .note{font-size:14px;line-height:1.5}
.research-frontier .btn,.research-frontier .seg button,.research-frontier .p b{font-size:16px;line-height:1.4}
.research-frontier .btn{min-height:44px;display:inline-flex;align-items:center}
.research-frontier .p small,.research-frontier .c span.t,.research-frontier .r.h div,.research-frontier .g,.research-frontier .foot{font-size:14px;line-height:1.4}
.research-frontier .c{min-height:116px}
.research-frontier .work{grid-template-columns:minmax(0,1fr) 330px;gap:24px}
.research-frontier .fig{--cols:220px repeat(5,minmax(112px,1fr))}
.research-frontier .panel{top:calc(var(--site-header-height,76px) + 12px);max-height:calc(100dvh - var(--site-header-height,76px) - 24px);scroll-margin-top:calc(var(--site-header-height,76px) + 24px)}
.research-frontier .panel:focus{outline:2px solid #5145cd;outline-offset:4px}
.research-frontier .st b{font-size:18px;line-height:1.35}
.research-frontier .st small{font-size:14px;line-height:1.5}
.research-frontier .st:focus-visible{outline-color:#d7f59a}
.research-frontier .path{margin-top:36px;padding-bottom:10px}
.research-frontier .path-note{color:#b9b7c4;font-size:14px;line-height:1.5;margin:18px 0 0}
.research-frontier .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:40px}
.research-frontier .card h3{font-size:20px;font-weight:500;line-height:1.3;margin:0}
.research-frontier .card p{margin:12px 0 18px}
.research-frontier .grid-help{font-size:14px;color:var(--muted);margin:0 0 14px}
.research-frontier .r.h{position:static}
.research-frontier .r.h div:first-child{background:var(--surface)}
.research-frontier .c .sp{flex:none}
.research-frontier .u.x{height:2px!important;background:var(--faint)!important;border:0!important}
.frontier-enhanced .research-records,.frontier-enhanced .research-evidence-fallback{display:none}
@media(max-width:1200px){.research-frontier .work{grid-template-columns:1fr}.research-frontier .panel{position:static;max-height:none}.research-frontier .panel h3{max-width:50ch}}
@media(max-width:760px){.research-frontier .cards{grid-template-columns:1fr}.research-frontier .fig{min-width:850px;--cols:170px repeat(5,136px)}.research-frontier .c{min-height:130px}.research-frontier .st b{font-size:18px}.research-frontier .panel{padding:20px}}
@media print{.research-frontier .work{display:block}.research-frontier .scroll{overflow:visible}.research-frontier .fig{min-width:0;--cols:22% repeat(5,15.6%)}.research-frontier .c,.research-frontier .p{break-inside:avoid}.research-frontier .panel{position:static;max-height:none}.research-frontier .c span.t,.research-frontier .p b,.research-frontier .p small,.research-frontier .r.h div{font-size:9pt}.research-frontier .path{display:none}}

.research-frontier .r>[role="rowheader"]{position:sticky;left:0;z-index:2;background:var(--surface)}
.research-frontier .r>[role="gridcell"]{min-width:0;display:flex}
.research-frontier .r .p,.research-frontier .r .c{width:100%;height:100%}
.research-frontier .r .p{position:static}
.research-frontier .g{grid-column:1/-1}
.research-frontier.oncarbon{--iris:#b5afff}
.research-frontier .r>[role="rowheader"]{display:flex}
.research-frontier .bar{margin-top:24px}
@media(min-width:761px){.research-frontier .fig{min-width:780px}}

/* Light rules distinguish the institutional contexts from adjacent sections. */
.research-page--overview #sectors{border-top:1px solid #D9D7E0;border-bottom:1px solid #D9D7E0}

/* Match rectangular actions to the sector link, including keyboard feedback. */
.research-page--overview .research-frontier :is(.btn,.seg button,.strip button):is(:hover,:focus-visible,:active){background:var(--citron);color:var(--ink);border-color:var(--iris);text-decoration:none}
.research-page--overview .research-frontier :is(.btn,.seg button,.strip button):focus-visible{outline:2px solid var(--iris);outline-offset:-3px}
