*{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{background:#fcfefd}.sequencing-workbench{height:100%;min-height:0;display:flex;flex-direction:column;padding:8px 14px 4px;gap:3px;overflow:hidden}.reaction-heading{display:flex;align-items:center;gap:18px;min-height:29px;flex:none;font-size:13px}.reaction-heading strong{color:#277c65;font-size:15px;white-space:nowrap}.reaction-heading span{color:#65848b;min-width:0}.reaction-heading output{margin-left:auto;white-space:nowrap;color:#a76c34;font-size:12px}
.scene-viewport{flex:1;min-height:0;overflow:hidden;border-radius:12px;background:#fcfefd;touch-action:none;position:relative}#scene{display:block;width:100%;height:100%;user-select:none;touch-action:none}#scene text{font-family:"Microsoft YaHei",system-ui,sans-serif}#scene .fragment-hit{cursor:pointer}.hide-labels .optional-label{visibility:hidden}
#sequence{position:absolute;inset:0;pointer-events:none;overflow:hidden}#sequence button{position:absolute;left:0;top:0;pointer-events:auto;border:1px solid #d3e3da;border-radius:5px;background:#fcfffd;color:#92a8a2;font-family:ui-monospace,monospace;font-weight:650;line-height:1;padding:0;transform:translate(-50%,-50%)}#sequence button:disabled{opacity:.48;cursor:default}#sequence button[aria-pressed=true]{border-color:currentColor;box-shadow:0 0 0 1px currentColor;background:#fff}
.view-tools{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:9px;min-height:32px;flex:none}.strand-legend{grid-column:2;grid-row:1;display:flex;justify-content:center;gap:15px;color:#62818a;font-size:12px;white-space:nowrap}.strand-legend span{display:flex;align-items:center;gap:6px}.strand-legend i{width:23px;height:6px;border-radius:3px}.original{background:#c77586}.new{background:#76aa91}.primer{background:#c9a16b}#camera-hint{grid-column:1;grid-row:1;font-size:11px;color:#809397}.camera-buttons{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:5px}.camera-buttons button{min-width:30px;min-height:28px;padding:3px 8px;border:1px solid #c9e0d6;border-radius:6px;color:#467d70;background:#f7fcf9;font-size:12px}.camera-buttons button[aria-pressed=true]{background:#e2f2e8;border-color:#79b49d}.camera-buttons output{font-size:11px;color:#7a9093;min-width:26px;text-align:center}
.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}.is-css-fullscreen{position:fixed!important;inset:0!important;z-index:1000;background:#fcfefd}
@media(max-width:1150px){.reaction-heading{font-size:11px;gap:10px}#camera-hint{display:none}}
@media(max-width:860px){.sequencing-workbench{padding:5px 8px;gap:2px}.reaction-heading{gap:5px;min-height:38px;flex-wrap:wrap;align-content:center;line-height:1.3}.reaction-heading strong{font-size:13px}.reaction-heading span{font-size:11px}.reaction-heading output{font-size:11px}.view-tools{grid-template-columns:1fr;grid-template-rows:auto auto;gap:3px;min-height:58px}.strand-legend{grid-column:1;grid-row:1;font-size:11px}.camera-buttons{grid-column:1;grid-row:2;justify-self:center;gap:5px}.camera-buttons button{min-width:36px;min-height:30px}.scene-viewport{border:1px solid #e1eee7}}
@media(max-height:620px){.sequencing-workbench{padding-top:2px;padding-bottom:2px}.reaction-heading{min-height:24px}.reaction-heading span{display:none}.reaction-heading strong{font-size:12px}.view-tools{min-height:30px;gap:2px}.camera-buttons{gap:3px}.camera-buttons button{min-width:26px;min-height:26px;padding:2px 5px;font-size:10px}.camera-buttons output{font-size:10px;min-width:23px}.strand-legend{gap:9px;font-size:10px}}
@media(min-width:600px) and (max-width:860px) and (max-height:500px){.view-tools{grid-template-columns:1fr auto 1fr;grid-template-rows:auto}.strand-legend{grid-column:2;grid-row:1}.camera-buttons{grid-column:3;grid-row:1;justify-self:end}}
@media(max-width:350px){.strand-legend{gap:10px;font-size:10px}.strand-legend i{width:17px}.reaction-heading output{font-size:10px}}