.calvin-panel{margin:2rem 0 3rem;padding:clamp(1rem,3vw,2rem);background:#edf2e4;border:1px solid #d3e1d1;border-radius:16px}.calvin-top{display:flex;justify-content:space-between;align-items:start;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}.calvin-top h3{margin:.25rem 0 0;font-size:1.2rem}.calvin-kicker{font-size:.75rem;font-weight:800;letter-spacing:.1em;color:#557b60}.calvin-legend{display:flex;gap:.8rem;flex-wrap:wrap;font-size:.85rem;color:#38534a}.calvin-legend span{display:flex;align-items:center;gap:.35rem}.calvin-legend i{width:.9rem;height:.9rem;border-radius:50%;display:inline-block}.calvin-key-carbon{background:#497c69}.calvin-key-energy{background:#b96b43}.calvin-chart-wrap{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #d5e3d2;border-radius:10px;background:white}.calvin-chart-wrap svg{display:block;width:100%;min-width:950px;height:auto;font-family:Arial,sans-serif}.calvin-flow{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:3;stroke-dasharray:8 6}.calvin-flow.carbon{stroke:#b6cbbd}.calvin-flow.energy{stroke:#e1b39e}.calvin-flow.carbon.active{stroke:#497c69;stroke-width:5;animation:calvin-flow 1.1s linear infinite}.calvin-flow.energy.active{stroke:#b96b43;stroke-width:5;animation:calvin-flow 1.1s linear infinite}.calvin-box.carbon rect{fill:#f3f8ef;stroke:#b6cbbd;stroke-width:2}.calvin-box.carbon.selected rect{fill:#dfefda;stroke:#497c69;stroke-width:4}.calvin-box.energy rect{fill:#fff6ee;stroke:#e1b39e;stroke-width:2}.calvin-box.energy.selected rect{fill:#ffead7;stroke:#b96b43;stroke-width:4}.calvin-box text{font-size:17px;font-weight:700;fill:#244d3a}.calvin-box.energy text{font-size:15px;fill:#985337}.calvin-box text.calvin-small{font-size:13px;font-weight:400;fill:#5c7466}.calvin-caption{font-size:13px;font-weight:700;letter-spacing:.04em;fill:#5d7864}.calvin-controls{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.calvin-controls button,.calvin-options button,.calvin-check{font:inherit;cursor:pointer;border:1px solid #afc6b1;background:#fff;color:#254c36;border-radius:8px;padding:.7rem 1rem;font-weight:700}.calvin-controls button:hover,.calvin-options button:hover,.calvin-check:hover{background:#e0f0da}.calvin-controls button:focus-visible,.calvin-options button:focus-visible,.calvin-check:focus-visible,.calvin-inputs select:focus-visible{outline:3px solid #367451;outline-offset:2px}.calvin-controls button:disabled{opacity:.45;cursor:default}.calvin-controls #calvin-play{background:#295b3d;color:white;border-color:#295b3d}.calvin-step{background:#fff;border-radius:10px;padding:1rem 1.2rem}.calvin-step h3{margin:0 0 .5rem;font-size:1.15rem}.calvin-step p{margin:.4rem 0;line-height:1.55}.calvin-step-detail{color:#4b6755}.calvin-note,.calvin-source{font-size:.9rem;line-height:1.55;color:#52685b}.calvin-note{margin:1rem 0 0}.calvin-source{margin:2rem 0}.calvin-question{margin:1rem 0;padding:1.2rem;border:1px solid #d5e2d1;background:#f8fbf6;border-radius:12px}.calvin-question h3{margin:0 0 .9rem;font-size:1.05rem;line-height:1.4}.calvin-options{display:grid;gap:.5rem}.calvin-options button{text-align:left;font-weight:500;line-height:1.4}.calvin-options button[aria-pressed="true"]{background:#dcefd6;border-color:#77a681}.calvin-feedback:empty{display:none}.calvin-feedback{color:#254c36;font-weight:700;line-height:1.5}.calvin-hint{margin-top:.8rem;color:#4a6552}.calvin-hint summary{cursor:pointer;font-weight:700}.calvin-inputs{display:grid;gap:.7rem;margin:1rem 0}.calvin-inputs label{display:grid;gap:.35rem;font-weight:700}.calvin-inputs select{font:inherit;padding:.65rem;border:1px solid #afc6b1;border-radius:7px;max-width:100%;background:#fff;color:#254c36}@keyframes calvin-flow{to{stroke-dashoffset:-28}}@media(max-width:650px){.calvin-panel{padding:.85rem}.calvin-controls button{flex:1 1 40%}.calvin-swipe{display:block}}@media(prefers-reduced-motion:reduce){.calvin-flow.active{animation:none}}

.calvin-swipe{display:none;font-size:.8rem;color:#56715c;margin:.5rem 0 0}@media(max-width:650px){.calvin-swipe{display:block}}

.calvin-key-water{background:#257c99}.calvin-flow.water{stroke:#a7cfdf}.calvin-flow.water.active{stroke:#257c99;stroke-width:5;animation:calvin-flow 1.1s linear infinite}.calvin-box.water rect{fill:#f0f8fc;stroke:#a7cfdf;stroke-width:2}.calvin-box.water.selected rect{fill:#dcf1f9;stroke:#257c99;stroke-width:4}.calvin-box.water text{font-size:16px;fill:#176481}.calvin-box.water text.calvin-small{font-size:13px;font-weight:400;fill:#44758a}.calvin-water-context,.calvin-water-note{margin:1.5rem 0 2rem;padding:1rem 1.2rem;border:1px solid #b6d8e3;background:#f4fafc;border-radius:10px;line-height:1.55;color:#274f60}.calvin-water-context strong,.calvin-water-note summary{color:#176481}.calvin-water-note summary{cursor:pointer;font-weight:700}.calvin-water-note p{margin:.75rem 0}.calvin-water-source{font-size:.9rem}@media(prefers-reduced-motion:reduce){.calvin-flow.water.active{animation:none}}


.water-balance{margin:3rem 0;padding:clamp(1rem,3vw,2rem);background:#f3f9f8;border:1px solid #c4dfda;border-radius:16px;color:#243d35}
.water-balance>h2{margin:.65rem 0}.water-balance>p{line-height:1.55}.water-balance>h3{margin:1.5rem 0 .8rem}
.water-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem;margin:1.3rem 0}
.water-step{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:.45rem;padding:.9rem .75rem;text-align:left;background:#fff;border:2px solid #c7dad3;border-radius:10px;color:#24483a;font:inherit;cursor:pointer}
.water-step:hover{border-color:#508777}.water-step[aria-pressed=true]{border-color:#236c5c;background:#e3f3ed;box-shadow:0 0 0 2px #bfe3d8}.water-step:focus-visible,.water-controls button:focus-visible{outline:3px solid #cf8c42;outline-offset:3px}
.water-phase,.water-detail-label{font-size:.7rem;letter-spacing:.06em;font-weight:800;color:#4c7769}.water-step strong{font-size:.96rem;line-height:1.25}.water-consumed,.water-produced{font-weight:700;font-size:.85rem;line-height:1.3}.water-consumed{color:#17637e}.water-produced{color:#95512e}
.water-detail{min-height:8rem;background:white;border:1px solid #c7ded8;border-radius:10px;padding:1rem 1.2rem}.water-detail h3{margin:.15rem 0 .4rem;font-size:1.12rem}.water-detail p{margin:.25rem 0;line-height:1.5}
.water-flow{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:.8rem 0 .1rem;font-weight:700;color:#17637e}.water-flow span:not(.water-flow-arrow){padding:.4rem .65rem;border-radius:7px;background:#edf7f8}.water-flow-arrow{font-size:1.35rem;color:#17637e;animation:water-flow-pulse 1.2s ease-in-out infinite alternate}@keyframes water-flow-pulse{to{transform:translateX(4px)}}@media(prefers-reduced-motion:reduce){.water-flow-arrow{animation:none}}
.water-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.8rem 0}.water-controls button{font:inherit;cursor:pointer;padding:.6rem 1rem;color:#254c36;background:#fff;border:1px solid #afc6b1;border-radius:8px;font-weight:700}.water-controls button:disabled{opacity:.45;cursor:default}.water-controls span{font-weight:700;color:#4c7769}
.water-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.water-totals>div{display:flex;flex-direction:column;gap:.3rem;padding:1rem;border-radius:10px;background:#fff;border:1px solid #c7ded8}.water-totals>div:last-child{background:#dcefe6;border-color:#7cb39e}.water-totals span,.water-totals small{font-size:.85rem}.water-totals strong{font-size:1.45rem;color:#1c5d50}
.water-note{font-size:.92rem;line-height:1.55;color:#405b51;margin:1rem 0}.water-equations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.water-equations>div{min-width:0;padding:1rem;border:1px solid #c7ded8;background:#fff;border-radius:10px}.water-equations>div>span{font-size:.8rem;font-weight:700;color:#4a6f62}.water-equations p{font-size:1rem;font-weight:700;line-height:1.5;margin:.35rem 0;overflow-wrap:normal}.water-molecule{white-space:nowrap}
@media(max-width:850px){.water-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.water-step:last-child{grid-column:1/-1}}
@media(max-width:540px){.water-balance{padding:1rem}.water-totals{grid-template-columns:1fr}.water-totals>div{display:grid;grid-template-columns:1fr auto;align-items:center}.water-totals small{grid-column:1/-1}.water-equations{grid-template-columns:1fr}.water-step{padding:.75rem .65rem}}
