@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}

/* A picture-based discovery game with explicit, untimed progression. */
.eye-hunt-start{margin:0 0 14px;background:#fff2b5;border:2px solid #e7bb49;border-radius:12px;color:#73530a;font-size:17px}
#playback .eye-hunt{width:100%;padding:12px 16px;border:2px solid #8cbcad;border-radius:17px;background:#fffdf1;box-shadow:0 4px 0 #c2dcd0}
.hunt-top,.hunt-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.hunt-top b{color:#8a6214;font-size:16px}.hunt-top button{flex:none!important;font-size:13px!important;min-height:32px;padding:4px 9px;border-radius:8px}
.eye-hunt .hunt-clue{font-size:19px;font-weight:700;color:#264e5b;line-height:1.35;margin:6px 0}.eye-hunt .hunt-feedback{font-size:15px;line-height:1.3;color:#3b6659;margin:5px 0 9px}.hunt-actions button{border-radius:9px;min-height:40px}.eye-hunt.is-solved{border-color:#229957;background:#effbe9}.large-text .eye-hunt .hunt-clue{font-size:22px}
@media(max-height:700px){#playback .eye-hunt{padding:8px 12px}.eye-hunt .hunt-clue{font-size:17px}.eye-hunt .hunt-feedback{font-size:14px;margin:4px 0}.hunt-actions button{min-height:34px;padding:5px 9px}}

/* Blend the illustration's white canvas into the science desk. */
.source-board.eye-parts-board{border:0;box-shadow:none;background:transparent;mix-blend-mode:multiply}
.source-board.eye-parts-board iframe{background:transparent}

.eye-parts-board>svg{display:block;width:100%;height:100%}
.eye-parts-board .eye-part{cursor:pointer;outline:none}
.eye-parts-board .eye-anatomy-hit{fill:#087d57;stroke:white;stroke-width:1.3;pointer-events:all}
.eye-parts-board .eye-point-number{fill:white;font:800 6.5px Nunito,Arial,sans-serif;pointer-events:none}
.eye-parts-board .eye-part.chosen .eye-anatomy-hit{fill:#ffc94a;stroke:#07553d;stroke-width:1.6}
.eye-parts-board .eye-part.chosen .eye-point-number{fill:#183f32}
.eye-parts-board .eye-part:focus-visible .eye-anatomy-hit{stroke:#153d30;stroke-width:2.5}
.eye-parts-board .eye-tooltip{pointer-events:none}
.eye-parts-board .eye-tooltip rect{fill:#064c39;stroke:white;stroke-width:1}
.eye-parts-board .eye-tooltip text{fill:white;font:900 13px Nunito,Arial,sans-serif}

.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}}

.retina-figure img{display:block;width:100%;height:auto;max-width:862px;margin-inline:auto}

.eye-tooltip .eye-leader{fill:none;stroke:#07553d;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 1px white)}

.eye-tooltip .eye-tooltip-copy{font:600 9.5px Nunito,Arial,sans-serif;fill:#f5fff9}
.eye-parts-board .eye-tooltip text.eye-tooltip-copy{font:600 9.5px Nunito,Arial,sans-serif;fill:#f5fff9}

.source-board.eye-parts-board{mix-blend-mode:normal}
.eye-parts-board>svg>image{mix-blend-mode:multiply}

.eye-parts-board .eye-tooltip .eye-label-body{fill:#fff;stroke:none}
.eye-parts-board .eye-tooltip .eye-title-band{fill:#e5e7e8;stroke:none}
.eye-parts-board .eye-tooltip .eye-label-dot{fill:#111;stroke:none}
.eye-parts-board .eye-tooltip .eye-leader{stroke:#171717;stroke-width:.85;filter:none}
.eye-parts-board .eye-tooltip text{fill:#111;font:900 17px Nunito,Arial,sans-serif}
.eye-parts-board .eye-tooltip text.eye-tooltip-copy{fill:#111;font:400 11px Nunito,Arial,sans-serif}

.source-board.eye-parts-board{aspect-ratio:540/299}

.vision-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 20px}
.vision-options button{background:#e5f8fc;color:#245363;border:2px solid transparent;border-radius:0;box-shadow:4px 5px 0 #ced4d1;padding:10px 5px;font-size:16px}
.vision-options button[aria-pressed=true]{border-color:#f3a400;background:#dff7fd;color:#183f4e}
.source-board .focus-lab{height:100%;padding:12px;background:#f5fbf7;display:flex;flex-direction:column;gap:10px;overflow:auto}
.focus-controls{display:flex;gap:10px}.focus-controls label{flex:1;min-width:0;font-size:15px}
.focus-controls select{display:block;width:100%;padding:7px;font:inherit;color:#31576b;border:1px solid #93b7ad;border-radius:6px;background:white}
.lens-control{font-size:15px}.lens-control input{width:100%;accent-color:#158b3d}
#focus-picture{flex:1;min-height:120px}#focus-picture svg{display:block;width:100%;height:100%}
#focus-result{font-size:15px;font-weight:700}.focus-lab small{font-size:12px}
@media(max-width:1050px) and (min-width:801px){.vision-options{grid-template-columns:1fr}}

#focus-picture .focus-reference-scene{background:white;border-radius:8px}

.source-board.focus-board{aspect-ratio:437/360}

/* Key ideas in Science Desk reading and the science story. */
.science-keyword{color:#284e46;background:#fff0ae;font-weight:800;padding:0 .12em;border-radius:.18em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
/* Shared 3iEducation branding used in the other science simulations. */
.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; }
.eye-parts-board .eye-callout-actions { pointer-events: auto; }
.eye-callout-actions > div { display: flex; gap: 5px; }
.eye-callout-actions button { min-height: 24px; padding: 3px 7px; border: 1px solid #b9d4c3; border-radius: 4px; font: 700 10px Nunito,Arial,sans-serif; background: #f2f7ee; color: #265747; }
.eye-callout-actions button:first-child { background: #00cf88; border-color: #00bc7c; color: #124c37; }
.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}}
