@media(max-width:800px){
 /* Keep the navigation in the page flow: content must not slide behind a transparent header. */
 html body.learning-builder header.shared-site-header.reference-nav:is(.nav,.learn-header,.shared-site-header){position:relative!important;inset:auto!important;top:auto!important;margin:calc(env(safe-area-inset-top,0px) + var(--shared-header-top)) auto 0!important;z-index:10}
 html body.learning-builder .learn-header-spacer{display:none!important;height:0!important}
 html body.learning-builder[data-learning-scene=home] .learn-hero{min-height:max(300px,calc(100svh - 150px))!important}
 body.learning-builder :is(#learning-app,#learning-view,.learn-page,.learn-builder-layout,.learn-stage-main,.learn-stage-content,.learn-schedule,.learn-mobile-lessons,.learn-session-list){min-width:0!important;max-width:100%;box-sizing:border-box}
 body.learning-builder[data-learning-scene=schedule] .learn-schedule.learn-schedule-mobile{display:flex!important;flex-direction:column;gap:16px!important}
 body.learning-builder[data-learning-scene=schedule] .learn-schedule-mobile .learn-schedule-progress{order:0!important}
 body.learning-builder[data-learning-scene=schedule] .learn-schedule-mobile .learn-mobile-lessons{order:1!important}
 body.learning-builder[data-learning-scene=schedule] .learn-schedule-mobile .learn-calendar-settings{order:2!important}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons{width:100%;padding:18px 14px!important}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons>h2{margin:0 0 14px}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-list{display:flex!important;flex-direction:column;gap:8px!important}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-row{display:block!important;float:none;min-width:0;width:100%;overflow:hidden;margin:0!important;padding:0!important}
 body.learning-builder[data-learning-scene=schedule] .learn-session-toggle{display:flex;width:100%;min-width:0;min-height:68px;align-items:center;gap:12px;padding:10px;border:0;border-radius:18px;background:transparent;color:var(--m-ink);font:inherit;text-align:left}
 body.learning-builder[data-learning-scene=schedule] .learn-session-copy{min-width:0;flex:1;overflow-wrap:anywhere}
 body.learning-builder[data-learning-scene=schedule] .learn-session-copy strong{display:block;font-size:15px;line-height:1.4;font-weight:600}
 body.learning-builder[data-learning-scene=schedule] .learn-session-copy small{display:block;margin-top:4px;font-size:13px;line-height:1.3;color:var(--m-muted)}
 body.learning-builder[data-learning-scene=schedule] .learn-session-chevron{flex:none;font-size:20px;color:var(--m-muted)}
 body.learning-builder[data-learning-scene=schedule] .learn-session-toggle[aria-expanded=true] .learn-session-chevron{transform:rotate(180deg)}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-fields{clear:none!important;display:none!important;grid-template-columns:minmax(0,1fr)!important;gap:12px;padding:0 12px 16px!important;width:100%;box-sizing:border-box}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-row.is-current .learn-session-fields:not([hidden]){display:grid!important}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-fields .learn-field{display:grid!important;gap:5px;min-width:0;width:100%;font-size:14px!important;line-height:1.4}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-fields input,
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-fields select{display:block;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;min-height:50px!important;height:50px!important;margin:0!important;padding:8px 12px!important;font-size:16px!important;line-height:1.2}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-fields input[type=date]{-webkit-appearance:none;appearance:none;overflow:hidden}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-fields input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}
 body.learning-builder[data-learning-scene=schedule] .learn-calendar-settings{width:100%;box-sizing:border-box}
 body.learning-builder[data-learning-scene=schedule] .learn-calendar-settings .learn-fields{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px}
 body.learning-builder[data-learning-scene=schedule] .learn-calendar-settings .learn-field{min-width:0;width:100%;font-size:14px!important}
 body.learning-builder[data-learning-scene=schedule] .learn-calendar-settings :is(input,select){width:100%!important;min-width:0!important;max-width:100%;box-sizing:border-box}
 body.learning-builder .learn-builder-actions{grid-template-columns:auto minmax(0,1fr)!important}
 body.learning-builder .learn-builder-actions .learn-button{min-width:0;white-space:normal}
 body.learning-builder .learn-dock-total{min-width:0;flex-wrap:wrap}
 body.learning-builder .learn-dock-total span{min-width:0}
 body.learning-builder .learn-page-title,body.learning-builder .learn-page-lead{overflow-wrap:anywhere}
}
@media(max-width:800px){body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-row .learn-session-number{background:#aacaa9!important;color:#182a1c!important}}
@media(max-width:800px){
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-row .learn-session-number{background:#79777c!important;color:#fff!important}
 body.learning-builder[data-learning-scene=schedule] .learn-mobile-lessons .learn-session-row.is-complete .learn-session-number{background:#aacaa9!important;color:#182a1c!important}
}
/* The mobile learning welcome screen follows the supplied light reference. */
@media(max-width:800px){
 html.cgd-light body.learning-builder[data-learning-scene=home],body.learning-builder[data-learning-scene=home]{background:#fafafa!important;color:#231f1e!important}
 html.cgd-light body.learning-builder[data-learning-scene=home]::before,body.learning-builder[data-learning-scene=home]::before{background:radial-gradient(ellipse 72% 37% at 50% 51%,rgba(255,181,144,.51),rgba(255,210,184,.25) 45%,rgba(250,250,250,0) 85%),#fafafa!important}
 html.cgd-light body.learning-builder[data-learning-scene=home] header.shared-site-header.reference-nav .site-brand img{filter:brightness(0)!important}
 html.cgd-light body.learning-builder[data-learning-scene=home] header.shared-site-header.reference-nav .reference-menu{background:#fff!important;border-color:#d8d8d6!important}
 html.cgd-light body.learning-builder[data-learning-scene=home] header.shared-site-header.reference-nav .reference-menu a{color:#20201f!important}
 html.cgd-light body.learning-builder[data-learning-scene=home] header.shared-site-header.reference-nav .reference-menu a[aria-current]{background:#262524!important;color:white!important}
 html.cgd-light body.learning-builder[data-learning-scene=home] header.shared-site-header.reference-nav .reference-actions :is(.learn-theme-toggle,.lang-switch,.telegram){background:#fff!important;color:#222!important;border-color:#d6d5d2!important}
 body.learning-builder[data-learning-scene=home] .learn-hero{min-height:max(360px,calc(100svh - 142px))!important;padding:0 clamp(28px,10vw,52px) max(25px,calc(18px + env(safe-area-inset-bottom,0px)))!important}
 body.learning-builder[data-learning-scene=home] .learn-ref-home{display:grid!important;grid-template-rows:minmax(30px,1fr) auto minmax(105px,170px) auto;align-content:stretch;gap:0!important;min-height:100%;width:100%}
 body.learning-builder[data-learning-scene=home] .learn-ref-home h1,html.cgd-light body.learning-builder[data-learning-scene=home] .learn-ref-home h1{grid-row:2;align-self:end;max-width:13ch;margin:0;color:#630f0b!important;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif!important;font-size:clamp(30px,7.7vw,43px)!important;font-weight:700!important;line-height:1.13;letter-spacing:-.045em}
 body.learning-builder[data-learning-scene=home] .learn-ref-home h1 span,html.cgd-light body.learning-builder[data-learning-scene=home] .learn-ref-home h1 span{display:inline;color:inherit!important}
 body.learning-builder[data-learning-scene=home] .learn-home-arrow{grid-row:3;align-self:center;justify-self:center;display:block;width:clamp(115px,38vw,165px);height:auto;max-height:90%;overflow:visible}
 body.learning-builder[data-learning-scene=home] .learn-ref-cta,html.cgd-light body.learning-builder[data-learning-scene=home] .learn-ref-cta{grid-row:4;display:flex;align-items:center;justify-content:center;min-height:58px;width:100%;box-sizing:border-box;padding:12px 16px;border:0;border-radius:999px;background:#111!important;color:#fff!important;font-size:15px;font-weight:650;line-height:1.25;text-align:center;box-shadow:0 7px 18px #0004;backdrop-filter:none}
}
@media(max-width:800px) and (max-height:650px){body.learning-builder[data-learning-scene=home] .learn-hero{min-height:calc(100svh - 105px)!important}body.learning-builder[data-learning-scene=home] .learn-ref-home{grid-template-rows:minmax(10px,1fr) auto minmax(70px,110px) auto}body.learning-builder[data-learning-scene=home] .learn-home-arrow{width:100px}}
@media(max-width:800px){body.learning-builder[data-learning-scene=home] .learn-ref-home{flex:1 1 auto}}
@media(max-width:800px){
 body.learning-builder[data-learning-scene=home]{display:flow-root!important}
 body.learning-builder[data-learning-scene=home] .learn-ref-home h1 span{font-weight:inherit!important;letter-spacing:inherit!important}
}
