@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)}

.native-board{border:3px solid #fff;border-radius:20px;background:#f5fbf4}.native-board>svg{display:block;width:100%;height:100%}.native-cell-part{cursor:pointer}.native-cell-part:hover,.native-cell-part:focus-visible{filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 2px #286c68);outline:none}.native-cell-part:focus-visible{outline:2px solid #286c68;outline-offset:3px}
.dialog-head{gap:10px}.dialog-head .book-controls{margin:0 0 0 auto;flex-wrap:nowrap;gap:6px}.dialog-head .book-controls button{flex:none;width:44px;height:44px;min-height:44px;padding:8px;display:grid;place-items:center;border:0;border-radius:6px}.dialog-head .dialog-read-icon{background:#00ce88;color:#126747}.dialog-head .dialog-read-icon:hover{background:#00ba7a}.dialog-head .dialog-stop-icon{background:#eaf1e5;color:#466b5b}.dialog-head .book-controls button:focus-visible{outline:3px solid #76618b;outline-offset:3px}

/* Reference illustrations accompany the cell-types and microscope stories. */
.cell-fact-picture{margin:0;background:#fff;border:1px solid #dce9df;border-radius:16px;padding:8px;overflow:hidden;text-align:center}
.cell-fact-picture svg{display:block;width:100%;height:auto;aspect-ratio:1;overflow:hidden}
.cell-fact-picture figcaption{font-size:13px;font-weight:700;color:#416c64;line-height:1.4;padding:3px 4px 6px}
.cell-type-feature{display:grid;grid-template-columns:170px minmax(0,1fr);gap:22px;align-items:center;margin:16px 0 24px;padding:16px;border-radius:18px;background:#eef6e8}
#dialog .cell-type-feature p{margin-bottom:0}.cell-type-feature h4,#read-content>h4{color:#386e62;font-size:19px;margin:0 0 8px}
.eukaryote-pictures{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 28px}
.microscope-history{background:#fff1d9;grid-template-columns:190px minmax(0,1fr)}
@media(max-width:650px){.cell-type-feature{grid-template-columns:1fr;gap:12px;padding:14px}.cell-type-feature>.cell-fact-picture{width:170px;justify-self:center}.eukaryote-pictures{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}

/* Match the compact image logo used by Atom Explorers. */
.sidebar-head{gap:8px}
.sidebar-head .brand{display:inline-flex;align-items:center;flex:none;line-height:1}
.sidebar-head .brand img{display:block;width:125px;height:auto;max-width:100%;object-fit:contain}
.sidebar-head .toolbar{flex:none}
@media(min-width:801px) and (max-width:1050px){.sidebar-head .brand img{width:115px}}

/* One accessible read/stop pair in the header of each activity and dialog. */
.voice-controls{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;flex:none;margin:0}
.voice-controls button.dialog-read-icon,.voice-controls button.dialog-stop-icon{display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:8px;border:0;border-radius:6px}
.voice-controls button.dialog-read-icon{background:#00ce88;color:#126747}
.voice-controls button.dialog-read-icon:hover{background:#00ba7a}
.voice-controls button.dialog-stop-icon{background:#eaf1e5;color:#466b5b}
.desk-tools{align-items:center;flex-shrink:0}
#welcome .welcome-copy .toolbar .voice-controls button{width:44px;min-width:44px;height:44px;min-height:44px;padding:8px}
.dialog-head{position:sticky;top:0;z-index:2;background:#fffdf4;padding:5px 0}
@media(max-width:1100px){.stage-header{flex-wrap:wrap;gap:8px}.stage-header .desk-tools{margin-left:auto}.stage-header .desk-tools>button{width:44px;min-width:44px;height:44px;padding:6px}}
.division-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 10px}
.division-switch button{min-height:66px;border-radius:10px;padding:9px 5px;background:#fff}
.division-switch strong{display:block;font-size:18px}.division-switch small{display:block;font-size:11px;font-weight:400;margin-top:3px}
.division-switch [data-division=mitosis][aria-pressed=true]{background:#e4f0fb;color:#245b8a;border:2px solid #4380af}
.division-switch [data-division=meiosis][aria-pressed=true]{background:#e5f4e8;color:#216b48;border:2px solid #3a8c5f}
.division-summary{font-size:15px;font-weight:700;color:#32695d;margin:2px 0 10px}
.division-switch~.step-list button{min-height:43px;padding:7px 9px}
.division-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.division-comparison section{border:1px solid #c4d7ce;border-radius:12px;padding:12px;background:#f5faf5}
.division-comparison h3{margin:0;text-align:center}.division-comparison .division-art{width:100%;height:auto;max-height:none}
#dialog .division-comparison p{font-size:16px;margin:5px 0}
@media(max-width:650px){.division-comparison{grid-template-columns:1fr}.division-switch strong{font-size:16px}}
