/* transformation-transduction-conjugation-quiz: three-route schematic, sorting questions, cross cards, case-file practice with per-option explanations */
.mnemonic{margin:1.2rem 0;padding:.5rem 1.1rem .7rem;background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:12px}
.mnemonic ul{list-style:none;padding:0;margin:.3rem 0}
.mnemonic li{margin:.45rem 0}
.mnemonic b{color:var(--accent)}
.routes{overflow-x:auto}
.routes:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.routes svg{min-width:640px;max-width:640px}
.routes .cell{fill:var(--soft,#f1eedf);stroke:var(--text);stroke-width:2}
.routes .dna{stroke:var(--flow);stroke-width:2.6;fill:none;stroke-linecap:round}
.routes .line{stroke:var(--text);stroke-width:2;fill:none;stroke-linecap:round}
.routes .head{fill:var(--panel);stroke:var(--text);stroke-width:2}
.routes .r-h{font-size:16px;font-weight:700}
.routes .r-s{font-size:13px}
.finder{counter-reset:step;list-style:none;padding:0;margin:1.2rem 0}
.finder>li{counter-increment:step;margin:0 0 .8rem;padding:.75rem 1rem .75rem 3.2rem;position:relative;background:var(--panel);border:1px solid var(--line);border-radius:12px}
.finder>li::before{content:counter(step);position:absolute;left:.9rem;top:.8rem;width:1.7rem;height:1.7rem;border-radius:50%;background:var(--accent);color:var(--panel);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.95rem}
.finder p{margin:.2rem 0}
.side-by-side{display:grid;gap:1rem;margin:1.2rem 0}
@media(min-width:700px){.side-by-side{grid-template-columns:1fr 1fr}}
.side-by-side>div{padding:.3rem 1.1rem .6rem;background:var(--panel);border:1px solid var(--line);border-radius:12px}
.side-by-side h3{margin-top:.8rem}
.cross{margin:1rem 0;padding:.4rem 1.1rem .6rem;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.cross h3{margin:.7rem 0 .3rem}
.cross .result{font-weight:650}
.worked{margin:1.6rem 0;padding:.3rem 1.1rem .8rem;border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:12px;background:var(--panel)}
.worked h3{margin-top:.9rem}
.worked ol{padding-left:1.3rem}
.worked .check{font-size:.95rem;color:var(--muted)}
.worked .check strong{color:var(--text)}
.traps dt{font-weight:650;margin-top:1rem}
.traps dd{margin:.3rem 0 0 1rem}
.case{margin:1.3rem 0;padding:1rem 1.1rem;background:var(--panel);border:1px solid var(--line);border-radius:12px}
.case fieldset{border:0;margin:0;padding:0;min-width:0}
.case legend{font-weight:650;padding:0;margin-bottom:.5rem;line-height:1.5}
.case-tag{display:block;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.2rem}
.case.is-right{border-left:4px solid var(--accent)}
.case.is-wrong{border-left:4px solid var(--flow)}
.why-list{padding-left:1.1rem}
.why-list li{margin:.45rem 0}
.why-list .key-opt{font-weight:650}
.grid-q table{font-size:.95rem}
.grid-q td{position:relative}
.grid-q select{font:inherit;min-height:44px;min-width:6.5rem;padding:.3rem .5rem;border:1px solid var(--muted);border-radius:8px;background:var(--bg);color:var(--text)}
.grid-q select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.grid-q td.cell-right{box-shadow:inset 4px 0 0 var(--accent)}
.grid-q td.cell-wrong{box-shadow:inset 4px 0 0 var(--flow)}
.scoreboard{margin:1.6rem 0;padding:1rem 1.1rem;border:2px solid var(--accent);border-radius:12px;background:var(--panel)}
.scoreboard p{margin:.2rem 0 .6rem}
.scoreboard button{font:inherit;font-size:.95rem;font-weight:650;min-height:44px;padding:.5rem 1.1rem;border-radius:8px;cursor:pointer;border:2px solid var(--accent);background:transparent;color:var(--accent)}
.scoreboard button:focus-visible{outline:3px solid var(--text);outline-offset:2px}
.scoreboard[hidden]{display:none}
.missed a{display:inline-block;min-height:24px;padding:.1rem 0}
