﻿/* Host-only layout for the unchanged original DevKit course frontend. */
body[data-route="shelf"],
body[data-route="learn"],
body[data-route="report"]{overflow:hidden}
body[data-route="shelf"] #site-footer,
body[data-route="learn"] #site-footer,
body[data-route="report"] #site-footer{display:none}
body[data-route="shelf"] #main-content,
body[data-route="learn"] #main-content,
body[data-route="report"] #main-content{width:100%;margin:0;padding:0;min-width:0;min-height:0;outline:none}
body[data-route="shelf"] #app,
body[data-route="learn"] #app,
body[data-route="report"] #app{width:100%;min-width:0;min-height:0;margin:0;padding:0}
.learning-original-host{height:var(--kb-course-height,calc(100dvh - 85px));width:100%;min-height:0;min-width:0;overflow:hidden;background:#f6f8fc}
.learning-original-frame{display:block;width:100%;height:100%;min-width:0;min-height:0;border:0;background:#f6f8fc;color-scheme:light}
/* Cancel the previous custom lesson's condensed header. Keep the host header
   identical to the site's current white header, including the mobile menu. */
body[data-route="learn"] .site-header .header-inner{min-height:84px}
body[data-route="learn"] .site-header .main-nav{height:84px}
body[data-route="learn"] .site-header .nav-link.active:after{bottom:18px}
@media(max-width:760px){
  body[data-route="learn"] .site-header .header-inner{min-height:72px}
  body[data-route="learn"] .site-header .header-actions .btn{min-height:37px}
  .learning-original-host{height:var(--kb-course-height,calc(100dvh - 73px))}
}
