/* Nerfies publication layout, adapted for MeDUET. CC BY-SA 4.0. */
:root{--ink:#253449;--muted:#657287;--green:#168774;--blue:#4068ba;--purple:#8255b1;--line:#e3e9ef;--gradient:linear-gradient(110deg,#1b9b80 0%,#4582cc 48%,#8a5bb8 100%);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:36px}body{margin:0;background:#fff;color:var(--ink);font-family:"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.65}button{font:inherit;cursor:pointer}a{color:var(--blue);text-underline-offset:4px}a:hover{color:#254b90}a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid #607bd1;outline-offset:5px}[hidden]{display:none!important}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}sup{font-size:.65em;position:relative;top:-.5em;margin-left:3px}h1,h2,h3,p{margin:0}h2{font-size:36px;line-height:1.25;font-weight:700;letter-spacing:-1.1px}h3{font-size:19px;line-height:1.4;font-weight:650;color:var(--ink)}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:100;top:-80px;left:20px;padding:10px 18px;background:#fff;border:2px solid var(--blue);border-radius:8px}.skip-link:focus{top:12px}.reading-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:60}.reading-progress span{display:block;height:100%;width:0;background:var(--gradient)}.page-main{margin-left:236px}.wordmark,.project-name{background:var(--gradient);background-clip:text;-webkit-background-clip:text;color:transparent}.section-nav{position:fixed;top:50%;left:12px;transform:translateY(-50%) scale(.85);transform-origin:left center;width:202px;max-height:calc(100dvh - 48px);overflow-y:auto;border:1px solid #e6eaf0;border-radius:23px;padding:18px 12px;background:rgba(255,255,255,.96);box-shadow:0 8px 32px #22345c07;z-index:30}.nav-brand{display:block;font-size:20px;font-weight:750;padding:0 14px 12px;letter-spacing:-.4px}.nav-link{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding:9px 14px;border-radius:12px;font-size:16px;font-weight:600;line-height:1.4;color:#7b8391;transition:background .18s,color .18s}.nav-link::before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#e8ebf1}.nav-link:hover{background:#f5f7fb;color:var(--blue)}.nav-link[aria-current]{color:#4c68cb;background:#edf1ff}.nav-link[aria-current]::before{background:#536fdb}.nav-link.sub-link{padding-left:31px;font-size:14px;font-weight:500;min-height:35px;color:#8a93a2}.nav-link.sub-link::before{width:5px;height:5px}.nav-link.sub-link[aria-current]{color:#4c68cb}.mobile-header{display:none}.publication-header{position:relative;background:radial-gradient(ellipse at 17% 2%,#edf9f580,transparent 50%),radial-gradient(ellipse at 88% 15%,#f3effa90,transparent 50%)}.publication-header .hero-body{padding:63px 0 40px}.publication-header .columns{margin:0}.publication-header .column{padding:0}.venue{font-size:13px;letter-spacing:1.3px;text-transform:uppercase;font-weight:600;color:#65708b;margin-bottom:20px}.project-name{display:block;font-size:86px;font-weight:800;letter-spacing:-4px;line-height:1.15;margin-bottom:16px}.paper-title{display:block;font-size:34px;line-height:1.36;letter-spacing:-.95px;font-weight:650}.publication-authors{display:flex;flex-wrap:wrap;justify-content:center;gap:31px;margin:27px 0 10px;font-size:21px}.author-block{white-space:nowrap}.publication-authors a:hover{text-decoration:underline}.publication-affiliations{font-size:14px;line-height:1.65;color:#718095;display:flex;flex-direction:column;gap:2px}.resource-panels{display:grid;grid-template-columns:repeat(3,1fr);max-width:738px;margin:29px auto 0;border:1px solid #dde5ed;border-radius:17px;background:#fff;box-shadow:0 8px 30px #355a8010;padding:18px 0}.resource-panel{display:flex;align-items:center;text-align:left;gap:14px;padding:8px 24px;color:var(--ink);position:relative;transition:background .2s}.resource-panel+.resource-panel{border-left:1px solid #e1e7ee}.resource-panel:hover{background:#f5f8fc;color:var(--blue)}.resource-icon{display:grid;place-items:center;width:40px;height:42px;flex-shrink:0;color:var(--green)}.resource-icon svg{width:29px;height:29px}.resource-code .resource-icon{color:var(--blue)}.resource-arxiv .resource-icon{color:var(--purple)}.arxiv-icon{font-family:Georgia,serif;font-size:42px;line-height:1}.resource-panel strong{display:block;font-size:20px;line-height:1.4}.resource-panel small{display:block;font-size:14px;line-height:1.6;color:#778497;white-space:nowrap}.external-icon{margin-left:auto;color:#8994a5;align-self:flex-start;padding-top:3px}.external-icon svg{width:14px;height:14px}.hero-summary{font-size:21px;line-height:1.55;font-weight:450;color:#657286;margin-top:29px;letter-spacing:-.2px}.text-green{color:var(--green);font-weight:600}.text-purple{color:var(--purple);font-weight:600}.page-section{padding:67px 0;scroll-margin-top:16px}.section-heading{margin-bottom:32px}.section-heading .eyebrow{display:block;color:var(--blue);font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:1.8px;margin-bottom:9px}.section-heading>p{margin-top:12px;color:var(--muted);font-size:17px}.highlights-section{padding-top:28px}.highlights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-bottom:36px}.highlight-item{border-top:2px solid #b6ddd5;padding-top:19px}.highlight-item.blue{border-color:#bbceee}.highlight-item.purple{border-color:#d7c3e9}.feature-symbol{color:var(--green);display:block;margin-bottom:13px}.feature-symbol svg{width:30px;height:30px}.blue .feature-symbol{color:var(--blue)}.purple .feature-symbol{color:var(--purple)}.highlight-item h3{font-size:18px;margin-bottom:9px}.highlight-item p,.method-grid p{color:var(--muted);font-size:16px;line-height:1.65}.paper-figure{margin:0}.media-slot{min-height:245px;border:1px dashed #cddae4;border-radius:var(--radius);background:linear-gradient(125deg,#f4faf8,#f6f9fc 48%,#f8f5fb);display:grid;place-items:center;overflow:hidden;position:relative}.teaser-slot{min-height:310px}.framework-slot{min-height:350px}.media-placeholder{display:flex;align-items:center;flex-direction:column;text-align:center;gap:6px;color:#97a5b4;padding:32px}.media-placeholder strong{font-size:16px;font-weight:500;color:#7b8da0}.media-placeholder>span:last-child{font-size:13px}.placeholder-mark{display:block;width:32px;height:24px;margin-bottom:7px;border:1.5px solid #b0c1ce;border-radius:5px;position:relative}.placeholder-mark::before{content:"";position:absolute;width:6px;height:6px;border-radius:50%;border:1.5px solid #b0c1ce;top:4px;right:5px}.placeholder-mark::after{content:"";position:absolute;bottom:4px;left:6px;width:13px;height:9px;border-left:1.5px solid #b0c1ce;border-top:1.5px solid #b0c1ce;transform:rotate(40deg) skew(-12deg)}.media-slot.has-image{display:block;background:#fff;border:1px solid var(--line);min-height:0;padding:12px}.figure-button{display:block;border:0;background:transparent;padding:0;width:100%;cursor:zoom-in}.figure-button img{display:block;width:100%;height:auto}.paper-figure figcaption{font-size:14px;color:#7c899a;text-align:center;line-height:1.6;margin:12px 16px 0}.motivation-section{background:linear-gradient(110deg,#f4faf8,#f6f9fc 48%,#f8f6fb);border-block:1px solid #edf1f4}.lead-question{font-size:34px;font-weight:600;line-height:1.35;letter-spacing:-.8px;margin-bottom:20px}.motivation-copy{max-width:648px;font-size:18px;color:var(--muted);line-height:1.8}.factor-pair{display:flex;align-items:center;gap:40px;margin-top:31px;padding-top:25px;border-top:1px solid #dfe8ec}.factor-pair>div{flex:1}.factor-label{display:block;font-size:13px;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:5px}.factor-pair strong{font-size:19px;font-weight:600}.factor-pair p{font-size:14px;color:var(--muted);margin-top:5px}.factor-divider{font-size:27px;font-weight:300;color:#a1afbf}.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:31px}.method-tag{font-size:12px;font-weight:650;color:var(--green);letter-spacing:.4px;display:inline-block;margin-bottom:10px;border-radius:6px;background:#ebf7f3;padding:3px 8px}.method-grid article:nth-child(2) .method-tag{color:#3a7b9f;background:#edf5fa}.method-grid article:nth-child(3) .method-tag{color:var(--blue);background:#edf2fc}.method-grid article:nth-child(4) .method-tag{color:var(--purple);background:#f3edf8}.method-grid h3{font-size:17px;margin-bottom:9px}.method-grid p{font-size:15px}.transfer-line{display:flex;justify-content:center;align-items:center;gap:28px;margin-top:24px;font-size:14px;color:#6f7e91}.transfer-line>span:first-child{font-weight:600;color:var(--ink)}.transfer-branch{border-left:1px solid #d4dce6;padding-left:28px}.transfer-branch strong{font-weight:600;color:var(--blue);padding-left:9px}.insights-section{background:#fafbfd;border-block:1px solid #edf0f4}.insight-list{display:grid;gap:27px}.insight-list article{padding-left:22px;border-left:3px solid #7dbfaf}.insight-list article:nth-child(2){border-color:#7eaae0}.insight-list article:nth-child(3){border-color:#b393d1}.insight-list h3{font-size:20px;margin-bottom:5px}.insight-list p{font-size:16px;color:var(--muted)}.result-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:0 0 45px;padding-bottom:29px;border-bottom:1px solid var(--line)}.result-highlights article>strong{font-size:40px;letter-spacing:-1.7px;font-weight:700;color:var(--green);display:block;line-height:1.25;margin-bottom:10px}.result-highlights article:nth-child(2)>strong{color:var(--blue)}.result-highlights article:nth-child(3)>strong{color:var(--purple)}.result-highlights article>strong span{font-size:.68em;font-weight:450}.result-highlights h3{font-size:16px}.result-highlights p{font-size:14px;color:var(--muted);margin-top:5px}.qualitative-results{margin-top:45px;scroll-margin-top:40px}.subsection-title{font-size:23px;letter-spacing:-.5px;margin-bottom:23px}.figure-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.analysis-section{background:#fafbfd;border-block:1px solid #edf0f4}.analysis-grid{row-gap:35px}.analysis-grid h3{font-size:20px;letter-spacing:-.3px;margin-bottom:9px}.analysis-grid p{font-size:16px;color:var(--muted);margin-bottom:19px;min-height:53px}.analysis-note{font-size:14px;color:#8390a0;text-align:center;margin-top:28px}.citation-section{padding-block:49px}.citation-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.citation-heading h2{font-size:28px}.citation-heading button{border:1px solid #dce4ef;background:#fff;border-radius:8px;color:var(--blue);padding:5px 15px}.citation-code{min-height:92px;background:#f5f7fa;border:1px solid #e5eaf1;border-radius:12px;font-size:14px;color:#526176;white-space:pre-wrap;overflow-wrap:anywhere;padding:21px}.footer{background:#fff;border-top:1px solid var(--line);padding:29px 0 35px;color:#8994a4;font-size:13px;text-align:center;line-height:1.8}.footer p{max-width:720px;margin:auto}.footer a{color:#687faa}.figure-dialog{width:calc(100% - 56px);max-width:1500px;max-height:94dvh;border:0;border-radius:14px;padding:44px 20px 20px;background:#fff;box-shadow:0 20px 80px #0005;margin:auto;color:var(--ink)}.figure-dialog::backdrop{background:#17243cbd;backdrop-filter:blur(5px)}.figure-dialog img{display:block;width:auto;height:auto;max-width:100%;max-height:76dvh;object-fit:contain;margin:auto}.figure-dialog p{text-align:center;color:var(--muted);font-size:14px;margin-top:14px}.close-lightbox{position:absolute;top:6px;right:12px;background:transparent;border:0;font-size:30px;line-height:1.2;color:#526176;padding:3px 8px}
@media(min-width:1650px){.page-main{margin-left:190px}.section-nav{left:max(12px,calc((100vw - 1550px)/2 - 12px));width:210px}.publication-header .hero-body{padding-top:72px}.paper-title{font-size:37px}.project-name{font-size:94px}}
@media(max-width:1250px){.page-main{margin-left:205px}.section-nav{left:8px;width:178px;padding:15px 9px}.nav-link{font-size:15px;gap:10px;padding-inline:11px}.paper-title{font-size:29px}.project-name{font-size:76px}.resource-panel{padding-inline:16px;gap:8px}.resource-icon{width:30px}.resource-panel small{font-size:13px}.resource-panel strong{font-size:18px}.method-grid{gap:19px}.result-highlights article>strong{font-size:35px}}
@media(max-width:1050px){html{scroll-padding-top:88px}.page-main{margin-left:0}.mobile-header{display:flex;position:sticky;top:0;z-index:40;height:62px;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(12px)}.mobile-header .wordmark{font-size:23px;font-weight:750;letter-spacing:-.8px}.mobile-header button{display:flex;align-items:center;gap:9px;border:0;background:transparent;font-size:14px;font-weight:600;color:#64728b;padding:8px}.mobile-header svg{width:17px;height:17px}.section-nav{display:none;left:auto;right:18px;top:72px;transform:none;width:230px;max-height:calc(100dvh - 90px);box-shadow:0 12px 40px #25344a14}.section-nav.is-open{display:block}.section-nav .nav-brand{display:none}.publication-header .hero-body{padding-top:42px}.paper-title{font-size:33px}.nav-link{font-size:16px}.page-section{scroll-margin-top:12px}.resource-panels{max-width:702px}}
@media(max-width:700px){h2{font-size:29px;letter-spacing:-.7px}h3{font-size:18px}.mobile-header{padding-inline:20px}.publication-header .hero-body{padding:32px 0 25px}.venue{font-size:11px;letter-spacing:1px;margin-bottom:15px}.project-name{font-size:66px;letter-spacing:-3px;margin-bottom:15px}.paper-title{font-size:26px;line-height:1.38;letter-spacing:-.75px}.desktop-break{display:none}.publication-authors{font-size:18px;gap:19px;margin-top:23px}.publication-affiliations{font-size:13px;gap:5px;max-width:460px;margin:auto}.resource-panels{margin-top:24px;padding:12px 0;border-radius:13px}.resource-panel{padding:8px 10px;gap:8px;justify-content:center;flex-direction:column;text-align:center}.resource-icon{width:29px;height:30px}.resource-icon svg{width:25px;height:25px}.resource-panel strong{font-size:17px}.resource-panel small{font-size:11px}.external-icon{display:none}.arxiv-icon{font-size:34px}.hero-summary{font-size:18px;margin-top:23px}.page-section{padding-block:43px}.highlights-section{padding-top:18px}.section-heading{margin-bottom:25px}.section-heading>p{font-size:16px}.highlights-grid{grid-template-columns:1fr;gap:21px;margin-bottom:27px}.highlight-item{display:grid;grid-template-columns:34px 1fr;column-gap:13px;row-gap:5px;padding-top:15px}.feature-symbol{grid-row:1/3;margin-top:3px;margin-bottom:0}.feature-symbol svg{width:27px;height:27px}.highlight-item h3{font-size:18px;margin:0}.highlight-item p{font-size:15px}.teaser-slot{min-height:245px}.framework-slot{min-height:260px}.media-slot{border-radius:12px}.lead-question{font-size:28px}.motivation-copy{font-size:16px;line-height:1.75}.factor-pair{gap:16px;margin-top:23px;align-items:flex-start}.factor-pair strong{font-size:16px;display:block;line-height:1.45}.factor-pair p{font-size:13px}.factor-divider{font-size:21px;padding-top:23px}.method-grid{grid-template-columns:1fr 1fr;gap:25px 20px}.method-grid h3{font-size:16px}.method-grid p{font-size:14px}.transfer-line{gap:14px;font-size:12px;flex-wrap:wrap}.transfer-branch{padding-left:14px}.transfer-branch strong{padding-left:5px}.insight-list h3{font-size:18px}.insight-list p{font-size:15px}.insight-list{gap:23px}.result-highlights{gap:16px;margin-bottom:30px;padding-bottom:23px}.result-highlights article>strong{font-size:27px;letter-spacing:-1px;margin-bottom:8px;white-space:nowrap}.result-highlights h3{font-size:14px}.result-highlights p{font-size:12px;line-height:1.5}.figure-grid{grid-template-columns:1fr;gap:28px}.analysis-grid p{min-height:0}.qualitative-results{margin-top:32px}.analysis-note{font-size:13px;text-align:left}.footer{font-size:12px;padding-block:25px}.paper-figure figcaption{font-size:13px;margin-inline:8px}.figure-dialog{width:calc(100% - 20px);padding-inline:10px}}
@media(max-width:380px){.publication-authors{gap:4px;font-size:16px;flex-wrap:wrap}.project-name{font-size:59px}.paper-title{font-size:23px}.resource-panel small{font-size:10px}.transfer-line{gap:10px}}
/* Readable secondary labels on both white and softly tinted surfaces. */
.nav-link,.nav-link.sub-link,.publication-affiliations,.resource-panel small,.paper-figure figcaption,.analysis-note,.footer{color:#637186}.media-placeholder strong{color:#687b8e}.media-placeholder>span:last-child{color:#718093}.resource-panel small{font-size:14px;white-space:normal}.section-heading .eyebrow,.method-tag{font-size:13px}.venue{font-size:13px}.factor-pair p{font-size:14px}
@media(max-width:700px){.resource-panel small{font-size:12px;line-height:1.45}.resource-panel{padding-inline:8px}.result-highlights p{font-size:13px}.footer{font-size:13px}.transfer-line{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Content widths are 90% of the preceding layout, including each width cap.
   Three-class specificity consistently overrides Bulma's full-HD container rule. */
.page-main .container.page-width{width:calc(81% - 64.8px);max-width:842.4px;margin-inline:auto;overflow-wrap:anywhere}
@media(max-width:1250px){.page-main .container.page-width{width:calc(81% - 43.74px)}}
@media(max-width:1050px){.page-main .container.page-width{width:calc(81% - 51.84px);max-width:745.2px}}
@media(max-width:700px){.page-main .container.page-width{width:calc(81% - 32.4px)}}
@media(min-width:1408px){.page-main .container.page-width{max-width:1088.64px}}
/* Give long method labels and result summaries room on narrow screens. */
@media(max-width:500px){.method-grid{grid-template-columns:1fr}.method-tag{white-space:nowrap}.result-highlights{grid-template-columns:1fr;gap:20px}.result-highlights article{display:grid;grid-template-columns:135px 1fr;align-items:center;column-gap:15px}.result-highlights article>strong{grid-row:1/3;margin:0}.result-highlights p{margin:0}}
@media(max-width:380px){.result-highlights article>strong{font-size:30px}}


/* Compact resources and larger institutional affiliations. */
.publication-affiliations{font-size:16.8px}
.resource-panels{width:64%;min-width:168px;max-width:472.32px;padding:9px 0;border-radius:12px}
.resource-panel{gap:7px;padding:3px 12px}
.resource-icon{width:26px;height:27px}
.resource-icon svg{width:20px;height:20px}
.arxiv-icon{font-size:34px}
.resource-panel strong{font-size:16px}
.resource-panel small{font-size:12px;white-space:nowrap}
.external-icon svg{width:12px;height:12px}

/* Reference-inspired rounded highlight cards; hover is purely decorative. */
.highlights-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.highlights-grid .highlight-item{--card-accent:#168774;--card-tint:#f3fbf8;--card-shadow:#16877419;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:17px;row-gap:8px;align-content:start;min-height:174px;padding:27px 28px;border:1px solid #e0e8e8;border-radius:23px;background:linear-gradient(125deg,#fff 55%,var(--card-tint));box-shadow:0 2px 5px #233b5504;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
.highlights-grid .highlight-item.blue{--card-accent:#4776ce;--card-tint:#f3f7ff;--card-shadow:#4776ce1c}
.highlights-grid .highlight-item.purple{--card-accent:#9161bc;--card-tint:#faf5ff;--card-shadow:#9161bc1c}
.highlights-grid .highlight-item.indigo{--card-accent:#6868bd;--card-tint:#f5f5ff;--card-shadow:#6868bd1c}
.highlights-grid .feature-symbol{grid-row:1/3;margin:3px 0 0;color:var(--card-accent)}
.highlights-grid .feature-symbol svg{width:30px;height:30px}
.highlights-grid .highlight-item h3{font-size:20px;line-height:1.4;letter-spacing:-.3px;margin:0}
.highlights-grid .highlight-item p{font-size:16px;line-height:1.7;margin:0;color:#727d8e}
.highlights-grid .highlight-item p strong{color:var(--ink);font-weight:650}
@media(hover:hover){.highlights-grid .highlight-item:hover{transform:translateY(-4px);border-color:var(--card-accent);background:linear-gradient(125deg,#fff 25%,var(--card-tint));box-shadow:0 14px 32px var(--card-shadow)}}

/* Copy action keeps its icon while the accessible label reports success. */
.citation-heading #copy-citation{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:92px;min-height:38px;padding:8px 14px;border:1px solid #d8e2ed;border-radius:12px;background:linear-gradient(110deg,#dcefe8 0%,#dfe9fb 50%,#ece0f5 100%);color:#435671;font-size:14px;font-weight:650;line-height:1.4;box-shadow:0 2px 7px #446bb610;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
#copy-citation svg{width:17px;height:17px;flex-shrink:0;stroke-width:1.8}
.citation-heading #copy-citation:hover{transform:translateY(-2px);filter:brightness(1.025);box-shadow:0 5px 13px #446bb624}
.citation-heading #copy-citation:active{transform:translateY(0)}
@media(max-width:1250px){.resource-panel{padding-inline:8px;gap:5px}.resource-icon{width:22px}.highlights-grid .highlight-item{padding:24px;column-gap:13px}.highlights-grid .highlight-item h3{font-size:18px}}
@media(max-width:1050px){.resource-panels{max-width:449.28px}}
@media(max-width:700px){.publication-affiliations{font-size:15.6px}.resource-panels{padding:7px 0;border-radius:10px}.resource-panel{padding:3px 4px;gap:4px}.resource-icon{width:20px;height:19px}.resource-icon svg{width:18px;height:18px}.resource-panel strong{font-size:14px}.resource-panel small{font-size:12px}.arxiv-icon{font-size:28px}.highlights-grid{grid-template-columns:1fr;gap:17px}.highlights-grid .highlight-item{grid-template-columns:28px minmax(0,1fr);padding:23px 21px;column-gap:12px;min-height:0;border-radius:19px}.highlights-grid .feature-symbol svg{width:25px;height:25px}.highlights-grid .highlight-item h3{font-size:18px}.highlights-grid .highlight-item p{font-size:15px}.citation-heading #copy-citation{min-width:88px;min-height:36px;font-size:14px;padding:7px 12px;border-radius:11px}}
@media(max-width:380px){.highlights-grid .highlight-item{padding:20px 16px;grid-template-columns:24px minmax(0,1fr);column-gap:10px}.highlights-grid .feature-symbol svg{width:22px;height:22px}.highlights-grid .highlight-item h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){.highlights-grid .highlight-item:hover,.citation-heading #copy-citation:hover{transform:none}}

/* Motivation: the domain-shift question beside the two factor roles. */
.text-blue{color:var(--blue);font-weight:600}
.motivation-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:23px}
.motivation-question,.motivation-factor,.motivation-takeaway{border:1px solid #dfe7ee;background:#fff;border-radius:21px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.motivation-question{padding:31px 32px;background:linear-gradient(135deg,#fff 30%,#f1f7fc);display:flex;flex-direction:column;justify-content:center}
.motivation-kicker{font-size:12px;text-transform:uppercase;letter-spacing:1.3px;color:#6a7d95;font-weight:600;margin-bottom:19px}
.motivation-question h3{font-size:31px;line-height:1.35;letter-spacing:-.8px;margin-bottom:18px}
.motivation-question p{font-size:16px;line-height:1.8;color:var(--muted);max-width:390px}
.motivation-factors{display:grid;gap:17px}
.motivation-factor{display:flex;align-items:flex-start;gap:19px;padding:25px 26px}
.content-factor{background:linear-gradient(120deg,#fff,#f4fbf8)}
.style-factor{background:linear-gradient(120deg,#fff,#f9f5fc)}
.factor-symbol{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;color:var(--green);background:#eaf6f1;border-radius:12px}
.factor-symbol svg{width:25px;height:25px}
.style-factor .factor-symbol{color:var(--purple);background:#f1eaf8}
.motivation-factor .factor-label{font-size:11px;letter-spacing:1.5px;margin-bottom:5px}
.motivation-factor h3{font-size:19px;margin-bottom:7px;font-weight:600}
.motivation-factor p{font-size:14px;line-height:1.6;color:#6d7b8d}
.motivation-takeaway{display:flex;align-items:center;justify-content:center;gap:14px;padding:17px 23px;margin-top:22px;background:linear-gradient(110deg,#edf7f3,#eff4fc 50%,#f6effa);border-color:#dce7ef;font-size:15px;color:#66788e}
.motivation-takeaway>strong{font-weight:650;color:var(--blue);white-space:nowrap}

/* Three concise insights, each with its own green/blue/purple emphasis. */
.insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.insight-card{--insight-accent:#168774;--insight-tint:#edf8f3;--insight-shadow:#1687741a;border:1px solid #dfe8e6;border-top:3px solid var(--insight-accent);border-radius:18px;padding:26px 25px 28px;background:linear-gradient(155deg,#fff 45%,var(--insight-tint));transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.insight-blue{--insight-accent:#4068ba;--insight-tint:#eef3fc;--insight-shadow:#4068ba1a}
.insight-purple{--insight-accent:#8255b1;--insight-tint:#f5eefb;--insight-shadow:#8255b11a}
.insight-tag{display:inline-block;color:var(--insight-accent);font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:650;margin-bottom:17px}
.insight-card h3{font-size:21px;line-height:1.4;letter-spacing:-.4px;margin-bottom:15px;font-weight:600}
.insight-card p{font-size:16px;line-height:1.75;color:#6c788a}
.insight-card strong{color:var(--insight-accent);font-weight:650}
.citation-code,.citation-code code{font-family:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:16px;line-height:1.8;font-weight:400;letter-spacing:0;color:#545e70}
.citation-code{padding:25px 27px;background:#f6f7fa;border-color:#e6e9f0;border-radius:18px}
.citation-code code{padding:0;background:transparent}
@media(hover:hover){.motivation-question:hover{transform:translateY(-3px);border-color:#6b95c7;box-shadow:0 12px 28px #4878b31a}.content-factor:hover{transform:translateY(-3px);border-color:var(--green);box-shadow:0 10px 24px #16877417}.style-factor:hover{transform:translateY(-3px);border-color:var(--purple);box-shadow:0 10px 24px #8255b117}.motivation-takeaway:hover{border-color:#92a7ce;box-shadow:0 8px 20px #4068ba12}.insight-card:hover{transform:translateY(-4px);border-color:var(--insight-accent);box-shadow:0 14px 30px var(--insight-shadow)}}
@media(max-width:1250px){.motivation-grid{gap:18px;grid-template-columns:1fr 1fr}.motivation-question{padding:25px}.motivation-question h3{font-size:27px}.motivation-factor{padding:22px 20px;gap:13px}.insight-grid{gap:16px}.insight-card{padding:23px 20px}.insight-card h3{font-size:19px}.insight-card p{font-size:15px}}
@media(max-width:800px){.motivation-grid{grid-template-columns:1fr}.motivation-factors{grid-template-columns:1fr 1fr}.motivation-factor{flex-direction:column}.motivation-takeaway{align-items:flex-start;flex-direction:column;gap:5px}.insight-grid{grid-template-columns:1fr}.insight-card{padding:24px}.insight-card h3{font-size:20px;margin-bottom:9px}.insight-tag{margin-bottom:12px}.insight-card p{font-size:16px}}
@media(max-width:700px){.motivation-question{padding:25px 23px}.motivation-question h3{font-size:28px}.motivation-factors{grid-template-columns:1fr}.motivation-factor{flex-direction:row;gap:15px;padding:21px}.motivation-factor h3{font-size:18px}.factor-symbol{width:34px;height:34px}.factor-symbol svg{width:23px;height:23px}.motivation-takeaway{padding:18px 21px;font-size:14px}.insight-card{padding:23px}.citation-code{padding:20px;border-radius:14px}.citation-code,.citation-code code{font-size:14px;line-height:1.8}}
@media(max-width:380px){.motivation-question{padding:22px 19px}.motivation-question h3{font-size:25px}.motivation-factor{padding:19px 16px;gap:11px}.motivation-factor h3{font-size:16px}.insight-card{padding:21px 19px}.insight-card h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.motivation-question:hover,.motivation-factor:hover,.insight-card:hover{transform:none}}

/* White surfaces retain the green/blue/purple text and hover accents. */
.motivation-section,.insights-section,.motivation-question,.motivation-factor,.motivation-takeaway,.insight-card{background:#fff}
.motivation-section .factor-symbol{background:transparent}

/* Independent, initially closed research disclosures. */
.analysis-section{background:#fff}
.exploration-accordion{display:grid;gap:18px}
.exploration-item{border:1px solid #dce3ed;border-radius:10px;background:#fff;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}
.exploration-item summary{display:flex;align-items:center;gap:13px;list-style:none;min-height:65px;padding:15px 18px;background:#f6f8fb;cursor:pointer;user-select:none;transition:background .18s ease}
.exploration-item summary::-webkit-details-marker{display:none}
.exploration-item summary::marker{content:""}
.disclosure-triangle{width:0;height:0;border-style:solid;border-width:6px 0 6px 8px;border-color:transparent transparent transparent #536176;flex-shrink:0;transition:transform .18s ease}
.exploration-title{font-size:19px;font-weight:650;line-height:1.45;letter-spacing:-.3px;color:var(--ink)}
.disclosure-state{margin-left:auto;flex-shrink:0;min-width:57px;border:1px solid #d6deea;border-radius:999px;padding:4px 12px;background:#fff;text-align:center;color:#536176;font-size:14px;font-weight:550;line-height:1.5}
.state-open{display:none}
.exploration-item[open] .state-open{display:inline}
.exploration-item[open] .state-closed{display:none}
.exploration-item[open] .disclosure-triangle{transform:rotate(90deg)}
.exploration-item[open]{border-color:#b9cbe3}
.exploration-item[open] summary{border-bottom:1px solid #e2e8f1}
.exploration-item[open] .disclosure-state{border-color:#b9cbe3;color:var(--blue)}
.exploration-item summary:focus-visible{outline:3px solid #607bd1;outline-offset:-4px;border-radius:8px}
.exploration-body{padding:24px}
.exploration-body>p{font-size:16px;line-height:1.75;color:var(--muted);margin:0 0 20px}
.exploration-body .media-slot{min-height:290px}
.exploration-body .media-slot.has-image{min-height:0}
@media(hover:hover){.exploration-item:hover{border-color:#9cb6d8;box-shadow:0 4px 15px #4068ba0d}.exploration-item summary:hover{background:#f0f4fa}}
@media(max-width:700px){.exploration-accordion{gap:14px}.exploration-item summary{gap:10px;min-height:61px;padding:14px 12px}.exploration-title{font-size:16px;letter-spacing:-.2px}.disclosure-triangle{border-width:5px 0 5px 7px}.disclosure-state{font-size:12px;min-width:48px;padding:4px 9px}.exploration-body{padding:18px 14px}.exploration-body>p{font-size:15px;margin-bottom:17px}.exploration-body .media-slot{min-height:225px}}

/* Paper figures retain their native proportions and get room for fine details. */
.media-slot.has-image{padding:8px;border:1px solid #e2e8ef;border-radius:12px;background:#fff;box-shadow:0 3px 14px #233b5507}
.figure-button img{width:100%;height:auto;max-height:none;object-fit:contain}
.figure-button:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:4px}
.teaser-figure{width:100%;max-width:860px;margin:38px auto 0}
.qualitative-results .synthesis-figure{width:100%;max-width:900px;margin-inline:auto}
.figure-title{font-size:18px;font-weight:650;color:var(--ink);margin:0 0 14px}
.exploration-body .compact-figure{width:100%;max-width:820px;margin-inline:auto}
.exploration-body .media-slot.has-image{padding:5px;min-height:0;border-color:transparent;box-shadow:none;border-radius:6px}
.figure-dialog{padding-top:12px}
.figure-dialog-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:20px;margin-bottom:12px}
.figure-dialog-toolbar a{font-size:14px;color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.figure-dialog .close-lightbox{position:static;min-width:36px;min-height:36px}
@media(max-width:700px){.teaser-figure{margin-top:28px}.media-slot.has-image{padding:4px;border-radius:8px}.figure-title{font-size:17px;margin-bottom:11px}.exploration-body .media-slot.has-image{padding:0}.exploration-body{padding:18px 10px}.exploration-body>p{padding-inline:4px}.figure-dialog-toolbar{gap:16px}}

/* Three qualitative views share a compact, reference-inspired pill switcher. */
.qualitative-viewer{border:1px solid #e4e8ef;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 8px 26px #283d5d08}
.qualitative-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:18px 20px;background:#f8f9fb;border-bottom:1px solid #e4e8ef}
.qualitative-tabs [role="tab"]{min-height:44px;padding:10px 22px;border:0;border-radius:999px;background:#eaecef;color:#596575;font:inherit;font-size:15px;font-weight:600;line-height:1.45;cursor:pointer;transition:background .18s ease,box-shadow .18s ease,color .18s ease}
.qualitative-tabs [role="tab"][aria-selected="true"]{background:linear-gradient(110deg,#c5e5da 0%,#c9dcf4 48%,#e0d0f0 100%);color:#3c506f;box-shadow:0 3px 10px #526db51a,inset 0 0 0 1px #b8c9de}
.qualitative-tabs [role="tab"]:focus-visible{outline:3px solid #5879bd;outline-offset:3px}
.qualitative-panel{padding:26px 24px 24px}
.qualitative-panel[hidden]{display:none}
.qualitative-panel:focus-visible{outline:2px solid #9eb6da;outline-offset:-4px}
.qualitative-panel .figure-title{text-align:center;font-size:22px;margin-bottom:23px}
.qualitative-panel .media-slot.has-image{padding:0;border:0;border-radius:6px;box-shadow:none}
@media(hover:hover){.qualitative-tabs [role="tab"]:hover{background:#dfe5ed;color:#374b64}.qualitative-tabs [role="tab"][aria-selected="true"]:hover{background:linear-gradient(110deg,#b9ddd0 0%,#bfd3ef 48%,#d7c4e9 100%);color:#334966;box-shadow:0 4px 12px #526db524,inset 0 0 0 1px #aec1db}}
@media(max-width:700px){.qualitative-viewer{border-radius:14px}.qualitative-tabs{gap:8px;padding:13px 12px}.qualitative-tabs [role="tab"]{width:100%;max-width:340px;padding:9px 12px;font-size:14px}.qualitative-panel{padding:20px 10px 18px}.qualitative-panel .figure-title{font-size:19px;line-height:1.4;margin-bottom:17px}}

/* Keep the title gradient within the lettering for distinct green, blue and purple. */
.publication-title .project-name{display:inline-block;width:auto;white-space:nowrap;margin-inline:auto;font-weight:700;background-image:linear-gradient(110deg,#0b9d79 0%,#327fdb 48%,#9252cf 100%)}
/* A compact project directory above the paper title. */
.research-navigation{position:relative;z-index:35;display:flex;justify-content:center;padding:16px 20px 0}
.research-dropdown{position:relative}
.research-toggle{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 15px;border:0;border-radius:10px;background:transparent;color:var(--blue);font-size:17px;font-weight:500;line-height:1.4;transition:background .18s ease}
.research-emoji{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:24px;line-height:1}
.research-toggle svg{width:20px;height:20px;margin-left:3px;stroke-width:2.4;transition:transform .18s ease}
.research-toggle[aria-expanded="true"]{background:#f4f6fa}
.research-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.research-menu{position:absolute;top:calc(100% + 5px);left:50%;transform:translateX(-50%);width:238px;max-width:calc(100vw - 32px);padding:8px;border:1px solid #e4e8ef;border-top:3px solid #dce2ec;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 12px 32px #2534491a}
.research-menu a{display:block;padding:10px 14px;border-radius:7px;color:#4d5c70;font-size:16px;font-weight:600;line-height:1.5;text-decoration:none}
.research-menu a:hover,.research-menu a:focus-visible{background:linear-gradient(110deg,#eff8f4,#f0f4fc 50%,#f6f0fa);color:var(--blue)}
.research-menu a:focus-visible{outline:2px solid #8aa6d1;outline-offset:-2px}
.research-toggle:hover{background:#f4f6fa}
.publication-header .hero-body{padding-top:34px}
@media(max-width:700px){.research-navigation{padding-top:10px}.research-toggle{font-size:16px;padding:8px 12px;min-height:44px}.research-emoji{font-size:23px}.research-menu{width:220px}.research-menu a{padding:9px 12px}.publication-header .hero-body{padding-top:24px}}
