@import"https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,sans-serif;color:#182335;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:360px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.53}.app-shell{min-height:100vh}.topbar{height:68px;padding:0 30px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #e5e9ee;background:#fffffff2;position:sticky;top:0;z-index:10}.brand-mark{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;background:#20344f}.brand{display:grid;gap:1px;min-width:240px}.brand strong{font:700 14px Manrope,sans-serif;letter-spacing:-.2px}.brand span{color:#8993a2;font-size:10px;letter-spacing:.07em;text-transform:uppercase}.server-indicator{margin-left:auto;display:flex;gap:8px;align-items:center;color:#778293;font-size:12px}.server-indicator i,.online-dot{width:8px;height:8px;background:#33a783;border-radius:50%;box-shadow:0 0 0 3px #e4f4ee}.server-indicator.offline i{background:#db7a73;box-shadow:0 0 0 3px #fae9e7}.server-indicator.busy i{background:#d58824;box-shadow:0 0 0 3px #fff0d7;animation:busy-pulse 1.4s ease-in-out infinite}.processing-notice{position:fixed;z-index:25;top:82px;right:22px;width:min(370px,calc(100vw - 32px));padding:15px 17px;display:flex;align-items:flex-start;gap:12px;border:1px solid #c18a38;border-radius:12px;color:#f5f7fb;background:linear-gradient(135deg,#1a2c45,#263a58);box-shadow:0 14px 38px #10233a55,0 0 0 3px #edae4c26;animation:notice-arrive .24s ease-out,notice-glow 2s ease-in-out infinite}.processing-notice-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid #efbc6880;border-radius:10px;color:#ffd18a;background:#f2a93520}.processing-notice-body{min-width:0;flex:1}.processing-notice-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.processing-notice-heading strong{color:#fff;font:700 12px Manrope,sans-serif;letter-spacing:.01em}.processing-notice-heading span{color:#ffd18a;font:600 11px DM Mono,monospace}.processing-notice p{margin:5px 0 9px;overflow:hidden;color:#d7e0ed;font-size:10px;line-height:1.5;text-overflow:ellipsis}.processing-notice-track{height:5px;overflow:hidden;border-radius:6px;background:#0f1c2d}.processing-notice-track span{position:relative;display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#edae4c,#ffe0a1);transition:width .3s ease}.processing-notice-track span.indeterminate{width:36%!important;animation:progress-sweep 1.35s ease-in-out infinite alternate}.processing-notice small{display:block;margin-top:7px;color:#aebdd0;font:9px DM Mono,monospace;text-transform:capitalize}@keyframes busy-pulse{50%{box-shadow:0 0 0 6px #fff0d755}}@keyframes notice-arrive{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes notice-glow{50%{box-shadow:0 14px 38px #10233a55,0 0 0 5px #edae4c18}}@keyframes progress-sweep{0%{transform:translate(-8%)}to{transform:translate(190%)}}.connection-pill{display:flex;align-items:center;gap:7px;margin-left:10px;padding:4px 7px 4px 11px;border:1px solid #e5e9ee;border-radius:20px;color:#748093;font:11px DM Mono,monospace}.button{border:1px solid transparent;border-radius:7px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:600;transition:background .15s ease,border .15s ease;white-space:nowrap}.button-primary{color:#fff;background:#3169b5;box-shadow:0 2px 4px #173b691a}.button-primary:hover:not(:disabled){background:#245caa}.button-dark{color:#fff;background:#21364f}.button-dark:hover:not(:disabled){background:#2e4967}.button-outline{color:#314158;background:#fff;border-color:#dce2e9}.button-outline:hover:not(:disabled),.button-quiet:hover:not(:disabled){background:#f3f6f9;border-color:#c6d0dd}.button-quiet{color:#4f5c6e;background:transparent;border-color:#e4e8ed}.button-small{padding:6px 9px;font-size:11px}.full-button{width:100%}.icon-button{width:28px;height:28px;border:0;background:transparent;border-radius:5px;color:#8b95a3;display:inline-grid;place-items:center;font-size:18px}.icon-button:hover{color:#253850;background:#edf1f5}.workspace{width:min(1600px,100%);margin:0 auto;padding:20px 26px 45px}.connect-screen{min-height:calc(100vh - 110px);display:grid;place-items:center}.connect-card{width:min(780px,100%);padding:46px 52px 38px;border:1px solid #e5e9ee;border-radius:14px;background:#fff;box-shadow:0 16px 50px #192e4710}.eyebrow{color:#748398;font:500 9px DM Mono,monospace;letter-spacing:.13em;text-transform:uppercase}.connect-card h1{margin:12px 0 13px;font:700 clamp(26px,4vw,38px)/1.18 Manrope,sans-serif;letter-spacing:-1.4px}.connect-card h1 em{color:#477ebd;font-style:normal}.connect-card>p{max-width:600px;margin:0 0 29px;color:#728095;font-size:13px;line-height:1.7}.connect-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px;align-items:end}.connect-fields label,.dataset-paths label,.settings-section label{display:grid;gap:6px;color:#526073;font-size:10px;font-weight:600}.connect-fields label span{display:flex;gap:8px;align-items:center}.connect-fields small{color:#8995a4;font-size:9px;font-weight:400}.connect-fields input,.dataset-paths input,.settings-section input,.settings-section select,.field-label select,.field-label textarea,.plot-controls select,.subcluster-toolbar select,.result-controls select,.search-input{width:100%;min-width:0;padding:9px 10px;border:1px solid #dfe4ea;border-radius:6px;outline:none;color:#26374c;background:#fff;font-size:11px}input:focus,select:focus,textarea:focus{border-color:#8caed4!important;box-shadow:0 0 0 3px #eaf2fa}.connect-button{min-width:104px;height:36px}.connect-foot{margin-top:20px;display:flex;align-items:center;gap:8px;color:#8490a0;font-size:10px}.connection-help{margin-top:23px;padding-top:14px;border-top:1px solid #edf0f4;color:#7d8998;font-size:11px}.connection-help summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none}.connection-help p{max-width:620px;line-height:1.65}code{padding:2px 4px;border-radius:3px;color:#314d70;background:#f0f4f8;font:10px DM Mono,monospace}.panel{border:1px solid #e4e9ee;border-radius:9px;background:#fff;box-shadow:0 2px 7px #22334a05}.connection-strip{min-height:36px;margin:0 0 12px;padding:8px 12px;display:flex;gap:18px;align-items:center;border-radius:6px;color:#6f7d8f;background:#edf6f2;font-size:10px}.connection-status,.busy-status{display:flex;align-items:center;gap:8px}.connection-status strong{color:#3c755f;font-size:10px}.online-dot{width:6px;height:6px;box-shadow:none}.muted{color:#9aa4b1}.busy-status{margin-left:auto;color:#667487}.busy-status svg{color:#5587bd}.busy-track{width:100px;height:4px;overflow:hidden;border-radius:3px;background:#d9e9e2}.busy-track span,.loading-track i{display:block;height:100%;border-radius:inherit;background:#4b9a7b;transition:width .25s ease}.dataset-bar{margin-bottom:13px;padding:13px 15px;display:grid;grid-template-columns:220px 1fr auto;gap:18px;align-items:end}.dataset-select{display:flex;align-items:center;gap:10px;align-self:center;color:#64768c}.dataset-select>div{min-width:0;display:grid;gap:4px}.dataset-select label{color:#8a96a5;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.dataset-select select{max-width:205px;border:0;outline:none;color:#26374c;background:transparent;font-size:11px;font-weight:600}.dataset-paths{min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.dataset-paths input{padding:7px 9px;font:10px DM Mono,monospace}.database-path-setting{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:end;padding-top:10px;border-top:1px solid #edf0f4}.database-path-setting label{min-width:0;display:grid;gap:5px;color:#526073;font-size:9px;font-weight:600}.database-path-setting input{min-width:0;padding:7px 9px;border:1px solid #dfe4ea;border-radius:6px;color:#26374c;background:#fff;font:10px DM Mono,monospace}.database-path-note{grid-column:1 / -1;display:flex;justify-content:space-between;gap:12px;color:#8995a4;font-size:9px}.database-path-note small{overflow:hidden;color:#68788c;font:9px DM Mono,monospace;text-overflow:ellipsis;white-space:nowrap}.layout-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;align-items:start}.left-rail{display:grid;gap:13px}.cluster-panel,.subcluster-panel,.plot-panel,.spatial-panel,.score-panel,.enrichment-panel{padding:15px}.cluster-panel{min-width:0}.cluster-horizontal-controls{margin-top:8px;display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,2.2fr) minmax(250px,1fr);gap:14px 18px;align-items:start}.cluster-parent-controls,.cluster-selection-controls{min-width:0}.cluster-parent-controls .field-label{margin-top:0}.panel-heading{min-height:35px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.panel-heading h2{margin:4px 0 0;font:700 15px Manrope,sans-serif;letter-spacing:-.35px}.panel-heading h2 small{margin-left:6px;color:#929dac;font:500 10px DM Mono,monospace;letter-spacing:0}.count-badge,.saved-pill{padding:5px 7px;border-radius:4px;color:#52765f;background:#edf6ef;font:10px DM Mono,monospace;white-space:nowrap}.field-label{margin-top:14px;display:grid;gap:6px;color:#778497;font-size:10px}.field-label select{padding:7px 9px;color:#2c3b50}.field-label select[multiple]{min-height:92px;padding:5px 7px}.field-hint{margin:0;color:#8c97a5;font-size:9px;line-height:1.5}.cluster-tools{margin:0 0 7px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#718095;font-size:10px}.cluster-tools>div{display:flex;gap:12px}.cluster-tools button{padding:0;border:0;color:#5c7fa5;background:none;font-size:10px}.cluster-subcluster-controls{min-width:0;padding-left:16px;border-left:1px solid #edf0f3}.cluster-subcluster-controls>.eyebrow{color:#748397}.cluster-list{min-width:0;min-height:55px;display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;padding:6px 0 8px;border-top:1px solid #edf0f3}.cluster-row{flex:0 0 185px;min-width:0;min-height:45px;display:grid;grid-template-columns:20px minmax(0,1fr) auto 25px;gap:6px;align-items:center;padding:0 6px;border:1px solid #edf0f3;border-radius:5px}.cluster-row.is-selected{border-color:#cbdcf0;background:#f7faff}.cluster-list .empty-note{align-self:center;margin:0}.cluster-check{display:grid;place-items:center}input[type=checkbox]{width:13px;height:13px;margin:0;accent-color:#3975b7}.cluster-check i,.subcluster-chips i{width:7px;height:7px;border-radius:50%}.cluster-name-wrap{min-width:0;display:grid;gap:2px}.cluster-name{overflow:hidden;color:#344256;font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.cluster-name-wrap small,.cluster-count{color:#929dad;font:9px DM Mono,monospace}.cluster-count{white-space:nowrap}.rename-input{min-width:0;width:100%;padding:4px 5px;border:1px solid #bacbde;border-radius:4px;font-size:10px}.save-name{color:#328461}.empty-note{color:#8a95a3;font-size:10px}.action-stack{display:grid;gap:7px;margin-top:13px}.segmented{display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid #e6eaf0;border-radius:6px;background:#f7f8fa}.segmented button{border:0;border-radius:4px;padding:7px 8px;color:#8390a0;background:transparent;font-size:10px}.segmented button.active{color:#284b72;background:#fff;box-shadow:0 1px 3px #172b4012;font-weight:600}.search-input{margin-top:9px;padding:7px 9px}.panel-list{max-height:206px;margin-top:5px;overflow:auto}.panel-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;min-height:27px;padding:2px 4px;border-radius:4px}.panel-list-row.active{background:#eef4fb}.panel-list-row>button{padding:4px 0;border:0;overflow:hidden;color:#46556a;background:transparent;text-align:left;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.panel-list-row>span{color:#a3adba;font:9px DM Mono,monospace}.genes-label{margin-top:11px}.field-label textarea{resize:vertical;font:9px DM Mono,monospace;line-height:1.5}.panel-actions{margin:7px 0 10px;display:flex;justify-content:space-between;gap:6px}.computed-note{margin-top:9px;display:flex;gap:5px;align-items:center;color:#49836d;font-size:9px}.main-column{display:grid;gap:13px;min-width:0}.embedding-grid{min-width:0;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:13px;align-items:start}.embedding-grid>.panel{min-width:0}.plot-heading{align-items:center}.plot-controls,.result-controls{display:flex;gap:7px;align-items:center}.compact{min-width:168px}.compact button{padding:6px 8px;font-size:9px}.plot-controls select,.result-controls select{width:auto;min-width:105px;padding:7px;font-size:10px}.plot-stage{position:relative;height:clamp(300px,28vw,400px);margin-top:12px;overflow:hidden;border:1px solid #202c3d;border-radius:6px;background:#101a2b}.plot-stage canvas{display:block}.point-tooltip{position:fixed;z-index:40;max-width:280px;padding:8px 10px;display:grid;gap:4px;border:1px solid #33465f;border-radius:6px;color:#cbd6e2;background:#111c2cef;box-shadow:0 5px 18px #050a1280;pointer-events:none;font-size:9px}.point-tooltip strong{color:#fff;font:600 10px DM Mono,monospace}.point-tooltip span{line-height:1.4}.plot-loading{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;color:#c0c9d4;background:radial-gradient(circle at 50% 48%,#1d2b40,#101a2b 66%);text-align:center}.plot-loading strong{font:600 12px Manrope,sans-serif}.plot-loading span{max-width:360px;color:#8290a3;font-size:10px}.loading-track{width:min(280px,55%);height:4px;overflow:hidden;border-radius:4px;background:#33445b}.loading-track i{background:#66ad95}.plot-footer{padding:9px 1px 0;display:flex;justify-content:space-between;color:#8995a5;font-size:9px}.plot-footer span:first-child{display:flex;align-items:center;gap:6px}.score-color-legend{min-width:0;margin:9px 0 1px;display:flex;align-items:center;gap:9px;color:#718095;font-size:9px}.score-color-legend-title{max-width:130px;overflow:hidden;color:#596a80;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.score-color-limit{flex:0 0 auto;display:grid;gap:1px;color:#65758a;font:9px DM Mono,monospace;line-height:1.1}.score-color-limit small{color:#99a4b2;font:8px DM Sans,sans-serif}.score-color-limit-high{text-align:right}.score-color-gradient{height:10px;min-width:45px;flex:1 1 auto;border:1px solid #243d5e33;border-radius:8px;background:linear-gradient(90deg,#123b70,#637da8,#c28da9,#f2a0a0);box-shadow:inset 0 0 0 1px #fff2}.score-color-legend-empty{margin:8px 0 1px;color:#8995a5;font-size:9px}.spatial-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.spatial-controls .button{min-width:31px;padding:6px 8px}.spatial-column-control{display:inline-flex;align-items:center;gap:5px;color:#68788c;font-size:9px;white-space:nowrap}.spatial-column-control select{width:auto;min-width:48px;padding:6px 7px;border:1px solid #e1e6ec;border-radius:5px;color:#526174;background:#fff;font-size:10px}.spatial-note{margin:4px 0 10px;color:#8793a2;font-size:9px;line-height:1.5}.spatial-atlas-scroll{position:relative;max-height:min(86vh,940px);overflow:auto;border:1px solid #202c3d;border-radius:6px;background:#101a2b}.spatial-atlas-content{position:relative;min-width:100%;width:100%;min-height:100%;padding:10px;display:grid;gap:12px}.spatial-batch-card{min-width:0;padding:8px;border:1px solid #2d3c50;border-radius:9px;background:#172337}.spatial-batch-heading{margin-bottom:7px;display:flex;justify-content:space-between;align-items:baseline;gap:10px}.spatial-batch-heading strong{overflow:hidden;color:#e0e7ef;font:600 10px DM Mono,monospace;text-overflow:ellipsis;white-space:nowrap}.spatial-batch-heading span{flex:0 0 auto;color:#aab6c5;font-size:8px}.spatial-batch-viewport{position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden;border:1px solid #35445a;border-radius:6px;background:#101a2b;cursor:grab;touch-action:none}.spatial-batch-viewport:active{cursor:grabbing}.spatial-atlas-canvas{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:2;width:100vw!important;height:100vh!important;pointer-events:none!important}.spatial-atlas-canvas canvas{display:block;pointer-events:none!important}.spatial-map-tools{margin:9px 0;display:grid;grid-template-columns:auto minmax(70px,1fr) auto;gap:9px;align-items:center;color:#778497;font-size:9px}.spatial-map-tools input,.display-limit-control input{width:100%;accent-color:#3975b7}.spatial-map-tools output,.display-limit-control output{color:#596a80;font:9px DM Mono,monospace;text-align:right}.overlay-toggle{display:inline-flex;align-items:center;gap:5px;color:#68788c;font-size:9px;white-space:nowrap}.overlay-toggle input{accent-color:#3975b7}.spatial-point-tooltip{z-index:41}.legend-dot{width:7px;height:7px;border-radius:50%;background:#69a2eb}.subcluster-toolbar{margin-top:11px;display:flex;align-items:end;gap:9px;flex-wrap:wrap}.subcluster-toolbar label{display:grid;gap:4px;color:#7c8999;font-size:9px}.subcluster-toolbar select{width:130px;padding:6px 8px;font-size:10px}.subcluster-toolbar>span{margin-left:auto;color:#8b97a6;font-size:9px}.parent-enrichment-action{margin:10px 0 6px}.parent-enrichment-action p{margin:5px 0 0;color:#8b97a6;font-size:9px;line-height:1.45}.subcluster-chips{padding-top:11px;display:flex;align-items:center;gap:11px;flex-wrap:wrap;color:#7f8b9b;font-size:9px}.subcluster-chips>span{color:#6e7d90;font-weight:600}.subcluster-chips label{display:flex;align-items:center;gap:5px;color:#546276}.subcluster-chips small{color:#9aa5b2;font:8px DM Mono,monospace}.score-panel .panel-heading{align-items:center}.score-heading{flex-wrap:wrap}.score-controls{display:flex;justify-content:flex-end;gap:7px;min-width:min(440px,100%)}.score-controls select{max-width:220px;min-width:145px;padding:7px 9px;border:1px solid #dfe4ea;border-radius:6px;color:#32445d;background:#fff;font-size:10px}.saved-pill{display:flex;align-items:center;gap:4px}.chart-legend{margin-top:11px;display:flex;align-items:center;gap:7px;color:#8995a3;font-size:9px}.legend-line{width:17px;height:3px;background:#27384f}.legend-fill{width:13px;height:9px;border:1px solid #72a2d7;border-radius:2px;background:#bbd1e9}.ridge-scroll{max-width:100%;margin-top:7px;overflow-x:auto;overflow-y:hidden}.ridge-chart{display:block;max-width:none}.ridge-gridline{stroke:#edf0f4;stroke-width:1}.ridge-axis-line,.ridge-axis-tick{stroke:#cbd3de;stroke-width:1}.ridge-axis-title{fill:#768395;font:9px DM Sans,sans-serif}.ridge-axis-label,.ridge-count-label{fill:#99a3b0;font:8px DM Mono,monospace}.ridge-cluster-label{fill:#4b5869;font:600 9px DM Sans,sans-serif}.ridge-count-label{font-size:7px}.score-panel .chart-legend{margin:4px 0 0}.empty-chart{min-height:96px;margin-top:11px;padding:18px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px dashed #e0e5eb;border-radius:6px;color:#8b96a5;font-size:10px;text-align:center;line-height:1.6}.empty-chart svg{flex:0 0 auto;color:#90a1b5}.enrichment-panel{min-height:220px}.enrichment-panel .panel-heading{align-items:center}.enrichment-options{margin-top:12px;padding:9px 10px;display:flex;gap:13px;align-items:center;border:1px solid #edf0f4;border-radius:6px;background:#fbfcfd;color:#8390a0;font-size:9px}.enrichment-options label{display:flex;align-items:center;gap:5px;color:#586679;text-transform:capitalize}.stage-tag{padding:4px 6px;border:1px solid #e5eaf0;border-radius:4px;color:#607187;background:#fff;text-transform:capitalize}.enrichment-options .button{margin-left:auto}.enrichment-content{display:grid;gap:16px;margin-top:15px}.table-scroll{min-width:0;overflow:auto}.table-scroll h3{margin:0 0 8px;color:#46566b;font:600 11px Manrope,sans-serif}.table-scroll h3 span{margin-left:7px;color:#9aa4b0;font:9px DM Mono,monospace}table{width:100%;border-collapse:collapse;white-space:nowrap}th{padding:7px 8px;color:#8894a3;background:#f7f9fb;text-align:left;font:9px DM Mono,monospace}td{max-width:260px;overflow:hidden;padding:7px 8px;border-bottom:1px solid #eff1f4;color:#687587;text-overflow:ellipsis;font-size:9px}td strong{color:#39495d}.match-tag{margin-left:6px;padding:2px 4px;border-radius:3px;color:#557aa1;background:#eaf2f9;font-size:8px}.welcome{max-width:660px;margin:70px auto;padding:32px;text-align:center;color:#708097}.welcome svg{color:#5b83b2}.welcome h2{color:#2b3c52;font:700 19px Manrope,sans-serif}.welcome p{max-width:520px;margin:auto;font-size:12px;line-height:1.7}.alert{margin-top:16px;padding:10px 12px;border-radius:5px;font-size:11px;line-height:1.5}.alert-error{color:#99514c;background:#fff0ee}.toast{position:fixed;right:22px;bottom:20px;z-index:20;max-width:min(500px,calc(100vw - 40px));padding:10px 12px 10px 14px;display:flex;align-items:flex-start;gap:18px;border:1px solid #d9e4ec;border-radius:7px;color:#536578;background:#fff;box-shadow:0 7px 30px #162b431a;font-size:10px;line-height:1.5}.toast-error{color:#96544f;border-color:#f0d4d1;background:snow}.toast button{border:0;color:inherit;background:transparent;font-size:16px;line-height:1}.report-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;padding:22px;display:flex;justify-content:center;align-items:center;background:#101a2bb8}.report-dialog{width:min(760px,100%);max-height:calc(100vh - 44px);overflow:auto;padding:24px;border:1px solid #dfe5ec;border-radius:12px;background:#fff;box-shadow:0 24px 80px #0b17264d}.report-dialog-preview{width:min(1380px,100%);height:min(94vh,1100px);padding:0;display:flex;flex-direction:column;overflow:hidden}.report-dialog-header,.report-preview-actions{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e7ebf0;background:#fff}.report-dialog-header h2{margin:4px 0 0;color:#29394f;font:700 18px Manrope,sans-serif}.report-preview-actions{flex:0 0 auto}.report-preview-actions>div:first-child{min-width:0;display:grid;gap:4px}.report-preview-actions strong{color:#33445a;font-size:11px}.report-preview-actions>div:last-child{display:flex;align-items:center;gap:8px}.report-dialog-intro{margin:12px 0 17px;color:#748196;font-size:11px;line-height:1.65}.report-scope-choice{margin-bottom:15px}.report-scope-choice button{font-size:11px}.report-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.report-form-grid .field-label{margin-top:8px}.report-scope-explainer{margin-top:13px;padding:11px 12px;border:1px solid #e8edf2;border-radius:7px;color:#788599;background:#f8fafc;font-size:10px;line-height:1.6}.report-progress{margin-top:13px;display:flex;align-items:center;gap:8px;color:#4c6988;font-size:10px}.report-dialog-actions{margin-top:17px;display:flex;justify-content:flex-end;gap:8px}.report-document{min-height:0;flex:1 1 auto;overflow:auto;padding:18px;display:grid;align-content:start;gap:17px;background:#e9edf2}.report-page{min-width:0;padding:28px;border:1px solid #e1e6ec;border-radius:5px;background:#fff;box-shadow:0 4px 12px #2031480c;color:#29394e}.report-page h1{margin:7px 0 12px;font:800 26px/1.15 Manrope,sans-serif;letter-spacing:-.7px}.report-page h2{margin:6px 0 14px;color:#304159;font:700 18px Manrope,sans-serif}.report-page h3{margin:12px 0 8px;color:#506178;font:700 11px Manrope,sans-serif}.report-kicker{color:#5b7ea4;font:600 9px DM Mono,monospace;letter-spacing:.12em;text-transform:uppercase}.report-metadata{margin:17px 0 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;color:#68778b;font-size:9px}.report-metadata span{min-width:0;overflow-wrap:anywhere}.report-metadata b{display:block;margin-bottom:3px;color:#8995a4;font:8px DM Mono,monospace;text-transform:uppercase}.report-overview-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(190px,.8fr);gap:18px;align-items:start}.report-map-figure,.report-spatial-grid figure{min-width:0;margin:0;padding:7px;border:1px solid #e3e8ed;border-radius:6px;background:#fff}.report-map-figure img{width:100%;max-height:470px;display:block;object-fit:contain;border-radius:4px;background:#101a2b}.report-map-figure figcaption{padding:6px 2px 0;color:#7e8a9a;font-size:8px}.report-category-key{max-height:460px;overflow:auto;padding:11px;border:1px solid #e7ebf0;border-radius:6px;background:#fafbfd}.report-category-key h3{margin-top:0}.report-category-key>div{min-height:25px;display:flex;align-items:center;gap:7px;border-top:1px solid #edf0f3;color:#4d5e73;font-size:9px}.report-category-key>div>i,.report-category-strip i{width:8px;height:8px;flex:0 0 8px;border-radius:50%}.report-category-key>div>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-category-key small{display:block;color:#929dad;font:8px DM Mono,monospace}.report-category-strip{margin:8px 0 13px;display:flex;flex-wrap:wrap;gap:6px 13px;color:#586980;font-size:8px}.report-category-strip span{display:flex;align-items:center;gap:5px}.report-spatial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.report-spatial-grid img{width:100%;height:180px;display:block;object-fit:contain;border-radius:4px;background:#101a2b}.report-spatial-grid figcaption{padding:5px 2px 1px;display:flex;justify-content:space-between;gap:6px;color:#8a96a5;font-size:8px}.report-spatial-grid figcaption b{overflow:hidden;color:#53647a;text-overflow:ellipsis;white-space:nowrap}.report-score-page .score-color-legend{margin:10px 0 15px}.report-gene-list{margin:-6px 0 8px;color:#8893a2;font-size:9px;line-height:1.5}.report-score-map-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:15px;align-items:start}.report-score-map-grid>div{min-width:0}.report-score-map-grid .report-spatial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-score-map-grid .report-spatial-grid img{height:145px}.report-score-page .ridge-scroll{margin-top:5px}.report-warnings{margin-top:15px;padding:10px 12px;border:1px solid #f0e1bf;border-radius:6px;color:#796747;background:#fffaf0;font-size:9px}.report-warnings p{margin:5px 0 0;line-height:1.45}.report-empty{padding:17px;border:1px dashed #d9e0e8;border-radius:5px;color:#8b96a5;background:#fafbfd;font-size:10px}.report-table-wrap{overflow:auto}.report-table{white-space:normal}.report-table th{position:static}.report-table td{max-width:300px;white-space:normal;overflow-wrap:anywhere;vertical-align:top}.report-footnote{color:#8793a2;font-size:9px}.settings-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;justify-content:flex-end;background:#17233763}.settings-drawer{width:min(470px,100vw);height:100%;padding:23px;overflow:auto;background:#fff;box-shadow:-12px 0 32px #16243a20}.drawer-head{display:flex;justify-content:space-between;align-items:center}.drawer-head h2{margin:4px 0 0;font:700 19px Manrope,sans-serif}.drawer-intro{color:#7e8a99;font-size:10px;line-height:1.6}.settings-section{margin:17px 0;padding:13px;display:grid;gap:10px;border:1px solid #e9edf1;border-radius:7px}.display-limit-control{display:grid;grid-template-columns:1fr 70px!important;gap:9px;align-items:center;color:#69788c;font-size:10px}.display-limit-control input{grid-column:1 / -1;padding:0!important}.settings-section h3{margin:0;color:#536378;font:700 11px Manrope,sans-serif}.settings-section label{grid-template-columns:1fr 170px;align-items:center;color:#6d7a8c;font-size:9px}.settings-section input,.settings-section select{padding:7px 8px;font-size:10px}.check-settings{display:grid;grid-template-columns:1fr 1fr;gap:8px;color:#59677a;font-size:10px}.check-settings strong{grid-column:1/-1;color:#536378;font-size:10px}.check-settings label{display:flex;grid-template-columns:none;gap:6px;text-transform:capitalize}.settings-foot{margin-top:14px;display:flex;gap:7px;color:#909ba8;font-size:9px;line-height:1.5}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.server-indicator.busy i,.processing-notice,.processing-notice-track span.indeterminate,.spin{animation:none}}@media(max-width:1120px){.workspace{padding:16px}.layout-grid{grid-template-columns:minmax(0,1fr)}.cluster-horizontal-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cluster-parent-controls{grid-column:1;grid-row:1}.cluster-subcluster-controls{grid-column:2;grid-row:1}.cluster-selection-controls{grid-column:1 / -1;grid-row:2}.dataset-bar{grid-template-columns:190px 1fr}.dataset-bar>.button{grid-column:2;justify-self:end}.dataset-paths{grid-column:2;grid-row:1}.database-path-setting{grid-column:1 / -1}.dataset-select{grid-row:1}}@media(max-width:900px){.embedding-grid{grid-template-columns:1fr}}@media(max-width:820px){.topbar{padding:0 15px}.brand{min-width:0}.brand span,.server-indicator{display:none}.connection-pill{margin-left:auto}.topbar>.button{padding:7px;font-size:0}.workspace{padding:12px}.layout-grid,.cluster-horizontal-controls{grid-template-columns:1fr}.cluster-parent-controls,.cluster-subcluster-controls,.cluster-selection-controls{grid-column:1;grid-row:auto}.cluster-subcluster-controls{padding:12px 0 0;border-top:1px solid #edf0f3;border-left:0}.embedding-grid{grid-template-columns:1fr}.report-overlay{padding:10px}.report-dialog{padding:19px}.report-dialog-preview{padding:0}.report-overview-grid,.report-score-map-grid{grid-template-columns:1fr}.report-category-key{max-height:220px}.report-spatial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dataset-bar{grid-template-columns:1fr;gap:11px}.dataset-select,.dataset-paths,.dataset-bar>.button{grid-column:auto;grid-row:auto}.database-path-setting{grid-column:auto}.dataset-select select{max-width:none}.connect-card{padding:30px 24px}.connect-fields{grid-template-columns:1fr 1fr}.connect-button{grid-column:2;grid-row:1}.processing-notice{top:76px;right:12px}}@media(max-width:560px){.embedding-grid{grid-template-columns:1fr}.plot-heading{align-items:flex-start;flex-direction:column}.plot-controls{width:100%}.plot-controls select{flex:1}.plot-stage{height:350px}.score-heading{align-items:flex-start!important}.score-controls{width:100%;min-width:0}.score-controls select{flex:1;min-width:0}.dataset-paths{grid-template-columns:1fr}.database-path-note{display:grid}.connection-strip{flex-wrap:wrap}.busy-status{margin-left:0}.busy-track{margin-left:auto}.enrichment-options{align-items:flex-start;flex-wrap:wrap}.enrichment-options .button{margin-left:0}.result-controls{width:100%}.result-controls select{flex:1}.enrichment-panel .panel-heading{align-items:flex-start;flex-direction:column}.cluster-panel{padding:12px}.cluster-panel>.panel-heading{flex-direction:row}.cluster-panel .panel-heading h2{font-size:13px}.spatial-panel>.panel-heading{align-items:flex-start;flex-direction:column}.spatial-controls{justify-content:flex-start}.score-color-legend{gap:6px}.score-color-legend-title{max-width:86px}.score-color-limit{font-size:8px}.report-form-grid{grid-template-columns:1fr}.report-dialog-preview{height:96vh}.report-preview-actions{align-items:flex-start;flex-direction:column}.report-preview-actions>div:last-child{width:100%;flex-wrap:wrap}.report-preview-actions>div:last-child .button{flex:1}.report-document{padding:9px}.report-page{padding:16px}.report-spatial-grid,.report-score-map-grid .report-spatial-grid{grid-template-columns:1fr}.report-spatial-grid img,.report-score-map-grid .report-spatial-grid img{height:220px}.processing-notice{top:74px;right:8px;width:calc(100vw - 16px)}}@page{size:A4 landscape;margin:10mm}@media print{html,body,#root,.app-shell{width:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important}body *{visibility:hidden!important}#report-overlay,#report-overlay *{visibility:visible!important}#report-overlay{position:static!important;inset:auto!important;z-index:auto!important;width:auto!important;height:auto!important;max-height:none!important;padding:0!important;display:block!important;overflow:visible!important;background:#fff!important}.report-dialog,.report-dialog-preview{width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}.report-preview-actions{display:none!important}.report-document{min-height:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important;background:#fff!important}.report-page{width:auto!important;min-height:0!important;margin:0!important;padding:5mm!important;border:0!important;border-radius:0!important;box-shadow:none!important;break-after:page;page-break-after:always;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-page:last-child{break-after:auto;page-break-after:auto}.report-page h1{font-size:21pt}.report-page h2{font-size:14pt}.report-overview-grid{grid-template-columns:minmax(0,1.8fr) minmax(150px,.8fr)}.report-score-map-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.report-map-figure img{max-height:110mm}.report-spatial-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-spatial-grid img{height:48mm}.report-score-map-grid .report-spatial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-score-map-grid .report-spatial-grid img{height:34mm}.report-category-key{max-height:none;overflow:visible}.report-table-wrap{overflow:visible}.report-table{width:100%;font-size:7pt}.report-table th,.report-table td{max-width:none;padding:4px 5px;font-size:7pt}.report-table td{overflow-wrap:anywhere}.ridge-scroll{max-width:none;overflow:visible}.ridge-chart{width:100%!important;height:auto!important}figure,.report-category-key,.report-warnings{break-inside:avoid;page-break-inside:avoid}}
