/* Bounded result tables and readable source summaries. */
.wf-scroll,.gw-cohort-scroll,.sm-scroll,.cs-context-scroll{max-height:26rem;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #dbe4ec;border-radius:7px}
.wf-scroll:focus-visible,.gw-cohort-scroll:focus-visible,.sm-scroll:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.wf-scroll thead th,.gw-cohort-scroll thead th,.sm-scroll thead th,.cs-context-scroll thead th{position:sticky;top:0;z-index:1;background:#f1f5f9}
#wf-studies table{min-width:850px;table-layout:fixed}
#wf-studies th:nth-child(1){width:5%}
#wf-studies th:nth-child(2){width:28%}
#wf-studies th:nth-child(3){width:31%}
#wf-studies th:nth-child(4){width:10%}
#wf-studies th:nth-child(5){width:11%}
#wf-studies th:nth-child(6){width:15%}
#wf-studies td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}
#wf-genes table,#wf-relation-table table{min-width:850px}
#wf-members table,.sm-scroll table{min-width:620px}
#wf-union-region{width:100%;max-width:55rem}
.wf-supporting-details{display:flex;flex-wrap:wrap;gap:.65rem 1.5rem;margin-top:1rem;align-items:flex-start}
.wf-supporting-details details{font-size:.87rem;min-width:0;max-width:100%}
.wf-supporting-details details[open]{width:100%;flex-basis:100%}
.wf-supporting-details summary{cursor:pointer;color:#155b91}
.gw-cohort-results{margin:1.4rem 0}
.gw-cohort-results h3{font-size:1.05rem;color:#154a75;margin:0 0 .6rem}
.gw-cohort-scroll{max-height:24rem}
.gw-cohort-scroll .gw-ctbl{min-width:850px;margin:0}
.gw-cohort-scroll .gw-ctbl td:first-child{min-width:16rem;max-width:27rem;white-space:normal}
.cs-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.7rem;margin:1rem 0}
.cs-metric-grid>div{padding:.8rem;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px}
.cs-metric-grid strong{display:block;font-size:1.35rem;font-variant-numeric:tabular-nums;color:#155b91;line-height:1.3}
.cs-metric-grid span{display:block;font-size:.8rem;line-height:1.4;margin-top:.35rem;color:#334155}
.cs-metric{color:#155b91;font-weight:650;font-variant-numeric:tabular-nums}
.cs-context-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.cs-context-columns h3,.cs-legacy-labels summary{font-size:.88rem;margin:.6rem 0}
.cs-context-scroll .cs-tbl{margin:0;width:100%}
.cs-legacy-labels{margin:.8rem 0}
.cs-legacy-labels summary{cursor:pointer;color:#155b91}
@media(max-width:760px){.cs-context-columns{grid-template-columns:1fr}.wf-scroll,.gw-cohort-scroll,.sm-scroll{max-height:22rem}.wf-supporting-details{display:block}.wf-supporting-details details{margin:.6rem 0}}
