:root {
  color-scheme:light;
  --ink:#101c3c;
  --muted:#5c7189;
  --blue:#0874df;
  --border:#dde8f1;
  font-family:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif;
  color:var(--ink); background:#f8fbfe;
}
*,*::before,*::after {box-sizing:border-box}
body,h1,h2,h3,p,ul,dl,dd {margin:0}
body {min-width:300px}
img {max-width:100%;display:block}
button,select,input {font:inherit}
button,select {cursor:pointer}
a {text-decoration:none;color:inherit}
button {color:inherit}
[hidden] {display:none!important}
svg {display:inline-block;width:1.2em;height:1.2em;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.icons {display:none}
:focus-visible {outline:3px solid #0071d0;outline-offset:3px}
.skip {position:fixed;left:1rem;top:-6rem;z-index:5;background:white;padding:.8rem}
.skip:focus {top:1rem}
.header {background:#fbfdff}
.header-inner,.hero-inner {width:min(90%,1580px);margin:auto}
.header-inner {height:clamp(55px,4.78vw,75px);display:flex;align-items:center;gap:clamp(2rem,5vw,5.5rem)}
.brand {display:inline-flex;align-items:center;color:#10224a;line-height:1;flex:none}
.brand img {width:clamp(132px,12vw,184px);height:auto;max-height:60px;object-fit:contain}
.navigation,.header-actions,.header-actions a {display:flex;align-items:center}
.navigation {gap:clamp(1.3rem,3.3vw,3.5rem)}
.navigation a,.text-button {font-size:clamp(.85rem,.98vw,1rem);font-weight:550}
.navigation a:hover,.text-button:hover,.work-foot a:hover,.text-link:hover {color:#006ccf;text-decoration:underline;text-underline-offset:.25em}
.header-actions {margin-left:auto;gap:clamp(1rem,2.8vw,2.75rem)}
.text-button,.text-link {background:none;border:none;padding:.4rem 0}
.button {display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:clamp(39px,3.45vw,55px);min-width:clamp(132px,12.7vw,219px);padding:.55rem 1.2rem;border:1px solid #066ac7;border-radius:5px;background:linear-gradient(165deg,#328bdd,#0664c9);color:#fff;font-size:clamp(.95rem,1.12vw,1.17rem);font-weight:620;line-height:1.35;box-shadow:0 2px 7px #4484b123}
.button:hover {background:#075db4}
.button.small {min-width:0;min-height:clamp(32px,2.7vw,44px);border-radius:4px;padding:.4rem 1rem;font-size:clamp(.82rem,.95vw,1rem)}
.button.outline {color:#096bc4;background:linear-gradient(150deg,#fff,#f2faff);border-color:#84b4df}
.button.outline:hover {background:#e9f5ff}
.hero {position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(102deg,#f8fcff 2%,#f6fbfe 54%,#e3f1fa 100%)}
.hero::after {content:"";position:absolute;z-index:-1;left:-13%;bottom:-56%;width:148%;height:128%;background:radial-gradient(ellipse at 50% 100%,#d6e9f4 5%,#eff7fa 60%,transparent 66%);transform:rotate(-4deg)}
.wave {position:absolute;z-index:-1;pointer-events:none;inset:-35% -16% auto -21%;height:116%;border-radius:0 0 52% 48%;box-shadow:0 24px 0 #e2f1f84d,0 48px 0 #f2f9fc88,0 66px 0 #dfedf54a;transform:rotate(-11deg)}
.wave-b {top:-28%;left:5%;right:-33%;height:100%;transform:rotate(-31deg);box-shadow:0 14px 0 #d4eaf666,0 30px 0 #e4f3fb8a}
.hero-inner {position:relative;height:clamp(305px,25.9vw,453px)}
.hero-copy {position:absolute;top:12%;left:0;width:49%;z-index:1}
h1 {font-size:clamp(1.65rem,2.75vw,3.1rem);font-weight:710;line-height:1.22;letter-spacing:-.055em;white-space:nowrap}
.intro {color:#334d64;font-size:clamp(1rem,1.48vw,1.65rem);line-height:1.5;margin-top:.4rem}
.hero-actions {display:flex;gap:.8rem;margin-top:clamp(.85rem,1.4vw,1.8rem)}
.privacy {color:var(--muted);font-size:clamp(.72rem,.79vw,.9rem);margin-top:.48rem}
.features {position:absolute;left:0;bottom:11.5%;width:47.5%;display:flex;justify-content:space-between;list-style:none;padding:0;gap:.5rem}
.features li {display:flex;align-items:center;gap:clamp(.4rem,.7vw,.85rem);color:#3e5669;font-size:clamp(.65rem,.86vw,.95rem);line-height:1.48;white-space:nowrap}
.features strong {display:block;font-weight:620;color:#284254}
.feature-icon {width:clamp(26px,2.55vw,48px);height:clamp(26px,2.55vw,48px);border-radius:100%;display:grid;place-items:center;color:#19a3b2;background:radial-gradient(ellipse,#d6f1f1,transparent 76%)}
.feature-icon svg {width:64%;height:64%;stroke-width:1.8}
.features li:nth-child(2) svg {color:#2989b3}
.monitor {position:absolute;left:48.3%;top:0;bottom:0;width:46.3%;padding:clamp(4px,.58vw,11px);padding-bottom:clamp(7px,.95vw,17px);border-radius:6px 6px 1px 1px;background:linear-gradient(135deg,#2d3d4b,#182839);box-shadow:2px 2px 9px #4a637540}
.monitor-body {width:100%;height:100%;background:#fbfcfd;display:flex;flex-direction:column;padding:.25%;overflow:hidden;border-radius:2px}
.monitor-bar {display:flex;align-items:center;justify-content:space-between;padding:.1rem 1%;height:9%;color:#536678;border-bottom:1px solid #e0e7eb;font-size:clamp(.42rem,.63vw,.7rem);line-height:1}
.monitor-bar b {display:flex;align-items:center;gap:.2rem;color:#15223c}
.monitor-bar img {height:.85em}
.monitor-bar span {color:#66839a;letter-spacing:.27em}
.monitor-space {display:grid;grid-template-columns:16% 63% 21%;height:91%;min-height:0}
.monitor-side {position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:8% 9%;gap:4%;border-right:1px solid #edf0f3;color:#7194a5;font-size:clamp(.55rem,.81vw,.96rem)}
.monitor-side img {align-self:center;width:100%;height:22%;object-fit:contain;border:1px solid #ebedef;background:white;margin-bottom:.25em}
.monitor-side i {position:absolute;bottom:5%;font-style:normal;font-size:.62em;color:#6d7c88;border-bottom:2px solid #457284}
#hero-tissue {width:100%;height:100%;object-fit:cover;min-height:0}
.monitor-key {display:flex;flex-direction:column;align-items:flex-start;padding:9% 9%;font-size:clamp(.43rem,.58vw,.65rem);color:#425264;white-space:nowrap;line-height:1.6;gap:1.4%}
.monitor-key strong {margin-bottom:.35em}
.monitor-key i,.legend i {display:inline-block;width:.72em;height:.72em;flex:none;border-radius:50%;margin-right:.52em}
.d1 {background:#b971c3}
.d2 {background:#2eaf8c}
.d3 {background:#228dc4}
.d4 {background:#f1923f}
.d5 {background:#5389d2}
.d6 {background:#93b58a}
.mk-sub {display:grid;gap:.2em;margin-top:auto;border-top:1px solid #dfe7eb;width:100%;padding-top:.65em}
.mk-sub span {color:#2678b8}
.mk-slider {height:3px;width:85%;background:#2c83c4;margin-top:7%}
.bedge {position:absolute;left:96.2%;top:25%;font:600 clamp(.4rem,.54vw,.65rem)/1.7 Arial,sans-serif;color:#728fa3;letter-spacing:.06em;opacity:.53}
.bedge hr {width:1.5rem;border:0;border-top:1px solid currentColor;margin:1.1rem 0}
.workbench {background:linear-gradient(130deg,#fbfdff,#f8fbfd);padding:0 max(3.5vw,calc((100% - 1634px)/2));scroll-margin-top:.5rem}
.work-head,.work-head>div,.plot-head,.tools,.gene-choice,.sample,.work-foot {display:flex;align-items:center}
.work-head {justify-content:space-between;padding:clamp(.9rem,1.45vw,1.8rem) .35rem clamp(.8rem,1.15vw,1.3rem);gap:1rem}
.work-head>div {gap:clamp(.8rem,1.5vw,1.7rem)}
.work-head h2 {font-size:clamp(1.22rem,1.7vw,1.95rem);font-weight:720;letter-spacing:-.045em;display:flex;align-items:center;gap:.55rem;white-space:nowrap}
.work-head h2::before {content:"";width:clamp(6px,.67vw,13px);height:.98em;background:linear-gradient(150deg,#dbf2ff,#72bcf2);border-radius:2px}
.work-head p,.work-caption,.work-foot {color:var(--muted);font-size:clamp(.71rem,.83vw,.94rem)}
.work-caption::before {content:"";display:inline-block;vertical-align:middle;height:1px;width:1.8rem;margin-right:.6rem;background:#c1d1db}
.board {display:grid;grid-template-columns:minmax(170px,19%) minmax(0,1fr);gap:clamp(.55rem,.85vw,.95rem);min-height:clamp(278px,23.2vw,405px)}
.sidebar,.plot-card,.single-pane {border:1px solid var(--border);border-radius:7px;min-width:0;overflow:hidden}
.sidebar {background:linear-gradient(140deg,#eaf5fc,#f6fafd 72%);padding:clamp(.65rem,1.08vw,1.25rem)}
.sidebar h3,.plot-head h3,.single-pane h3 {font-size:clamp(.9rem,1.08vw,1.22rem);font-weight:660;letter-spacing:-.025em}
.sample {margin:.6rem 0 .8rem;background:#ffffffd4;border-radius:5px;gap:.6rem;padding:.55rem;min-width:0}
.sample img {width:clamp(34px,4.1vw,72px);height:clamp(34px,3.6vw,65px);object-fit:contain;background:white}
.sample div {min-width:0}
.sample b,.sample small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sample b {font-size:clamp(.77rem,.96vw,1.04rem)}
.sample small {color:var(--muted);font-size:clamp(.68rem,.76vw,.87rem);margin-top:.2em}
.view-switch {display:grid;gap:.15rem}
.view-switch button {border:0;border-radius:3px;display:flex;align-items:center;text-align:left;gap:.72rem;width:100%;background:transparent;padding:clamp(.52rem,.69vw,.85rem) .65rem;color:#24415d;font-weight:570;font-size:clamp(.8rem,1vw,1.15rem)}
.view-switch svg {color:#197bbe}
.view-switch button[aria-pressed="true"],.view-switch button:hover {color:#086bbf;background:#deeffc}
.panes {display:grid;grid-template-columns:.974fr 1fr;gap:clamp(.46rem,.62vw,.8rem)}
.plot-card {background:white;padding:clamp(.5rem,.85vw,1.05rem);display:flex;flex-direction:column}
.plot-head {justify-content:space-between;gap:.35rem;margin-bottom:.45rem;min-height:1.65rem}
.tools {gap:.2rem}
.tools button,.help-dialog button {display:grid;place-items:center;border:1px solid #e4edf3;border-radius:3px;background:#fbfdff;color:#4e6d85;padding:.22rem .3rem}
.tools button:hover,.help-dialog button:hover {background:#e9f4fd;color:#0165bf}
.tools svg {width:clamp(13px,1.25vw,22px);height:clamp(13px,1.25vw,22px)}
.gene-choice {gap:.35rem;font-size:clamp(.69rem,.79vw,.88rem);color:#556b82}
.gene-choice select {border:1px solid #dce6ef;background:#f8fbfd;color:#16294b;font-weight:600;border-radius:3px;padding:.2rem .28rem}
.chart-body {position:relative;border:1px solid #eaf0f4;border-radius:3px;min-height:0;flex:1;display:flex;align-items:center;background:#fff;gap:2%;padding:.42rem}
.figure-plot {min-width:0;align-self:stretch;flex:1;display:flex;align-items:center;position:relative;justify-content:center;background:white}
.figure-plot>img {max-width:100%;width:100%;height:100%;max-height:clamp(220px,18.8vw,335px);object-fit:contain}
.scale {position:absolute;bottom:1.2%;left:1.4%;width:17%;min-width:2.35rem;text-align:center;color:#66778a;font-size:clamp(.55rem,.62vw,.72rem);line-height:1.3;border-bottom:2px solid #778795}
.legend {list-style:none;padding:0;display:grid;gap:clamp(.16rem,.38vw,.5rem);font-size:clamp(.56rem,.73vw,.82rem);color:#495d74;white-space:nowrap}
.legend li {display:flex;align-items:center}
.legend i {width:.85em;height:.85em}
.color-key {display:flex;gap:4px;align-items:stretch;height:37%;min-height:59px;margin:10% 3% 0 1%;font-size:clamp(.52rem,.65vw,.75rem);color:#4c6277}
.color-key>i {width:6px;background:linear-gradient(#b00019,#ff7e23,#ffdf39,#46c7bb,#2466d5,#24258c)}
.color-key>div {display:flex;flex-direction:column;justify-content:space-between}
.overlay-tools {position:absolute;top:.3rem;right:.3rem;z-index:1}
.work-foot {min-height:clamp(36px,3vw,52px);justify-content:space-between;gap:1rem;font-size:clamp(.65rem,.75vw,.83rem)}
.work-foot a {white-space:nowrap}
.single-pane {background:white;padding:1rem}
.local-canvas {height:clamp(170px,17vw,310px);background:#f5f8fb;border:1px solid #e5edf3}
.local-canvas img {width:100%;height:100%;object-fit:contain}
.pane-note,.explanation dd {color:#4c6377;font-size:.92rem;line-height:1.6}
.pane-note {margin-top:.55rem}
.explanation {padding:clamp(1rem,1.6vw,2rem)}
.explanation dl {display:grid;grid-template-columns:auto 1fr;gap:.8rem 1rem;margin:1rem 0}
.explanation dt {font-weight:650;line-height:1.6}
.text-link {color:#0068bb;text-decoration:underline;text-underline-offset:3px}
.help-dialog {max-width:min(520px,93vw);border:1px solid #d6e3ed;border-radius:10px;box-shadow:0 20px 80px #132b5460;padding:1.5rem;color:var(--ink)}
.help-dialog::backdrop,dialog::backdrop {background:#10274188}
.help-dialog>div {display:flex;justify-content:space-between;align-items:center}
.help-dialog h2 {font-size:1.3rem}
.help-dialog p {font-size:1rem;color:#435d72;line-height:1.8;margin-top:.9rem}
@media(max-width:1000px) {
.header-inner {gap:2rem}
.navigation {gap:1.15rem}
.hero-copy h1 {font-size:2.75vw}
.hero-inner {height:27vw;min-height:240px}
.features li {font-size:.59rem}
.button {min-width:100px;min-height:32px;padding:.45rem .8rem;font-size:.8rem}
.board {grid-template-columns:minmax(145px,19%) minmax(0,1fr);min-height:228px}
.figure-plot>img {max-height:17vw}
.work-caption {display:none}
}
@media(max-width:730px) {
.header-inner,.hero-inner {width:92%}
.header-inner {flex-wrap:wrap;gap:.45rem 1rem;height:auto;min-height:62px;padding:.7rem 0 .55rem}
.navigation {order:3;display:flex;width:100%;justify-content:space-between;gap:.6rem;padding:.2rem 0}
.navigation a,.text-button {font-size:.8rem}
.header-actions {gap:.8rem}
.hero-inner {height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch}
.hero-copy,.monitor,.features {position:static;width:100%}
.hero-copy {padding:1.6rem 0 1.1rem}
.hero-copy h1 {font-size:clamp(1.4rem,4.9vw,2.2rem);white-space:normal}
.intro {font-size:clamp(.93rem,2.9vw,1.15rem)}
.hero-actions .button {min-height:38px;font-size:.9rem;min-width:122px}
.features {order:3;padding:1rem 0;gap:.5rem}
.features li {font-size:clamp(.59rem,1.9vw,.76rem);gap:.2rem}
.feature-icon {width:22px;height:22px}
.monitor {aspect-ratio:1.67;margin-top:.55rem}
.monitor-key {font-size:clamp(.43rem,1.6vw,.65rem)}
.monitor-bar {font-size:.58rem}
.monitor-side {font-size:.8rem}
.bedge {display:none}
.workbench {padding:0 4%}
.work-head,.work-head>div {align-items:flex-start;flex-direction:column;gap:.25rem}
.work-head>div p {padding-left:.85rem}
.board {grid-template-columns:1fr;gap:.65rem}
.sidebar {display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .8rem}
.sidebar h3 {font-size:.9rem}
.sample {margin:0;padding:.3rem .5rem}
.sample img {width:30px;height:30px}
.sample small {display:none}
.view-switch {display:flex;flex:1;justify-content:flex-end}
.view-switch button {width:auto;white-space:nowrap;padding:.4rem .45rem;font-size:.75rem;gap:.2rem}
.panes {grid-template-columns:1fr}
.plot-card {padding:.75rem}
.plot-head h3 {font-size:1rem}
.chart-body {min-height:210px;max-height:none;padding:.6rem}
.figure-plot>img {height:auto;max-height:340px}
.legend,.color-key {font-size:.7rem}
.legend {gap:.5rem}
.work-foot {align-items:flex-start;padding:.75rem 0}
.explanation dl {display:block}
.explanation dd {margin:.15rem 0 .75rem}
}
@media(max-width:450px) {
.view-switch {flex-basis:100%;justify-content:flex-start}
.view-switch button {flex:1;justify-content:center}
}
