/* v1.118: mobile controls and lab entry, with unchanged calculations. */
.lrl-coach .lrl-mobile-go,.edu-mobile-jump{display:none}
@media screen and (max-width:760px){
  html[data-education-theme]{scroll-behavior:auto}
  body[data-mobile-education] :is(button,.button,input,select,textarea,summary){max-width:100%;box-sizing:border-box}
  body[data-mobile-education] :is(button,.button,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),summary){min-height:44px}
  body[data-mobile-education] :is(button,.button){min-width:44px;white-space:normal;line-height:1.4}
  body[data-mobile-education] :is(input,select,textarea){font-size:16px!important}
  body[data-mobile-education] input[type=range]{min-height:44px;margin-block:6px;touch-action:pan-y}
  body[data-mobile-education] input[type=file]{width:100%;padding:0;font-size:14px!important;line-height:1.5}
  body[data-mobile-education] input[type=file]::file-selector-button{min-height:44px;font:inherit;padding:8px 10px;margin-right:8px;cursor:pointer}
  body[data-mobile-education] :is(input[type=checkbox],input[type=radio]){min-width:24px;min-height:24px}
  body[data-mobile-education] summary{padding-block:10px;line-height:1.5;cursor:pointer}
  body[data-mobile-education] .tools{gap:10px;align-items:center}
  body[data-mobile-education] .tools>label{min-width:0;max-width:100%}
  body[data-mobile-education] .tools>label select{max-width:100%;min-width:0}
  .edu-mobile-header{display:grid!important;grid-template-columns:minmax(0,1fr) 44px;gap:8px 12px;align-items:center;padding-block:14px!important}
  .edu-mobile-header>.brand{grid-column:1;grid-row:1;min-width:0;font-size:14px;line-height:1.4;gap:8px}
  .edu-mobile-header .brand img{width:38px;height:38px;flex:none}
  .edu-mobile-header .brand small{font-size:9px;line-height:1.4;letter-spacing:.08em}
  .edu-mobile-header .edu-brand-text{display:block}
  .edu-mobile-header>nav{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:0 16px;min-width:0;font-size:13px}
  .edu-mobile-header>nav a{display:inline-flex;align-items:center;min-height:44px}
  .edu-mobile-header>.edu-theme-tools{grid-column:2;grid-row:1;padding:0;width:44px}
  .edu-mobile-header .edu-theme-toggle{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;border-radius:50%;gap:0}
  .edu-mobile-header .edu-theme-label{display:none!important}
  .lrl-coach .lrl-mobile-go{display:inline-flex;justify-content:center;width:100%;font-size:14px;margin:4px 0 8px}
  .edu-mobile-jump{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 22px}
  .edu-mobile-jump a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid var(--edu-rule,#6d8069);border-radius:6px;color:var(--edu-fg,#193f35);background:var(--edu-control,#fffaf0);font-size:14px;line-height:1.4;text-decoration:none}
  .edu-mobile-jump a:focus-visible{outline:3px solid var(--edu-focus,#9a4c24);outline-offset:3px}
  #edu-mobile-bench,#controls,#experiment-controls{scroll-margin-top:16px}
  .edu-mobile-rain .tool-dock{display:block;padding:16px}
  .edu-mobile-rain .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 18px}
  .edu-mobile-rain .tool-grid button{min-height:64px;font-size:13px;padding:8px 4px}
  .edu-mobile-rain .tool-dock .range-label{display:block;font-size:14px;margin:14px 0 4px}
  .edu-mobile-rain .tool-dock .fine{font-size:13px;line-height:1.55;margin:6px 0 14px}
  .edu-mobile-rain .tool-dock .tools{display:flex;gap:8px;margin:16px 0}
  .edu-mobile-rain .tool-dock .tools button{font-size:13px;flex:1;padding:10px 8px}
  .edu-mobile-rain .tool-dock details{font-size:14px}
  .edu-mobile-rain :is(.view-tools,.view-controls,.scene-controls) label{font-size:12px;max-width:100%;flex-wrap:wrap}
  .edu-mobile-rain :is(.view-tools,.view-controls,.scene-controls) button{font-size:12px}
  .edu-mobile-rain .studio .tool-grid span{font-size:13px}
  .edu-mobile-rain .studio #tool-hint,.edu-mobile-rain .dock-small{font-size:13px;line-height:1.5}
  .edu-mobile-rain .dock-heading button{min-width:44px}
  .edu-mobile-rain .studio .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .edu-mobile-rain .scene-toolbar>div:not(.transport){flex-wrap:wrap;gap:8px}
}
@media print{.lrl-coach .lrl-mobile-go,.edu-mobile-jump{display:none!important}}
