*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#304c50}.independent-model-app{display:flex;flex-direction:column;height:100dvh}.independent-model-header{padding:14px 20px;flex:0 0 94px}.independent-model-workspace{flex:1;min-height:0;padding:0 14px 14px}.model-area{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.model-stage{min-height:0;position:relative}.science-viewport{height:100%;display:grid;grid-template-rows:39px minmax(0,1fr) 60px;position:relative;isolation:isolate;background:#fffdf8}.scene-topline{display:flex;align-items:center;justify-content:space-between;padding:0 13px;gap:8px;background:#fffdf8;z-index:3}.draft-badge{font-size:11px;letter-spacing:.1em;color:#758879;white-space:nowrap}.view-tools{display:flex;align-items:center;gap:5px}.view-tools button,.view-tools select{font:inherit;font-size:11px;color:#476d65;border:1px solid #c9dbd2;background:#fffdf8;border-radius:7px;padding:5px 9px;cursor:pointer}.view-tools button[aria-pressed=true]{background:#e5f0e8;border-color:#8cb39a}.linked-canvas{position:relative;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 122px;touch-action:none;user-select:none;-webkit-user-select:none}.diagram-window{position:relative;min-height:0;overflow:hidden;isolation:isolate;cursor:grab;outline:none}.diagram-window:active{cursor:grabbing}.diagram-window:focus-visible{outline:2px solid #90b1a4;outline-offset:-2px}#science,#science-background{width:100%;height:100%;display:block}#science{position:relative;z-index:1}#science-background{position:absolute;inset:0;z-index:-1;pointer-events:none}.energy-area{min-height:0;position:relative;border-top:1px solid #e5ebe2;padding:0 8px;background:#fffdf8}.energy-area svg{height:100%;width:100%;display:block}.energy-heading{position:absolute;left:14px;top:5px;font-size:10px;color:#627a71;display:none}.energy-heading span{margin-left:8px;font-size:9px;color:#8b9890}.linked-canvas[data-display=membrane]{grid-template-rows:minmax(0,1fr)}.linked-canvas[data-display=membrane] .energy-area{display:none}.linked-canvas[data-display=energy]{grid-template-rows:minmax(0,1fr)}.linked-canvas[data-display=energy] #science,.linked-canvas[data-display=energy] #science-background{opacity:0;pointer-events:none}.linked-canvas[data-display=energy] .compartments,.linked-canvas[data-display=energy] .scene-key{display:none}.linked-canvas[data-display=energy] .energy-area{position:absolute;inset:0;background:transparent;z-index:1;border:0}.linked-canvas[data-display=energy] .energy-heading{display:block;top:15px;left:18px;font-size:13px}
.compartments{position:absolute;left:13px;top:7px;display:flex;gap:13px;font-size:11px;letter-spacing:.04em;color:#688283;z-index:2;background:#fffdf8bb;padding:3px 6px;border-radius:5px;pointer-events:none}.scene-key{position:absolute;right:14px;bottom:8px;display:flex;gap:15px;font-size:10px;z-index:2;background:#fffdf8c7;padding:4px 6px;border-radius:5px;pointer-events:none}.electron-key{color:#bd6256}.proton-key{color:#7795a4}.light-key{color:#a77d22}.science-status{text-align:center;padding:5px 12px 3px;border-top:1px solid #e8ede6;z-index:3;background:#fffdf8}.result-row{display:flex;align-items:center;justify-content:center;gap:20px;font-size:12px;color:#728780}.result-row b{display:inline-block;min-width:30px;margin-left:4px;font-variant-numeric:tabular-nums;color:#416961}.result-row .gradient-result{font-size:10px;min-width:112px;text-align:left}#caption-note{font-size:11px;line-height:1.4;color:#688078;margin:5px 0 0}.timeline-wrap output{min-width:85px;width:85px;white-space:nowrap;font-variant-numeric:tabular-nums}.panel-home{display:none}.shell-dialog #structure-panel{display:block;font-size:13px;line-height:1.7}.shell-dialog details{margin-top:12px}.shell-dialog a{color:#528276}.ledger-grid{display:grid;grid-template-columns:1fr auto;gap:5px 15px;background:#eff5ef;border-radius:9px;padding:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
svg text{font-family:"Microsoft YaHei","PingFang SC",sans-serif;fill:#405a57}.label{font-size:26px;font-weight:700}.sub{font-size:21px;fill:#687e78}.tiny{font-size:17px;fill:#7b8c83}.protein-lobe{stroke:#6e806b;stroke-opacity:.26;stroke-width:1.6}.protein{filter:drop-shadow(0 3px 3px #66816a20)}.protein-badge{font-size:23px;font-weight:800;fill:#425c55}.protein[data-selected=true] .protein-lobe{stroke:#b19656;stroke-width:3}.lipid-tail-core{stroke:#a8cdd1;stroke-width:2;fill:none;stroke-linecap:round}.lipid-tail-shadow{stroke:#d1e4d9;stroke-width:1.25;fill:none;stroke-linecap:round}#continuous-inner-membrane{filter:saturate(.57);opacity:.90}.flow-route{pointer-events:none}.flow-line{fill:none;stroke:var(--flow-color);stroke-width:var(--flow-width);stroke-linecap:round;stroke-linejoin:round}.flow-casing{fill:none;stroke:#fffdf8;stroke-width:var(--flow-casing);stroke-linecap:butt;stroke-linejoin:round}.flow-route[data-kind=electron] .flow-active[data-active=true]{filter:drop-shadow(0 0 2px #dba08b)}.flow-route[data-kind=carrier] .flow-line{stroke-dasharray:7 6}.flow-line[marker-end]{stroke-linecap:butt}.photon-beam{fill:none;stroke:#b38a2e;stroke-width:6.4;stroke-linecap:butt;stroke-linejoin:round}.photon-front{fill:none;stroke:#f4d37a;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px #d6ab40);pointer-events:none}.photon-label{fill:#a77d22!important;font-size:20px;font-weight:700}.flash-halo{fill:#f8d47c;pointer-events:none}.h-label{fill:#7b96a2!important}
.molecular-bead circle{stroke:#8c9b96;stroke-width:1.25}.bead-proton{stroke:#658fa6!important}.bead-oxygen{stroke:#b67865!important}.species-symbol{font-size:14px;font-weight:700;fill:#435b61;stroke:none}.species-name{font-size:20px;font-weight:600;fill:#53685e;paint-order:stroke;stroke:#fffdf8;stroke-width:3px;stroke-linejoin:round}.molecule-bond{stroke:#92938a;stroke-width:2.6;stroke-linecap:round;fill:none}.molecular-ring,.nucleotide polygon{stroke:#99977f;stroke-width:1.5;stroke-linejoin:round}.atom-detail{font-size:9px;fill:#647466;stroke:none;font-weight:600}.nucleotide .species-symbol{font-size:11px}.electron-glyph circle{stroke:none}.electron-glyph .electron-rim{fill:#fff;stroke:#b96b5c;stroke-width:.8}.electron-glyph .electron-core{fill:url(#mol-electron)}.electron-symbol{fill:#fff;stroke:#995045;stroke-width:.6;paint-order:stroke;font-size:19px;font-weight:800}.electron-id{font-size:13px;fill:#a55248;font-weight:700;paint-order:stroke;stroke:#fffdf8;stroke-width:3px}.h-packet-count{font-size:16px;font-weight:600;fill:#7795a4;paint-order:stroke;stroke:#fffdf8;stroke-width:3px}.nadp-name{font-size:40px!important}.nadp-charge{font-size:14px;fill:#9c8164}.site-pocket{fill:#aa704e;fill-opacity:.3;stroke:#946141;stroke-width:1.2}.binding-pocket-window{fill:url(#binding-soft-wash);stroke:none}.terminal-phosphate .bead-phosphate{fill:url(#mol-terminal);stroke:#218d83!important;stroke-width:1.6}.terminal-bond{stroke:#208e82;stroke-width:3.5}.phosphate-indices text{font-size:10px;font-weight:700;fill:#568078}.nucleotide-detail .molecule-bond{stroke-width:2.4}.nucleotide-detail .nucleotide polygon{stroke-width:1.8}.nucleotide-state{font-size:19px}#science [data-object],#energy [data-object]{cursor:pointer}#science[data-labels=false] .detail{visibility:hidden}
.energy-axis{font-size:19px;font-weight:600;fill:#6f8478}.energy-small{font-size:16px;fill:#839187}.energy-name{font-size:19px;font-weight:600;fill:#526e60}.energy-light{font-size:18px;fill:#b59b50}.z-path{fill:none;stroke:#bd6256;stroke-width:4.5;stroke-linejoin:round;stroke-linecap:round;opacity:.5}.coupling-path{fill:none;stroke:#7795a4;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.coupling-box{fill:#f0f5ed;stroke:#d2ded0;stroke-width:1.5}.coupling-box[data-active=true]{fill:#e0eee5;stroke:#9bb9a6}.energy-compact .energy-name,.energy-summary .energy-name{font-size:26px}.energy-compact .energy-small,.energy-summary .energy-small{font-size:24px}.energy-compact .energy-axis{font-size:25px}.energy-compact .energy-light,.energy-summary .energy-light{font-size:25px}
@media(max-width:860px){.science-viewport{grid-template-rows:35px minmax(0,1fr) 68px}.scene-topline{padding:0 6px;gap:4px}.draft-badge{font-size:9px;letter-spacing:0}.draft-badge span{display:none}.view-tools{gap:3px}.view-tools button,.view-tools select{font-size:10px;padding:4px 5px}.linked-canvas{grid-template-rows:minmax(0,1fr) 88px}.compartments{left:6px;font-size:10px;gap:9px}.scene-key{right:6px;font-size:9px;gap:8px}.science-status{padding:5px 7px 2px}.result-row{gap:10px;font-size:10px}.result-row .gradient-result{font-size:9px;min-width:99px}.result-row b{min-width:21px;margin-left:3px}#caption-note{font-size:10px;margin-top:5px}.timeline-wrap output{min-width:77px;width:77px}}
body[data-shell-compact=true] .science-viewport{grid-template-rows:30px minmax(0,1fr) 38px}body[data-shell-compact=true] .linked-canvas[data-display=linked]{grid-template-rows:minmax(0,1fr)}body[data-shell-compact=true] .linked-canvas[data-display=linked] .energy-area{display:none}body[data-shell-compact=true] .science-status{padding:3px 8px}body[data-shell-compact=true] .result-row{font-size:10px;gap:18px}body[data-shell-compact=true] #caption-note{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;margin-top:2px}body[data-shell-compact=true] .compartments{font-size:9px;top:3px}body[data-shell-compact=true] .scene-key{font-size:8px;bottom:3px}
@media(max-width:359px) and (max-height:530px){.science-viewport{grid-template-rows:29px minmax(0,1fr) 58px}.linked-canvas[data-display=linked]{grid-template-rows:minmax(0,1fr)}.linked-canvas[data-display=linked] .energy-area{display:none}.draft-badge{display:none}.scene-topline{justify-content:flex-end}.result-row{gap:9px}.gradient-result{display:none}#caption-note{font-size:9px;line-height:1.3}.compartments{font-size:9px;top:2px}.scene-key{font-size:8px;bottom:3px}}
/* Hidden immersive chrome never reserves scientific rows or changes the camera rectangle. */
.model-area[data-immersive=true] .science-viewport{display:block;padding:0!important}.model-area[data-immersive=true] .linked-canvas{position:absolute;inset:0;display:block}.model-area[data-immersive=true] .diagram-window{position:absolute;inset:0}.model-area[data-immersive=true] .linked-canvas:not([data-display=energy]) .energy-area{display:none}.model-area[data-immersive=true] .scene-topline{position:absolute;left:6px;right:6px;top:46px;height:30px;background:#fffdf8eb;border-radius:6px}.model-area[data-immersive=true][data-chrome=hidden] .scene-topline{opacity:0;pointer-events:none}.model-area[data-immersive=true] .science-status{position:absolute;left:6px;right:6px;bottom:var(--shell-dock-height,110px);height:54px;border:0;border-radius:7px;background:#fffdf8da}.model-area[data-immersive=true] .compartments{top:82px}.model-area[data-immersive=true] .scene-key{bottom:calc(var(--shell-dock-height,110px) + 58px)}.model-area[data-immersive=true] .model-brand-corner{transform:translateY(calc(-1 * var(--shell-dock-height,110px) - 57px))}.model-area[data-immersive=true] .linked-canvas[data-display=energy] .energy-area{inset:80px 0 calc(var(--shell-dock-height,100px) + 60px)}
