*{box-sizing:border-box}body{margin:0;color:#244e5c;font-family:"Microsoft YaHei",system-ui,sans-serif}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #3a927b;outline-offset:2px}
.model-stage{min-height:0;overflow:auto;background:#fcfefd}.engineering-layout{height:100%;min-height:0;display:grid;grid-template-columns:146px minmax(0,1fr) 238px;gap:18px;padding:16px 18px}h2{font-size:17px;margin:0 0 10px}
.primer-library{min-width:0;overflow-y:auto;scrollbar-width:thin}.primer-library button{display:block;width:100%;padding:14px 9px;margin-bottom:12px;text-align:left;border:1px solid #c8dfd6;border-radius:10px;background:#fff;color:#315d64}.primer-library button[aria-pressed=true]{background:#eaf6f0;border-color:#62a994;box-shadow:inset 0 -2px #31816e}.primer-library strong{display:block;font-size:13px}.primer-library svg{display:block;width:100%;height:66px;margin:8px 0}.primer-library span,.primer-library p{font-size:11px;color:#68858b;line-height:1.7}.primer-library p{margin:8px 0}
.reaction-area{min-width:0;min-height:0;display:flex;flex-direction:column}.reaction-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 2px 9px;min-height:48px}.reaction-heading h2{margin:0 0 4px}.reaction-heading>div>span{font-size:12px;color:#69848a}.phase-badge{display:flex;flex-direction:column;align-items:flex-end;gap:3px;white-space:nowrap}.phase-badge strong{color:#2d816e;font-size:14px}.phase-badge span{font-size:12px;color:#a05b31}
.scene-viewport{flex:1;min-height:0;overflow:hidden;background:#f3f9f6;border:1px solid #e0eee7;border-radius:13px}#scene{display:block;width:100%;height:100%;min-height:0}.strand-legend{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;min-height:34px;font-size:11px;color:#62808a}.strand-legend span{display:flex;align-items:center;gap:5px}.strand-legend i{width:18px;height:5px;border-radius:3px}.original{background:#a41734}.new{background:#075b35}.primer{background:#9d4a07}
.reaction-progress{display:flex;align-items:center;gap:10px;font-size:12px;padding:3px 0}.reaction-progress>strong{white-space:nowrap;font-size:11px}.reaction-steps{display:flex;gap:8px;flex:1}.reaction-steps>div{flex:1;text-align:center;color:#75988c}.reaction-steps span{display:block;height:5px;border-radius:3px;background:#e0ebe5;overflow:hidden}.reaction-steps i{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:#38917a}.reaction-steps b{display:block;margin-top:3px;font-size:11px;font-weight:400}.reaction-steps .active b{color:#27725f;font-weight:600}.reaction-progress output{color:#5c8577;font-size:11px;min-width:80px;text-align:right}.observation-note{font-size:11px;color:#738991;line-height:1.6;text-align:center;margin:5px 0 0}
.site-detail{min-width:0;overflow-y:auto;scrollbar-width:thin;border-left:1px solid #d7e7e0;padding:0 0 4px 16px}.detail-heading{display:flex;justify-content:space-between;gap:6px;align-items:center}.detail-heading h2{margin-bottom:8px}#site-label{font-size:12px;color:#508577;margin:6px 0 8px}.zoom-viewport{height:205px;border-radius:10px;background:#f3f9f6;overflow:hidden}#site-zoom{height:100%;width:100%;display:block}.zoom-directions{display:flex;gap:8px;justify-content:space-between;font-size:10px;color:#78908d;margin:5px 0}.zoom-viewport .dna-end{display:none}#site-description{font-size:12px;color:#397566;line-height:1.8;margin:12px 0;min-height:42px}.product-summary{border-top:1px solid #d7e7e0;padding-top:12px;margin-top:14px}.product-summary h2{font-size:15px;margin-bottom:4px}#total-count{display:inline-block;font-size:29px;color:#2d8774;font-weight:600;margin-right:7px}.subtle{font-size:12px;color:#6d8790}.category-counts{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:11px;color:#68878d;padding-top:8px}.category-counts b{font-size:13px;color:#345f63}#phase-description{font-size:12px;color:#3c6e70;line-height:1.8;border-left:3px solid #80b29b;padding-left:10px;margin:15px 0}.science-boundary{font-size:11px;color:#789096;line-height:1.7;margin:12px 0 0}
.timeline-control{display:flex;align-items:center;gap:8px;flex:1;min-width:100px;white-space:nowrap;color:#6b8b86;font-size:12px}.timeline-control input{min-width:25px;width:100%;accent-color:#31816e}.timeline-control output{min-width:32px}.dna-end{font-size:19px;fill:#3d6368;font-weight:600}.guide-label{font-size:17px;fill:#658b7e}.row-label{font-size:17px;fill:#2a555e;font-weight:600}.product-name{font-size:20px;fill:#b21f39;font-weight:650}.primer-label{font-size:17px;fill:#9e571e}.hide-labels .optional-label{visibility:hidden}.is-css-fullscreen{position:fixed!important;inset:0!important;z-index:1000;background:#fcfefd}
#jump-detail,#back-reaction{display:none;border:1px solid #bfded1;border-radius:6px;padding:6px 9px;background:#f0f8f4;color:#2b7462;font-size:11px}
@media(max-width:1180px){.engineering-layout{grid-template-columns:128px minmax(0,1fr) 212px;gap:12px;padding:12px}.site-detail{padding-left:12px}h2{font-size:15px}.primer-library strong{font-size:12px}.reaction-heading h2{font-size:16px}.phase-badge strong{font-size:12px}.phase-badge span{font-size:11px}.reaction-heading>div>span{font-size:11px}.reaction-progress{gap:7px}.zoom-viewport{height:190px}}
@media(max-width:860px){.engineering-layout{height:auto;min-height:100%;display:flex;flex-direction:column;gap:12px;padding:10px 12px}.primer-library{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;overflow:visible}.primer-library h2{grid-column:1/-1;margin:0;font-size:13px}.primer-library button{margin:0;padding:8px 10px}.primer-library svg{height:43px;margin:3px 0}.primer-library strong{font-size:12px}.primer-library span{font-size:10px}.primer-library p{display:none}.reaction-area{height:var(--reaction-height,420px);flex:none}.reaction-heading{min-height:38px;margin-bottom:6px}.reaction-heading h2{font-size:14px}.reaction-heading>div>span{font-size:10px}.strand-legend{gap:9px;font-size:10px;min-height:34px}.reaction-progress{gap:6px}.reaction-progress output{min-width:68px;font-size:10px}.reaction-progress>strong{font-size:10px}.observation-note{font-size:10px}.site-detail{border-left:0;border-top:1px solid #d7e7e0;padding:12px 0;overflow:visible}.zoom-viewport{height:230px;max-width:440px;margin:0 auto}.zoom-directions{max-width:440px;margin:5px auto}#site-description{min-height:0}.category-counts{font-size:12px}.category-counts b{font-size:15px}#jump-detail,#back-reaction{display:inline-block}.product-summary{margin-top:10px}.phase-badge strong{font-size:11px}}
@media(max-height:620px){.reaction-heading{min-height:28px;margin-bottom:4px}.reaction-heading>div>span,.observation-note{display:none}.phase-badge{flex-direction:row}.reaction-heading h2{font-size:13px}.engineering-layout{padding-top:8px;padding-bottom:8px}.strand-legend{min-height:29px}.primer-library svg{height:34px}.primer-library button{padding:6px 8px}.zoom-viewport{height:160px}}
@media(min-width:600px) and (max-width:860px) and (max-height:500px){.engineering-layout{display:grid;grid-template-columns:125px minmax(0,1fr)}.primer-library{display:flex;flex-direction:column;align-self:start}.primer-library svg{height:38px}.reaction-area{height:var(--reaction-height,280px)}.site-detail{grid-column:1/-1}}
@media(max-width:860px){.zoom-viewport{height:var(--detail-height,230px)}}
