.calc-export-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 20px}
.lesson-body .calc-export-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 16px;border:2px solid #276b57;border-radius:10px;background:white;color:#194f3d;font:700 14px/1.4 Arial,sans-serif;cursor:pointer;box-shadow:0 2px 6px #163f3010}
.lesson-body .calc-export-actions button:last-of-type{background:#246b55;color:white}.lesson-body .calc-export-actions button:focus-visible{outline:3px solid #d79832;outline-offset:3px}.lesson-body .calc-export-actions button:disabled{opacity:.6;cursor:wait}
.calc-export-status{font:14px/1.5 Arial,sans-serif;color:#35594a}.calc-export-status:empty{display:none}
/* Visible input boundaries across the calculator library, with a distinct focus ring. */
[data-calculator-page] :is(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select,math-field){border:2px solid #38806b!important;box-shadow:none;border-radius:10px}
[data-calculator-page] :is(input:not([type=range]),textarea,select,math-field):focus-visible,[data-calculator-page] math-field:focus-within{outline:none!important;border-color:#1c604a!important;box-shadow:0 0 0 3px #38806b20}
@media(max-width:600px){.calc-export-actions{justify-content:center}.calc-export-actions button{flex:1;min-width:130px}}
/* Isolated, fixed-width export content. Never render site navigation or ads. */
.calc-export-stage{position:absolute!important;left:-20000px!important;top:0!important;width:676px!important;background:white!important;color:#183c38!important;font:16px/1.7 Arial,sans-serif!important;z-index:-1;pointer-events:none}
.calc-export-stage .export-block{box-sizing:border-box;width:676px!important;padding:14px 16px;margin:0!important;overflow:visible!important;background:white!important;color:#183c38!important;border:1px solid #cedbd3;border-radius:10px}
.calc-export-stage :is(h2,h3,h4){font:700 19px/1.5 Arial,sans-serif!important;margin:0 0 10px!important;color:#183c38!important}.calc-export-stage p{font:16px/1.8 Arial,sans-serif!important;margin:8px 0!important;white-space:normal!important}
.calc-export-stage :is(.math-scroll,.arithmetic-scroll,.solver-equation,.native-equation,.sci-row-answer){contain:none!important;overflow:visible!important;width:auto!important;max-width:none!important;min-width:0!important;max-height:none!important;height:auto!important}
.calc-export-stage .math-scroll{padding:3px!important;display:block!important}.calc-export-stage .math-scroll-inline{display:inline-block!important;vertical-align:middle!important}
.calc-export-stage :is(mjx-container,svg){max-width:none!important;overflow:visible!important}.calc-export-stage mjx-container{font-size:105%!important}.calc-export-stage mjx-container[display=true]{margin:12px 0!important;padding:8px 0!important;width:max-content!important;min-width:0!important}
.calc-export-stage img.export-math{display:block;max-width:100%!important;height:auto!important;margin:10px auto}.calc-export-stage .export-inline img.export-math{display:inline-block;margin:0 3px;vertical-align:middle}
.calc-export-stage table{width:100%;border-collapse:collapse;font:16px/1.5 Arial,sans-serif}.calc-export-stage th,.calc-export-stage td{padding:10px;text-align:center;border:1px solid #9cb8a8}.calc-export-stage th:first-child{border-right:3px solid #315c48}.calc-export-stage tbody tr:not(:last-child)>*{border-bottom:2px solid #48765e}.calc-export-stage caption{font-size:14px;text-align:left;margin-bottom:10px}.calc-export-stage .ladder-divided{background:#eaf6ed;font-weight:700}.calc-export-stage .ladder-held{color:#52685c}.calc-export-stage .ladder-product{margin-top:16px}
.calc-export-stage :is(button,input,select,textarea,.ladder-scroll-tip,.solver-eyebrow,.sci-row-number,mjx-assistive-mml){display:none!important}.calc-export-stage li{list-style:none}.calc-export-stage .sci-row{display:block!important}
