:root{color-scheme:light;--page:#fbfaf7;--ink:#1c1c1a;--muted:#77766e;--rule:rgba(36,35,30,.14);--accent:#d7a82e;--a:#c5b775;--t:#9caec6;--g:#90a998;--c:#c79e92;--u:#b6a1be;font-family:Noto Sans SC,Microsoft YaHei,PingFang SC,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.35;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #997326;outline-offset:3px}button{border:0;background:transparent}h1,h2,h3,p{margin:0}button,[hidden]{transition:none}.mono{font-family:Consolas,ui-monospace,monospace}.skip-link{position:absolute;z-index:20;top:-80px;background:#fff;padding:14px}.skip-link:focus{top:8px}.lab-shell{width:min(1440px,100% - 88px);margin:0 auto}.lab-header{display:flex;justify-content:space-between;align-items:center;padding:25px 0 23px;gap:20px}.identity{display:flex;align-items:center;gap:36px}.back-link{text-decoration:none;display:flex;align-items:center;gap:8px;font-size:18px}.back-link span{font-size:10px;letter-spacing:.12em;color:var(--muted)}.title-line{display:flex;align-items:baseline;gap:17px}.title-line h1{font-size:23px;letter-spacing:.03em;font-weight:650}.title-line>span{color:var(--muted);font-size:13px}.quiet-button{font-size:12px;padding:10px 8px;min-height:42px;color:var(--muted)}.source-button span{margin-left:8px}.chapters{display:flex;align-items:center;gap:40px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);min-height:61px}.chapter-button{display:flex;gap:10px;align-items:center;position:relative;min-height:60px;padding:0 3px;color:#8a8980;font-size:13px;white-space:nowrap}.chapter-button span{font-size:10px;font-family:Consolas,monospace;color:#97958b}.chapter-button[aria-current=step]{color:var(--ink);font-weight:650}.chapter-button[aria-current=step]:after{content:"";position:absolute;height:3px;background:var(--accent);left:0;right:0;bottom:-1px}.stage{position:relative;margin-top:18px;border:1px solid var(--rule);border-radius:12px;isolation:isolate;background:radial-gradient(ellipse at 50% 63%,#eeede3,#f6f5ef 50%,#faf9f5 80%);overflow:hidden}.stage-heading{position:absolute;top:25px;left:28px;right:28px;z-index:3;display:flex;justify-content:space-between;pointer-events:none;gap:15px}.eyebrow{font-family:Consolas,ui-monospace,monospace;font-size:10px;letter-spacing:.12em;color:#8a887c}.stage-heading h2{font-size:24px;font-weight:550;letter-spacing:-.025em;margin:9px 0 8px}.observation{font-size:12px;line-height:1.65;max-width:650px;color:#6c6b61}.stage-meta{display:flex;flex-direction:column;align-items:end;gap:8px;font-size:10px;color:#6e6b5e}.stage-meta>span:first-child:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#b99843;margin-right:7px}.model-note{color:#9a978b}.scene{height:490px;width:100%;position:relative}.scene>canvas{width:100%;height:100%;display:block;touch-action:pan-y!important}.scene-loading{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:var(--muted)}.view-controls{position:absolute;z-index:4;right:22px;bottom:58px;display:flex;gap:3px;padding:4px;background:#fbfaf7d9;border:1px solid var(--rule);border-radius:9px;backdrop-filter:blur(8px)}.view-button{min-height:36px;padding:6px 10px;font-size:11px;border-radius:5px}.view-button[aria-pressed=true]{background:#ede4ce}.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;flex-shrink:0;font-size:18px;border-radius:6px}.view-button:hover,.icon-button:hover,.quiet-button:hover{background:#efeee6;color:var(--ink)}.stage-bottom{position:absolute;bottom:20px;left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;font-size:10px;color:#959183}.base-legend{display:flex;gap:5px}.base-legend span{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;background:var(--base);color:#383930;font-size:10px;font-family:Consolas,monospace}[data-base=A]{--base:var(--a)}[data-base=T]{--base:var(--t)}[data-base=G]{--base:var(--g)}[data-base=C]{--base:var(--c)}[data-base=U]{--base:var(--u)}.inspector{position:absolute;right:24px;top:118px;width:276px;background:#fffefaf7;z-index:6;border:1px solid #d7d2c3;border-radius:10px;padding:14px 19px 17px;box-shadow:0 10px 40px #403b2310;max-height:350px;overflow:auto}.inspector-top{display:flex;align-items:center;justify-content:space-between}.inspector h3{font-size:17px;font-weight:600;margin:4px 0 12px}.inspector p{font-size:12px;line-height:1.8;color:#666355}.inspector .inspector-now{color:#47453d;margin-top:10px}.text-button{font-size:11px;color:#8b6b25;min-height:40px;margin-top:8px;padding:8px 0}.trace-detail{border-top:1px solid var(--rule);margin-top:12px;padding-top:12px}.trace-detail code{display:block;font-size:11px;line-height:1.9;font-family:Consolas,monospace}.trace-detail small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.process-caption{display:flex;align-items:center;gap:14px;margin:18px 0 12px;min-height:52px}.phase-mark{height:31px;width:3px;background:var(--accent);border-radius:3px;flex-shrink:0}.process-caption strong{font-size:13px;font-weight:600}.process-caption p{font-size:11px;color:var(--muted);line-height:1.75;margin-top:3px}.process-caption .mono{margin-left:auto;flex-shrink:0;color:#969286;font-size:10px}.structure-access{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 16px;padding-left:17px}.structure-access button{font-size:11px;min-height:35px;padding:4px 10px;color:#706d60;border:1px solid #d9d5c9;border-radius:30px}.structure-access button:hover,.structure-access button[aria-pressed=true]{background:#efe5cc;border-color:#bca36a;color:#51462d}.sequence-panel{border-top:1px solid var(--rule);padding:17px 0 10px}.sequence-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sequence-heading h2{font-size:13px;font-weight:600}.counts{display:flex;gap:23px;color:#858175;font-size:10px;white-space:nowrap}.counts b{font-size:15px;font-family:Consolas,monospace;margin:0 3px;color:#5e5848;font-weight:500}.counts small{font-size:9px}.sequence-hint{font-size:10px;color:#8b877a;margin:8px 0 13px;line-height:1.7}.sequence-scroller{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 1px 8px;scrollbar-width:thin;scrollbar-color:#d4cbb4 transparent}#sequences{min-width:860px}.sequence-row{display:grid;grid-template-columns:102px 24px minmax(0,1fr) 24px;gap:8px;align-items:center;min-height:34px;margin-bottom:4px}.row-name{font-size:10px;color:#777363}.end-mark{font-size:10px;color:#938c7a;text-align:center;font-family:Consolas,monospace}.base-track{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));align-items:center;gap:2px}.base-cell{font-family:Consolas,ui-monospace,monospace;font-size:13px;min-height:29px;width:100%;border-radius:4px;position:relative;background:color-mix(in srgb,var(--base) 28%,transparent);color:#504c40;padding:4px 0;line-height:20px;border:1px solid transparent}.base-cell.pending{color:#c0bbae;background:#f0eee7;cursor:default}.base-cell.utr{background:transparent;color:#aaa392}.base-cell.active{border-color:#aa8c41;background:#ebdba7;color:#302914}.base-cell.selected{background:#ead7a2;outline:1px solid #ad8732;outline-offset:1px;color:#302914;z-index:1}.base-track.codon-mode .base-cell.coding{border-radius:0;background:color-mix(in srgb,var(--base) 32%,transparent)}.base-track.codon-mode .base-cell.codon-start{border-radius:5px 0 0 5px;margin-left:2px;width:calc(100% - 2px)}.base-track.codon-mode .base-cell.codon-end{border-radius:0 5px 5px 0;margin-right:2px;width:calc(100% - 2px)}.base-track.codon-mode .base-cell.stop{background:#ece5d5;color:#7e6643}.base-track.codon-mode .base-cell.selected,.base-track.codon-mode .base-cell.active{background:#ead7a2}.region-row{display:grid;grid-template-columns:102px 24px minmax(0,1fr) 24px;gap:8px;margin-top:2px}.regions{display:grid;grid-template-columns:6fr 15fr 3fr 6fr;gap:5px;font-size:9px;color:#a09a8a;text-align:center}.regions span{border-top:1px solid #d9d4c6;padding-top:6px}.regions span:nth-child(2){border-color:#c3aa6b;color:#978155}.amino-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-height:48px;padding:7px 0 0}.amino-label{font-size:10px;color:#777363;width:95px;flex-shrink:0}.amino-end{font-family:Consolas,monospace;color:#958d7e;font-size:10px}.amino{padding:6px 11px;min-height:38px;border-radius:8px;border:1px solid #d5cbb3;background:#eee6d3;display:flex;align-items:center;gap:6px;font-family:Consolas,monospace;font-size:12px}.amino small{font-family:system-ui;font-size:9px;color:#8b8270}.amino[aria-pressed=true]{background:#e3ce8f;border-color:#ac8425}.amino-pending{border-style:dashed;background:transparent;color:#b1aa9c;min-width:59px;text-align:center}.peptide-link{width:12px;height:1px;background:#c5b68c}.trace-message{font-size:11px;color:#8e6f27;line-height:1.75;min-height:25px;margin-top:3px}.transport{border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:15px 0 13px;scroll-margin-top:12px}.progress-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8c8779}.progress-top output{font-family:Consolas,monospace}input[type=range]{display:block;width:100%;margin:10px 0 13px;accent-color:#b89947;height:17px;cursor:pointer}.transport-bottom{display:flex;align-items:center;gap:20px}.play-group{display:flex;align-items:center;gap:7px}.play-button{display:flex;gap:10px;align-items:center;justify-content:center;min-width:105px;min-height:42px;border-radius:7px;background:#e8d69e;border:1px solid #dcc78d;font-size:12px}.play-button:hover{background:#e2cc8b}.play-button>span:first-child{font-size:12px}.reset-button{margin-left:8px}.speed-group{display:flex;gap:3px;margin-left:auto;background:#eeece3;padding:3px;border-radius:7px}.speed-group button{min-width:45px;min-height:34px;border-radius:5px;font-size:10px;color:#8c8573}.speed-group button[aria-pressed=true]{background:#fffdf6;color:#524a36;box-shadow:0 1px 4px #4e402415}.low-motion{font-size:10px;color:#8b8576;display:flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer}.low-motion input{accent-color:#ac8831}.comparison-notes{margin:20px 0}.summary-questions{display:flex;justify-content:space-between;gap:30px}.summary-questions p{font-size:11px;line-height:1.9;max-width:320px;color:#777262}.summary-questions b{display:block;color:#585344;font-weight:550;margin-bottom:4px}.quiz{margin-top:20px;border-top:1px solid var(--rule);padding-top:12px;font-size:11px}.quiz summary{cursor:pointer;min-height:35px;display:flex;align-items:center;gap:20px;color:#7b7057}.quiz summary span{margin-left:auto}.quiz-question{padding:12px 0}.quiz-question p{font-size:12px;margin-bottom:9px}.quiz-question button{font-size:11px;min-height:38px;margin:0 8px 6px 0;padding:7px 16px;border:1px solid var(--rule);border-radius:6px}.quiz-answer{font-size:11px;color:#8a6a22;line-height:1.8}.lab-footer{display:flex;justify-content:space-between;gap:20px;padding:19px 0 26px;font-size:9px;color:#a39c8c}.source-dialog{max-width:650px;width:calc(100% - 30px);max-height:85svh;padding:26px 31px;border:1px solid #d4ccb9;border-radius:13px;background:var(--page);color:var(--ink);box-shadow:0 20px 80px #40321d26}.source-dialog::backdrop{background:#49453766;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-header h2{font-size:21px;margin:9px 0 19px;font-weight:550}.source-content p,.source-content li{font-size:12px;line-height:1.95;color:#777060}.source-content p{margin-bottom:12px}.source-content h3{font-size:13px;font-weight:600;margin:23px 0 9px}.source-content ul{padding-left:20px}.source-content a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#c9b78b}.fallback-banner{position:absolute;top:120px;left:28px;z-index:3;max-width:80%;font-size:10px;color:#8d7240}.fallback-svg{position:absolute;inset:0;width:100%;height:100%}.fallback-svg text{font-family:Consolas,Microsoft YaHei,sans-serif}.no-script{padding:20px;font-size:14px;line-height:1.8}@media(min-width:701px){.view-controls{bottom:14px}.stage-bottom{right:auto;gap:18px}}@media(min-width:1600px){.scene{height:540px}.lab-header{padding:32px 0}.stage-heading h2{font-size:27px}}@media(max-width:1100px){.lab-shell{width:calc(100% - 48px)}.identity{gap:22px}.chapters{gap:26px}.scene{height:455px}.stage-heading h2{font-size:22px}.stage-meta{font-size:9px}.inspector{width:252px}.base-cell{font-size:12px}.transport-bottom{gap:12px}}@media(max-width:700px){.lab-shell{width:calc(100% - 30px)}.lab-header{padding:18px 0 15px;gap:8px}.identity{display:block}.back-link{font-size:13px;margin-bottom:8px}.back-link span{font-size:8px}.title-line{display:block}.title-line h1{font-size:22px}.title-line>span{display:block;font-size:11px;margin-top:6px}.source-button{font-size:9px;max-width:96px;text-align:right;line-height:1.7;padding:4px}.source-button span{margin-left:0}.chapters{gap:0;justify-content:space-between;min-height:61px}.chapter-button{flex-direction:column;gap:5px;font-size:11px;min-height:60px;padding:10px 4px}.chapter-button span{font-size:9px}.stage{margin-top:13px;border-radius:10px;overflow:visible}.stage-heading{top:21px;left:18px;right:18px}.stage-heading h2{font-size:19px;margin-top:7px;line-height:1.3}.observation{font-size:10px;max-width:290px}.stage-meta{display:none}.scene{height:420px;overflow:hidden;border-radius:10px}.view-controls{right:12px;bottom:45px;left:12px;justify-content:space-between;gap:1px;padding:3px}.view-button{font-size:10px;min-height:35px;padding:5px 7px}.view-controls .icon-button{width:30px;height:35px}.stage-bottom{bottom:14px;left:17px;right:17px;font-size:8px;gap:5px}.base-legend{gap:3px}.base-legend span{width:16px;height:16px;font-size:8px}.inspector{position:relative;inset:auto;max-height:none;width:auto;border:0;border-top:1px solid var(--rule);border-radius:0 0 10px 10px;padding:13px 18px;box-shadow:none;z-index:5}.process-caption{margin-top:13px;gap:10px;align-items:start}.process-caption strong{font-size:12px}.process-caption p{font-size:10px;line-height:1.8}.process-caption .mono{font-size:8px;margin-top:4px}.structure-access{padding-left:0;gap:5px;margin-bottom:14px}.structure-access button{font-size:10px;padding:3px 9px;min-height:33px}.sequence-panel{padding-top:14px}.sequence-heading h2{font-size:11px}.counts{font-size:9px;gap:11px}.counts b{font-size:13px}.sequence-hint{font-size:9px}.amino-label{width:100%;margin-bottom:3px}.amino-row{gap:5px}.amino{padding:5px 8px;font-size:10px;min-height:37px;gap:3px}.amino small{display:none}.peptide-link{width:6px}.amino-pending{min-width:37px}.trace-message{font-size:10px}.transport{padding-top:13px}.transport-bottom{flex-wrap:wrap;gap:10px}.play-group{width:100%;justify-content:center;gap:7px}.play-button{flex:1;max-width:170px}.reset-button{font-size:10px;margin-left:0}.speed-group{margin-left:0}.speed-group button{min-height:35px;min-width:43px}.low-motion{margin-left:auto}.summary-questions{display:block}.summary-questions p{margin-bottom:14px}.lab-footer{flex-direction:column;font-size:8px;gap:8px;padding-top:15px}.source-dialog{padding:21px}.dialog-header h2{font-size:18px}.fallback-banner{left:18px;top:108px;font-size:9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}body[data-renderer=webgl] .stage{background:#101a1d;border-color:#233538}body[data-renderer=webgl] .stage-heading{color:#e4ece7}body[data-renderer=webgl] .stage-heading .eyebrow{color:#91b3a6}body[data-renderer=webgl] .stage-heading .observation{color:#aec0b7}body[data-renderer=webgl] .stage-meta{color:#b1c4ba}body[data-renderer=webgl] .stage-meta .model-note{color:#78978a}body[data-renderer=webgl] .stage-bottom{color:#91aaa1}body[data-renderer=webgl] .view-controls{background:#142427d9;border-color:#3a5554;color:#c5d8ce}body[data-renderer=webgl] .view-controls button:hover{background:#2b4242;color:#e9f6ed}body[data-renderer=webgl] .view-controls button[aria-pressed=true]{background:#344d42;color:#dbead8}:root{--ease-drawer:cubic-bezier(.32,.72,0,1)}html{scroll-behavior:smooth}html,body{overflow-x:clip}.lab-shell{width:min(1520px,calc(100% - 64px));height:100svh;min-height:680px;max-height:100svh;margin:0 auto;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto}.lab-header{min-height:58px;padding:10px 0 8px}.title-line{gap:12px}.title-line h1{font-size:20px;letter-spacing:0}.details-toggle{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid var(--rule);border-radius:7px;color:var(--ink);font-size:12px}.toggle-mark{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#efe8d6;color:#7a632e;font-size:15px;line-height:1}.details-toggle[aria-expanded=true] .toggle-mark{transform:rotate(45deg)}.chapters{min-height:52px;gap:clamp(18px,4vw,54px);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.chapters::-webkit-scrollbar{display:none}.chapter-button{min-height:51px;gap:8px;font-size:12px}.lab-main{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 0px;gap:0;overflow:visible;transition:grid-template-columns .24s var(--ease-drawer)}.lab-main[data-panel-open=true]{grid-template-columns:minmax(0,1fr) minmax(0,min(420px,36vw))}.stage{min-width:0;min-height:0;height:100%;margin-top:12px;border-radius:10px;background:radial-gradient(ellipse at 50% 60%,#eeede3,#f6f5ef 53%,#faf9f5 82%)}.stage-heading{top:19px;left:22px;right:22px;align-items:start}.stage-heading h2{font-size:19px;margin:6px 0 0}.stage-meta{gap:5px}.scene{height:100%;min-height:0}.scene-loading{font-size:12px}.view-controls{right:14px;bottom:14px;left:auto;z-index:4;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:min(100%,720px);gap:3px;padding:4px;background:#fbfaf7e8;border-radius:8px}.view-mode-group{display:flex;gap:2px;padding:2px;margin-right:3px;background:#f0ede5;border-radius:6px}.view-button{min-height:34px;padding:6px 9px;font-size:10px;white-space:nowrap}.view-mode-group .view-button[aria-pressed=true]{background:#d8c795;color:#453a21}.view-controls .icon-button{width:34px;height:34px;font-size:16px}.stage-bottom{bottom:17px;left:21px;right:auto;z-index:2;gap:12px;font-size:9px}.base-legend{gap:4px}.base-legend span{width:19px;height:19px}.learning-panel{grid-column:2;grid-row:1;min-width:0;width:100%;height:calc(100% - 12px);margin:12px 0 0 14px;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border-left:1px solid var(--rule);background:transparent;opacity:0;transform:translate(12px);visibility:hidden;transition:transform .24s var(--ease-drawer),opacity .24s ease,visibility 0s linear .24s}.learning-panel[data-open=true]{opacity:1;transform:translate(0);visibility:visible;transition-delay:0s}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 8px 13px 22px}.panel-heading h2{font-size:17px;font-weight:600;margin-top:5px}.panel-heading .icon-button{width:34px;height:34px}.panel-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 9px 24px 22px;scrollbar-width:thin;scrollbar-color:#d4cbb4 transparent}.chapter-prompt{padding:1px 0 16px;border-bottom:1px solid var(--rule)}.chapter-prompt .observation{margin-top:8px;color:#67645a;font-size:12px;line-height:1.8}.inspector{position:relative;inset:auto;width:auto;max-height:none;overflow:visible;margin:14px 0;padding:13px 15px 12px;background:#fffefac7;border:1px solid var(--rule);border-radius:8px;box-shadow:none}.inspector h3{font-size:15px;margin:2px 0 9px}.inspector p{font-size:11px;line-height:1.75}.inspector .inspector-now{margin-top:7px}.inspector-top .icon-button{width:30px;height:30px}.text-button{margin-top:5px}.panel-section{padding-top:14px}.structure-access{gap:6px;margin:7px 0 0;padding:0}.structure-access button{min-height:32px;padding:4px 9px;font-size:10px}.sequence-panel{margin-top:14px;padding:14px 0 10px;border-top:1px solid var(--rule)}.sequence-heading{align-items:flex-start}.sequence-heading h2{font-size:12px}.counts{gap:12px;font-size:9px}.counts b{font-size:13px}.sequence-hint{margin:7px 0 9px;font-size:10px;line-height:1.65}#sequences{min-width:760px}.sequence-row{grid-template-columns:92px 20px minmax(0,1fr) 20px;gap:5px}.base-track{gap:1px}.base-cell{min-height:27px;font-size:12px}.region-row{grid-template-columns:92px 20px minmax(0,1fr) 20px;gap:5px}.regions{font-size:8px}.amino-row{gap:6px}.amino-label{width:84px}.amino{min-height:34px;padding:5px 8px;font-size:11px}.comparison-notes{border-top:1px solid var(--rule);padding-top:14px}.summary-questions{display:grid;gap:9px}.summary-questions p{font-size:10px;line-height:1.7}.quiz{margin-top:13px}.quiz summary{font-size:11px}.quiz-question{padding:12px 0;border-top:1px solid var(--rule)}.quiz-question p{font-size:11px}.quiz-question button{min-height:34px;padding:5px 10px;margin:8px 5px 0 0;border:1px solid var(--rule);border-radius:6px;font-size:10px}.quiz-answer{font-size:10px;line-height:1.7}.panel-resources{border-top:1px solid var(--rule);margin-top:15px;padding-top:6px}.source-button{font-size:11px}.transport{position:sticky;bottom:0;z-index:8;margin-top:10px;padding:9px 0 10px;background:color-mix(in srgb,var(--page) 94%,white);border-top:1px solid var(--rule);backdrop-filter:blur(10px)}.transport-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,42%);align-items:center;gap:26px}.process-caption{min-width:0;min-height:42px;margin:0;gap:10px}.phase-mark{height:28px}.process-caption strong{font-size:12px}.process-caption p{font-size:10px;line-height:1.55;margin-top:2px}.process-caption .mono{padding-left:10px;font-size:9px}.progress-block{min-width:0}.progress-top{display:flex;justify-content:space-between;margin-bottom:4px;color:var(--muted);font-size:10px}#progress{display:block;width:100%;height:18px;margin:0;accent-color:var(--accent);cursor:pointer}.transport-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:3px}.play-group{display:flex;align-items:center;gap:5px}.play-group .icon-button{width:34px;height:34px;font-size:15px}.play-button{min-width:104px;min-height:36px;padding:7px 15px;border-radius:6px;background:#34342f;color:#f7f5ed;font-size:11px}.play-button:hover{background:#4b4a42}.reset-button{min-height:34px;padding:6px 9px;font-size:10px}.play-options{display:flex;align-items:center;gap:18px}.speed-group{display:flex;gap:2px;margin:0;padding:3px;background:#f0eee7;border-radius:6px}.speed-group button{min-width:43px;min-height:29px;border-radius:4px;font-size:10px;color:var(--muted)}.speed-group button[aria-pressed=true]{background:#fbfaf7;color:var(--ink);box-shadow:0 1px 2px #24231e14}.low-motion{display:flex;align-items:center;gap:6px;margin:0;font-size:10px;color:var(--muted)}.low-motion input{accent-color:#89702f}.lab-footer{justify-content:space-between;padding:9px 0 7px;font-size:9px;color:#99968c}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #92722c;outline-offset:2px}@media(max-width:760px){.lab-shell{width:calc(100% - 24px);height:auto;min-height:100svh;max-height:none;grid-template-rows:auto auto auto auto auto}.lab-header{min-height:54px;padding:8px 0 7px;gap:8px}.identity{gap:13px;min-width:0}.back-link{font-size:16px}.back-link span{display:none}.title-line{display:block}.title-line h1{font-size:18px}.title-line>span{display:block;margin-top:2px;font-size:9px}.details-toggle{min-height:38px;gap:7px;padding:6px 9px;font-size:10px;white-space:nowrap}.toggle-mark{width:16px;height:16px;font-size:13px}.chapters{min-height:52px;gap:0;justify-content:space-between}.chapter-button{flex:1 0 auto;justify-content:center;min-width:0;min-height:50px;padding:0 6px;gap:5px;font-size:10px}.chapter-button span{font-size:9px}.lab-main{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(360px,min(55svh,560px)) 0px;transition:grid-template-rows .24s var(--ease-drawer)}.lab-main[data-panel-open=true]{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(360px,min(55svh,560px)) minmax(260px,min(52svh,430px))}.stage{grid-column:1;grid-row:1;height:auto;min-height:360px;margin-top:9px;border-radius:9px}.stage-heading{top:15px;left:15px;right:15px}.stage-heading h2{font-size:17px;margin-top:5px}.eyebrow{font-size:9px}.stage-meta{align-items:flex-end;font-size:8px}.model-note{font-size:8px}.view-controls{left:10px;right:10px;bottom:12px;justify-content:center;max-width:none;gap:2px;padding:3px}.view-button{min-height:34px;padding:5px 7px;font-size:9px}.view-controls .icon-button{width:30px;height:34px;font-size:14px}.view-mode-group{margin-right:1px}.stage-bottom{left:14px;right:14px;bottom:55px;font-size:8px}.base-legend{gap:3px}.base-legend span{width:16px;height:16px;font-size:8px}.learning-panel{grid-column:1;grid-row:2;height:auto;margin:0;border-left:0;border-top:1px solid var(--rule);grid-template-rows:auto minmax(0,1fr);transform:translateY(12px)}.learning-panel[data-open=true]{transform:translateY(0)}.panel-heading{padding:11px 7px 9px}.panel-heading h2{font-size:15px}.panel-scroll{padding:0 7px 20px}.chapter-prompt{padding-bottom:12px}.chapter-prompt .observation{font-size:11px;line-height:1.7}.inspector{margin:10px 0;padding:10px 12px}.sequence-panel{overflow:hidden}.transport{margin-top:8px;padding:8px 0 calc(9px + env(safe-area-inset-bottom))}.transport-summary{grid-template-columns:minmax(0,1fr);gap:5px}.process-caption{min-height:38px}.process-caption p{font-size:9px;line-height:1.45}.process-caption .mono{font-size:8px}.progress-top{margin-bottom:0;font-size:9px}#progress{height:16px}.transport-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin-top:1px}.play-group{width:100%;justify-content:center;gap:4px}.play-group .icon-button{width:32px;height:33px}.play-button{flex:1;max-width:170px;min-height:34px}.reset-button{margin:0;padding:5px 6px;font-size:9px}.play-options{justify-content:space-between;gap:12px}.speed-group button{min-width:39px;min-height:28px}.low-motion{font-size:9px}.lab-footer{flex-direction:column;align-items:flex-start;gap:5px;padding:9px 0 12px;font-size:8px}}@media(max-width:400px){.details-toggle{gap:5px;padding:5px 7px}.title-line>span{display:none}.chapter-button{padding:0 3px;font-size:9px}.stage-meta{display:none}.view-controls{flex-wrap:wrap}.view-button{padding:5px 6px;font-size:8px}.view-controls .icon-button{width:28px}.transport-summary{gap:3px}.process-caption{gap:7px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.lab-main,.learning-panel,.details-toggle .toggle-mark{transition-duration:1ms}}.learning-panel{margin-left:0}.stage{height:calc(100% - 12px);align-self:end}@media(max-width:760px){.details-toggle,.chapter-button{min-height:44px}.panel-heading .icon-button{width:44px;height:44px}.view-controls .view-button{min-height:44px}.view-controls .icon-button{width:44px;height:44px}.stage-bottom{bottom:114px}.play-group .icon-button{width:44px;height:44px}.play-button,.reset-button{min-height:44px}.speed-group button{min-height:44px;min-width:44px}.low-motion{min-height:44px}}@media(max-width:400px){.view-controls{column-gap:1px}.view-button{padding-right:5px;padding-left:5px}.view-controls .icon-button{width:42px}}@media(max-width:760px)and (prefers-reduced-motion:reduce){.lab-main,.learning-panel{transition-duration:1ms}}@media(max-width:600px){.stage:has(.scene[data-scene-chapter=translation][data-scene-view=reaction]) #scene-hint{visibility:hidden}}.scene>canvas{touch-action:none!important}.process-caption strong{font-size:14px}.process-caption p{font-size:11px}@media(max-width:760px){.lab-shell{height:100svh;min-height:0;max-height:100svh;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:clip}.identity{display:flex;flex-direction:row;align-items:center;gap:12px}.lab-main,.lab-main[data-panel-open=true]{min-height:0;grid-template-rows:minmax(0,1fr) 0px;overflow:hidden}.lab-main[data-panel-open=true]{grid-template-rows:minmax(0,.58fr) minmax(0,.42fr)}.stage{height:calc(100% - 9px);min-height:0;align-self:end;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:minmax(0,1fr) 56px;overflow:hidden}.scene{grid-column:1 / -1;grid-row:1;min-height:0;height:100%;border-radius:9px 9px 0 0}.learning-panel{min-height:0;overflow:hidden}.transport{position:relative;bottom:auto;margin-top:6px;padding:6px 0 calc(5px + env(safe-area-inset-bottom));backdrop-filter:none}.transport-summary{gap:2px}.process-caption{min-height:35px}.transport-bottom{display:flex;justify-content:space-between;align-items:center;gap:4px;margin-top:2px}.play-group{width:auto;justify-content:flex-start;flex:none;gap:0}.play-options{min-width:0;flex:none}.speed-group{gap:0;padding:2px}.speed-group button{min-width:42px}.reset-button{padding-inline:4px;white-space:nowrap}.lab-footer,.lab-main[data-panel-open=true] .stage-bottom{display:none}.lab-main[data-panel-open=true] .stage-heading{top:8px;left:12px;right:12px}.lab-main[data-panel-open=true] .stage-heading .eyebrow{display:none}.lab-main[data-panel-open=true] .stage-heading h2{font-size:13px;margin:0}.panel-heading{padding:5px 7px}.panel-heading .eyebrow{display:none}.panel-heading h2{margin:0}}@media(max-width:360px)and (max-height:620px){.lab-shell:has(.lab-main[data-panel-open=true]){height:auto;min-height:100svh;max-height:none;grid-template-rows:auto auto auto auto;overflow:visible}.lab-main[data-panel-open=true]{grid-template-rows:minmax(300px,58svh) minmax(200px,36svh);overflow:visible}.lab-main[data-panel-open=true] .learning-panel{height:100%}}:root{--page:#f8f7f3;--ink:#25352f;--muted:#6b756f;--rule:rgba(37,53,47,.14);--accent:#b39449;--exhibit-paper:#f8f7f3;--exhibit-dark:#142628;--exhibit-gold:#d9c78d}[hidden]{display:none!important}body{background:var(--page);color:var(--ink)}.lab-shell{width:min(1600px,calc(100% - 64px))}.lab-header{position:relative;min-height:66px;padding:10px 0;gap:24px}.identity{gap:28px}.title-line{gap:15px}.title-line h1{font-size:24px;font-weight:650;letter-spacing:-.6px}.title-line>span{font-size:12px;color:var(--muted)}.back-link{color:#6b756f}.back-link span{font-size:9px;letter-spacing:1.2px}.header-actions{display:flex;align-items:center;gap:12px}.language-switch{display:inline-flex;align-items:center;flex:none;padding:3px;border:1px solid #c9d3c5;border-radius:9px;background:#eef1e9;gap:2px}.language-option{min-width:44px;min-height:38px;padding:5px 9px;border-radius:6px;color:#66756b;font-size:11px;font-weight:600;line-height:1;white-space:nowrap}.language-option[aria-pressed=true]{background:#314b3b;color:#fff;box-shadow:0 1px 5px #18302722}.language-option:not([aria-pressed=true]):hover{background:#dfe7d9;color:#294032}html[lang=en] .lab-shell,html[lang=en] .object-lesson{font-family:Inter,ui-sans-serif,system-ui,sans-serif}html[lang=en] #chapter-book,html[lang=en] #object-book{display:none!important}.details-toggle,.objects-toggle{min-height:40px;padding:8px 13px;font-size:12px;border-radius:7px}.objects-toggle{display:flex;gap:13px;align-items:center}.objects-toggle[aria-expanded=true]{background:#e9e8e0}.chapters{min-height:48px;gap:32px}.chapter-button{min-height:48px;font-size:12px;gap:9px}.chapter-button span{font-size:10px;color:#77817a}.chapter-button[aria-current=step]{color:#25352f}.stage{border-radius:12px}.stage-heading{left:25px;right:25px;top:22px}.stage-heading h2{font-size:21px;letter-spacing:-.3px}.stage-meta{gap:6px;font-size:10px}.chapter-book{display:inline-flex;align-items:center;min-height:28px;color:#d9c78d;font-size:11px;text-decoration:none;text-underline-offset:4px;pointer-events:auto}.chapter-book:hover{text-decoration:underline}.view-controls{border-radius:8px;gap:3px;bottom:16px;right:16px}.view-controls .view-button{font-size:11px;min-height:36px}.view-controls .icon-button{height:36px;width:34px}body[data-renderer=webgl] .view-controls .view-button[aria-pressed=true]{background:#d5ddce;color:#21372f}body[data-renderer=webgl] .view-controls .view-mode-group{background:transparent;padding:0}body[data-renderer=webgl] .view-controls .view-button[aria-pressed=false]{color:#c5d8ce}.stage-bottom{font-size:10px;left:25px;bottom:24px}.base-legend span{font-size:9px}.transport{padding:11px 0 10px;margin-top:10px}.transport-summary{gap:35px}.process-caption strong{font-weight:600;font-size:14px}.process-caption p{font-size:12px;color:#67756c;line-height:1.6}.phase-mark{background:#b39449}.progress-top{font-size:11px}.play-button{background:#2d4238;border-color:#2d4238;font-size:12px;min-height:38px;border-radius:7px}.play-button:hover{background:#41584b}.reset-button,.low-motion,.speed-group button{font-size:11px}.lab-footer{font-size:10px;color:#758077}.panel-heading{padding:18px 20px 14px}.panel-heading h2{font-size:18px}.panel-scroll{padding:0 20px 24px}.chapter-prompt .observation{font-size:13px;line-height:1.8}.sequence-hint,.inspector p{font-size:12px}.inspector h3{font-size:18px}.structure-access button{font-size:12px;min-height:36px;padding:6px 11px}.sequence-heading h2{font-size:14px}.panel-section>.eyebrow{font-size:10px}.text-button{font-size:12px}.inspector .text-button{margin-right:12px}.summary-questions p,.quiz-question p,.quiz summary{font-size:12px}.object-menu{position:absolute;top:calc(100% - 3px);right:0;z-index:30;width:min(510px,calc(100vw - 40px));padding:14px;background:#fdfcf8;border:1px solid #d4dacf;border-radius:12px;box-shadow:0 16px 44px #172b2126;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.object-menu button{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;min-height:66px;padding:12px 10px;border-top:1px solid var(--rule);border-radius:0;font-size:13px;font-weight:600}.object-menu button:nth-of-type(-n+2){border-top:0}.object-menu button:hover{background:#edf0e9}.object-menu small{font-size:10px;color:var(--muted);font-weight:400}.knowledge-tip{position:fixed;z-index:70;max-width:275px;display:flex;flex-direction:column;gap:6px;background:#f8f7f1;color:#263c31;border:1px solid #d2dacb;border-radius:8px;padding:13px 16px;box-shadow:0 8px 26px #00000026;pointer-events:none}.knowledge-tip strong{font-size:13px;font-weight:600}.knowledge-tip>span{font-size:12px;color:#6c5e33}.knowledge-tip small{font-size:10px;line-height:1.6;color:#738077}.object-lesson{position:fixed;inset:0;z-index:40;background:var(--exhibit-paper);padding:0 32px 24px;display:grid;grid-template-rows:74px minmax(0,1fr);overflow:hidden}body[data-object-lesson=true] .lab-shell{visibility:hidden;pointer-events:none}.object-header{display:flex;align-items:center;gap:26px;min-width:0;border-bottom:1px solid var(--rule);margin-bottom:16px}.object-header>.language-switch{margin-left:auto}.object-back{display:flex;align-items:center;gap:14px;min-height:44px;font-size:13px;white-space:nowrap}.object-back>span{font-size:22px;font-weight:300}.object-back:hover{color:#97792d}.object-breadcrumb{font-size:11px;color:#738077;display:flex;gap:15px;align-items:center}.object-breadcrumb>span{color:#abb2a8}.book-link{margin-left:auto;display:flex;align-items:center;min-height:40px;font-size:12px;color:#796431;text-decoration:none}.book-link:hover{text-decoration:underline;text-underline-offset:4px}.object-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:0;min-height:0}.object-stage{position:relative;min-height:0;background:var(--exhibit-dark);border-radius:12px;overflow:hidden;color:#e1e9df}.object-stage-heading{position:absolute;top:24px;left:25px;right:25px;display:flex;justify-content:space-between;gap:20px;pointer-events:none;z-index:2;font-size:12px}.object-stage-heading>span+span{font-size:10px;color:#9ab1a4}.object-scene{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.object-scene>canvas{width:100%;height:100%;display:block;touch-action:none}.object-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:13px;max-width:80%;line-height:1.8;text-align:center;color:#c8d8cb;pointer-events:none;z-index:3}.object-tools{position:absolute;bottom:54px;right:22px;display:flex;gap:4px;padding:4px;border:1px solid #53645c;border-radius:7px;background:#18302eea;z-index:2}.object-tools button{min-height:36px;padding:7px 12px;border-radius:4px;font-size:11px;color:#e2eadb}.object-tools button:hover{background:#3b5145}.object-tools button[aria-pressed=true]{background:#d3dbc8;color:#293d30}.object-model-note{position:absolute;bottom:20px;left:25px;right:25px;max-width:700px;font-size:10px;line-height:1.6;color:#9fb4a7;pointer-events:none;z-index:2}.object-teaching{display:flex;flex-direction:column;min-height:0;padding:20px 0 6px 35px;overflow:auto;scrollbar-width:thin;scrollbar-color:#b3bbad transparent}.object-introduction h1{font-size:36px;line-height:1.25;font-weight:600;letter-spacing:-1.2px;margin:0}.object-subtitle{font-size:14px;margin:13px 0 0;color:#526b58}.object-summary{font-size:13px;line-height:1.95;color:#778176;margin:18px 0 23px}.object-steps{border-top:1px solid #ccd4c7;border-bottom:1px solid #ccd4c7;margin-bottom:23px}.object-steps button{display:flex;width:100%;gap:15px;align-items:center;text-align:left;min-height:47px;font-size:12px;color:#778176;border-bottom:1px solid #e5e8de;padding:8px 0}.object-steps button:last-child{border-bottom:0}.object-steps button>span{font-size:10px;font-family:Consolas,monospace;color:#9ba492;min-width:19px}.object-steps button>i{margin-left:auto;font-style:normal;font-size:17px;opacity:0;color:#6e855c}.object-steps button[aria-current=step]{color:#29442e;font-weight:650}.object-steps button[aria-current=step]>span{color:#967e3a}.object-steps button[aria-current=step]>i{opacity:1}.object-steps button:hover{color:#29442e}.object-step-copy{min-height:135px}.object-step-copy>p:first-child{font-size:10px;font-family:Consolas,monospace;color:#8c966e;margin-bottom:10px}.object-step-copy h2{font-size:19px;line-height:1.5;font-weight:550;letter-spacing:-.4px;margin:0 0 12px}.object-step-copy>p:last-child{font-size:14px;line-height:1.9;color:#4f6553}.object-extension{font-size:11px;line-height:1.8;color:#7d8272;border-top:1px solid var(--rule);padding-top:13px;margin-top:18px}.object-navigation{margin-top:auto;display:flex;gap:10px;padding-top:25px}.object-navigation button{min-height:44px;border-radius:6px;font-size:12px}.object-navigation button:first-child{border:1px solid #c8d1c1;width:46px;flex-shrink:0;font-size:19px}.object-navigation button:disabled{opacity:.4;cursor:default}.object-navigation button+button{display:flex;align-items:center;justify-content:space-between;flex:1;background:#354b37;color:#f2f3e7;padding:10px 17px}.object-navigation button+button:hover{background:#4b624b}.object-scene .lesson-label{font-family:inherit!important}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid #a68841;outline-offset:3px}@media(min-width:1700px){.object-lesson{padding-right:max(32px,calc((100vw - 1600px)/2));padding-left:max(32px,calc((100vw - 1600px)/2))}.object-layout{grid-template-columns:minmax(0,1fr) 390px}.object-introduction h1{font-size:42px}}@media(max-width:1050px){.lab-shell{width:calc(100% - 40px)}.header-actions{gap:4px}.identity{gap:16px}.chapters{gap:22px}.stage-meta{font-size:9px}.view-controls{max-width:calc(100% - 28px)}.stage-bottom{bottom:64px}.object-lesson{padding:0 20px 20px}.object-layout{grid-template-columns:minmax(0,1fr) 310px}.object-teaching{padding-left:25px}.object-introduction h1{font-size:31px}.object-summary{font-size:12px}.object-stage-heading{left:20px;right:20px;top:20px}.object-stage-heading>span+span{display:none}}@media(max-width:760px){.lab-shell{width:calc(100% - 24px)}.lab-header{min-height:58px;gap:6px;padding:6px 0}.identity{gap:10px}.title-line h1{font-size:19px}.title-line>span{font-size:9px;margin-top:3px}.header-actions{gap:3px}.objects-toggle,.details-toggle{font-size:10px;min-height:44px;padding:6px 8px;gap:5px}.objects-toggle span{display:none}.chapters{min-height:45px;gap:0}.chapter-button{min-height:45px;font-size:10px;gap:5px}.chapter-button span{font-size:8px}.stage-heading{left:16px;right:16px;top:16px}.stage-heading h2{font-size:17px}.stage-meta{font-size:8px;gap:0}.chapter-book{font-size:9px;min-height:24px}.stage-meta .model-note{display:none}.view-controls .view-button,.view-controls .icon-button{min-height:44px;height:44px;font-size:10px}.stage-bottom{bottom:113px;left:16px;font-size:9px}.transport-summary{gap:4px}.process-caption strong{font-size:12px}.process-caption p{font-size:10px}.process-caption .mono{font-size:8px}.transport{padding:8px 0 calc(8px + env(safe-area-inset-bottom))}.play-button,.reset-button,.play-group .icon-button{min-height:44px}.progress-top{font-size:9px}.play-options{gap:6px}.reset-button,.speed-group button,.low-motion{font-size:10px}.panel-scroll{padding:0 12px 20px}.panel-heading{padding:6px 12px}.panel-heading h2{font-size:16px}.chapter-prompt .observation{font-size:12px}.object-menu{right:0;top:calc(100% + 2px);width:min(420px,calc(100vw - 24px));gap:0 6px;padding:10px}.object-menu button{font-size:12px;min-height:64px}.object-menu small{font-size:9px}.object-lesson{padding:0 12px;grid-template-rows:64px minmax(0,1fr)}.object-header{gap:7px;margin-bottom:9px}.object-back{font-size:11px;gap:9px}.object-breadcrumb{display:none}.book-link{font-size:10px}.object-layout{display:block;overflow:auto;padding-bottom:24px;overscroll-behavior:contain}.object-stage{height:max(300px,44svh);border-radius:10px}.object-stage-heading{top:16px;left:16px;right:16px;font-size:11px}.object-teaching{padding:25px 10px 12px;overflow:visible}.object-introduction h1{font-size:30px;letter-spacing:-.6px}.object-summary{font-size:13px;margin:15px 0 20px}.object-steps{display:flex;gap:12px;margin-bottom:22px}.object-steps button{flex:1;flex-direction:column;gap:6px;align-items:flex-start;min-height:65px;font-size:11px;border-bottom:0}.object-steps button>i{display:none}.object-step-copy{min-height:115px}.object-step-copy>p:last-child{font-size:14px}.object-navigation{padding-top:20px}.object-tools{bottom:60px;right:16px}.object-tools button{min-height:44px;font-size:11px}.object-model-note{left:16px;right:16px;bottom:16px;font-size:9px}.knowledge-tip{max-width:245px}.object-extension{font-size:11px}.lab-main[data-panel-open=true] .stage-meta{display:none}}@media(max-width:400px){.title-line>span{display:none}.details-toggle{padding:6px 7px}.details-toggle .toggle-mark{display:none}.objects-toggle{padding:6px}.chapter-button{font-size:9px}.stage-meta{display:none}.view-controls .view-button{font-size:9px}.object-header .book-link{max-width:145px;line-height:1.5;text-align:right}.object-stage{height:300px}}@media(prefers-reduced-motion:reduce){.object-lesson,.object-stage,.object-teaching{scroll-behavior:auto;transition:none}}.stage-heading h2{margin:0}@media(max-width:760px){.stage-meta,.lab-main[data-panel-open=true] .stage-meta{display:flex}.chapter-book{white-space:nowrap}}.chapters{position:relative}.chapter-button[aria-current=step]:after{content:none}.chapter-indicator,.chapter-route{position:absolute;pointer-events:none;z-index:1}.chapter-indicator{left:var(--chapter-cursor-x,-40px);bottom:0;width:28px;height:10px;transform:translate(-50%)}.chapter-indicator:before{content:"";position:absolute;bottom:0;left:2px;right:2px;height:2px;border-radius:2px;background:var(--accent)}.chapter-indicator:after{content:"";position:absolute;bottom:3px;left:calc(50% - 4px);border-right:4px solid transparent;border-bottom:5px solid var(--accent);border-left:4px solid transparent}.chapter-indicator.is-traveling{transition:left .8s cubic-bezier(.22,.75,.2,1)}.chapter-route{bottom:1px;height:2px;opacity:0;background:repeating-linear-gradient(90deg,var(--accent) 0 3px,transparent 3px 8px);background-size:16px 2px;transition:opacity .16s ease}.chapter-route.is-visible{opacity:.7;animation:chapter-route-flow .55s linear infinite}@keyframes chapter-route-flow{to{background-position:16px 0}}.header-actions>.objects-toggle,.header-actions>.details-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:1px solid var(--rule);border-radius:7px;background:transparent;color:var(--ink);font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap}.header-actions>.objects-toggle:hover,.header-actions>.details-toggle:hover{background:#f0f1eb}.header-actions>.objects-toggle[aria-expanded=true],.header-actions>.details-toggle[aria-expanded=true]{background:#e9e8e0;border-color:#bcc5b8}@media(max-width:760px){.header-actions>.objects-toggle,.header-actions>.details-toggle{font-size:10px;padding:6px 8px}}@media(max-width:400px){.header-actions>.objects-toggle,.header-actions>.details-toggle{padding:6px 7px}}@media(prefers-reduced-motion:reduce){.chapter-indicator.is-traveling{transition:none}.chapter-route,.chapter-route.is-visible{display:none;animation:none}}.stage-control-dock{position:absolute;right:16px;bottom:16px;z-index:4;display:flex;align-items:center;justify-content:flex-end;gap:12px;max-width:calc(100% - 32px)}.stage-control-dock>.view-controls{position:static;left:auto;right:auto;bottom:auto;max-width:none;min-width:0;margin:0;padding:5px;gap:4px;border-radius:10px;box-shadow:0 6px 18px #07191d24}.stage-control-dock .view-mode-group{margin-right:3px}.stage-control-dock .view-button,.stage-control-dock .icon-button{border-radius:6px}.stage-control-dock #protein-perspective{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:58px;padding-inline:9px;border:1px solid #afc1a959;background:#dde5d4;color:#284538}.stage-control-dock #protein-perspective:before{content:"";width:6px;height:6px;flex:none;border-radius:50%;background:#759b6a;box-shadow:0 0 0 2px #759b6a38}.stage-control-dock #protein-perspective[aria-pressed=false]{border-color:transparent;background:transparent;color:#8fa49c}.stage-control-dock #protein-perspective[aria-pressed=false]:before{background:#788a83;box-shadow:none}body[data-renderer=webgl] .stage-control-dock #protein-perspective[aria-pressed=true]{background:#cddbc5;border-color:#dfe7d6;color:#223d31}body[data-renderer=webgl] .stage-control-dock #protein-perspective[aria-pressed=false]{background:#203734;border-color:#34504b;color:#9fb4ab}@media(max-width:760px){.stage-control-dock{position:relative;grid-column:2;grid-row:2;left:auto;right:auto;bottom:auto;max-width:none;min-width:0;width:100%;margin:0 8px 0 0;flex-direction:row;justify-content:flex-end;align-items:center;gap:5px}.stage-control-dock>.view-controls,.lab-main[data-panel-open=true] .stage-control-dock>.view-controls{display:flex;order:1;min-width:0;width:auto;flex:1;justify-content:flex-start;flex-wrap:nowrap;gap:2px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#91a69b transparent;padding:2px 3px;border-radius:8px;box-shadow:none}.stage-control-dock>.view-controls::-webkit-scrollbar{height:3px}.stage-control-dock>.view-controls::-webkit-scrollbar-thumb{background:#91a69b;border-radius:3px}.stage-control-dock .view-button,.stage-control-dock .icon-button{flex:none}.stage-control-dock #zoom-in{order:1}.stage-control-dock #zoom-out{order:2}.stage-control-dock #view-reset{order:3;min-width:44px;padding-inline:3px;font-size:0}.stage-control-dock #view-reset:after{content:attr(data-short-label);font-size:10px}.stage-control-dock .view-mode-group{order:4;flex:none;margin-right:0}.stage-control-dock #protein-perspective{order:5}.stage-control-dock #expand{order:6}.stage-control-dock #labels{order:7}.stage-control-dock #dna-idle{order:8}.stage .stage-control-dock>#whiteboard-open{order:2;width:44px;height:44px;min-width:44px;box-shadow:0 3px 9px #07191d33}}@media(max-width:400px){.stage-control-dock{margin-right:6px;gap:3px}.stage-control-dock>.view-controls{column-gap:2px}.stage-control-dock .view-button{padding-inline:6px}.stage-control-dock #protein-perspective{min-width:52px;padding-inline:6px}}.stage>.stage-play{position:absolute;z-index:5;left:20px;bottom:16px;flex:none;min-width:158px;min-height:54px;max-width:none;padding:8px 18px 8px 11px;gap:11px;border:1px solid #e9dba8;border-radius:10px;background:#e4d08d;color:#20392f;font-size:14px;font-weight:650;letter-spacing:.01em;box-shadow:0 6px 20px #07191d40;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}.stage>.stage-play #play-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;padding-left:2px;border-radius:50%;background:#f6eaca;color:#284337;font-size:13px;font-weight:700;line-height:1}.stage>.stage-play[aria-pressed=true] #play-icon{padding-left:0;font-size:17px}.stage>.stage-play:not(:disabled):hover{background:#f0dc9b;box-shadow:0 9px 24px #07191d50;transform:translateY(-1px)}.stage>.stage-play:focus-visible{outline:3px solid #f9e9ae;outline-offset:3px}.lab-main[data-panel-open=true] .stage>.stage-play{top:76px;bottom:auto}@media(min-width:761px)and (max-width:900px){.stage>.stage-play{top:76px;bottom:auto}}@media(max-width:760px){.stage>.stage-play,.lab-main[data-panel-open=true] .stage>.stage-play{position:relative;grid-column:1;grid-row:2;align-self:center;justify-self:start;top:auto;bottom:auto;left:auto;min-width:120px;width:120px;min-height:44px;height:44px;margin-left:8px;padding:5px 8px 5px 6px;gap:7px;border-radius:8px;font-size:11px;white-space:nowrap;box-shadow:0 3px 9px #07191d33}.stage>.stage-play #play-icon{width:26px;height:26px;font-size:12px}}@media(max-width:400px){.stage>.stage-play,.lab-main[data-panel-open=true] .stage>.stage-play{width:116px;min-width:116px;margin-left:6px}}@media(prefers-reduced-motion:reduce){.stage>.stage-play{transition:none}.stage>.stage-play:not(:disabled):hover{transform:none}}@media(max-width:760px){.header-actions{gap:3px}.language-switch{padding:2px}.language-option{min-width:40px;min-height:40px;padding-inline:5px;font-size:10px}.object-header>.book-link{margin-left:0}}@media(max-width:520px){.lab-header{flex-wrap:wrap;align-content:center;padding-block:5px;gap:2px}.identity{flex-basis:100%}.title-line h1{font-size:16px}.title-line>span{font-size:9px}.header-actions{width:100%;justify-content:flex-end}.object-header{gap:4px}.object-back{font-size:10px;gap:4px;white-space:normal}.object-header>.book-link{max-width:95px;font-size:9px;line-height:1.25;text-align:right}}#entrance-ui{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-items:center;padding:28px;background:#132427;color:#e4ece7;pointer-events:none}#entrance-ui[data-phase=waiting],html[data-gene-entrance=waiting] #entrance-ui,#entrance-ui[data-phase=loading],html[data-gene-entrance=loading] #entrance-ui,#entrance-ui[data-phase=active],html[data-gene-entrance=active] #entrance-ui,#entrance-ui[data-phase=handoff],html[data-gene-entrance=handoff] #entrance-ui{display:grid}html[data-gene-entrance=waiting] .lab-shell,html[data-gene-entrance=loading] .lab-shell,html[data-gene-entrance=active] .lab-shell{visibility:hidden}html[data-gene-entrance=handoff] .lab-shell{visibility:visible}html[data-gene-entrance=waiting] .skip-link,html[data-gene-entrance=loading] .skip-link,html[data-gene-entrance=active] .skip-link,html[data-gene-entrance=handoff] .skip-link{visibility:hidden}#entrance-copy{grid-area:1/1;text-align:center;align-self:center;max-width:min(92vw,580px)}#entrance-title{font-size:clamp(34px,4.3vw,60px);font-weight:500;letter-spacing:.02em}#entrance-status{margin-top:13px;font-size:clamp(12px,1.6vw,16px);line-height:1.8;color:#aec0b7}#entrance-skip{position:absolute;top:calc(16px + env(safe-area-inset-top));right:calc(16px + env(safe-area-inset-right));min-height:44px;padding:7px 14px;border:1px solid #668078;border-radius:7px;background:#142427;color:#e4ece7;font-size:12px;pointer-events:auto}#entrance-skip:hover{background:#223a38}html[data-gene-entrance=active] #entrance-ui,html[data-gene-entrance=handoff] #entrance-ui{background:transparent}html[data-gene-entrance=active] #entrance-copy,html[data-gene-entrance=handoff] #entrance-copy{align-self:start;margin-top:10vh}html[data-gene-entrance=active] #entrance-title,html[data-gene-entrance=handoff] #entrance-title{font-size:clamp(44px,5vw,64px)}#scene.gene-expression-entrance{touch-action:none!important}html[data-gene-entrance=loading] #entrance-skip{display:block}@media(max-width:700px){#entrance-ui{padding:20px}#entrance-copy{align-self:start;margin-top:11vh}#entrance-title,html[data-gene-entrance=active] #entrance-title,html[data-gene-entrance=handoff] #entrance-title{font-size:34px}#entrance-skip{top:calc(10px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));min-height:44px}}@media(prefers-reduced-motion:reduce){#entrance-ui{transition:none!important}}.stage-control-dock>#whiteboard-open{display:grid;place-items:center;flex:none;width:50px;height:50px;min-width:50px;padding:0;border-radius:50%;border:1px solid #eee1b5;background:#e4ce87;color:#253e38;box-shadow:0 4px 18px #07191d3b}.stage-control-dock>#whiteboard-open svg{width:23px;height:23px}.stage-control-dock>#whiteboard-open:disabled{opacity:.48;cursor:default}@media(hover:hover)and (pointer:fine){.stage-control-dock>#whiteboard-open:not(:disabled):hover{background:#f1db91;transform:translateY(-1px)}}body[data-whiteboard=true]{overflow:hidden;overscroll-behavior:none}body[data-whiteboard=true]>.lab-shell{opacity:0;pointer-events:none;transition:opacity .18s ease-out}.wb-shell{position:fixed;inset:0;z-index:100;background:#f6f5f0;display:grid;grid-template-rows:78px minmax(0,1fr) auto;isolation:isolate;overscroll-behavior:none;color:#273d36;font-family:inherit;animation:wb-enter .18s ease-out}@keyframes wb-enter{0%{opacity:0}to{opacity:1}}.wb-shell button,.wb-shell select{min-height:48px;touch-action:manipulation;border-radius:9px;font-size:13px}.wb-shell button:focus-visible,.wb-shell textarea:focus-visible,.wb-shell select:focus-visible{outline:3px solid #b08c37;outline-offset:3px}.wb-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 28px;border-bottom:1px solid #d7ddd3;background:#faf9f5;z-index:3}.wb-heading{display:flex;align-items:center;gap:14px;min-width:0}.wb-brand{display:grid;place-items:center;border:1px solid #a7b6a4;width:38px;height:38px;border-radius:50%;font-size:23px;color:#536b55}.wb-heading h2{font-size:19px;font-weight:620;letter-spacing:.01em}.wb-heading p{font-size:11px;color:#768177;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}.wb-header-actions{display:flex;align-items:center;gap:12px}.wb-header-actions>button{padding:0 17px;border:1px solid #ccd4c7;white-space:nowrap}.wb-header-actions .wb-exit{background:#2c473d;color:#f3f3e9;border-color:#2c473d;padding:0 20px;display:flex;align-items:center;gap:18px}.wb-exit span{font-size:19px}.wb-frozen{font:11px Consolas,monospace;color:#6a796b;padding-right:10px}#wb-page-count{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#e8ece1;margin-left:5px;font-size:11px}.wb-workspace{position:relative;min-height:0;display:grid;place-items:center;overflow:hidden;background:#eaece4}.wb-frame{position:relative;max-width:100%;max-height:100%;background:#f7f7f2;overflow:hidden;box-shadow:0 0 0 1px #dce1d4;touch-action:none}.wb-model,.wb-model canvas{touch-action:none!important}.wb-model [data-scene-overlay]{display:none!important}#wb-ink{position:absolute;inset:0;z-index:2;width:100%;height:100%;touch-action:none;user-select:none;-webkit-user-select:none}.wb-view-actions{position:absolute;right:24px;bottom:20px;display:flex;align-items:center;padding:4px;gap:2px;background:#fafaf5ed;border:1px solid #cdd6c7;border-radius:12px;box-shadow:0 3px 14px #2137290b;z-index:3}.wb-view-actions button{min-width:48px;padding:0 12px;font-size:12px}.wb-view-actions button:nth-child(-n+2){font-size:22px;padding:0 8px}.wb-view-actions button[aria-pressed=true]{background:#dce7d4}.wb-footer{padding:13px 24px 10px;background:#faf9f5;border-top:1px solid #d7ddd3;z-index:4;min-width:0}.wb-toolbar{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.wb-tools,.wb-palette,.wb-history{display:flex;align-items:center;gap:4px}.wb-tools{padding-right:15px;border-right:1px solid #d7ddd3}.wb-tools>button,.wb-history>button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:56px;min-height:59px;padding:7px 9px;font-size:11px;color:#5e7164}.wb-tools svg,.wb-history svg{width:23px;height:23px}.wb-tools>button[aria-pressed=true]{background:#dfe9d7;color:#294632;box-shadow:inset 0 0 0 1px #b9ccb0;font-weight:600}.wb-tools>button[data-wb-tool=model][aria-pressed=true]{background:#2c473d;color:#f5f4e6;box-shadow:none}.wb-palette>button{display:grid;place-items:center;min-width:38px;width:38px;min-height:48px;padding:0}.wb-palette>button>span{width:23px;height:23px;background:var(--swatch);border-radius:50%;box-shadow:0 0 0 3px #faf9f5}.wb-palette>button[aria-pressed=true]>span{box-shadow:0 0 0 3px #faf9f5,0 0 0 4.5px var(--swatch)}.wb-width{display:flex;flex-direction:column;gap:3px;font-size:10px;color:#778372;text-align:center}.wb-width select{min-width:64px;border:1px solid #d1d8ca;background:#fffef9;padding:4px 9px;color:#435c49;min-height:42px;font:inherit;font-size:12px}.wb-history{border-left:1px solid #d7ddd3;padding-left:12px}.wb-history #wb-clear{font-size:12px;min-width:76px}.wb-footnotes{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;color:#778372;padding-top:12px;line-height:1.6}.wb-local-note{text-align:right;font-size:10px;line-height:1.5;color:#8a9385;margin-top:3px}#wb-save-state[data-state=error],#wb-save-state[data-state=unavailable],#wb-save-state[data-state=incompatible]{color:#a14e3c;font-weight:600}.wb-library{position:absolute;right:16px;top:12px;bottom:12px;width:min(350px,calc(100% - 32px));z-index:5;background:#fcfbf6;border:1px solid #cdd6c7;border-radius:14px;padding:17px;box-shadow:0 8px 35px #2233211c;display:flex;flex-direction:column;gap:12px}.wb-library-top{display:flex;align-items:center;justify-content:space-between}.wb-library h3{font-size:17px;font-weight:600}.wb-library-top>button{width:48px;font-size:22px}.wb-library>p{font-size:12px;color:#778372;line-height:1.7}.wb-library #wb-page-list{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;touch-action:pan-y}#wb-page-list button{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:8px;text-align:left;padding:15px 13px;border:1px solid #dce1d6;margin-bottom:9px;min-height:76px}#wb-page-list button[aria-current=page]{background:#e6ecdd;border-color:#b4c8aa}#wb-page-list strong{font-size:13px;font-weight:550}#wb-page-list span{font-size:10px;color:#768273}#wb-export{width:100%;border:1px solid #c5d1bc;background:#f1f3e9}.wb-dialog{width:min(440px,calc(100vw - 32px));border:1px solid #c3d0ba;border-radius:17px;background:#faf9f2;color:#2f473a;padding:25px;box-shadow:0 20px 80px #1e332a33}.wb-dialog::backdrop{background:#162a2859}.wb-dialog h3{font-size:20px;line-height:1.5;margin:0 0 14px}.wb-dialog p{font-size:14px;line-height:1.85;color:#72816e}.wb-dialog label{display:block;font-size:12px;color:#72816e;margin-bottom:8px}.wb-dialog textarea{resize:vertical;width:100%;max-height:40vh;min-height:120px;border:1px solid #c3d0ba;border-radius:8px;background:#fffffb;padding:12px;font:16px/1.65 inherit;color:#2f473a}.wb-dialog div{display:flex;gap:9px;justify-content:flex-end;margin-top:23px}.wb-dialog button{padding:0 17px;border:1px solid #c3d0ba}.wb-dialog .wb-danger{color:#fbf4ec;background:#975449;border-color:#975449}.wb-dialog .wb-primary{color:#f6f6ed;background:#36553e;border-color:#36553e}@media(hover:hover)and (pointer:fine){.wb-shell button:not(:disabled):not([aria-pressed=true]):not(.wb-exit):not(.wb-primary):not(.wb-danger):hover{background:#e8ede1}.wb-shell .wb-exit:hover{background:#3d5a48}}@media(min-width:1700px){.wb-shell{grid-template-rows:90px minmax(0,1fr) auto}.wb-shell button{min-height:54px}.wb-tools>button,.wb-history>button{min-width:70px;min-height:68px;font-size:13px}.wb-footer{padding:17px 32px 15px}.wb-palette>button{min-width:46px}.wb-heading h2{font-size:22px}}@media(max-width:1100px){.wb-toolbar{gap:7px;justify-content:space-between}.wb-tools{padding-right:7px}.wb-tools>button,.wb-history>button{min-width:48px;padding:6px}.wb-palette>button{min-width:32px;width:32px}.wb-history{padding-left:6px}.wb-header{padding:0 16px}.wb-footer{padding:10px 14px}}@media(max-width:760px){.wb-shell{grid-template-rows:68px minmax(0,1fr) auto}.wb-brand,.wb-frozen{display:none}.wb-header{gap:7px;padding:0 12px}.wb-heading h2{font-size:16px}.wb-heading p{font-size:9px;max-width:42vw}.wb-header-actions{gap:6px}.wb-header-actions>button{padding:0 10px;font-size:11px}.wb-header-actions .wb-exit{padding:0 10px;gap:7px}.wb-exit span{display:none}.wb-toolbar{justify-content:center;gap:6px}.wb-tools{width:100%;justify-content:space-between;padding:0 0 7px;border-right:0;border-bottom:1px solid #d7ddd3}.wb-tools>button{min-width:42px;padding:5px 7px;min-height:56px;font-size:10px}.wb-tools svg{width:21px;height:21px}.wb-footer{padding:8px 9px max(9px,env(safe-area-inset-bottom))}.wb-history>button{min-width:42px;font-size:10px;min-height:48px}.wb-history #wb-clear{min-width:54px;font-size:10px}.wb-palette>button{min-width:31px;width:31px}.wb-palette{gap:0}.wb-palette>button>span{width:18px;height:18px}.wb-width{font-size:9px}.wb-width select{min-width:48px;min-height:40px;padding:2px 4px}.wb-history{gap:0;padding-left:4px}.wb-view-actions{right:12px;bottom:12px}.wb-view-actions button{min-width:44px;padding:0 9px;font-size:11px;min-height:44px}.wb-footnotes{font-size:9px;gap:5px;padding-top:8px;align-items:flex-start}.wb-footnotes>span:first-child{max-width:61%}.wb-local-note{font-size:9px;text-align:left;margin-top:5px}}@media(prefers-reduced-motion:reduce){.wb-shell{animation:none}}@media(pointer:coarse){.wb-palette>button{min-width:44px;width:44px;min-height:48px}.wb-tools>button,.wb-history>button{min-width:48px;min-height:52px}.wb-width select{min-height:48px}.wb-toolbar{row-gap:8px}}.textbook-dialog{width:min(780px,calc(100vw - 36px));height:min(92svh,1100px);max-width:none;max-height:none;padding:0;border:1px solid #d4ccb9;border-radius:14px;background:var(--page);color:var(--ink);box-shadow:0 24px 80px #17251f66;overflow:hidden}.textbook-dialog::backdrop{background:#14231cbf;backdrop-filter:blur(4px)}.textbook-window{display:flex;flex-direction:column;height:100%;min-height:0}.textbook-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 23px 14px;border-bottom:1px solid var(--rule)}.textbook-header h2{margin-top:6px;font-size:21px;font-weight:600;line-height:1.35}.textbook-header p{margin-top:5px;color:var(--muted);font-size:11px}.textbook-header .icon-button{width:40px;height:40px;flex:none;font-size:26px}.textbook-stage{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:15px;background:#ebe9df;text-align:center}.textbook-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(92svh - 190px);margin:auto;box-shadow:0 4px 25px #2c2c2740}.textbook-stage img[hidden],.textbook-stage .textbook-status[hidden],.textbook-actions button[hidden]{display:none!important}.textbook-stage.is-zoomed img{max-width:none;max-height:none}.textbook-status{display:grid;place-items:center;min-height:100%;color:#645e4e;font-size:14px;line-height:1.7}.textbook-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:61px;padding:10px 23px;border-top:1px solid var(--rule);color:var(--muted);font-size:11px}.textbook-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.textbook-actions button,.textbook-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #cfc8b7;border-radius:7px;color:#544728;font-size:11px;text-decoration:none;white-space:nowrap}.textbook-actions button:hover,.textbook-actions a:hover{background:#eee9d9}@media(max-width:600px){.textbook-dialog{width:calc(100vw - 16px);height:calc(100svh - 16px);border-radius:11px}.textbook-header{padding:13px 15px 10px}.textbook-header h2{font-size:17px}.textbook-header .icon-button{width:44px;height:44px}.textbook-stage{padding:9px}.textbook-stage img{max-height:calc(100svh - 170px)}.textbook-footer{padding:8px 12px}.textbook-footer>span{display:none}.textbook-actions{width:100%;justify-content:space-between}.textbook-actions button,.textbook-actions a{min-height:44px;font-size:11px}}
