@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}*{box-sizing:border-box} :root{font-family:Nunito,Arial,sans-serif;color:#24364a;background:#fff;--green:#00d486;--ink:#24364a;--purple:#84739f;--paper:#fbfcff}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;transition:background .15s,transform .15s;min-height:44px;border:1.5px solid #aa9bbd;border-radius:9px;background:#fff;color:#67597f;font-weight:700;padding:10px 16px}button:hover{background:#f3f0fa}button:active{transform:translateY(1px)}button:disabled{opacity:.4;cursor:default;transform:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #007f65;outline-offset:4px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}p{line-height:1.5}.primary{background:var(--green);border-color:var(--green);color:#123d32}.primary:hover{background:#00e898}.outline{background:#ffffffb0}.wide{width:100%;display:flex;justify-content:space-between;align-items:center}.plain{border:0;background:transparent;padding:5px 0;text-align:left;min-height:36px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.4px;color:#557588}.brand{font-size:20px;font-weight:700;color:#175769;text-decoration:none;letter-spacing:-1px;white-space:nowrap}.brand span{letter-spacing:-.5px}.toolbar{display:flex;gap:5px;align-items:center}.toolbar button{padding:4px 7px;font-size:23px;border:0;min-width:39px;min-height:40px;color:#444957;background:transparent}.toolbar button:first-child:hover{background:#e1eee7}.toolbar button[data-action=read]{background:var(--green);color:#174738;border-radius:8px;font-size:19px}.pill{font-size:11px;letter-spacing:1.5px;font-weight:700;color:#2b7777;border:1px solid #6fa9a577;padding:8px 12px;border-radius:25px}
#welcome{display:grid;grid-template-columns:67% 33%;min-height:100dvh}.cover{min-height:100dvh;position:relative;background:linear-gradient(130deg,#e6f8e6,#bce5df 62%,#a7d6d3);overflow:hidden;padding:32px 6% 22px;display:flex;flex-direction:column}.cover-top{display:flex;align-items:center;justify-content:space-between}.cover h1{font-size:clamp(38px,4.2vw,66px);line-height:1.05;letter-spacing:-1.9px;margin:40px 0 0;z-index:1;color:#244f5a}.cover h1 span{color:#498682}#cover-art{flex:1;min-height:290px;display:grid;place-items:center;margin-top:-20px}#cover-art svg{width:100%;max-height:62vh;display:block}.cover-caption{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:700;color:#2f6f6b;position:relative;margin-top:-15px}.spark{font-size:25px;color:#4c9691}.welcome-copy{padding:clamp(25px,6vh,60px) 10% 20px;display:flex;flex-direction:column;gap:18px}.welcome-copy .toolbar{margin-bottom:5px}.welcome-copy h2{font-size:clamp(29px,2.6vw,42px);letter-spacing:-1px;line-height:1.2}.welcome-copy .eyebrow{color:#8c7b9e;font-size:11px}.welcome-copy p{font-size:18px;color:#6f6a7a;line-height:1.5}#intro-copy p+p{margin-top:13px}.grade-select{border:0;margin:3px 0 8px;padding:0}.grade-select legend{font-size:13px;color:#6b6580;margin-bottom:12px}.grade-select button{display:flex;gap:12px;align-items:center;text-align:left;width:100%;margin-bottom:8px;padding:11px;border:1.5px solid #ded7e7}.grade-select button>span{width:37px;height:37px;border-radius:50%;background:#f0ecf6;display:grid;place-items:center;font-size:15px;flex-shrink:0}.grade-select b{font-size:15px}.grade-select small{display:block;font-size:11px;font-weight:400;margin-top:2px}.grade-select button[aria-pressed=true]{border-color:#13874e;background:#f0fbf2;color:#257145}.grade-select button[aria-pressed=true]>span{background:#d8f3dc}.welcome-copy #start{margin-top:auto;align-self:flex-end;min-width:190px;display:flex;justify-content:space-between;gap:24px;min-height:50px}.welcome-copy .welcome-foot{font-size:11px;color:#909299;text-align:right;margin-top:-7px}
#lab{display:grid;grid-template-columns:33.5% 66.5%;height:100dvh}.sidebar{height:100dvh;overflow:auto;background:linear-gradient(90deg,transparent 26px,#efb6c5 27px,#efb6c5 28px,transparent 29px),repeating-linear-gradient(#fff 0,#fff 43px,#dce3f4 44px,#fff 45px);padding:15px 25px 15px 40px;display:flex;flex-direction:column}.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebar-head .brand{font-size:14px}.sidebar-head .toolbar button{min-width:30px;padding:2px 5px;font-size:20px}.help-link{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid #d9d9e7;border-radius:0;color:#1e2c40;background:transparent;padding:9px 0 12px;font-size:21px;margin-bottom:15px}.help-link span{background:var(--green);border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-family:Georgia,serif}.highlight{display:table;font-size:13px;line-height:1.2;padding:0 6px;background:linear-gradient(transparent 10%,#f8ffb2 10%,#f8ffb2 88%,transparent 88%);font-weight:700;color:#232a31;margin-bottom:12px}.activity-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 23px}.activity-tabs button{position:relative;min-height:83px;padding:12px 4px 18px;line-height:1.2;font-size:13px;border-width:1.5px}.activity-tabs button small{display:block;font-size:11px;margin:0 0 6px;font-weight:400}.activity-tabs button>span{position:absolute;right:6px;bottom:4px;font-size:10px}.activity-tabs [aria-pressed=true]{background:#158b3d;color:white;border-color:#158b3d}.instructions{font-size:15px;color:#776c8b;line-height:1.55;margin:0 0 15px}.object-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.object-options button{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:15px;padding:12px 4px}.object-options span{font-size:37px;line-height:1;color:#a593bd}.object-options [aria-pressed=true]{background:#e9f8ef;border-color:#138950;color:#247a46}.object-options [aria-pressed=true] span{color:#4da976}.small-note{font-size:12px;color:#8c829b;margin-top:15px;line-height:1.5}.side-tip{margin:23px 0 0;padding:14px 12px;background:#f4f0fae6;border-left:3px solid #b2a1c7;display:flex;gap:10px;color:#867696}.side-tip>span{color:#be9c3b;font-size:25px}.side-tip b{font-size:14px}.side-tip p{font-size:13px;line-height:1.5;margin-top:5px}.sidebar-bottom{margin-top:auto;padding-top:20px;display:flex;flex-direction:column}.sidebar-bottom button{font-size:12px;color:#766584}.sidebar-bottom span{font-size:10px;color:#95909b}.part-options{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.part-options button{display:flex;align-items:center;text-align:left;gap:12px;font-size:16px;padding:7px 13px;min-height:47px;background:white}.part-options .dot{display:grid;place-items:center;border-radius:50%;width:29px;height:29px;color:#273a4d;flex-shrink:0}.part-options button[aria-pressed=true]{border-color:#198e60;background:#eaf8ef}.part-options .seen{margin-left:auto;color:#218a59;font-size:15px}.check{display:flex;align-items:center;gap:9px;font-size:14px;color:#746084}.check input{width:19px;height:19px;accent-color:#16893f}.challenge-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:13px}.challenge-options button{padding:9px 2px;min-height:60px;position:relative}.challenge-options b{font-size:23px;display:block}.challenge-options small{font-size:10px}.challenge-options .earned{position:absolute;top:-6px;right:1px;color:#c38612;font-size:15px}.challenge-options [aria-pressed=true]{background:#158b3d;border-color:#158b3d;color:white}#challenge-prompt{font-size:14px;margin-bottom:10px}.stepper{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #e6e0ef}.stepper-label{flex:1;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#6a5d7f}.stepper-label .dot{border-radius:50%;width:24px;height:24px;display:grid;place-items:center;color:#34435a}.stepper button{width:37px;min-height:37px;height:37px;padding:0;font-size:24px;border:1.5px solid #a995bd}.stepper output{min-width:24px;text-align:center;font-size:20px;font-weight:700;color:#5b4f6f}#check-atom{margin:15px 0 8px}#save-atom{font-size:13px;justify-content:center;min-height:40px}.workspace{min-width:0;height:100dvh;overflow:auto;display:flex;flex-direction:column;background:radial-gradient(ellipse at 45% 45%,#e5f2d9,#d2eae5 60%);padding:28px 32px 24px;position:relative}.stage-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;z-index:1}.stage-header h2{font-size:clamp(24px,2.6vw,39px);letter-spacing:-1px;line-height:1.2;margin:9px 0 7px}.stage-header p:last-child{color:#527682;font-size:15px}.desk-tools{display:flex;gap:10px}.desk-tools button{width:55px;height:58px;padding:12px;border:0;border-radius:13px;box-shadow:0 6px 16px #65998e1a;flex-shrink:0}.desk-tools svg{width:25px;height:31px;fill:none;stroke:#8e7b9d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.scene{flex:1;min-height:330px;position:relative;display:flex;align-items:center;justify-content:center}#closer-stage{flex-direction:column}.zoom-trail{display:flex;align-items:center;gap:12px;position:absolute;top:17px;z-index:1;font-size:12px;color:#7c9792}.zoom-trail span{padding:6px 13px;border-radius:18px;background:#ffffff55}.zoom-trail span.active{background:white;color:#357b66;font-weight:700;box-shadow:0 4px 9px #4c8a7e0e}.zoom-trail i{font-style:normal}#object-art{width:min(95%,600px);height:100%;display:flex;align-items:center;justify-content:center;min-height:330px}#object-art svg{max-height:48vh;width:100%;display:block}.scene-badge{position:absolute;bottom:14px;border-radius:25px;padding:8px 18px;background:#ffffffb0;font-size:13px;font-weight:700;color:#528082}.discovery-card{display:flex;align-items:flex-start;gap:16px;background:#fff;border-radius:19px;padding:20px 22px;box-shadow:0 12px 35px #5b948511;min-height:124px;z-index:1}.discovery-card button{flex-shrink:0;background:var(--green);border:0;color:#143e37;border-radius:10px;width:42px;height:42px;font-size:20px;padding:2px}.discovery-card h3{font-size:21px;margin:6px 0 4px;color:#2c4355}.discovery-card p:not(.eyebrow){font-size:15px;color:#66838b}.discovery-card .eyebrow{font-size:10px;color:#9c7cac}.discovery-card>div{flex:1}.discovery-card>span{font-size:34px;align-self:center;color:#ebc362}#feedback:not(:empty){margin-top:8px;padding-top:8px;border-top:1px solid #e0eee4;color:#167349;font-weight:700}#atom-stage{flex-direction:column;min-height:350px}.atom-picture{position:relative;width:min(100%,560px);flex:1;display:flex;align-items:center;justify-content:center;max-height:57vh}#atom-art{width:100%}#atom-art svg{display:block;width:100%;max-height:54vh}.atom-card{position:absolute;left:0;top:28px;background:#ffffffac;border:2px solid #fff;border-radius:15px;display:flex;flex-direction:column;padding:14px 16px;min-width:108px;z-index:1;text-align:center}.atom-card small{font-size:8px;letter-spacing:1px;color:#769f9b}.atom-card>b{font-size:48px;color:#287d76;line-height:1.1;margin:5px}.atom-card strong{font-size:15px;color:#40867e}.atom-card>span{font-size:11px;color:#6f8c86;margin-top:5px}.model-note{font-size:10px;text-align:center;color:#6f918f;margin:3px 0 10px;max-width:490px}.motion-button{position:absolute;right:0;bottom:26px;font-size:11px;min-height:32px;padding:5px 9px;background:#ffffff88;border-color:#9dbdbb;color:#5f8985;z-index:2}.count-strip{display:flex;gap:8px;margin-top:-8px;z-index:1}.count-strip span{font-size:12px;padding:6px 10px;border-radius:17px;background:white;color:#597684}.count-strip b{margin-right:5px;color:#284959}.hotspot{position:absolute;width:35px;height:35px;min-height:35px;padding:0;border-radius:50%;border:2px solid white;box-shadow:0 4px 12px #629c9133;font-size:20px;color:#35465a}.hotspot-p{top:38%;left:45%;background:#ff9687}.hotspot-n{top:50%;left:52%;background:#80b7e5}.hotspot-e{top:20%;left:70%;background:#ffda71}.hotspot-nucleus{top:58%;left:38%;background:#d6c6e9}.hotspot-shell{top:27%;left:26%;background:#9bd9c5}.hotspot[aria-pressed=true]{outline:3px solid #207f66;outline-offset:3px}#picture-labels span{position:absolute;background:white;border-radius:8px;padding:5px 9px;font-size:11px;color:#578478;box-shadow:0 3px 10px #386c5d10}.label-nucleus{top:59%;left:50%}.label-shell{top:21%;left:13%}.label-electron{top:12%;right:6%}.electron-orbit{animation:orbit 30s linear infinite}.paused .electron-orbit{animation-play-state:paused}.focus-particle{filter:drop-shadow(0 0 7px #fff)}.focus-shell{stroke:#267e75!important;stroke-width:5!important}.focus-nucleus{stroke:#9475b3!important;stroke-width:5!important}@keyframes orbit{to{transform:rotate(360deg)}}
dialog{border:0;border-radius:20px;padding:32px;max-width:min(620px,92vw);color:#304457;box-shadow:0 20px 70px #31505c2b;max-height:90dvh;overflow:auto}dialog::backdrop{background:#e8f0eea6;backdrop-filter:blur(6px)}dialog h2{font-size:27px;line-height:1.25;margin:15px 0}dialog p{font-size:16px;color:#6c7684;margin-bottom:18px}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.dialog-top button{border:0;font-size:26px;padding:0;width:38px;min-height:38px;background:transparent}.dialog-actions{display:flex;gap:12px;justify-content:flex-end}.help-steps{padding-left:23px;color:#626b7c;font-size:17px;line-height:1.5}.help-steps li{padding-left:6px;margin:14px 0}.paper-dialog{background:repeating-linear-gradient(#fff 0,#fff 32px,#e1e8f7 33px,#fff 34px);border:12px solid #b99770;border-radius:18px;padding:47px 36px 25px;min-width:min(600px,90vw)}.clip-decoration{position:absolute;width:120px;height:29px;border-radius:5px;background:linear-gradient(#c0bdb3,#eae7df);border:3px solid #96978f;top:0;left:calc(50% - 60px);box-shadow:0 3px 5px #4c4d4133}.notebook{border:0;border-left:24px solid #9b91ad;padding-top:25px}.notebook label{font-size:16px;display:block;font-weight:700;color:#6b5e7e;margin:20px 0 8px}textarea{width:100%;border:1.5px solid #c2b7d0;border-radius:8px;background:#f8f6fc;color:#3f4352;padding:12px;resize:vertical;font-size:17px}.notebook #notes-status{font-size:12px;margin:10px 0 20px}.achievement{padding:10px 12px;border:1px solid #e4dfed;background:#ffffffdf;border-radius:8px;margin:8px 0;font-size:15px;color:#776787}.achievement b{float:right;color:#218651}.saved-card{background:#e9f4ee;padding:12px;border-radius:9px;margin:10px 0;font-size:14px}.saved-card strong{font-size:17px;color:#277963}.saved-card p{font-size:13px;margin:5px 0 0}.empty{padding:20px 0;color:#918799!important}.grade-choice{display:block;width:100%;margin:12px 0;text-align:left}.grade-choice[aria-pressed=true]{background:#dcf6e8;border-color:#198950}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.large-text .instructions,.large-text .discovery-card p:not(.eyebrow){font-size:18px}.large-text #intro-copy p{font-size:21px}.large-text .workspace{height:auto;min-height:100dvh}.large-text .scene{min-height:380px}
@media(min-width:1500px){.sidebar{padding-left:55px;padding-right:38px}.sidebar-content{padding-top:12px}.instructions{font-size:18px}.activity-tabs button{font-size:16px}.highlight{font-size:16px}.workspace{padding:38px 48px}.discovery-card p:not(.eyebrow){font-size:18px}}
@media(max-height:740px) and (min-width:801px){.welcome-copy{gap:13px;padding-top:26px}.welcome-copy p{font-size:16px}.cover h1{margin-top:26px}.grade-select button{padding:8px}.workspace{padding:20px 25px}.stage-header h2{font-size:28px}.scene{min-height:300px}.discovery-card{padding:16px 18px;min-height:113px}.discovery-card h3{font-size:19px}.atom-picture{max-height:51vh}#atom-art svg{max-height:48vh}.model-note{font-size:9px}.side-tip{margin-top:15px}}
@media(max-width:1100px) and (min-width:801px){.sidebar{padding-left:33px;padding-right:18px}.sidebar-head{flex-wrap:wrap;justify-content:flex-end}.sidebar-head .brand{margin-right:auto}.activity-tabs{gap:5px}.activity-tabs button{font-size:11px}.toolbar{gap:1px}.object-options{gap:5px}.part-options button{font-size:14px}.stage-header h2{font-size:26px}.desk-tools button{width:44px;height:47px;padding:8px}.desk-tools{gap:6px}.atom-card{padding:9px;min-width:80px}.atom-card>b{font-size:33px}.welcome-copy{padding-left:8%;padding-right:8%}.grade-select button{gap:7px}.grade-select small{font-size:10px}.cover-top .pill{display:none}}
@media(max-width:800px){#welcome{grid-template-columns:1fr}.cover{min-height:520px;height:62vh;padding:25px 7%}.cover-top .pill{font-size:8px}.cover h1{font-size:42px;margin-top:25px}#cover-art{min-height:180px;position:absolute;inset:150px 5% 20px}#cover-art svg{height:100%;width:100%;max-height:none}.cover-caption{margin-top:auto;font-size:12px}.welcome-copy{padding:28px 7%;gap:18px}.welcome-copy h2{font-size:32px}.welcome-copy #start{width:100%;margin-top:5px}.grade-select button{padding:13px}.welcome-copy .welcome-foot{text-align:center}#lab{display:flex;flex-direction:column;height:auto}.sidebar{height:auto;overflow:visible;padding:13px 22px 17px 35px}.sidebar-head{flex-wrap:nowrap}.sidebar-head .brand{font-size:18px}.sidebar-head .toolbar button{width:35px}.help-link{margin-bottom:13px}.activity-tabs{margin-bottom:19px}.activity-tabs button{min-height:72px;font-size:14px}.sidebar-content .side-tip{display:none}.sidebar-bottom{padding-top:12px;flex-direction:row;align-items:center;justify-content:space-between}.sidebar-bottom span{font-size:9px}.object-options{margin-bottom:13px}.object-options button{flex-direction:row;justify-content:center;padding:10px 3px;gap:6px;font-size:14px}.object-options span{font-size:29px}.small-note{margin-top:10px}.workspace{height:auto;min-height:650px;padding:25px 20px 20px}.stage-header h2{font-size:27px}.stage-header p:last-child{font-size:14px}.desk-tools button{width:43px;height:47px;padding:9px;border-radius:10px}.desk-tools{gap:7px}.scene{min-height:350px}#object-art svg{max-height:370px}.discovery-card{padding:18px 16px;gap:12px}.discovery-card h3{font-size:20px}.discovery-card p:not(.eyebrow){font-size:15px}.discovery-card>span{display:none}.part-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.part-options button{font-size:14px;padding:8px;gap:7px}.part-options .dot{width:25px;height:25px}.atom-picture{max-height:none}#atom-art svg{max-height:400px}.atom-card{min-width:74px;padding:8px;top:14px}.atom-card>b{font-size:32px}.atom-card small{font-size:6px}.atom-card strong{font-size:12px}.atom-card>span{font-size:9px}.motion-button{bottom:34px;right:0;font-size:10px;min-height:29px}.model-note{font-size:9px;margin-top:5px}.count-strip{gap:4px;margin-top:0}.count-strip span{font-size:10px;padding:5px 6px}.stepper{padding:7px 0}.stepper button{width:43px;height:40px}.stepper-label{font-size:16px}.zoom-trail{gap:6px;font-size:10px}.zoom-trail span{padding:6px 9px}.scene-badge{font-size:11px;bottom:8px}dialog{padding:24px}.paper-dialog{border-width:8px;padding:36px 20px 22px}.notebook{border-left-width:14px;padding-top:22px}.paper-dialog h2{font-size:24px}.dialog-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
#atom-art [data-part]{cursor:pointer}#lab:has(#build-controls:not([hidden])) #atom-art [data-part]{cursor:default}
/* Keep the motion control clear of the model caption on narrow desks. */
.motion-button{bottom:52px}
@media(max-width:800px){.motion-button{bottom:53px}}
.motion-button{top:20px;bottom:auto}
/* Make the chosen particle type easy to find, even in the small nucleus. */
#atom-art [data-selected-particle="p"] [data-part="n"],
#atom-art [data-selected-particle="p"] [data-part="e"],
#atom-art [data-selected-particle="n"] [data-part="p"],
#atom-art [data-selected-particle="n"] [data-part="e"],
#atom-art [data-selected-particle="e"] [data-part="p"],
#atom-art [data-selected-particle="e"] [data-part="n"]{opacity:.22}
#atom-art .focus-particle{filter:drop-shadow(0 0 4px white) drop-shadow(0 0 7px white)}
#atom-art .focus-particle>circle{stroke-width:3;vector-effect:non-scaling-stroke}
#atom-art [data-part="p"].focus-particle>circle{stroke:#a42d3b}
#atom-art [data-part="n"].focus-particle>circle{stroke:#18528e}
#atom-art [data-part="e"].focus-particle>circle{stroke:#946000}
#atom-art .focus-particle>text{font-weight:700;fill:#172d42}
.atom-examples{flex-shrink:0;margin:0 0 16px;padding:14px 16px 16px;border:1px solid #ffffffc9;border-radius:17px;background:#f6fcf2ba}
.examples-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.examples-heading .eyebrow{font-size:10px;letter-spacing:1px;color:#659088}.examples-heading h3{font-size:15px;color:#32685f}
.example-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.example-card{display:flex;align-items:center;gap:10px;padding:10px;border-radius:12px;background:#fff;min-width:0}.example-card svg{width:100px;height:82px;flex-shrink:0;background:#edf7f0;border-radius:9px;padding:4px}.example-card h4{font-size:15px;color:#335c65;margin:0 0 4px}.example-card p{font-size:12px;line-height:1.4;color:#64818a;margin:0}.large-text .example-card p{font-size:16px}
@media(max-width:1100px){.example-card{gap:8px}.example-card svg{width:75px;height:75px}.example-grid{gap:8px}.example-card h4{font-size:14px}.atom-examples{padding:12px}}
@media(max-width:1000px) and (min-width:801px){.example-card{flex-direction:column;text-align:center}.example-card svg{width:96px;height:75px}.examples-heading{align-items:flex-start}}
@media(max-width:500px){.example-grid{grid-template-columns:1fr}.example-card svg{width:96px;height:78px}.examples-heading{align-items:flex-start;flex-direction:column;gap:3px}.example-card p{font-size:13px}.atom-examples{margin-top:10px}}
.help-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:center;border-bottom:1px solid #d9d9e7;margin-bottom:15px;padding-bottom:7px}.help-actions .help-link{margin:0;border-bottom:0;padding-bottom:9px}.read-book-link{display:flex;align-items:center;justify-content:center;gap:10px;background:#edf7e8;color:#39745d;border-color:#a9ccb5;font-size:18px;min-height:47px}.read-book-link svg{width:28px;height:28px;fill:#fff;stroke:#44876b;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.read-book-link:hover{background:#def2d6}
dialog.reading-book{width:1000px;max-width:94vw;padding:0;border:7px solid #8b9b89;border-bottom-width:13px;border-radius:16px;background:#fbf7e8;max-height:92dvh}.book-header{padding:23px 32px 16px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #d9d4bc;background:#f2efd9}.book-header h2{font-size:30px;margin:6px 0 3px;color:#315650}.book-header .eyebrow{font-size:10px;color:#7a856c;margin:0}.book-header .book-level{font-size:12px;margin:0;color:#738475}.book-header>button{border:0;background:transparent;font-size:28px;padding:0;min-width:42px;min-height:42px}.book-spread{display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(90deg,#fffcf0 0%,#faf6e5 47%,#e3ddc5 49.8%,#fffbed 50.2%,#fffcf0 100%)}.book-page{position:relative;padding:24px 32px 35px;min-width:0}.book-page h3{font-size:20px;color:#405f57;margin:0 0 9px;line-height:1.25}.book-page p{font-size:16px;line-height:1.6;color:#4e5c61;margin:0 0 18px}.book-page strong{color:#2d6b65}.book-page figure{margin:8px 0 5px;padding:7px 10px 10px;background:#edf5e6;border-radius:12px}.book-page figure svg{display:block;width:100%;height:112px}.book-page figcaption{font-size:11px;text-align:center;color:#708176;line-height:1.4}.book-page-number{position:absolute;bottom:10px;left:50%;font-size:12px;color:#8c947e}.book-elements{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 21px}.book-elements span{display:flex;flex-direction:column;align-items:center;padding:9px 2px;background:#e3efe3;color:#486b62;border:1px solid #bfd7c1;border-radius:7px;font-size:10px}.book-elements b{font-size:27px;line-height:1.2;margin-bottom:4px}.book-think{font-size:13px;line-height:1.5;margin-top:14px;padding:9px 12px;border-left:3px solid #dec97d;background:#f4edcf;color:#77734b}.book-think b{display:block}.book-footer{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:16px 28px;border-top:1px solid #dbd5bc;background:#f2efd9}.book-audio{display:flex;gap:12px;align-items:center}.book-audio button{font-size:13px}.book-audio .plain{color:#766e59}.large-text .book-page p{font-size:19px}
@media(max-width:650px){dialog.reading-book{max-width:95vw;border-width:4px}.book-header{padding:18px}.book-header h2{font-size:25px}.book-spread{grid-template-columns:1fr;background:#fffcf0}.book-page{padding:22px 23px 33px}.book-page+.book-page{border-top:2px solid #ddd7bd}.book-page p{font-size:16px}.book-footer{flex-direction:column;padding:16px;align-items:stretch}.book-audio{justify-content:space-between}.book-footer>.primary{width:100%}.book-header>button{min-width:34px}.book-elements{gap:5px}}
.sample-options{margin-bottom:22px}.sample-options button{min-height:58px}.sample-options b{font-size:21px}.sample-options small{font-size:10px}
.particle-count{width:45px;min-width:0;height:37px;text-align:center;border:1px solid #bdaccd;border-radius:7px;background:white;color:#5b4f6f;font-size:19px;font-weight:700;appearance:textfield;-moz-appearance:textfield;padding:2px}.particle-count::-webkit-inner-spin-button,.particle-count::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:1100px) and (min-width:801px){.stepper{gap:5px}.stepper-label{font-size:12px;gap:5px}.particle-count{width:40px}.stepper button{width:33px}}

/* Compact sidebar logo, matching Weather Explorers. */
.sidebar-head .brand{display:inline-flex;align-items:center;flex:none}.sidebar-head .brand img{display:block;width:125px;height:auto;max-width:100%;object-fit:contain}
@media(min-width:801px) and (max-width:1050px){.sidebar-head .brand img{width:115px}}

/* Extra reading connects particle controls with ions, isotopes and orbitals. */
.atom-more-link{display:block;width:100%;margin:12px 0;padding:10px 12px;min-height:40px;border:1px solid #b9d9e5;border-radius:10px;background:#eaf7fb;color:#32627c;font-size:13px;text-align:left;line-height:1.4}
.book-sections{display:flex;gap:8px;padding:12px 24px;background:#f4f7ed;border-bottom:1px solid #d9d4bc}
.book-sections button{flex:1;min-height:40px;padding:8px;font-size:14px;border-radius:10px;border-color:#bad3cf;color:#365e65}
.book-sections button[aria-pressed=true]{background:#dcf0e8;border-color:#559d89;color:#215947}
.atom-fact-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 22px}
.atom-fact-pair span{display:block;padding:10px 8px;background:#fff0d6;border-radius:10px;color:#74542f;font-size:13px;text-align:center}
.atom-fact-pair span+span{background:#e2f2fc;color:#315c7a}.atom-fact-pair b{display:block;font-size:13px;margin-bottom:4px}
.isotope-example{display:grid;gap:6px;padding:12px;background:#edf0fc;color:#4d5e82;border-radius:10px;font-size:13px;margin:0 0 16px}
.book-page .orbital-figure{padding:6px;background:#f0f8f9}.book-page .orbital-figure svg{height:auto;max-height:170px}.book-page .orbital-figure figcaption{font-size:11px;padding:0 6px 6px}
.book-page .book-reference{font-size:11px;line-height:1.5;margin-top:16px}.book-reference a{color:#337a91}
@media(max-width:650px){.book-sections{padding:10px;gap:6px}.book-sections button{font-size:12px}.book-page .orbital-figure svg{max-height:170px}}

.book-page .scientist-note{margin:0 0 22px;padding:16px;border:1px solid #dbc98d;border-left:5px solid #d7af4d;border-radius:12px;background:#fff4d7}
.scientist-year{display:block;font-size:10px;font-weight:700;letter-spacing:1.2px;color:#907033;margin-bottom:7px}
.book-page .scientist-note h3{font-size:19px;color:#6c542d;margin-bottom:9px}
.book-page .scientist-note p{font-size:14px;line-height:1.55;color:#655c48;margin-bottom:10px}
.book-page .scientist-note a{font-size:11px;color:#487988}
.large-text .book-page .scientist-note p{font-size:17px}

.compound-examples{display:grid;gap:7px;margin:0 0 19px}.compound-examples span{display:block;border-radius:9px;padding:8px 11px;background:#eaf3ef;font-size:13px;color:#42665b}.compound-examples b{display:block;font-size:14px}.book-sections{flex-wrap:wrap}.book-sections button{min-width:130px}.book-page sup{font-size:.72em}

/* Live isotope identity and charge stay beside the atom model. */
.atom-card .charge-badge{max-width:150px;padding:5px 8px;border-radius:9px;background:#e1f3e7;color:#256443;font-size:11px;font-weight:700;line-height:1.4}
.atom-card .charge-badge[data-charge=positive]{background:#ffe6db;color:#933d23}
.atom-card .charge-badge[data-charge=negative]{background:#e0efff;color:#235c8f}
#challenge-options small{display:block;overflow-wrap:anywhere;font-size:10px}
/* Only the book pages scroll, so navigation and audio controls stay available. */
dialog.reading-book[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;height:min(92dvh,960px);overflow:hidden}
.reading-book .book-spread{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start}
.reading-book .book-spread:focus-visible{outline:3px solid #007f65;outline-offset:-3px}
@media(max-height:740px){.reading-book .book-header{padding:12px 20px}.reading-book .book-header h2{font-size:24px;margin:3px 0}.reading-book .book-sections{padding:8px 14px}.reading-book .book-footer{padding:9px 16px}}
@media(max-width:650px){.reading-book .book-header{padding:10px 14px;gap:8px}.reading-book .book-header h2{font-size:22px}.reading-book .book-sections{padding:7px;gap:5px}.reading-book .book-sections button{min-width:0;font-size:11px;padding:6px 4px}.reading-book .book-footer{padding:8px 12px;gap:6px}.reading-book .book-footer button{min-height:36px;padding:6px 10px;font-size:12px}.reading-book .book-page{padding:18px 20px 30px}.atom-card .charge-badge{max-width:112px;font-size:10px}}
