.science3d-library,.science3d-lab{max-width:980px;margin:0 auto;color:#294039}.science3d-library-intro{display:flex;align-items:center;gap:20px;padding:12px 16px;background:#f6f3e9;border:1px solid #dddccf;border-radius:24px;margin-bottom:20px}.science3d-library-intro img{width:112px;height:112px;object-fit:contain}.science3d-library-intro h2,.science3d-library-intro h3{margin:0 0 6px}.science3d-library-intro p{margin:0;font-size:calc(15px * var(--reading-scale,1));line-height:1.5}.science3d-library label,.science3d-designer label{display:grid;gap:8px;margin-bottom:14px;font-weight:700}.science3d-library select,.science3d-designer select,.science3d-designer input,.science3d-designer textarea,.science3d-control select{min-height:52px;width:100%;padding:10px 12px;border:1px solid #b7c9bd;border-radius:14px;background:#fffdf8;color:#294039;font:inherit}.science3d-designer-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.science3d-mode,.science3d-designer-actions,.science3d-compare{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.science3d-mode button,.science3d-choices button,.science3d-lesson-card,.science3d-topic-card{min-height:56px;border:1px solid #bccdbd;background:#f3f7ec;color:#294039;border-radius:16px;padding:14px;font:inherit;font-weight:700;cursor:pointer}.science3d-mode [aria-pressed=true],.science3d-choices [aria-pressed=true],.science3d-lesson-card[aria-pressed=true]{border:3px solid #406c55;background:#e9f1c9;padding:12px}.science3d-lesson-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:360px;overflow:auto;margin:16px 0;padding:3px}.science3d-lesson-card{text-align:left;display:grid;gap:6px}.science3d-lesson-card span{font-size:14px;line-height:1.5;font-weight:500}.science3d-start-options,.science3d-plan{border:1px solid #d5ded0;border-radius:18px;padding:12px 16px;background:#fffdf8;margin-bottom:16px}.science3d-start-options summary,.science3d-plan summary,.science3d-fine summary,.science3d-explanation summary,.science3d-notes summary,.science3d-theory summary,.science3d-teacher-guide summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:700;line-height:1.5}.science3d-plan ol,.science3d-teacher-guide ol{padding-left:22px;line-height:1.7}.science3d-plan li+li,.science3d-teacher-guide li+li{margin-top:8px}.science3d-plan h4{margin:0 0 10px}.science3d-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.science3d-topic-card{min-height:136px;display:grid;place-content:center;gap:10px;font-size:calc(20px * var(--reading-scale,1));box-shadow:0 5px 0 #d0d9c6;text-align:center;background:linear-gradient(160deg,#f8f6ed,#eaf3df)}.science3d-topic-card:nth-child(3n+2){background:linear-gradient(160deg,#fcf1e9,#f5e2d4)}.science3d-topic-card:nth-child(3n){background:linear-gradient(160deg,#f1eff9,#e9e2f4)}.science3d-topic-card span{font-size:calc(13px * var(--reading-scale,1));font-weight:500}.science3d-library-pages{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.science3d-lab header h2{font-size:calc(24px * var(--reading-scale,1));line-height:1.4;margin:8px 0}.science3d-lab header p{font-size:calc(17px * var(--reading-scale,1));line-height:1.6;margin-bottom:16px}.science3d-eyebrow{font-size:calc(13px * var(--reading-scale,1));color:#567056}.science3d-steps{list-style:none;display:flex;gap:8px;padding:0;margin:18px 0;justify-content:space-between}.science3d-steps li{display:flex;align-items:center;gap:6px;color:#68766b;font-size:calc(13px * var(--reading-scale,1));line-height:1.4}.science3d-steps span{display:grid;place-items:center;background:#edf0e8;border-radius:50%;min-width:28px;height:28px}.science3d-steps [aria-current]{color:#284839;font-weight:800}.science3d-steps [aria-current] span{background:#dcedab}.science3d-scene-wrap{position:relative;border-radius:26px;overflow:hidden;border:1px solid #dce1d2;background:linear-gradient(#f7f6ec,#eaf2e0);margin-bottom:16px}.science3d-scene{width:100%;height:360px;touch-action:none}.science3d-scene canvas{display:block;width:100%;height:100%;outline-offset:-5px}.science3d-scene-status{margin:0 14px 8px;font-size:calc(12px * var(--reading-scale,1));line-height:1.5}.science3d-scene-fallback{padding:24px;line-height:1.6}.science3d-camera-tools{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:0 12px 14px}.science3d-camera-tools button{min-width:48px;min-height:48px;border:1px solid #bdcdbd;border-radius:14px;background:#fffdf8;color:#294039;padding:8px 12px;font:inherit;font-size:calc(15px * var(--reading-scale,1));cursor:pointer}.science3d-result{font-weight:800;background:#eef4e0;border-radius:18px;padding:16px;font-size:calc(19px * var(--reading-scale,1));line-height:1.5}.science3d-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.science3d-control{background:#fffdf8;border:1px solid #d5dece;border-radius:18px;padding:14px;margin:10px 0;min-width:0}.science3d-control>label,.science3d-control>span{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-weight:700;font-size:calc(15px * var(--reading-scale,1));line-height:1.5}.science3d-control output{background:#edf2de;padding:3px 9px;border-radius:10px;font-variant-numeric:tabular-nums}.science3d-number-control{display:flex;align-items:center;gap:8px}.science3d-number-control button{width:48px;min-width:48px;min-height:52px;border:1px solid #b8cbb8;border-radius:14px;background:#edf4db;color:#294039;font-size:24px;cursor:pointer}.science3d-number-control input[type=range]{width:100%;min-width:0;height:52px;accent-color:#537b59;cursor:pointer}.science3d-number-control input[type=range]::-webkit-slider-thumb{width:32px;height:32px}.science3d-fine{grid-column:1/-1;background:#fafbf4;border:1px solid #d5dece;border-radius:16px;padding:0 14px}.science3d-choices{display:grid;gap:10px;margin:14px 0}.science3d-choices button{text-align:left;font-size:calc(16px * var(--reading-scale,1));line-height:1.5}.science3d-predict h3,.science3d-reflect h3,.science3d-theory h3{font-size:calc(19px * var(--reading-scale,1));line-height:1.5}.science3d-predict p,.science3d-theory p,.science3d-reflect p{font-size:calc(15px * var(--reading-scale,1));line-height:1.7}.science3d-main-action{width:100%;min-height:60px;margin:14px 0;font-size:calc(18px * var(--reading-scale,1))}.science3d-reflect label{display:grid;gap:8px;font-size:calc(16px * var(--reading-scale,1));font-weight:700}.science3d-reflect textarea{width:100%;min-height:100px;border:1px solid #b7cbb7;border-radius:16px;background:#fffdf8;padding:14px;font:inherit;font-size:calc(16px * var(--reading-scale,1))}.science3d-explanation,.science3d-notes,.science3d-teacher-guide{border:1px solid #d6dfd0;border-radius:18px;padding:0 16px;margin:14px 0;background:#fffdf8;line-height:1.7;font-size:calc(15px * var(--reading-scale,1))}.science3d-teacher-guide{padding:16px}.science3d-notes article+article{border-top:1px solid #dce3d6;padding-top:10px}.science3d-limits{color:#5f705e;font-size:calc(13px * var(--reading-scale,1))}.science3d-lab button:focus-visible,.science3d-lab input:focus-visible,.science3d-lab select:focus-visible,.science3d-lab summary:focus-visible,.science3d-library button:focus-visible,.science3d-library select:focus-visible{outline:3px solid #294f38;outline-offset:3px}.science3d-lab button:active,.science3d-topic-card:active{transform:translateY(2px)}
@media(max-width:640px){.science3d-topic-grid{grid-template-columns:1fr 1fr}.science3d-scene{height:260px}.science3d-controls{grid-template-columns:1fr;gap:0}.science3d-designer-filters,.science3d-lesson-list{grid-template-columns:1fr}.science3d-library-intro{gap:12px}.science3d-library-intro img{width:84px;height:84px}.science3d-steps{gap:5px}.science3d-steps li{font-size:calc(11px * var(--reading-scale,1));flex-direction:column;text-align:center}.science3d-camera-tools{gap:6px}.science3d-camera-tools button{padding:8px;min-width:46px}.science3d-topic-card{min-height:120px;font-size:calc(18px * var(--reading-scale,1))}}
@media(max-width:360px){.science3d-topic-grid{grid-template-columns:1fr}.science3d-scene{height:230px}.science3d-camera-tools button{font-size:calc(13px * var(--reading-scale,1))}.science3d-library-intro img{width:64px;height:64px}}
html[data-color-mode=contrast] .science3d-topic-card,html[data-color-mode=contrast] .science3d-scene-wrap,html[data-color-mode=contrast] .science3d-result,html[data-color-mode=contrast] .science3d-control,html[data-color-mode=contrast] .science3d-mode button,html[data-color-mode=contrast] .science3d-choices button{background:#fff;color:#172e22;border:2px solid #172e22}html[data-color-mode=contrast] .science3d-choices [aria-pressed=true]{border-width:4px}
html[data-reduced-motion=true] .science3d-lab button:active,html[data-reduced-motion=true] .science3d-topic-card:active{transform:none}@media(prefers-reduced-motion:reduce){.science3d-lab button:active,.science3d-topic-card:active{transform:none}}

.science3d-control-help{font-size:calc(13px * var(--reading-scale,1));line-height:1.5;margin:0 0 8px;color:#52694f}body[data-role="student"] .block--science3d{--block-color:#d2eb67;--block-base:#b4cc5b}

.science3d-topic-card{min-height:180px;padding:10px;gap:6px;align-content:start;font-size:calc(17px * var(--reading-scale,1))}.science3d-topic-card img{display:block;width:100%;height:110px;object-fit:contain;border-radius:12px}.science3d-topic-card b{line-height:1.4}@media(max-width:640px){.science3d-topic-card{min-height:170px;font-size:calc(16px * var(--reading-scale,1))}.science3d-topic-card img{height:94px}}
/* A hands-on play table, with detailed controls one step away. */
body[data-role=student] .science3d-library-intro{background:linear-gradient(125deg,#e7f2cf,#def1f5 70%,#fff0ca);border:0;box-shadow:0 7px 0 #d1ddbd;padding:16px 24px;overflow:hidden}body[data-role=student] .science3d-library-intro img{width:150px;height:130px;filter:drop-shadow(0 9px 5px #52744b20)}body[data-role=student] .science3d-topic-card{border:2px solid #fff;box-shadow:0 7px 0 #c4d6b4,0 15px 24px #243c2910;border-radius:27px;overflow:hidden;padding:16px;transition:transform .18s,box-shadow .18s}body[data-role=student] .science3d-topic-card img{height:150px;background:none;filter:drop-shadow(0 8px 6px #36483325)}body[data-role=student] .science3d-topic-card:hover{transform:translateY(-4px)}body[data-role=student] .science3d-lab{max-width:960px;padding-bottom:30px}body[data-role=student] .science3d-lab header{display:grid;gap:5px;margin:10px 0}body[data-role=student] .science3d-lab header p{margin:0 0 8px;max-width:650px}body[data-role=student] .science3d-scene-wrap{border:2px solid #fff;border-radius:32px;padding:12px;background:radial-gradient(ellipse at 30% 20%,#fff8d6,transparent 52%),linear-gradient(150deg,#d5f0e8,#dcebf5);box-shadow:0 8px 0 #c5d8cd,0 16px 30px #3c624917;overflow:hidden}body[data-role=student] .science3d-scene{height:400px;background:radial-gradient(ellipse at center bottom,#95beaa38,transparent 65%);border-radius:24px}body[data-role=student] .science3d-scene canvas{cursor:grab}.science3d-touch-hint{text-align:center;font-weight:750;color:#315c49;background:#ffffffb5;padding:10px;border-radius:18px;margin:6px 0}.science3d-view-options summary,.science3d-manual-controls summary{cursor:pointer;min-height:48px;padding:12px 16px;font-weight:750}.science3d-view-options{max-width:260px;margin:auto}.science3d-manual-controls{background:#fffdf5;border-radius:22px;border:1px solid #d8e1d3;margin:16px 0}.science3d-lab .science3d-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.science3d-lab .science3d-compare button{min-height:65px;background:#fff1b9;color:#344737;border:2px solid white;border-radius:22px;box-shadow:0 5px 0 #ddcda0;font-weight:800}.science3d-lab .science3d-compare button:nth-child(2){background:#dbedc1;box-shadow:0 5px 0 #bdcea9}.science3d-lab .science3d-compare button:nth-child(3){background:#e1d8f4;box-shadow:0 5px 0 #c5b9df}body[data-role=student] .science3d-result{background:#fffdf2;border:0;border-radius:20px;padding:16px 20px;font-size:calc(20px * var(--reading-scale,1));box-shadow:0 4px 0 #e5e8d8}.science3d-main-action{border-radius:20px!important;box-shadow:0 5px 0 #6c8d56;min-height:56px!important}.science3d-lab header .science3d-eyebrow{font-weight:800;color:#4c6652}
@media(max-width:640px){body[data-role=student] .science3d-scene{height:310px}body[data-role=student] .science3d-topic-card{padding:10px}body[data-role=student] .science3d-topic-card img{height:115px}body[data-role=student] .science3d-library-intro{padding:12px}body[data-role=student] .science3d-library-intro img{width:108px;height:108px}.science3d-lab .science3d-compare{grid-template-columns:1fr 1fr}.science3d-lab .science3d-compare button{font-size:15px}.science3d-touch-hint{font-size:14px}body[data-role=student] .science3d-scene-wrap{padding:8px;border-radius:24px}}
@media(prefers-reduced-motion:reduce){body[data-role=student] .science3d-topic-card{transition:none}body[data-role=student] .science3d-topic-card:hover{transform:none}}html[data-reduced-motion=true] .science3d-topic-card{transition:none}html[data-color-mode=contrast] .science3d-scene-wrap,html[data-color-mode=contrast] .science3d-manual-controls{background:#fff!important;border:2px solid #173a29!important}html[data-color-mode=contrast] .science3d-touch-hint{color:#173a29;background:#fff}
@media(min-width:641px){body[data-role=student] .science3d-lab header h2{margin:3px 0;font-size:25px}body[data-role=student] .science3d-lab header p{font-size:16px;line-height:1.4}body[data-role=student] .science3d-steps{margin:10px 0}body[data-role=student] .science3d-scene{height:clamp(270px,39vh,365px)}}
.science3d-world-groups{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:16px 0 22px}.science3d-world-groups button{display:grid;place-items:center;gap:4px;padding:8px;border:2px solid white;border-radius:20px;background:#eff3e8;box-shadow:0 4px 0 #d1dec2;color:#2c4b37;font:inherit;font-size:14px;cursor:pointer}.science3d-world-groups img{width:60px;height:60px;object-fit:contain}.science3d-world-groups [aria-pressed=true]{background:#e2f2ad;border-color:#58763e;box-shadow:0 4px 0 #a3be6c}.science3d-world-groups button:focus-visible{outline:3px solid #315434;outline-offset:3px}@media(max-width:640px){.science3d-world-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.science3d-world-groups img{width:46px;height:46px}.science3d-world-groups button{font-size:13px;border-radius:16px}}
.science3d-live-readings{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 16px}.science3d-live-readings span{display:grid;gap:4px;min-width:130px;flex:1;padding:12px 18px;background:#eaf3df;border-radius:18px;border:1px solid #d5e3c8}.science3d-live-readings span:nth-child(2){background:#e7eff8;border-color:#d1deed}.science3d-live-readings small{font-size:13px;color:#46604a}.science3d-live-readings b{font-size:20px;overflow-wrap:anywhere}
body[data-role=student] .science3d-lab[data-guided=false] .science3d-steps{display:none}.science3d-play-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:20px;margin:16px 0}.science3d-play-console{padding:12px;border:2px solid #fff;border-radius:26px;background:#f5f5eb;box-shadow:0 6px 0 #dce4d2}.science3d-play-console .science3d-result{margin:0 0 8px!important;padding:12px!important;font-size:18px!important}.science3d-play-console .science3d-live-readings{gap:8px;margin:8px 0}.science3d-play-console .science3d-live-readings span{min-width:100px;padding:10px}.science3d-play-console .science3d-live-readings b{font-size:18px}.science3d-play-console .science3d-compare{grid-template-columns:1fr 1fr;margin:14px 0;gap:8px}.science3d-play-console .science3d-compare button{padding:10px 6px;font-size:14px;min-height:62px}.science3d-play-console .science3d-manual-controls{margin:12px 0}.science3d-play-console .science3d-manual-controls summary{font-size:14px;padding:12px}.science3d-play-console>.science3d-main-action{width:100%;margin-bottom:12px}.science3d-play-console>[data-other-challenge]{width:100%}body[data-role=student] .science3d-play-layout .science3d-scene{height:340px}@media(max-width:760px){.science3d-play-layout{grid-template-columns:1fr;gap:14px}body[data-role=student] .science3d-play-layout .science3d-scene{height:280px}.science3d-play-console .science3d-compare{grid-template-columns:repeat(3,minmax(0,1fr))}.science3d-play-console .science3d-live-readings{display:grid;grid-template-columns:1fr 1fr}.science3d-play-console .science3d-live-readings span{min-width:0}}html[data-color-mode=contrast] .science3d-play-console{background:white;border:2px solid #173a29}
@media(max-width:760px){.science3d-play-layout>.science3d-scene-wrap{grid-row:1;position:relative}.science3d-play-console{display:contents}.science3d-play-console .science3d-compare{grid-row:2;margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}.science3d-play-console [data-result]{grid-row:3}.science3d-play-console [data-live-readings]{grid-row:4}.science3d-play-layout .science3d-view-options{position:absolute;top:8px;right:8px;width:120px;z-index:2;margin:0;border-radius:16px;background:#fffefaee}.science3d-play-layout .science3d-view-options summary{font-size:12px;padding:10px 8px;text-align:center}.science3d-play-layout .science3d-view-options[open]{width:240px;max-width:calc(100% - 16px);box-shadow:0 8px 20px #263e3120}.science3d-play-console>.science3d-main-action{width:100%}}
.science3d-lab[data-lab-topic=genes] .science3d-live-readings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.science3d-lab[data-lab-topic=genes] .science3d-live-readings span{min-width:0;padding:9px}.science3d-lab[data-lab-topic=genes] .science3d-live-readings b{font-size:18px}
