.activity-root{height:100%;display:flex;flex-direction:column;gap:12px;min-height:0}.pro-view{flex:1;min-height:0;position:relative;background:#f0f7f1;border:1px solid #d6e5da;border-radius:20px;overflow:hidden}.pro-view>svg{width:100%;height:100%;display:block}.pro-label{position:absolute;transform:translateY(-10%);background:#fffef7eF;color:#265d40;border:2px solid #a9cbb7;border-radius:12px;font:inherit;font-size:clamp(11px,1vw,16px);padding:10px 12px;max-width:19%;box-shadow:0 3px 8px #2c624412}.pro-label:hover,.pro-label:focus-visible{border-color:#287e4d;box-shadow:0 0 0 4px #81b39440;background:#e9f4ec}.pro-label.explored{background:#e4f2e8;border-color:#6ba57e}.pro-actions{display:flex;justify-content:center}.pro-status{color:#3a7952;text-align:center;font-size:14px}.pro-closeup svg{animation:proZoom .5s ease-out}.selected-part{filter:drop-shadow(0 0 7px #d7ad40);stroke-width:10}.pro-tail{transform-origin:710px 270px;animation:tailRotate 2s ease-in-out infinite}.pro-protein{animation:proteinRise 5s ease-in-out infinite}button:not(:disabled),a,select{cursor:pointer}button:disabled{cursor:default}button:focus-visible{outline:3px solid #b89c46;outline-offset:3px}@keyframes proZoom{from{opacity:.3;transform:scale(.8);transform-origin:center}to{opacity:1;transform:scale(1)}}@keyframes tailRotate{50%{transform:scaleY(.45)}}@keyframes proteinRise{50%{translate:0 -8px}}@media(prefers-reduced-motion:reduce){*{animation:none!important}}@media(max-height:750px){.pro-label{padding:6px 8px}.activity-root{gap:6px}}@media(max-width:720px){.pro-label{font-size:10px;padding:5px}.pro-view{min-height:330px}.instruction-popup{position:absolute;top:10px;max-height:calc(100% - 20px)}}
.pro-view:has(.pro-board){display:flex;align-items:center;justify-content:center;container-type:size}.pro-board{position:relative;width:min(100cqw,175.9cqh);height:min(56.84cqw,100cqh);flex-shrink:0}.pro-board>svg{width:100%;height:100%;display:block}
.pro-label{width:130px;width:13.685%;max-width:none;text-align:center;box-sizing:border-box;padding:8px 5px}.pro-board .pro-tail{animation:none}
.dna-workspace{display:flex;justify-content:center;align-items:center}.dna-actions{gap:8px;flex-wrap:wrap;align-items:center}.dna-actions button{font-size:13px;padding:9px 13px}.fission-stage{color:#326b49;font-size:14px;padding:5px}.dna-new-copy{animation:copyAppear 1.8s both}.septum-grow{stroke-dasharray:270;animation:septumDraw 2s both}.dna-check{width:90%;max-width:760px;display:grid;gap:12px;padding:15px}.dna-check fieldset{border:1px solid #b2cbb9;border-radius:10px;padding:12px;display:flex;gap:10px}.dna-check legend{color:#315b43;font-weight:600;font-size:15px}.dna-check button{flex:1;background:white;border:1px solid #9cbea9;border-radius:8px;padding:12px;color:#335e43;font:inherit;font-size:14px}.dna-check .correct{background:#dbefdf;border:2px solid #3b8e54}#dna-feedback{color:#77512a;min-height:20px}@keyframes copyAppear{from{opacity:0}to{opacity:1}}@keyframes septumDraw{from{stroke-dashoffset:270}to{stroke-dashoffset:0}}@media(max-height:750px){.dna-check{gap:6px}.dna-check button{padding:8px}.dna-check fieldset{padding:8px}}
/* Step 3: process-focused bacterial laboratory. */
.life-hub{display:flex;flex-direction:column;padding:16px}.life-overview{flex:1;min-height:0}.life-overview svg{width:100%;height:100%}.life-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.life-grid button{padding:15px 10px;border:2px solid #b4cebd;border-radius:12px;background:#fffef9;color:#285f42;font:inherit}.life-grid button:hover{background:#e2f0e6;border-color:#398556;box-shadow:0 4px 12px #285f4220}.life-grid .explored{background:#dceee1;border-color:#51936a}.life-controls{display:flex;justify-content:center;align-items:center;gap:12px}.life-controls span{font-size:14px;color:#467557}.life-stage svg text{font-family:inherit;fill:#385e48;font-size:21px}.life-particle,.life-source,.life-atp,.life-daughters,.life-copy,.life-chain,.life-septum{opacity:0}.life-running .life-particle{animation:lifeFlow 4s ease-in-out infinite}.life-running .life-tail{transform-origin:720px 280px;animation:lifeTail .4s ease-in-out infinite alternate}.life-running .life-food{animation:lifeFood 7s both}.life-running .life-enzyme{animation:lifeEnzyme 7s both}.life-running .life-source{opacity:1}.life-running .life-swimmer{animation:lifeSwim 8s ease-in-out both}.life-running .life-atp{animation:lifeATP 4s infinite}.life-running .life-chain{stroke-dasharray:270;animation:lifeChain 8s both}.life-running .life-copy{animation:lifeCopy 8s both}.life-running .life-septum{stroke-dasharray:230;animation:lifeSeptum 8s both}.life-running .life-parent{animation:lifeParent 8s both}.life-running .life-daughters{animation:lifeDaughters 8s both}@keyframes lifeFlow{0%,8%{opacity:0;transform:translate(0,0)}15%{opacity:1}85%{opacity:1;transform:translate(var(--dx),var(--dy))}100%{opacity:0;transform:translate(var(--dx),var(--dy))}}@keyframes lifeTail{to{transform:scaleY(.65)}}@keyframes lifeFood{0%,25%{opacity:1}45%,100%{opacity:0}}@keyframes lifeEnzyme{30%{transform:translate(25px,-40px)}60%,100%{transform:translate(0,0)}}@keyframes lifeSwim{0%{transform:translate(-140px,15px) scale(.8);transform-origin:center}35%{transform:translate(-70px,-15px) scale(.8)}100%{transform:translate(130px,0) scale(.8);transform-origin:center}}@keyframes lifeATP{0%,25%{opacity:0}40%,65%{opacity:1;transform:translate(0,0)}100%{opacity:0;transform:translate(90px,0)}}@keyframes lifeChain{0%{opacity:1;stroke-dashoffset:270}100%{opacity:1;stroke-dashoffset:0}}@keyframes lifeCopy{0%,15%{opacity:0}40%,100%{opacity:1}}@keyframes lifeSeptum{0%,45%{opacity:0;stroke-dashoffset:230}75%,100%{opacity:1;stroke-dashoffset:0}}@keyframes lifeParent{0%,78%{opacity:1}85%,100%{opacity:0}}@keyframes lifeDaughters{0%,78%{opacity:0}85%,100%{opacity:1}}@media(prefers-reduced-motion:reduce){.life-running .life-particle,.life-running .life-atp,.life-running .life-chain,.life-running .life-copy{opacity:1}.life-running .life-daughters{opacity:1}.life-running .life-parent{opacity:0}}@media(max-width:700px){.life-grid{grid-template-columns:repeat(2,1fr)}.life-grid button{padding:8px}.life-controls{flex-wrap:wrap}}@media(max-height:750px){.life-grid button{padding:8px}.life-hub{padding:8px}}
