/* Econometrics, Chapter 8 (Heteroskedasticity and Robust Standard Errors): only what this page adds to lab.css and unit.css. */
#ec8-lab .lab-view canvas:focus{outline:none}
#ec8-lab .lab-view canvas:focus-visible{outline:2px solid var(--sim-acc);outline-offset:-2px;border-radius:14px}
#ec8-lab .lab-tools button{min-width:36px;min-height:36px}
#ec8-lab .lab-tools button:disabled{opacity:.4;cursor:default}
#ec8-lab .lab-seg button{min-height:36px}
#ec8-lab .lab-field input[type=range]{min-height:36px;margin:0}
#ec8-lab .lab-chk{min-height:36px;cursor:pointer}
#ec8-lab .lab-chk input{width:18px;height:18px;accent-color:var(--acc);flex:0 0 auto}
#ec8-lab .lab-btn{min-height:36px}
#ec8-lab .lab-missions li button{min-height:36px;padding:.3rem .85rem}
#ec8-lab .lab-readout dd{white-space:nowrap}
#ec8-lab .lab-readout dt{line-height:1.35}
#ec8-lab .lab-sec .lab-stage{margin:1rem 0}
#ec8-lab .lab-cols>div>p:last-child{margin-bottom:.9rem}
#ec8-lab .u-ex ul,#ec8-lab .u-ex ol{padding-left:1.2rem}
#ec8-lab .u-ex .lab-formula{margin:.4rem 0}
#ec8-lab .ec8-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
#ec8-lab .ec8-pk{color:#c2255c}#ec8-lab .ec8-gr{color:#0b7a55}#ec8-lab .ec8-bl{color:#1971c2}#ec8-lab .ec8-gd{color:#9c6b00}#ec8-lab .ec8-rd{color:#c92a2a}
html[data-theme="dark"] #ec8-lab .ec8-pk{color:#f9a8d4}html[data-theme="dark"] #ec8-lab .ec8-gr{color:#63e6be}html[data-theme="dark"] #ec8-lab .ec8-bl{color:#74c0fc}html[data-theme="dark"] #ec8-lab .ec8-gd{color:#ffd479}html[data-theme="dark"] #ec8-lab .ec8-rd{color:#ff8787}
#ec8-lab .ec8-step{margin:0;font-size:.88rem;line-height:1.5;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:.5rem .65rem;min-height:5.5em}
#ec8-lab .ec8-prac{list-style:none;counter-reset:pq;padding:0;margin:.5rem 0;display:grid;gap:.7rem}
#ec8-lab .ec8-prac>li{counter-increment:pq;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:.7rem .9rem}
#ec8-lab .ec8-prac>li>p:first-child{margin:0 0 .3rem}
#ec8-lab .ec8-prac>li>p:first-child::before{content:counter(pq) ". ";font-weight:700;color:var(--acc)}
#ec8-lab .ec8-lvl{display:inline-block;font:700 .68rem system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gt);background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:.05rem .45rem;margin-right:.35rem;vertical-align:1px}
#ec8-lab .ec8-prac summary{cursor:pointer;font-weight:600;color:var(--acc);padding:.35rem 0;font-size:.9rem}
#ec8-lab .ec8-prac details>div{background:var(--paper);border-radius:8px;padding:.5rem .75rem;margin-top:.2rem}
#ec8-lab .ec8-prac details>div p{margin:.25rem 0}
#ec8-lab .ec8-mid{height:min(62vh,500px);min-height:360px}
#ec8-lab .lab-table td,#ec8-lab .lab-table th{font-variant-numeric:tabular-nums}
@media (max-width:860px){
  #ec8-lab .lab-hud{display:none}
  #ec8-lab .ec8-mid{height:min(64vh,460px);min-height:340px}
}
@media (max-width:600px){
  #ec8-lab .lab-toast{font-size:.8rem;max-width:84%;padding:.4rem .7rem;top:3.2rem}
  #ec8-lab .lab-hero .lab-mark{font-size:3rem}
}
@media (min-width:861px){#ec8-lab .lab-stage>.lab-view{position:sticky;top:.8rem}}
#ec8-lab .ec8-tall{height:min(78vh,680px);min-height:540px}
#ec8-lab .ec8-mid{height:min(72vh,600px);min-height:480px}
@media (max-width:860px){#ec8-lab .ec8-tall{height:700px;max-height:none}#ec8-lab .ec8-mid{height:680px}}
@media (max-width:600px){#ec8-lab .ec8-tall{height:780px}#ec8-lab .ec8-mid{height:720px}}
