/* Build 048: compact RTD laboratory lives inside the Flow drawer. */
.residence-lab{margin:12px 0;padding:12px;border:1px solid rgba(95,169,212,.25);border-radius:10px;background:rgba(5,20,34,.54);min-width:0}
.residence-lab h4{margin:0 0 6px;color:#c4e8f7;font-size:11px;letter-spacing:.11em}
.residence-lab p{font-size:11px;line-height:1.5;color:#9bb6ca;margin:6px 0}
.residence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.residence-grid div{padding:6px 7px;border-radius:6px;background:rgba(90,165,213,.08);min-width:0}
.residence-grid span{display:block;color:#a8bfce;font-size:10px}
.residence-grid b{display:block;color:#e3f6ff;font-size:13px;overflow-wrap:anywhere}
#residence-chart{display:block;width:100%;height:146px;margin-top:10px}
.residence-key{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#b8cbd8}
.residence-key i{display:inline-block;width:9px;height:9px;margin-right:4px;border-radius:2px;background:#57bde9}
.residence-key .exit{background:#ffba79}
#residence-cohorts{overflow-wrap:anywhere}
#residence-export{margin-top:8px;width:100%;min-height:34px}
@media(max-width:390px){.residence-lab{padding:8px}.residence-grid b{font-size:12px}}
