.neuron-lab{
background:#eef5f3;
color:#183c36;
font-family:var(--font-sans);
font-size:14px}
.neuron-lab button,.neuron-lab input,.neuron-lab select{
font:inherit}
.neuron-lab button{
cursor:pointer}
.neuron-lab button:disabled{
cursor:wait;
opacity:.5}
.neuron-lab a{
color:inherit}
.neuron-lab :focus-visible{
outline:3px solid #1b9691;
outline-offset:4px}
.neuron-lab [hidden]{
display:none!important}
.neuron-lab main{
max-width:1600px;
margin:auto;
padding:27px 4vw 0}
.lab-intro{
display:flex;
align-items:center;
justify-content:space-between;
gap:20px;
margin-bottom:25px}
.eyebrow{
letter-spacing:0;
font-size:11px;
font-weight:600}
.lab-intro h1{
font-family:var(--font-serif);
font-size:clamp(30px,3.5vw,48px);
font-weight:400;
line-height:1.12;
margin:8px 0}
.lab-intro p:last-child{
color:#546e68;
font-size:14px}
.model-tag{
font-size:11px;
border:1px solid #c5dad3;
padding:9px 13px;
border-radius:30px;
white-space:nowrap}
.model-tag i{
display:inline-block;
background:#25857b;
width:6px;
height:6px;
border-radius:50%;
margin-right:5px}
.preset-bar{
display:flex;
gap:10px;
align-items:center;
margin-bottom:20px}
.preset-bar>span{
font-size:11px;
color:#61766f;
margin-right:10px}
.preset-bar button{
background:transparent;
border:1px solid #cbddd7;
border-radius:5px;
color:#668078;
padding:11px 14px;
font-size:11px;
display:flex;
gap:12px;
align-items:center}
.preset-bar b{
font-weight:500;
color:#25483f}
.preset-bar button.selected{
border-color:#548d81;
background:#e0eee8}
.laboratory{
display:grid;
grid-template-columns:265px minmax(0,1fr);
border:1px solid #c6d8d2;
border-radius:9px;
overflow:hidden;
box-shadow:0 12px 38px #123c3109}
.settings-panel{
background:#f8fbf9;
padding:22px 22px 20px;
display:flex;
flex-direction:column}
.panel-label{
font-size:12px;
font-weight:600;
display:flex;
justify-content:space-between;
margin-bottom:23px}
.panel-label span{
font-size:18px;
color:#78938b}
.settings-panel fieldset{
border:0;
min-width:0;
padding:0}
.mode-switch{
display:flex;
background:#e6efeb;
border-radius:5px;
padding:3px;
margin-bottom:10px}
.mode-switch button{
width:50%;
padding:8px 5px;
border:0;
border-radius:3px;
color:#57736b;
background:transparent;
font-size:12px}
.mode-switch button[aria-pressed=true]{
background:#fff;
color:#164e42;
box-shadow:0 1px 4px #123c3110}
.control-help{
font-size:11px;
color:#6c8078;
line-height:1.55;
margin-bottom:20px}
.control{
margin:19px 0}
.control label{
display:flex;
justify-content:space-between;
gap:5px;
font-size:11px;
color:#45635a;
margin-bottom:10px}
.control output{
font-size:11px;
color:#1a4a3c;
font-weight:600;
white-space:nowrap;
font-variant-numeric:lining-nums tabular-nums}
.neuron-lab input[type=range]{
width:100%;
height:5px;
accent-color:#22776b;
cursor:pointer;
margin:7px 0 10px}
.range-ends{
display:flex;
justify-content:space-between;
color:#7e938c;
font-size:11px}
.check-row{
display:flex;
align-items:flex-start;
gap:8px;
font-size:11px;
line-height:1.5;
margin:17px 0}
.check-row input{
accent-color:#22776b;
margin-top:2px;
width:14px;
height:14px}
.check-row small{
display:block;
font-size:11px;
color:#788d84}
.compare-control{
border-top:1px solid #dce6e0;
padding-top:17px}
.run-button{
width:100%;
margin-top:7px;
padding:12px 13px;
background:#176857;
color:#fff;
border:0;
border-radius:4px;
display:flex;
justify-content:space-between;
font-size:12px!important}
.run-button:hover{
background:#105342}
.secondary-actions{
display:flex;
justify-content:space-between;
margin-top:12px}
.secondary-actions button{
border:0;
background:none;
padding:0;
font-size:11px;
color:#687d74}
.run-status{
font-size:11px;
color:#61776d;
line-height:1.5;
margin:15px 0;
min-height:30px}
.question-note{
border-left:2px solid #c3d6cb;
padding-left:12px;
margin-top:auto;
padding-top:2px}
.question-note .eyebrow{
font-size:11px;
color:#718a7e}
.question-note p{
font-family:var(--font-serif);
font-size:18px;
line-height:1.35;
margin-top:6px}
.instrument{
min-width:0;
background:#0d1b28;
color:#dde8ed;
padding:22px 26px 0}
.instrument-top{
display:flex;
justify-content:space-between;
align-items:center;
gap:12px}
.instrument .eyebrow{
font-size:11px;
color:#87a79e}
.instrument h2{
font-family:var(--font-serif);
font-weight:400;
font-size:25px;
margin-top:5px;
line-height:1.2}
.condition{
font-size:11px;
color:#c7d6d9;
border:1px solid #2b414c;
padding:6px 9px;
border-radius:4px}
.scene-wrap{
margin-top:6px}
#axonScene{
width:100%;
height:170px;
display:block}
.scene-caption{
display:flex;
justify-content:space-between;
gap:10px;
color:#8ba0aa;
font-size:11px;
line-height:1.5;
padding-bottom:15px}
.voltage-key{
display:flex;
align-items:center;
gap:6px;
white-space:nowrap}
.voltage-key i{
display:inline-block;
width:65px;
height:5px;
background:linear-gradient(90deg,#466d9b,#68b9b1,#f5b955);
border-radius:3px}
.transport{
border-top:1px solid #263947;
border-bottom:1px solid #263947;
display:flex;
gap:10px;
align-items:center;
padding:12px 0}
.transport button{
background:#1d3543;
border:1px solid #38505c;
color:#e0edf0;
border-radius:4px;
padding:6px 10px;
font-size:11px;
white-space:nowrap}
.transport button:first-child{
min-width:74px;
background:#edb35f;
color:#142634;
border-color:#edb35f}
.transport #timeline{
flex:1;
min-width:40px;
margin:0;
accent-color:#edb35f}
.transport output{
font-size:11px;
color:#beced2;
white-space:nowrap;
font-variant-numeric:lining-nums tabular-nums}
.transport select{
background:#142b38;
color:#c5d6dc;
border:1px solid #3a505b;
border-radius:4px;
padding:4px;
font-size:11px}
.plot-header{
display:flex;
justify-content:space-between;
align-items:center;
gap:8px;
margin-top:18px}
.plot-header h3{
font-size:11px;
font-weight:500;
color:#c0cfd5}
.plot-legend{
display:flex;
gap:12px;
flex-wrap:wrap;
font-size:11px;
color:#aabfc7}
.plot-legend span{
display:flex;
align-items:center;
gap:5px}
.plot-legend i{
width:14px;
border-top:2px solid var(--trace)}
#voltagePlot{
display:block;
width:100%;
height:195px}
.readings{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
border-top:1px solid #263947;
border-bottom:1px solid #263947}
.readings>div{
padding:13px 15px}
.readings>div:first-child{
padding-left:0}
.readings>div+div{
border-left:1px solid #263947}
.readings span{
display:block;
color:#95aeb9;
font-size:11px}
.readings strong{
display:block;
font-family:var(--font-serif);
font-weight:400;
font-size:27px;
color:#e9b866;
line-height:1.3;
margin:3px 0;
font-variant-numeric:lining-nums tabular-nums}
.readings small{
display:block;
color:#8da3af;
font-size:11px;
line-height:1.4}
.probe-controls{
display:grid;
grid-template-columns:1fr 1fr 1.3fr;
gap:20px;
margin-top:14px;
font-size:11px;
color:#b9cbd0}
.probe-controls label{
display:block}
.probe-controls output{
float:right;
color:#e6bf7c}
.probe-controls input{
accent-color:#8dbfb3!important}
.probe-controls p{
color:#829ca8;
font-size:11px;
line-height:1.6}
.result-summary{
font-size:11px;
line-height:1.7;
color:#9cb4bd;
padding:12px 0 17px}
.below-lab{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:25px;
margin-top:22px;
font-size:12px}
.below-lab details{
max-width:850px;
flex:1}
.below-lab summary{
cursor:pointer;
color:#325e50}
.methods{
padding:15px 0;
color:#587169;
font-size:12px;
line-height:1.8}
.methods p+p{
margin-top:10px}
.below-lab>button{
background:none;
color:#325e50;
border:1px solid #c4d8cf;
border-radius:4px;
padding:9px 13px;
font-size:11px;
white-space:nowrap}
.lab-footer{
margin-top:28px;
padding:18px 0 23px;
border-top:1px solid #cbded8;
display:flex;
justify-content:space-between;
gap:15px;
color:#688278;
font-size:11px}
.lab-footer a{
text-decoration:none}
.sr-only{
position:absolute;
width:1px;
height:1px;
padding:0;
margin:-1px;
overflow:hidden;
clip:rect(0,0,0,0);
white-space:nowrap;
border:0}
.skip-link{
position:absolute;
left:10px;
top:-100px;
z-index:10;
background:white;
padding:10px}
.skip-link:focus{
top:8px}
@media(min-width:1450px){
#axonScene{
height:205px}
#voltagePlot{
height:220px}
.settings-panel{
padding:26px}
.laboratory{
grid-template-columns:290px minmax(0,1fr)}
}
@media(max-width:1000px){
.preset-bar{
gap:6px}
.preset-bar>span{
display:none}
.preset-bar button{
flex:1;
justify-content:center;
padding:10px 8px;
font-size:11px;
gap:6px}
.laboratory{
grid-template-columns:225px minmax(0,1fr)}
.settings-panel{
padding:20px 16px}
.instrument{
padding:20px 17px 0}
.scene-caption{
flex-direction:column}
.model-tag{
display:none}
.transport{
gap:6px}
.transport button{
padding:6px}
.readings strong{
font-size:23px}
.probe-controls{
gap:12px;
grid-template-columns:1fr 1fr}
.probe-controls p{
grid-column:1/-1}
.condition{
max-width:160px}
.plot-header{
align-items:flex-start;
flex-direction:column}
}
@media(max-width:700px){
.neuron-lab main{
padding:23px 16px 0}
.lab-intro{
margin-bottom:20px}
.lab-intro h1{
font-size:36px}
.preset-bar{
overflow:auto;
align-items:stretch;
margin-right:-16px;
padding-right:16px}
.preset-bar button{
flex:0 0 190px;
text-align:left;
justify-content:flex-start}
.laboratory{
display:flex;
flex-direction:column}
.settings-panel{
padding:18px}
.panel-label{
margin-bottom:12px}
.settings-panel fieldset{
display:grid;
grid-template-columns:1fr 1fr;
gap:0 20px}
.mode-switch,.settings-panel .control-help{
grid-column:1/-1}
.mode-switch{
max-width:280px;
margin-bottom:8px}
.control-help{
margin-bottom:0}
.control{
margin:14px 0 6px}
#axonControls{
display:contents}
.check-row{
margin:12px 0}
.compare-control{
border:0;
padding:0}
.question-note{
display:none}
.run-status{
margin:10px 0 0;
min-height:0}
.run-button{
margin-top:10px}
.instrument{
padding:20px 15px 0}
.instrument-top{
align-items:flex-start}
.condition{
font-size:11px;
max-width:130px}
.instrument h2{
font-size:23px}
#axonScene{
height:155px}
.scene-caption{
font-size:11px}
.transport{
flex-wrap:wrap}
.transport #timeline{
order:5;
flex-basis:100%;
margin:6px 0}
.transport output{
margin-left:auto}
.transport button{
padding:8px 12px}
.plot-header{
margin-top:15px}
#voltagePlot{
height:190px}
.readings>div{
padding:12px 8px}
.readings strong{
font-size:22px}
.readings span,.readings small{
font-size:11px}
.probe-controls{
gap:12px}
.probe-controls input{
margin-top:15px!important}
.below-lab{
flex-direction:column;
gap:16px}
.lab-footer{
line-height:1.6;
flex-direction:column;
gap:5px}
}
@media(prefers-reduced-motion:reduce){
html{
scroll-behavior:auto}
}
#toggleSettings{
display:none;
border:0;
background:none;
color:#176857;
font-size:11px;
padding:0}
@media(max-width:700px){
#toggleSettings{
display:block}
.settings-arrow{
display:none}
.settings-panel.collapsed fieldset{
display:none}
.settings-panel.collapsed .run-status{
font-size:11px}
.settings-panel.collapsed .panel-label{
margin-bottom:3px}
.settings-panel.collapsed .secondary-actions{
margin-top:9px}
.settings-panel.collapsed{
padding:15px 18px}
.lab-intro .eyebrow{
font-size:11px}
}
/* Reset legacy full-width form defaults inside this instrument. */
.neuron-lab button{
width:auto;
margin-bottom:0;
line-height:1.4}
.neuron-lab .run-button{
width:100%}
.neuron-lab .mode-switch button{
width:50%}
.neuron-lab select{
width:auto;
margin:0}
.neuron-lab input[type=range]{
padding:0;
border:0;
background:transparent}
.neuron-lab label{
font-weight:500}
.neuron-lab .probe-controls label{
color:#b9cbd0;
font-size:11px;
margin:0}
@media(max-width:420px){
.control label{
flex-direction:column;
gap:4px}
.control output{
font-size:12px}
.neuron-lab input[type=range]{
height:18px}
.instrument-top{
gap:6px}
.condition{
max-width:110px}
.probe-controls input{
height:24px!important}
}
