.footer-controls{display:flex;gap:10px;align-items:center}.sound-status:empty{display:none}.sound-active{background:#e5f3e9;border:2px solid var(--green)}.workspace{padding:16px 24px;grid-template-columns:minmax(0,1fr) 290px}.stage{height:min(47vh,420px);min-height:240px;position:relative;overflow:hidden;background:#f5faf7;border-radius:16px;display:flex;align-items:center;justify-content:center}.stage svg{height:100%;width:100%}.stage>img{height:100%;max-width:100%;object-fit:contain}.activity-card{padding:14px;background:white;border:1px solid var(--line);border-radius:18px}.scene-controls{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:12px}.scene-controls button[aria-pressed=true],.selected{border:2px solid var(--green);background:var(--soft)}.caption{text-align:center;font-size:13px;color:var(--muted);margin:7px 0}.guide-body p{margin:10px 0}.guide-body h3{margin:0}.subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.subnav span{font-size:13px;color:var(--muted)}.cell-camera{position:relative;width:100%;height:100%;transform-origin:50% 50%}.cell-camera img{width:100%;height:100%;object-fit:contain}.nucleus-hit{position:absolute;left:42%;top:38%;border:3px solid var(--green);background:#ffffffdf}.chromatin{position:absolute;inset:15% 25%;background:#e5dff2ee;border:4px solid #a99cbe;border-radius:50%;display:flex;align-items:center;justify-content:center}.chromatin svg{width:90%;height:90%}.chromatin button{position:absolute;bottom:12%}.component-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;width:100%;padding:20px}.component-grid button{background:#fff;min-width:0}.component-grid svg{height:150px}.build-slots{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;padding:20px}.build-slots button{height:150px;width:28%;border:2px dashed #8aad99}.shape{cursor:grab}.shape svg{width:80px;height:70px;pointer-events:none}.flip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;padding:16px}.flip-card{padding:0;border:0;background:transparent;perspective:900px;height:270px}.flip-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .65s}.flipped .flip-inner{transform:rotateY(180deg)}.face{position:absolute;inset:0;backface-visibility:hidden;border:1px solid var(--line);border-radius:14px;background:white;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center}.face img{width:100%;height:150px;object-fit:contain}.face.back{transform:rotateY(180deg);background:var(--soft);font-size:16px}.compare{display:flex;width:100%;height:100%;gap:15px}.compare>div{width:50%;text-align:center}.compare svg{height:85%}.bases{display:flex;gap:8px;justify-content:center;padding-top:70px}.base{padding:15px;border-radius:8px;font-size:25px;font-weight:bold}.organisms{display:flex;align-items:start;width:100%;height:100%;padding:15px}.organisms button{width:33.3%;background:transparent;border:0}.organisms svg{height:160px}.sequence{font-family:monospace;letter-spacing:5px;font-size:27px;text-align:center}.sequence mark{background:#f5d58d;border-radius:5px}.answers{display:grid;gap:8px}.answers button{text-align:left}.poly-row{animation:join .8s both;animation-delay:calc(var(--i)*.5s)}@keyframes join{from{opacity:0;transform:translateX(-120px)}to{opacity:1;transform:translateX(0)}}.flash{animation:appear .5s both}@keyframes appear{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.peptide circle{animation:join .8s both;animation-delay:calc(var(--i)*.4s)}.peptide line{animation:appear .7s both;animation-delay:calc(var(--i)*.4s + .3s)}.tree path{stroke-dasharray:600;stroke-dashoffset:600;animation:branch 2s forwards}@keyframes branch{to{stroke-dashoffset:0}}button:focus-visible{outline:3px solid #a278cb;outline-offset:3px}#scene h2{margin:4px 0 10px;font-size:24px}.busy{pointer-events:none}.status{min-height:24px}.complete{padding:30px;text-align:center}.complete h2{color:var(--green)}@media(max-height:800px) and (min-width:1000px){body{padding:0}.module-shell{min-height:100vh}.module-topbar{padding:10px 22px}#steps{padding:10px 22px}.workspace{padding:10px 22px}.stage{height:340px;min-height:230px}footer{padding:10px 22px}.guide-body{padding:15px}.guide-body p{font-size:14px}.flip-card{height:260px}}@media(max-width:900px){.workspace{grid-template-columns:1fr 240px;padding:12px;gap:12px}.flip-grid{gap:6px;padding:5px}.face{padding:8px}.face.back{font-size:14px}.component-grid{padding:5px;gap:5px}.component-grid svg{height:100px}}@media(max-width:700px){.workspace{grid-template-columns:1fr}#guide{order:2}.stage{height:340px}.footer-controls{flex-wrap:wrap}.flip-card{height:290px}.sequence{font-size:20px;letter-spacing:2px}.module-brand h1{font-size:20px}.build-slots{padding:6px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}}
.inside-nucleus>img{transform:scale(2.7);opacity:.15}.nucleotide-detail{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}.nucleotide-detail>svg{height:76%;width:100%}.nucleotide-detail .scene-controls{margin:0}#built{display:flex;align-items:center;gap:10px;padding:3px 10px}#built svg{width:135px;height:45px}.stage rect[role=button]{cursor:pointer}.stage rect[role=button]:focus{stroke:#9569bc;stroke-width:5}.stage:has(.tree){height:240px;min-height:200px}.stage:has(.tree)~.scene-controls .answers{width:100%}.stage:has(.tree)~.scene-controls .answers button{padding:8px 14px;min-height:42px}
.tree-organisms>svg{animation:tree-tip 1.2s both}@keyframes tree-tip{from{transform:translateY(120px) scale(.7);opacity:.3}to{transform:translateY(0) scale(1);opacity:1}}
.complement{animation:complement-in .8s 2.2s both}@keyframes complement-in{from{opacity:0;transform:translateX(80px)}to{opacity:1;transform:translateX(0)}}
.shape{display:flex;align-items:center;gap:6px;padding:5px 9px}.shape svg{width:42px;height:42px}.build-slots button svg{max-height:105px}.scene-controls:has(.shape){flex-wrap:nowrap}.scene-controls:has(.shape) button{font-size:14px}@media(max-width:700px){.scene-controls:has(.shape){flex-wrap:wrap}}

/* Annotated review: reduce repeated headings and give the artwork more room. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.module-brand img{width:56px;height:62px;object-fit:contain}.module-brand h1{font-size:27px}.module-topbar{padding:12px 24px}.workspace{padding-top:10px}.scene-controls:empty{display:none}.stage{height:min(55vh,500px)}.cell-stage{background:#fff;height:min(62vh,570px)}.cell-illustration{display:block;width:100%;height:100%}.nucleus-target{cursor:pointer;fill:transparent;stroke:transparent;stroke-width:3}.nucleus-target:hover,.nucleus-target:focus-visible{stroke:#247946;stroke-dasharray:7 5;outline:none;fill:#ffffff10}.guide-body .goal p{margin:0}.guide-body #feedback:empty{display:none}
@media(max-height:800px) and (min-width:1000px){.cell-stage{height:calc(100vh - 255px);min-height:300px}.stage:not(.cell-stage){height:360px}.stage:has(.tree){height:240px}.module-topbar{padding:8px 22px}.module-brand img{width:48px;height:52px}}
@media(max-width:700px){.module-brand h1{font-size:20px}.module-brand img{width:42px;height:48px}.cell-stage{height:400px;min-height:270px}}
.dna-hotspot{cursor:pointer;outline:none}.dna-hotspot:focus-visible{filter:drop-shadow(0 0 5px #236a43)}.dna-hotspot:hover{filter:brightness(1.08)}.dna-letters,.base-label{font:700 23px system-ui;text-anchor:middle;fill:#293e36;pointer-events:none}.base-pulse{animation:dna-hint 2.4s ease-in-out infinite}.explored .base-pulse{animation:none}.dna-hotspot.explored{filter:drop-shadow(0 0 2px #4c8c66)}@keyframes dna-hint{50%{filter:brightness(1.2);opacity:.65}}.stage:has(.dna-close),.stage:has(.dna-schematic){height:min(62vh,570px)}@media(max-height:800px) and (min-width:1000px){.stage:has(.dna-close),.stage:has(.dna-schematic){height:calc(100vh - 295px);min-height:300px}}

/* Keep explored feature families visibly illuminated, including after revisiting. */
.dna-schematic .dna-hotspot.explored{filter:drop-shadow(0 0 4px #30bb73) drop-shadow(0 0 9px #60db9b)}
.dna-schematic .dna-hotspot.explored>circle,.dna-schematic .dna-hotspot.explored>rect:not([fill="transparent"]),.dna-schematic .dna-hotspot.explored>path:not([stroke="transparent"]){stroke:#16864c;stroke-width:3.5}
.builder-piece{width:100px;height:70px;padding:8px;cursor:grab}.builder-piece svg{width:100%;height:100%}.builder-piece:disabled{opacity:.2}.build-target,.gap-target{cursor:pointer;outline:none}.build-target:focus-visible,.gap-target:focus-visible{filter:drop-shadow(0 0 5px #238c50)}.built-nucleotide{display:flex;align-items:center;gap:12px;padding:4px 14px;cursor:grab}.built-nucleotide svg{width:150px;height:70px}.builder-dna{max-height:100%}.stage:has(.builder-dna){height:min(57vh,540px)}@media(max-height:800px) and (min-width:1000px){.stage:has(.builder-dna){height:calc(100vh - 330px);min-height:290px)}}
.built-nucleotide>*{pointer-events:none}.builder-piece>*{pointer-events:none}

/* Keep comparison illustrations fully visible. */
.compare > div{display:flex;flex-direction:column;align-items:center;min-height:0}.compare > div > svg{flex:1;min-height:0;width:100%;height:calc(100% - 30px)}

/* RNA component matching: labels connect to the diagram, with touch/keyboard alternatives. */
.rna-labeling{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;padding:12px;gap:12px}.rna-label-diagram{width:100%;min-height:0;flex:1;display:flex;flex-direction:column}.rna-label-diagram>svg{width:100%;height:calc(100% - 52px);min-height:110px;flex:1}.rna-drop-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 2%}.rna-drop{font-size:14px;min-height:48px;padding:6px;border:2px dashed #85ad98;background:#fff}.rna-drop.matched{opacity:1;color:#176d3c;border-style:solid;background:#e6f3e9}.rna-label-bank{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.rna-label-bank button{font-size:14px;padding:10px;cursor:grab}.rna-label-bank button[aria-pressed="true"]{background:#d7eddd;outline:3px solid #217a45}.rna-label-hint{font-size:13px;margin:0;text-align:center;color:#456450}@media(max-width:600px){.rna-labeling{padding:6px;gap:8px}.rna-drop{font-size:12px}.rna-label-bank button{font-size:12px;padding:8px}}

.rna-label-diagram>svg{object-fit:contain}.rna-drop-row{margin:0}

.a12-completion{border:1px solid #c8ded0;border-radius:28px;padding:36px;max-width:600px;width:calc(100% - 32px);max-height:90vh;overflow:auto;text-align:center;color:#20362b;background:#fff;box-shadow:0 28px 80px #163c2933}.a12-completion::backdrop{background:#153b2a88;backdrop-filter:blur(5px)}.a12-completion .completion-burst{font-size:48px;margin-bottom:12px}.a12-completion .completion-eyebrow{letter-spacing:.16em;font-size:13px;font-weight:800;color:#217a45}.a12-completion h2{font-size:30px;margin:12px 0}.a12-completion>p{line-height:1.6}.a12-completion .completion-progress{padding:18px;background:#eff7f1;border:1px solid #c8ded0;border-radius:16px;text-align:left;margin:24px 0}.a12-completion progress{width:100%;accent-color:#25814a}.a12-completion .completion-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.a12-completion a{padding:12px 18px;border:1px solid #a8cdb5;border-radius:12px;color:#176d3c;text-decoration:none;display:inline-flex;align-items:center;font-weight:700}@media(prefers-reduced-motion:no-preference){.a12-completion[open]{animation:a12-popup .3s ease-out}.a12-completion[open] .completion-burst{animation:a12-burst .55s ease-out}@keyframes a12-popup{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes a12-burst{0%{transform:scale(.6)}65%{transform:scale(1.12)}100%{transform:scale(1)}}}
