:root{--ink:#202124;--muted:#667078;--line:#dde1e5;--teal:#316a91;--red:#cd5c5c;--pale:#f6f7f8;--header:#253742}
.site-header{background:#fff;color:#40464c;border-bottom:1px solid var(--line)}
.brand{color:#242d35}.brand-mark{background:#cd5c5c}.nav.active{color:#222;border-color:#cd5c5c;background:#f7f7f7}.nav:hover{background:#f4f5f6}.local-badge{color:#647078}.local-badge span{background:#5f9ea0}
.segmented button.active{background:#eaf0f5;color:#2c6389}.gene-chips button{background:#edf2f6}.gene-chips button:hover{background:#dfe9f1}
.plot-heading b{font-size:16px;color:#111}.plot-heading span{color:#73777c}.plot-tabs button.active{border-color:#cd5c5c;color:#9e3540}
.plot-shell{margin:0 auto}.legend-panel{padding-top:14px}#legend{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));max-height:240px}.legend-item{font-size:12px;color:#222}.legend-item span.name{white-space:normal;overflow-wrap:anywhere;line-height:1.25}.swatch{width:10px;height:10px;border-radius:50%}
#dotSizeLegend{display:flex;align-items:center;justify-content:center;gap:15px;min-height:40px;font-size:11px;color:#222;flex-wrap:wrap;margin:3px 0 12px}#dotSizeLegend[hidden]{display:none}.size-key{display:inline-flex;align-items:center;gap:5px}.size-key i{display:inline-block;border:1px solid #555;border-radius:50%;background:#fff}
.plot-shell .annotation-text{paint-order:stroke;stroke:#fff;stroke-width:2.5px;stroke-linejoin:round}.plot-shell .annotation-text tspan{stroke:none}
.figure-viewport{width:100%;min-width:0;overflow-x:auto;overflow-y:hidden}
@media(max-width:720px){.plot-heading{align-items:flex-start}.plot-heading>div:first-child{min-width:0}.plot-heading b{font-size:14px}.plot-heading span{display:block;overflow-wrap:anywhere}.plot-actions{gap:0}#legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.legend-item{font-size:10px}.legend-item em{font-size:9px}#dotSizeLegend{gap:9px}}
