:root{color-scheme:light;--paper:#f3f1e7;--ink:#163d31;--muted:#52665a;--line:#ccd3bf;--gold:#debd78;--green:#315f42;--blue:#347787}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,input,a,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{font:inherit}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #d39238;outline-offset:4px}.skip{position:fixed;top:-100px;z-index:1000;background:white;padding:16px}.skip:focus{top:8px}main{max-width:1480px;margin:auto;padding:0 30px}.intro{display:grid;grid-template-columns:1.7fr 1fr;align-items:end;gap:40px;padding:28px 0 22px}.eyebrow{font:10px/1.5 'Courier New',monospace;letter-spacing:.16em;margin:0 0 12px}.eyebrow span{color:var(--muted);letter-spacing:.09em}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:clamp(33px,3.55vw,54px);line-height:1.09;letter-spacing:-.045em;margin-bottom:0}em{font-weight:400}h1 em{color:#4d7351}.welcome{max-width:350px;font-size:15px;line-height:1.6;color:var(--muted);margin-bottom:3px}.conservatory{display:grid;grid-template-columns:minmax(0,1fr) 326px;overflow:hidden;border:1px solid #aebc9f;border-radius:10px;box-shadow:0 16px 55px #1737260d}.world{min-width:0;background:#112820}.viewbar{display:flex;gap:4px;padding:10px 14px;border-bottom:1px solid #ffffff20;background:#152c23}.viewbar button{background:transparent;border:1px solid transparent;border-radius:5px;color:#c7d5bb;padding:10px 16px;font-size:12px}.viewbar button[aria-pressed=true]{border-color:#a2b19b75;color:#f1e8cb;background:#f1e8cb0d}.scene{height:535px;position:relative;overflow:hidden}.scene canvas{width:100%;height:100%;display:block;touch-action:pan-y;cursor:grab}.scene canvas:active{cursor:grabbing}.scene-note{position:absolute;top:17px;left:21px;display:flex;align-items:center;gap:8px;pointer-events:none;color:#d4dfc8;font:10px/1.5 'Courier New',monospace}.dot{width:5px;height:5px;background:#c6d694;border-radius:50%}.scene-story{position:absolute;left:25px;bottom:62px;max-width:235px;pointer-events:none;text-shadow:0 1px 12px #00170c}.scene-story .eyebrow{color:#b8cda3;font-size:8px}.scene-story h2{font-size:26px;line-height:1.08;color:#f0ead4;margin-bottom:10px;letter-spacing:-.025em}.scene-story p{font-size:11px;line-height:1.65;color:#c5d3bc;max-width:225px;margin-bottom:0}.camera{position:absolute;bottom:16px;left:18px;display:flex;gap:5px}.camera button{background:#0a1f18bb;border:1px solid #b6c4a455;color:#e4e6ce;font-size:10px;border-radius:4px;padding:9px 10px;backdrop-filter:blur(6px)}.hotspot{position:absolute;color:#263f2b;border:1px solid #e3d8ae;background:#f8efceeb;border-radius:20px;padding:6px 10px;font-size:10px;box-shadow:0 0 24px #e8f2b62b}.hotspot span{font-size:16px;margin-right:3px}.hotspot:hover{background:#fff8e4}.scene-foot{display:flex;justify-content:space-between;gap:15px;padding:11px 18px;font:9px/1.5 'Courier New',monospace;color:#b1bea9;margin:0;border-top:1px solid #ffffff17}.controls{padding:23px 23px 18px;background:#f6f4e9;position:relative}.control-heading .eyebrow{font-size:8px;color:#65755b;margin-bottom:9px}.control-heading h2{font-size:35px;line-height:.98;letter-spacing:-.04em;margin-bottom:11px}.control-heading h2 em{color:#668055}.control-heading p{font-size:12px;line-height:1.55;color:var(--muted);margin-bottom:8px}.pore-wrap{height:108px;position:relative;margin:0 0 8px;border-bottom:1px solid var(--line)}.pore-wrap svg{width:100%;height:95px;overflow:visible}.pore-wrap>span{position:absolute;right:0;bottom:3px;font:8px 'Courier New',monospace;color:#62745e}.epidermis{fill:#e5ebd7;stroke:#c8d2b4}.pore-wrap #guard-cells path{fill:url(#cell-green);stroke:#4e7545;stroke-width:1.3}.pore-wrap #pore-gap{fill:#173e30}.gas-arrows path{fill:none;stroke:#395e35;stroke-width:2}.gas-arrows .water-arrow{stroke:#498a98}.pore-wrap text{font:10px Arial, sans-serif;fill:#325a38}.pore-wrap .water-text{fill:#347888}.slider-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;font-weight:600;align-items:center;margin:5px 0 4px}.slider-label output{font-weight:400;color:#5a6d58;font:10px 'Courier New',monospace}input[type=range]{width:100%;accent-color:#487650;cursor:pointer;height:20px;margin:0}.range-ends{display:flex;justify-content:space-between;color:#6c7969;font-size:9px;margin:0 0 12px}.live-result{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;gap:14px}.metric span{display:block;font-size:10px;margin-bottom:6px}.metric strong{font:34px/.95 Georgia,serif;font-variant-numeric:tabular-nums;display:block}.metric small{display:block;font:8px/1.5 'Courier New',monospace;color:#60705d;margin-top:6px;white-space:normal}.water strong,.water>span{color:var(--blue)}.action-reading{font-size:11px;line-height:1.5;margin:11px 0 12px;min-height:49px}.primary{background:#284f38;color:#f6efcf;border:0;border-radius:4px;padding:11px 14px;width:100%;font-size:11px;text-align:left}.primary:hover{background:#3b6749}.light-label{margin-top:18px}.minor-actions{display:flex;justify-content:space-between;gap:10px;margin:9px 0 16px}.minor-actions button{background:transparent;border:0;border-bottom:1px solid #adbaa1;color:#3c5940;padding:0 0 5px;font-size:10px}.conditions{font-size:11px;border-top:1px solid var(--line);padding-top:12px}.conditions summary{font-weight:600}.conditions p{font-size:11px;line-height:1.5;color:#5e6c58;margin-top:12px}.conditions label{margin-top:15px}.model-note{font-size:9px;line-height:1.6;color:#64715e;margin:13px 0 0}.model-note a{white-space:nowrap}.comparison{display:grid;grid-template-columns:1fr 1.2fr auto;align-items:center;gap:30px;padding:28px;background:#e6ebda;margin-top:15px;border-radius:6px}.comparison[hidden]{display:none}.comparison h2{font-size:25px;margin-bottom:6px}.comparison p{font-size:12px;line-height:1.6;margin-bottom:0}.compare-results{display:grid;grid-template-columns:1fr 1fr;gap:24px}.compare-results h3{font:10px Arial;margin-bottom:8px}.compare-results strong{display:block;font:23px Georgia;margin-bottom:5px}.compare-results small{font-size:10px;line-height:1.5;color:#4d6650}.comparison button{align-self:end;background:none;border:0;border-bottom:1px solid #a8b69b;font-size:10px;color:#3b5a41;padding:6px 0}.discovery{display:grid;grid-template-columns:1fr 1.2fr;gap:65px;margin:65px 0 55px;padding:0 25px;align-items:center}.discovery h2,.connections h2{font-size:41px;line-height:1.05;letter-spacing:-.035em;margin-bottom:20px}.discovery-copy>p:not(.eyebrow){font-size:14px;line-height:1.75;max-width:440px}.experiments{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0 18px}.experiments button{background:#e6e9db;border:1px solid #b7c5a8;border-radius:4px;color:#355538;font-size:11px;padding:10px 13px}.experiments button[aria-pressed=true]{background:#355b40;color:#f1edd4}.discovery-copy .quiet{font-size:11px!important;line-height:1.65!important;color:#66765f}.curve-panel{padding:25px 25px 15px;background:#e9ede0;border-radius:8px;border:1px solid #c7d0b7}.chart-title{display:flex;justify-content:space-between;gap:14px;font-size:10px;align-items:center}.chart-title strong{font:20px Georgia;white-space:nowrap}.curve-panel svg{width:100%;height:auto;overflow:visible;display:block;margin:12px 0}.curve-panel text{font:10px Arial, sans-serif;fill:#53664d}.curve-panel .grid-line{stroke:#c6d0ba;stroke-width:1}.curve-panel .axis-zero{stroke:#8b9e7f;stroke-dasharray:4 4}.curve-panel #curve-line{fill:none;stroke:#3b6c42;stroke-width:3}.curve-panel #curve-area{fill:#779a5f18;stroke:none}.curve-panel #curve-dot{fill:#d2b364;stroke:#294936;stroke-width:2}.curve-panel>p{font-size:10px;line-height:1.6;color:#5f7258;margin:0}.connections{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px;border-top:1px solid #b6c4a7;padding:38px 25px 44px}.connections h2{font-size:33px;margin-bottom:15px}.connections p{font-size:12px;line-height:1.75;color:#526b51}.connections article>span{font:9px 'Courier New',monospace;color:#718267}.connections h3{font-size:25px;line-height:1.1;margin:18px 0 14px}.connections button,.connections article a{font-size:10px;background:none;border:0;border-bottom:1px solid #a5b59a;color:#365a3d;padding:5px 0;text-decoration:none}.methods{border-top:1px solid #b6c4a7;padding:35px 25px 20px}.methods-heading{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.methods-heading>div{margin-right:auto}.methods-heading h2{font-size:32px;letter-spacing:-.03em;margin-bottom:12px}.methods-heading button{font-size:10px;padding:10px 13px;border:1px solid #b3c2a4;border-radius:4px;background:transparent;color:#35543a}.method-intro{font-size:12px;line-height:1.7;max-width:850px;color:#526b51;margin:10px 0 24px}.methods details{border-top:1px solid #ccd4bf;padding:16px 0}.methods summary{font-size:13px}.methods details p,.methods li{font-size:12px;line-height:1.8;color:#4f634d;max-width:900px}.methods details p{margin:16px 0}.methods ul{padding-left:19px}.equations code{display:block;background:#e5e9da;padding:18px;font:12px/2 'Courier New',monospace;overflow-x:auto}.exact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;max-width:800px;margin:18px 0}.exact-grid div{font-size:10px;line-height:1.6;padding:10px;background:#e9eddf}.exact-grid strong{font:20px Georgia;display:block}.native-footer{display:flex;justify-content:space-between;gap:20px;margin:20px 0 24px;padding-top:20px;border-top:1px solid #ccd4bf;font:9px/1.6 'Courier New',monospace;color:#68765e}#status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#264b34;color:#fff5db;padding:12px 18px;border-radius:6px;font-size:12px;box-shadow:0 8px 24px #0002;z-index:90}#status:empty{display:none}#scene-fallback{position:absolute;inset:0;padding:20px 20px 100px}#scene-fallback[hidden]{display:none}#scene-fallback svg{display:block;width:100%;height:100%}#scene-fallback p{font-size:10px;color:#d9dfce;max-width:250px;margin:auto}button{transition:background-color .15s,color .15s} @media(min-width:1500px){.scene{height:585px}.controls{padding-top:28px}}@media(max-width:1050px){main{padding:0 20px}.conservatory{grid-template-columns:minmax(0,1fr) 300px}.controls{padding:20px 18px}.intro{grid-template-columns:1.5fr 1fr;gap:25px}.welcome{font-size:13px}.scene-story{max-width:190px}.scene-story h2{font-size:23px}.scene-story p{font-size:10px}.discovery{gap:35px;padding:0 10px}.connections{gap:25px;padding-left:10px;padding-right:10px}.scene-foot{font-size:8px;flex-direction:column;gap:2px}}@media(max-width:760px){main{padding:0 14px}.intro{display:block;padding:22px 3px}.intro h1{font-size:40px;max-width:550px}.welcome{font-size:13px;margin:13px 0 0;max-width:520px}.eyebrow span{display:none}.conservatory{grid-template-columns:1fr}.scene{height:490px}.scene-story{max-width:210px;bottom:62px}.scene-story p{font-size:11px}.controls{display:grid;grid-template-columns:1fr 1fr;gap:0 25px;padding:24px}.control-heading{grid-column:1}.control-heading h2{font-size:32px}.pore-wrap{grid-column:2;grid-row:1;height:143px;align-self:center}.slider-label,.controls>input,.range-ends,.live-result,.action-reading,.primary,.minor-actions,.conditions,.model-note{grid-column:1/-1}.live-result{padding:16px 4px}.metric strong{font-size:40px}.metric small{font-size:9px}.action-reading{min-height:0;font-size:12px;margin:14px 0}.primary{padding:14px}.slider-label{font-size:12px}.model-note{font-size:10px}.conditions{font-size:12px}.scene-foot{flex-direction:row;flex-wrap:wrap}.viewbar{justify-content:center;padding:8px}.viewbar button{font-size:11px;padding:9px 12px}.discovery{grid-template-columns:1fr;gap:20px;margin:44px 0 35px;padding:0 8px}.discovery h2{font-size:37px}.discovery h2 br{display:none}.curve-panel{padding:20px 12px 15px}.connections{grid-template-columns:1fr 1fr;gap:27px;padding:30px 8px}.connections>div{grid-column:1/-1;max-width:550px}.connections h2 br{display:none}.connections h2{font-size:34px}.methods{padding:28px 8px 15px}.methods-heading{gap:9px}.methods-heading>div{width:100%}.comparison{grid-template-columns:1fr;gap:20px;padding:22px}.compare-results{gap:20px}.comparison button{justify-self:start}.exact-grid{grid-template-columns:1fr 1fr}.native-footer{flex-direction:column;gap:6px}.chart-title strong{font-size:17px}.scene-note{font-size:8px;left:14px;top:14px}}@media(max-width:400px){.intro h1{font-size:35px}.scene{height:445px}.controls{padding:20px 17px;gap:0 12px}.control-heading h2{font-size:29px}.control-heading p{font-size:11px}.pore-wrap{height:145px}.pore-wrap svg{margin-top:18px}.scene-story{max-width:185px;left:17px;bottom:64px}.scene-story h2{font-size:23px}.scene-story p{font-size:10px}.camera{left:12px;gap:4px}.camera button{font-size:9px;padding:9px}.connections{grid-template-columns:1fr}.connections>div{grid-column:auto}.scene-foot{font-size:8px}.viewbar button{font-size:10px;padding:9px 10px}.chart-title{display:block}.chart-title strong{display:block;margin-top:8px}}@media(prefers-reduced-motion:reduce){button{transition:none}html{scroll-behavior:auto}}[hidden]{display:none!important}

/* Keep the instrument with its controls during ordinary desktop scrolling. */
@media(min-width:761px){
  .conservatory{overflow:clip}
  .world{align-self:start;position:sticky;top:64px}
  .scene{height:clamp(420px,calc(100svh - 285px),585px)}
}

/* Legible botanical annotations and shared rate basis at small widths. */
.scene-story{padding:12px 14px;background:linear-gradient(90deg,#0e251df2,#0e251dba 75%,#0e251d38);border-left:1px solid #b1c49b55;border-radius:0 5px 5px 0}
.rate-basis{grid-column:1/-1;font:9px/1.5 Arial,sans-serif;color:#62715a;margin:0}
@media(max-width:760px){.scene-story{left:14px;max-width:208px}.metric small{font-size:10px}.live-result{row-gap:10px}}

/* Keep the first experiment, its two rates and its explanation together. */
.experiment-link{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  margin-top:4px;font-size:13px;font-weight:600;color:#254e39;text-underline-offset:4px;
}
button:disabled{cursor:default;opacity:.5}
.conservatory{grid-template-columns:minmax(320px,390px) minmax(0,1fr);border-color:#9eaf91;box-shadow:0 18px 55px #17372612}
.controls{min-width:0;padding:19px 20px 18px;border-right:1px solid var(--line)}
.control-heading h2{font-size:31px;line-height:1.05;margin-bottom:6px}
.control-heading p{margin-bottom:12px;font-size:13px;line-height:1.45}
.leaf-adjustment{
  display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1fr);align-items:stretch;gap:10px;
  margin:0 0 10px;
}
.leaf-adjustment .pore-wrap{
  display:flex;flex-direction:column;justify-content:center;gap:6px;align-self:stretch;
  grid-column:auto;grid-row:auto;height:auto;min-height:92px;margin:0;padding:8px;
  border:1px solid #a9bda5;border-radius:5px;background:#e4edda;
}
.leaf-adjustment .pore-wrap svg{display:block;width:100%;height:auto;margin:0;overflow:hidden}
.leaf-adjustment .pore-wrap>span{position:static;text-align:center;font:10px/1.4 Arial,sans-serif;color:#415f48}
.pore-control{min-width:0}
.pore-control .slider-label{margin:0;gap:4px 8px;flex-wrap:wrap}
.pore-control input[type=range]{min-height:44px;margin:0}
.pore-control .range-ends{margin-bottom:7px}
.pore-control .primary{min-height:44px;padding:7px 10px}
.range-ends{margin-bottom:9px}
.controls .live-result{
  padding:12px;gap:8px 12px;margin:0;border:1px solid #345d4e;border-radius:6px;
  background:linear-gradient(125deg,#16372e,#224939);color:#eef3df;
}
.controls .metric{min-width:0}
.controls .metric + .metric{border-inline-start:1px solid #bbcfb442;padding-inline-start:12px}
.controls .metric span{margin-bottom:5px;font-size:11px;color:#e3ead7}
.controls .metric strong{font-size:clamp(31px,3.2vw,40px)}
.controls .metric.carbon strong{color:#f6dfa5}
.controls .metric.water strong{color:#bce9e5}
.controls .metric small{margin-top:4px;font-size:10px;color:#d9e7d5}
.controls .rate-basis{color:#d9e7d5}
.action-reading{background:#e6ecda;border-left:2px solid #8aa66d;padding:9px 11px;font-size:12px;line-height:1.5;margin:9px 0 12px;min-height:0}
.light-label{margin-top:12px}
.scene-story{max-width:218px;background:linear-gradient(90deg,#0e251de8,#0e251db3 82%,#0e251d24)}
.scene-story h2{font-size:25px}
.scene-story p{line-height:1.55}
#controls,#specimen{scroll-margin-top:calc(var(--aptifold-bar-height,0px) + 18px)}
#specimen:focus-visible{outline:3px solid #ecce93;outline-offset:-3px}
.viewbar button{min-height:44px}
.controls .conditions{padding-top:0}
.controls .conditions>summary{min-height:44px;padding-block:10px}
@media(min-width:761px) and (max-width:1050px){
  .conservatory{grid-template-columns:minmax(300px,330px) minmax(0,1fr)}
  .controls{padding:18px}
  .control-heading h2{font-size:28px}
  .scene-story{max-width:180px}
}
@media(max-width:760px){
  .intro{padding:12px 3px 14px}
  .intro .welcome{margin-top:8px;line-height:1.45}
  .conservatory{grid-template-columns:1fr}
  .scene{height:420px}
  .scene-story{max-width:190px}
  .scene-story h2{font-size:23px}
  .controls{display:block;padding:17px;border-right:0;border-bottom:1px solid var(--line)}
  .control-heading h2{font-size:32px}
  .control-heading p{font-size:13px;line-height:1.5}
  .slider-label{margin-top:10px}
  .primary{min-height:44px}
}
@media(max-width:400px){
  .controls{padding:14px}
  .control-heading h2{font-size:29px}
  .scene{height:390px}
  .scene-story{max-width:170px}
  .scene-story p{font-size:10px}
}

/* On a phone the explanation follows the exhibit, leaving the plant unobscured. */
@media(max-width:760px){
  .scene{--specimen-height:390px;height:auto;padding-top:var(--specimen-height)}
  .scene canvas{position:absolute;left:0;top:0;height:var(--specimen-height)}
  .scene-story{position:relative;left:auto;bottom:auto;max-width:none;padding:16px 19px;background:#122c22;border:0;border-top:1px solid #b1c49b33;border-radius:0}
  .scene-story .eyebrow{display:block;margin-bottom:7px}
  .scene-story h2{font-size:25px;margin-bottom:8px}
  .scene-story p{max-width:40em;font-size:12px;line-height:1.6}
  .camera{top:calc(var(--specimen-height) - 48px);bottom:auto}
  #scene-fallback{height:var(--specimen-height);bottom:auto}
  .control-heading h2{font-size:clamp(24px,7.3vw,29px)}
}

/* The specimen is the visual lead; the exchange labels name its moving paths. */
.world{background:#142e28}
.viewbar{background:#102b24;padding:11px 14px;gap:6px}
.viewbar button{min-height:38px;border-radius:3px;transition:background .18s,border-color .18s}
.viewbar button[aria-pressed=true]{background:#dfd8ac16;border-color:#e2ddad66;color:#f5edce}
.scene-note{color:#e1e8cd;text-shadow:0 1px 5px #09291d;font-size:9px;max-width:calc(100% - 38px)}
.scene-story{border-left-color:#d0c38866;background:linear-gradient(90deg,#0b251eea,#102b22b8 80%,#102b2200);backdrop-filter:blur(7px)}
.scene-story h2{color:#f7edcc}
.scene-story p{color:#d3decb}
.scene-foot{background:#102b24;color:#c2ceba}
.flow-labels{position:absolute;inset:0;pointer-events:none}
.flow-label{position:absolute;transform:translateX(-50%);padding:7px 10px;color:#f4e5ae;border:1px solid #d7cb8c66;border-radius:3px;background:#112c25e8;font:10px/1.25 Arial,Helvetica,sans-serif;white-space:nowrap;box-shadow:0 4px 18px #061c1840}
.flow-label::after{content:'';position:absolute;left:50%;top:100%;height:24px;border-left:1px solid currentColor;opacity:.65}
.flow-label.water-tag{color:#b4e4e4;border-color:#9ad6d866}
.flow-rate{
  display:block;
  margin-top:3px;
  font-size:14px;
  font-variant-numeric:tabular-nums;
}
.flow-label[hidden],.flow-labels[hidden]{display:none}
#scene[data-plant-view=leaf] .scene-story{max-width:235px}
@media(max-width:760px){
  .viewbar{padding:9px 8px;gap:3px}
  .viewbar button{padding:9px 10px}
  .scene-note{font-size:9px;max-width:calc(100% - 28px)}
  .flow-label{font-size:11px;padding:6px 8px}
  #scene[data-plant-view=leaf] .scene-story{max-width:none}
  .scene-story{backdrop-filter:none;background:#112d24}
}
@media(prefers-reduced-motion:reduce){.viewbar button{transition:none}}

/* The greenhouse has an architectural frame; the botanical scene supplies the detail. */
.conservatory{border-radius:5px;border-color:#8c9f86;box-shadow:0 20px 65px #17372619}
.world{background:#14372e}
.scene::after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 90px #061d2940;z-index:0}
.scene-note,.scene-story,.camera,.hotspot,.flow-labels{z-index:1}
.camera{max-width:calc(100% - 24px);align-items:center}
.camera button{min-width:34px;min-height:36px;padding:6px 8px;font-size:.72rem;line-height:1.15}
.camera button:hover:not(:disabled){background:#254936;border-color:#afbea1}
.scene-foot #plant-camera-help{font: .75rem/1.45 Arial,Helvetica,sans-serif;letter-spacing:normal}
@media(max-width:760px){
  .camera{position:relative;inset:auto;max-width:none;padding:6px 12px;flex-wrap:wrap;background:#112b24;border-top:1px solid #b1c49b33}
  .camera button{min-width:31px;min-height:44px;padding:5px}
}
.scene-note{letter-spacing:.04em;color:#edf0d3}
.scene-story{box-shadow:0 4px 24px #061b1717;border-left:1px solid #c7b87877}
.viewbar{border-bottom-color:#b2c5a830;background:linear-gradient(90deg,#153b30,#102e28)}
.viewbar button[aria-pressed=true]{background:#ece5b21b;border-color:#cec58d80;box-shadow:inset 0 0 12px #e6dfaa09}
.scene-foot{background:#12352c;color:#b9cdb8;border-top-color:#b2c5a828;letter-spacing:.015em}
.controls{background:linear-gradient(110deg,#f7f4e8,#efefdf)}
.pore-wrap{background:radial-gradient(ellipse,#dce7c675,#e5eac900 70%)}
.hotspot{background:#f4e8bce8;border-color:#d8c68d;color:#2a4938;box-shadow:0 3px 15px #092f2950}
@media(max-width:760px){.scene::after{height:var(--specimen-height);bottom:auto}.scene-story{box-shadow:none}.controls{background:#f5f2e5}}

/* Direct investigation stays beside the thing it changes. */
.specimen-parts{display:flex;align-items:center;gap:6px;padding:7px 14px;background:#173d30;border-bottom:1px solid #9db98733}
.specimen-parts>span{margin-right:auto;font:9px/1.4 'Courier New',monospace;letter-spacing:.04em;color:#c4d5b7}
.specimen-parts button,.route-controls button{min-height:36px;padding:7px 12px;border:1px solid #9cbb8955;border-radius:3px;background:#234a37;color:#f4edce;font:11px/1.4 Arial,sans-serif;cursor:pointer}
.specimen-parts button:hover,.route-controls button:hover{border-color:#ead894;background:#2d5841}
.route-controls{padding:12px 14px;background:#102e25;border-top:1px solid #9db98733;color:#d3e0cb}
.route-controls>div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.route-controls button[aria-pressed=true]{background:#e6d292;border-color:#e6d292;color:#173b2a}
.route-controls p{font-size:10px;line-height:1.5;margin:9px 0 0;color:#becdb6}
#leaf-route-link{margin-top:9px;background:#dfd394;color:#173b2a}
.pore-hotspot{min-height:44px;white-space:nowrap;font-size:12px;padding:10px 14px}
.curve-gesture{display:flex;align-items:center;justify-content:space-between;gap:10px;border-block:1px solid #bcc9ad;padding:10px 0;margin-top:14px;color:#3c5e3b;font-size:11px;flex-wrap:wrap}
.curve-gesture>span{font-weight:700}.curve-gesture output{font:11px/1.4 'Courier New',monospace}
.curve-experiment{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.curve-experiment button{min-height:44px;background:#28533b;color:#f9f1d5;border:1px solid #28533b;border-radius:3px;padding:9px 13px;font:11px/1.4 Arial,sans-serif;cursor:pointer}
.curve-experiment output{font:11px/1.6 Arial,sans-serif;color:#3d5a37}
.curve-experiment button:focus-visible{outline:3px solid #8b642b;outline-offset:3px}
#response{touch-action:pan-y;cursor:ew-resize;outline-offset:5px;border-radius:3px}
#response:focus-visible{outline:3px solid #8b642b}
.curve-panel #curve-guide{stroke:#9b7c38;stroke-width:1.2;stroke-dasharray:4 4}
.curve-panel #curve-halo{fill:#d4b66b26;stroke:#a4874d66;stroke-width:1}
.curve-panel #curve-dot{stroke-width:2.5}
.curve-panel .curve-keys{margin-top:8px;padding-top:8px;border-top:1px solid #cbd4bf;font-size:10px;color:#52694b}
.specimen-parts button:focus-visible,.route-controls button:focus-visible{outline:3px solid #edd892;outline-offset:3px}
@media(max-width:760px){.specimen-parts{padding:7px 9px}.specimen-parts button,.route-controls button{min-height:44px}.specimen-parts button{padding:8px 10px}.curve-panel #response text{font-size:18px}.curve-gesture{font-size:12px}.curve-panel #curve-dot{r:9px}.route-controls p{font-size:11px}}

/* One living specimen follows B; the kept calculation A stays in the notebook. */
.controls .minor-actions{margin:10px 0 12px;gap:8px}
.controls .minor-actions button{min-height:44px;font-size:11px}
.controls #pin{background:#315f42;color:#fff9e9;border:1px solid #315f42;border-radius:4px;padding:8px 11px;text-decoration:none}
.controls .live-result .metric .kept-reading{display:block;min-height:18px;margin-top:9px;padding-top:6px;border-top:1px dashed #b8aa76;font:11px/1.5 Arial,sans-serif;color:#f3dc9f}
.controls .live-result .metric .kept-reading[hidden]{display:none}
.scene-case{border:1px solid #9bbca166;background:#163d31b3;padding:3px 7px;border-radius:3px;white-space:nowrap;color:#f4efd7}
.scene-note{flex-wrap:wrap;max-width:calc(100% - 35px)}
.comparison{display:block;padding:27px 28px;margin:28px 0 35px;border:1px solid #b4bea4;border-top:3px solid #7d9463;border-radius:7px;background:linear-gradient(120deg,#f5f2e3,#e8eddf);box-shadow:0 9px 24px #264b2f09;scroll-margin-top:85px}
.comparison-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}
.comparison-heading h2{font-size:32px;letter-spacing:-.025em;margin-bottom:0}
.comparison-heading .eyebrow{font-size:9px;margin-bottom:7px}
.comparison-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:none}
.comparison #compare-keep{min-height:44px;padding:10px 13px;border:1px solid #315f42;border-radius:4px;background:#315f42;color:#fff9e9;text-decoration:none;font-size:12px}
.comparison #clear-pin{min-height:44px;font-size:12px}
.comparison #clear-pin:disabled{color:#7c8879;cursor:default;opacity:.65}
#compare-change{font:13px/1.7 Arial,sans-serif;max-width:850px;min-height:44px;margin:16px 0 18px;color:#3e5945}
.comparison-matrix{min-width:0;max-width:100%;border:1px solid #bdc6ad;border-radius:4px;overflow:hidden;background:#faf9ef}
.comparison-matrix table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}
.comparison-matrix caption{text-align:left;padding:11px 14px;font:11px/1.6 Arial,sans-serif;color:#4d624b;border-bottom:1px solid #bdc6ad}
.comparison-matrix th,.comparison-matrix td{padding:12px 15px;border-bottom:1px solid #d5dac6;vertical-align:middle;text-align:left}
.comparison-matrix thead th{font:600 12px/1.5 Arial,sans-serif;letter-spacing:.02em;background:#e9efdf}
.comparison-matrix thead th:first-child{width:42%}
.comparison-matrix thead th:nth-child(2){color:#785620;background:#eee4c9}
.comparison-matrix thead th:nth-child(3){color:#20523d;background:#deebd9}
.comparison-matrix tbody th{font:400 13px/1.5 Arial,sans-serif}
.comparison-matrix tbody th small{display:block;font:10px/1.6 Arial,sans-serif;color:#5e7058;margin-top:3px}
.comparison-matrix td{font:16px/1.5 'Courier New',monospace;font-variant-numeric:tabular-nums}
.comparison-matrix td:nth-child(2){background:#f5f0df}
.comparison-matrix td:nth-child(3){background:#eef4e7}
.comparison-matrix .changed-label{display:inline-block;margin:5px 0 0;padding:2px 5px;border:1px solid #8a9b73;border-radius:2px;color:#35573c;font:9px/1.4 Arial,sans-serif}
.comparison-matrix tr[data-changed=true] td:last-child{font-weight:700;box-shadow:inset 3px 0 #73925e}
.comparison-matrix .exchange-row th{font-weight:600}
.comparison-matrix .exchange-row td strong{display:block;font:28px/1.2 Georgia,serif;color:#224f39}
.comparison-matrix .exchange-row td>span{display:block;font:11px/1.5 Arial,sans-serif;margin-top:4px}
.comparison-matrix .exchange-row.water-row td strong{color:#28687a}
.comparison-matrix .no-reference,.comparison-matrix .exchange-row td>.no-reference{font:11px/1.5 Arial,sans-serif;color:#68765d}
.comparison-matrix tr:last-child>*{border-bottom:0}
.comparison-deltas{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0 14px}
.comparison-deltas>div{padding:14px 16px;border-left:2px solid #819769;background:#f8f7eb;min-height:105px}
.comparison-deltas span,.comparison-deltas small{display:block;font:11px/1.5 Arial,sans-serif;color:#4e634a}
.comparison-deltas strong{display:block;margin:5px 0;font:28px/1.2 Georgia,serif;color:#224f39}
.comparison-deltas>div:last-child{border-color:#498091}
.comparison-deltas>div:last-child strong{color:#28687a}
.comparison-limit{font:11px/1.7 Arial,sans-serif;color:#586e50;max-width:830px;margin:0}
.curve-legend{display:flex;gap:17px;flex-wrap:wrap;margin:10px 0 7px;font:11px/1.5 Arial,sans-serif;color:#3f5d44}
.curve-legend>span{display:inline-flex;align-items:center;gap:7px}
.curve-legend i{width:25px;display:inline-block;border-top:2px solid #426e45}
.curve-legend .legend-kept i{border-top:2px dashed #916b2c}
.curve-comparison-copy{font:12px/1.7 Arial,sans-serif;color:#45603f;min-height:41px;margin:8px 0 13px}
.curve-panel #curve-kept-line{fill:none;stroke:#916b2c;stroke-width:2.5;stroke-dasharray:7 5}
.curve-panel #curve-kept-dot{fill:var(--paper);stroke:#916b2c;stroke-width:2}
.curve-panel #curve-kept-label{fill:#72501c;font:600 14px Arial,sans-serif;paint-order:stroke;stroke:#f3f1e7;stroke-width:3px}
@media(max-width:760px){.comparison{padding:20px 15px;margin-top:22px}.comparison-heading{display:block}.comparison-heading h2{font-size:28px}.comparison-actions{margin-top:13px}.comparison-matrix caption{padding:10px;font-size:11px}.comparison-matrix th,.comparison-matrix td{padding:10px 8px}.comparison-matrix tbody th{font-size:12px}.comparison-matrix thead th{font-size:11px}.comparison-matrix tbody th small{font-size:9px;line-height:1.7}.comparison-matrix td{font-size:14px}.comparison-matrix .exchange-row td strong{font-size:23px}.comparison-deltas{gap:10px}.comparison-deltas>div{padding:12px 10px}.comparison-deltas strong{font-size:25px}.comparison-deltas span,.comparison-deltas small{font-size:10px}.curve-panel #curve-kept-label{font-size:22px}.curve-comparison-copy{font-size:12px;min-height:60px}.scene-case{font-size:9px}}
.pore-tradeoff{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:30px;margin:28px 0;padding:26px;border:1px solid #b5c2a5;border-radius:10px;background:linear-gradient(115deg,#e5ebd9,#f2f1e5);box-shadow:0 12px 36px #17372608;}
.tradeoff-copy{align-self:center;min-width:0;}.tradeoff-copy .eyebrow{color:#5b7250;}.tradeoff-copy h2{font-size:clamp(29px,3vw,42px);line-height:1.08;letter-spacing:-.035em;margin-bottom:16px;}.tradeoff-copy>p{font-size:13px;line-height:1.65;max-width:390px;}.tradeoff-rates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 5px;}.tradeoff-rates>div{border-top:3px solid #a67d37;padding-top:9px;min-width:0;}.tradeoff-rates>div:last-child{border-color:#347787;}.tradeoff-rates dt{font-size:11px;line-height:1.5;color:#465d48;}.tradeoff-rates dd{margin:6px 0 0;}.tradeoff-rates strong{display:block;font:34px/1.1 Georgia,'Times New Roman',serif;color:#6c4c1c;}.tradeoff-rates>div:last-child strong{color:#286a7a;}.tradeoff-rates dd span{display:block;font:11px/1.6 Arial,Helvetica,sans-serif;margin-top:5px;}.tradeoff-copy .tradeoff-basis{font-size:10px;color:#5b6a54;margin-bottom:14px;}#tradeoff-reading{border-left:2px solid #9cae7b;padding-left:11px;margin:0;}#tradeoff-negative{margin:10px 0 0;color:#80552a;font-weight:600;}
.tradeoff-instrument{min-width:0;padding:17px 18px 13px;border:1px solid #39604c;border-radius:7px;background:radial-gradient(ellipse at 12% 5%,#2c5741,#12372d 72%);color:#e7e9d5;box-shadow:inset 0 1px #e7eed417,0 8px 20px #17372612;}.tradeoff-invite{display:flex;justify-content:space-between;gap:7px 14px;flex-wrap:wrap;font:11px/1.5 Arial,Helvetica,sans-serif;color:#f0d492;}.tradeoff-invite output{font:12px/1.5 'Courier New',monospace;color:#fff1c5;}#tradeoff-conditions{font:10px/1.6 Arial,Helvetica,sans-serif;color:#c6d5bc;margin:7px 0 8px;}#pore-response{display:block;width:100%;height:auto;touch-action:pan-y;cursor:ew-resize;user-select:none;border-radius:3px;}#pore-response:focus-visible{outline:3px solid #e9bd68;outline-offset:3px;}#pore-response text{font:13px Arial,Helvetica,sans-serif;fill:#d9e2ca;}#pore-response .tradeoff-axis-title{font-size:13px;fill:#edf0df;}#pore-response .pore-grid-line{stroke:#a8bea33d;stroke-width:1;}#pore-response .pore-zero{stroke:#bdd0ab91;stroke-dasharray:3 4;stroke-width:1;}#pore-carbon-line{stroke:#efc976;}#pore-water-line{stroke:#8bc5d0;}#pore-response path{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;}#pore-curve-guide{stroke:#f0dfa06b;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke;}#pore-carbon-dot{fill:#f1ce7f;stroke:#fff5c8;stroke-width:1.5;}#pore-water-dot{fill:#85c3d2;stroke:#e0f4ef;stroke-width:1.5;}.tradeoff-scale-note{font-size:11px;line-height:1.6;margin:0 0 6px;color:#e0e5ce;}#tradeoff-help{font-size:10px;line-height:1.6;color:#bdcfb5;margin:0;}
@media(max-width:700px){.pore-tradeoff{grid-template-columns:minmax(0,1fr);gap:20px;padding:14px;margin:22px 0;}.tradeoff-copy h2 br{display:none;}.tradeoff-copy h2{font-size:30px;}.tradeoff-copy>p{max-width:none;}.tradeoff-rates{margin-top:16px;}.tradeoff-instrument{padding:13px 8px;}.tradeoff-invite{font-size:11px;}#pore-response{margin:4px 0 8px;}#pore-response text,#pore-response .tradeoff-axis-title{font-size:18px;}#tradeoff-conditions{font-size:11px;}#tradeoff-help{font-size:11px;}}
#pore-response .pore-current-value{font-size:17px;font-weight:600;}#pore-response #pore-carbon-current{fill:#f5d795;}#pore-response #pore-water-current{fill:#b5e1e7;}@media(max-width:700px){#pore-response .pore-current-value{font-size:18px;}}
