/* Learning text and scientific readings stay legible across every viewport. */
:root{--muted:#4d6253;--line:#d4dfd3}
body{font-size:15px}
.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}
.guide-panel{padding:23px;position:static}
.lab-cards{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));max-height:320px;gap:12px}
.lab-card{min-height:147px;padding:15px;border-color:#cbd7c5}
.lab-card.selected{padding:14.5px;border-color:#426d49;background:#edf5e4}
.lab-card h3{font-size:14px;line-height:1.6;color:#243b2c;padding-top:4px}
.lab-card p{font-size:12px;color:#4d6253}
.card-grade{font-size:11px;color:#425b43}
.new-lab-mark{font-size:10px;color:#315a39;background:#e4f0d9}
.card-number{color:#61745e;font-size:12px}
.lab-meta,#lab-level{font-size:12px;line-height:1.7;color:#435b46}
.workspace-heading h2{font-size:22px;line-height:1.5}
.welcome p,.grade-toolbar,.grade-toolbar span{font-size:14px;color:#4d6253;line-height:1.8}
.grade-toolbar select,button.plan-open-button{font-size:13px;min-height:42px}
.subject-tabs button,.search-box input{font-size:13px}
.subject-tabs button{min-height:42px}
.search-box{min-height:42px}
.guide-header h3{font-size:17px}.guide-header div>span,.guide-progress>div,.guide-progress strong{font-size:12px;color:#4d6253}
.step-body h4{font-size:15px;line-height:1.7;color:#294a34}
.step-body p{font-size:16px;line-height:1.9;color:#334b3b}
.guide-step:not(.active):not(.done) h4{color:#61705e}
.step-next{font-size:14px;min-height:44px;color:#284e34}
.step-dot{color:#365b3b;border-color:#a8bd9c;font-size:13px}
.guide-insight p,#insight{font-size:14px;line-height:1.9;color:#5e4e2c}
.guide-insight strong{font-size:14px;color:#534421}
.equipment-section h3{font-size:15px}.equipment-item strong{font-size:13px;color:#294332}
.equipment-item small{font-size:12px;line-height:1.8;color:#4d6253}
.equipment-item{align-items:flex-start;padding:12px 0}
.current-model{font-size:14px;color:#334b3b}.current-model summary{font-size:14px;color:#284f36}
.current-model .formula{font-size:14px}.current-model .source-link{font-size:12px}
.controls-panel{padding:22px}.controls-heading h3{font-size:16px}.controls-heading>span{font-size:12px;color:#4d6253}
.sliders{gap:22px;grid-template-columns:repeat(2,minmax(0,1fr))}
.slider-row label{font-size:14px;line-height:1.7;color:#334b3b}
.numeric-control{font-size:15px;min-width:65px;max-width:90px;min-height:36px;color:#294a34}
.slider-output{font-size:12px;color:#4d6253;flex-shrink:0}.slider-range{font-size:12px;color:#4d6253}
.select-row select{font-size:14px;min-height:44px}.control-hint{font-size:12px;color:#4d6253;line-height:1.8}
.trial-note{font-size:13px;color:#4d6253}.primary-button,.record-button,.trial-button{font-size:13px;line-height:1.6;min-height:44px}
.primary-button{color:#fff;background:#244d3c}.record-button{color:#315439;border-color:#aebfa3}
.time-rate-picker,.elapsed{font-size:12px;color:#4d6253}.simulation-actions{gap:12px}
.lab-stage{height:440px;border-color:#cbd7c5}
.stage-topline{font-size:12px}.space-tag,.sim-state{font-size:12px;color:#425a43}
.stage-bottomline>span,.stage-bottomline button{font-size:12px;color:#425a43}
.stage-bottomline{bottom:12px}.scene-tools .icon-button{width:38px;height:38px;color:#335941}
.scene-readout{position:static;max-width:none;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;margin-top:14px;padding:15px 20px;border:1px solid #c1d3b9;border-radius:12px;background:#f1f7e9;box-shadow:none}
.scene-readout>span:first-child{font-size:14px;line-height:1.7;color:#315439;max-width:50%}
.scene-readout>div{display:flex;align-items:baseline;gap:8px;margin:0}
.scene-readout strong{font-size:30px;color:#234b32;line-height:1.3}
.scene-readout strong.text-value{font-size:20px;max-width:none}
.scene-readout #primary-unit{font-size:14px;color:#425a43}.readout-caption{font-size:11px;color:#425a43;margin-left:auto}
.scene-label{font-family:var(--font)!important;font-size:12px!important;line-height:1.6!important;white-space:normal!important;max-width:min(290px,70%)!important;text-align:center;background:rgba(255,255,251,.96)!important;color:#294332!important}
.measurements{padding:22px}.section-heading h3{font-size:16px}.section-heading button{font-size:13px;color:#315439;min-height:40px}
.reading>span{font-size:13px;color:#4d6253}.reading strong{font-size:23px;color:#315439}.reading small{font-size:12px;color:#4d6253}
.chart-head,.chart-series-picker,#chart-empty,.chart-axis-note{font-size:13px;line-height:1.8;color:#4d6253}
#chart{height:auto;min-height:135px}#chart text{font-size:11px;fill:#334b3b}
.quiz-title{font-size:16px;line-height:1.8}.quiz-option{font-size:15px;line-height:1.8;min-height:48px;color:#304737;padding:12px}
.quiz-option>span{color:#4d6253}.quiz-feedback{font-size:14px;color:#365440;line-height:1.9}.quiz-option.correct{color:#245135;border-color:#3e794f}.quiz-option.wrong{color:#7b3925;border-color:#ac6550}
.completion h4{font-size:18px}.completion p,.free-mode p{font-size:15px;color:#425a43}.free-mode h4{font-size:16px}
.eyebrow{font-size:12px;color:#4d6253}.guide-badge{display:none}
.explore-footer strong{font-size:14px;color:#365440}.explore-footer div>span,.footer-note{font-size:12px;color:#4d6253;line-height:1.8}
.page-footer,.page-footer button{font-size:12px;color:#4d6253}
.nav-item{font-size:12px;color:#425a43}.nav-item.active{color:#244d3c}.sidebar-label,.sidebar-help{font-size:12px;color:#4d6253}
.sidebar-journey p,.sidebar-bottom div>span{color:#4d6253;font-size:11px}
.breadcrumb,.live-label{font-size:12px;color:#4d6253}
dialog{max-width:820px}.dialog-intro,.help-steps p,.model-card p,.model-info-note,.dialog-empty p{font-size:15px;color:#425a43;line-height:1.9}
.help-steps h3,.model-card h3{font-size:16px}.source-link{font-size:13px;color:#285a3a}
.notebook-row header,.note-values{font-size:14px}.notebook-row header>span,.note-footer,.delete-note{font-size:12px;color:#4d6253}
.note-field{display:block;font-size:13px;font-weight:600;color:#365440;margin-top:16px}.notebook-row textarea{font-size:15px;line-height:1.8;color:#304737;min-height:80px;margin-top:6px;border-color:#abbfa0}
.achievement h3{font-size:14px}.achievement p{font-size:12px;color:#4d6253}.toast{font-size:14px}
.theory-panel{margin-top:20px;border:1px solid #cad9c7;border-radius:13px;padding:24px;background:#fff}
.theory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.theory-kicker{font-size:12px;color:#496846}.theory-heading h3{font-size:20px;line-height:1.5;margin:6px 0 0}
.theory-heading label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#425a43;max-width:100%}
.theory-heading select{font:inherit;font-size:14px;padding:10px;border:1px solid #99b28c;border-radius:7px;background:#f6faf2;color:#294a34;max-width:100%}
.theory-scope{font-size:12px;color:#4d6253;line-height:1.8;margin:18px 0 12px}
.level-explanation{padding:16px 18px;background:#edf6e5;border-left:4px solid #4e7842;border-radius:4px}
.theory-panel p,.theory-panel li{font-size:16px;line-height:1.9;color:#304737}.level-explanation p{margin:0}
.theory-details{margin-top:18px;border-top:1px solid #d4dfd3;padding-top:17px}
.theory-details>summary{cursor:pointer;font-size:16px;font-weight:600;color:#294e34;line-height:1.7}
.theory-details h4{font-size:16px;margin:22px 0 8px}.theory-details p{margin:10px 0}.theory-panel .formula{font-size:16px;line-height:1.8;overflow-wrap:anywhere;color:#294a34}
.theory-terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.theory-terms>div{background:#f3f6f0;border:1px solid #dbe4d5;border-radius:8px;padding:12px}
.theory-terms dt{font-size:15px;font-weight:600;overflow-wrap:anywhere}.theory-terms dt span{font-weight:400}.theory-terms dd{font-size:14px;line-height:1.8;color:#425a43;margin:6px 0 0}
.misconception{background:#fff5e1;border-left:4px solid #ad7b28;padding:1px 16px 12px;margin-top:20px}
.theory-sources a{display:block;font-size:14px;color:#215840;text-decoration:underline;line-height:1.8;margin:8px 0;overflow-wrap:anywhere}
.inquiry-details li{padding-left:5px;margin-bottom:12px}
.topic-investigation ol{padding-left:25px}.topic-investigation li{padding-left:6px;margin:14px 0}.expected-result{margin:18px 0;padding:14px 18px;background:#eef6e6;border:1px solid #ccddbf;border-radius:8px}.expected-result summary{cursor:pointer;color:#294e34;font-size:15px;font-weight:600;line-height:1.8}.expected-result p{margin-bottom:0}
.prediction-box{border-top:1px solid #d4dfd3;margin-top:20px;padding-top:15px;color:#334b3b}
.prediction-box summary{font-size:14px;font-weight:600;cursor:pointer;line-height:1.8}
.prediction-box label{display:block;font-size:14px;margin:15px 0 8px}
.prediction-box textarea{width:100%;min-height:85px;resize:vertical;font:inherit;font-size:15px;padding:12px;border:1px solid #a8bd9c;border-radius:8px;color:#304737;background:#fff;line-height:1.8}
.prediction-box p{font-size:12px;line-height:1.8;color:#4d6253}
@media(max-width:1240px){.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.sliders{grid-template-columns:1fr}.controls-heading>span{display:none}.lab-cards{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}}
@media(max-width:1050px){.workspace{grid-template-columns:1fr}.guide-panel{display:block}.lab-cards{display:flex}.lab-card{flex:0 0 176px}.sidebar .nav-item{font-size:0}.guide-panel #equipment{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sliders{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-stage{height:460px}}
@media(max-width:760px){main{padding:22px 14px 0}.welcome p{font-size:14px}.welcome .outline-button{top:90px}.lab-cards{margin-right:-14px;padding-right:14px}.subject-tabs{gap:5px}.subject-tabs button{font-size:12px;padding:9px}.subject-tabs button svg{width:16px;height:16px}.workspace-heading h2{font-size:19px}.lab-meta{font-size:12px;flex-wrap:wrap}.mode-switch button{font-size:12px;min-height:42px;padding:9px}.workspace-top{gap:15px}.lab-stage{height:390px}.stage-topline{left:12px;right:12px}.space-tag{font-size:11px}.stage-bottomline>span{font-size:10px;max-width:190px}.stage-bottomline button{font-size:12px;min-height:38px}.scene-tools{right:8px;top:54px}.scene-label{font-size:11px!important;max-width:68%!important;padding:4px 7px!important}.scene-readout{padding:14px;gap:8px 18px}.scene-readout>span:first-child{max-width:none;width:100%}.scene-readout .readout-caption{margin-left:auto}.controls-panel,.measurements,.theory-panel,.guide-panel{padding:19px}.sliders{grid-template-columns:1fr}.slider-row label{font-size:14px}.controls-heading h3{font-size:15px}.primary-button,.record-button,.trial-button{font-size:13px}.reading>span{font-size:12px}.reading strong{font-size:22px}.section-heading h3{font-size:15px}.theory-heading h3{font-size:19px}.theory-heading label{width:100%}.theory-terms{grid-template-columns:1fr}.theory-panel p,.theory-panel li,.step-body p{font-size:16px}.guide-panel #equipment{grid-template-columns:1fr}.page-footer{font-size:11px}.page-footer button{font-size:12px}.breadcrumb{font-size:11px}.explore-footer div>span{font-size:12px}.progress-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Model inspection is shared by every laboratory. */
.scene-hotspot{pointer-events:auto!important;cursor:pointer;min-width:40px!important;width:40px!important;height:40px;display:grid;place-content:center;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;background:#235b72!important;color:#fff!important;font-size:16px!important;font-weight:700!important;box-shadow:0 0 0 2px #235b72,0 4px 12px #14394b40!important;z-index:3!important}
.scene-hotspot[aria-pressed=true]{background:#a44b24!important;box-shadow:0 0 0 3px #a44b24,0 4px 14px #14394b40!important;transform:translate(-50%,-50%) scale(1.08)!important}
.scene-hotspot:focus-visible{outline:4px solid #da9f31;outline-offset:5px}
.visual-explorer{margin-top:18px;border:1px solid #c8d6d8;border-radius:13px;padding:22px;background:#fff}
.explorer-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.explorer-header h3{font-size:18px;line-height:1.6;margin:4px 0 0}
.view-presets{display:flex;gap:4px;flex-wrap:wrap;padding:4px;background:#eff4f5;border-radius:9px}.view-presets button{font:inherit;font-size:12px;padding:9px 11px;border:0;border-radius:6px;color:#35515d;background:transparent;min-height:38px}.view-presets button[aria-pressed=true]{background:#245b72;color:#fff}
.explorer-intro{font-size:14px;line-height:1.9;color:#445a63;margin:16px 0}
.focus-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.focus-choices button{display:flex;align-items:center;gap:10px;font:inherit;font-size:14px;line-height:1.7;text-align:left;background:#f7fafa;border:1px solid #bdd0d5;padding:12px;border-radius:9px;color:#294d5e;min-height:58px}.focus-choices b{flex:0 0 28px;height:28px;display:grid;place-content:center;border-radius:50%;background:#245b72;color:#fff}.focus-choices button[aria-pressed=true]{background:#eef5f7;border-color:#245b72;box-shadow:inset 0 0 0 1px #245b72}
.focus-detail{margin-top:16px;padding:18px;background:#f0f6f7;border-radius:9px;border-left:4px solid #2d6177}.focus-detail h4{font-size:16px;margin:0 0 9px}.focus-detail p{font-size:15px;line-height:1.9;color:#304f5d;margin:0 0 18px}.focus-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.focus-control{display:flex;flex-direction:column;gap:9px;min-width:0;color:#294d5e;font-size:13px;line-height:1.6}.focus-control input{accent-color:#245b72;width:100%;min-height:30px;cursor:pointer}.focus-control select{font:inherit;color:#294d5e;background:#fff;border:1px solid #9bb8c2;padding:10px;border-radius:6px;max-width:100%}.focus-control output{font-variant-numeric:tabular-nums;color:#20485d;font-weight:600}.focus-control[hidden],.focus-detail[hidden]{display:none}
.visual-model-note{font-size:12px;line-height:1.9;color:#52646b;margin:18px 0;padding-top:14px;border-top:1px solid #e0e8e9}.text-action{font:inherit;font-size:13px;color:#245b72;text-decoration:underline;border:0;background:transparent;padding:14px 0 0;text-align:left;line-height:1.8}
.slider-row.focus-related{border-left:3px solid #245b72;padding-left:12px;background:#f1f6f7;border-radius:4px}
.comparison-tools{display:flex;gap:9px;flex-wrap:wrap}.comparison-tools button{font:inherit;font-size:12px;color:#294d5e;padding:10px 12px;border:1px solid #b5cbd0;background:#f6fafb;border-radius:7px;min-height:40px}.comparison-tools button[hidden],.visual-comparison[hidden]{display:none}.visual-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f8f7ef;border:1px solid #e2dec9;border-radius:8px;padding:16px;margin-top:14px}.visual-comparison>div{min-width:0;display:flex;flex-direction:column;gap:5px}.visual-comparison span,.visual-comparison small{font-size:12px;line-height:1.8;color:#53605b}.visual-comparison strong{font-size:19px;color:#314a42;overflow-wrap:anywhere}.visual-comparison p{grid-column:1/-1;font-size:13px;line-height:1.8;color:#435b50;margin:0}.visual-comparison>small{grid-column:1/-1}.explorer-feedback{font-size:12px;line-height:1.8;color:#355b68;margin:10px 0 0}.explorer-feedback:empty{display:none}
.trial-scrub{margin-top:16px;padding:18px;background:#edf4f5;border:1px solid #c8d6d8;border-radius:10px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:13px;color:#294d5e;line-height:1.8}.trial-scrub[hidden]{display:none}.trial-scrub input{min-width:150px;flex:1;accent-color:#245b72}.trial-scrub output{font-variant-numeric:tabular-nums}
@media(max-width:760px){.visual-explorer{padding:18px}.focus-choices,.focus-controls{grid-template-columns:1fr}.view-presets{width:100%}.view-presets button{flex:1}.scene-hotspot{min-width:44px!important;width:44px!important;height:44px;font-size:16px!important}.view-presets button,.comparison-tools button{min-height:44px}.focus-control input{min-height:44px}.focus-detail{padding:15px}.trial-scrub>span{width:100%}.visual-comparison{gap:10px}.visual-comparison strong{font-size:17px}}
