@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;700;800&display=swap');
:root{--ink:#193d42;--muted:#657a7b;--teal:#267e82;--line:#dce6e1;--purple:#8564a5;--gold:#deb157}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#f5f7f2;color:var(--ink);font:14px 'DM Sans',system-ui,sans-serif}main{max-width:1470px;margin:auto;padding:24px 28px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:20px}h1{font:800 37px 'Manrope',sans-serif;letter-spacing:-1.4px;margin:5px 0}h1 em{font-style:normal;color:var(--teal)}header p{margin:6px 0;font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:700;color:var(--teal)}.review{font-size:9px;letter-spacing:1px;border:1px solid var(--line);padding:9px;border-radius:7px;color:var(--muted);white-space:nowrap}p{color:var(--muted);line-height:1.6}h2{font:800 23px 'Manrope';letter-spacing:-.5px;margin:6px 0}h3{font-size:16px;margin:8px 0}.tabs{display:flex;border-bottom:1px solid var(--line);gap:8px}.tabs button{padding:15px 18px;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-weight:700}.tabs button[aria-selected=true]{border-color:var(--teal);color:var(--teal)}button,select,input{font:inherit}button{cursor:pointer;border:0;border-radius:6px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,summary:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #dcb168;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.96)}.primary{background:var(--teal);color:white;padding:11px 14px}.secondary{background:#eaf0e6;color:var(--ink);padding:10px 13px}.quiet{background:#f3f5f0;padding:10px 13px;color:var(--muted)}#panel{background:white;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;padding:21px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.panel-head p{margin:5px 0;font-size:12px}.small{font-size:11px;color:var(--muted);line-height:1.5}.bench{display:grid;grid-template-columns:145px minmax(0,1fr) 245px;gap:18px;align-items:start}.stats{display:grid;gap:7px}.stat{border:1px solid var(--line);border-radius:8px;background:#f7f9f4;display:flex;justify-content:space-between;align-items:center;padding:11px;gap:8px;min-height:53px}.stat span{font-size:10px;max-width:85px;color:var(--muted)}.stat strong{font-size:23px}.stat.purple{background:#f0eaf7}.stat.teal{background:#e9f3ed}.stage{background:#fbfcf9;border:1px solid #d7e5da;border-radius:12px;padding:14px}.stage svg{width:100%;display:block;max-height:355px}svg text{font-family:'DM Sans',system-ui,sans-serif}.stage-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;color:#6e8c7b}.caption{background:#eef4e8;border-radius:7px;padding:10px;font-size:12px;line-height:1.5;margin-top:10px;min-height:48px}.controls>button{display:block;width:100%;margin:8px 0;font-size:12px}.controls p{font-size:12px}.toggle{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0e9;font-size:12px}.toggle input{accent-color:var(--teal);width:16px;height:16px}.notice{background:#f3f6ee;border-left:3px solid #a1bf9b;padding:10px;font-size:11px;line-height:1.5;margin-top:12px}.pool{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.carrier{font-size:10px;padding:5px 8px;border:1px solid #c8b5d9;border-radius:16px;background:#eee4f7;color:#785896}.carrier.empty{background:#e4efdb;color:#567443;border-color:#b9cea7}.legend{display:flex;gap:15px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:6px}.legend b{color:var(--ink)}.location-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.location-buttons{display:grid;gap:8px}.location-buttons button{text-align:left;padding:12px;background:#f3f6ef;border:1px solid var(--line);color:var(--ink)}.location-buttons button[aria-pressed=true]{border:2px solid var(--teal);background:#e6f2eb}.location-detail{padding:14px;border-radius:8px;background:#edf4ec;margin-top:12px}.location-detail p{font-size:12px}.reference-button{background:none;color:var(--teal);text-decoration:underline;padding:9px 0;font-size:12px}.location-image{position:relative}.location-image img{display:block;max-height:480px;width:100%;object-fit:contain;border-radius:8px}.hotspot{position:absolute;transform:translate(-50%,-50%);border-radius:50%;width:27px;height:27px;background:var(--teal);color:#fff;border:2px solid white;box-shadow:0 2px 5px #0003;font-weight:700}.hotspot[aria-pressed=true]{background:#d9a342;outline:3px solid #efcf8b}.reference-wrap{max-width:839px;margin:auto;position:relative}.quiz{margin-top:22px;padding:20px;border:1px solid var(--line);border-radius:12px;background:white;display:flex;gap:22px;align-items:end}.quiz>div{flex:1}.quiz h3{margin-top:6px}.options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.option{padding:12px;text-align:left;border:1px solid var(--line);background:#f8faf4;color:var(--ink);font-size:12px}.option.correct{background:#e2f1d9;border-color:#7ca26a}.option.wrong{background:#fff0e8;border-color:#ce9e80}#quizFeedback{font-size:12px;margin-bottom:0}.notes{margin:20px 0;font-size:12px;color:var(--muted)}summary{cursor:pointer}.notes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:15px 0}.notes p{font-size:11px}footer{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.4px;color:var(--muted);margin:25px 0}dialog{border:1px solid var(--line);border-radius:12px;width:min(1100px,95vw);max-height:93vh;padding:20px}dialog::backdrop{background:#142d37b3}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:-20px;background:white;padding:8px 0;z-index:2}dialog img{display:block;width:100%;height:auto}.log{margin-top:15px;font-size:11px}.log-scroll{max-height:160px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px}td,th{text-align:left;padding:8px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:600}.energy-note{font-size:10px;padding-top:6px;line-height:1.5;color:var(--muted)}.meter{height:9px;background:#e4eade;border-radius:5px;overflow:hidden;margin:9px 0}.meter>span{display:block;height:100%;background:var(--teal);transition:width .3s}.pill{font-size:10px;padding:4px 8px;border-radius:12px;background:#e8eee3}.stop{background:#fae6dc;color:#954b31}.data-grid{display:grid;grid-template-columns:210px minmax(0,1fr) 285px;gap:18px}.treatments{display:grid;gap:7px}.treatments button{text-align:left;background:#f5f7f0;border:1px solid var(--line);padding:12px;font-size:12px;color:var(--ink)}.treatments button[aria-pressed=true]{background:#e8f3eb;border:2px solid var(--teal)}.data-chart svg{width:100%;max-height:340px}.data-chart{border:1px solid var(--line);padding:14px;border-radius:10px}.data-controls select{padding:8px;border:1px solid var(--line);border-radius:6px;width:100%;background:white;margin:6px 0 10px}.data-controls button{width:100%;margin:6px 0}.data-feedback{font-size:12px;line-height:1.6;background:#eef4e8;padding:12px;border-radius:8px;margin-top:10px}.interval-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:11px;margin-top:15px}.interval-controls select{max-width:230px;padding:7px;border:1px solid var(--line);border-radius:5px;background:white}.compare-result{margin-top:12px;padding:12px;background:#f3eff8;border-radius:8px;font-size:12px;line-height:1.7}.data-reference{margin-top:18px;font-size:12px}.data-reference img{max-width:350px;margin-top:14px}.data-animation{height:90px;display:flex;gap:12px;align-items:center;justify-content:center;background:#f3f7ed;margin:10px 0;border-radius:8px;font-size:12px}.data-animation .bubble{background:#d4e9e7;border-radius:50%;padding:12px}.data-animation.running .bubble{animation:float 1.1s infinite}.data-animation.running .bubble:nth-child(2){animation-delay:.35s}@keyframes float{0%{transform:translateY(8px);opacity:.3}100%{transform:translateY(-12px);opacity:1}}@media(max-width:1050px){.bench{grid-template-columns:110px minmax(0,1fr) 205px;gap:11px}.data-grid{grid-template-columns:170px minmax(0,1fr)}.data-controls{grid-column:1/-1}.location-grid{grid-template-columns:1fr 250px}.tabs button{padding:13px 9px;font-size:12px}}@media(max-width:760px){main{padding:14px}header{margin-bottom:10px}h1{font-size:29px}.review{display:none}.tabs{gap:0}.tabs button{flex:1;font-size:10px;padding:10px 5px}.tabs button span{display:block;margin-top:4px}#panel{padding:14px}.bench,.location-grid,.data-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(3,1fr)}.stat{padding:8px;min-height:45px}.stat strong{font-size:20px}.controls{display:block}.location-buttons{grid-template-columns:repeat(2,1fr)}.location-detail{grid-column:1/-1}.options{grid-template-columns:1fr}.quiz{display:block}.quiz>button{margin-top:12px}.notes-grid{grid-template-columns:1fr}.treatments{grid-template-columns:repeat(2,1fr)}.data-controls{grid-column:auto}.panel-head{align-items:start}h2{font-size:20px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Keep hotspot coordinates aligned to the unletterboxed reference image. */
.reference-wrap{max-width:645px}.location-image img{max-height:none;height:auto}
[hidden]{display:none!important}.live-top{display:flex;align-items:center;justify-content:space-between;margin:22px 0 18px}.live-top h2{margin:0;font-size:25px}.live-top p{margin:5px 0;color:#647870}.live-layout{display:grid;grid-template-columns:185px minmax(420px,1fr) 280px;gap:18px;align-items:start}.live-controls,.bar-card{background:white;border:1px solid #dce4dc;border-radius:12px;padding:14px}.live-controls h3,.bar-card h3{font-size:14px;margin:0 0 10px}.live-controls label{font-size:12px;display:block;margin:12px 0 5px}.live-controls select{width:100%;font-size:12px;padding:8px}.live-controls button{width:100%;margin-top:9px;padding:10px;font-size:13px}.live-controls h3:not(:first-child){margin-top:20px}.live-controls p,.bar-card p{font-size:11px;line-height:1.5;color:#647870;margin-bottom:0}.live-bar{margin:6px 0}.live-bar>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:1.4}.bar-track{background:#edf1eb;height:5px;border-radius:3px;margin-top:3px;overflow:hidden}.bar-track i{display:block;background:#76a8a0;height:100%;transition:width .5s}.bar-track .carrier{background:#9e86b8}.bar-track .energy{background:#d4ac53}.live-bars{display:grid;gap:9px}.bar-card{padding:10px 13px}.bar-card small{display:block;font-size:9px;letter-spacing:.9px;color:#75847d;margin-top:7px}.live-centre svg{width:100%;height:auto}.live-centre{min-width:0;background:#fff;border:1px solid #dce4dc;border-radius:14px;padding:12px}.live-centre .caption{font-size:13px;min-height:65px}.live-centre .energy-note{font-size:11px;line-height:1.5}.zone{font-size:12px;letter-spacing:1px;fill:#587265}.sv-title{font-size:17px;font-weight:700}.sv-small{font-size:12px}.routes path{stroke:#75918a;stroke-width:2;fill:none;marker-end:url(#liveArrow)}.packet rect{stroke:white;fill:#4c86ae}.packet text{fill:white;font-size:12px;font-weight:bold}.packet.donor rect{fill:#8b6ca9}.packet.return rect{fill:#749b74}.packet.proton rect{fill:#ac8dc1}.packet.carbon rect,.packet.atp rect{fill:#bf9848}.live-key{display:flex;justify-content:center;gap:18px;font-size:11px;margin:10px}.live-key span:nth-child(1){color:#bf9848}.live-key span:nth-child(2){color:#8b6ca9}.live-key span:nth-child(3){color:#4c86ae}.live-key span:nth-child(4){color:#ac8dc1}main{max-width:1600px}header{padding-top:18px;padding-bottom:18px}header h1{font-size:38px}header p{margin:7px 0}.tabs{margin-top:10px}.log{overflow:auto}@media(max-width:1100px){.live-layout{grid-template-columns:160px minmax(330px,1fr) 240px;gap:10px}.live-top h2{font-size:21px}}@media(max-width:850px){.live-layout{grid-template-columns:160px 1fr}.live-bars{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}}@media(max-width:580px){.live-layout{display:flex;flex-direction:column}.live-controls,.live-centre,.live-bars{width:100%;box-sizing:border-box}.live-bars{grid-template-columns:1fr}.live-top .review{display:none}.live-top h2{font-size:21px}}
.live-layout{grid-template-columns:175px minmax(380px,1fr) 335px}.bar-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bar-card h3{margin-bottom:4px}.bar-card p{font-size:10px}.bar-columns .live-bar{margin:7px 0}.bar-columns small{font-size:8px;letter-spacing:.4px}.bar-columns .live-bar>div:first-child{font-size:10px}.live-top{margin:4px 0 15px}header{padding-top:8px;padding-bottom:8px}.tabs{margin-top:0}#panel{padding:18px}.live-controls .live-bar{margin:5px 0}.live-controls h3:not(:first-child){margin-top:12px}.live-centre{padding:8px}.live-centre .caption{min-height:0}.live-centre .energy-note{margin:6px 4px}@media(max-width:1100px){.live-layout{grid-template-columns:155px minmax(300px,1fr) 285px;gap:10px}.bar-columns{gap:8px}}@media(max-width:850px){.live-layout{grid-template-columns:155px 1fr}.live-bars{grid-template-columns:1fr 1fr 1fr}.bar-columns{display:block}}@media(max-width:580px){.live-layout{display:flex}.live-bars{grid-template-columns:1fr}.bar-columns{display:grid}}
/* Separate-stage experiments: one process and one set of graphs per screen. */
.separate-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 18px}.separate-heading h2{font-size:29px;margin:5px 0}.separate-heading p{font-size:15px;margin:4px 0}.stage-clock{font-size:12px;color:var(--muted);white-space:nowrap}.stage-toolbar{display:flex;align-items:end;gap:12px;padding:13px 16px;background:#f4f7f0;border:1px solid var(--line);border-radius:12px;margin-bottom:18px}.stage-toolbar label{font-size:11px;display:grid;gap:5px;min-width:110px}.stage-toolbar label:first-child{min-width:245px;margin-right:auto}.stage-toolbar select{padding:10px;background:white;border:1px solid var(--line);border-radius:7px}.stage-toolbar button{min-height:41px}.separate-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;align-items:start}.process-view{min-width:0}.process-view svg{width:100%;max-height:480px;display:block}.svg-zone{font-size:13px;letter-spacing:1px;fill:#57776d}.svg-heading{font-size:22px;font-weight:700}.svg-muted{font-size:14px;fill:#6c8179}.stage-path{fill:none;stroke:#79948b;stroke-width:2;marker-end:url(#stageArrow)}.stage-packet rect{fill:#3e86b6;stroke:white;stroke-width:2}.stage-packet text{fill:white;font-size:14px;font-weight:700}.stage-packet.carrier rect{fill:#8963ab}.stage-packet.recycled rect{fill:#5c9475}.stage-packet.carbon rect,.stage-packet.energy rect{fill:#c49b44}.stage-packet.proton rect{fill:#a889bd}.stage-status{background:#eef4e8;border-left:3px solid #8dae78;border-radius:0 8px 8px 0;padding:13px 16px;font-size:14px;line-height:1.6;margin:8px 0 12px}.sample-note{font-size:12px;line-height:1.6;margin:7px 0}.stage-bars{background:#f8faf6;border:1px solid var(--line);border-radius:14px;padding:18px 22px}.stage-bars section+section{border-top:1px solid var(--line);margin-top:19px;padding-top:15px}.stage-bars h3{font-size:17px;margin:0 0 13px}.stage-bars h3 span{font-size:11px;color:var(--muted);font-weight:400;margin-left:7px}.stage-bar{margin:12px 0}.stage-bar>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px}.stage-bar b{white-space:nowrap}.stage-bar small{font-size:10px;font-weight:400;color:var(--muted)}.stage-track{height:8px;background:#e6ece3;border-radius:6px;margin-top:6px;overflow:hidden}.stage-track i{display:block;height:100%;background:#75a397;transition:width .55s}.stage-track .purple{background:#9a80b7}.stage-track .gold{background:#d5af56}.bar-help{font-size:11px;line-height:1.5;margin:16px 0 0}.stage-bridge{border-top:1px solid var(--line);padding-top:15px;margin-top:16px;font-size:13px;color:var(--muted);display:flex;gap:20px;align-items:center;justify-content:space-between}.stage-bridge button{white-space:nowrap}.reason-guide{border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:25px;background:#f9fbf6}.reason-guide summary{font-size:19px;font-weight:700;cursor:pointer}.reason-guide>p{font-size:13px;max-width:1000px}.reason-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.reason-grid article{background:white;border:1px solid var(--line);border-radius:10px;padding:18px}.reason-grid h3{font-size:16px;margin:0 0 8px}.reason-grid span{font-size:12px;color:var(--teal);font-weight:700}.reason-grid p{font-size:13px;line-height:1.65;margin-bottom:0}.tabs{flex-wrap:wrap}.tabs button{font-size:13px;padding:13px 14px}#gradientReadout{max-width:500px;margin:0 auto 15px}@media(min-width:1450px){.separate-layout{grid-template-columns:minmax(0,1fr) 380px}.stage-bars{padding:20px 26px}.stage-bar>div:first-child{font-size:14px}}@media(max-width:850px){.separate-layout{grid-template-columns:minmax(0,1fr) 255px;gap:16px}.stage-bars{padding:15px}.stage-toolbar{flex-wrap:wrap}.stage-toolbar label:first-child{min-width:200px}.reason-grid{grid-template-columns:1fr 1fr}.stage-bridge{display:block}.stage-bridge button{margin-top:12px}}@media(max-width:620px){.separate-layout{display:block}.stage-bars{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.stage-bars section+section{border:0;padding:0;margin:0}.stage-bars .bar-help{grid-column:1/-1;margin:0}.stage-bar>div:first-child{font-size:11px}.separate-heading{display:block}.stage-clock{display:block;margin-top:9px}.stage-toolbar label:first-child{width:100%}.reason-grid{grid-template-columns:1fr}.separate-heading h2{font-size:25px}main{padding:15px 12px}.tabs button{padding:12px 8px;font-size:12px}}
main{padding-top:14px}header{margin-bottom:8px}.tabs{margin-bottom:0;padding-top:0}.separate-heading{margin-bottom:12px}.stage-toolbar{padding:10px 14px;margin-bottom:14px}.stage-bars section+section{margin-top:14px;padding-top:12px}.stage-bar{margin:10px 0}.stage-bars{padding-top:16px;padding-bottom:16px}
.whole-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:22px;align-items:start}.whole-layout svg{width:100%;display:block}.whole-layout .stage-bars{padding:16px 20px}.whole-layout .stage-bars h3{font-size:15px}.whole-layout .stage-bars h3 small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}.whole-layout .stage-bar>div:first-child{font-size:12px}.whole-layout .stage-bar{margin:10px 0}.whole-layout .stage-bars section+section{margin-top:12px;padding-top:12px}.supply-note{padding:11px 15px;background:#eef4e8;border-radius:8px;font-size:12px;line-height:1.6;margin:0 0 15px;color:#5b746b}.zoom-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.zoom-controls span{font-size:10px;letter-spacing:1px;color:var(--muted)}.zoom-controls button{font-size:12px;padding:9px 12px}.whole-totals{display:flex;justify-content:space-between;gap:10px;font-size:12px}.whole-totals b{display:block;font-size:20px;margin-top:6px}.whole-results{border:1px solid var(--line);border-radius:12px;padding:18px;margin:22px 0}#wholeGraph>.whole-atp-plot{display:block;width:100%;height:auto;max-height:245px}.whole-results h3{margin:0 0 14px}.whole-layout .stage-status{font-size:13px;padding:10px 14px}#wholeGradient{max-width:520px;margin:0 auto}.whole-layout .sample-note{font-size:11px}.tabs button{font-size:12px;padding:12px 11px}@media(max-width:900px){.whole-layout{grid-template-columns:minmax(0,1fr) 240px;gap:14px}.whole-layout .stage-bars{padding:14px}.whole-layout .svg-heading{font-size:20px}}@media(max-width:650px){.whole-layout{display:block}.whole-layout .stage-bars{grid-template-columns:1fr 1fr;gap:15px}.whole-layout .stage-bars section+section{padding:0;margin:0;border:0}.whole-layout .stage-bars section:last-child{grid-column:1/-1}.zoom-controls{flex-wrap:wrap}.supply-note{font-size:11px}}
body:has(#wholeDiagram) header{padding:0;margin-bottom:0}body:has(#wholeDiagram) header h1{font-size:30px}body:has(#wholeDiagram) header p{margin:3px 0;font-size:12px}body:has(#wholeDiagram) .separate-heading{margin:0 0 8px}body:has(#wholeDiagram) .separate-heading h2{font-size:24px}body:has(#wholeDiagram) .separate-heading p{font-size:13px;margin:3px 0}body:has(#wholeDiagram) .stage-toolbar{margin-bottom:10px;padding:8px 12px}.whole-layout .stage-bars .stage-bar{margin:8px 0}.whole-layout .stage-bars .stage-track{height:6px;margin-top:4px}.whole-layout .stage-bars h3{margin-bottom:9px}.whole-layout .stage-bars .bar-help{font-size:10px;margin-top:10px}#wholeDiagram svg{max-height:440px}body:has(#wholeDiagram) .supply-note{padding:8px 12px;margin-bottom:10px;font-size:11px}
.whole-condition-row{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.whole-condition-row button{font-size:13px;padding:11px 15px;background:#f3f6ee;border:1px solid #d7e1d1;color:#47615a;white-space:nowrap}.whole-condition-row button[aria-pressed=true]{background:#237b7e;border-color:#237b7e;color:white;box-shadow:0 0 0 2px #d8ece7}.whole-playback{justify-content:flex-start;align-items:center}.whole-playback label{display:flex;align-items:center;gap:9px;margin-left:auto}.activity-line{display:flex;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #e6ece2;font-size:12px}.activity-line:last-child{border:0}.activity-line small{display:block;font-size:9px;line-height:1.4;color:#6c8077;margin-top:3px}.activity-line b{font-size:10px;margin-left:auto;color:#61776c}.activity-dot{width:8px;height:8px;border-radius:50%;background:#c5cbc4;flex:none}.activity-dot.on{background:#3b9b70;box-shadow:0 0 0 3px #dfefe2}.whole-layout .stage-bars section+section{margin-top:14px;padding-top:14px}@media(max-width:650px){.whole-condition-row{flex-wrap:nowrap;overflow-x:auto;padding:4px 3px 10px;scrollbar-width:thin}.whole-condition-row button{padding:12px 15px;font-size:12px}.whole-playback{gap:8px;flex-wrap:wrap}.whole-playback label{margin-left:0}.whole-layout .stage-bars{display:block}.whole-layout .stage-bars section+section{border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.activity-line{font-size:13px}.activity-line small{font-size:11px}}
.stage-packet.water rect{fill:#258fc3}.stage-packet.water text{fill:#fff}.whole-uncoupler,.stage-uncoupler{pointer-events:none}

.atp-share{font-size:12px;line-height:1.5;background:#f5edda;border-radius:6px;padding:9px 10px;margin:12px 0 0;color:#69562d}.atp-share strong{font-size:19px;color:#75551e}.whole-layout .atp-comparison .stage-track{height:8px}.cytosolic-electron-route{pointer-events:none}

.residual-gradient-note{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:10px 12px;margin:3px 0 10px;background:#fff5df;border:1px solid #e5cea0;border-radius:9px;font-size:12px;color:#76551f}.residual-gradient-note.spent{background:#f6f6ef;border-color:#dedfd3;color:#64736a}.residual-gradient-note p{font-size:11px;color:inherit;line-height:1.45;margin:3px 0 0}.residual-atp-count{display:flex;align-items:center;gap:9px;flex:none;border-left:1px solid #ddc699;padding-left:13px}.residual-atp-count>b{font-size:28px;font-weight:700}.residual-atp-count span{font-size:11px}.residual-atp-count small{display:block;font-size:9px;margin-top:3px}.residual-synth-highlight.is-moving rect{animation:stored-energy-glow 1.4s ease-in-out infinite}@keyframes stored-energy-glow{50%{stroke-opacity:.35;stroke-width:5}}@media(prefers-reduced-motion:reduce){.residual-synth-highlight.is-moving rect{animation:none}}@media(max-width:650px){.residual-gradient-note{flex-wrap:wrap;gap:9px}.residual-atp-count{border-left:0;padding-left:0}.residual-gradient-note p{font-size:12px}}
/* Biological ATP yield is distinct from the live, qualitative experiment. */
.yield-context{font-size:11px;line-height:1.5;padding:9px 10px;margin:10px 0 0;border-left:3px solid #75a397;background:#eef4ee;border-radius:0 5px 5px 0}.whole-live-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;align-items:center}#wholeLiveRates h4{margin:0 0 5px;font-size:15px}#wholeLiveRates>.bar-help{margin:4px 0 10px}#wholeGradient .stage-track i{transition:none}.proton-departing{pointer-events:none}@media(max-width:700px){.whole-live-layout{grid-template-columns:1fr;gap:15px}.yield-context{font-size:12px}}

/* Visible, wrapping choices replace hidden dropdown menus across experiments. */
.choice-group{min-width:0}.choice-label{display:block;margin:0 0 7px;font-size:12px;font-weight:600;color:var(--muted)}.choice-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;min-width:0}.choice-row button{flex:0 1 auto;max-width:100%;min-height:40px;padding:10px 14px;border:1px solid #d4e1d9;border-radius:7px;background:#f4f7f1;color:#375b57;font-size:12px;line-height:1.35;white-space:normal;text-align:center;overflow-wrap:anywhere}.choice-row button[aria-pressed=true]{background:#237b7e;border-color:#237b7e;color:#fff;box-shadow:0 0 0 2px #d8ece7}.choice-row button:focus-visible{outline:3px solid #dcb168;outline-offset:3px}.stage-conditions{margin:13px 0 15px}.stage-playback{align-items:center;flex-wrap:wrap}.playback-speed{margin-left:auto;display:flex;gap:12px;align-items:center}.playback-speed .choice-label{margin:0}.playback-speed .choice-row{gap:5px}.playback-speed .choice-row button{padding:8px 12px;min-height:37px}.data-controls .choice-row button{width:auto;margin:0;flex:1 1 auto}.data-controls .choice-group{margin:0 0 12px}.interval-controls>.choice-group{flex:1 1 100%;margin-bottom:7px}.interval-controls .choice-row button{font-size:11px}.whole-condition-row{flex-wrap:wrap;overflow:visible}.whole-condition-row button{white-space:normal;max-width:100%}@media(max-width:650px){.choice-row{gap:7px}.choice-row button{min-height:43px;padding:10px 12px}.playback-speed{margin-left:0;flex-wrap:wrap}.whole-condition-row{flex-wrap:wrap;overflow:visible;padding:4px 0 10px}.whole-condition-row button{white-space:normal;padding:10px 12px}.stage-playback{gap:10px}}
/* Selected-treatment yield; hatching denotes uncertainty, never a numeric estimate. */
.yield-variable{position:relative;background:transparent;border:1px dashed #c8b68f;overflow:visible}.yield-variable i{width:96.4%;background:repeating-linear-gradient(120deg,#d7ad5360 0 4px,#f5edda 4px 8px);mask-image:linear-gradient(to right,#000 75%,transparent);-webkit-mask-image:linear-gradient(to right,#000 75%,transparent)}.yield-unavailable{background:#eceee9}.yield-reference{font-size:10px;color:#6c8077;margin:8px 0}.whole-layout .yield-bar b{white-space:normal;text-align:right}.atp-share strong{display:inline-block;line-height:1.25}.playback-speed{margin-left:auto}.whole-playback .choice-group{margin-bottom:0}.whole-playback .choice-row{gap:5px}.whole-playback .choice-row button{min-height:36px;padding:7px 11px}@media(max-width:650px){.playback-speed{margin-left:0}.whole-layout .yield-bar>div:first-child{font-size:12px}}

/* Keep legend markers independent of the responsive chart dimensions. */
.whole-live-layout>div,#wholeGraph{min-width:0;max-width:100%}
.whole-atp-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:12px 0;font-size:13px;line-height:1.45}
.whole-atp-legend-item{display:flex;align-items:center;gap:9px;min-width:0}
.whole-atp-legend-item>span:last-child{min-width:0;overflow-wrap:anywhere}
.whole-atp-swatch{display:block;flex:0 0 26px;width:26px;height:0;border-top:3px solid var(--series-color)}
.whole-atp-swatch.is-dashed{border-top-style:dashed}
@media(max-width:480px){.whole-atp-legend{grid-template-columns:minmax(0,1fr);gap:8px}}
