/* Isolate the lab from Reveal's typography and mobile canvas scaling. */
.reveal .slides > section.buffer-slide{padding:14px 30px!important;gap:6px}
.buffer-frame{width:100%;height:655px;border:1px solid var(--border);border-radius:12px;background:#f4f9fa}
.reveal .buffer-open{font-size:19px;margin:0}
@media(max-width:800px),(max-height:500px){
 body.w02-buffer-active .reveal .slides{width:100%!important;height:100%!important;left:0!important;top:0!important;margin:0!important;transform:none!important;perspective:none!important}
 body.w02-buffer-active .reveal .slides > section.buffer-slide.present{width:100%!important;height:calc(100dvh - 40px)!important;top:0!important;padding:5px!important;transform:none!important;display:flex!important}
 body.w02-buffer-active .buffer-frame{flex:1;min-height:0;height:auto}
 body.w02-buffer-active .reveal .buffer-open{font-size:16px;margin:3px 0}
 body.w02-buffer-active .reveal .controls{display:none}
}
