.cell-atlas-page{padding:36px 0 20px}.cell-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.cell-heading h1{font-size:30px;letter-spacing:-.8px;color:#283f63;margin:10px 0}.cell-heading p{color:#71809a;font-size:13px;margin:0}.cell-controls{display:grid;grid-template-columns:1.35fr 1.35fr 1fr 1fr;gap:16px;margin:0 0 20px}.cell-controls label{display:flex;flex-direction:column;gap:8px;color:#67758c;font-size:12px}.cell-controls select{width:100%;min-width:0;background:#fff;border:1px solid #dce4ef;border-radius:7px;padding:11px 12px;color:#354b6c}.cell-chart-panel{padding:22px!important;background:#fff}.cell-plot-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.cell-state{font-size:12px;color:#687c97;line-height:1.7;margin:0}.cell-tools{display:flex;gap:7px;flex-shrink:0}.cell-tools button{font-size:12px;padding:7px 11px;min-width:34px}.cell-plot{position:relative;height:clamp(390px,55vw,620px);width:100%;overflow:hidden;border:1px solid #e8edf4;border-radius:8px;background:#fbfcff}.cell-plot canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.cell-plot canvas:focus-visible{outline:2px solid #426aa5;outline-offset:-3px}.cell-tooltip{position:absolute;z-index:2;max-width:265px;pointer-events:none;padding:10px 12px;background:#263b56ee;color:#fff;font-size:11px;line-height:1.6;white-space:pre-line;border-radius:6px;box-shadow:0 4px 18px #182e5620}.cell-legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:18px;padding:0 12px;color:#53647d;font-size:12px}.cell-legend span{display:inline-flex;align-items:center;gap:7px}.cell-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}.cell-caption{font-size:12px;color:#7c899b;line-height:1.8;padding:14px 4px 0}.cell-caption p{margin:4px 0}.cell-caption a{display:inline-block;margin-top:5px}.cell-table-tools{display:flex;justify-content:flex-end;margin:16px 0}.cell-counts{padding:20px;background:#fff;border:1px solid #e2e8f1;border-radius:8px}.cell-counts summary{cursor:pointer;color:#415879;font-size:13px}.cell-counts table{margin-top:18px}.cell-home-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:28px 0;padding:24px 28px;border:1px solid #dae6ef;border-radius:12px;background:linear-gradient(110deg,#f0f5ff,#eff8f5);text-decoration:none}.cell-home-entry strong{display:block;font-size:18px;color:#354f77;margin-bottom:7px}.cell-home-entry span{font-size:12px;color:#73839a}.cell-home-entry em{font-size:13px;font-style:normal;color:#5276a5;white-space:nowrap}
@media(max-width:800px){.cell-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.cell-heading{align-items:flex-start}.cell-heading h1{font-size:25px}.cell-plot-heading{display:block}.cell-tools{margin-top:10px}.cell-chart-panel{padding:12px!important}.cell-legend{gap:10px 15px;padding:0 4px}.cell-home-entry{padding:20px}.cell-home-entry strong{font-size:15px}.cell-heading>.badge{font-size:10px}.cell-home-entry span{font-size:11px}}
@media(max-width:450px){.cell-heading>.badge{display:none}.cell-home-entry{align-items:flex-start;flex-direction:column;gap:12px}.cell-plot{height:390px}}

.expression-page{padding:34px 0}.expression-panel{margin-top:26px;padding:28px!important}.expression-panel h2{color:#334e75;font-size:23px;margin:10px 0 22px}.expression-search{display:flex;max-width:690px;gap:12px}.expression-search input{min-width:0;flex:1;padding:12px 15px;border:1px solid #d6e1ed;border-radius:7px;font-size:14px}.expression-method{font-size:12px;line-height:1.8;color:#738198;margin-top:18px}.expression-method summary{cursor:pointer}.expression-bar{width:90px;height:4px;background:#edf2f7;border-radius:4px;overflow:hidden;margin:3px 0 7px}.expression-bar span{display:block;height:100%;background:#6e9fb7}.expression-table td{font-variant-numeric:tabular-nums}.expression-table th{white-space:nowrap}@media(max-width:600px){.expression-panel{padding:16px!important}.expression-search{gap:7px}.expression-search .button{font-size:12px;padding:10px}.expression-search input{font-size:12px;padding:10px}.expression-table{min-width:740px}}

.expression-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 26px}.expression-tabs button[aria-pressed=true]{background:#456a9b;color:white;border-color:#456a9b}.expression-selectors{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}.expression-dataset-note{font-size:12px;line-height:1.7;color:#708098;margin:20px 0}.expression-group-definitions{padding:12px 18px;background:#f3f7fb;border-radius:8px;margin:20px 0;font-size:12px;color:#63748b}.expression-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.expression-group-chart{padding:18px;border:1px solid #e0e8f0;border-radius:9px;background:#fcfdff}.expression-group-chart h3{font-size:16px;color:#39557b;margin:0 0 17px}.expression-comparison-row{display:grid;grid-template-columns:110px minmax(0,1fr) 45px;align-items:center;gap:12px;margin:16px 0;font-size:12px}.expression-comparison-row strong{overflow-wrap:anywhere}.expression-comparison-track{position:relative;height:21px;background:#edf2f7;border-radius:4px}.expression-mean-bar{position:absolute;left:0;top:0;height:100%;opacity:.35;border-radius:4px}.expression-sample-dot{position:absolute;width:8px;height:8px;border-radius:50%;border:1px solid white;transform:translateX(-50%)}.cell-table-tools{gap:10px;flex-wrap:wrap}@media(max-width:850px){.expression-chart-grid{grid-template-columns:1fr}.expression-selectors{grid-template-columns:1fr 1fr}.expression-selectors label:first-child{grid-column:1/-1}}

.expression-celltype-row{margin:0 0 18px;max-width:360px}.expression-celltype-row[hidden]{display:none!important}.expression-celltype-row label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#67758c}.expression-celltype-row select{padding:10px;border:1px solid #dce4ef;border-radius:7px;background:white}.expression-spatial-map svg{width:100%;max-height:600px;background:#fcfdff}

.atlas-v2{padding-top:30px}.atlas-v2 .cell-heading{margin-bottom:25px}.atlas-v2 .cell-heading h1{font-size:31px}.atlas-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}.atlas-settings{border:1px solid #dfe7ee;border-radius:12px;background:#fff;padding:22px;display:flex;flex-direction:column;gap:15px}.atlas-settings label,.atlas-de-controls label,.atlas-dot-controls label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:500;color:#6b7c8e;min-width:0}.atlas-v2 select{border:1px solid #dce5eb;border-radius:6px;background:#fff;color:#354c63;font-size:12px;padding:10px;width:100%;min-width:0}.atlas-v2 select:focus{outline:2px solid #82b1bf;outline-offset:1px}.atlas-settings-title{font-size:13px;font-weight:650;color:#3d5369;letter-spacing:.04em}.atlas-pair-select{display:grid;grid-template-columns:1fr;gap:12px}.atlas-control-divider{height:1px;background:#edf1f5;margin:3px 0}.atlas-small{font-size:11px;color:#7b8b9b;line-height:1.85;margin:4px 0}.atlas-settings .button{width:100%;font-size:12px}.atlas-workspace{padding:23px!important;min-width:0;border-radius:12px!important}.atlas-comparison-heading,.atlas-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.atlas-comparison-heading h2{font-size:23px;color:#29475b;font-weight:650;margin:9px 0 18px}.atlas-comparison-heading .badge{font-size:10px;padding:6px 9px;white-space:nowrap}.atlas-cohort-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}.atlas-cohort-stats>div{border:1px solid #e6edf1;border-left:3px solid #6da8b0;background:#f6fafb;border-radius:6px;padding:12px 15px;display:flex;flex-direction:column;gap:5px}.atlas-cohort-stats>div:nth-child(2){border-left-color:#d3a26f;background:#fcfaf6}.atlas-cohort-stats span{font-size:11px;color:#7b8d98}.atlas-cohort-stats strong{font-size:18px;font-weight:550;color:#3c566a}.atlas-cohort-stats small{font-size:11px;color:#81909b}.atlas-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px}.atlas-presets .button{font-size:10px;padding:6px 9px;background:#fff;color:#6a7b8d;border-color:#e4eaee;box-shadow:none}.atlas-v2 .cell-state{font-size:11px;min-height:21px}.atlas-v2 .cell-tools button{padding:5px 8px;font-size:10px;min-width:28px}.atlas-facet-plot{border:0!important;background:#fff!important;min-height:300px;height:460px}.atlas-v2 .cell-legend{gap:9px 17px;margin:15px 0;padding:0;font-size:11px}.atlas-v2 .cell-legend i{width:8px;height:8px}.atlas-v2 .cell-table-tools{margin-top:14px;margin-bottom:0}.atlas-v2 .cell-table-tools .button{font-size:11px;padding:8px 12px}.atlas-v2 .cell-tooltip{z-index:3}.atlas-de-panel{margin-top:25px;padding:26px!important;border-radius:12px!important}.atlas-section-heading{margin-bottom:22px}.atlas-section-heading h2{font-size:22px;color:#29475b;margin:8px 0 0}.atlas-unit-badge{color:#5b827d;font-size:11px;padding:7px 10px;background:#eef6f3;border-radius:5px;white-space:nowrap}.atlas-de-controls{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr auto;gap:12px;align-items:end}.atlas-de-controls>.button{font-size:11px;padding:11px 13px;white-space:nowrap}.atlas-analysis-state{font-size:12px;color:#61798d;line-height:1.9;background:#f5f8fb;border-radius:7px;padding:13px 16px;margin:20px 0}.atlas-dot-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:880px;margin:22px 0 18px}.atlas-dotplot{overflow-x:auto;padding:18px 4px 4px;min-height:170px;border:1px solid #e8edf2;border-radius:8px;background:#fff}.atlas-dotplot svg{display:block;width:100%;min-width:600px;max-height:none;height:auto}.atlas-empty{padding:60px 20px;text-align:center;font-size:13px;color:#8a98a5}.atlas-de-table{margin-top:19px}.atlas-de-table table{width:100%;font-size:12px}.atlas-de-table th{font-size:11px;white-space:nowrap}.atlas-de-table td{font-variant-numeric:tabular-nums}.atlas-up{color:#b56358}.atlas-down{color:#4c82a8}.atlas-methods{font-size:11px;color:#7a8a9a;line-height:1.9;margin-top:23px;border-top:1px solid #e7edf2;padding-top:18px}.atlas-methods summary{font-size:12px;color:#576f83;cursor:pointer}.atlas-methods p{max-width:1000px}.atlas-v2 .eyebrow{font-size:10px;letter-spacing:.13em}.atlas-v2 [hidden]{display:none!important}
@media(max-width:1100px){.atlas-layout{grid-template-columns:210px minmax(0,1fr);gap:15px}.atlas-settings{padding:17px}.atlas-workspace{padding:17px!important}.atlas-comparison-heading{align-items:flex-start}.atlas-comparison-heading .badge{display:none}.atlas-de-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.atlas-de-controls>.button{padding:10px}.atlas-v2 .cell-plot-heading{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:750px){.atlas-layout{grid-template-columns:1fr}.atlas-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.atlas-settings-title,.atlas-control-divider,.atlas-settings>.atlas-small{grid-column:1/-1}.atlas-pair-select{grid-template-columns:1fr 1fr;grid-column:1/-1}.atlas-settings>.button{align-self:end}.atlas-v2 .cell-heading h1{font-size:26px}.atlas-workspace{padding:14px!important}.atlas-dot-controls{grid-template-columns:1fr 1fr}.atlas-de-panel{padding:17px!important}.atlas-de-controls{grid-template-columns:1fr 1fr}.atlas-section-heading h2{font-size:19px}.atlas-unit-badge{font-size:10px}.atlas-v2 .cell-plot-heading{display:flex}.atlas-dotplot svg{width:auto;max-width:none;height:auto}}

.custom-gene-query{display:grid;grid-template-columns:minmax(260px,2fr) minmax(170px,1.2fr) minmax(160px,1.1fr) auto;gap:14px;align-items:end}.custom-gene-query label,.custom-gene-trend-heading label{display:flex;flex-direction:column;gap:7px;color:#6b7c8e;font-size:11px}.custom-gene-query textarea{min-height:65px;border:1px solid #dce5eb;border-radius:6px;resize:vertical;padding:11px 12px;color:#354c63;background:white;font:12px/1.6 system-ui;width:100%;box-sizing:border-box}.custom-gene-query textarea:focus{outline:2px solid #82b1bf;outline-offset:1px}.custom-gene-query>.button{font-size:11px;white-space:nowrap;padding:11px 13px}.custom-gene-panel h3{font-size:15px;font-weight:600;color:#405b72;margin:25px 0 15px}.custom-gene-trend-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:22px 0 15px}.custom-gene-trend-heading h3{margin:0}.custom-gene-trend-heading label{width:260px;max-width:50%}.custom-gene-chart{border:1px solid #e7edf2;border-radius:8px;overflow-x:auto;padding:14px 5px;background:white;min-height:180px}.custom-gene-chart svg{display:block;min-width:760px;width:100%;height:auto}.custom-gene-missing{font-size:12px;color:#a07139;line-height:1.8;margin:12px 0}.custom-gene-missing:empty{display:none}.custom-gene-dotplot svg{max-width:1100px;width:100%;min-width:650px;height:auto}.custom-gene-panel .atlas-dot-controls{grid-template-columns:repeat(3,minmax(0,1fr));max-width:700px}@media(max-width:1050px){.custom-gene-query{grid-template-columns:1fr 1fr}.custom-gene-query>label:first-child{grid-column:1/-1}.custom-gene-query>.button{grid-column:1/-1;justify-self:start}}@media(max-width:650px){.custom-gene-query{grid-template-columns:1fr}.custom-gene-query>label:first-child{grid-column:auto}.custom-gene-trend-heading{display:block}.custom-gene-trend-heading label{width:100%;max-width:100%;margin-top:12px}.custom-gene-panel .atlas-dot-controls{grid-template-columns:1fr 1fr}}
