@import url('../styles.css');
:root{--ink:#06131d;--line:#29434e;--cyan:#92f4e5;--pink:#f2a0ca;--muted:#9eb3bc}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 30%,#12313b,#06121b 68%);color:#e5f0f1;font-family:Arial,Helvetica,sans-serif}body header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 4%;background:#06131dc9;border-bottom:1px solid var(--line);position:static}header a{font-size:14px;color:var(--cyan)}header>span{font-size:11px;letter-spacing:.15em;color:var(--muted)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:1px solid #52717d;border-radius:5px;padding:10px 13px;background:transparent;color:#e5f0f1}button:hover{background:#23434c}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #f4d891;outline-offset:4px}button:disabled{opacity:.35;cursor:default}main{max-width:1510px;margin:auto;padding:28px 4% 20px}.masthead{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font:11px monospace;letter-spacing:.16em;color:var(--cyan);margin:0 0 12px}h1{font-size:clamp(30px,3.6vw,53px);font-weight:600;letter-spacing:-.045em;line-height:1.1;margin:0}.case-tag{font:11px/1.6 monospace;color:#b9d1d8;letter-spacing:.11em;border-left:2px solid var(--cyan);padding-left:15px}.steps{display:grid;grid-template-columns:repeat(6,1fr);list-style:none;padding:0;margin:24px 0 20px;gap:6px}.steps li{font:12px monospace;border-top:2px solid #29414c;padding:12px 0;color:#8ca3ae}.steps li span{margin-left:7px}.steps li.active{border-color:var(--cyan);color:var(--cyan)}.steps li.done{border-color:#4a8a86;color:#b5cece}.workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);border:1px solid #3d5b66;border-radius:12px;overflow:hidden;box-shadow:0 25px 70px #0004;background:#091922}.visual{min-width:0;position:relative;background:radial-gradient(ellipse at center,#10303b,#07131c);display:flex;flex-direction:column;min-height:570px}.visual-bar{display:flex;justify-content:space-between;gap:12px;font:10px monospace;letter-spacing:.1em;padding:17px 20px;border-bottom:1px solid var(--line);color:#afc9d2}.live-dot{color:var(--cyan)}.sample{display:flex;align-items:center;justify-content:center;gap:42px;padding:50px 35px;flex:1}.tube{position:relative;flex:none;width:95px;height:280px;border:2px solid #adcdd275;border-radius:14px 14px 45px 45px;background:linear-gradient(90deg,#b7e5ed29,#fff1,#91d6e727);transform:rotate(-9deg);box-shadow:14px 20px 38px #0006}.cap{position:absolute;left:-6px;right:-6px;top:-8px;height:43px;border:1px solid #c199e1;border-radius:7px;background:repeating-linear-gradient(90deg,#82529c 0 5px,#63417a 5px 8px)}.blood{position:absolute;bottom:3px;left:4px;right:4px;height:170px;border-radius:0 0 40px 40px;background:linear-gradient(90deg,#720f31,#b3264b,#600f2d)}.tube-label{position:absolute;top:65px;left:4px;right:4px;padding:15px 3px;background:#e4e6dc;color:#233441;font:8px/2 monospace;text-align:center}.sample-copy{max-width:270px}.sample-copy h2{font-size:clamp(28px,3vw,40px);line-height:1.15;margin:20px 0}.sample-copy p{font-size:15px;line-height:1.6;color:#b5c9d1}.pill{font:10px monospace;padding:6px 9px;border:1px solid #76999c;color:var(--cyan);border-radius:3px}.alert{margin-top:24px;padding:15px;border-left:3px solid var(--pink);background:#a93d641c;color:#ffb6ce;font-size:13px;line-height:1.7;animation:alert-pulse 2.5s ease-in-out infinite}.alert strong{font-size:16px}figure{margin:0;padding:24px;flex:1;display:flex;flex-direction:column;justify-content:center}figure img{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:4px}figcaption{font-size:11px;color:#a9bec5;line-height:1.5;margin-top:14px}.brief{min-width:0;overflow-wrap:break-word;padding:26px 30px 23px;border-left:1px solid var(--line);display:flex;flex-direction:column;background:#0c1e28}.brief-top{display:flex;justify-content:space-between;font:10px monospace;letter-spacing:.1em;color:#91abb5;padding-bottom:28px}#narrative h2{font-size:clamp(26px,2.8vw,39px);line-height:1.13;letter-spacing:-.035em;margin:0 0 17px}#description{font-size:17px;line-height:1.6;color:#c6d6dc;margin-bottom:22px}.controls{margin-top:auto;padding-top:24px}.primary{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;background:var(--cyan);border-color:var(--cyan);color:#062024;font-weight:700;padding:17px 18px}.primary:hover{background:#c2fff2}.secondary{display:flex;justify-content:space-between;margin-top:12px}.secondary button{font-size:12px;border:0;color:#b5ccd4;padding:7px 0}.instrument{display:flex;align-items:center;gap:12px;margin:15px 22px 0}.flow-label{font:8px/1.5 monospace;color:#a3c4ca;max-width:110px}.channel{position:relative;overflow:hidden;flex:1;height:38px;border-top:1px solid #486b7a;border-bottom:1px solid #486b7a;background:#22576322}.channel i{position:absolute;width:10px;height:10px;background:#d4b8f5;border-radius:50%;top:13px;left:-12px;animation:cell-pass 1.6s linear infinite;animation-play-state:paused}.channel i:nth-child(2){animation-delay:-.32s}.channel i:nth-child(3){animation-delay:-.64s}.channel i:nth-child(4){animation-delay:-.96s}.channel i:nth-child(5){animation-delay:-1.28s}.running .channel i{animation-play-state:running}.beam{position:absolute;left:55%;height:38px;width:3px;background:#b1fff4;box-shadow:0 0 16px 4px #41ffdd99}.detector{position:absolute;left:48%;width:18%;bottom:-1px;height:3px;background:#ec9ff7}.plot-wrap{position:relative;margin:0 12px}canvas{display:block;width:100%;height:auto}#gate-label{position:absolute;left:25%;top:54%;font:9px monospace;color:#ffb8dd;background:#171b2be8;padding:6px;border:1px solid #c07eaa}.plot-footer{display:flex;justify-content:space-between;gap:10px;margin:0 24px;font:9px monospace;color:#9fb9c6}.plot-footer strong{color:var(--cyan);font-size:20px}.plot-note{font-size:11px;color:#96b1bd;padding:12px 24px;line-height:1.5}#markers article{display:flex;align-items:center;gap:18px;border-top:1px solid #37535e;padding:12px 0}#markers b{white-space:nowrap;font:700 20px monospace;color:#f8c0de}#markers b span{color:#a2f7d6}#markers p{font-size:13px;line-height:1.5;margin:0;color:#c8d9df}#markers .marker-note{font-size:11px;color:#99b3bf;margin-top:15px}.question{font:16px/1.6 monospace;color:var(--pink)}#theory>p:nth-child(2){font-size:28px;line-height:1.25}#theory span{font-size:12px;color:#9ab5bf}#conclusion{padding:45px 35px;position:relative;flex:1;overflow:hidden}#conclusion .suspected{font:12px monospace;letter-spacing:.3em;color:#f4bacf;margin:27px 0 12px}#conclusion h2{font-size:clamp(32px,4vw,61px);line-height:1.04;letter-spacing:-.05em;margin:0}#conclusion em{color:#a0f5e7;font-style:normal}#conclusion>p:not(.eyebrow):not(.suspected):not(.reveal-abbrev){max-width:360px;line-height:1.6;color:#c0d4d9;font-size:16px}.reveal-abbrev{font:bold 86px monospace;color:#8ce9e410;position:absolute;right:10px;bottom:28px;transform:rotate(-90deg);transform-origin:center;pointer-events:none}.conclusion-line{border-top:1px solid #3c676b;padding-top:18px;margin-top:25px;max-width:340px;color:#a1c1ca;font-size:13px;line-height:1.5}#caution{border-left:2px solid #8fded5;padding-left:16px}#caution h3{font-size:15px;color:#c2f4e9;margin-top:0}#caution p{font-size:12px;line-height:1.65;color:#b4cbd5}footer{display:flex;justify-content:space-between;gap:20px;padding:21px 0;font:10px monospace;color:#8ea8b3}footer details{max-width:640px;text-align:right}footer details[open]{text-align:left}footer summary{cursor:pointer}footer p{font:12px/1.6 Arial,sans-serif}a{color:#a7e8e1}#flow[hidden],[hidden]{display:none!important}.paused *, .paused .running .channel i{animation-play-state:paused!important}@keyframes alert-pulse{50%{background:#a93d6440;box-shadow:0 0 20px #c4506d16}}@keyframes cell-pass{to{left:105%}}@media(max-width:950px){main{padding:22px 3%}.workspace{grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr)}.brief{min-width:0;overflow-wrap:break-word;padding:23px}.sample{gap:24px;padding:30px 20px}.tube{width:74px;height:245px}.sample-copy h2{font-size:28px}.visual{min-height:530px}.steps li{font-size:10px}.steps li span{margin-left:3px}}@media(max-width:700px){header>span{display:none}body header{padding:14px 4%}header button{font-size:11px}.masthead{align-items:flex-start}.case-tag{display:none}.workspace{grid-template-columns:1fr}.visual{min-height:370px}.brief{border-left:0;border-top:1px solid var(--line);padding:23px}.sample{padding:35px 28px;gap:28px}.sample-copy h2{font-size:30px}.sample-copy p{font-size:13px}.tube{height:240px;width:75px}.steps li span{display:none}.steps li{font-size:12px}.steps li.active span{display:inline;font-size:9px}.steps li.active{grid-column:span 2}.steps{grid-template-columns:repeat(7,1fr);margin:20px 0 12px}.brief-top{padding-bottom:20px}#narrative h2{font-size:30px}#description{font-size:16px}figure img{max-height:320px}.visual-bar{padding:14px;font-size:8px}footer{flex-direction:column}footer details{text-align:left}.plot-footer{font-size:8px}#conclusion{padding:32px}#conclusion h2{font-size:43px}.reveal-abbrev{display:none}.controls{padding-top:20px}.instrument{margin-inline:16px}.flow-label{font-size:7px;max-width:85px}#gate-label{font-size:7px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Linked flow views keep the same event population visible simultaneously. */
.flow-mode .workspace{grid-template-columns:1fr}.flow-mode .visual{min-height:0}.linked-plots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 20px 12px}.plot-panel{min-width:0;background:#07151f;border:1px solid #28434f;border-radius:7px;overflow:hidden}.plot-panel h3{font-size:13px;font-weight:500;color:#c9dce2;margin:0;padding:13px 14px;border-bottom:1px solid #28434f}.plot-panel h3 span{color:#83d8cf;font:11px monospace;margin-right:8px}.plot-panel p,.plot-panel #gate-label{position:static;margin:0;padding:0 12px 12px;font:11px/1.5 monospace;color:#f5b7da;background:none;border:0}.flow-mode .brief{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(200px,.75fr);gap:15px 28px;padding:20px 25px}.flow-mode .brief-top{grid-column:1/-1;padding:0}.flow-mode #narrative h2{font-size:29px}.flow-mode #description{font-size:14px;margin-bottom:0}.flow-mode .controls{grid-column:3;margin:0;padding-top:0;align-self:end}.flow-mode #markers,.flow-mode #theory{grid-column:2;grid-row:2}.flow-mode #markers article{padding:7px 0}.flow-mode #markers .marker-note{font-size:10px;margin-top:8px}.flow-mode #theory>p:nth-child(2){font-size:23px}.flow-mode .plot-note{margin:0;padding-top:10px;padding-bottom:14px}.flow-mode .instrument{max-width:620px;width:calc(100% - 44px);margin:15px auto 0}.flow-mode .plot-footer{margin-inline:24px}.flow-mode .visual-bar{padding-block:13px}
@media(max-width:950px){.linked-plots{gap:8px;padding:14px 12px}.plot-panel h3{font-size:11px;padding:11px 8px}.flow-mode .brief{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.flow-mode .controls{grid-column:1/-1}.plot-panel p,.plot-panel #gate-label{font-size:9px;padding-inline:8px}}
@media(max-width:700px){.linked-plots{grid-template-columns:1fr;padding:12px 16px;gap:14px}.plot-panel h3{font-size:14px}.plot-panel p,.plot-panel #gate-label{font-size:11px}.flow-mode .brief{display:flex;gap:16px;padding:23px}.flow-mode .controls{width:100%}.flow-mode #narrative h2{font-size:30px}.flow-mode #description{font-size:16px}}
