*{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,.scene-viewport:focus-visible{outline:3px solid #3a927b;outline-offset:2px}
.model-stage{min-height:0;overflow:auto;background:#fcfefd}
.products-layout{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:18px;padding:15px 20px}
.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:12px;margin:0 2px 8px;min-height:48px}h2{font-size:18px;margin:0 0 5px}.reaction-heading h2{margin:0 0 4px}.reaction-heading>div>span{font-size:12px;color:#647f8a}.phase-badge{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap;gap:3px}.phase-badge strong{font-size:15px;color:#287d67}.phase-badge #temperature{font-size:14px;color:#a05b31}
.scene-viewport{position:relative;flex:1;min-height:0;overflow:hidden;overflow-anchor:none;background:#f3f9f6;border:1px solid #e0eee7;border-radius:14px;touch-action:auto}
#scene{display:block;width:100%;height:100%;min-height:0}
.product-name{font-size:20px;fill:#b21f39;font-weight:650}.product-status{font-size:13px;fill:#a46b72}
.scene-caption{display:flex;align-items:center;justify-content:center;gap:10px;min-height:28px;font-size:11px;color:#5b7882;padding-top:4px;text-align:center}
.scene-caption button,.cycle-settings button{border:1px solid #bfded1;border-radius:6px;padding:6px 9px;background:#f0f8f4;color:#2b7462;font-size:12px}
.strand-legend{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;color:#5b7882;font-size:12px;min-height:28px}.strand-legend span{display:flex;align-items:center;gap:6px}.strand-legend i{width:19px;height:5px;border-radius:3px}.original{background:#a41734}.new{background:#075b35}.primer{background:#9d4a07}
.reaction-progress{display:flex;align-items:center;gap:12px;padding:7px 0 2px;font-size:12px}.reaction-progress>strong{font-size:12px;white-space:nowrap}.reaction-progress output{font-size:11px;color:#66877d;white-space:nowrap;min-width:82px;text-align:right}.reaction-steps{display:flex;gap:9px;flex:1}.reaction-steps>div{flex:1;text-align:center;color:#75988c}.reaction-steps b{display:block;font-size:11px;font-weight:400;margin-top:4px}.reaction-steps span{display:block;background:#e0ebe5;height:5px;border-radius:3px;overflow:hidden}.reaction-steps i{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left;background:#38917a}.reaction-steps .active b{font-weight:600;color:#276d59}.observation-note{font-size:11px;text-align:center;color:#71878e;margin:6px 0 0;line-height:1.6}
.products-area{min-width:0;overflow-y:auto;scrollbar-width:thin;border-left:1px solid #d7e7e0;padding:0 0 4px 18px}.cycle-settings{padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid #dce9e2}.cycle-settings h2{margin-bottom:10px}.settings-row{display:flex;align-items:center;gap:6px;margin-bottom:8px;flex-wrap:wrap}.settings-row label{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;margin-right:auto}.settings-row input{width:54px;min-width:0;padding:6px 3px;text-align:center;border:1px solid #bfded1;border-radius:5px;background:#fff;color:#2f6a57}.settings-row button{padding:7px 6px;white-space:nowrap}#finish-cycle{width:100%}#input-feedback{font-size:11px;color:#6c878e;line-height:1.6;min-height:18px;margin-top:7px}#input-feedback.error{color:#ac3b3f}.cycle-settings button:disabled{opacity:.4;cursor:default}
.count-label,.subtle{font-size:12px;color:#68838a}.count-label{margin:10px 0 4px}#total-count{display:block;font-size:30px;font-weight:650;color:#2e8775;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}#total-count.large{font-size:22px}.category-counts{margin:10px 0 15px}.category-counts>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #e0ebe5;flex-wrap:wrap}.category-counts dt{font-size:13px;font-weight:600}.category-counts small{display:block;font-size:11px;color:#6b858d;font-weight:400;margin-top:3px}.category-counts dd{font-size:21px;font-weight:600;margin:0;line-height:1.2;font-variant-numeric:tabular-nums}.category-counts dd.large{font-size:17px}#phase-description{font-size:12px;color:#315f60;line-height:1.85;padding:0 0 0 10px;border-left:3px solid #73ad96;margin:15px 0}#count-formulas{font-size:12px;color:#557c71;line-height:1.9;margin:12px 0}#count-formulas>div{display:flex;justify-content:space-between;gap:8px}#count-formulas>span{font-size:11px;color:#78938a}.science-boundary{font-size:11px;line-height:1.7;color:#7e9297;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}.row-detail{font-size:14px;fill:#6a878c}.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}
@media(max-width:1150px){.products-layout{grid-template-columns:minmax(0,1fr) 236px;gap:13px;padding:12px}.products-area{padding-left:12px}.settings-row label{font-size:11px}.settings-row input{width:47px}.settings-row button{font-size:11px}h2{font-size:16px}.reaction-heading h2{font-size:17px}.phase-badge strong{font-size:13px}}
@media(max-width:860px){.products-layout{height:auto;min-height:100%;display:flex;flex-direction:column;gap:14px;padding:12px}.reaction-area{flex:none;height:var(--reaction-height,calc(100dvh - 260px))}.reaction-heading{min-height:44px;margin-bottom:7px}.reaction-heading h2{font-size:15px}.reaction-heading>div>span{font-size:11px}.phase-badge strong{font-size:12px}.phase-badge #temperature{font-size:12px}.scene-viewport{flex:1;min-height:0}#scene{height:100%;width:100%}.scene-caption{font-size:10px;min-height:24px;flex-wrap:wrap}.strand-legend{gap:10px;font-size:11px}.strand-legend i{width:15px}.reaction-progress{gap:8px;padding-top:4px}.reaction-progress>strong{font-size:11px}.reaction-progress output{font-size:10px;min-width:66px}.reaction-steps{gap:6px}.reaction-steps b{font-size:10px}.observation-note{font-size:10px}.products-area{border-left:0;border-top:1px solid #d7e7e0;padding:14px 0;overflow:visible}.settings-row input{font-size:16px;width:58px}.settings-row label{font-size:12px}.settings-row button{font-size:12px}.cycle-settings{margin-bottom:12px}.count-label{margin-top:10px}#phase-description{font-size:12px}.category-counts{display:flex;gap:12px}.category-counts>div{align-content:start;display:block;flex:1;min-width:0}.category-counts dt{font-size:12px}.category-counts small{font-size:10px;min-height:32px}.category-counts dd{font-size:21px;margin-top:6px;overflow-wrap:anywhere}.category-counts dd.large{font-size:14px}#count-formulas{max-width:330px}}
@media(min-width:600px) and (max-width:860px) and (max-height:500px){.reaction-heading{min-height:30px}.reaction-heading h2{font-size:13px}.scene-caption,.strand-legend{min-height:23px}.products-layout{padding:8px 12px}}

@media(max-height:620px){.reaction-heading{min-height:28px;margin-bottom:4px}.reaction-heading>div>span,.scene-caption,.observation-note{display:none}.reaction-heading h2{font-size:13px}.strand-legend{min-height:22px;font-size:10px}.reaction-progress{padding-top:2px}.phase-badge{flex-direction:row}.products-layout{padding-top:8px;padding-bottom:8px}}
