
#linkCodingLab[data-view="frame"] .lc-body{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:54px minmax(0,1fr)!important;gap:12px!important}
.frame-presenter-toolbar{display:flex;align-items:center;gap:18px;min-width:0;height:54px;box-sizing:border-box;padding:6px 12px;background:var(--settings-surface);border:1px solid var(--frame-border);border-radius:7px}
.frame-presenter-title{font:700 18px/24px 'Segoe UI',sans-serif;color:var(--section-ink);min-width:160px}
.frame-presenter-protocol{display:flex;align-items:center;gap:9px;margin-left:auto;font:600 15px/22px 'Segoe UI',sans-serif;white-space:nowrap}
#linkCodingLab .frame-presenter-protocol select{width:122px;min-width:122px;height:36px;min-height:36px;box-sizing:border-box;padding:4px 24px 4px 8px;line-height:22px}
.frame-presenter-nav{display:flex;align-items:center;gap:7px;flex:none}
#linkCodingLab .frame-presenter-nav>button{display:grid;place-items:center;width:30px;min-width:30px;height:30px;min-height:30px;box-sizing:border-box;padding:0;border-radius:6px}
.frame-presenter-nav>button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.frame-presenter-dots{display:flex;gap:6px;align-items:center}
#linkCodingLab .frame-presenter-dots button{width:12px;min-width:12px;height:12px;min-height:12px;box-sizing:border-box;padding:0;border-radius:50%;border:1px solid var(--muted);background:var(--control)}
#linkCodingLab .frame-presenter-dots .is-revealed{background:var(--section-ink);border-color:var(--section-ink)}
#linkCodingLab .frame-presenter-dots [aria-current="step"]{outline:2px solid var(--section-ink);outline-offset:2px}
.frame-presenter-nav output{font:600 14px/22px Consolas,monospace;color:var(--text);min-width:42px;text-align:center}
#linkCodingLab .frame-presenter-play{width:100px;min-width:100px;height:34px;min-height:34px;box-sizing:border-box;padding:4px 8px}
.frame-presenter-play.is-reserved{visibility:hidden;pointer-events:none}
#linkCodingLab[data-view="frame"] .lx-frame-content{width:100%;grid-column:1;grid-row:2}
#linkCodingLab .frame-presenter-toolbar button:focus-visible{outline:2px solid var(--section-ink)!important;outline-offset:2px!important}
#wsChapterDialog:has(#linkCodingLab[data-view="frame"]):focus-visible,#wsChapterDialog:has(#mediumLab):focus-visible{outline:none!important}
@media(max-width:1360px){.frame-presenter-toolbar{gap:10px}.frame-presenter-title{min-width:130px;font-size:16px}.frame-presenter-protocol{gap:6px}}

#linkCodingLab[data-view="frame"] .lx-frame-content{height:100%;min-height:0;box-sizing:border-box;grid-template-rows:minmax(0,1fr) auto 24px!important;gap:10px}
#linkCodingLab[data-view="frame"] .lx-frame-content.lx-frame-running{grid-template-rows:minmax(75px,.7fr) minmax(85px,.8fr) auto 24px!important}
#linkCodingLab[data-view="frame"] .lx-frame-content>p{margin:0;font-size:13px;line-height:18px}
.frame-presenter-protocol{column-gap:10px!important}

#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-content{padding-top:12px;grid-template-rows:minmax(0,1fr) auto 24px!important;gap:10px!important}
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-content.lx-frame-running{grid-template-rows:minmax(75px,.7fr) minmax(85px,.8fr) auto 24px!important}
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-bar{min-height:0}

#linkCodingLab .frame-presenter-toolbar>.frame-presenter-protocol{display:flex!important;align-items:center;gap:10px!important;margin-left:0}
#linkCodingLab .frame-presenter-nav{width:auto!important;min-width:0;justify-content:flex-end;margin-left:auto;flex:none}

.frame-presenter-protocol.is-reserved{visibility:hidden;pointer-events:none}

/* Keep the graphic, transmission and explanation on identical tracks at every step. */
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-content,
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-content.lx-frame-running{
 grid-template-rows:minmax(0,1fr) minmax(0,.85fr) 160px 36px!important;
}
#linkCodingLab .frame-presenter-title{width:200px;min-width:200px;flex:0 0 200px}
#linkCodingLab .lx-frame-transmission.is-reserved{visibility:hidden;pointer-events:none}
#linkCodingLab[data-view="frame"] .lc-explanation{overflow:hidden}
#linkCodingLab[data-view="frame"] .lx-frame-content>p{align-self:start}
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-bar{height:100%;min-height:0;max-height:none;align-self:stretch}
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-bar>button{gap:6px;padding:6px;min-height:0}
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-bar b{font-size:26px}
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-content>p{height:36px;line-height:18px!important}
#wsChapterDialog #linkCodingLab[data-view="frame"] .lx-frame-running>.lx-frame-bar{display:flex}
/* The first transmitted field leads at the right edge of a right-moving stream. */
#linkCodingLab .lx-stream-track,#linkCodingLab .lx-moving-frame{flex-direction:row-reverse}
