.rep9-panel{margin:2rem 0 3rem;padding:clamp(1rem,3vw,2rem);background:#edf2e4;border:1px solid #d3e1d1;border-radius:16px}.rep9-top{display:flex;justify-content:space-between;align-items:start;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.rep9-top h3{margin:.25rem 0 0;font-size:1.2rem}.rep9-kicker{font-size:.75rem;font-weight:800;letter-spacing:.1em;color:#557b60}.rep9-legend{display:flex;gap:.8rem;flex-wrap:wrap;font-size:.88rem;color:#38534a}.rep9-legend span{display:flex;align-items:center;gap:.35rem}.rep9-legend i{width:.9rem;height:.9rem;border-radius:50%;display:inline-block}.rep9-old-key{background:#4c7fa2}.rep9-new-key{background:#c77950}.rep9-chart-wrap{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #d5e3d2;border-radius:10px;background:#fff}.rep9-chart-wrap svg{display:block;width:100%;min-width:720px;height:auto;font-family:Arial,sans-serif}.rep9-strand{transition:transform .9s ease}.rep9-backbone{stroke-width:8;stroke-linecap:round}.rep9-connector{stroke-width:4;stroke-linecap:round}.rep9-old .rep9-backbone,.rep9-old .rep9-connector{stroke:#4c7fa2}.rep9-new .rep9-backbone,.rep9-new .rep9-connector{stroke:#c77950}.rep9-bases rect{stroke-width:2}.rep9-old .rep9-bases rect{fill:#d9e9f3;stroke:#4c7fa2}.rep9-new .rep9-bases rect{fill:#fae4d5;stroke:#c77950}.rep9-bases text{font-size:21px;font-weight:700;fill:#24483f}.rep9-old .rep9-structure,.rep9-old .rep9-bases{opacity:1}.rep9-new .rep9-structure,.rep9-new .rep9-bases{opacity:0;transition:opacity .6s ease}.rep9-new.show-bases .rep9-bases,.rep9-new.show-structure .rep9-structure{opacity:1}.rep9-diagram-label{font-size:17px;font-weight:700;fill:#315c46}.rep9-products,#rep9-parent-label{transition:opacity .6s ease}.rep9-controls{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.rep9-controls button,.rep9-options button,.rep9-check{font:inherit;cursor:pointer;border:1px solid #afc6b1;background:#fff;color:#254c36;border-radius:8px;padding:.7rem 1rem;font-weight:700}.rep9-controls button:hover,.rep9-options button:hover,.rep9-check:hover{background:#e0f0da}.rep9-controls button:focus-visible,.rep9-options button:focus-visible,.rep9-check:focus-visible,.rep9-inputs select:focus-visible,.rep9-inputs input:focus-visible{outline:3px solid #367451;outline-offset:2px}.rep9-controls button:disabled{opacity:.45;cursor:default}.rep9-controls #rep9-play{background:#295b3d;color:#fff;border-color:#295b3d}.rep9-step{background:#fff;border-radius:10px;padding:1rem 1.2rem}.rep9-step h3{margin:0 0 .5rem;font-size:1.15rem}.rep9-step p{margin:.4rem 0;line-height:1.55}.rep9-step-detail{color:#4b6755}.rep9-note,.rep9-source{font-size:.9rem;line-height:1.55;color:#52685b}.rep9-note{margin:1rem 0 0}.rep9-source{margin:2rem 0}.rep9-question{margin:1rem 0;padding:1.2rem;border:1px solid #d5e2d1;background:#f8fbf6;border-radius:12px}.rep9-question h3{margin:0 0 .9rem;font-size:1.05rem;line-height:1.4}.rep9-options{display:grid;gap:.5rem}.rep9-options button{text-align:left;font-weight:500;line-height:1.4}.rep9-options button[aria-pressed="true"]{background:#dcefd6;border-color:#77a681}.rep9-feedback:empty{display:none}.rep9-feedback{color:#254c36;font-weight:700;line-height:1.5}.rep9-hint{margin-top:.8rem;color:#4a6552}.rep9-hint summary{cursor:pointer;font-weight:700}.rep9-inputs{display:grid;gap:.7rem;margin:1rem 0}.rep9-inputs label{display:grid;gap:.35rem;font-weight:700}.rep9-inputs input,.rep9-inputs select{font:inherit;padding:.65rem;border:1px solid #afc6b1;border-radius:7px;max-width:100%;background:#fff;color:#254c36}.rep9-swipe{display:none;font-size:.8rem;color:#56715c;margin:.5rem 0 0}@media(max-width:650px){.rep9-panel{padding:.85rem}.rep9-controls button{flex:1 1 40%}.rep9-swipe{display:block}}@media(prefers-reduced-motion:reduce){.rep9-strand,.rep9-new .rep9-structure,.rep9-new .rep9-bases,.rep9-products,#rep9-parent-label{transition:none}}
