/* Fit content to the existing two-pane layout; never hide clipped content. */
.app,.detail,.inner,.doblk,.doblk>div,.doblk .tx,.scriptcard,.scriptbody,.sitbar,.asset,.assetgrid,.assetcol,.nexts,.nextbtn,.srow .tx{min-width:0;max-width:100%;box-sizing:border-box}
.scriptbody,.doblk .tx,.sitbar,.rcard,.proofcap,.acap,.nextbtn,.staff-ref{overflow-wrap:anywhere}
.assetgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.assetcol img,.proofimg{max-width:100%;height:auto}
.dt-fork>div,.bkt-grid>div{min-width:0}
.pay-w,.ans-tbl-w{max-width:100%;overflow-x:auto}
.pay-t{table-layout:fixed;word-wrap:break-word}
.staff-ref{color:#006ddc;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.script-reference,.asset-status,.portfolio-shortlist{padding:18px 20px;margin:18px 0;border:1px solid #dbe2ea;border-radius:14px;background:#f8fafc;font-size:16px;line-height:1.6}
.script-reference p,.asset-status p{margin:8px 0 0}
.script-reference a,.asset-status a,.portfolio-shortlist a{color:#006ddc}
.portfolio-shortlist ul{padding-left:20px;margin-bottom:0}
.search-summary{padding:12px 16px;color:#536178;font-size:14px;line-height:1.5}
.search-result{width:100%;text-align:left}
.search-excerpt{font-size:14px;line-height:1.45;color:#526078;margin-top:7px;overflow-wrap:anywhere}
.search-result .tt{line-height:1.45}
.srow.active .tt{font-weight:800}
.message-hit{outline:3px solid #0781ff;outline-offset:4px;scroll-margin:30px}
@media(max-width:860px){.assetgrid{grid-template-columns:minmax(0,1fr)}.pay-t td,.pay-t th{padding:9px 7px}.inner{width:100%}.search-excerpt{max-width:100%}}
