:root{--bg:#f6f7f9;--ink:#1e2936;--muted:#71808e;--line:#e3e8ee;--accent:#277e77;--accent-soft:#e7f3f0;--space:8px;--header:72px;--rail:224px;--shadow:0 4px 24px #233e5510}*{box-sizing:border-box}html{scroll-padding-top:96px}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 90% 0,#daf0ea55,transparent 45%),var(--bg);font:16px/1.5 Arial,Helvetica,sans-serif}a{color:var(--accent);text-decoration:none}button,input,select{font:inherit}button,a{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7cbdb4;outline-offset:3px}.app-header{height:var(--header);display:flex;align-items:center;gap:24px;padding:0 32px;border-bottom:1px solid #dce5eacc;position:sticky;top:0;background:#ffffffd9;backdrop-filter:blur(20px);z-index:30;box-shadow:0 2px 12px #29435305}.brand{font-weight:700;font-size:24px;letter-spacing:-.5px;display:flex;align-items:center;gap:12px;color:#233d40;white-space:nowrap}.mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#237b74,#3b596f);color:#fff;box-shadow:0 4px 12px #277e7725}.mark svg{width:28px;height:28px}.header-meta{font-size:14px;color:var(--muted);padding-left:24px;border-left:1px solid var(--line)}.header-pill{display:flex;align-items:center;gap:8px;margin-left:auto;padding:8px 16px;font-size:12px;color:#4a6b68;border:1px solid #d6e7e1;border-radius:32px;background:#f2faf7}.header-pill i{width:6px;height:6px;background:#57a892;border-radius:50%}.app-sidebar{position:fixed;top:var(--header);bottom:0;left:0;width:var(--rail);padding:32px 16px;border-right:1px solid #dce5eacc;background:#ffffffbb;backdrop-filter:blur(20px);z-index:25;display:flex;flex-direction:column}.sidebar-label{font-size:11px;letter-spacing:1.5px;color:#92a0ab;font-weight:700;margin:0 16px 16px}.app-sidebar nav{display:flex;flex-direction:column;gap:8px}.app-sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:10px;font-size:14px;color:#687985;transition:.15s}.app-sidebar nav a:hover{background:#f0f5f5}.app-sidebar nav a.active{color:#217a72;background:linear-gradient(100deg,#e5f4ee,#edf3f9);box-shadow:inset 0 0 0 1px #d6e9e3;font-weight:700}.nav-icon{width:20px;text-align:center;font-size:20px;line-height:24px}.sidebar-bottom{margin-top:auto;display:flex;gap:12px;align-items:center;padding:16px;border-top:1px solid var(--line);font-size:12px;color:#536d74}.sidebar-bottom small{color:#93a0aa;font-size:11px}.sidebar-orbit{width:28px;height:28px;border:1px solid #a7c8c1;border-radius:50%;box-shadow:inset 6px -4px 0 #deeee9}.menu-toggle{display:none;background:none;border:0;font-size:22px;color:#47666b}main{width:calc(100% - var(--rail));max-width:1888px;margin-left:max(var(--rail),calc((100vw - 1888px + var(--rail))/2));padding:32px;min-height:calc(100vh - 144px)}h1{font:700 30px/1.2 Arial;margin:0 0 24px;letter-spacing:-.6px}h2{font:600 22px/1.3 Arial;margin:0 0 16px;letter-spacing:-.3px}h3{font-size:16px;line-height:1.4;font-weight:600;margin:0 0 16px}.pagehead{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:16px}.pagehead h1{margin:0}.pagehead small{font-size:13px;color:var(--muted)}.overview{display:grid;grid-template-columns:minmax(360px,.75fr) minmax(0,1.4fr);gap:24px;align-items:stretch}.stats{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stat{padding:24px;position:relative;background:linear-gradient(145deg,#eef6ee,#f7faf5);border-radius:12px;border:1px solid #deeadf;min-height:184px;display:flex;flex-direction:column;justify-content:center;box-shadow:var(--shadow)}.stat:nth-child(2){background:linear-gradient(145deg,#f7ede9,#fdf8f5);border-color:#eddfd6}.stat:nth-child(3){background:linear-gradient(145deg,#e9f0f7,#f8fbfd);border-color:#dbe6ef}.stat:nth-child(4){background:linear-gradient(145deg,#f0ebf7,#faf7fd);border-color:#e5ddf0}.stat svg{width:32px;height:32px;display:block;margin-bottom:16px;color:#668c7c}.stat strong{font:600 40px/1.1 Arial;letter-spacing:-1.2px;color:#344e50}.stat span{font-size:14px;color:#7b8d8b;margin-top:8px}.card,.panel{border:1px solid #e0e6eccc;background:#ffffffde;backdrop-filter:blur(12px);border-radius:12px;padding:24px;box-shadow:var(--shadow);min-width:0}.plot{width:100%;min-height:520px}.plot.smallplot{min-height:360px}.section{margin-top:32px}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.sectionhead h2{margin:0}.cellgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:stretch}.cellcard{padding:24px 16px;background:#ffffffed;border:1px solid #e0e7ed;border-radius:12px;text-align:center;color:#365e5c;box-shadow:0 3px 16px #203d5510;transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden;min-width:0;display:flex;flex-direction:column}.cellcard.link:hover{border-color:#91bdb2;transform:translateY(-4px);box-shadow:0 12px 30px #2b746e18}.cellicons{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;min-height:80px}.cell-icon{display:inline-block;flex:0 0 96px;width:96px;height:64px;background-image:url('/assets/cell-reference.png');background-size:822.15px 607.5px;background-repeat:no-repeat;background-color:white;border-radius:8px}.cellicons img{width:88px;height:72px;object-fit:contain}.cellicons.multiple{gap:0;min-height:96px;margin-bottom:8px}.cellicons.multiple .cell-icon{flex:0 0 88px;width:88px}.cellcard h3{font-size:15px;font-weight:600;min-height:40px;display:flex;align-items:center;justify-content:center;gap:8px;margin:16px 0}.type-dot{height:8px;width:8px;border-radius:50%;flex:0 0 8px;box-shadow:0 0 0 3px #edf2f3}.cellstats{border-top:1px solid #e7ecef;padding-top:16px;color:#839089;font-size:13px;line-height:1.8;margin-top:auto}.cellstats strong{color:#415c59;font-weight:600;font-size:16px}.subtle{font-size:12px;line-height:1.6;color:#8a98a2;margin-top:8px}.tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tool{padding:24px;background:#ffffffaa;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);transition:.2s}.tool:hover{background:#fff;transform:translateY(-2px)}.tool h3{font-size:16px;margin:0 0 8px}.tool p{font-size:13px;color:var(--muted);margin:0;line-height:1.7}.tabs{display:flex;gap:8px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#eaf0f2;width:fit-content;margin-bottom:24px}.tabs button{background:transparent;border:0;color:#798a93;border-radius:8px;padding:12px 24px;font-size:14px;font-weight:500}.tabs button.active{background:white;color:#286a66;box-shadow:0 2px 8px #29435312}.explorer{display:grid;grid-template-columns:240px minmax(0,1fr) 240px;gap:24px;align-items:start}.explorer .panel{padding:24px}.explorer aside{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto}.charts{min-width:0}.charts .panel{margin-bottom:24px}.field{display:block;margin-bottom:24px;font-size:13px;color:#6f8290}.field span{display:block;margin-bottom:8px;font-weight:500}.field input,.field select{width:100%;min-width:0;height:40px;padding:8px 12px;border:1px solid #d8e1e7;background:#fff;border-radius:8px;color:#405c65;font-size:14px;box-shadow:0 1px 2px #29435306}.field input:focus,.field select:focus{border-color:#70aa9e}.primary{height:40px;background:linear-gradient(135deg,#277e77,#315f73);color:white;border:1px solid #286c69;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:600;box-shadow:0 3px 8px #277e7718;white-space:nowrap}.primary:hover{filter:brightness(1.06)}.secondary{height:40px;border:1px solid #d8e1e7;background:#ffffffbd;border-radius:8px;padding:8px 16px;color:#526f76;font-size:13px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.wide{width:100%}.toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.toolbar .field{margin:0;min-width:144px;flex:1}.toolbar .field.short{flex:0 1 104px;min-width:80px}.status{font-size:14px;padding:24px;color:#608177;border:1px dashed #c5dbd5;background:#f6faf8;border-radius:8px;margin:16px 0;line-height:1.8}.error{color:#aa665d;background:#fcf0ed;border-color:#ebcbc3;white-space:pre-wrap}.trace{font-size:12px;color:#8a98a3;line-height:1.8;margin-top:16px;overflow-wrap:anywhere;padding-top:16px;border-top:1px solid #eaf0f2}.exports{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.tablewrap{overflow-x:auto;border:1px solid #e5eaee;border-radius:8px}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{font-size:12px;font-weight:600;color:#83919c;background:#f5f8fa;padding:16px;white-space:nowrap}td{padding:16px;border-top:1px solid #edf0f3;white-space:nowrap;color:#526a73}th button{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}tr:hover td{background:#f9fbfc}.pager{display:flex;align-items:center;justify-content:space-between;margin-top:24px;font-size:13px;color:#8696a1;gap:16px}.pager .buttons{display:flex;gap:8px;align-items:center}.twocol{display:grid;grid-template-columns:264px minmax(0,1fr);gap:24px;align-items:start}.twocol>aside{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto}.datasetgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.donuts{display:grid;grid-template-columns:1fr 1fr;gap:24px}.cnvplots{display:grid;grid-template-columns:1fr 1fr;gap:24px}.cnvplots .full{grid-column:1/-1}.cnvplots img{width:100%;height:auto;cursor:zoom-in;border-radius:8px}.cnvplots iframe{width:100%;height:520px;border:0}.cnvplots h3{font-size:16px;margin:0 0 16px}.cnv-context{display:flex;justify-content:space-between;align-items:center;margin:0 0 24px;font-size:14px}.inventory-count{font-size:13px;color:#8797a2;margin:0 0 16px}.sample-link{display:flex;align-items:center;gap:8px}.sample-link span{opacity:.6}.note{font-size:12px;color:#8a99a3;line-height:1.8}.badge{display:inline-block;font-size:12px;color:#438274;background:#e7f4ee;border:1px solid #d2e9dd;border-radius:24px;padding:4px 12px;margin-left:8px}.unavailable{color:#a58158;background:#fbf2e5;border-color:#efdfc6}footer{max-width:1888px;margin-left:max(var(--rail),calc((100vw - 1888px + var(--rail))/2));padding:24px 32px;border-top:1px solid var(--line);font-size:14px;color:#5e7c82}footer span{font-size:12px;color:#96a5ae;margin-left:16px}#toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:16px 24px;border-radius:12px;background:#294d55;color:white;z-index:50;font-size:14px;max-width:90%;box-shadow:0 10px 32px #193a4433;line-height:1.7}@media(min-width:2200px){body{font-size:17px}.overview{grid-template-columns:.7fr 1.3fr}.cellgrid{gap:24px}.cellcard{padding:32px 24px}}@media(max-width:1500px){.cellgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.explorer{grid-template-columns:216px minmax(0,1fr)}.explorer aside:last-child{grid-column:1/-1;position:static;display:grid;grid-template-columns:1fr 1fr;gap:16px;max-height:none}.overview{grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr)}}@media(max-width:1100px){:root{--rail:192px}.app-header{padding:0 24px}.header-meta{display:none}main{padding:24px}.overview{grid-template-columns:1fr}.stats{grid-template-columns:repeat(4,1fr)}.stat{min-height:152px;padding:16px}.stat strong{font-size:30px}.stat svg{width:24px;height:24px}.cellgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.tools{grid-template-columns:repeat(2,1fr)}.twocol{grid-template-columns:232px minmax(0,1fr)}.app-sidebar nav a{padding:12px;font-size:13px}}@media(max-width:800px){:root{--rail:0px;--header:64px}.app-header{padding:0 16px;gap:16px}.menu-toggle{display:block}.brand{font-size:21px}.mark{width:32px;height:32px;border-radius:8px}.mark svg{width:22px;height:22px}.header-pill{font-size:10px;padding:8px}.app-sidebar{width:224px;transform:translateX(-100%);transition:transform .2s;background:#fffffff2}.nav-open .app-sidebar{transform:translateX(0);box-shadow:8px 0 32px #284c5522}main{width:100%;margin:0;padding:24px 16px}.pagehead h1{font-size:26px}.pagehead small{max-width:140px;text-align:right;font-size:12px}.stats{grid-template-columns:1fr 1fr}.stat{padding:24px;min-height:160px}.cellgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.cellcard{padding:24px 16px}.explorer,.twocol,.donuts,.cnvplots{grid-template-columns:1fr;gap:16px}.explorer aside,.twocol>aside{position:static;max-height:none}.explorer aside:last-child{display:block}.toolbar{gap:8px}.toolbar .field{min-width:112px}.cnvplots .full{grid-column:auto}.panel,.card{padding:16px}.sectionhead{margin-bottom:16px}.tools{gap:16px}.tool{padding:16px}.tool h3{font-size:14px}.tool p{font-size:12px}.pager{flex-wrap:wrap}.cnv-context{gap:16px;font-size:12px}footer{margin:0;padding:24px 16px}.header-meta{display:none}.plot{min-height:440px}h2{font-size:20px}.cellicons.multiple .cell-icon{flex-basis:88px;width:88px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* v1.2: horizontal navigation, full icons, concise page furniture. */
:root{--rail:0px;--header:88px}.app-header{justify-content:space-between;gap:32px;padding:0 max(32px,calc((100vw - 1680px)/2));background:linear-gradient(110deg,#fffffff2,#f2fbfbd9);border-bottom:1px solid #d8e8e6;box-shadow:0 6px 24px #194d4f08}.brand{font-size:26px;gap:16px}.mark{background:linear-gradient(135deg,#1c716d,#2e596e);border:1px solid #84b9b340;width:48px;height:48px;box-shadow:0 6px 16px #347d7924}.mark svg{width:32px;height:32px}.app-header nav{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;padding:8px;border:1px solid #e0e9ea;background:#ffffff8a;border-radius:16px;box-shadow:0 3px 12px #19575406}.app-header nav a{padding:12px 20px;border-radius:10px;font-size:16px;font-weight:500;color:#71898d;white-space:nowrap}.app-header nav a:hover{background:#eff7f5;color:#3e716e}.app-header nav a.active{background:linear-gradient(130deg,#e1f3ec,#ecf4fa);color:#226f67;font-weight:600;box-shadow:inset 0 0 0 1px #cfe6dc}.app-sidebar,.header-meta,.header-pill,.sidebar-bottom{display:none}main{width:100%;max-width:1680px;margin:0 auto;padding:32px;min-height:calc(100vh - 88px)}.pagehead h1{font-size:30px}.overview{grid-template-columns:minmax(360px,.7fr) minmax(0,1.4fr)}.cellgrid{grid-template-columns:repeat(5,minmax(0,1fr))}.cellcard{padding:24px;box-shadow:0 4px 24px #245e6410;border-color:#e1ece9;background:linear-gradient(160deg,#ffffffed,#f8fcfcdf);transition:transform .2s,box-shadow .2s}.cellcard:hover{transform:translateY(-3px);box-shadow:0 14px 36px #28787616}.cellcard h3{margin:16px 0;font-size:16px;min-height:40px}.cellstats{font-size:15px;color:#819797;padding-top:16px;line-height:1.8}.cellstats strong{font-size:17px;color:#3e6662}.subtle,.note{font-size:14px;color:#82959f}.type-dot{width:9px;height:9px;flex-basis:9px}.cell-icon{width:100px;height:80px;flex:0 0 100px;background:none!important;background-image:none!important;border-radius:0;display:grid;place-items:center;overflow:visible}.cell-icon svg{width:100%;height:100%;display:block}.cell-icon .reference-icon{width:80px;height:64px;object-fit:contain;image-rendering:auto}.cellicons{min-height:96px;gap:8px}.cellicons.multiple{min-height:104px;gap:8px}.cellicons.multiple .cell-icon{flex-basis:88px;width:88px;height:72px}.cellicons.multiple .reference-icon{width:72px;height:64px}.panel{background:#ffffffd9;box-shadow:0 6px 28px #265f6e0b;border-color:#e1eaea}.tools,footer{display:none}.explorer aside,.twocol>aside{top:112px;max-height:calc(100vh - 136px)}.badge{font-size:13px}.section{margin-top:32px}.sectionhead{margin-bottom:24px}.plot{min-height:520px}@media(max-width:1280px){.app-header{padding:0 24px;gap:16px}.brand{font-size:23px}.app-header nav a{padding:12px 16px;font-size:15px}.cellgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.overview{grid-template-columns:minmax(320px,.8fr) minmax(0,1.3fr)}}@media(max-width:1000px){:root{--header:144px}.app-header{height:auto;min-height:144px;flex-wrap:wrap;justify-content:center;gap:8px;padding:16px}.app-header nav{justify-content:center;width:100%;overflow-x:auto}.app-header nav a{padding:12px 16px}.overview{grid-template-columns:1fr}.stats{grid-template-columns:repeat(4,1fr)}.cellgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.explorer aside,.twocol>aside{top:168px;max-height:calc(100vh - 192px)}}@media(max-width:700px){main{padding:24px 16px}.brand{font-size:22px}.app-header nav{justify-content:flex-start;gap:0}.app-header nav a{font-size:14px;padding:10px 12px}.cellgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:1fr 1fr}.cellcard{padding:20px 12px}.cellcard h3{font-size:15px}.cellstats{font-size:14px}.explorer aside,.twocol>aside{position:static;max-height:none}.cell-icon{width:88px;flex-basis:88px;height:72px}}
/* v1.3: dark workspace, balanced overview, uploaded icons. */
:root{color-scheme:dark;--bg:#0c151e;--ink:#dce8f2;--muted:#a2b5c4;--line:#2b3e4d;--accent:#8cd5c7;--accent-soft:#173e3e;--shadow:0 8px 28px #0003}
body{background:radial-gradient(ellipse at 80% 0,#19383266,transparent 50%),var(--bg)}
.app-header{background:#101d28ed;border-color:#304452;box-shadow:0 6px 24px #0003}.brand{color:#e6f1f4}.mark{background:#203b40;border-color:#3c6266;box-shadow:none;width:52px;height:52px}.mark img{width:46px;height:46px}
.app-header nav{background:#162530;border-color:#2a404d}.app-header nav a{color:#b0c2cf}.app-header nav a:hover{background:#223c40;color:#dbf1eb}.app-header nav a.active{background:#244c49;color:#b2eedb;box-shadow:inset 0 0 0 1px #41756b}
.card,.panel,.tool{background:#14212ded;border-color:#2b3e4d;box-shadow:var(--shadow)}.cellcard{background:linear-gradient(155deg,#172a35,#13222e);border-color:#2b424d;color:#d4e7e5;box-shadow:var(--shadow)}.cellcard:hover,.cellcard.link:hover{border-color:#609387;box-shadow:0 12px 32px #0005}.cellcard h3{color:#dce9ed}.type-dot{box-shadow:0 0 0 3px #263c46}.cellstats{border-color:#304450;color:#a8bdc4}.cellstats strong{color:#d4ebe4}.subtle,.note,.inventory-count,.pager,.pagehead small{color:#a2b5c4}
.tabs{background:#101d28;border-color:#2b3e4d}.tabs button{color:#a8bbc9}.tabs button.active{background:#284c4a;color:#c6f2e6;box-shadow:none}
.field{color:#a8becd}.field input,.field select{background:#0f1c27;border-color:#354b5b;color:#d8e7ef;box-shadow:none}.field input:focus,.field select:focus{border-color:#80c9b8}.primary{background:#397b70;border-color:#5d9e8f;color:#f3fffc}.secondary{background:#1c303e;border-color:#3c5363;color:#c5dfdf}.status{color:#b4d6cf;border-color:#42655e;background:#19312f}.error{color:#ffc6ba;background:#3b272b;border-color:#875653}.trace{color:#a0b6c5;border-color:#304452}.tablewrap{border-color:#304452}th{background:#192c3a;color:#bdd0de}td{color:#c1d1db;border-color:#2a3c49}tr:hover td{background:#1d3341}.badge{background:#21473e;color:#bae6d3;border-color:#3c705e}.unavailable{background:#413327;color:#e5c69b;border-color:#776045}#toast{background:#254d4e;color:#e4f5f0}
.overview{grid-template-columns:minmax(400px,1fr) minmax(0,1.3fr);gap:24px}.stats{gap:18px}.stat{min-height:210px;padding:30px;border-radius:14px;background:linear-gradient(145deg,#17382f,#122b26);border:1px solid #315d4c;--stat-edge:#78bea3;--stat-number:#c0efdc}.stat:nth-child(2){background:linear-gradient(145deg,#3a2d29,#2b2422);border-color:#6d4b40;--stat-edge:#d29a85;--stat-number:#f2d5c6}.stat:nth-child(3){background:linear-gradient(145deg,#203748,#162937);border-color:#3e6079;--stat-edge:#83b4d1;--stat-number:#c5e5f6}.stat:nth-child(4){background:linear-gradient(145deg,#332c46,#272137);border-color:#5b4a7b;--stat-edge:#b39dd7;--stat-number:#e2d4fb}.stat strong{color:var(--stat-number);font-size:42px}.stat>span:last-child{color:#c0cfda;font-size:15px}
.stat .stat-icon{display:block;width:52px;height:52px;margin:0 0 22px;background:var(--stat-edge);mask-image:var(--stat-icon);-webkit-mask-image:var(--stat-icon);mask-size:contain;-webkit-mask-size:contain;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
.overview .toolbar{gap:12px}.overview .toolbar .field:has(#ovcolor){flex:0 1 210px;min-width:155px}.overview .toolbar .field.short{flex:0 0 100px}.overview .toolbar .primary{margin-left:auto}.cell-icon img,.cellicons img{width:100%;height:100%;max-width:100px;max-height:80px;object-fit:contain}.cellicons.multiple .cell-icon img{max-width:88px;max-height:72px}.cell-icon{background:none!important}.plot{min-height:480px}.js-plotly-plot .plotly .modebar{background:transparent!important}.js-plotly-plot .plotly .modebar-btn path{fill:#a3bdcb!important}.cnvplots iframe{background:#14212d;color-scheme:dark}
#ovplot,#exumap{overflow-x:auto}.umap-plot{min-width:480px}
@media(min-width:2200px){.overview{grid-template-columns:1fr 1.3fr}}
@media(max-width:1280px){.overview{grid-template-columns:minmax(350px,1fr) minmax(0,1.3fr)}.stat{padding:24px}.stat strong{font-size:36px}}
@media(max-width:1000px){.overview{grid-template-columns:1fr}.stats{grid-template-columns:repeat(4,1fr)}.stat{min-height:180px;padding:20px}.stat strong{font-size:30px}}
@media(max-width:700px){.stats{grid-template-columns:1fr 1fr}.stat{padding:24px}.overview .toolbar .field:has(#ovcolor){flex:1 1 150px}.overview .toolbar .primary{margin-left:0}.plot{min-width:0}.umap-plot{min-width:480px}.mark{width:44px;height:44px}.mark img{width:40px;height:40px}}
/* v1.4: frosted surfaces with a restrained green ambient pulse. */
body{isolation:isolate;background:#0b141c}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 15% 20%,#65ffad12,transparent 42%),radial-gradient(ellipse at 90% 65%,#7effa90b,transparent 45%),radial-gradient(ellipse at 55% 0%,#53839a16,transparent 50%);animation:ambient-breath 8s ease-in-out infinite}
.app-header{background:#11212aba;backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%);border-bottom-color:#b4ffda1b}
.panel,.card,.cellcard,.tool{background:linear-gradient(135deg,#9cd7d710,#87b8cb04),#122330a3;backdrop-filter:blur(20px) saturate(125%);-webkit-backdrop-filter:blur(20px) saturate(125%);border:1px solid #c2eedd20;box-shadow:inset 0 1px 0 #e7fff40b,0 14px 36px #0003,0 0 20px #73ffaa03}
.cellcard:hover,.cellcard.link:hover,.tool:hover{background:linear-gradient(135deg,#a6f9cf14,#8bbacd06),#152b36b0;border-color:#9affc44d;box-shadow:inset 0 1px 0 #effff51a,0 16px 36px #0004,0 0 24px #76ffaa0a}
.stat{background:linear-gradient(135deg,#67c49419,#163b2b70);border-color:#80dabd3d;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 1px 0 #f0fff510,0 12px 28px #0003}
.stat:nth-child(2){background:linear-gradient(135deg,#d2987d19,#3b2c2670);border-color:#d3a0863b}.stat:nth-child(3){background:linear-gradient(135deg,#82bbe11b,#1c334370);border-color:#9acdeb36}.stat:nth-child(4){background:linear-gradient(135deg,#b8a0e31b,#31263f70);border-color:#c8b0ed36}
.primary{background:linear-gradient(135deg,#3d8264,#2a645a);border-color:#9affb94d;box-shadow:0 0 14px #7fff9c0a,inset 0 1px 0 #e1ffe615}.primary:hover{box-shadow:0 0 18px #7fff9c18}.app-header nav a.active{background:#3b765834;border:0;box-shadow:inset 0 0 0 1px #adffca2b,0 0 16px #82ffad06}.app-header nav{background:#152a3290;border-color:#d3ffe019}
.field input,.field select,.secondary{background:#0b1c2599;border-color:#b1d6d129}.cnvplots img{border:0;outline:0;box-shadow:none;border-radius:0;height:auto;object-fit:contain}.cnvplots iframe{border:0;outline:0;box-shadow:none}
@keyframes ambient-breath{0%,100%{opacity:.48}50%{opacity:.95}}
@media(prefers-reduced-motion:reduce){body::before{animation:none;opacity:.65}}
/* v1.4.1: dark centre, low-intensity green breathing at viewport edges only. */
:root{--bg:#090f15;--accent:#8fd3c9}
body{background:#090f15}
body::before{background:linear-gradient(90deg,#64ffa30b 0,transparent 70px,transparent calc(100% - 70px),#64ffa30b 100%),linear-gradient(180deg,#64ffa305 0,transparent 45px,transparent calc(100% - 45px),#64ffa305 100%);animation:edge-breath 9s ease-in-out infinite;box-shadow:inset 0 0 36px #69ffa605}
.app-header{background:#101a23e0;border-bottom-color:#263744;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.panel,.card,.cellcard,.tool{background:linear-gradient(135deg,#a9c7df06,transparent),#101a23dd;border-color:#2a3d4b;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #e9f5ff07,0 10px 28px #0004}
.cellcard:hover,.cellcard.link:hover,.tool:hover{background:#14202bec;border-color:#6ab5ac;box-shadow:0 12px 32px #0005,inset 0 1px 0 #eafaff0a}
.stat{background:linear-gradient(135deg,#12302bd9,#10221fee);border-color:#315d53;box-shadow:inset 0 1px 0 #e9fff508,0 10px 24px #0003}.stat:nth-child(2){background:linear-gradient(135deg,#342823d9,#27201fee);border-color:#694b40}.stat:nth-child(3){background:linear-gradient(135deg,#152a3ad9,#111f2bee);border-color:#305673}.stat:nth-child(4){background:linear-gradient(135deg,#2b2339d9,#211c2bee);border-color:#504168}
.primary{background:linear-gradient(135deg,#267d79,#1e5d66);border-color:#398c87;box-shadow:none}.primary:hover{box-shadow:0 0 8px #61bbb018}.app-header nav{background:#111e28d9;border-color:#263d4b}.app-header nav a.active{background:#1c4047;box-shadow:inset 0 0 0 1px #38656d;color:#b1e2df}
@keyframes edge-breath{0%,100%{opacity:.3}50%{opacity:.72}}
@media(prefers-reduced-motion:reduce){body::before{animation:none;opacity:.45}}

.scanpy-plot{overflow-x:auto}.scanpy-plot img{display:block;width:100%;min-width:640px;height:auto}.exports a{text-decoration:none;display:inline-block}.umap-plot{min-width:640px}

.donut-card{min-width:0}.donut-chart{width:440px;max-width:100%;margin-inline:auto}
