.embedded-lab body{grid-template-rows:minmax(0,1fr)}
.embedded-lab .top,.embedded-lab #catalog,.embedded-lab #parents,.embedded-lab>.skip{display:none}
.embedded-lab .studio{grid-row:1;min-height:0}
.embedded-lab #level{display:none}
@media(max-width:550px){
 .top{gap:5px;padding-inline:5px}
 .top .tracknav{gap:0}.top .tracknav a{font-size:12px;padding-inline:5px;white-space:nowrap}
 .top .brand{gap:3px;font-size:15px}.top .search{max-width:100px;flex:1 1 45px;padding:1px 3px}.top .search input{width:100%;min-width:0}
}
@media(max-width:700px){.embedded-lab .board{height:var(--board-height,50dvh)}.embedded-lab .notes{min-height:32dvh}}


.railbar:has(#bookpick[hidden]) #editionpick{display:none}
.railbar{flex-wrap:wrap}
body{grid-template-columns:minmax(0,1fr)}
.top,.studio,.notes{min-width:0}
.railbar .filterlabel{min-width:0}
@media(min-width:701px) and (max-width:1000px){
  .railbar{gap:4px 7px}
  .railbar #filter{max-width:160px}
  .book-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
}
#focusline{margin:5px 0;color:#f3d39b;font-size:13px}
#promptline{margin:3px 0;color:#d4e6df;font-size:14px;line-height:1.55}
#lessonSources{display:flex;flex-wrap:wrap;gap:3px 12px;margin:4px 0}
#lessonSources:empty{display:none}
#lessonSources a{color:#aee2d0;text-underline-offset:.18em;font-size:12px}
#sourceCoverLink{display:none}
.reading-source #sourceCoverLink{display:grid;place-items:center;position:absolute;inset:5%}
#sourceCoverLink img{max-width:100%;height:100%;max-height:100%;object-fit:contain}
.thumbnail img{max-width:100%;height:100%;object-fit:contain}
.reading-source :is(.zoom-tools,.grid-toggle,.equation,.tools,.key,.challenge,#drawing){display:none}
#practicePicture{margin:4px 0 7px;color:#c6dfd5;font-size:12px}
#practicePicture summary{cursor:pointer;width:fit-content;padding:4px 0}
#practiceFrames figure{margin:4px 0 8px}
#practiceFrames svg{display:block;width:min(100%,420px);height:auto;max-height:185px;border:1px solid #5e7b86;border-radius:3px;background:#193547}
#practiceFrames figcaption{margin-top:3px;color:#e1e7da;line-height:1.5}
#relatedPractice:not([hidden]){display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 12px;margin:9px 0;font-size:12px}
#relatedPractice strong{color:#f3d39b}
#relatedPractice a{color:#b6e7d5;text-underline-offset:.18em}
#activityPicker:not([hidden]){display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px;margin:8px 0;font-size:12px}
#activityPicker strong{color:#f4d4a0;margin-right:3px}
#activityPicker a{background:#214352;border:1px solid #728a91;color:#deebe2;padding:2px 6px;border-radius:3px;text-decoration:none}
#activityPicker a[aria-current]{background:#efcf94;color:#193343;border-color:#efcf94}
