/* Scientific plates and plant-specific reading controls. */
.science-plane{width:1260px;height:525px}
.science-viewport{--outer-ink:#4d695c;background:#f7f7ee}
.species-id{display:flex;align-items:baseline;gap:10px;white-space:nowrap;margin-right:12px}
.species-id strong{font-size:19px;letter-spacing:.04em;color:#315c4b}
.species-id i{font:italic 14px Georgia,serif;color:#708679}
.species-id #theme{font-size:12px;color:#536e5c;border-left:1px solid #ccd8ce;padding-left:10px}
.camera-tools [aria-pressed=true]{background:#e5f0e6;border-color:#8eaf98}
#plant-svg text{font-family:'Microsoft YaHei',system-ui,sans-serif;fill:#375648}
#plant-svg .cell-name,#plant-svg .tissue-title{font-size:20px;font-weight:700}
#plant-svg .tissue-title{font-size:22px;letter-spacing:.04em}
#plant-svg .structure-name,#plant-svg .small-name,#plant-svg .tissue-small,#plant-svg .tissue-sub{font-size:14px;fill:#4f6a5a}
#plant-svg .molecule-name,#plant-svg .tissue-bold{font-size:16px;font-weight:650}
#plant-svg .enzyme-label{font-size:14.5px;font-weight:700;fill:#455b42!important;stroke:none}
#plant-svg .lane-label,#plant-svg .return-label{font-size:17px;font-weight:700;fill:#246748;paint-order:stroke;stroke:#f0f6e5;stroke-width:4px;stroke-linejoin:round}
#plant-svg .return-label{fill:#835138}
#plant-svg .ring-name{font-size:14px;font-weight:650;fill:#4e704e}
#plant-svg .reserve-count,#plant-svg .tissue-status{font-size:15px;font-weight:700;fill:#346959}
#plant-svg .outer-name,#plant-svg .outside-name,#plant-svg .sky-legend,#plant-svg .scene-place{fill:var(--outer-ink);font-size:16px;font-weight:550}
#plant-svg .sky-legend{font-size:18px;font-weight:680}
#plant-svg .inner-name{font-size:14px;fill:#3f687a}
.plant-reading{padding:9px 16px;gap:16px;min-height:66px;justify-content:space-between;flex-wrap:wrap}
.phase-copy{min-width:200px;flex:1}.phase-heading{display:flex;gap:10px;align-items:baseline}.phase-heading strong{color:#355e4b;font-size:15px}
.phase-heading #place{font-size:12px;color:#6b7f71}
.plant-reading .phase-copy p{margin:3px 0 0;font-size:13px;color:#485f54;line-height:1.5}
.carbon-key,#resp-option{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#5f6e60;white-space:nowrap}
.carbon-key b{font-weight:600;color:#695a39}.legend-dot{border-radius:50%;width:12px;height:12px;background:#755623;border:2px solid #c48b28;box-shadow:inset 0 0 0 1px #fff5ce}
#resp-option input{accent-color:#427a64;margin:0;cursor:pointer}
@media(max-width:860px) and (orientation:portrait){
.species-id{gap:6px;margin-right:2px}.species-id strong{font-size:16px}.species-id i{display:none}.species-id #theme{border:0;padding:0;font-size:11px}
.plant-reading{align-items:center;gap:4px 10px;padding:7px 10px;min-height:0}.phase-copy{flex:1 1 100%}.phase-heading strong{font-size:14px}.phase-heading #place{font-size:11px}
.plant-reading .phase-copy p{font-size:12px;line-height:1.42}.carbon-key,#resp-option{font-size:11px}.carbon-key{flex:1}
}
@media(max-height:520px) and (orientation:portrait){.species-id #theme{display:none}.plant-reading{padding:3px 7px}.phase-heading strong{font-size:12px}.plant-reading .phase-copy p{font-size:11px;line-height:1.3}}
@media(max-height:520px) and (orientation:landscape){
.species-id{gap:5px;margin-right:2px}.species-id i,.species-id #theme{display:none}.species-id strong{font-size:14px}
.plant-reading{padding:3px 10px;min-height:0;gap:7px;flex-wrap:nowrap}.phase-heading strong{font-size:12px}.phase-heading #place{font-size:10px}
.plant-reading .phase-copy p{font-size:10.5px;line-height:1.35;margin:1px 0}.carbon-key,#resp-option{font-size:10px}
}
.model-area[data-immersive=true] .plant-reading{background:#fffef9ed}
.model-area[data-immersive=true][data-chrome-visible=false] .plant-reading{display:none}
.shell-dialog .sketch-tools{flex-direction:column;align-items:stretch}
.shell-dialog .sketch-tools .camera-tools{flex-wrap:wrap;justify-content:flex-start;margin-left:0}
.shell-dialog .sketch-tools .scene-select-label{display:flex}

.science-viewport{background-image:radial-gradient(ellipse 72px 68px at 3% 96%,rgba(247,247,238,var(--corner-contrast,0)) 18%,transparent 100%)}
#plant-svg .cycle-key{font-size:14px;fill:var(--outer-ink);font-weight:520}#plant-svg [data-calvin-ring] text{pointer-events:visiblePainted}
@media(max-width:500px){.species-id #theme{display:none}.phase-heading #place{font-size:10px}}

@media(max-width:359px) and (orientation:portrait){.model-area:not([data-immersive=true]) .model-stage>.sketch-tools{display:flex;gap:3px;min-height:30px;padding:2px 3px}.sketch-tools .species-id{margin:0}.sketch-tools .species-id strong{font-size:12px}.sketch-tools .scene-select-label{min-width:35px}.sketch-tools .scene-select-label select{height:28px;padding:0 1px;width:100%;font-size:10px}.sketch-tools .camera-tools{gap:2px;flex:none}.camera-tools #current{display:block}.sketch-tools .camera-tools .shell-action{min-height:28px;padding:2px 4px;min-width:0;font-size:10px}.reading-line .phase-heading{gap:5px}}

@media(max-width:359px) and (orientation:portrait){.model-stage .sketch-tools .camera-tools{width:auto}.model-stage .sketch-tools .camera-tools .shell-action{flex:0 0 auto;white-space:nowrap}}

/* Cell boundaries, rails and material labels use a common geometric vocabulary. */
#plant-svg .geo-node{font-size:15px;font-weight:670;fill:#335e45}
#plant-svg .geo-note{font-size:12.5px;fill:#546d59}
#plant-svg .geo-route-label,#plant-svg .geo-bridge,#plant-svg .geo-structure{font-size:15px;fill:#3e7052;font-weight:650}
#plant-svg .geo-bridge{font-size:13.5px}
#plant-svg .geo-enzyme{font-size:13px;font-weight:700;fill:#715b33}
#plant-svg .geo-arc-label{font-size:11px;fill:#587450}
#plant-svg .geo-ring-name{font-size:13px;font-weight:700;fill:#365c44}
#plant-svg .geo-note.sugar,#plant-svg .geo-node.sugar{fill:#845d26}
#plant-svg .geo-note.back,#plant-svg .geo-route-label.back,#plant-svg .geo-node.back{fill:#86563b}
#plant-svg .geo-node.gas,#plant-svg .geo-note.inner{fill:#446875}
#plant-svg .geo-legend{font-size:13.5px;fill:var(--outer-ink)}
#plant-svg [data-calvin-ring]{cursor:pointer}

.model-area:not([data-view-mode=all]) #plant-svg .geo-legend,.model-area[data-view-mode=current] #plant-svg [data-tissue],.model-area[data-view-mode=current] #plant-svg .locator-links{visibility:hidden}

#plant-svg .geo-bridge,#plant-svg .geo-route-label{paint-order:stroke;stroke:#f2f2e1;stroke-width:3px;stroke-linejoin:round}

#plant-svg .geo-tally{font-weight:700;font-size:12.5px;fill:#805525}
.carbon-key.is-accounting .legend-dot{background:#a3672a;border-color:#a3672a}

[data-compound="organic"][data-complete="true"] rect{fill:#faf0d5;stroke:#ba894f;stroke-width:1.35}

.cycle-pickers{display:flex;align-items:center;gap:8px}
.cycle-pickers[hidden],.model-area[data-cycle-open=true] .sketch-tools>.scene-select-label{display:none}
.cycle-pickers label{display:flex;align-items:center;gap:5px;color:#4e6757;font-size:13px}
.cycle-pickers select{max-width:100%;font:inherit;min-height:30px;border:1px solid #b8cfc1;border-radius:7px;padding:2px 5px;color:#335a47;background:#fffef9}
.model-area[data-cycle-open=true] #plant-svg [data-tissue],.model-area[data-cycle-open=true] #plant-svg .locator-links{visibility:hidden}
.model-area[data-view-mode=cycle] #plant-svg [data-cell-scene]{clip-path:var(--cycle-clip)}
@media(max-width:860px) and (orientation:portrait){
  .model-area[data-cycle-open=true] .sketch-tools{flex-wrap:wrap}
  .cycle-pickers{flex:1;justify-content:flex-end;gap:5px}.cycle-pickers label span{display:none}
  .cycle-pickers select{font-size:12px}
}
@media(max-width:359px) and (orientation:portrait){
  .model-area[data-cycle-open=true] .sketch-tools .species-id{display:none}
  .model-area[data-cycle-open=true] .cycle-pickers{justify-content:flex-start;flex:1 1 100%}
}
@media(max-height:520px) and (orientation:landscape){.cycle-pickers label span{display:none}.cycle-pickers select{min-height:24px;font-size:11px}}
