/* Shared Beatroot identity, welcome and loading scale. */
html body .app.core-experience .app-sidebar .beatroot-header-brand,
html body .teach-shell .teach-sidebar .beatroot-header-brand,
html body main.learner:not(.beatroot-signin)>header.beatroot-app-header,
html body>header.score-app-header{background:var(--app-header-colour)!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:18px!important;padding:12px 22px!important;border-radius:24px!important;min-height:118px!important;border:0!important;box-shadow:none!important}
html body .beatroot-header-brand .app-header-title,
html body .learner>.beatroot-app-header .app-header-title,
html body>header.score-app-header .app-header-title{font:500 64px/1.1 'Dancing Script',cursive!important;text-align:left!important;margin:0!important;color:#000!important;transform:none!important;letter-spacing:0!important;justify-self:start!important}
html body .app.core-experience .app-sidebar nav button.active,
html body .app.core-experience .mobile-navigation button.active,
html body .teach-shell .teach-sidebar nav button.active.active,
html body main.learner .guide-sections button[aria-current=page]{background:var(--app-menu-selection)!important;color:#000!important;border-color:transparent!important}
html body .beatroot-header-brand .beatroot-header-session{grid-column:3!important;max-width:none!important}
html body>header.score-app-header>.score-signout{grid-column:3!important;justify-self:end!important}
html body .beatroot-welcome{background:transparent!important;border:0!important;box-shadow:none!important;padding:4px 0 12px!important;margin:0!important;min-height:0!important}
html body .beatroot-welcome h1{font:500 clamp(22px,2.5vw,30px)/1.25 Arial,sans-serif!important;margin:0!important;letter-spacing:0!important;color:#000!important;overflow-wrap:anywhere!important}
html body .africa-loading small,html body .africa-loading p{font:500 26px/1.1 'Dancing Script',cursive!important;font-size:26px!important;letter-spacing:0!important;margin:0!important;color:#000!important}
html body .africa-loading img{width:230px!important;height:230px!important;object-fit:contain!important;max-width:60vw!important;max-height:45dvh!important}
html body .post-login-loading{visibility:visible!important;animation:none!important;display:grid!important}
html body .learner .guide-sections button svg{width:32px!important;height:32px!important}
@media(max-width:600px){
html body .app.core-experience .app-sidebar .beatroot-header-brand,
html body .teach-shell .teach-sidebar .beatroot-header-brand,
html body main.learner:not(.beatroot-signin)>header.beatroot-app-header,
html body>header.score-app-header{padding:10px 14px!important;gap:12px!important;min-height:88px!important;grid-template-columns:auto minmax(0,1fr) auto!important;border-radius:20px!important}
html body .beatroot-header-brand .app-header-title,html body .learner>.beatroot-app-header .app-header-title,html body>header.score-app-header .app-header-title{font-size:42px!important}
html body .beatroot-header-brand a.sidebar-brand,html body .teach-shell .teach-sidebar .beatroot-header-brand a.teach-brand,html body .teach-shell .teach-sidebar .beatroot-header-brand a.teach-brand img,html body .beatroot-header-brand a.sidebar-brand img,html body main.learner:not(.beatroot-signin)>.beatroot-app-header>img,html body>header.score-app-header>img.brand{width:96px!important;height:70px!important;max-width:96px!important;max-height:70px!important;min-height:0!important;object-fit:contain!important}
html body .beatroot-welcome{padding:0 0 10px!important}
html body .app.core-experience .app-sidebar nav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;align-items:stretch!important;gap:8px!important;padding-bottom:6px!important;max-width:100%!important;scrollbar-width:thin!important}
html body .app.core-experience .app-sidebar nav button{flex:0 0 auto!important;width:auto!important;min-width:86px!important;min-height:70px!important;padding:10px 12px!important;white-space:nowrap!important;font-size:16px!important;display:flex!important;flex-direction:column!important;gap:6px!important}
html body .app.core-experience .app-sidebar nav button span{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
}
/* The editor retains its own toolbar and full activity views retain their own canvas. */
html body:has(#workspace:not([hidden]))>header.score-app-header{display:none!important}

html body main.signin.beatroot-signin .beatroot-signin-content,html body main.score-signin{width:min(100%,460px)!important;max-width:460px!important}
html body main.beatroot-signin .signin-logo-blob{width:100%!important;height:264px!important;max-height:34dvh!important;padding:0!important;margin:0 auto 22px!important;background:transparent!important;border-radius:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
html body main.beatroot-signin .signin-logo-blob img,html body main.score-signin>img,html body main.learner.beatroot-signin>.beatroot-app-header>img{display:block!important;width:min(330px,80vw)!important;max-width:330px!important;height:264px!important;max-height:34dvh!important;object-fit:contain!important;margin:0 auto!important}
html body main.score-signin>img{margin-bottom:22px!important}
html body main.beatroot-signin .app-script-name,html body main.score-signin .app-script-name{font:500 58px/1.1 'Dancing Script',cursive!important;margin:0 0 8px 4px!important;text-align:left!important;transform:rotate(-4deg)!important;transform-origin:left center!important;letter-spacing:0!important}
html body main.beatroot-signin .primary,html body main.score-signin .primary{font:600 20px/1.2 Arial,sans-serif!important;min-height:58px!important;border-radius:16px!important;padding:16px 20px!important;background:#000!important;color:#fff!important}
html body main.learner.beatroot-signin>.beatroot-app-header{margin:0 auto 22px!important;width:min(100%,460px)!important;height:264px!important;max-height:34dvh!important;min-height:0!important;background:transparent!important;padding:0!important;border:0!important;display:block!important}
html body main.learner.beatroot-signin>form{width:min(100%,460px)!important;margin:0!important}
