.gs-lab-page{font-family:'Cairo',sans-serif;background:#f5f8f5;color:#243d2d}.gs-lab-page .header{position:sticky;top:0;z-index:20}.gs-lab-page .gs-lab-logo{text-decoration:none;color:inherit}.gs-lab-main{max-width:1180px;width:calc(100% - 36px);margin:auto;padding:30px 0 70px}.gs-lab-hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:2rem;padding:clamp(25px,5vw,58px);border-radius:30px;background:linear-gradient(125deg,#123f2d,#246b49 58%,#76a66f);color:white;overflow:hidden;position:relative}.gs-lab-kicker{display:inline-flex;color:#39805a;background:#eaf5ed;padding:.35rem .75rem;border-radius:99px;font-size:.76rem;font-weight:800;letter-spacing:.04em}.gs-lab-hero .gs-lab-kicker{background:#ffffff20;color:#e5f5e8}.gs-lab-hero h1{font-size:clamp(1.7rem,3.6vw,2.8rem);line-height:1.45;margin:.9rem 0}.gs-lab-hero p{line-height:2;color:#e4f1e6;max-width:640px}.gs-lab-cta,.gs-lab-next a{display:inline-flex;margin-top:1rem;padding:.8rem 1.25rem;border-radius:13px;background:#fff;color:#205c3b;text-decoration:none;font-weight:800}.gs-lab-hero-art{min-height:270px;display:grid;place-items:center;position:relative}.gs-lab-orbit{position:absolute;border:1px solid #ffffff45;border-radius:50%;width:250px;height:250px}.gs-orbit-two{width:190px;height:190px;border-style:dashed}.gs-lab-hero-cell{width:135px;height:135px;border-radius:42% 58% 55% 45%;background:radial-gradient(circle at 35% 35%,#e7f7b9,#8bc77c 60%,#43845b);border:8px solid #d3edbd;box-shadow:0 0 0 15px #ffffff17,0 20px 45px #0b2d20aa;display:grid;place-items:center;color:#47764a;font-size:2.5rem}.gs-lab-hero-label{position:absolute;bottom:5px;color:#e2f3e4;font-weight:800;letter-spacing:.25em}.gs-lab-section{margin-top:42px}.gs-lab-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:1rem}.gs-lab-section-heading h2{font-size:clamp(1.35rem,2.4vw,1.9rem);color:#214f38;margin:.55rem 0}.gs-lab-section-heading p{margin:0;color:#6a7e70;line-height:1.8}.gs-lab-number{font-size:2.5rem;font-weight:800;color:#d7e8dc}.gs-microscope-card,.gs-cell-card,.gs-quiz-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;box-shadow:0 12px 30px #214f380d;padding:clamp(16px,3vw,28px)}.gs-microscope-card{display:grid;grid-template-columns:1.1fr .9fr;gap:28px}.gs-micro-visual{min-width:0;background:#edf4ef;border-radius:18px;padding:16px}.gs-micro-top{display:flex;justify-content:space-between;font-weight:800;color:#345d43}.gs-micro-view{height:300px;border-radius:50%;max-width:430px;aspect-ratio:1;margin:16px auto;overflow:hidden;border:12px solid #cbd8cf;box-shadow:inset 0 0 0 5px #fff,0 5px 18px #234c3520;background:#f6f8ec;display:grid;place-items:center}.gs-micro-specimen{width:100%;height:100%;display:grid;place-items:center;transition:transform .2s}.gs-micro-specimen svg{width:100%;height:100%}.gs-micro-scale{display:flex;align-items:center;gap:12px;color:#476b53;font-size:.8rem;font-weight:800}.gs-micro-scale input{flex:1;accent-color:#28764d}.gs-micro-caption{font-size:.75rem;color:#718477;text-align:center;margin-top:10px;line-height:1.7}.gs-micro-info{align-self:center}.gs-micro-info h3{font-size:1.4rem;color:#214f38}.gs-micro-info p{color:#637769;line-height:2}.gs-micro-fact{display:grid;gap:6px;padding:14px;border-radius:14px;background:#f0f7f1;border-inline-start:4px solid #5d9a6d;color:#577061;line-height:1.8}.gs-micro-fact strong{color:#286443}.gs-cell-controls{display:flex;gap:9px;margin-bottom:20px}.gs-cell-type{border:1px solid #d8e8dd;background:#f5faf6;color:#376448;border-radius:12px;padding:10px 18px;font:inherit;font-weight:800;cursor:pointer}.gs-cell-type.is-active{background:#236b48;color:white;border-color:#236b48}.gs-cell-workspace{display:grid;grid-template-columns:1.1fr .9fr;gap:25px;align-items:center}.gs-cell-drawing{position:relative;max-width:580px;margin:auto;width:100%}.gs-cell-drawing svg{width:100%;height:auto;overflow:visible}.cell-wall{fill:#d6edc8;stroke:#5e9c65;stroke-width:12}.cell-membrane{fill:#f0f7df;stroke:#9acb8e;stroke-width:5}.cell-nucleus{fill:#9b7ac1;stroke:#73539b;stroke-width:4}.cell-nucleolus{fill:#e9c5f2}.cell-vacuole{fill:#a9dce0;stroke:#64aeb5;stroke-width:5;opacity:.8}.cell-chloro ellipse{fill:#85bd70;stroke:#4c8d4e;stroke-width:4}.cell-chloro path{stroke:#d7efad;stroke-width:3}.cell-mito path{fill:#e6a36e;stroke:#bc764c;stroke-width:4}.cell-ribo circle{fill:#517d5a}.gs-organelle-hit{position:absolute;border:2px solid #fff;background:#ffffff12;border-radius:50%;cursor:pointer;box-shadow:0 0 0 2px #387c5144}.gs-organelle-hit:focus-visible{outline:3px solid #276e49;outline-offset:3px}.hit-nucleus{left:20%;top:25%;width:19%;height:21%}.hit-vacuole{left:47%;top:22%;width:37%;height:56%;border-radius:24px}.hit-chloro{left:12%;top:61%;width:16%;height:13%}.hit-mito{left:35%;top:12%;width:12%;height:10%}.gs-organelle-panel{background:#f2f8f3;border:1px solid #dfede2;border-radius:18px;padding:22px;min-height:200px}.gs-organelle-panel h3{color:#22573a;font-size:1.35rem;margin:12px 0}.gs-organelle-panel p{color:#587060;line-height:2}.gs-organelle-tip{border-top:1px solid #dce9df;padding-top:12px;color:#698072;font-size:.85rem;line-height:1.8}.gs-cell-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:15px;color:#617768;font-size:.8rem}.gs-cell-legend span{display:flex;align-items:center;gap:6px}.gs-cell-legend i{width:11px;height:11px;border-radius:4px;background:#d6edc8}.legend-nucleus{background:#9b7ac1!important}.legend-vacuole{background:#a9dce0!important}.legend-chloro{background:#85bd70!important}.gs-quiz-card h3{color:#244f37;line-height:1.9}.gs-quiz-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gs-quiz-options button{border:1px solid #dce9df;border-radius:12px;padding:13px;background:#f7fbf8;color:#315d42;font:inherit;font-weight:800;cursor:pointer}.gs-quiz-options button:disabled{cursor:default;opacity:.85}.gs-quiz-options button.is-correct{background:#e2f4e6;border-color:#75b783;color:#22643a}.gs-quiz-options button.is-wrong{background:#fff0e9;border-color:#d89b83;color:#934d35}.gs-quiz-feedback{font-weight:800;color:#52745e;min-height:28px}.gs-lab-next{margin-top:40px;padding:25px 30px;border-radius:22px;background:linear-gradient(110deg,#e8f4e9,#f6faf4);display:flex;justify-content:space-between;align-items:center;gap:1rem}.gs-lab-next h2{color:#22573a;margin:0}.gs-lab-next p{color:#637a69;line-height:1.8;margin:.4rem 0}.gs-lab-next a{background:#236b48;color:#fff;white-space:nowrap}.gs-lab-page .footer{margin-top:0}.gs-lab-page[dir="ltr"] .gs-lab-hero-copy{text-align:left}@media(max-width:800px){.gs-lab-hero{grid-template-columns:1fr}.gs-lab-hero-art{min-height:210px}.gs-microscope-card,.gs-cell-workspace{grid-template-columns:1fr}.gs-micro-view{height:auto;width:min(75vw,320px)}.gs-cell-workspace{gap:12px}}@media(max-width:560px){.gs-lab-main{width:calc(100% - 22px);padding-top:15px}.gs-lab-section{margin-top:30px}.gs-lab-section-heading{align-items:flex-start}.gs-lab-number{font-size:1.8rem}.gs-quiz-options{grid-template-columns:1fr}.gs-lab-next{align-items:flex-start;flex-direction:column;padding:20px}.gs-cell-controls{display:grid;grid-template-columns:1fr 1fr}.gs-micro-view{width: min(78vw,290px)}.gs-lab-page .header .container{gap:8px}}@media(prefers-reduced-motion:reduce){.gs-micro-specimen{transition:none}}


/* Photosynthesis interactive activity */
.gs-photo-card{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:clamp(16px,3vw,28px);background:#fff;border:1px solid #e0ebe3;border-radius:23px;box-shadow:0 12px 30px #214f380d}
.gs-photo-visual{display:grid;place-items:center;align-content:center;background:linear-gradient(145deg,#edf6e9,#f8f6e9);border-radius:18px;padding:18px;min-width:0}
.gs-photo-visual svg{width:100%;max-width:430px;height:auto}
.gs-photo-equation{font-weight:800;color:#326847;background:#fff;border:1px solid #e1ecdf;border-radius:12px;padding:12px;text-align:center;width:100%;font-size:clamp(.75rem,1.4vw,.95rem)}
.gs-photo-controls{display:flex;flex-direction:column;justify-content:center;gap:20px}
.gs-photo-control label,.gs-photo-result-head{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#365d43;font-weight:800}
.gs-photo-control input{width:100%;accent-color:#318052;margin:12px 0 4px}
.gs-photo-scale{display:flex;justify-content:space-between;color:#829187;font-size:.75rem}
.gs-photo-result{padding:16px;background:#f1f8f1;border-radius:15px}
.gs-photo-result-head{font-size:.88rem;line-height:1.6}
.gs-photo-result-head strong{font-size:1.3rem;color:#287347;white-space:nowrap}
.gs-photo-meter{height:12px;background:#dce9dc;border-radius:99px;overflow:hidden;margin:12px 0}
.gs-photo-meter span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#9bcf73,#287c4c);transition:width .25s}
.gs-photo-result p,.gs-photo-note{color:#65796b;font-size:.84rem;line-height:1.8;margin:0}
.gs-photo-note{font-size:.75rem;color:#829187}
.photo-oxygen{animation:oxygenFloat 2.4s ease-in-out infinite alternate;transform-origin:center}
@keyframes oxygenFloat{from{transform:translateY(8px);opacity:.45}to{transform:translateY(-8px);opacity:1}}
@media(max-width:800px){.gs-photo-card{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.photo-oxygen{animation:none}.gs-photo-meter span{transition:none}}


/* Mendelian genetics / Punnett square */
.gs-genetics-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-genetics-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:14px;background:#f2f8f3;border-radius:17px;padding:18px}
.gs-genetics-parent{display:grid;gap:9px}.gs-genetics-parent label{font-weight:800;color:#345d43}.gs-genetics-parent select{width:100%;padding:12px;border:1px solid #d4e5d8;border-radius:11px;background:#fff;color:#315b40;font:inherit;font-weight:700}
.gs-genetics-cross{font-size:1.8rem;font-weight:800;color:#60916b;padding:0 8px 7px}
.gs-punnett-wrap{text-align:center;padding:20px 0}.gs-punnett-wrap h3{color:#28573b;margin-bottom:4px}.gs-punnett-wrap p{color:#718477;font-size:.85rem}
.gs-punnett{border-collapse:separate;border-spacing:7px;margin:16px auto;width:min(100%,390px);direction:ltr}
.gs-punnett th,.gs-punnett td{width:25%;height:66px;text-align:center;border-radius:12px;font-size:1.15rem;font-weight:800}
.gs-punnett th{background:#e8f1e9;color:#41654b}.gs-punnett td{background:#f2f8f2;border:1px solid #dceadd;color:#285d3b}
.gs-punnett td.gen-dominant-cell{background:#e1f2e3;border-color:#8fc49a}.gs-punnett td.gen-recessive-cell{background:#fff0dc;border-color:#e6c18b;color:#875a25}
.gs-genetics-results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.gs-genetics-results>div{background:#f2f8f3;border:1px solid #e1ece2;border-radius:14px;padding:15px;display:grid;gap:7px;text-align:center}
.gs-genetics-results span{font-size:.8rem;color:#637a69;line-height:1.6}.gs-genetics-results strong{font-size:1.15rem;color:#286343;overflow-wrap:anywhere}
.gs-genetics-explain{margin:17px 0 10px;padding:14px 16px;border-inline-start:4px solid #5e9b6b;border-radius:10px;background:#f0f7f1;color:#496b54;line-height:1.9}
@media(max-width:600px){.gs-genetics-controls{grid-template-columns:1fr}.gs-genetics-cross{text-align:center;padding:0}.gs-genetics-results{grid-template-columns:1fr}.gs-punnett th,.gs-punnett td{height:56px}}


/* Interactive geology strata and structures */
.gs-geology-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-geology-tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}
.gs-geology-choice{border:1px solid #d5e4d7;background:#f5f8f4;color:#42664a;border-radius:999px;padding:10px 17px;font:inherit;font-weight:800;cursor:pointer}
.gs-geology-choice.is-active{background:#2f7048;color:#fff;border-color:#2f7048}
.gs-geology-choice:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
.gs-geology-visual{background:linear-gradient(160deg,#f0f5ed,#e8eee8);border-radius:17px;padding:14px;overflow:hidden}
.gs-geology-visual svg{width:100%;height:auto;display:block;max-height:380px}
.gs-geology-visual svg g[hidden]{display:none}
.gs-geology-legend{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center;padding:14px 5px 2px;color:#5f7162;font-size:.8rem}
.gs-geology-legend>span{display:flex;align-items:center;gap:7px}
.geo-swatch{width:15px;height:15px;border-radius:4px;display:inline-block}
.geo-a{background:#e5c38a}.geo-b{background:#b8cf9c}.geo-c{background:#d89c72}.geo-d{background:#8ca8b7}
.gs-geology-explanation{margin:17px 0 10px;padding:15px 17px;border-inline-start:4px solid #67956c;background:#f0f7f1;border-radius:10px;color:#496b54;line-height:1.9}
@media(max-width:600px){.gs-geology-choice{flex:1;padding:9px 10px;font-size:.85rem}.gs-geology-visual{padding:6px}.gs-geology-legend{justify-content:flex-start}}

/* Relative dating challenge */
.gs-relative-card{display:grid;grid-template-columns:1fr 1fr;gap:22px;background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-relative-visual{background:#f0f5ed;border-radius:17px;padding:16px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.gs-relative-visual svg{width:100%;height:auto;display:block}
.geo-intrusion{background:#8b6b9e}
.gs-relative-legend{display:flex;flex-wrap:wrap;gap:9px 14px;justify-content:center;padding-top:13px;color:#5f7162;font-size:.78rem}
.gs-relative-legend>span{display:flex;align-items:center;gap:6px}
.gs-relative-task{align-self:center}
.gs-relative-task h3{color:#28573b;font-size:1.25rem;margin:.8rem 0}
.gs-relative-task>p{color:#65796b;line-height:1.9}
.gs-relative-options{display:grid;gap:9px;margin:16px 0}
.gs-relative-options button{border:1px solid #d5e4d7;background:#f7faf7;color:#365d43;border-radius:12px;padding:12px 14px;text-align:start;font:inherit;font-weight:700;cursor:pointer}
.gs-relative-options button:disabled{cursor:default;opacity:1}
.gs-relative-options button.is-correct{background:#e1f2e3;border-color:#83bd91;color:#235e38}
.gs-relative-options button.is-wrong{background:#fff0e9;border-color:#d9a08b;color:#8a3f2d}
.gs-relative-options button:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
.gs-relative-feedback{padding:13px 15px;border-radius:11px;background:#f0f7f1;border-inline-start:4px solid #67956c;color:#496b54;line-height:1.9;min-height:54px}
@media(max-width:760px){.gs-relative-card{grid-template-columns:1fr}}

/* Rock cycle learning station */
.gs-rock-cycle-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-rock-cycle-diagram{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:18px 8px;background:linear-gradient(145deg,#f0f5ed,#f8f5ed);border-radius:17px}
.gs-rock-node{min-width:112px;min-height:94px;padding:13px 12px;border-radius:15px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;text-align:center;color:#314d3b;border:1px solid #ffffffb8;box-shadow:0 5px 14px #263b2a12}
.gs-rock-node span{font-size:.72rem;font-weight:900;opacity:.7}
.gs-rock-node strong{font-size:.88rem;line-height:1.5}
.rock-magma{background:#e9b5a0}.rock-igneous{background:#aeb9ae}.rock-sediment{background:#e8d6a6}.rock-sedimentary{background:#c6d8ae}.rock-metamorphic{background:#c8b6d4}
.gs-rock-arrow{font-size:1.5rem;color:#6d8c72;font-weight:900}
.gs-rock-processes{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin:19px 0}
.gs-rock-processes button{border:1px solid #d5e4d7;background:#f7faf7;color:#365d43;border-radius:999px;padding:10px 15px;font:inherit;font-weight:750;cursor:pointer}
.gs-rock-processes button.is-active{background:#2f7048;border-color:#2f7048;color:#fff}
.gs-rock-processes button:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
.gs-rock-explanation{padding:15px 17px;border-inline-start:4px solid #67956c;background:#f0f7f1;border-radius:10px;color:#496b54;line-height:1.95;min-height:62px}
@media(max-width:620px){.gs-rock-cycle-diagram{gap:6px}.gs-rock-node{min-width:calc(50% - 14px);min-height:78px}.gs-rock-arrow{font-size:1.1rem}.gs-rock-processes button{flex:1 1 42%;font-size:.86rem}}

/* Interactive ecosystem and food-chain lab */
.gs-eco-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-eco-chain{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:18px 10px;background:linear-gradient(145deg,#eef6ed,#f8f5ed);border-radius:17px}
.gs-eco-level{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:120px;min-height:125px;padding:13px 12px;border:1px solid #d9e6d8;border-radius:16px;background:#fff;color:#355a40;font:inherit;cursor:pointer;text-align:center;transition:transform .15s,border-color .15s,background .15s}
.gs-eco-level.is-active{background:#e7f3e7;border:2px solid #67956c;transform:translateY(-3px)}
.gs-eco-level:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
.gs-eco-emoji{font-size:2rem;line-height:1.3}
.gs-eco-level strong{font-size:.88rem}
.gs-eco-level small{font-size:.78rem;color:#718474}
.gs-eco-arrow{font-size:1.4rem;color:#6d8c72;font-weight:900}
.gs-eco-detail{margin:16px 0;padding:15px 17px;border-inline-start:4px solid #67956c;background:#f0f7f1;border-radius:10px;color:#496b54;line-height:1.95;min-height:62px}
.gs-eco-energy{margin-top:22px;padding:18px;background:#f8faf7;border-radius:16px}
.gs-eco-energy h3{margin:0 0 8px;color:#315b3e}
.gs-eco-energy>p{color:#65796b;line-height:1.85}
.gs-eco-bars{display:grid;gap:13px;margin:18px 0}
.gs-eco-bars>div{display:grid;grid-template-columns:minmax(105px,1fr) minmax(80px,2fr) 65px;align-items:center;gap:10px;color:#49634e;font-size:.82rem}
.gs-eco-bars i{height:13px;background:#e5ece3;border-radius:99px;overflow:hidden;display:block}
.gs-eco-bars i b{height:100%;display:block;min-width:2px;border-radius:99px;background:linear-gradient(90deg,#80b47e,#367a4b)}
.gs-eco-bars strong{font-variant-numeric:tabular-nums;text-align:end}
@media(max-width:700px){.gs-eco-chain{gap:6px}.gs-eco-level{min-width:calc(50% - 18px);min-height:112px}.gs-eco-arrow{font-size:1.1rem}.gs-eco-bars>div{grid-template-columns:100px minmax(45px,1fr) 55px;font-size:.74rem}}

/* Ecosystem balance challenge */
.gs-balance-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-balance-species{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.gs-balance-species button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:125px;padding:12px 8px;border:1px solid #d9e6d8;border-radius:15px;background:#f8fbf7;color:#365d43;font:inherit;cursor:pointer;text-align:center}
.gs-balance-species button>span{font-size:1.9rem}
.gs-balance-species button strong{font-size:.9rem}
.gs-balance-species button small{font-size:.76rem;color:#718474}
.gs-balance-species button.is-removed{background:#fff0e9;border:2px dashed #c47c63;opacity:.75}
.gs-balance-species button:focus-visible,.gs-balance-controls button:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
.gs-balance-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0}
.gs-balance-controls p{margin:0;color:#65796b;line-height:1.8}
.gs-balance-controls button{border:0;border-radius:999px;padding:10px 17px;background:#2f7048;color:#fff;font:inherit;font-weight:750;cursor:pointer}
.gs-balance-result{padding:16px 18px;border-inline-start:4px solid #67956c;background:#f0f7f1;border-radius:10px;color:#496b54;line-height:1.95;min-height:76px}
@media(max-width:760px){.gs-balance-species{grid-template-columns:repeat(2,minmax(0,1fr))}.gs-balance-species button:last-child{grid-column:span 2;min-height:95px}}

/* Interactive food web explorer */
.gs-foodweb-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-foodweb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;background:linear-gradient(145deg,#eef6ed,#f8f5ed);border-radius:17px}
.gs-foodweb-grid button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:85px;padding:12px;border:1px solid #d9e6d8;border-radius:14px;background:#fff;color:#365d43;font:inherit;cursor:pointer}
.gs-foodweb-grid button>span{font-size:1.65rem}
.gs-foodweb-grid button strong{font-size:.9rem}
.gs-foodweb-grid button.is-active{background:#e7f3e7;border:2px solid #67956c;box-shadow:0 4px 12px #315b3e14}
.gs-foodweb-grid button:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
.gs-foodweb-detail{margin:16px 0;padding:15px 17px;border-inline-start:4px solid #67956c;background:#f0f7f1;border-radius:10px;color:#496b54;line-height:1.95;min-height:70px}
@media(max-width:620px){.gs-foodweb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gs-foodweb-grid button{min-height:72px}}

/* Biodiversity observatory activity */
.gs-biodiv-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-biodiv-card h3{margin:16px 0 12px;color:#315b3e}
.gs-biodiv-habitats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gs-biodiv-habitats button{display:flex;flex-direction:column;align-items:center;gap:7px;min-height:110px;padding:13px;border:1px solid #d9e6d8;border-radius:15px;background:#f8fbf7;color:#365d43;font:inherit;cursor:pointer}
.gs-biodiv-habitats button span{font-size:1.9rem}
.gs-biodiv-habitats button.is-active,.gs-biodiv-pressures button.is-active{background:#e7f3e7;border:2px solid #67956c}
.gs-biodiv-pressures{display:flex;flex-wrap:wrap;gap:9px}
.gs-biodiv-pressures button{padding:10px 17px;border:1px solid #d9e6d8;border-radius:999px;background:#f8fbf7;color:#365d43;font:inherit;cursor:pointer}
.gs-biodiv-detail{margin:13px 0 20px;padding:15px 17px;border-inline-start:4px solid #67956c;background:#f0f7f1;border-radius:10px;color:#496b54;line-height:1.95;min-height:65px}
.gs-biodiv-habitats button:focus-visible,.gs-biodiv-pressures button:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
@media(max-width:620px){.gs-biodiv-habitats{grid-template-columns:1fr}.gs-biodiv-habitats button{min-height:78px;flex-direction:row;justify-content:center}}

/* Environmental pollution lab */
.gs-pollution-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-pollution-card h3{margin:16px 0 12px;color:#315b3e}
.gs-pollution-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gs-pollution-types button{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:110px;padding:13px;border:1px solid #d9e6d8;border-radius:15px;background:#f8fbf7;color:#365d43;font:inherit;cursor:pointer}
.gs-pollution-types button span{font-size:1.9rem}
.gs-pollution-types button.is-active,.gs-pollution-actions button.is-active{background:#e7f3e7;border:2px solid #67956c}
.gs-pollution-actions{display:flex;flex-wrap:wrap;gap:9px}
.gs-pollution-actions button{padding:10px 15px;border:1px solid #d9e6d8;border-radius:999px;background:#f8fbf7;color:#365d43;font:inherit;cursor:pointer}
.gs-pollution-detail,.gs-pollution-feedback{margin:13px 0 20px;padding:15px 17px;border-inline-start:4px solid #67956c;background:#f0f7f1;border-radius:10px;color:#496b54;line-height:1.95;min-height:68px}
.gs-pollution-types button:focus-visible,.gs-pollution-actions button:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
@media(max-width:620px){.gs-pollution-types{grid-template-columns:1fr}.gs-pollution-types button{min-height:76px;flex-direction:row;justify-content:center}}

/* Water cycle learning activity */
.gs-watercycle-card{background:#fff;border:1px solid #dce8ee;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-watercycle-flow{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:18px;background:linear-gradient(135deg,#eef7fb,#f5f8f0);border-radius:18px}
.gs-watercycle-flow button,.gs-watercycle-secondary button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:78px;padding:13px 16px;border:1px solid #d5e5e9;border-radius:15px;background:#fff;color:#315b69;font:inherit;cursor:pointer}
.gs-watercycle-flow button{flex-direction:column;min-width:120px}
.gs-watercycle-flow button span,.gs-watercycle-secondary button span{font-size:1.7rem}
.gs-watercycle-flow button.is-active,.gs-watercycle-secondary button.is-active{background:#e4f2f5;border:2px solid #5592a2}
.gs-watercycle-arrow{font-size:1.4rem;color:#5a8993}
.gs-watercycle-secondary{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:13px}
.gs-watercycle-detail{margin:16px 0;padding:16px 18px;border-inline-start:4px solid #5592a2;background:#eef7f8;border-radius:10px;color:#416b76;line-height:1.95;min-height:72px}
.gs-watercycle-flow button:focus-visible,.gs-watercycle-secondary button:focus-visible{outline:3px solid #e3bd62;outline-offset:3px}
@media(max-width:620px){.gs-watercycle-flow{gap:7px}.gs-watercycle-flow button{min-width:calc(50% - 18px);flex:1}.gs-watercycle-arrow{display:none}.gs-watercycle-secondary button{flex:1 1 100%}}

html[dir="ltr"] .gs-watercycle-arrow{transform:rotate(180deg)}

/* Sustainable water management decision activity */
.gs-water-management-card{background:#fff;border:1px solid #dce8ee;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d}
.gs-water-management-intro{display:flex;align-items:center;gap:14px;padding:14px 17px;background:#eef7f8;border-radius:15px;color:#416b76;line-height:1.9}
.gs-water-management-intro>span{font-size:2rem}
.gs-water-management-intro p{margin:0}
.gs-water-management-card h3{margin:19px 0 12px;color:#315b69}
.gs-water-measures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.gs-water-measures label{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;padding:14px;border:1px solid #d5e5e9;border-radius:14px;background:#f9fcfc;color:#315b69;cursor:pointer}
.gs-water-measures label:has(input:checked){background:#eaf5f1;border:2px solid #63977e}
.gs-water-measures input{width:18px;height:18px;accent-color:#39805e}
.gs-water-measures label>span{font-size:1.35rem}
.gs-water-measures strong{font-size:.96rem}
.gs-water-measures small{grid-column:2/4;color:#648078;line-height:1.6}
.gs-water-management-controls{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.gs-water-management-controls button{padding:11px 18px;border:1px solid #4f8c77;border-radius:999px;background:#eaf5f1;color:#315b50;font:inherit;font-weight:600;cursor:pointer}
.gs-water-management-controls button+button{background:#fff;border-color:#d5e5e9;color:#526d70}
.gs-water-management-feedback{padding:16px 18px;border-inline-start:4px solid #63977e;background:#f0f7f3;border-radius:10px;color:#416b58;line-height:1.95;min-height:72px}
.gs-water-management-controls button:focus-visible,.gs-water-measures label:focus-within{outline:3px solid #e3bd62;outline-offset:3px}
@media(max-width:620px){.gs-water-measures{grid-template-columns:1fr}.gs-water-measures label{grid-template-columns:auto auto 1fr}}


/* Real Commons photographs across the standalone laboratory */
.lab-real-photo{display:grid;gap:9px;min-width:0;width:100%;color:inherit;text-decoration:none}
.lab-real-photo[hidden]{display:none!important}
.lab-photo-frame{display:grid;place-items:center;min-height:220px;overflow:hidden;border:1px solid #dce9df;border-radius:16px;background:linear-gradient(145deg,#f3f8f3,#eaf1eb);color:#55715d}
.lab-photo-frame img{display:block;width:100%;height:100%;min-height:220px;max-height:420px;object-fit:contain;background:#f7faf7}
.lab-photo-frame>span{font-size:2rem}
.lab-photo-frame>small{padding:1rem;text-align:center;line-height:1.7}
.lab-photo-credit{display:block;color:#667b6d;font-size:.72rem;line-height:1.6;text-align:center;overflow-wrap:anywhere}
.lab-real-photo:focus-visible{outline:3px solid #d6ad50;outline-offset:3px;border-radius:14px}
.lab-micro-photo .lab-photo-frame{min-height:290px;height:290px}
.lab-micro-photo .lab-photo-frame img{min-height:290px;max-height:290px;object-fit:contain}
.gs-cell-drawing{display:grid;gap:12px}
.gs-cell-drawing .lab-photo-frame{min-height:260px;height:300px}
.gs-cell-drawing .lab-photo-frame img{min-height:260px;max-height:300px;object-fit:contain}
.gs-organelle-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.gs-organelle-choices .gs-organelle-hit{position:static;width:auto;height:auto;min-height:42px;padding:8px 10px;border:1px solid #d7e7da;border-radius:10px;background:#fff;color:#365d43;box-shadow:none;font:inherit;font-weight:750}
.gs-organelle-choices .gs-organelle-hit[hidden]{display:none}
.gs-photo-visual .lab-plant-photo{max-width:430px}
.gs-photo-visual .lab-photo-frame{min-height:230px;height:260px}
.gs-photo-visual .lab-photo-frame img{min-height:230px;max-height:260px;object-fit:contain}
.gs-geology-visual .lab-geology-photo .lab-photo-frame{min-height:260px;height:310px}
.gs-geology-visual .lab-geology-photo .lab-photo-frame img{min-height:260px;max-height:310px;object-fit:contain}
.gs-relative-visual .lab-relative-photo .lab-photo-frame{min-height:260px;height:310px}
.gs-relative-visual .lab-relative-photo .lab-photo-frame img{min-height:260px;max-height:310px;object-fit:contain}
@media(max-width:650px){
 .lab-photo-frame,.lab-micro-photo .lab-photo-frame{min-height:200px;height:220px}
 .lab-photo-frame img,.lab-micro-photo .lab-photo-frame img{min-height:200px;max-height:220px}
 .gs-cell-drawing .lab-photo-frame{height:240px;min-height:220px}
 .gs-cell-drawing .lab-photo-frame img{min-height:220px;max-height:240px}
 .gs-organelle-choices{grid-template-columns:1fr 1fr}
}


/* Real photographs for the laboratory welcome and rock-cycle stages */
.gs-lab-hero-photo{width:min(100%,390px);justify-self:center;align-self:center}
.gs-lab-hero-photo .lab-photo-frame{height:245px;min-height:220px;border:1px solid rgba(255,255,255,.5);background:#f2f7f2;box-shadow:0 14px 34px rgba(20,60,38,.16)}
.gs-lab-hero-photo .lab-photo-frame img{min-height:220px;max-height:245px;object-fit:cover}
.gs-rock-cycle-diagram{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:8px;padding:14px;background:linear-gradient(145deg,#f0f5ed,#f8f5ed);border-radius:17px}
.gs-rock-cycle-diagram .lab-rock-photo{min-width:0;padding:8px;border:1px solid #dce8dc;border-radius:13px;background:#fff}
.gs-rock-cycle-diagram .lab-photo-frame{height:120px;min-height:110px;border-radius:9px}
.gs-rock-cycle-diagram .lab-photo-frame img{min-height:110px;max-height:120px;object-fit:cover}
.gs-rock-cycle-diagram .lab-rock-photo strong{color:#365e42;font-size:.78rem;line-height:1.45;text-align:center}
.gs-rock-cycle-diagram .lab-rock-photo .lab-photo-credit{font-size:.62rem}
.gs-rock-cycle-diagram .gs-rock-arrow{display:none}
@media(max-width:950px){.gs-rock-cycle-diagram{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.gs-rock-cycle-diagram{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}.gs-rock-cycle-diagram .lab-photo-frame{height:110px;min-height:100px}.gs-rock-cycle-diagram .lab-photo-frame img{min-height:100px;max-height:110px}.gs-lab-hero-photo .lab-photo-frame{height:210px;min-height:190px}}

/* Interactive tectonic model */
.gs-tectonic-card{background:#fff;border:1px solid #dce9df;border-radius:22px;padding:clamp(14px,2.5vw,24px);box-shadow:0 12px 30px #214f380d}
.gs-tectonic-toolbar{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:16px}
.gs-tectonic-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid #d7e5dc;background:#f4f8f4;color:#365c43;border-radius:999px;padding:9px 14px;font:inherit;font-weight:800;cursor:pointer}
.gs-tectonic-toggle i{width:10px;height:10px;border-radius:50%;background:#9aa9a0}
.gs-tectonic-toggle[data-layer="plates"] i{background:#638b54}.gs-tectonic-toggle[data-layer="volcanoes"] i{background:#e53935}.gs-tectonic-toggle[data-layer="quakes"] i{background:#2454df}.gs-tectonic-toggle[data-layer="relief"] i{background:#82a94c}.gs-tectonic-toggle[data-layer="gps"] i{background:#244de0}
.gs-tectonic-toggle.is-on{background:#e8f4eb;border-color:#6ba77b;color:#205c3b}.gs-tectonic-toggle:focus-visible{outline:3px solid #286c49;outline-offset:3px}
.gs-tectonic-map-wrap{overflow:hidden;border:1px solid #cbdce8;border-radius:16px;background:#dcecf8}.gs-tectonic-map{display:block;width:100%;height:auto;min-height:260px}
.plate-shape{fill:#ead0ad;stroke:#b79d7f;stroke-width:3}.plate-labels{fill:#725b45;font:700 16px Cairo,sans-serif;text-anchor:middle}.plate-boundary{fill:none;stroke:#e64d43;stroke-width:4;stroke-dasharray:7 6}
.gs-tectonic-legend{display:flex;flex-wrap:wrap;gap:12px 22px;padding:14px 2px;color:#5b7061;font-size:.85rem}.gs-tectonic-legend>span{display:inline-flex;align-items:center;gap:7px}.gs-tectonic-legend i{display:inline-block;width:11px;height:11px;border-radius:50%}.gs-tectonic-legend .volcano-dot{background:#e53935}.gs-tectonic-legend .quake-dot{background:#2454df}.gs-tectonic-legend .boundary-line{width:20px;height:3px;border-radius:0;background:#e64d43}
.gs-tectonic-info{padding:15px 18px;border-radius:14px;background:#eef6ef;border-inline-start:4px solid #5b9a6d;color:#486451;line-height:1.8}.gs-tectonic-info strong{display:block;color:#245b3b;margin-bottom:4px}.gs-tectonic-info p{margin:0}.gs-tectonic-note{margin:12px 2px 0;color:#718276;font-size:.78rem;line-height:1.8}.tectonic-layer.is-hidden{display:none!important}
@media(max-width:600px){.gs-tectonic-toggle{flex:1 1 calc(50% - 8px);justify-content:center;padding:8px 9px;font-size:.8rem}.gs-tectonic-map{min-height:190px}.plate-labels{font-size:12px}}

/* Guided tectonic learning challenge */
.gs-tectonic-challenge{margin-top:22px;padding:clamp(15px,2.4vw,24px);border:1px solid #d7e8dc;border-radius:18px;background:linear-gradient(145deg,#f7fbf7,#edf6ef)}
.gs-tectonic-challenge-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.gs-tectonic-challenge-head h3{margin:9px 0 4px;color:#245b3b;font-size:1.15rem}.gs-tectonic-challenge-head p{margin:0;color:#698071;font-size:.88rem}
.gs-tectonic-score{display:grid;place-items:center;min-width:64px;min-height:48px;padding:5px 10px;border-radius:13px;background:#dcefe1;color:#245b3b;font-size:1rem;white-space:nowrap}
.gs-tectonic-question{padding:14px;margin-top:11px;border:1px solid #dce9df;border-radius:14px;background:#fff}
.gs-tectonic-question h4{margin:0 0 12px;color:#294b37;font-size:.94rem;line-height:1.7}
.gs-tectonic-answers{display:flex;flex-wrap:wrap;gap:8px}
.gs-tectonic-answers button{flex:1 1 180px;padding:10px 12px;border:1px solid #d6e4da;border-radius:10px;background:#f7faf7;color:#385743;font:inherit;font-size:.86rem;cursor:pointer}
.gs-tectonic-answers button:hover:not(:disabled){border-color:#6ba77b;background:#edf7ef}
.gs-tectonic-answers button:focus-visible,.gs-tectonic-challenge-footer button:focus-visible{outline:3px solid #286c49;outline-offset:2px}
.gs-tectonic-answers button:disabled{cursor:default;opacity:1}
.gs-tectonic-answers button.is-correct{background:#e1f3e5;border-color:#58a56b;color:#205c35;font-weight:800}
.gs-tectonic-answers button.is-wrong{background:#fff0ed;border-color:#d88778;color:#9b392b}
.gs-tectonic-feedback{min-height:1.5em;margin:8px 0 0;color:#587362;font-size:.82rem}
.gs-tectonic-challenge-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.gs-tectonic-challenge-footer p{margin:0;color:#617969;font-size:.84rem;line-height:1.7}
.gs-tectonic-challenge-footer button{flex:0 0 auto;border:0;border-radius:10px;padding:10px 15px;background:#236b47;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-tectonic-challenge-footer button:hover{background:#174e34}
@media(max-width:600px){.gs-tectonic-challenge-head{align-items:flex-start}.gs-tectonic-answers button{flex-basis:100%}.gs-tectonic-challenge-footer{align-items:stretch;flex-direction:column}.gs-tectonic-challenge-footer button{width:100%}}
@media(prefers-reduced-motion:reduce){.gs-tectonic-answers button{transition:none}}
.gs-dark .gs-tectonic-challenge{background:#1b3024;border-color:#385844}.gs-dark .gs-tectonic-challenge-head h3,.gs-dark .gs-tectonic-question h4{color:#e0f1e4}.gs-dark .gs-tectonic-challenge-head p,.gs-dark .gs-tectonic-challenge-footer p{color:#b5cbbb}.gs-dark .gs-tectonic-question{background:#22392a;border-color:#3c5a44}.gs-dark .gs-tectonic-answers button{background:#294331;border-color:#49694f;color:#e3f1e5}.gs-dark .gs-tectonic-answers button.is-correct{background:#244c31;color:#d9f4df}.gs-dark .gs-tectonic-answers button.is-wrong{background:#542f2b;color:#ffe2dc}

/* Cell model knowledge check */
.gs-cell-quiz{margin-top:22px;padding:clamp(15px,2.4vw,24px);border:1px solid #d7e8dc;border-radius:18px;background:linear-gradient(145deg,#f7fbf7,#edf6ef)}
.gs-cell-quiz-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.gs-cell-quiz-heading h3{margin:9px 0 4px;color:#245b3b;font-size:1.15rem}.gs-cell-quiz-heading p{margin:0;color:#698071;font-size:.88rem}
.gs-cell-quiz-heading>strong{display:grid;place-items:center;min-width:64px;min-height:48px;padding:5px 10px;border-radius:13px;background:#dcefe1;color:#245b3b;font-size:1rem;white-space:nowrap}
.gs-cell-question{padding:14px;margin-top:11px;border:1px solid #dce9df;border-radius:14px;background:#fff}
.gs-cell-question h4{margin:0 0 12px;color:#294b37;font-size:.94rem;line-height:1.7}
.gs-cell-answers{display:flex;flex-wrap:wrap;gap:8px}
.gs-cell-answers button{flex:1 1 180px;padding:10px 12px;border:1px solid #d6e4da;border-radius:10px;background:#f7faf7;color:#385743;font:inherit;font-size:.86rem;cursor:pointer}
.gs-cell-answers button:hover:not(:disabled){border-color:#6ba77b;background:#edf7ef}
.gs-cell-answers button:focus-visible,.gs-cell-quiz-footer button:focus-visible{outline:3px solid #286c49;outline-offset:2px}
.gs-cell-answers button:disabled{cursor:default;opacity:1}
.gs-cell-answers button.is-correct{background:#e1f3e5;border-color:#58a56b;color:#205c35;font-weight:800}
.gs-cell-answers button.is-wrong{background:#fff0ed;border-color:#d88778;color:#9b392b}
.gs-cell-question>p{min-height:1.5em;margin:8px 0 0;color:#587362;font-size:.82rem}
.gs-cell-quiz-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.gs-cell-quiz-footer p{margin:0;color:#617969;font-size:.84rem;line-height:1.7}
.gs-cell-quiz-footer button{flex:0 0 auto;border:0;border-radius:10px;padding:10px 15px;background:#236b47;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-cell-quiz-footer button:hover{background:#174e34}
@media(max-width:600px){.gs-cell-quiz-heading{align-items:flex-start}.gs-cell-answers button{flex-basis:100%}.gs-cell-quiz-footer{align-items:stretch;flex-direction:column}.gs-cell-quiz-footer button{width:100%}}
.gs-dark .gs-cell-quiz{background:#1b3024;border-color:#385844}.gs-dark .gs-cell-quiz-heading h3,.gs-dark .gs-cell-question h4{color:#e0f1e4}.gs-dark .gs-cell-quiz-heading p,.gs-dark .gs-cell-quiz-footer p{color:#b5cbbb}.gs-dark .gs-cell-question{background:#22392a;border-color:#3c5a44}.gs-dark .gs-cell-answers button{background:#294331;border-color:#49694f;color:#e3f1e5}.gs-dark .gs-cell-answers button.is-correct{background:#244c31;color:#d9f4df}.gs-dark .gs-cell-answers button.is-wrong{background:#542f2b;color:#ffe2dc}

/* Three-factor photosynthesis model outputs */
.gs-photo-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
.gs-photo-products>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 10px;padding:12px;border:1px solid #d8e9dc;border-radius:13px;background:#f3f9f4}
.gs-photo-products>div>span{grid-row:span 2;font-size:1.45rem}
.gs-photo-products strong{font-size:.82rem;color:#496653}
.gs-photo-products b{font-size:.9rem;color:#24633f}
.gs-dark .gs-photo-products>div{background:#20392a;border-color:#3b5c45}
.gs-dark .gs-photo-products strong{color:#c5d9ca}.gs-dark .gs-photo-products b{color:#9cddb0}
@media(max-width:520px){.gs-photo-products{grid-template-columns:1fr}}

/* Live genotype probability distribution */
.gs-genetics-distribution{margin:16px 0;padding:16px;border:1px solid #d8e8dc;border-radius:15px;background:#f5faf6}
.gs-genetics-distribution h3{margin:0 0 13px;color:#28583a;font-size:1rem}
.gs-genetics-bar-row{display:grid;grid-template-columns:34px minmax(0,1fr) 48px;align-items:center;gap:10px;margin:10px 0}
.gs-genetics-bar-row>span{font-weight:800;color:#365b42}
.gs-genetics-track{height:13px;overflow:hidden;border-radius:20px;background:#e2ebe4}
.gs-genetics-track>span{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#398454,#83c89a);transition:width .2s ease}
.gs-genetics-bar-row strong{text-align:end;color:#28583a;font-variant-numeric:tabular-nums}
.gs-genetics-distribution>p{margin:12px 0 0;color:#627969;font-size:.82rem;line-height:1.7}
.gs-dark .gs-genetics-distribution{background:#1d3325;border-color:#3b5a43}
.gs-dark .gs-genetics-distribution h3,.gs-dark .gs-genetics-bar-row>span,.gs-dark .gs-genetics-bar-row strong{color:#d8eddd}
.gs-dark .gs-genetics-track{background:#354b3a}.gs-dark .gs-genetics-distribution>p{color:#b8cbbd}
@media(prefers-reduced-motion:reduce){.gs-genetics-track>span{transition:none}}


/* Ecosystem knowledge-check quiz */
.gs-eco-quiz{margin-top:22px;padding:clamp(16px,3vw,25px);background:#fff;border:1px solid #e0ebe3;border-radius:20px;box-shadow:0 10px 26px #214f380b}
.gs-eco-quiz-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.gs-eco-quiz-head h3{color:#28573b;margin:.55rem 0;font-size:1.2rem}
.gs-eco-quiz-head p,.gs-eco-quiz-footer p{color:#65796b;line-height:1.8;margin:0}
.gs-eco-quiz-head>strong{flex:0 0 auto;padding:10px 14px;border-radius:12px;background:#eaf5eb;color:#286343;font-size:1.1rem}
.gs-eco-question{padding:15px 0;border-top:1px solid #e7eee8}
.gs-eco-question h4{color:#345d43;line-height:1.8;margin:0 0 12px}
.gs-eco-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.gs-eco-answers button{border:1px solid #dce9df;border-radius:12px;padding:11px;background:#f7fbf8;color:#315d42;font:inherit;font-weight:700;cursor:pointer}
.gs-eco-answers button:disabled{cursor:default;opacity:1}
.gs-eco-answers button.is-correct{background:#e2f4e6;border-color:#75b783;color:#22643a}
.gs-eco-answers button.is-wrong{background:#fff0e9;border-color:#d89b83;color:#934d35}
.gs-eco-answers button:focus-visible,.gs-eco-quiz-footer button:focus-visible{outline:3px solid #276e49;outline-offset:3px}
.gs-eco-question>p{min-height:24px;margin:8px 0 0;color:#52745e;font-weight:700}
.gs-eco-quiz-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;border-top:1px solid #e7eee8}
.gs-eco-quiz-footer button{border:0;border-radius:11px;padding:11px 16px;background:#236b48;color:#fff;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
@media(max-width:650px){.gs-eco-answers{grid-template-columns:1fr}.gs-eco-quiz-footer{align-items:stretch;flex-direction:column}.gs-eco-quiz-footer button{width:100%}}
@media(prefers-reduced-motion:reduce){.gs-eco-quiz *{scroll-behavior:auto}}

/* Accessible ecosystem population scenario controls */
.gs-population-simulator{margin:18px 0;padding:18px;border:1px solid #dceade;border-radius:18px;background:linear-gradient(145deg,#f5fbf5,#fff)}
.gs-population-heading h3{margin:0 0 6px;color:#28573b}
.gs-population-heading p{margin:0 0 16px;color:#65796b;line-height:1.8}
.gs-population-controls{display:grid;gap:8px}
.gs-population-controls label{display:flex;justify-content:space-between;gap:12px;color:#315d42;font-weight:750}
.gs-population-controls output{font-variant-numeric:tabular-nums;color:#236b48}
.gs-population-controls input{width:100%;accent-color:#278253;margin:0 0 10px;cursor:pointer}
.gs-population-controls input:focus-visible,.gs-population-simulator button:focus-visible{outline:3px solid #276e49;outline-offset:3px}
.gs-population-feedback{margin:8px 0 14px;padding:13px;border-radius:12px;background:#e7f3e9;color:#28573b;line-height:1.8;font-weight:700}
.gs-population-simulator>button{border:0;border-radius:11px;padding:10px 15px;background:#236b48;color:#fff;font:inherit;font-weight:750;cursor:pointer}
@media(prefers-reduced-motion:reduce){.gs-population-simulator *{scroll-behavior:auto}}
@media(prefers-color-scheme:dark){.gs-population-simulator{background:#17271e;border-color:#345641}.gs-population-heading h3,.gs-population-controls label,.gs-population-feedback{color:#d5ebd9}.gs-population-heading p{color:#b2c9b8}.gs-population-feedback{background:#203d2c}}


/* Interactive pollution pressure and remediation simulator */
.gs-pollution-simulator{margin:22px 0;padding:clamp(16px,2.8vw,24px);border:1px solid #d5e7d9;border-radius:19px;background:linear-gradient(145deg,#f2f9f3,#fff)}
.gs-pollution-sim-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.gs-pollution-sim-heading>span{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px;background:#e1f0e4;font-size:1.6rem}
.gs-pollution-sim-heading h3{margin:0 0 5px;color:#28583a}
.gs-pollution-sim-heading p{margin:0;color:#63796a;line-height:1.8}
.gs-pollution-sim-controls{display:grid;gap:8px;margin:16px 0}
.gs-pollution-sim-controls label{display:flex;justify-content:space-between;gap:12px;color:#315d42;font-weight:750}
.gs-pollution-sim-controls output{color:#236b48;font-variant-numeric:tabular-nums}
.gs-pollution-sim-controls input{width:100%;margin:0 0 12px;accent-color:#278253;cursor:pointer}
.gs-pollution-sim-controls input:focus-visible,.gs-pollution-simulator button:focus-visible{outline:3px solid #276e49;outline-offset:3px}
.gs-pollution-sim-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}
.gs-pollution-sim-results>div{display:grid;gap:6px;padding:14px;border:1px solid #d8e8dc;border-radius:13px;background:#fff}
.gs-pollution-sim-results span{color:#62796a;font-size:.82rem;line-height:1.6}
.gs-pollution-sim-results strong{color:#236b48;font-size:1.4rem;font-variant-numeric:tabular-nums}
.gs-pollution-sim-feedback{min-height:65px;margin:12px 0;padding:13px 15px;border-inline-start:4px solid #67956c;border-radius:10px;background:#eaf5ec;color:#365f43;line-height:1.85;font-weight:700}
.gs-pollution-simulator>button{border:0;border-radius:11px;padding:10px 15px;background:#236b48;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-pollution-simulator>small{display:block;margin-top:12px;color:#738276;line-height:1.7}
@media(max-width:560px){.gs-pollution-sim-results{grid-template-columns:1fr}.gs-pollution-sim-heading>span{flex-basis:40px;height:40px}}
.gs-dark .gs-pollution-simulator{background:#1b3024;border-color:#385844}
.gs-dark .gs-pollution-sim-heading h3,.gs-dark .gs-pollution-sim-controls label,.gs-dark .gs-pollution-sim-results strong{color:#d9eddd}
.gs-dark .gs-pollution-sim-heading p,.gs-dark .gs-pollution-sim-results span,.gs-dark .gs-pollution-simulator>small{color:#b5cbbb}
.gs-dark .gs-pollution-sim-results>div{background:#22392a;border-color:#3c5a44}
.gs-dark .gs-pollution-sim-feedback{background:#203d2c;color:#d5ebd9}
@media(prefers-reduced-motion:reduce){.gs-pollution-simulator *{scroll-behavior:auto}}


/* Water cycle knowledge check */
.gs-watercycle-quiz{margin:22px 0 8px;padding:clamp(16px,2.8vw,24px);border:1px solid #d7e6ec;border-radius:19px;background:linear-gradient(145deg,#f1f8fb,#fff)}
.gs-watercycle-quiz-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}
.gs-watercycle-quiz-head>span{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;background:#e1eff5;font-size:1.5rem}
.gs-watercycle-quiz-head h3{margin:0 0 5px;color:#28586a}
.gs-watercycle-quiz-head p{margin:0;color:#647985;line-height:1.8}
.gs-watercycle-question{margin:13px 0;padding:15px;border:1px solid #dce8ed;border-radius:14px;background:#fff}
.gs-watercycle-question h4{margin:0 0 12px;color:#315b69;line-height:1.7}
.gs-watercycle-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.gs-watercycle-options button{min-height:46px;padding:9px 12px;border:1px solid #d5e4e9;border-radius:11px;background:#f7fbfc;color:#315b69;font:inherit;cursor:pointer}
.gs-watercycle-options button:disabled{cursor:default;opacity:.82}
.gs-watercycle-options button.is-correct,.gs-watercycle-options button.is-answer{border-color:#38845a;background:#e6f4e9;color:#245c39;font-weight:800}
.gs-watercycle-options button.is-incorrect{border-color:#c47a65;background:#fbefeb;color:#854633}
.gs-watercycle-options button:focus-visible,.gs-watercycle-quiz-footer button:focus-visible{outline:3px solid #36758c;outline-offset:3px}
.gs-watercycle-answer{min-height:1.6em;margin:10px 0 0;color:#496b78;line-height:1.75}
.gs-watercycle-quiz-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}
.gs-watercycle-quiz-footer strong{color:#28586a;font-size:1.05rem}
.gs-watercycle-quiz-footer button{padding:10px 15px;border:0;border-radius:11px;background:#28677d;color:#fff;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:650px){.gs-watercycle-options{grid-template-columns:1fr}.gs-watercycle-quiz-footer{align-items:stretch;flex-direction:column}}
.gs-dark .gs-watercycle-quiz{background:#1b2d35;border-color:#38515c}
.gs-dark .gs-watercycle-quiz-head h3,.gs-dark .gs-watercycle-question h4,.gs-dark .gs-watercycle-quiz-footer strong{color:#d7edf5}
.gs-dark .gs-watercycle-quiz-head p,.gs-dark .gs-watercycle-answer{color:#b5cbd4}
.gs-dark .gs-watercycle-question{background:#223943;border-color:#3a5661}
.gs-dark .gs-watercycle-options button{background:#29434d;border-color:#49636d;color:#e0edf1}
.gs-dark .gs-watercycle-options button.is-correct,.gs-dark .gs-watercycle-options button.is-answer{background:#244b35;border-color:#5b9b70;color:#e1f4e5}
.gs-dark .gs-watercycle-options button.is-incorrect{background:#51352f;border-color:#a86c5a;color:#f8e1d9}


/* Three-question water resource management quiz */
.gs-water-management-quiz{display:grid;gap:14px}
.gs-wm-question{padding:15px;border:1px solid #dce8ed;border-radius:14px;background:#fff}
.gs-wm-question h3{margin:0 0 12px;color:#315b69;line-height:1.75}
.gs-wm-question .gs-quiz-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.gs-wm-question .gs-quiz-options button{min-height:46px;padding:9px 12px;border:1px solid #d5e4e9;border-radius:11px;background:#f7fbfc;color:#315b69;font:inherit;cursor:pointer}
.gs-wm-question .gs-quiz-options button:disabled{cursor:default;opacity:.85}
.gs-wm-question .gs-quiz-options button.is-correct{border-color:#38845a;background:#e6f4e9;color:#245c39;font-weight:800}
.gs-wm-question .gs-quiz-options button.is-wrong{border-color:#c47a65;background:#fbefeb;color:#854633}
.gs-wm-question .gs-quiz-options button:focus-visible,.gs-wm-quiz-footer button:focus-visible{outline:3px solid #36758c;outline-offset:3px}
.gs-wm-feedback{min-height:1.5em;margin:10px 0 0;color:#496b78;line-height:1.75}
.gs-wm-quiz-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px}
.gs-wm-quiz-footer strong{color:#28586a;font-size:1.05rem}
.gs-wm-quiz-footer button{padding:10px 15px;border:0;border-radius:11px;background:#28677d;color:#fff;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:650px){.gs-wm-question .gs-quiz-options{grid-template-columns:1fr}.gs-wm-quiz-footer{align-items:stretch;flex-direction:column}}
.gs-dark .gs-wm-question{background:#223943;border-color:#3a5661}
.gs-dark .gs-wm-question h3,.gs-dark .gs-wm-quiz-footer strong{color:#d7edf5}
.gs-dark .gs-wm-feedback{color:#b5cbd4}
.gs-dark .gs-wm-question .gs-quiz-options button{background:#29434d;border-color:#49636d;color:#e0edf1}
.gs-dark .gs-wm-question .gs-quiz-options button.is-correct{background:#244b35;border-color:#5b9b70;color:#e1f4e5}
.gs-dark .gs-wm-question .gs-quiz-options button.is-wrong{background:#51352f;border-color:#a86c5a;color:#f8e1d9}


/* Biodiversity knowledge-check */
.gs-biodiv-quiz{display:grid;gap:14px;margin-top:20px;padding:18px;border:1px solid #d9e8dc;border-radius:16px;background:#f4faf5}
.gs-biodiv-quiz-heading{display:flex;align-items:center;gap:12px}
.gs-biodiv-quiz-heading>span{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:#e2f0e5;font-size:1.4rem}
.gs-biodiv-quiz-heading h3{margin:0 0 4px;color:#245a3c}
.gs-biodiv-quiz-heading p{margin:0;color:#587465;line-height:1.6}
.gs-biodiv-question{padding:14px;border:1px solid #dce8df;border-radius:13px;background:#fff}
.gs-biodiv-question h4{margin:0 0 11px;color:#315b45;line-height:1.7}
.gs-biodiv-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gs-biodiv-answers button{min-height:46px;padding:9px 11px;border:1px solid #d8e5dc;border-radius:10px;background:#f8fbf8;color:#345d46;font:inherit;line-height:1.5;cursor:pointer}
.gs-biodiv-answers button:disabled{cursor:default;opacity:.9}
.gs-biodiv-answers button.is-correct{border-color:#3b8a59;background:#e3f3e7;color:#205d36;font-weight:800}
.gs-biodiv-answers button.is-wrong{border-color:#c77d68;background:#fbefeb;color:#854936}
.gs-biodiv-answers button:focus-visible,.gs-biodiv-quiz-footer button:focus-visible{outline:3px solid #347b59;outline-offset:3px}
.gs-biodiv-answer-feedback{min-height:1.5em;margin:9px 0 0;color:#4c6b58;line-height:1.65}
.gs-biodiv-quiz-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gs-biodiv-quiz-footer strong{color:#245a3c}
.gs-biodiv-quiz-footer button{padding:10px 15px;border:0;border-radius:10px;background:#287348;color:#fff;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:700px){.gs-biodiv-answers{grid-template-columns:1fr}.gs-biodiv-quiz-footer{align-items:stretch;flex-direction:column}}
.gs-dark .gs-biodiv-quiz{background:#1e3529;border-color:#3d5d49}
.gs-dark .gs-biodiv-quiz-heading h3,.gs-dark .gs-biodiv-quiz-footer strong{color:#d9f0df}
.gs-dark .gs-biodiv-quiz-heading p,.gs-dark .gs-biodiv-answer-feedback{color:#bdd5c4}
.gs-dark .gs-biodiv-question{background:#263c30;border-color:#46614e}
.gs-dark .gs-biodiv-question h4{color:#d8eadc}
.gs-dark .gs-biodiv-answers button{background:#30483a;border-color:#4d6755;color:#e1eee4}
.gs-dark .gs-biodiv-answers button.is-correct{background:#245239;border-color:#5c9d70;color:#e4f5e8}
.gs-dark .gs-biodiv-answers button.is-wrong{background:#533a32;border-color:#a86e5a;color:#f8e3dc}

/* Relative dating knowledge check */
.gs-relative-quiz{display:grid;gap:13px;margin-top:20px;padding:clamp(16px,2.8vw,24px);border:1px solid #dce8df;border-radius:18px;background:linear-gradient(145deg,#f5faf6,#fff)}
.gs-relative-quiz-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.gs-relative-quiz-head h3{margin:7px 0 4px;color:#28583a}.gs-relative-quiz-head p,.gs-relative-quiz-footer p{margin:0;color:#63796a;line-height:1.75}
.gs-relative-quiz-head>strong{flex:0 0 auto;padding:10px 13px;border-radius:12px;background:#e3f1e6;color:#285f3d;white-space:nowrap}
.gs-relative-question{padding:14px;border:1px solid #dce8df;border-radius:13px;background:#fff}
.gs-relative-question h4{margin:0 0 11px;color:#315b45;line-height:1.75}
.gs-relative-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gs-relative-answers button{min-height:45px;padding:9px 11px;border:1px solid #d8e5dc;border-radius:10px;background:#f8fbf8;color:#345d46;font:inherit;line-height:1.5;cursor:pointer}
.gs-relative-answers button:disabled{cursor:default;opacity:1}
.gs-relative-answers button.is-correct{border-color:#3b8a59;background:#e3f3e7;color:#205d36;font-weight:800}
.gs-relative-answers button.is-wrong{border-color:#c77d68;background:#fbefeb;color:#854936}
.gs-relative-answers button:focus-visible,.gs-relative-quiz-footer button:focus-visible{outline:3px solid #347b59;outline-offset:3px}
.gs-relative-question>p{min-height:1.5em;margin:9px 0 0;color:#4c6b58;line-height:1.7}
.gs-relative-quiz-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gs-relative-quiz-footer button{padding:10px 15px;border:0;border-radius:10px;background:#287348;color:#fff;font:inherit;font-weight:800;cursor:pointer}
@media(max-width:700px){.gs-relative-answers{grid-template-columns:1fr}.gs-relative-quiz-footer{align-items:stretch;flex-direction:column}}
.gs-dark .gs-relative-quiz{background:#1e3529;border-color:#3d5d49}.gs-dark .gs-relative-quiz-head h3,.gs-dark .gs-relative-quiz-head>strong{color:#d9f0df}.gs-dark .gs-relative-quiz-head p,.gs-dark .gs-relative-quiz-footer p,.gs-dark .gs-relative-question>p{color:#bdd5c4}.gs-dark .gs-relative-question{background:#263c30;border-color:#46614e}.gs-dark .gs-relative-question h4{color:#d8eadc}.gs-dark .gs-relative-answers button{background:#30483a;border-color:#4d6755;color:#e1eee4}.gs-dark .gs-relative-answers button.is-correct{background:#245239;border-color:#5c9d70;color:#e4f5e8}.gs-dark .gs-relative-answers button.is-wrong{background:#533a32;border-color:#a86e5a;color:#f8e3dc}

/* Guided rock-cycle path builder */
.gs-rock-path-builder{display:grid;gap:15px;margin-top:18px;padding:clamp(15px,2.8vw,22px);border:1px solid #dce8df;border-radius:18px;background:linear-gradient(145deg,#f4faf5,#fff)}
.gs-rock-path-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.gs-rock-path-heading h3{margin:6px 0;color:#28583a}.gs-rock-path-heading p{margin:0;color:#63796a;line-height:1.7}.gs-rock-path-heading>span{font-size:1.8rem}
.gs-rock-path-group{display:grid;gap:8px}.gs-rock-path-group>strong{color:#315b45}.gs-rock-path-options{display:flex;flex-wrap:wrap;gap:8px}
.gs-rock-path-options button{padding:9px 13px;border:1px solid #d8e5dc;border-radius:11px;background:#fff;color:#345d46;font:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.gs-rock-path-options button[aria-pressed="true"]{border-color:#43845a;background:#e3f1e6;color:#205d36;font-weight:800;box-shadow:inset 0 0 0 1px #43845a}
.gs-rock-path-options button:focus-visible{outline:3px solid #347b59;outline-offset:3px}
.gs-rock-path-result{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:13px;background:#eaf4ec;border:1px solid #d0e4d5}.gs-rock-path-result>span{font-size:1.4rem}.gs-rock-path-result strong{display:block;color:#205d36;margin-bottom:4px}.gs-rock-path-result p{margin:0;color:#42644d;line-height:1.7}
.gs-dark .gs-rock-path-builder{background:#1e3529;border-color:#3d5d49}.gs-dark .gs-rock-path-heading h3,.gs-dark .gs-rock-path-group>strong{color:#d9f0df}.gs-dark .gs-rock-path-heading p{color:#bdd5c4}.gs-dark .gs-rock-path-options button{background:#30483a;border-color:#4d6755;color:#e1eee4}.gs-dark .gs-rock-path-options button[aria-pressed="true"]{background:#245239;border-color:#6ca77b;color:#e4f5e8}.gs-dark .gs-rock-path-result{background:#263c30;border-color:#46614e}.gs-dark .gs-rock-path-result strong{color:#d9f0df}.gs-dark .gs-rock-path-result p{color:#bdd5c4}


/* Interactive trophic energy transfer calculator */
.gs-energy-transfer{display:grid;gap:14px;margin:20px 0;padding:clamp(16px,2.8vw,24px);border:1px solid #d9e8dc;border-radius:18px;background:linear-gradient(145deg,#f3faf4,#fff)}
.gs-energy-transfer-heading{display:flex;align-items:flex-start;gap:12px}
.gs-energy-transfer-heading>span{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;background:#e2f0e5;font-size:1.5rem}
.gs-energy-transfer-heading h3{margin:0 0 5px;color:#28583a}
.gs-energy-transfer-heading p{margin:0;color:#63796a;line-height:1.8}
.gs-energy-transfer-controls{display:grid;gap:8px}
.gs-energy-transfer-controls label{display:flex;justify-content:space-between;gap:12px;color:#315d42;font-weight:750}
.gs-energy-transfer-controls output{color:#236b48;font-variant-numeric:tabular-nums}
.gs-energy-transfer-controls input{width:100%;margin:0 0 10px;accent-color:#278253;cursor:pointer}
.gs-energy-transfer-controls input:focus-visible,.gs-energy-transfer button:focus-visible{outline:3px solid #276e49;outline-offset:3px}
.gs-energy-transfer-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gs-energy-transfer-results>div{display:grid;gap:7px;padding:13px;border:1px solid #dce9df;border-radius:13px;background:#fff}
.gs-energy-transfer-results span{color:#56715e;font-weight:700}
.gs-energy-transfer-results strong{color:#285f3d;font-size:1.2rem;font-variant-numeric:tabular-nums}
.gs-energy-transfer-results i{display:block;height:10px;overflow:hidden;border-radius:20px;background:#e5eee7}
.gs-energy-transfer-results i b{display:block;height:100%;min-width:2px;border-radius:20px;background:linear-gradient(90deg,#398454,#83c89a);transition:width .2s ease}
.gs-energy-transfer-feedback{margin:0;padding:12px 14px;border-inline-start:4px solid #5b966b;border-radius:10px;background:#eaf5ec;color:#365f43;line-height:1.8;font-weight:700}
.gs-energy-transfer>button{justify-self:start;padding:10px 15px;border:0;border-radius:11px;background:#236b48;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-energy-transfer>small{color:#718174;line-height:1.75}
@media(max-width:560px){.gs-energy-transfer-results{grid-template-columns:1fr}.gs-energy-transfer-heading>span{flex-basis:40px;height:40px}.gs-energy-transfer-controls label{align-items:flex-start;flex-direction:column;gap:3px}}
.gs-dark .gs-energy-transfer{background:#1e3529;border-color:#3d5d49}
.gs-dark .gs-energy-transfer-heading h3,.gs-dark .gs-energy-transfer-controls label,.gs-dark .gs-energy-transfer-results strong{color:#d9f0df}
.gs-dark .gs-energy-transfer-heading p,.gs-dark .gs-energy-transfer>small{color:#bdd5c4}
.gs-dark .gs-energy-transfer-results>div{background:#263c30;border-color:#46614e}
.gs-dark .gs-energy-transfer-results span{color:#c1d7c7}
.gs-dark .gs-energy-transfer-results i{background:#3a5141}
.gs-dark .gs-energy-transfer-feedback{background:#263c30;color:#d4e9d9}
@media(prefers-reduced-motion:reduce){.gs-energy-transfer-results i b{transition:none}}


.gs-cascade-panel{display:grid;gap:12px;margin-top:14px;padding:18px;border:1px solid #d7e7db;border-radius:17px;background:linear-gradient(145deg,#f4faf5,#fff)}
.gs-cascade-panel h3{margin:0;color:#28583a;font-size:1.05rem}
.gs-cascade-panel>p{margin:0;color:#63796a;line-height:1.75}
.gs-cascade-panel ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;counter-reset:cascade}
.gs-cascade-panel li{position:relative;display:flex;align-items:center;min-height:100px;padding:14px;border:1px solid #dce9df;border-radius:13px;background:#fff;color:#355c40;line-height:1.7;font-weight:650;counter-increment:cascade}
.gs-cascade-panel li:before{content:counter(cascade);display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;margin-inline-end:9px;border-radius:50%;background:#e2f0e5;color:#236b48;font-weight:850}
.gs-cascade-panel li:not(:last-child):after{content:"→";position:absolute;inset-inline-end:-13px;z-index:1;color:#398454;font-size:1.2rem;font-weight:900}
.gs-dark .gs-cascade-panel{background:#1e3529;border-color:#3d5d49}
.gs-dark .gs-cascade-panel h3{color:#d9f0df}
.gs-dark .gs-cascade-panel>p{color:#bdd5c4}
.gs-dark .gs-cascade-panel li{background:#263c30;border-color:#46614e;color:#d4e9d9}
.gs-dark .gs-cascade-panel li:before{background:#365843;color:#e2f4e6}
@media(max-width:700px){.gs-cascade-panel ol{grid-template-columns:1fr}.gs-cascade-panel li{min-height:0}.gs-cascade-panel li:not(:last-child):after{content:"↓";inset-inline-end:50%;top:auto;bottom:-18px}}


.gs-water-allocation{display:grid;gap:12px;margin-top:18px;padding:18px;border:1px solid #d8e8dc;border-radius:17px;background:linear-gradient(145deg,#f2faf4,#fff)}
.gs-water-allocation h3{margin:0;color:#285b3b}
.gs-water-allocation>p{margin:0;line-height:1.75;color:#587161}
.gs-water-allocation-controls{display:grid;gap:8px}
.gs-water-allocation-controls label{display:flex;justify-content:space-between;gap:12px;font-weight:700}
.gs-water-allocation-controls output{font-variant-numeric:tabular-nums;color:#23754b}
.gs-water-allocation-controls input{width:100%;accent-color:#258454}
.gs-water-allocation-total{display:flex;justify-content:space-between;gap:12px;padding:12px;border-radius:12px;background:#e4f2e8;color:#24583a;font-weight:750}
.gs-water-allocation-total strong{font-variant-numeric:tabular-nums}
.gs-water-allocation-total strong.is-over{color:#b42318}
.gs-water-allocation button{justify-self:start;border:0;border-radius:11px;padding:10px 16px;background:#26784b;color:white;font-weight:700;cursor:pointer}
.gs-water-allocation small{color:#718176;line-height:1.6}
.gs-dark .gs-water-allocation{background:#1d3528;border-color:#3b5d47}
.gs-dark .gs-water-allocation h3,.gs-dark .gs-water-allocation>p{color:#d2e8d8}
.gs-dark .gs-water-allocation-total{background:#2b4935;color:#e0f2e4}
.gs-dark .gs-water-allocation small{color:#b2c9b8}


/* Interactive water-quality indicator lab */
.gs-water-quality-lab{display:grid;gap:14px;margin-top:20px;padding:clamp(16px,2.8vw,24px);border:1px solid #d7e7e0;border-radius:18px;background:linear-gradient(145deg,#f1f9f7,#fff)}
.gs-water-quality-heading{display:flex;align-items:flex-start;gap:12px}.gs-water-quality-heading>span{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;background:#dff0eb;font-size:1.5rem}.gs-water-quality-heading h3{margin:0 0 5px;color:#245b4c}.gs-water-quality-heading p{margin:0;color:#617b72;line-height:1.75}
.gs-water-quality-controls{display:grid;gap:12px}.gs-water-quality-controls>div{display:grid;gap:6px;padding:13px;border:1px solid #dceae5;border-radius:13px;background:#fff}.gs-water-quality-controls label{display:flex;justify-content:space-between;gap:12px;color:#315f51;font-weight:750}.gs-water-quality-controls output{color:#23765d;font-variant-numeric:tabular-nums}.gs-water-quality-controls input{width:100%;accent-color:#25866a}.gs-water-quality-controls small,.gs-water-quality-lab>small{color:#71847d;line-height:1.7}
.gs-water-quality-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gs-water-quality-results>div{display:grid;gap:6px;padding:13px;border:1px solid #dceae5;border-radius:12px;background:#fff}.gs-water-quality-results span{color:#617b72}.gs-water-quality-results strong{color:#245b4c;line-height:1.5}.gs-water-quality-feedback{margin:0;padding:13px;border-inline-start:4px solid #4a967d;border-radius:10px;background:#e8f5f0;color:#355f52;line-height:1.85;font-weight:650}.gs-water-quality-lab>button{justify-self:start;padding:10px 15px;border:0;border-radius:10px;background:#28785f;color:#fff;font:inherit;font-weight:800;cursor:pointer}.gs-water-quality-lab button:focus-visible,.gs-water-quality-controls input:focus-visible{outline:3px solid #347d68;outline-offset:3px}
@media(max-width:620px){.gs-water-quality-results{grid-template-columns:1fr}.gs-water-quality-heading>span{flex-basis:40px;height:40px}.gs-water-quality-controls label{align-items:flex-start;flex-direction:column;gap:3px}}
.gs-dark .gs-water-quality-lab{background:#1b332c;border-color:#3b5b50}.gs-dark .gs-water-quality-heading h3,.gs-dark .gs-water-quality-results strong{color:#d8eee5}.gs-dark .gs-water-quality-heading p,.gs-dark .gs-water-quality-controls small,.gs-dark .gs-water-quality-lab>small{color:#b7d0c6}.gs-dark .gs-water-quality-controls>div,.gs-dark .gs-water-quality-results>div{background:#253d35;border-color:#456257}.gs-dark .gs-water-quality-controls label,.gs-dark .gs-water-quality-results span{color:#d0e5dc}.gs-dark .gs-water-quality-feedback{background:#244238;color:#d4eae0}

.gs-water-quality-quiz{display:grid;gap:12px;padding:15px;border:1px solid #d6e7df;border-radius:14px;background:#fff}.gs-water-quality-quiz h4{margin:0;color:#245b4c}.gs-water-quality-quiz fieldset{display:grid;gap:9px;margin:0;padding:12px;border:1px solid #e0ebe6;border-radius:11px}.gs-water-quality-quiz legend{padding:0 5px;color:#315f51;font-weight:800}.gs-water-quality-quiz fieldset label{display:flex;align-items:flex-start;gap:9px;color:#526e63;line-height:1.7;cursor:pointer}.gs-water-quality-quiz input{margin-top:5px;accent-color:#25866a}.gs-water-quality-quiz>button{justify-self:start;padding:10px 15px;border:0;border-radius:10px;background:#28785f;color:#fff;font:inherit;font-weight:800;cursor:pointer}.gs-water-quality-quiz>p{margin:0;padding:11px;border-radius:9px;background:#edf6f2;color:#315f51;line-height:1.7}.gs-dark .gs-water-quality-quiz{background:#253d35;border-color:#456257}.gs-dark .gs-water-quality-quiz h4,.gs-dark .gs-water-quality-quiz legend{color:#d8eee5}.gs-dark .gs-water-quality-quiz fieldset{border-color:#456257}.gs-dark .gs-water-quality-quiz fieldset label{color:#d0e5dc}.gs-dark .gs-water-quality-quiz>p{background:#244238;color:#d4eae0}

/* Interactive water-treatment sequence builder */
.gs-water-treatment{display:grid;gap:13px;margin-top:18px;padding:clamp(15px,2.5vw,22px);border:1px solid #d7e7e0;border-radius:17px;background:linear-gradient(145deg,#f2f9f6,#fff)}
.gs-water-treatment-heading{display:flex;gap:12px;align-items:flex-start}.gs-water-treatment-heading>span{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:#dff0e8;font-size:1.45rem}.gs-water-treatment-heading h3{margin:0 0 5px;color:#245b4c}.gs-water-treatment-heading p{margin:0;color:#617b72;line-height:1.75}
.gs-water-treatment-sequence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gs-water-treatment-sequence span{display:grid;place-items:center;min-height:52px;padding:8px;border:1px dashed #b8cec3;border-radius:10px;background:#f7faf8;color:#71847b;text-align:center;font-weight:700;line-height:1.5}.gs-water-treatment-sequence span.is-current{border:2px solid #3b9677;background:#e5f4ed;color:#245b4c}.gs-water-treatment-sequence span.is-complete{border:1px solid #70ad91;background:#d9eee2;color:#245b4c}
.gs-water-treatment-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gs-water-treatment-choices button{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dceae3;border-radius:11px;background:#fff;color:#315f51;font:inherit;text-align:start;cursor:pointer}.gs-water-treatment-choices button>span{font-size:1.25rem}.gs-water-treatment-choices button.is-next{border-color:#399576;box-shadow:0 0 0 2px #d9eee5}.gs-water-treatment-choices button.is-complete{background:#e6f4ec;color:#356b50}.gs-water-treatment-choices button:disabled{cursor:default;opacity:.85}.gs-water-treatment-choices button:focus-visible,.gs-water-treatment>button:focus-visible{outline:3px solid #347d68;outline-offset:3px}
.gs-water-treatment>p{margin:0;padding:12px;border-radius:10px;background:#e8f5f0;color:#315f51;line-height:1.8}.gs-water-treatment-progress{display:flex;justify-content:space-between;align-items:center;color:#47695a}.gs-water-treatment-progress strong{font-variant-numeric:tabular-nums;color:#24765a}.gs-water-treatment>button{justify-self:start;border:0;border-radius:10px;padding:10px 15px;background:#28785f;color:white;font:inherit;font-weight:800;cursor:pointer}.gs-water-treatment>small{color:#71847d;line-height:1.7}
@media(max-width:620px){.gs-water-treatment-sequence{grid-template-columns:repeat(2,minmax(0,1fr))}.gs-water-treatment-choices{grid-template-columns:1fr}}
.gs-dark .gs-water-treatment{background:#1b332c;border-color:#3b5b50}.gs-dark .gs-water-treatment-heading h3{color:#d8eee5}.gs-dark .gs-water-treatment-heading p,.gs-dark .gs-water-treatment>small{color:#b7d0c6}.gs-dark .gs-water-treatment-sequence span{background:#253d35;border-color:#456257;color:#c4dacf}.gs-dark .gs-water-treatment-sequence span.is-current,.gs-dark .gs-water-treatment-sequence span.is-complete{background:#315541;color:#e0f2e4}.gs-dark .gs-water-treatment-choices button{background:#253d35;border-color:#456257;color:#d0e5dc}.gs-dark .gs-water-treatment-choices button.is-complete{background:#315541}.gs-dark .gs-water-treatment>p{background:#244238;color:#d4eae0}

/* Biodiversity quadrat sampling mini-lab */
.gs-biodiv-sampling{display:grid;gap:13px;margin-top:18px;padding:clamp(15px,2.5vw,22px);border:1px solid #d6e8dc;border-radius:17px;background:linear-gradient(145deg,#f1f8f2,#fff)}
.gs-biodiv-sampling-heading{display:flex;gap:12px;align-items:flex-start}.gs-biodiv-sampling-heading>span{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:#e0f0e2;font-size:1.45rem}.gs-biodiv-sampling-heading h3{margin:0 0 5px;color:#315d3c}.gs-biodiv-sampling-heading p{margin:0;color:#637a68;line-height:1.75}
.gs-biodiv-sampling-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:12px;border:1px solid #dce9dd;border-radius:12px}.gs-biodiv-sampling-options legend{padding:0 7px;color:#42664a;font-weight:800}.gs-biodiv-sampling-options label{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #e1ebe2;border-radius:10px;background:#fff;color:#365b3c;cursor:pointer}.gs-biodiv-sampling-options input{width:18px;height:18px;accent-color:#39845a}.gs-biodiv-sampling-options label>span{font-size:1.2rem}
.gs-biodiv-sampling-result{display:flex;justify-content:space-between;align-items:center;padding:12px;border-radius:10px;background:#e4f2e6;color:#315d3c}.gs-biodiv-sampling-result strong{font-size:1.2rem;font-variant-numeric:tabular-nums}.gs-biodiv-sampling>p{margin:0;color:#42664a;line-height:1.7}.gs-biodiv-sampling>button{justify-self:start;padding:10px 15px;border:0;border-radius:10px;background:#36784b;color:white;font:inherit;font-weight:800;cursor:pointer}.gs-biodiv-sampling>button:focus-visible,.gs-biodiv-sampling-options input:focus-visible{outline:3px solid #36784b;outline-offset:3px}.gs-biodiv-sampling>small{color:#718174;line-height:1.7}
@media(max-width:520px){.gs-biodiv-sampling-options{grid-template-columns:1fr}}
.gs-dark .gs-biodiv-sampling{background:#203429;border-color:#405e48}.gs-dark .gs-biodiv-sampling-heading h3{color:#dceee0}.gs-dark .gs-biodiv-sampling-heading p,.gs-dark .gs-biodiv-sampling>small{color:#bdd0bf}.gs-dark .gs-biodiv-sampling-options{border-color:#49634e}.gs-dark .gs-biodiv-sampling-options legend{color:#d1e4d2}.gs-dark .gs-biodiv-sampling-options label{background:#293f30;border-color:#49634e;color:#e0eee1}.gs-dark .gs-biodiv-sampling-result{background:#304c36;color:#e0eee1}.gs-dark .gs-biodiv-sampling>p{color:#d1e4d2}

/* Interactive food-chain builder */
.gs-food-chain-builder{display:grid;gap:13px;margin:18px 0;padding:clamp(15px,2.5vw,22px);border:1px solid #d6e8dc;border-radius:17px;background:linear-gradient(145deg,#f1f8f2,#fff)}
.gs-food-chain-heading{display:flex;gap:12px;align-items:flex-start}.gs-food-chain-heading>span{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:#e0f0e2;font-size:1.45rem}.gs-food-chain-heading h3{margin:0 0 5px;color:#315d3c}.gs-food-chain-heading p{margin:0;color:#637a68;line-height:1.7}
.gs-food-chain-path{display:grid;gap:7px;padding:12px;border-radius:11px;background:#e4f2e6;color:#315d3c}.gs-food-chain-path>span{font-size:.88rem}.gs-food-chain-path strong{line-height:1.8;overflow-wrap:anywhere}
.gs-food-chain-progress{display:grid;gap:6px;color:#496b50;font-weight:700;font-size:.9rem}.gs-food-chain-progress>div{height:9px;border-radius:20px;background:#dce9de;overflow:hidden}.gs-food-chain-progress i{display:block;width:0;height:100%;border-radius:20px;background:#39845a;transition:width .2s ease}
.gs-food-chain-prompt{margin:0;color:#315d3c;font-weight:800;line-height:1.7}.gs-food-chain-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gs-food-chain-choices button{display:flex;align-items:center;gap:8px;padding:11px;border:1px solid #dce9dd;border-radius:10px;background:#fff;color:#365b3c;font:inherit;font-weight:700;text-align:start;cursor:pointer}.gs-food-chain-choices button:hover:not(:disabled){border-color:#75a981;background:#f0f8f1}.gs-food-chain-choices button:disabled{opacity:.62;cursor:default}.gs-food-chain-choices button.is-selected{border-color:#5d9a69;background:#e4f2e6}
.gs-food-chain-feedback{min-height:2.5em;margin:0;color:#42664a;line-height:1.7}.gs-food-chain-reset{justify-self:start;padding:10px 15px;border:0;border-radius:10px;background:#36784b;color:#fff;font:inherit;font-weight:800;cursor:pointer}.gs-food-chain-builder>small{color:#718174;line-height:1.7}.gs-food-chain-reset:focus-visible,.gs-food-chain-choices button:focus-visible{outline:3px solid #36784b;outline-offset:3px}
@media(max-width:520px){.gs-food-chain-choices{grid-template-columns:1fr}}
.gs-dark .gs-food-chain-builder{background:#203429;border-color:#405e48}.gs-dark .gs-food-chain-heading h3,.gs-dark .gs-food-chain-prompt{color:#dceee0}.gs-dark .gs-food-chain-heading p,.gs-dark .gs-food-chain-builder>small{color:#bdd0bf}.gs-dark .gs-food-chain-path{background:#304c36;color:#e0eee1}.gs-dark .gs-food-chain-progress{color:#d1e4d2}.gs-dark .gs-food-chain-progress>div{background:#3d5843}.gs-dark .gs-food-chain-choices button{background:#293f30;border-color:#49634e;color:#e0eee1}.gs-dark .gs-food-chain-choices button.is-selected{background:#304c36;border-color:#6d9d76}.gs-dark .gs-food-chain-feedback{color:#d1e4d2}


/* Biodiversity abundance and Simpson diversity activity */
.gs-biodiv-abundance{margin-top:22px;padding:clamp(16px,3vw,24px);border:1px solid #dce9df;border-radius:18px;background:#f7faf7}
.gs-abundance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.gs-abundance-grid label{display:grid;gap:9px;padding:13px;border:1px solid #dce9df;border-radius:13px;background:#fff;color:#365d43}
.gs-abundance-grid label span{display:flex;align-items:center;gap:7px}
.gs-abundance-grid input{width:100%;min-width:0;padding:10px;border:1px solid #cbded0;border-radius:9px;background:#fff;color:#244d35;font:inherit;font-weight:800}
.gs-abundance-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.gs-abundance-results>div{display:grid;gap:7px;padding:14px;border-radius:13px;background:#eaf4eb;text-align:center}
.gs-abundance-results span{color:#617968;font-size:.8rem;line-height:1.6}
.gs-abundance-results strong{color:#245e3c;font-size:1.25rem;font-variant-numeric:tabular-nums}
.gs-abundance-bars{display:grid;gap:10px;padding:15px;background:#fff;border:1px solid #e1ebe3;border-radius:13px}
.gs-abundance-bars>div{display:grid;grid-template-columns:minmax(70px,.7fr) minmax(70px,2fr) 35px;align-items:center;gap:10px;color:#536e5b;font-size:.83rem}
.gs-abundance-bars i{height:10px;overflow:hidden;border-radius:99px;background:#e4eee5}
.gs-abundance-bars i b{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#9bcf73,#287c4c);transition:width .2s}
.gs-biodiv-abundance>p{color:#607768;line-height:1.8}
.gs-biodiv-abundance>button{border:0;border-radius:10px;padding:10px 16px;background:#286b47;color:white;font:inherit;font-weight:800;cursor:pointer}
.gs-biodiv-abundance>small{display:block;margin-top:12px;color:#7a8c7e;line-height:1.8}
@media(max-width:650px){.gs-abundance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gs-abundance-results{grid-template-columns:1fr}.gs-abundance-bars>div{grid-template-columns:75px minmax(50px,1fr) 28px;gap:7px}}
@media(prefers-reduced-motion:reduce){.gs-abundance-bars i b{transition:none}}


/* Interactive mitosis sequence */
.gs-mitosis-lab{margin-top:22px;padding:clamp(16px,3vw,24px);border:1px solid #dce7f1;border-radius:18px;background:#f6f9fd}
.gs-mitosis-heading{display:flex;align-items:flex-start;gap:12px}
.gs-mitosis-heading>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#e5eefb;font-size:1.45rem}
.gs-mitosis-heading h3{margin:0 0 6px;color:#294b72}
.gs-mitosis-heading p,.gs-mitosis-lab small{color:#687c92;line-height:1.8}
.gs-mitosis-interphase{display:grid;gap:5px;margin:16px 0;padding:13px 15px;border-inline-start:4px solid #6b9bc9;border-radius:10px;background:#eaf2fb;color:#365d82}
.gs-mitosis-interphase span{font-size:.9rem}
.gs-mitosis-progress{display:grid;gap:8px;margin:16px 0;color:#526d89;font-size:.9rem}
.gs-mitosis-progress>div{height:10px;overflow:hidden;border-radius:99px;background:#dfe8f2}
.gs-mitosis-progress i{display:block;width:0;height:100%;border-radius:99px;background:linear-gradient(90deg,#7ca9d7,#3976b5);transition:width .2s}
.gs-mitosis-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gs-mitosis-choices button{display:flex;align-items:center;gap:9px;min-width:0;padding:12px;border:1px solid #d5e1ee;border-radius:12px;background:#fff;color:#385a7c;font:inherit;font-weight:750;cursor:pointer;text-align:start}
.gs-mitosis-choices button b{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:8px;background:#e9f1fa}
.gs-mitosis-choices button.is-selected{border-color:#7eb58a;background:#eaf5ec;color:#28623c}
.gs-mitosis-choices button.is-mistake{border-color:#d99a9a;background:#fff0f0}
.gs-mitosis-choices button:disabled{cursor:default;opacity:1}
.gs-mitosis-sequence{display:grid;gap:8px;margin:16px 0;padding-inline-start:28px;color:#46627e;line-height:1.7}
.gs-mitosis-feedback{padding:12px 14px;border-radius:10px;background:#e9f1fa;color:#385e84;line-height:1.7}
.gs-mitosis-lab>button{border:0;border-radius:10px;padding:10px 16px;background:#386f9f;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-mitosis-lab>small{display:block;margin-top:12px}
.gs-dark .gs-mitosis-lab{border-color:#34485d;background:#202e3d}
.gs-dark .gs-mitosis-heading h3,.gs-dark .gs-mitosis-choices button{color:#d5e7fa}
.gs-dark .gs-mitosis-heading p,.gs-dark .gs-mitosis-lab small,.gs-dark .gs-mitosis-sequence{color:#aebfd1}
.gs-dark .gs-mitosis-interphase,.gs-dark .gs-mitosis-feedback{background:#2a4057;color:#d5e7fa}
.gs-dark .gs-mitosis-choices button{border-color:#435a70;background:#293b4e}
.gs-dark .gs-mitosis-choices button.is-selected{background:#254735;border-color:#4f9b69}
.gs-dark .gs-mitosis-choices button.is-mistake{background:#4a3034;border-color:#a65d66}
@media(max-width:680px){.gs-mitosis-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.gs-mitosis-progress i{transition:none}}

/* Interactive complementary DNA strand builder */
.gs-dna-lab{padding:clamp(18px,3vw,30px);border:1px solid #d7e6da;border-radius:20px;background:#fff;box-shadow:0 12px 30px #173c2510}
.gs-dna-intro{padding:14px 17px;border-radius:13px;background:#edf6ef;color:#315d3e}
.gs-dna-intro strong{display:block;margin-bottom:5px}
.gs-dna-intro p{margin:0;line-height:1.8}
.gs-dna-strands{display:grid;gap:18px;margin:22px 0}
.gs-dna-strand>span{display:block;margin-bottom:9px;font-weight:800;color:#385c45}
.gs-dna-bases,.gs-dna-selects{display:grid;grid-template-columns:repeat(4,minmax(48px,1fr));gap:10px;max-width:520px}
.gs-dna-bases b,.gs-dna-selects select{display:grid;place-items:center;min-height:54px;border:2px solid #d5e5da;border-radius:12px;background:#f6faf7;color:#245c39;font-size:1.25rem;font-weight:900;text-align:center}
.gs-dna-bases b:nth-child(odd){background:#e9f4ed}
.gs-dna-selects select{width:100%;font:inherit;cursor:pointer}
.gs-dna-actions{display:flex;flex-wrap:wrap;gap:10px}
.gs-dna-actions button{border:0;border-radius:10px;padding:10px 16px;background:#28734a;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-dna-actions button+button{background:#eaf2ec;color:#315d3e}
.gs-dna-feedback{margin:14px 0 0;padding:12px 14px;border-radius:10px;background:#eef5f0;color:#315d3e;line-height:1.8}
.gs-dna-lab>small{display:block;margin-top:12px;color:#617468;line-height:1.8}
.gs-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gs-dark .gs-dna-lab{border-color:#34485d;background:#202e3d}
.gs-dark .gs-dna-intro,.gs-dark .gs-dna-feedback{background:#294333;color:#d5e7da}
.gs-dark .gs-dna-strand>span,.gs-dark .gs-dna-lab>small{color:#c0d2c5}
.gs-dark .gs-dna-bases b,.gs-dark .gs-dna-selects select{border-color:#435a70;background:#293b4e;color:#d5e7fa}
.gs-dark .gs-dna-actions button+button{background:#35483b;color:#d5e7da}
@media(max-width:520px){.gs-dna-bases,.gs-dna-selects{gap:6px}.gs-dna-bases b,.gs-dna-selects select{min-height:48px}}

/* Meiosis versus mitosis classification activity */
.gs-meiosis-lab{margin-top:22px;padding:clamp(16px,3vw,24px);border:1px solid #d8e7dd;border-radius:18px;background:#f5faf6;display:grid;gap:15px}
.gs-meiosis-heading{display:flex;align-items:flex-start;gap:12px}.gs-meiosis-heading>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:#e3f1e7;font-size:1.4rem}.gs-meiosis-heading h3{margin:0 0 6px;color:#285b3e}.gs-meiosis-heading p{margin:0;color:#64796c;line-height:1.8}
.gs-meiosis-key{display:flex;flex-wrap:wrap;gap:10px}.gs-meiosis-key>span{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;background:#e8f2eb;color:#315d40;font-weight:800}.gs-meiosis-key b{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#fff}
.gs-meiosis-questions{display:grid;gap:10px}.gs-meiosis-question{padding:13px;border:1px solid #e0ebe3;border-radius:12px;background:#fff}.gs-meiosis-question p{margin:0 0 10px;color:#344f3d;line-height:1.8;font-weight:700}.gs-meiosis-options{display:flex;gap:8px;flex-wrap:wrap}.gs-meiosis-options button{padding:8px 12px;border:1px solid #d2e2d6;border-radius:9px;background:#f6faf7;color:#315c40;font:inherit;font-weight:750;cursor:pointer}.gs-meiosis-options button:disabled{opacity:1;cursor:default}.gs-meiosis-options button.is-correct{background:#e3f3e6;border-color:#83b992;color:#245c36}.gs-meiosis-options button.is-wrong{background:#fff0ef;border-color:#cf827c;color:#8d322c}.gs-meiosis-question small{display:block;margin-top:9px;color:#52705c;line-height:1.7}
.gs-meiosis-status{display:grid;gap:7px;color:#42664e;font-size:.88rem;font-weight:800}.gs-meiosis-status>div{height:9px;border-radius:99px;background:#e0eae3;overflow:hidden}.gs-meiosis-status i{display:block;width:0;height:100%;border-radius:inherit;background:#39865a;transition:width .2s}
#meiosis-feedback{margin:0;padding:11px 13px;border-radius:10px;background:#e8f2eb;color:#315d40;line-height:1.7;font-weight:750}.gs-meiosis-lab>button{justify-self:start;border:0;border-radius:10px;padding:9px 15px;background:#286b48;color:#fff;font:inherit;font-weight:800;cursor:pointer}.gs-meiosis-lab>small{color:#718477;line-height:1.8}
.gs-dark .gs-meiosis-lab{background:#172b20;border-color:#355a41}.gs-dark .gs-meiosis-heading h3,.gs-dark .gs-meiosis-key>span,.gs-dark .gs-meiosis-status,#meiosis-feedback{color:#d8eddd}.gs-dark .gs-meiosis-heading p,.gs-dark .gs-meiosis-question small,.gs-dark .gs-meiosis-lab>small{color:#b5cbbb}.gs-dark .gs-meiosis-key>span,.gs-dark #meiosis-feedback{background:#254a32}.gs-dark .gs-meiosis-key b,.gs-dark .gs-meiosis-question{background:#20392a;border-color:#45664d}.gs-dark .gs-meiosis-question p{color:#e0f1e3}.gs-dark .gs-meiosis-options button{background:#1d3526;color:#dcefe0;border-color:#45664d}.gs-dark .gs-meiosis-options button.is-correct{background:#285b3c}.gs-dark .gs-meiosis-status>div{background:#314b38}
@media(max-width:520px){.gs-meiosis-options{display:grid;grid-template-columns:1fr 1fr}.gs-meiosis-options button{padding:8px 6px;font-size:.9rem}}

/* DNA transcription and genetic-code activity */
.gs-transcription-card{background:#fff;border:1px solid #e0ebe3;border-radius:23px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 30px #214f380d;display:grid;gap:22px}
.gs-transcription-intro{padding:18px;border-radius:16px;background:#eff7f0;text-align:center;color:#345d43}
.gs-transcription-intro strong,.gs-transcription-codons h3,.gs-transcription-translation h3{color:#28583b}
.gs-transcription-dna{display:flex;justify-content:center;gap:10px;margin:14px 0}
.gs-transcription-dna b{padding:12px 18px;border-radius:11px;background:#dceee0;color:#245d3a;font-size:1.25rem;letter-spacing:.08em}
.gs-transcription-intro p,.gs-transcription-translation p{color:#667b6d;line-height:1.8;margin:8px 0 0}
.gs-transcription-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gs-transcription-grid label{display:grid;gap:8px;text-align:center;color:#55715d;font-weight:800}
.gs-transcription-grid label span{font-size:.8rem}
.gs-transcription-grid select{width:100%;min-width:0;padding:13px 8px;border:1px solid #d3e4d7;border-radius:12px;background:#f7fbf7;color:#28583b;font:inherit;font-weight:800;text-align:center}
.gs-transcription-grid select:disabled{opacity:.8}
.gs-transcription-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.gs-transcription-actions button{border:0;border-radius:12px;padding:11px 18px;background:#286b47;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-transcription-actions button+button{background:#edf4ee;color:#315e40}
#rna-feedback{min-height:28px;color:#52745e;font-weight:800;line-height:1.8}
.gs-protein-chain{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.gs-protein-chain span{padding:14px 6px;border-radius:12px;text-align:center;background:#f0f6f1;color:#56705d;font-weight:800;overflow-wrap:anywhere}
.gs-protein-chain span.is-amino{background:#e1f2e4;color:#28623c}
.gs-protein-chain span.is-stop{background:#fff0d9;color:#8a5a20}
.gs-transcription-card>small{color:#77877c;line-height:1.9}
@media(max-width:560px){.gs-transcription-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gs-transcription-dna{gap:6px}.gs-transcription-dna b{padding:10px 12px}.gs-protein-chain{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Enzyme-substrate matching activity */
.gs-enzyme-card{display:grid;gap:18px;padding:clamp(16px,3vw,28px);border:1px solid #deeadf;border-radius:23px;background:#fff;box-shadow:0 12px 30px #214f380d}
.gs-enzyme-intro{display:flex;align-items:center;gap:14px;padding:17px;border-radius:16px;background:#eff7f0;color:#315d40}
.gs-enzyme-intro>span{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:14px;background:#dceee0;font-size:1.6rem}
.gs-enzyme-intro strong{font-size:1.05rem}
.gs-enzyme-intro p{margin:6px 0 0;line-height:1.8;color:#607969}
.gs-enzyme-progress>span{display:block;margin-bottom:9px;color:#456b50;font-weight:800}
.gs-enzyme-progress>div{height:9px;border-radius:20px;background:#e8efe9;overflow:hidden}
.gs-enzyme-progress i{display:block;width:0;height:100%;border-radius:20px;background:linear-gradient(90deg,#2b7048,#7cbd75);transition:width .25s}
.gs-enzyme-question{padding:20px;border:1px solid #e5eee6;border-radius:17px;background:#fbfdfb}
.gs-enzyme-question h3{margin:9px 0;color:#28583b;font-size:1.35rem}
.gs-enzyme-question>p{color:#61766a;line-height:1.8}
.gs-enzyme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.gs-enzyme-options button{padding:14px;border:1px solid #d5e4d8;border-radius:12px;background:#f3f8f3;color:#315d40;font:inherit;font-weight:800;cursor:pointer;transition:background .2s,border-color .2s}
.gs-enzyme-options button:hover{border-color:#78aa82;background:#eaf5eb}
.gs-enzyme-options button.is-wrong{border-color:#d99a8e;background:#fff0ed;color:#9a4033}
.gs-enzyme-options button.is-correct{border-color:#70aa7c;background:#e1f3e4;color:#245b35}
#enzyme-feedback{min-height:48px;margin:12px 0 0;padding:12px;border-radius:11px;background:#eef6ef;color:#3c6748;font-weight:700;line-height:1.8}
.gs-enzyme-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#67806d;font-weight:700}
.gs-enzyme-footer button{border:0;border-radius:11px;padding:10px 16px;background:#286b47;color:white;font:inherit;font-weight:800;cursor:pointer}
.gs-enzyme-card>small{color:#78877c;line-height:1.9}
.gs-dark .gs-enzyme-card{background:#17291d;border-color:#3b5942}
.gs-dark .gs-enzyme-intro,.gs-dark .gs-enzyme-question,.gs-dark #enzyme-feedback{background:#203a29;color:#d9ecdd}
.gs-dark .gs-enzyme-intro p,.gs-dark .gs-enzyme-question>p,.gs-dark .gs-enzyme-footer,.gs-dark .gs-enzyme-card>small{color:#b7cbbb}
.gs-dark .gs-enzyme-question{border-color:#405d47}
.gs-dark .gs-enzyme-question h3{color:#d9ecdd}
.gs-dark .gs-enzyme-options button{background:#1d3526;color:#dcefe0;border-color:#45664d}
.gs-dark .gs-enzyme-options button.is-wrong{background:#512d2b;color:#ffe0d9}
.gs-dark .gs-enzyme-options button.is-correct{background:#285b3c;color:#e1f3e4}
.gs-dark .gs-enzyme-progress>div{background:#314b38}
@media(max-width:540px){.gs-enzyme-options{grid-template-columns:1fr}.gs-enzyme-footer{align-items:flex-start;flex-direction:column}}

/* Enzyme environmental-factor simulator */
.gs-enzyme-factors-card{display:grid;gap:20px;padding:clamp(16px,3vw,28px);border:1px solid #deeadf;border-radius:23px;background:#fff;box-shadow:0 12px 30px #214f380d}
.gs-enzyme-factors-note{padding:17px;border-radius:15px;background:#eff7f0;color:#315d40}
.gs-enzyme-factors-note p{margin:7px 0 0;color:#627969;line-height:1.85}
.gs-enzyme-factor-controls{display:grid;gap:9px}
.gs-enzyme-factor-controls label{display:flex;justify-content:space-between;gap:12px;color:#315d40;font-weight:800}
.gs-enzyme-factor-controls label strong{color:#267047;font-variant-numeric:tabular-nums}
.gs-enzyme-factor-controls input[type=range]{width:100%;accent-color:#31804e;cursor:pointer}
.gs-enzyme-range-labels{display:flex;justify-content:space-between;color:#829187;font-size:.82rem}
.gs-enzyme-factor-result{padding:18px;border:1px solid #e2ece3;border-radius:16px;background:#fbfdfb}
.gs-enzyme-factor-result>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#486a51;font-weight:800}
.gs-enzyme-factor-result>div:first-child strong{font-size:1.5rem;color:#267047;font-variant-numeric:tabular-nums}
.gs-enzyme-factor-meter{height:15px;margin:14px 0;border-radius:20px;background:#e7eee8;overflow:hidden}
.gs-enzyme-factor-meter i{display:block;width:100%;height:100%;border-radius:20px;background:linear-gradient(90deg,#d9ad55,#73b87b);transition:width .2s}
#enzyme-factor-explanation{margin:0;color:#56725d;line-height:1.85}
#enzyme-factors-reset{justify-self:start;border:0;border-radius:12px;padding:11px 18px;background:#286b47;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.gs-enzyme-factors-card>small{color:#78877c;line-height:1.9}
.gs-dark .gs-enzyme-factors-card{background:#17291d;border-color:#3b5942}
.gs-dark .gs-enzyme-factors-note,.gs-dark .gs-enzyme-factor-result{background:#203a29;border-color:#405d47;color:#d9ecdd}
.gs-dark .gs-enzyme-factors-note p,.gs-dark #enzyme-factor-explanation,.gs-dark .gs-enzyme-factors-card>small{color:#b7cbbb}
.gs-dark .gs-enzyme-factor-controls label{color:#d9ecdd}
.gs-dark .gs-enzyme-factor-controls label strong,.gs-dark .gs-enzyme-factor-result>div:first-child strong{color:#9bd3a4}
.gs-dark .gs-enzyme-factor-result>div:first-child{color:#d9ecdd}
.gs-dark .gs-enzyme-factor-meter{background:#314b38}
@media(max-width:540px){.gs-enzyme-factor-result>div:first-child{align-items:flex-start;flex-direction:column}}
\n
/* Interactive digestive journey */
.gs-digestive-card{background:#fff;border:1px solid #dce9de;border-radius:22px;padding:clamp(16px,3vw,28px);box-shadow:0 12px 32px #183c2410}
.gs-digestive-progress{display:flex;justify-content:space-between;gap:12px;font-weight:800;color:#285b3b}
.gs-digestive-track{height:9px;background:#e8f0e9;border-radius:99px;overflow:hidden;margin:12px 0 22px}
.gs-digestive-track>div{height:100%;width:0;background:linear-gradient(90deg,#2d8050,#8acb78);border-radius:inherit;transition:width .25s}
.gs-digestive-question{padding:18px;border-radius:16px;background:#f1f7f1;margin-bottom:18px}
.gs-digestive-question h3{margin:0 0 7px;color:#214d32}
.gs-digestive-question p{margin:0;color:#58715e}
.gs-digestive-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}
.gs-digestive-options button,.gs-digestive-actions button{border:1px solid #cfe0d1;border-radius:13px;padding:13px 15px;background:#f8fbf8;color:#285b3b;font:inherit;font-weight:800;cursor:pointer;transition:.2s}
.gs-digestive-options button:hover:not(:disabled){background:#eaf5eb;border-color:#6fa77a}
.gs-digestive-options button:disabled{cursor:default;opacity:.8}
.gs-digestive-options button.is-correct{background:#e0f3e4;border-color:#4a9a5c;color:#205b30}
.gs-digestive-options button.is-wrong{background:#fff0ed;border-color:#d88a7d;color:#8b3328}
.gs-digestive-feedback{margin-top:16px;padding:14px;border-radius:13px;background:#f1f7f1;color:#34563c;line-height:1.8;min-height:52px}
.gs-digestive-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.gs-digestive-actions button:first-child{background:#286b43;color:#fff;border-color:#286b43}
.gs-digestive-actions button:disabled{opacity:.45;cursor:not-allowed}
.gs-digestive-route{display:grid;gap:10px;margin:20px 0 0;padding-inline-start:25px}
.gs-digestive-route li{padding:10px 12px;border-radius:12px;background:#f7faf7}
.gs-digestive-route li strong,.gs-digestive-route li span{display:block}
.gs-digestive-route li span{margin-top:4px;color:#58715e;font-size:.92rem;line-height:1.7}
.gs-dark .gs-digestive-card{background:#17291d;border-color:#3b5942}
.gs-dark .gs-digestive-progress,.gs-dark .gs-digestive-question h3{color:#d9ecdd}
.gs-dark .gs-digestive-track{background:#314b38}
.gs-dark .gs-digestive-question,.gs-dark .gs-digestive-feedback,.gs-dark .gs-digestive-route li{background:#203a29;color:#d9ecdd}
.gs-dark .gs-digestive-question p,.gs-dark .gs-digestive-route li span{color:#b7cbbb}
.gs-dark .gs-digestive-options button{background:#203a29;border-color:#405d47;color:#d9ecdd}
.gs-dark .gs-digestive-options button.is-correct{background:#244b30;border-color:#6dbb7b}
.gs-dark .gs-digestive-options button.is-wrong{background:#512f2b;border-color:#a96a60}
@media(max-width:560px){.gs-digestive-actions{display:grid;grid-template-columns:1fr}.gs-digestive-options{grid-template-columns:1fr 1fr}}
