@font-face{font-family:Nunito;src:url(assets/Nunito-Regular.ttf)}@font-face{font-family:Nunito;src:url(assets/Nunito-Bold.ttf);font-weight:700}
:root{font-family:Nunito,Arial,sans-serif;color:#294b50;--green:#00cf88;--purple:#706080}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{min-height:44px;border:1px solid #aa9abc;border-radius:3px;background:#fff;color:var(--purple);font-weight:700;padding:10px 12px;cursor:pointer}button:hover{background:#edf4df}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #087e70;outline-offset:3px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}.primary{background:var(--green);border-color:var(--green);color:#16493d}.primary:hover{background:#17dfa0}p{line-height:1.5}p,h1,h2,h3{margin:0}.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:700;color:#648088}.brand{font-weight:700;font-size:24px;letter-spacing:-1px;text-decoration:none;color:#246174}.brand span{font-weight:400}.toolbar{display:flex;gap:4px}.toolbar button{border:0;background:transparent;font-size:22px;padding:4px 6px}.cover{background:radial-gradient(ellipse at 35% 30%,#f1f4d5,#c3e2d9);padding:27px 5%;display:flex;flex-direction:column;overflow:hidden}.cover-top{display:flex;justify-content:space-between;align-items:center}.cover-top .eyebrow{font-size:10px}.cover h1{font-size:clamp(38px,4.3vw,70px);line-height:1.13;letter-spacing:-2px;margin-top:40px;z-index:1}.cover h1 em{font-style:normal;color:#6b947e}#cover-art{flex:1;display:grid;place-items:center;min-height:260px;margin:8px -5%}#cover-art svg{width:100%;max-height:48vh}.cover-foot{font-size:17px;color:#608a7e;font-weight:700;padding:13px 0}#welcome{display:grid;grid-template-columns:65% 35%;min-height:100dvh}.welcome-copy{display:flex;flex-direction:column;gap:20px;padding:4vh 9% 28px}.welcome-copy .toolbar{justify-content:flex-end}.welcome-copy h2{font-size:48px;line-height:1.08;letter-spacing:-1px}.welcome-copy p{font-size:18px;color:#728087}.welcome-copy .eyebrow{font-size:12px;color:#9380a3}#intro p+p{margin-top:12px}.grade-select{border:0;padding:0;margin:0}.grade-select legend{font-size:15px;margin-bottom:7px}.grade-select button{display:block;width:100%;text-align:left;margin:7px 0}.grade-select span{display:block;font-size:12px;font-weight:400;margin-top:4px}[data-grade][aria-pressed=true]{background:#e4f3df;border-color:#349058;color:#366e48}#start{margin-top:auto;display:flex;justify-content:space-between}.welcome-copy>small{font-size:12px;color:#7e8c83}
#lab{display:grid;grid-template-columns:minmax(325px,33%) minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{overflow:auto;padding:12px 22px 16px 30px;display:flex;flex-direction:column;background:linear-gradient(90deg,transparent 18px,#eab7c7 19px,transparent 20px),repeating-linear-gradient(#fff 0,#fff 42px,#dce1f3 43px,#fff 44px)}.sidebar-head{display:flex;align-items:center;justify-content:space-between}.sidebar-head .brand{font-size:19px}.help-row{display:flex;justify-content:space-between;margin:7px 0 13px;gap:5px}.help-row button{border:0;background:transparent;font-size:18px;padding:5px}.help-row button:last-child{background:#edf5df;border:1px solid #c9d8ba;padding:5px 13px}.highlight{display:table;font-size:15px;font-weight:700;color:#243934;background:linear-gradient(transparent 15%,#f5ffad 15%,#f5ffad 87%,transparent 87%);padding:0 5px;margin:0 0 9px}.activity-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:18px}.activity-tabs button{font-size:15px;min-height:78px;padding:8px 4px}.activity-tabs small{display:block;font-size:12px;font-weight:400;margin-bottom:5px}.activity-tabs [aria-pressed=true]{background:#148a42;color:white;border-color:#148a42}.instructions{font-size:18px;color:#7a7388;line-height:1.5;margin-bottom:14px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.choices [aria-pressed=true],.part-options [aria-pressed=true],.step-list [aria-pressed=true]{background:#e5f5e5;color:#27754e;border-color:#368b5a}.part-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.part-options button{display:flex;gap:8px;align-items:center;text-align:left;font-size:16px;min-height:57px;padding:9px}.part-dot{flex-shrink:0;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;color:#23494c;font-size:12px;background:var(--dot)}.part-options small{display:block;font-size:12px;font-weight:400}.wide{width:100%;margin-top:12px}.hint{margin:14px 0;padding:12px;border-left:3px solid #aed0a5;background:#eff5e6;font-size:15px;color:#5e8374}.sidebar-bottom{margin-top:auto;padding-top:17px;display:grid;gap:8px}.sidebar-bottom>small{font-size:12px;color:#76857d}.sidebar-bottom #grade-label{border:0;background:transparent;min-height:32px;text-align:left;padding:0;font-size:14px}.workspace{min-width:0;min-height:0;padding:26px 30px 18px;background:radial-gradient(ellipse at 35% 38%,#edf3dc,#cfe9e2);display:flex;flex-direction:column;gap:12px}.stage-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-shrink:0}.stage-header h2{font-size:30px;line-height:1.2;margin:9px 0}.stage-header p:last-child{font-size:17px;color:#648692}.desk-tools{display:flex;gap:8px}.desk-tools button{border:0;border-radius:12px;min-width:48px;height:54px;font-size:28px;color:#9984a6}.workspace #scene{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;position:relative}.source-board{width:100%;aspect-ratio:437/299;overflow:hidden;box-shadow:0 12px 30px #35553b16;border:1px solid #e0d9a3}.source-board iframe{width:100%;height:100%;border:0;display:block;background:#fff0ab}#caption{font-size:13px;text-align:center;color:#678b7b;flex-shrink:0}#playback{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}#playback button{flex:1;font-size:16px}#discovery{padding:16px;background:#ffffffec;border-radius:12px;display:flex;gap:14px;flex-shrink:0}#discovery>button{border:0;background:var(--green);color:#1d5e44;font-size:22px;align-self:flex-start}#discovery h3{font-size:22px;margin-bottom:4px}#discovery p{font-size:17px;color:#65818a}.step-list{display:grid;gap:8px}.step-list button{text-align:left}.step-list button b{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eef1df;margin-right:7px;color:#517d59}.division-art{width:100%;height:100%;max-height:470px}.division-art text{font-family:Nunito,Arial,sans-serif}.slide-view{display:flex;align-items:center;gap:25px;max-width:100%;height:100%;padding:15px}.slide-view img{width:min(49%,340px);aspect-ratio:1;border-radius:50%;border:10px solid #fff;box-shadow:0 8px 25px #46615230;image-rendering:auto}.slide-view h3{font-size:25px;margin:8px 0}.slide-view p{font-size:18px;color:#597e77}.slide-credit{font-size:11px!important;color:#758b82!important;margin-top:16px}.slide-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.slide-buttons button{font-size:14px;text-align:left}.slide-buttons [aria-pressed=true]{background:#e0f1d9;color:#36733f;border-color:#70a067}.slide-buttons button small{display:block;font-weight:400;font-size:11px}
dialog{border:0;border-radius:12px;background:#fffdf4;color:#345357;width:760px;max-width:94vw;max-height:90dvh;padding:23px 30px;box-shadow:0 20px 60px #284d3c33}dialog::backdrop{background:#d8e8e2bc;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head button{border:0;background:transparent;font-size:28px;padding:0 9px}dialog h2{font-size:31px;margin:9px 0 18px}dialog h3{font-size:22px;margin:16px 0 8px}dialog p,dialog li{font-size:19px;color:#687b7c;line-height:1.65;margin-bottom:12px}dialog a{color:#247868}.book-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:17px}.book-tabs button{font-size:14px}.book-tabs [aria-pressed=true]{background:#368563;color:white;border-color:#368563}.book-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.book-controls button{flex:1}table{border-collapse:collapse;width:100%;font-size:17px;margin:16px 0}td,th{padding:10px 12px;text-align:left;border-bottom:1px solid #d8dec9}th{background:#e8f1dd}.part-badge{background:#eef4df;padding:12px 16px;border-left:4px solid var(--dot);margin-bottom:13px;font-weight:700;font-size:21px}.source-links{font-size:13px!important;border-top:1px solid #d7dec9;margin-top:18px;padding-top:14px}.source-links a{margin-right:14px}textarea{width:100%;min-height:130px;font-size:18px;line-height:1.5;padding:12px;border:1px solid #b2a5bd;background:#fff;margin-top:8px}dialog label{font-size:18px;font-weight:700;display:block;margin-top:14px}.saved-row{display:flex;justify-content:space-between;padding:15px;background:#ecf3e4;margin:8px 0;font-size:18px}.quiz-options{display:grid;gap:10px}.quiz-options button{text-align:left;font-size:19px}.feedback{background:#e7f2df;padding:16px;margin-top:14px;border-left:4px solid #669a57}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.large-text .instructions,.large-text .part-options button{font-size:21px}.large-text dialog p,.large-text #discovery p{font-size:22px}
@media(min-width:801px){body.in-lab{overflow:hidden;height:100dvh}}
@media(max-height:760px) and (min-width:801px){.welcome-copy{gap:13px;padding-top:20px}.welcome-copy h2{font-size:40px}.welcome-copy p{font-size:16px}.cover h1{margin-top:24px}.workspace{padding:18px 22px 14px;gap:9px}.stage-header h2{font-size:27px}.stage-header p:last-child{font-size:15px}.stage-header .eyebrow{font-size:11px}.desk-tools button{height:48px;min-width:43px}.help-row{margin-bottom:8px}.activity-tabs{margin-bottom:12px}.activity-tabs button{min-height:67px}.sidebar{padding-top:8px}#discovery{padding:12px}#discovery h3{font-size:20px}#discovery p{font-size:16px}}
@media(max-width:1050px) and (min-width:801px){.cover-top .eyebrow{display:none}.workspace{padding:16px}.stage-header h2{font-size:25px}.sidebar{padding-right:14px}.sidebar-head .brand{font-size:17px}.part-options{grid-template-columns:1fr}.slide-view{flex-direction:column;justify-content:center;gap:12px}.slide-view img{width:min(60%,260px)}.slide-view h3{font-size:21px}.slide-view p{font-size:16px}.slide-credit{display:none}}
@media(max-width:800px){#welcome{grid-template-columns:1fr}.cover{min-height:470px;padding:24px 7%}.cover-top .eyebrow{display:none}.cover h1{font-size:40px;margin-top:28px}#cover-art{min-height:250px}.welcome-copy{padding:28px 7%;gap:18px}#lab{display:flex;flex-direction:column;height:auto;overflow:visible}.workspace{order:-1;height:85dvh;min-height:540px;padding:17px;gap:10px}.stage-header h2{font-size:24px}.stage-header p:last-child{font-size:14px}.stage-header .eyebrow{font-size:10px}.desk-tools{gap:4px}.desk-tools button{min-width:37px;height:42px;font-size:24px}.sidebar{overflow:visible;padding:18px 22px 22px 29px}#playback button{font-size:14px;padding:9px}.part-options button{font-size:15px}.slide-view{flex-direction:column;justify-content:center;gap:8px;padding:0}.slide-view img{width:175px;border-width:6px}.slide-view h3{font-size:20px}.slide-view p{font-size:14px}.slide-credit{display:none}#discovery{padding:12px;gap:10px}#discovery h3{font-size:19px}#discovery p{font-size:15px}dialog{padding:20px}dialog h2{font-size:27px}dialog p,dialog li{font-size:18px}table{font-size:14px}td,th{padding:8px}.cover-foot{font-size:14px}#caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* The numbered selection stays anchored to the source's 437 x 299 artwork. */
.source-board{position:relative}.cell-pin{position:absolute;width:0;height:0;pointer-events:none;z-index:2}.pin-ring{position:absolute;left:-13px;top:-13px;width:26px;height:26px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 3px var(--pin-color),0 2px 8px #233d4880;background:transparent}.cell-pin b{position:absolute;left:11px;top:-34px;min-width:29px;height:29px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:var(--pin-color);color:#193b3b;font-size:16px;box-shadow:0 2px 6px #234d4840}.cell-pin b:after{content:'';position:absolute;left:-7px;bottom:-3px;width:11px;height:3px;background:#fff;transform:rotate(-45deg)}.part-options [aria-pressed=true]{box-shadow:inset 4px 0 #28825d}.part-options .visited>span:last-child:after{content:' ✓';color:#428262;font-size:12px}#discovery{border-left:4px solid var(--part-color,transparent)}
.source-board iframe{background:#faf7d9}.source-board{border-color:#e0dfbb}.journey-art{width:100%;height:100%;max-height:520px}.light-rays{animation:light-flow 1.4s linear infinite}.signal-line{stroke-dasharray:7 4;animation:light-flow 1.1s linear infinite}.hint p{margin-top:7px}.part-options button{min-height:58px}.part-options .visited>span:last-child:after{display:inline;margin-left:5px}#cover-art{min-height:240px}.source-board .cell-pin b{font-size:15px}.large-text #scene{min-height:130px}.large-text .workspace{overflow-y:auto}@keyframes light-flow{to{stroke-dashoffset:-24}}@media(prefers-reduced-motion:reduce){.light-rays,.signal-line{animation:none}}@media(max-width:800px){.journey-art{max-height:340px}} 
.retina-figure{margin:20px 0 25px;padding:18px;background:#fff;border:1px solid #dce6d0;border-radius:8px}.retina-figure iframe{display:block;width:100%;aspect-ratio:172/96;border:0;background:white;pointer-events:none}.retina-figure figcaption{margin:12px auto 0;max-width:580px;text-align:center;font-size:16px;line-height:1.5;color:#587b73}@media(max-width:500px){.retina-figure{padding:8px;margin:16px 0}.retina-figure figcaption{font-size:14px}}
.retina-figure iframe{max-width:540px;margin-inline:auto}
/* Food Chain Explorers */
.cover h1{font-size:clamp(38px,4vw,65px)}.cover-picture{width:90%;aspect-ratio:437/300;position:relative;max-height:49vh;border:8px solid #fff9e9;border-radius:5px;box-shadow:0 15px 30px #47705822;transform:rotate(-2deg)}.cover-picture iframe{width:100%;height:100%;border:0;pointer-events:none}.cover-sticker{position:absolute;right:-15px;bottom:-18px;background:#ffdf6c;color:#53652c;font-size:15px;line-height:1.15;font-weight:700;padding:18px;transform:rotate(8deg);box-shadow:0 4px 9px #294b501c}.source-board{aspect-ratio:437/300;border:4px solid #fff9df;border-radius:3px;box-shadow:0 9px 25px #46603f25}.source-board iframe{background:#cee5c3}.guided-picture iframe{pointer-events:none}.picture-pin{position:absolute;transform:translate(-50%,-50%);width:32px;min-height:32px;height:32px;padding:0;border:2px solid #fff;border-radius:50%;color:#183c2c;background:var(--dot);box-shadow:0 0 0 2px #42634785,0 3px 6px #13332650;font-size:17px;z-index:2}.picture-pin[aria-pressed=true]{background:#fff4a8;outline:4px solid #fff;box-shadow:0 0 0 8px #168052;z-index:3}.part-options button{font-size:18px;min-height:65px}.part-options small{font-size:13px}.habitat-list{display:grid;gap:7px}.habitat-list button{display:flex;align-items:center;gap:10px;text-align:left;font-size:18px}.habitat-list button>span{font-size:25px}.habitat-list small{margin-left:auto;font-size:13px}.habitat-list [aria-pressed=true]{background:#e4f4df;border-color:#28824e;color:#246940}.choices button[aria-pressed=true]{background:#3c7975;color:white}.builder{width:100%;height:100%;min-height:0;border:1px solid #d6ddc5;background:#fffdf3;border-radius:10px;padding:15px;display:flex;flex-direction:column;justify-content:center;gap:10px;box-shadow:0 10px 28px #48694416}.habitat-banner{display:flex;align-items:center;gap:10px;background:var(--habitat);padding:10px 15px;border-radius:5px}.habitat-banner>span:first-child{font-size:37px}.habitat-banner small{font-size:10px;letter-spacing:1px}.habitat-banner h3{font-size:24px;line-height:1.1}.build-progress{margin-left:auto;font-weight:700;font-size:22px}.sun-source{font-size:14px;text-align:center;color:#73835c}.chain-slots{list-style:none;margin:0;padding:0;display:flex;gap:20px}.chain-slots li{min-width:0;flex:1;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:100px;padding:9px 4px;border:2px dashed #c5d3b7;border-radius:5px;color:#798674;text-align:center;font-size:14px}.chain-slots li.filled{background:#e8f2dd;border:2px solid #85b576;color:#35513a}.slot-number{font-size:25px;color:#829b6c}.organism-icon{font-size:60px;line-height:1.1}.chain-arrow{position:absolute;right:-21px;top:40%;font-size:24px;font-weight:700;color:#418559}.choose-label{font-size:16px;font-weight:700}.organism-cards{display:flex;gap:8px}.organism-cards button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;border-color:#d1c398;background:#fff9e4;padding:12px 8px;min-height:126px;font-size:17px;color:#526142}.organism-cards button>span{font-size:68px;line-height:1.15}.organism-cards button>small{font-size:10px}.organism-cards button:disabled{opacity:.45;background:#eef2e5}.build-message{font-size:15px;min-height:24px;color:#765e42}.build-message.complete{font-weight:700;color:#24763e}.web-panel{width:100%;height:100%;display:flex;flex-direction:column;background:#f9fcef;border-radius:10px;padding:10px 12px;box-shadow:0 10px 28px #48694416}.web-key{font-size:15px;color:#6a8053;display:flex;justify-content:space-between;gap:12px}.web-map{flex:1;position:relative;min-height:220px}.web-map svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.web-map line{stroke-width:.65}.web-map .active{stroke:#36875f}.web-map .dim{stroke:#b4c4b6;opacity:.38}.web-node{position:absolute;transform:translate(-50%,-50%);width:105px;min-height:70px;padding:6px 3px;background:#fffef4;border:2px solid #c2d4b5;border-radius:9px;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;font-size:13px;color:#3d6347}.web-node>span{font-size:30px;line-height:1.1}.web-node[aria-pressed=true]{border-color:#20824e;background:#e6f5d7;box-shadow:0 0 0 3px #c3e2b3}.recycler{display:flex;align-items:center;gap:10px;padding:7px 12px;background:#f1e7f4;color:#715a7a;border-color:#d1b6db;font-size:14px}.recycler>span{font-size:29px}.recycler.selected{background:#dfcde8;border:2px solid #946ba5}.reading-chain{padding:15px;background:#e7f1d7;color:#427244}.large-text .builder{overflow:auto;justify-content:flex-start}.large-text .organism-cards button,.large-text .chain-slots li,.large-text .web-node{font-size:18px}.large-text .workspace{overflow-y:auto}#part-count{font-size:14px;color:#60806b}.stage-header h2{font-size:28px}.welcome-copy h2{font-size:43px}.step-list button{font-size:17px}.part-options{grid-template-columns:1fr 1fr}.part-options .visited>span:last-child:after{content:' ✓';color:#428262}
@media(max-height:780px) and (min-width:801px){.builder{padding:10px;gap:7px}.habitat-banner{padding:6px 12px}.habitat-banner>span:first-child{font-size:28px}.habitat-banner h3{font-size:21px}.chain-slots li{min-height:80px;font-size:13px}.organism-icon{font-size:50px}.organism-cards button>span{font-size:56px}.organism-cards button{font-size:16px;padding:10px 6px;min-height:114px}.sun-source{font-size:12px}.choose-label{font-size:14px}.build-message{font-size:13px;line-height:1.3}.stage-header h2{font-size:25px}.web-node{width:88px;min-height:62px;font-size:12px}.web-node>span{font-size:26px}}
@media(max-width:1050px) and (min-width:801px){.part-options{grid-template-columns:1fr}.builder{padding:8px}.chain-slots{gap:14px}.chain-arrow{right:-16px}.web-node{width:72px;font-size:11px}.web-key{font-size:12px}.recycler{font-size:12px}.organism-cards button{font-size:12px}.stage-header h2{font-size:23px}}
@media(max-width:800px){.cover-picture{max-height:none;width:91%}.cover-sticker{font-size:12px;padding:13px}.workspace{height:auto;min-height:610px}#scene{height:340px;min-height:340px;flex:none}.workspace:has(.builder) #scene{height:425px}.workspace:has(.web-panel) #scene{height:360px}.builder{gap:8px;padding:10px}.chain-slots{gap:14px}.chain-arrow{right:-16px}.chain-slots li{min-height:86px;font-size:12px}.organism-icon{font-size:44px}.organism-cards button{font-size:13px;min-height:108px;padding:10px 4px}.organism-cards button>span{font-size:46px}.web-node{width:65px;min-height:60px;font-size:10px}.web-node>span{font-size:25px}.web-key{font-size:11px}.recycler{font-size:11px}.web-panel{padding:8px 5px}.habitat-banner h3{font-size:21px}.build-message{font-size:13px}.sun-source{font-size:12px}.picture-pin{width:27px;height:27px;min-height:27px;font-size:14px}.stage-header h2{font-size:23px}.welcome-copy h2{font-size:40px}}
.cover-picture{width:min(90%,calc(49vh * 437 / 300));max-height:none}.source-board{aspect-ratio:437/300}.part-choice.visited>span:last-child:after{display:none}.part-choice.visited .part-dot:after{content:'✓';position:absolute;font-size:10px;right:-5px;bottom:-5px;background:#fff;border-radius:50%;padding:0 2px}.part-dot{position:relative}@media(min-width:801px){#welcome{height:100dvh;overflow:hidden;min-height:0}#cover-art{min-height:0}}@media(max-width:800px){.cover-picture{width:91%}}
.web-map path.active,.web-map path.dim{stroke-width:.65}.web-node{z-index:1}

.diet-poster{margin:0 0 22px;padding:14px;background:#fff;border:1px solid #d7dfc7;border-radius:5px;text-align:center}.diet-poster iframe{display:block;width:min(100%,calc(57dvh * 197 / 216));aspect-ratio:197/216;height:auto;margin:0 auto;border:0;background:#fff;pointer-events:none}.diet-poster figcaption{font-size:16px;line-height:1.5;color:#607c6e;margin:12px auto 0;max-width:520px}@media(max-width:500px){.diet-poster{padding:8px}.diet-poster figcaption{font-size:14px}}

.science-story{margin-top:20px;padding:17px 16px;background:#fff8de;border:1px solid #e2d8ae;border-left:4px solid #d8b864;border-radius:3px}.science-story .eyebrow{font-size:11px;color:#897644;margin-bottom:6px}.science-story h3{font-size:21px;margin-bottom:9px;color:#416453}.science-story>p:not(.eyebrow){font-size:17px;line-height:1.55;color:#62736c}.science-story>p+p{margin-top:10px}.large-text .science-story>p:not(.eyebrow){font-size:21px}

/* Portable artwork preserves the original 437 by 300 hotspot coordinates. */
.woodland-picture{display:block;width:100%;height:100%;object-fit:fill}.guided-picture .woodland-picture{pointer-events:none}
.diet-poster img{display:block;width:min(100%,calc(57dvh * 197 / 216));aspect-ratio:197/216;height:auto;margin:0 auto;background:white}

.desk-tools .selection-sound{font-size:13px;min-width:88px;padding:8px;color:#245c49;border:1px solid #98c5b4;background:#f7fff9;white-space:nowrap}.desk-tools .selection-sound[aria-pressed=false]{background:#eef2ee;color:#637268}@media(max-width:800px){.desk-tools{flex-wrap:wrap;justify-content:flex-end;max-width:100px}.desk-tools .selection-sound{width:100%;height:34px;min-height:34px}}

/* Keep enlarged organisms readable when the available stage is short. */
.builder{overflow:auto;justify-content:safe center}.builder>*{flex-shrink:0}.organism-cards button b{overflow-wrap:anywhere}

/* Habitat scenery and spatial feeding paths, shared by all five guided chains. */
.workspace:has(.habitat-scene){overflow-y:auto}
.workspace:has(.habitat-scene) #scene{height:auto;flex:none;min-height:0;display:block}
.builder:has(.habitat-scene){height:auto;overflow:visible;justify-content:flex-start}
.habitat-scene{position:relative;isolation:isolate;width:100%;max-width:760px;aspect-ratio:7400/4795;align-self:center;overflow:hidden;border-radius:10px;background:var(--habitat);border:2px solid #fff;box-shadow:0 3px 12px #23443420}
.habitat-background,.habitat-arrows{position:absolute;inset:0;width:100%;height:100%;display:block}
.habitat-background{object-fit:fill}
.habitat-arrows{pointer-events:none;opacity:.9;filter:drop-shadow(0 2px 2px #23443445)}
.scene-heading{position:absolute;left:12px;right:12px;top:10px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;z-index:2}
.scene-heading h3{font-size:clamp(22px,2.8vw,32px);line-height:1.2;color:#183f36;background:#ffffffe6;border-radius:8px;padding:5px 12px}
.scene-heading .build-progress{background:#ffffffe6;border-radius:20px;padding:5px 12px;font-size:17px;color:#214f40}
.habitat-scene .habitat-slots{position:absolute;inset:0;display:block;margin:0;padding:0}
.habitat-scene .habitat-slots li{position:absolute;transform:translate(-50%,-50%);width:21%;min-height:0;padding:0;gap:2px;border:0;background:transparent;color:#214536;text-align:center}
.habitat-slots .question-mark{font-size:clamp(42px,6vw,76px);font-weight:900;line-height:1;color:white;text-shadow:0 3px 2px #254329,2px 0 2px #254329,-2px 0 2px #254329}
.habitat-slots .organism-icon{font-size:clamp(38px,5.5vw,70px);line-height:1.15;filter:drop-shadow(0 3px 2px #163e3655)}
.habitat-slots .slot-label,.habitat-slots b{background:#fffffff0;border-radius:7px;padding:4px 7px;font-size:clamp(11px,1.25vw,15px);font-weight:800;line-height:1.2;box-shadow:0 2px 5px #23443430}
.habitat-slots .next-slot .slot-label{background:#fff1ab;outline:2px solid #e1a725}
@media(max-width:500px){.habitat-scene{border-radius:7px}.scene-heading{left:7px;right:7px;top:6px}.scene-heading h3{font-size:20px;padding:3px 7px}.scene-heading .build-progress{font-size:13px;padding:3px 7px}.habitat-slots b,.habitat-slots .slot-label{font-size:10px;padding:3px 4px}.habitat-slots .question-mark{font-size:40px}.habitat-slots .organism-icon{font-size:36px}}

/* Original pond organisms replace the generic seedling and microbe emoji. */
.organism-cards button>.organism-art{display:block;width:min(100%,148px);height:82px;object-fit:contain;filter:drop-shadow(0 1px 1px #35594066)}
.habitat-slots .organism-art{display:block;width:100%;height:clamp(48px,7vw,84px);object-fit:contain;filter:drop-shadow(0 2px 2px #23443455)}
@media(max-width:800px){.organism-cards button>.organism-art{height:58px}.habitat-slots .organism-art{height:48px}}

/* Anchor pond artwork separately from captions so arrows stay clear of names. */
.habitat-scene--pond .habitat-slots li{width:22%;height:16%;gap:0}
.habitat-scene--pond .habitat-slots .organism-art{width:100%;height:100%;object-fit:contain}
.habitat-scene--pond .habitat-slots .organism-icon{font-size:clamp(34px,5.5vw,70px)}
.habitat-scene--pond .habitat-slots b,.habitat-scene--pond .habitat-slots .slot-label{position:absolute;top:calc(100% + 4px);left:50%;transform:translateX(-50%);width:max-content;max-width:100%;box-sizing:border-box}
.habitat-scene--pond .habitat-slots li:first-child.filled b{top:72%}

/* Keep the original ocean artwork large enough to see its details. */
.habitat-scene--ocean .habitat-slots li{width:24%}
.habitat-scene--ocean .habitat-slots .organism-art{height:clamp(55px,8vw,100px)}
.habitat-scene--ocean .habitat-slots li:last-child{width:30%}

/* Original reference image and hotspots share the same coordinate system at every zoom. */
.workspace:has(.reference-web){overflow-y:auto}
.workspace:has(.reference-web) #scene{height:auto;min-height:0;flex:none;display:block}
.reference-web{width:100%;padding:14px;border:1px solid #c9ddca;border-radius:16px;background:#fff;box-shadow:0 8px 24px #375d3f12}
.reference-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;color:#4b7160}
.reference-tools button{padding:8px 14px;min-height:42px;border-color:#9fc4ac;border-radius:9px;font-size:14px;background:#eff8eb;color:#24573c}
.reference-info{border-left:4px solid #15866f;border-radius:9px;background:#eff7ed;padding:13px 16px;margin-bottom:14px}
.reference-role{display:block;font-size:12px;font-weight:700;color:#4b7462;letter-spacing:.4px}
.reference-info h3{font-size:22px;line-height:1.25;color:#244f3d;margin:4px 0 7px}
.reference-info p{font-size:16px;line-height:1.55;color:#416553;margin:0}
.reference-scroll{overflow:auto;border:1px solid #e3e9df;border-radius:8px;background:white}
.reference-scroll:focus-visible{outline:3px solid #36875f;outline-offset:3px}
.reference-picture{position:relative;width:100%;min-width:680px}
.reference-picture.is-enlarged{width:1400px;min-width:1400px}
.reference-picture>img{display:block;width:100%;height:auto}
.reference-hotspots{position:absolute;inset:0}
.reference-hotspot{position:absolute;transform:translate(-50%,-50%);width:9.2%;height:16.4%;min-height:0;padding:0;background:transparent;border:3px solid transparent;border-radius:50%;cursor:pointer}
.reference-hotspot:hover{background:#ffd94a20;border-color:#e6ad19;box-shadow:0 0 0 3px #fff9}
.reference-hotspot.is-connected{border-color:#f1ad16;box-shadow:0 0 0 3px #ffd44980;background:#ffde4c12}
.reference-hotspot[aria-pressed=true]{border:4px solid #df9410;background:#ffdf531c;box-shadow:0 0 0 4px #ffd54a80}
.reference-hotspot:focus-visible{outline:3px solid #223f71;outline-offset:5px}
.reference-part-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 16px}
.reference-part-list button{font-size:15px;min-height:44px;text-align:left;padding:8px 10px;border-radius:7px}
.reference-part-list [aria-pressed=true]{background:#fff3bb;border-color:#aa8122;color:#394a27;font-weight:700}
.reference-note{font-size:13px;color:#607c6a;line-height:1.5;margin:10px 0 0}
.large-text .reference-info p{font-size:20px}
.meadow-web{background:#fffdf8;border-color:#e0d6e7}
.meadow-web .reference-info{background:#f3edf8;border-left-color:#8b70b4}
.meadow-legend{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;font-weight:700;color:#695481}
.meadow-legend span{display:flex;align-items:center;gap:8px}
.meadow-legend span:before{content:'';width:28px;border-top:3px solid #7661ac}
.meadow-legend .nutrient-key{color:#975372}
.meadow-legend .nutrient-key:before{border-top:3px dashed #ba638f}
.meadow-picture{position:relative;width:100%;min-width:720px;aspect-ratio:1000/850;background:linear-gradient(180deg,#fcfaf5 0%,#f7f3e9 76%,#f4eaf0 76%,#f4eaf0 100%);isolation:isolate}
.meadow-picture.is-enlarged{width:1200px;min-width:1200px}
.meadow-arrows,.meadow-nodes{position:absolute;inset:0;width:100%;height:100%}
.meadow-arrows{pointer-events:none}
.meadow-feeding{fill:none;stroke:#7661ac;stroke-width:4;stroke-linecap:round;transition:opacity .15s}
.meadow-feeding.is-muted{opacity:.12}
.meadow-cycle{fill:none;stroke:#ba638f;stroke-width:3.5;stroke-dasharray:7 7;opacity:.7}
.meadow-cycle.is-active{opacity:1;stroke-width:5}
.meadow-cycle .meadow-remains{stroke-dasharray:none}
.meadow-sunlight{fill:none;stroke:#c5972d;stroke-width:4}
.meadow-node{position:absolute;transform:translate(-50%,-50%);width:15%;height:14.5%;min-height:0;padding:5px 4px;border:2px solid #e2daca;border-radius:16px;background:#fffdf9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;box-shadow:0 4px 0 #46384c0b;color:#45384e;transition:border-color .15s,background .15s}
.meadow-node>svg{width:61%;height:65%;display:block;overflow:visible}
.meadow-node b{font-size:clamp(12px,1.15vw,16px);line-height:1.15}
.meadow-node:hover,.meadow-node.is-connected{background:var(--organism-color);border-color:#b9a8c9}
.meadow-node[aria-pressed=true]{background:var(--organism-color);border-color:#7960a5;box-shadow:0 0 0 4px #b69fc755}
.meadow-node:focus-visible{outline:3px solid #6b4993;outline-offset:4px}
.meadow-section{position:absolute;top:3%;font-size:11px;letter-spacing:1.5px;font-weight:800;color:#8b7c83;pointer-events:none}
.meadow-plants{left:5%}.meadow-eaters{left:31%}.meadow-return{top:78%;left:4%}
.meadow-remains-note{position:absolute;left:79%;top:82%;width:17%;height:12%;display:flex;flex-direction:column;justify-content:center;gap:5px;font-size:14px;line-height:1.25;color:#945f7b}
.meadow-remains-note span{font-size:12px;color:#816c79}
/* Three distinct ways dead material is processed; all contribute to nutrient cycling. */
.meadow-picture{aspect-ratio:1000/1050;background:linear-gradient(180deg,#fcfaf5 0%,#f7f3e9 62%,#f4eaf0 62%,#f4eaf0 100%)}
.meadow-node{height:11.75%}
.meadow-node small{font-size:clamp(10px,.9vw,12px);line-height:1.1;color:#61726e}
.meadow-node:has(small)>svg{height:48%}
.meadow-return{top:63%}
.meadow-remains-note{left:55%;top:66%;width:14%;height:11%;text-align:center;color:#477c81}
.meadow-cycle .meadow-remains{stroke:#4d949a;stroke-dasharray:none}
.meadow-legend .remains-key{color:#477c81}
.meadow-legend .remains-key:before{border-top-color:#4d949a}
@media(max-width:800px){.reference-web{padding:10px}.reference-info{padding:10px 12px}.reference-info h3{font-size:20px}.reference-info p{font-size:15px}.reference-tools{align-items:flex-start}.reference-tools button{flex-shrink:0}}

/* Illustrated food web: stable card sizes and clear paths on a quiet woodland scene. */
.workspace:has(.web-panel){overflow-y:auto}
.workspace:has(.web-panel) #scene{height:auto;min-height:0;flex:none;display:block}
.web-panel{height:auto;padding:14px;border:1px solid #cddfc7;background:#fbfff7;overflow-x:auto;gap:12px}
.web-key{font-size:15px;font-weight:700;color:#3f6549;min-width:650px}
.web-map{flex:none;min-width:650px;height:560px;border-radius:16px;background:linear-gradient(#f5fcf3e6,#eaf4e4df),url('assets/habitats/taiga.svg') center/cover;overflow:hidden}
.web-node{width:16%;height:116px;min-height:116px;padding:8px 5px;gap:4px;border:2px solid #c0d5b7;border-radius:15px;background:#fffffff2;font-size:16px;color:#264f39;box-shadow:0 4px 10px #314d321a;transition:background .15s,box-shadow .15s}
.web-organism{display:block;width:100%;height:72px;object-fit:contain;filter:drop-shadow(0 2px 1px #36533725)}
.web-node b{line-height:1.15}
.web-node:hover{background:#fffce3;border-color:#819d65;box-shadow:0 5px 14px #314d3230}
.web-node[aria-pressed=true]{background:#fff3b7;border-color:#36875f;box-shadow:0 0 0 4px #6baf7940}
.web-node:focus-visible{outline:3px solid #265c3b;outline-offset:4px}
.web-map line,.web-map path.active,.web-map path.dim{stroke-width:.55;stroke-linecap:round}
.recycler{min-width:650px;border-radius:12px;background:#f1ebf5;font-size:15px;padding:10px 14px}
.recycler>img{width:58px;height:44px;object-fit:contain}
@media(max-width:800px){.web-panel{padding:10px}.web-map{height:510px}.web-node{height:108px;min-height:108px;font-size:14px}.web-organism{height:66px}.web-key{font-size:13px}.recycler{font-size:13px}}
.sidebar-head{gap:8px}
.sidebar-head .brand{display:inline-flex;align-items:center;flex:0 1 125px;min-width:80px;line-height:1}
.sidebar-head .brand img{display:block;width:125px;max-width:100%;height:auto;object-fit:contain}
.sidebar-head .toolbar{flex-shrink:0}
.top-speaker,.stage-heading .top-speaker,.dialog-head .top-speaker,.welcome-copy .toolbar .top-speaker{display:inline-flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;min-width:48px;padding:0;border:0;border-radius:6px;background:#00cf88;color:#124c37;font:700 25px Arial,sans-serif;cursor:pointer}
.top-speaker.top-speaker[aria-pressed=true]{background:#087c55;color:#fff}
.top-speaker:focus-visible{outline:3px solid #315c85;outline-offset:3px}
.dialog-head{gap:12px}.dialog-head .eyebrow{flex:1}
.stage-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}
@media(max-width:800px){.stage-heading{gap:8px}.stage-heading .top-speaker{flex-basis:40px;width:40px;min-width:40px;height:40px;font-size:23px}}
.chain-exploration{width:100%;height:100%;position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:24px}
.chain-exploration.has-callout{grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr)}
.chain-picture-space{height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}
.chain-picture-space .guided-picture{position:relative;flex-shrink:0}
.chain-leader{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4;overflow:visible}
.chain-leader path{fill:none;stroke:#203b32;stroke-width:1.5}.chain-leader circle{fill:#203b32}
#chain-callout{position:relative;z-index:5;align-self:center;color:#294b50;box-shadow:0 8px 24px #294b5010}
#chain-callout h3{padding:10px 12px;background:linear-gradient(90deg,var(--callout-color),#f2f6e8);font-size:21px;line-height:1.2}
#chain-callout h3 span{display:block;font-size:16px;font-weight:600;margin-top:5px}
#chain-callout p{padding:12px;background:#ffffffed;font-size:17px;line-height:1.5}
.large-text #chain-callout p{font-size:20px}
@media(max-width:800px){.workspace:has(.chain-exploration.has-callout) #scene{height:610px;min-height:610px}.chain-exploration.has-callout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:22px}#chain-callout p{font-size:16px}#chain-callout h3{font-size:20px}}
.drag-builder .organism-cards button:not(:disabled){cursor:grab;touch-action:none;user-select:none}
.drag-builder .organism-cards button.dragging{opacity:.35;cursor:grabbing}
.drag-builder .habitat-slots .drop-ready{background:#efffd4;outline:4px solid #00ac76;outline-offset:4px}
.food-drag-ghost{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-50%);width:110px;padding:8px;text-align:center;background:#fffdf0;border:2px solid #00a474;border-radius:12px;box-shadow:0 6px 20px #163e3a44;color:#294b50}
.food-drag-ghost .organism-art{display:block;width:90px;height:65px;object-fit:contain}.food-drag-ghost .organism-icon{display:block;font-size:52px}.food-drag-ghost b{display:block;font-size:14px}
.builder.drag-builder{gap:6px;padding:10px}
.drag-builder .habitat-scene{max-width:min(100%,max(330px,calc((100dvh - 410px) * 1.543))) }
.drag-builder .organism-cards button{min-height:90px;padding:6px;gap:3px;font-size:14px}
.drag-builder .organism-cards button>.organism-art{height:52px}
.drag-builder .organism-cards button>.organism-icon{font-size:48px}
.drag-builder .habitat-slots .organism-art{height:48px}
.drag-builder .habitat-slots .organism-icon{font-size:40px}
.drag-builder .habitat-slots .question-mark{font-size:42px}
.drag-builder .scene-heading h3{font-size:21px}
.drag-builder .sun-source{font-size:12px}
.meadow-hotspot-callout{position:absolute;z-index:8;width:min(300px,calc(100% - 24px));background:#fff;color:#294b50;box-shadow:0 7px 24px #294b5033;border:1px solid #d5dfd0;border-radius:4px}
.web-callout-heading{display:flex;align-items:flex-start;gap:6px;background:linear-gradient(90deg,var(--callout-color),#f5f8ef);padding:10px 12px}
.web-callout-heading h3{flex:1;font-size:20px;line-height:1.25}
.web-callout-heading button{padding:0;width:28px;min-height:28px;flex-shrink:0;border:0;background:#ffffffbb;font-size:23px;line-height:1}
.meadow-hotspot-callout p{font-size:16px;line-height:1.5;padding:12px}
.meadow-hotspot-callout .top-speaker{width:40px;min-width:40px;height:36px;min-height:36px;margin:0 12px 12px;font-size:21px;background:#00cf88}
.web-callout-leader{position:absolute;inset:0;width:100%;height:100%;z-index:7;pointer-events:none;overflow:visible}
.web-callout-leader path{fill:none;stroke:#203b32;stroke-width:1.5}.web-callout-leader circle{fill:#203b32}
.large-text .meadow-hotspot-callout p{font-size:20px}
