.research-layout{max-width:1400px;margin:auto;padding:28px 24px 48px;color:#dceaf2}.research-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.research-intro p,#reportMeta,#researchStatus,#pdfStatus{color:#8ea8b8;font-size:12px;line-height:1.7}.research-intro form{display:flex;gap:8px}.research-layout input,.research-layout button,.research-download{border:1px solid #304957;background:#14252f;color:#dceaf2;border-radius:7px;padding:10px 14px;font-size:12px}.research-layout input{min-width:0}.research-list-head{display:grid;grid-template-columns:1fr 120px;padding:12px 22px;font-size:11px;color:#8da9b7;border-top:1px solid #36515d;border-bottom:1px solid #293e49}.research-list-head span:last-child{text-align:right}.report-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;align-items:center;gap:20px;padding:23px 22px;border-bottom:1px solid #293e49;text-decoration:none;color:#e0ecf3}.report-row:hover{background:#142830}.report-row strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}.report-row time{text-align:right;font-size:12px;color:#8da9b7}.report-row .pdf-tag{font-size:9px;letter-spacing:1px;color:#72d4b6;border:1px solid #376053;border-radius:4px;padding:3px 5px;margin-right:12px}.research-layout a:focus-visible,.research-layout button:focus-visible{outline:2px solid #79dfbd;outline-offset:3px}#researchMore{display:block;width:100%;margin:20px auto;background:#182735}#researchMore[hidden],[hidden]{display:none!important}.report-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:22px 0}.report-heading h2{font-size:22px;overflow-wrap:anywhere}.research-download{white-space:nowrap;text-decoration:none;background:#214a3f;color:#bbf2dd}.pdf-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;position:sticky;top:0;background:#0d1922eF;padding:10px;z-index:2}.page-control{display:flex;align-items:center;gap:8px;font-size:12px;flex-direction:row}.page-control input{width:65px}#pdfSurface{overflow:auto;background:#172832;padding:16px;min-height:200px;max-height:85vh;text-align:center}#pdfCanvas{background:white;display:block;margin:auto}.pdf-text{margin:14px 0;border:1px solid #29424e;padding:14px;border-radius:8px;font-size:12px}.pdf-text>div{white-space:pre-wrap;line-height:1.8;margin-top:14px}.research-empty{padding:65px 20px;text-align:center;color:#91a9b7;border-bottom:1px solid #29424e}.research-layout footer{margin-top:45px}#researchBack{font-size:12px;color:#8ad7c1}.research-layout button:disabled{opacity:.4;cursor:default}
@media(max-width:720px), (hover:none) and (pointer:coarse) and (max-height:600px){.research-layout{padding:0 12px 30px}.research-intro{display:block}.research-intro form{margin-top:18px}.research-intro input{flex:1;width:100%}.research-list-head{display:none}.report-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:16px;margin:10px 0;border:1px solid #293e49;border-radius:9px;background:#101e28}.report-row strong{font-size:14px;line-height:1.6}.report-row time{text-align:left;font-size:11px}.report-row .pdf-tag{display:none}.report-heading{display:block}.report-heading h2{font-size:20px;line-height:1.5}.research-download{display:inline-block;margin-top:8px}.pdf-controls{gap:5px;padding:8px 0}.pdf-controls button{padding:8px 10px}.page-control input{width:52px;padding:8px}#pdfSurface{padding:6px}}

/* Reading stage keeps page navigation beside the document. */
.pdf-controls{justify-content:center;border:1px solid #29424e;border-radius:12px;position:static;margin-bottom:8px;background:#101e28}
#pdfStatus{text-align:center;margin:8px 0}
.pdf-stage{position:relative;padding:0 68px;background:#091219;border:1px solid #263c48;border-radius:14px;overflow:hidden}
#pdfSurface{height:75vh;height:75dvh;max-height:none;min-height:280px;padding:12px;background:#091219;overscroll-behavior:contain;touch-action:pan-y pinch-zoom}
#pdfSurface.is-zoomed{touch-action:pan-x pan-y pinch-zoom}
#pdfCanvas{box-shadow:0 8px 30px #0006}
.research-layout .pdf-side{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:46px;height:64px;padding:0;border-radius:24px;font-size:36px;line-height:1;background:#1a303c;border-color:#385565;cursor:pointer;transition:background .15s}
.pdf-side:hover:not(:disabled){background:#285648}.pdf-side-prev{left:10px}.pdf-side-next{right:10px}
.pdf-gesture-hint{display:none}
@media(max-width:720px), (hover:none) and (pointer:coarse) and (max-height:600px){.pdf-stage{padding:0 0 54px;border-radius:10px}#pdfSurface{height:auto;min-height:180px;max-height:78vh;padding:12px}.research-layout .pdf-side{top:auto;bottom:6px;transform:none;width:64px;height:42px;font-size:29px;border-radius:9px}.pdf-side-prev{left:calc(50% - 72px)}.pdf-side-next{right:calc(50% - 72px)}.pdf-gesture-hint{display:block;text-align:center;color:#8ea8b8;font-size:11px;margin:12px 0}.pdf-controls{padding:8px;gap:6px}.pdf-controls button{min-height:40px}#pdfSurface:focus-visible{outline:2px solid #79dfbd;outline-offset:-2px}}

/* Compact document toolbar and desktop continuous reading. */
.report-heading{margin:12px 0 10px;display:block}.report-heading h2{font-size:15px;line-height:1.5;margin:0;font-weight:600}#reportMeta{font-size:11px;margin:6px 0 0}
.pdf-controls{gap:6px;padding:7px;margin:10px 0 6px}.pdf-controls button,.pdf-controls .research-download{width:36px;height:36px;padding:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;margin:0;box-sizing:border-box}.pdf-controls svg{width:20px;height:20px;flex-shrink:0}.pdf-controls .page-control input{padding:7px;width:56px;height:36px;box-sizing:border-box}.pdf-controls .research-download{margin-left:8px;background:#214a3f}.pdf-stage{padding:0}#pdfSurface{position:relative;height:75vh;height:75dvh;scroll-behavior:auto;overflow:auto}.pdf-page{display:block;background:white;box-shadow:0 4px 18px #0005;margin:0 auto 16px;max-width:none}.pdf-page:last-child{margin-bottom:0}#pdfStatus{font-size:11px;margin:4px 0 6px}
@media(max-width:720px), (hover:none) and (pointer:coarse) and (max-height:600px){.report-heading h2{font-size:13px;line-height:1.5}.report-heading{margin:10px 0 8px}.pdf-stage{padding:0}#pdfSurface{height:auto;max-height:78vh}.pdf-controls{flex-wrap:nowrap;gap:5px}.pdf-controls button,.pdf-controls .research-download{width:36px;height:36px;min-height:36px}.pdf-controls .research-download{margin-left:2px}.pdf-gesture-hint{font-size:10px;margin:8px 0}.pdf-page{margin-bottom:0}}

@media(min-width:721px) and (hover:hover), (min-width:721px) and (min-height:601px){main.research-layout{max-width:2100px;padding:0}.research-layout>.map-workspace{padding:24px 28px 48px}}

#nativePdfReader{display:block;width:100%;height:calc(100dvh - 90px);min-height:500px;border:1px solid #293e49;margin-top:12px;background:#282828}
@media(min-width:721px) and (hover:hover), (min-width:721px) and (min-height:601px){body.reading-report .research-layout>.map-workspace>.map-page-title,body.reading-report .research-layout>.map-workspace>.heading,body.reading-report .report-heading,body.reading-report .pdf-controls,body.reading-report .pdf-stage,body.reading-report .pdf-gesture-hint{display:none}body.reading-report #researchBack{display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #304957;border-radius:7px;background:#14252f}body.reading-report .research-layout>.map-workspace{padding-top:16px}}
@media(max-width:720px), (hover:none) and (pointer:coarse) and (max-height:600px){#nativePdfReader{display:none}}

@media(max-width:720px), (hover:none) and (pointer:coarse) and (max-height:600px){#pdfSurface{height:72vh;height:72svh;max-height:none;overflow:auto;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;overscroll-behavior-y:auto}.pdf-page{margin-bottom:18px;box-shadow:0 4px 14px #0005}.pdf-page:last-child{margin-bottom:0}}

/* Keep the phone shell when rotating a touch device into landscape. */
@media(min-width:721px) and (hover:none) and (pointer:coarse) and (max-height:600px){
 header{display:flex!important;position:relative;height:64px!important;min-height:64px!important;padding:8px 12px!important;align-items:center;justify-content:center;gap:0!important}
 header .brand{margin:0!important}header .header-actions,header .header-notice,header .brand small{display:none!important}
 #mapMenuOpen{display:block!important;position:absolute;left:12px;top:10px;width:44px;height:44px;padding:0;font-size:24px;line-height:1}
 .source-switch{display:none!important}.map-logo{width:170px;height:41px}.map-logo img{width:226.5px;height:113.25px;left:-28.1px;top:-35.7px}
 main.research-layout{display:block!important;padding:0 12px 20px!important;max-width:100%}.research-layout>.map-workspace{padding:0!important;min-width:0}.research-layout>.ad-rail{display:none!important}
 .research-layout .map-page-title{font-size:18px;line-height:24px;padding:16px 0;margin:0 0 16px;min-height:58px}
 #mapMenu{max-height:90dvh;overflow:auto}.pdf-controls{margin:6px 0;padding:5px}#pdfSurface{height:68svh;min-height:140px}.report-heading{margin:8px 0}.report-heading h2{font-size:13px}
}
