/* Reaction Room: editorial shell, an illuminated microscope, quiet utility chrome. */
.reactor-page{--ink:#173c39;--paper:#f4f3ec;--muted:#657b75;--cyan:#87e1d1;--coral:#f5ae86;--night:#132f34;--acid:#d9ed91;max-width:1600px;margin:auto;padding-bottom:30px}
.reactor-page button,.reactor-page input,.reactor-page select{font-family:inherit}
.reactor-page button{transition:background .18s,transform .18s,border-color .18s}
.reactor-page button:focus-visible,.reactor-page a:focus-visible,.reactor-page input:focus-visible,.reactor-page select:focus-visible{outline:3px solid #49a99b;outline-offset:4px}
.exhibit-site .reactor-page .lab-heading{padding:34px 0 46px;align-items:center;gap:50px}
.exhibit-site .reactor-page .lab-heading h1{font-family:inherit;font-size:clamp(40px,4.7vw,76px);font-weight:750;letter-spacing:-3px;line-height:1.17;margin:20px 0;color:var(--ink)}
.exhibit-site .reactor-page .lab-heading h1 span{color:#748a70}
.reactor-page .lab-heading p{font-size:15px;line-height:1.8}
.reactor-page .eyebrow{font-size:11px;letter-spacing:2px;color:#668176}
.lab-invitation{position:relative;min-width:320px;width:370px;border:1px solid #cad7c6;border-radius:22px;padding:27px 30px;background:linear-gradient(130deg,#ecf0df,#f8f5ec);overflow:hidden}
.lab-invitation h2{font-size:23px!important;letter-spacing:-.6px;margin:13px 0 23px}
.lab-invitation>button:first-of-type{display:flex;justify-content:space-between;gap:18px;width:100%;border:0;border-radius:8px;background:#224c43;color:#fff;padding:14px 16px;font-size:14px;text-align:left;cursor:pointer}
.lab-invitation>button:first-of-type:hover{background:#326655}
.lab-random{font-size:12px;padding:13px 0 0;color:#62786a;background:none;border:0;cursor:pointer}
.invitation-orbit{position:absolute;right:-7px;top:-12px;width:130px;height:130px;transform:rotate(-15deg);opacity:.18;pointer-events:none}
.invitation-orbit:before{content:'';position:absolute;inset:14px;border:1px solid #487969;border-radius:50%}.invitation-orbit i{position:absolute;width:40px;height:40px;background:#2b7976;color:white;display:grid;place-items:center;border-radius:50%;font:18px Georgia;font-style:normal}.invitation-orbit i:nth-child(1){top:18px;left:8px}.invitation-orbit i:nth-child(2){top:38px;left:60px;background:#d07546}.invitation-orbit i:nth-child(3){top:85px;left:30px}.invitation-orbit>span{position:absolute;right:-7px;bottom:-8px;font-size:90px}
.reactor-page .reaction-atlas{grid-template-columns:254px minmax(0,1fr);gap:30px}
.reactor-page .lab-browser{border:1px solid #d3dbcb;border-radius:15px;background:#eaeede;top:18px;max-height:calc(100dvh - 36px)}
.reactor-page .lab-browser>summary{color:#244c42;font-size:16px;padding:17px 16px;border-color:#d0d9c7}
.reactor-page .lab-browser-tools{padding:14px 14px 8px}
.reactor-page .lab-browser-tools label{font-size:11px}.reactor-page .lab-browser-tools input,.reactor-page .lab-browser-tools select{background:#fcfcf6;border-color:#d4ddca;font-size:12px!important;border-radius:7px;min-height:38px}
.reactor-page .lab-browser-tools p{font-size:10px}.reactor-page .lab-filter-pair{gap:7px}
.reactor-page .reaction-results{max-height:max(150px,calc(100dvh - 490px));padding:5px 8px 10px}
.reactor-page .reaction-results button{padding:12px;border-radius:9px;margin:4px 0;border-left:3px solid transparent}
.reactor-page .reaction-results button[aria-current=true]{background:#244f44;color:#fff;border-color:#244f44;border-left-color:#d9ec95;box-shadow:0 6px 18px #23483a18}
.reactor-page .reaction-results button[aria-current=true] small,.reactor-page .reaction-results button[aria-current=true]>span{color:#d0dec5}
.reactor-page .reaction-results strong{font-size:13px;line-height:1.7}.reactor-page .reaction-results small{font-size:10px}.reactor-page .reaction-results button>span{font-size:11px;line-height:1.8}
.lesson-kicker{display:flex;align-items:center;justify-content:space-between;gap:12px}.lesson-kicker .eyebrow{font-size:10px;letter-spacing:1px}.lesson-kicker>span:last-child{font:10px ui-monospace,monospace;letter-spacing:1px;color:#829488;white-space:nowrap}
.reactor-page .lab-lesson-heading{padding:4px 0 21px}.reactor-page .lab-lesson-heading h2{font-size:clamp(25px,2.4vw,39px);line-height:1.4;margin:15px 0 17px;letter-spacing:-1px}
.reactor-page .reaction-element-links>span{font-size:11px}.reactor-page .reaction-element-links a{background:#e7eddd;border-color:#d0dac4;padding:6px 10px}.reactor-page .reaction-element-links a:hover{background:#d9e5ca}
.reactor-page .lab-tabs{gap:10px;border:0;margin:0 0 18px;background:#e8edde;padding:5px;border-radius:10px;width:fit-content}
.reactor-page .lab-tabs button{border:0;padding:12px 18px;border-radius:7px;color:#6b7c68;font-size:13px;min-height:44px}
.reactor-page .lab-tabs button[aria-selected=true]{background:#fffdf7;color:#224a40;box-shadow:0 2px 6px #233b2110}
.reactor-page .reaction-workbench{border:1px solid #ced9c8;border-radius:20px;background:#fffdf7;box-shadow:0 14px 40px #233c2910}
.reactor-page .lab-topline{background:#f1f3e8;padding:15px 22px;border-bottom:1px solid #dce4d4;color:#426153;align-items:center}
.reactor-page .lab-topline span:first-child:before{content:'↔';display:inline-block;margin-right:9px;color:#77946d;font-size:18px}.reactor-page .lab-topline span:last-child{font-size:12px;color:#66795e}
.reactor-page .lab-equation{padding:20px 18px 23px;gap:9px;align-items:flex-start;overflow-x:auto;overscroll-behavior-x:contain}
.reactor-page .lab-compound,.reactor-page .lab-compound[data-side=after]{background:none;border:0;border-radius:0;padding:0;min-width:0;flex:none}
.reactor-page .lab-compound-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.reactor-page .lab-formula{justify-content:center;align-items:baseline;margin:0;gap:2px;white-space:nowrap}.reactor-page .lab-formula input{background:transparent;border:0;border-bottom:2px solid #9aae9f;border-radius:0;height:44px;font-size:25px!important;color:#183e37;width:40px;padding:0 2px}.reactor-page .lab-formula input:focus-visible{outline:2px solid #468a74;outline-offset:2px}
.reactor-page .lab-formula strong{font-size:36px;letter-spacing:0;color:#183e37;white-space:nowrap}.reactor-page .lab-operator{font-size:31px;color:#3f6659;align-self:flex-start;margin-top:5px}
.reactor-page .lab-stepper{gap:0;margin:5px auto 0}.reactor-page .lab-stepper button{border:1px solid #cbd9cc;background:#fffefa;min-height:36px;height:36px;min-width:42px;width:42px;color:#315e4d;border-radius:0}.reactor-page .lab-stepper button:first-child{border-radius:6px 0 0 6px}.reactor-page .lab-stepper button:last-child{border-radius:0 6px 6px 0;border-left:0}.reactor-page .lab-stepper button:hover:not(:disabled){background:#edf4eb}
/* The two specimens share a stage, but never share their identities. */
.particle-stage{margin:0 16px 18px;border-radius:15px;overflow:hidden;color:#eaf3e9;background-color:var(--night);background-image:radial-gradient(ellipse at 7% 25%,#386a6635,transparent 55%),radial-gradient(ellipse at 100% 100%,#936e4829,transparent 50%),radial-gradient(#7eb4ad1d .65px,transparent .65px);background-size:auto,auto,19px 19px;box-shadow:inset 0 0 80px #08232c40;position:relative}
.stage-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:24px 22px 19px}
.stage-live{font:9px ui-monospace,monospace;letter-spacing:1.4px;color:#97bdb3}.stage-live:first-letter{color:#cced90}
.stage-heading h3{font-size:21px;font-weight:500;letter-spacing:.2px;margin:9px 0 0;color:#f0f6e9}
.stage-heading button{border:1px solid #bfd58e;border-radius:30px;background:#d6ec97;color:#254940;font-size:12px;min-height:42px;padding:10px 17px;cursor:pointer;white-space:nowrap}.stage-heading button span{padding-left:8px}.stage-heading button:disabled{background:#243e40;border-color:#506864;color:#98ada3;cursor:not-allowed}
.reactor-page .lab-scene{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:8px;padding:0 20px 8px}
.reactor-page .lab-molecules-side{border:0;border-radius:0;background:transparent}
.reactor-page .lab-scene-label{display:flex;align-items:center;justify-content:start;gap:8px;font-size:12px;border:0;border-top:1px solid #658f8550;padding:14px 0;color:#a9e0d0}
.reactor-page .lab-molecules-side:last-child .lab-scene-label{color:#e7b892;border-top-color:#b2917050}
.lab-scene-label b{font:10px ui-monospace,monospace;border:1px solid currentColor;border-radius:3px;padding:2px 4px;opacity:.8}
.reactor-page .lab-scene-label small{margin-left:auto;font:8px ui-monospace,monospace;letter-spacing:.9px;color:#a2b7af}
.reactor-page .lab-molecules{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:9px;align-content:center;align-items:stretch;padding:0;min-height:230px}
.structure-card{display:flex;flex-direction:column;align-items:stretch;background:linear-gradient(140deg,#31524e69,#112d3360);color:#eef5eb;border:1px solid #709e8f48;border-radius:11px;padding:10px 10px 11px;cursor:zoom-in;min-width:0;width:100%;text-align:left;overflow:hidden;position:relative}
.lab-molecules-side:last-child .structure-card{border-color:#ad916d48;background:linear-gradient(140deg,#534a3c40,#17323860)}
.structure-card:hover{border-color:#ccefa2;transform:translateY(-3px);background:#284b48}
.structure-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:9px;color:#9cbcb0}.structure-card-top i{font:14px Georgia,serif;color:#c8ddc7}.structure-copy{display:grid;place-items:center;flex:1;min-height:108px}
.structure-svg{display:block;width:100%;height:auto;max-height:150px;overflow:visible}.structure-atom{transition:opacity .2s,filter .2s}.structure-atom.is-muted{opacity:.13;filter:grayscale(1)}
.structure-card-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:5px;border-top:1px solid #71948e27;padding-top:9px;color:#e9f3e7}.structure-card-bottom strong{font:20px Georgia,serif;overflow-wrap:anywhere}.structure-card-bottom b{font:11px ui-monospace,monospace;white-space:nowrap;background:#86baa120;border-radius:4px;padding:4px 5px;color:#cbe3c6}
.structure-tally{font-size:9px;color:#8dad9f;line-height:1.7;margin-top:6px}
.reactor-page .lab-scene-divider{color:#9ebba4;font-size:22px;padding-top:26px}.lab-scene-divider span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #829e793b;border-radius:50%}
.structure-legend{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:19px 22px 0}.structure-legend>span{font-size:10px;color:#95b4a8;margin-right:7px}.structure-legend button{border:1px solid #537b6a75;border-radius:20px;background:transparent;color:#bfdbcd;padding:7px 11px;font-size:11px;cursor:pointer;display:flex;align-items:center;gap:6px;min-height:34px}.structure-legend button i{width:7px;height:7px;border-radius:50%}.structure-legend button[aria-pressed=true]{border-color:#cbe891;background:#d8ed9f;color:#1b463a}
.stage-note{font-size:10px!important;line-height:1.9;color:#a1bbae;margin:13px 22px 0}.particle-stage #stage-status{border-top:1px solid #8aae9835;margin:16px 0 0;padding:12px 22px;font-size:11px;line-height:1.8;color:#cfdfb2;background:#0d282c45}
.particle-stage.is-running .lab-molecules-side:first-child .structure-copy{animation:depart .75s ease both}.particle-stage.is-running .lab-molecules-side:last-child .structure-copy{animation:arrive 1.2s ease both}.particle-stage.is-running .lab-scene-divider span{animation:signal 1.2s ease both}
@keyframes depart{35%{opacity:.2;transform:translateX(12px) scale(.93)}100%{opacity:1;transform:none}}@keyframes arrive{0%,25%{opacity:.1;transform:translateX(-20px) scale(.9)}70%{opacity:1;transform:scale(1.04)}100%{transform:none}}@keyframes signal{50%{background:#d9ed91;color:#143e38;box-shadow:0 0 30px #daed9290}}
.reactor-page .lab-feedback{padding:17px 22px;background:#f7edda;border-top:1px solid #eadcbd;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.reactor-page .lab-feedback>strong{font-size:13px;line-height:1.8;max-width:500px}.reactor-page .lab-feedback.is-balanced{background:#eaf1da;border-color:#d4e2ba}
.reactor-page #lab-counts{margin:0;gap:5px}.reactor-page #lab-counts span{background:#fff9;border-radius:20px;padding:6px 9px;font-size:11px;border-color:#d8dabf}.reactor-page #lab-counts b{font-size:13px;margin:0 4px}
.reactor-page .lab-actions{padding:19px 22px 0;gap:8px}.reactor-page .lab-actions button{font-size:12px;border-radius:7px}.reactor-page #lab-observe{background:#214e44;color:#fafbee;padding:13px 19px}.reactor-page .lab-explanation{font-size:12px;line-height:1.9;color:#718067;margin:16px 22px 20px}.reactor-page .lab-answer{margin:0 22px 18px;font-size:12px}
.reactor-page .redox-intro{padding:25px 24px 0}.reactor-page .redox-intro strong{font-size:20px}.reactor-page .redox-intro p{font-size:12px}.reactor-page .redox-flow{background:var(--night);border-color:#224b4b;border-radius:15px;padding:25px;color:#e2eadc;gap:18px;position:relative}.reactor-page .electron-donor{color:#e7b08b}.reactor-page .electron-acceptor{color:#89dbc7}.reactor-page .electron-donor strong,.reactor-page .electron-acceptor strong{font-size:42px}.reactor-page .redox-flow>p{color:#aec1b2;font-size:12px;line-height:1.9}.reactor-page .electron-route{border-color:#7ba38f}.reactor-page .electron-route span{color:#bdd4b3;font-size:10px}.reactor-page .electron-route i{background:#dcee9d;box-shadow:0 0 14px #caec9f}
.reactor-page .redox-changes{gap:14px}.reactor-page .redox-change{border-left:3px solid #d99a6f;background:#fcf3e7;border-radius:9px}.reactor-page .redox-change.is-reduced{border-left-color:#69af9f;background:#eaf3e9}.reactor-page .redox-change p{font-size:13px}.reactor-page .redox-change>a{font-size:13px}.reactor-page .redox-change>strong{font-size:34px}
.reactor-page .oxidation-species article{background:#f3f4e9}.reactor-page .oxidation-species span{font-size:13px}.reactor-page .reaction-learning{gap:30px;padding-top:28px}.reactor-page .reaction-learning>div:first-child{padding:4px 0 0 20px;border-left:2px solid #c7d5bb}.reactor-page .reaction-learning h3{font-size:22px}.reactor-page .reaction-mentor{background:#e4ecd8;border-color:#c8d7b9;border-radius:14px}.reactor-page .reaction-mentor>button{background:#274f42;font-size:13px}.reactor-page .lab-sources{font-size:12px}
/* Structured overlays: one purpose per dialog, close/Escape always available. */
.structure-dialog,.reaction-finder{color:var(--ink);background:#f7f7ee;border:1px solid #c3d3bd;border-radius:22px;box-shadow:0 30px 120px #071e2d55;padding:28px;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto}
.structure-dialog::backdrop,.reaction-finder::backdrop{background:#09272485;backdrop-filter:blur(7px)}
#structure-close,#finder-close{width:42px;height:42px;border-radius:50%;border:1px solid #cfdbca;background:#fffefa;color:#395a4e;font-size:26px;cursor:pointer;flex-shrink:0}
#structure-close{position:absolute;right:18px;top:15px}.structure-dialog>.eyebrow{display:block;font-size:9px;margin-right:45px}.structure-dialog h2{font-size:28px!important;line-height:1.4;margin:18px 0;color:#20473e}
#structure-large{background:radial-gradient(ellipse at center,#315655,#102e34);padding:24px;border-radius:13px;margin:20px 0}#structure-large .structure-svg{max-height:310px}#structure-detail{font-size:14px;line-height:1.9;color:#647861}#structure-composition{background:#e6eddb;border-radius:10px;padding:14px;font-size:13px}#structure-composition>strong{font:24px Georgia}#structure-composition p{font-size:12px;line-height:1.8}
.finder-launcher{position:fixed;right:24px;bottom:24px;z-index:35;display:flex;align-items:center;gap:10px;background:#214f46;color:#f6f7e9;border:1px solid #447665;border-radius:30px;padding:12px 20px;font-size:13px;box-shadow:0 6px 22px #21473425;cursor:pointer;min-height:48px}.finder-launcher>span{font:24px Georgia;color:#dbeaa6}.finder-launcher:hover{transform:translateY(-3px);background:#32624e}
.reaction-finder{padding:0;width:min(460px,calc(100vw - 24px));height:min(740px,calc(100dvh - 40px));margin:auto 24px auto auto;overflow:hidden}
.reaction-finder[open]{display:flex;flex-direction:column}.reaction-finder header{display:flex;align-items:center;gap:12px;padding:22px;border-bottom:1px solid #d8e2cc;background:#eaf0df}.reaction-finder header>div{flex:1}.reaction-finder h2{margin:6px 0 0;font-size:23px!important}.reaction-finder .eyebrow{font-size:8px;letter-spacing:1.5px}.finder-avatar{width:47px;height:47px;border-radius:13px;background:#254f48;color:#dfea9a;display:grid;place-items:center;font:32px Georgia}
.finder-intro{font-size:13px;line-height:1.8;margin:0;padding:15px 22px;color:#637c68}.finder-intro small{font-size:10px;color:#7b8e70}.finder-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 18px 16px;scrollbar-width:thin}.finder-reply,.finder-user{font-size:13px;line-height:1.9;border-radius:12px;background:#fffef8;border:1px solid #dce4d3;padding:14px;margin:10px 0;overflow-wrap:anywhere}.finder-user{background:#2c564c;color:#f6f8e8;margin-left:35px;border:0}.finder-results{margin-top:12px;display:grid;gap:7px}.finder-results button{display:block;text-align:left;padding:11px 12px;background:#edf2e2;border:1px solid #d2dfc4;border-radius:8px;color:#24513f;cursor:pointer}.finder-results button:hover{background:#dce9c9}.finder-results small{font-size:9px;color:#728565;display:block}.finder-results strong{font-size:13px;display:block;margin:3px 0}.finder-results span{font:13px/1.7 Georgia,serif;display:block}.finder-suggestions{display:flex;flex-wrap:wrap;gap:5px;padding:12px 18px;border-top:1px solid #d5dfcb;background:#f3f5e8}.finder-suggestions button{font-size:10px;padding:7px 10px;border:1px solid #d0ddc4;border-radius:20px;background:transparent;color:#587557;cursor:pointer}
#finder-form{display:flex;gap:8px;padding:4px 18px 10px;flex-shrink:0}#finder-input{min-width:0;flex:1;border:1px solid #bfceb7;background:#fffefa;border-radius:9px;padding:13px;font-size:14px;color:#234e40}#finder-form>button{width:45px;border:0;border-radius:9px;background:#234f45;color:white;font-size:22px;cursor:pointer}.finder-footnote{margin:0;padding:0 20px 15px;font-size:10px;line-height:1.6;color:#7d8c72}
@media(min-width:1500px){.reactor-page .reaction-atlas{grid-template-columns:280px minmax(0,1fr);gap:38px}.reactor-page .lab-molecules{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))}.structure-svg{max-height:180px}.structure-card-top{font-size:11px}.structure-tally{font-size:11px}}
@media(max-width:1100px){.reactor-page .reaction-atlas{grid-template-columns:220px minmax(0,1fr);gap:18px}.lab-invitation{min-width:280px;width:300px;padding:22px}.reactor-page .lab-scene{gap:4px;padding:0 12px 8px;grid-template-columns:minmax(0,1fr) 23px minmax(0,1fr)}.reactor-page .lab-molecules{grid-template-columns:1fr}.reactor-page .lab-compound{padding:10px;min-width:92px}.reactor-page .lab-formula strong{font-size:24px}.stage-heading h3{font-size:18px}.stage-heading{padding:20px 16px}.reactor-page .lab-scene-label small{display:none}.reactor-page .lab-equation{gap:10px}.structure-svg{max-height:132px}}
@media(max-width:900px){.reactor-page .reaction-atlas{grid-template-columns:1fr}.reactor-page .lab-browser{position:static;max-height:none}.reactor-page .reaction-results{max-height:320px}.reactor-page .lab-browser-tools input,.reactor-page .lab-browser-tools select{font-size:16px!important}.reactor-page .lab-molecules{grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr))}.reactor-page .lab-scene-label small{display:block}.reactor-page .lab-stepper button{min-height:42px;min-width:44px}.reactor-page .lab-heading{gap:24px}.lab-invitation{min-width:250px}.reactor-page .lab-heading h1{letter-spacing:-2px}.structure-legend button{min-height:40px}.finder-launcher{right:16px;bottom:18px}}
@media(max-width:600px){.exhibit-site .reactor-page .lab-heading{display:block;padding:22px 0 28px}.exhibit-site .reactor-page .lab-heading h1{font-size:39px;letter-spacing:-1.8px;margin:18px 0}.reactor-page .lab-heading p{font-size:13px}.lab-invitation{width:auto;min-width:0;margin-top:25px;padding:19px 20px;border-radius:16px}.lab-invitation h2{font-size:20px!important;margin:8px 0 14px}.lab-invitation>.eyebrow{font-size:9px}.lab-random{padding-top:12px}.invitation-orbit{right:2px;top:-22px}.lesson-kicker{align-items:start}.lesson-kicker .eyebrow{font-size:9px;letter-spacing:.4px}.lesson-kicker>span:last-child{font-size:8px;letter-spacing:0}.reactor-page .lab-lesson-heading h2{font-size:26px;margin:12px 0 14px}.reactor-page .lab-tabs{width:100%;gap:2px;padding:4px}.reactor-page .lab-tabs button{flex:1;font-size:12px;padding:11px 5px}.reactor-page .lab-compound{padding:9px 8px;min-width:86px}.reactor-page .lab-compound-name{font-size:10px;max-width:130px}.reactor-page .lab-formula{gap:5px}.reactor-page .lab-formula strong{font-size:22px}.reactor-page .lab-formula input{width:32px;height:38px;font-size:22px!important}.reactor-page .lab-equation{padding:18px 9px;gap:9px 5px}.reactor-page .lab-operator{font-size:18px}.reactor-page .lab-stepper button{min-width:33px;width:33px;min-height:40px}.reactor-page .lab-topline{font-size:11px;padding:12px 14px}.reactor-page .lab-topline span:last-child{font-size:10px}.particle-stage{margin:0 7px 12px;border-radius:12px}.stage-heading{display:block;padding:18px 14px 16px}.stage-heading h3{font-size:19px;margin:8px 0 14px}.stage-heading button{padding:9px 15px;min-height:40px;font-size:12px}.stage-live{font-size:8px}.reactor-page .lab-scene{grid-template-columns:1fr;padding:0 12px 10px;gap:8px}.reactor-page .lab-molecules{min-height:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:8px}.reactor-page .lab-scene-divider{padding:0;height:22px;font-size:19px}.lab-scene-divider span{transform:rotate(90deg);width:22px;height:22px}.reactor-page .lab-scene-label{padding:11px 0;font-size:12px}.structure-svg{max-height:128px}.structure-card{padding:9px}.structure-card-top{font-size:9px}.structure-tally{font-size:10px}.structure-card-bottom strong{font-size:21px}.structure-card-bottom b{font-size:11px}.structure-legend{padding:10px 14px 0;gap:5px}.structure-legend>span{width:100%;margin:3px 0}.structure-legend button{font-size:11px;padding:7px 10px;min-height:38px}.stage-note{font-size:10px!important;margin:11px 14px 0}.particle-stage #stage-status{font-size:11px;padding:11px 14px}.reactor-page .lab-feedback{padding:14px;gap:9px}.reactor-page .lab-actions{padding:15px 14px 0}.reactor-page #lab-observe{width:100%}.reactor-page .lab-explanation{margin:14px;font-size:12px}.reactor-page .lab-answer{margin:0 14px 15px}.reactor-page .redox-intro{padding:18px 14px 0}.reactor-page .redox-intro strong{font-size:17px}.reactor-page .redox-flow{padding:18px 14px}.reactor-page .electron-donor strong,.reactor-page .electron-acceptor strong{font-size:32px}.reactor-page .electron-donor small,.reactor-page .electron-acceptor small{font-size:11px}.reactor-page .redox-flow>p{font-size:12px}.reactor-page .reaction-learning{grid-template-columns:1fr;gap:20px}.reactor-page .lab-sources{margin-bottom:60px}.reaction-finder{margin:auto;width:calc(100vw - 18px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:17px}.reaction-finder header{padding:16px}.finder-intro{padding:12px 18px}.finder-suggestions button{min-height:36px;font-size:11px}#finder-input{font-size:16px}.finder-launcher{padding:10px 16px;font-size:12px;bottom:14px;right:14px}.structure-dialog{padding:22px;width:calc(100vw - 20px)}#structure-large{padding:12px}.structure-dialog h2{font-size:24px!important}}
@media(prefers-reduced-motion:reduce){.reactor-page *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
.reactor-page .reaction-knowledge{margin:30px 0;padding:28px;border:1px solid #d9dfcc;background:#f0f1e6;border-radius:18px}.reactor-page .knowledge-heading h3{font-size:28px;margin:12px 0}.reactor-page .knowledge-heading p{font-size:13px;color:#6a8172}.reactor-page #reaction-knowledge-cards{display:grid;gap:10px;margin-top:22px}.reactor-page .lab-knowledge-card{border:1px solid #d7dfce;border-radius:10px;background:#fffef9;overflow:hidden}.reactor-page .lab-knowledge-card summary{display:flex;align-items:center;gap:15px;padding:18px;cursor:pointer;list-style:none}.reactor-page .lab-knowledge-card summary::-webkit-details-marker{display:none}.reactor-page .lab-knowledge-card summary>span{font-size:11px;color:#879877}.reactor-page .lab-knowledge-card summary>strong{font-size:16px;flex:1}.reactor-page .lab-knowledge-card summary>b{font-size:20px;font-weight:400}.reactor-page .lab-knowledge-card[open] summary>b{transform:rotate(45deg)}.reactor-page .knowledge-lead{margin:0 20px 12px;font-weight:600;font-size:14px}.reactor-page .knowledge-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;padding:0 20px 20px;font-size:14px}.reactor-page .knowledge-references,.reactor-page .lab-knowledge-card nav{display:flex;gap:16px;flex-wrap:wrap;padding:0 20px 18px;font-size:12px}.reactor-page .knowledge-references a{text-decoration:underline;color:#607b70}@media(max-width:600px){.reactor-page .reaction-knowledge{padding:18px}.reactor-page .lab-knowledge-card summary{padding:15px;gap:10px}.reactor-page .lab-knowledge-card summary>strong{font-size:14px}}
