.study-grid {display:grid;grid-template-columns:1.15fr 1fr;gap:16px}
.panel {padding:18px;margin-bottom:16px}
.panel p {margin:8px 0}
.panel summary {font-weight:650;cursor:pointer}
.panel dl>div {display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:5px 0;font-size:14px}
.panel dd {font-weight:650}
#bars {margin:16px 0}
.bar-row {display:grid;grid-template-columns:105px 1fr 68px;align-items:center;gap:8px;margin:9px 0;font-size:13px}
.bar-row strong {text-align:right}
.bar-track {height:12px;background:#edf2ed;border-radius:3px}
.bar-track i {background:#43886b;height:100%;display:block;border-radius:3px}
.bar-track i.loss {background:#b46759}
.study-filters {display:flex;align-items:end;gap:10px;margin:12px 0}
.study-filters label {flex:1}
#ranking :is(td,th),#holdings :is(td,th) {font-size:12px;padding:7px 10px}
#ranking td:nth-child(2),#ranking th:nth-child(2) {text-align:left}
#ranking summary {white-space:normal;min-width:150px}
#ranking details p {white-space:normal;max-width:40ch;color:var(--muted)}
#ranking.signal-only .outcome {display:none}
#matches {font-size:12px;color:var(--muted)}
@media(max-width:750px){.study-grid{grid-template-columns:1fr;gap:0}.study-filters{flex-wrap:wrap}.study-filters label:first-child{flex:1 0 100%}.panel{padding:12px}}
.scroll:has(#ranking) {max-height:65vh;overflow:auto}
#ranking thead th {position:sticky;top:0;z-index:1;background:#f6f8f5}
