.kseq{--ink:#152b39;--muted:#4a6678;--edge:#bbccd4;--air:#91fcff;color:var(--ink);background:#f3f6f7;scroll-margin-top:5rem}
.kseq .kseq-intro{max-width:68ch;color:#435d6c;margin:.45rem 0 1.6rem}
.kseq-panel{overflow:hidden;border:1px solid #a5b8c4;border-radius:.85rem;background:#fff;box-shadow:0 16px 44px -30px #173a4a90}
.kseq-panel [hidden]{display:none!important}
.kseq-top{display:flex;justify-content:space-between;align-items:center;padding:.75rem clamp(.85rem,2vw,1.6rem);background:#132b39;color:#fff;gap:.5rem}
.kseq-top>div:first-child{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap}
.kseq-top strong{font-size:1.12rem;line-height:1.15}
.kseq-count{font-size:.82rem;color:#d2e2ea;font-variant-numeric:tabular-nums}
.kseq-count:before{content:"";display:inline-block;margin-right:.45rem;width:.52rem;height:.52rem;border-radius:50%;background:#a2ddd5}
.kseq-actions{display:flex;gap:.4rem}
.kseq-actions button{display:grid;place-items:center;width:44px;height:44px;background:#203f50;border:1px solid #587281;color:white;border-radius:.45rem;cursor:pointer;font-size:0}
.kseq-actions button:hover{background:#34546a}
.kseq-actions button:focus-visible,.kseq-article:focus-visible{outline:3px solid #edaa35;outline-offset:2px}
.kseq-actions [data-ks="play"]:before{content:"";width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:12px solid white}
.kseq[data-playing="true"] .kseq-actions [data-ks="play"]:before{box-sizing:border-box;width:12px;height:15px;border:0;border-left:4px solid white;border-right:4px solid white}
.kseq-actions [data-ks="replay"]:before{content:"↺";font:1.65rem/1 system-ui}
.kseq-columns{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.kseq-room{position:relative;isolation:isolate;overflow:hidden;padding:1rem 1.35rem .8rem;background:linear-gradient(150deg,#f6f8f8,#d6e1e6 84%,#bacbd3);border-right:1px solid var(--edge);display:flex;flex-direction:column}
.kseq-machines{position:relative;isolation:isolate;display:flex;flex-direction:column-reverse;justify-content:flex-start;flex:1;min-height:300px;padding:.35rem 0;gap:.5rem}
.kseq-machines:before{content:"";position:absolute;right:0;top:4%;bottom:-.3rem;width:15px;border:1px solid #667c86;border-radius:5px 5px 0 0;background:linear-gradient(90deg,#647b85,#c1d0d6 22%,#edf4f5 42%,#8fa6b1 75%,#566f7d);box-shadow:4px 3px 4px #26415428}
.kseq-unit{display:grid;grid-template-columns:minmax(100px,.95fr) minmax(88px,1fr) minmax(34px,.36fr);align-items:center;position:relative;min-height:99px;animation:kseq-enter .65s ease-out both;color:var(--ink)}
.kseq-unit-info{min-width:0;display:grid;justify-items:start;align-content:center;gap:.15rem;line-height:1.25}
.kseq-unit-info strong{font-size:clamp(.9rem,1.45vw,1.13rem)}
.kseq-link,.kseq-unit small{font-size:.76rem;color:#3b5262;font-variant-numeric:tabular-nums}
.kseq-link:before{content:"";display:inline-block;width:.42rem;height:.42rem;border-radius:50%;margin-right:.36rem;background:#8999a3}
.kseq-unit[data-connected="true"] .kseq-link:before{background:#137461}
.kseq-tags{display:flex;align-items:center;gap:.28rem;flex-wrap:wrap;font-size:.75rem}
.kseq-role{font-weight:650;color:#344e60}.kseq-state{font-weight:700;color:#3f505b}
.kseq-tags .kseq-state:before{content:"·";margin-right:.28rem;color:#607681}
.kseq-unit[data-loaded="true"] .kseq-state{color:#046350}
.kseq-package{position:relative;display:grid;align-items:center;z-index:2}
.kseq-package img{display:block;justify-self:end;width:100%;max-width:130px;height:auto;filter:drop-shadow(2px 5px 3px #1e3c4755)}
.kseq-branch{position:relative;margin-top:1.65rem;margin-left:-3px;margin-right:7px;height:13px;background:linear-gradient(#4c6674,#b9cbd1 17%,#edf3f4 38%,#8da3ad 66%,#546d7a 100%);border:1px solid #647c88;border-radius:0 2px 2px 0}
.kseq-branch:before,.kseq-branch:after{content:"";position:absolute;top:-3px;height:16px;width:5px;background:linear-gradient(#647986,#d0dce0,#748d99);border:1px solid #59717e;border-radius:2px}
.kseq-branch:before{left:1px}.kseq-branch:after{right:1px}
.kseq-unit[data-loaded="true"] .kseq-branch i{position:absolute;inset:3px 6px;background:repeating-linear-gradient(112deg,transparent 0 4px,#b8ffff 5px 10px,#268eac 11px 17px);background-size:18px 100%;animation:kseq-air .58s linear infinite}
.kseq-wave{position:absolute;z-index:3;right:15%;top:6%;width:35px;height:35px;pointer-events:none}
.kseq-wave i{display:none;position:absolute;bottom:0;left:0;width:36px;height:36px;border:3px solid transparent;border-top-color:#006ca3;border-radius:50%;transform-origin:50% 100%}
.kseq-unit:is([data-discovering="true"],[data-scanning="true"]) .kseq-wave i{display:block;animation:kseq-wave 1.3s ease-out infinite}
.kseq-wave i:nth-child(2){animation-delay:.28s!important}.kseq-wave i:nth-child(3){animation-delay:.56s!important}
.kseq-header-label{align-self:end;position:relative;z-index:1;background:#344b58;color:#fff;border-radius:3px;padding:.22rem .45rem;line-height:1.2;font-size:.74rem;font-weight:650}
.kseq-instruments{min-width:0;padding:1.2rem clamp(.85rem,2vw,1.5rem);display:flex;flex-direction:column;gap:1rem}
.kseq-readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #dce5e9;padding-bottom:.95rem;gap:.5rem}
.kseq-readouts>div{display:grid;align-content:start;gap:.15rem}
.kseq-readouts span{font-size:.76rem;color:var(--muted);font-weight:600}
.kseq-readouts b{color:var(--ink);font-size:clamp(1rem,1.65vw,1.35rem);line-height:1.2;font-variant-numeric:tabular-nums}
.kseq-chart{margin:0;min-width:0}
.kseq-chart figcaption{font-size:.9rem;font-weight:700;margin-bottom:.4rem;color:var(--ink)}
.kseq-chart canvas{width:100%;height:clamp(305px,26vw,375px);display:block}
.kseq-story{padding:.85rem clamp(.85rem,2vw,1.6rem);border-top:1px solid var(--edge);background:#f6f9fa;min-height:4.5rem}
.kseq-story strong{color:var(--ink)}.kseq .kseq-story p{font-size:.9rem;color:#3d5665;margin:.22rem 0 0;line-height:1.4}
.kseq .kseq-note{max-width:76ch;margin:1.1rem 0 0;color:#435d6c}
.kseq-article{display:inline-block;margin-top:.85rem;font-weight:700}
.kseq-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.kseq[data-playing="false"] .kseq-wave i,.kseq[data-playing="false"] .kseq-branch i{animation-play-state:paused!important}
@keyframes kseq-enter{from{transform:translateY(-1.5rem);opacity:0}to{transform:none;opacity:1}}
@keyframes kseq-air{to{background-position:18px 0}}
@keyframes kseq-wave{from{transform:translate(0,-3px) scale(.4);opacity:0}25%{opacity:1}to{transform:translate(0,-14px) scale(1.1);opacity:0}}
@media(max-width:820px){.kseq-columns{grid-template-columns:minmax(0,1fr)}.kseq-room{border-right:0;border-bottom:1px solid var(--edge)}.kseq-machines{min-height:285px}.kseq-unit{min-height:85px;grid-template-columns:minmax(108px,1fr) minmax(88px,1fr) minmax(48px,.65fr)}.kseq-package img{max-width:112px}.kseq-chart canvas{height:300px}.kseq-room{padding:.8rem clamp(.85rem,4vw,2rem)}}
@media(max-width:450px){.kseq-top>div:first-child{display:grid;gap:.18rem}.kseq-instruments{padding:.85rem .65rem}.kseq-unit{min-height:82px}.kseq-unit-info strong{font-size:.92rem}.kseq-readouts span{font-size:.73rem}.kseq-chart canvas{height:285px}}
@media(prefers-reduced-motion:reduce){.kseq-unit,.kseq-wave i,.kseq-branch i{animation:none!important}.kseq-unit:is([data-discovering="true"],[data-scanning="true"]) .kseq-wave i:first-child{opacity:1}}

#compressor-sequencing{padding-top:clamp(1.2rem,3vw,2.5rem)}
#kseq-title{font-size:clamp(1.95rem,3.5vw,3.25rem);line-height:1.08;margin:.4rem 0 .65rem;max-width:none}
.kseq .kseq-intro{max-width:88ch;margin:.4rem 0 1rem}
.kseq-machines{justify-content:center}
