/* Scientific diagrams are rendered in CSS pixels; numeric units are SI. */
body[data-em-lab] .em-playback{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:0 0 12px}
body[data-em-lab] .em-playback button,body[data-em-lab] .em-presets button{min-height:42px;padding:8px 12px;border:1px solid #c6d8e6;border-radius:5px;background:#f3f7fb;color:#315e80;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer}
body[data-em-lab] .em-playback .primary{background:#285f87;color:white;border-color:#285f87;min-width:76px}
body[data-em-lab] .em-playback .em-presets{display:flex;margin:0;gap:7px}
body[data-em-lab] .em-presets{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
body[data-em-lab] .em-seg{grid-template-columns:repeat(auto-fit,minmax(80px,1fr))}
body[data-em-lab] .em-controls .facts{display:block!important}
body[data-em-lab] .em-results .fact{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:10px;background:transparent!important;border:0!important;border-bottom:1px solid #e2eaf1!important;border-radius:0!important;padding:10px 0!important}
body[data-em-lab] .em-results .fact strong{text-align:right;white-space:normal;font-size:16px!important;font-variant-numeric:tabular-nums}
body[data-em-lab] .em-results .fact span{font-size:13px}
body[data-em-lab] .em-toggles label{display:flex;align-items:center;justify-content:flex-start;gap:9px;font-size:13px}
body[data-em-lab] .em-toggles input{width:18px;height:18px;min-height:18px;accent-color:#356f97}
body[data-em-lab] .em-status{font-size:13px;line-height:1.75;color:#3e607a;margin:8px 0}
body[data-em-lab] .em-observation{border-top:1px solid #e0e8ef;margin-top:10px;padding-top:10px;min-height:1.75em;color:#334e65!important;font-size:13.5px!important;line-height:1.75}
body[data-em-lab] .em-draggable{cursor:crosshair;touch-action:none}
body[data-em-lab] .screen-note{margin:10px 0 0!important;font-size:13.5px!important;line-height:1.75}
@media(max-width:540px){
 body[data-em-lab] .em-playback button{min-height:44px;flex:1;padding:8px 10px;font-size:12px}
 body[data-em-lab] .em-playback .primary{flex-basis:100%;white-space:nowrap}
 body[data-em-lab] .em-playback .em-presets{flex:3}
 body[data-em-lab] .em-presets button{min-height:44px;flex:1}
 body[data-em-lab] .em-results .fact strong{font-size:15px!important}
}
