/* Fixed complete logo: B and wordmark scale together without re-typesetting. */
:root{--beatroot-africa-size:min(220px,38vw,32dvh)!important}
.bb-opening img.bb-logo{width:min(580px,92vw)!important;height:auto!important;aspect-ratio:2 / 1!important;max-width:calc(100vw - 24px)!important;max-height:48dvh!important;object-fit:contain!important}
.bb-opening img.bb-africa{width:var(--beatroot-africa-size)!important;height:var(--beatroot-africa-size)!important;max-height:32dvh!important}
@media(prefers-reduced-motion:reduce){.bb-opening img.bb-logo{top:33%!important;width:min(440px,84vw)!important;max-height:36dvh!important}.bb-opening img.bb-africa{top:70%!important;width:min(145px,27vw,23dvh)!important;height:min(145px,27vw,23dvh)!important}}
@media screen{
.core-experience .app-topbar img{width:230px;max-width:min(58vw,230px);height:auto;object-fit:contain;flex-shrink:0}
.core-experience .sidebar-brand img{width:230px;max-width:100%;height:auto}
.teach-brand img{width:220px;max-width:100%;height:auto;object-fit:contain}
.site-header .logo{width:210px;height:auto;max-width:55vw;object-fit:contain}
.identity img{width:210px;height:auto;max-width:52vw;object-fit:contain}
.beatroot-loading img{width:min(440px,88vw)!important;height:auto!important;aspect-ratio:2 / 1;max-height:44dvh;object-fit:contain}
.app-opening .opening-logo{width:min(580px,92vw)!important;height:auto!important;aspect-ratio:2 / 1;max-height:48dvh!important}
}
.app-opening{background:#fff!important}.app-opening .opening-logo{filter:none!important}.app-opening .opening-africa{filter:invert(1)}

@media screen{body>header{height:auto;min-height:108px}body>header img.brand{width:210px;height:auto;max-width:54vw;object-fit:contain}}

@media screen{.core-experience .app-topbar img{width:300px;max-width:70vw}.learner>header img{width:280px;max-width:65vw;height:auto}.site-header .logo{width:280px;max-width:65vw}.identity img{width:260px;height:auto;max-width:60vw}.app-sidebar nav a,.teach-sidebar nav button,.teach-sidebar nav a{min-height:48px}button,input,select{border-radius:8px}button{min-height:44px}}
@media screen{header .brand-title,header .studio-title,header>span{font-size:15px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}header img{width:280px;height:auto;object-fit:contain}.project:hover,.project:hover *{color:#000!important}.storage{color:#555!important}}

@media screen{body,header,#home,#projects,.project,.emptyprojects{background:#fff!important;color:#000!important}header{padding:16px 24px!important;min-height:140px;height:auto!important;border-bottom:1px solid #ddd}#home .project button,#home .project span{color:inherit}#home button{border:1px solid #bbb}#home .project:hover{background:var(--app-accent)!important}#home p,#home small{color:#555}#workspace,#scoredock,#studioPanelBody,.piano-dock,.piano-controls,#studioPanelTabs,#studioTopbar,#studioMainTools,#studioEditTools,#scoreFlow,#passageTools,#quantizeTools,#scoreNavigation,#arrangementOverview,body.score-editing #mainmusic{background:#fff!important;color:#000!important}#studioTopbar button,#studioPanelTabs button,#studioTopbar summary{background:#fff!important;color:#000!important;border-color:#bbb!important}#studioPanelTabs button[aria-pressed=true]{background:var(--app-accent)!important;color:#000!important}#studioTopbar label,#studioTopbar span,#studioPanelBody label{color:#000!important}}

@media screen{#newempty{background:#000!important;color:#fff!important;border:1px solid #000!important}#new,#recoverScores{background:#fff!important;color:#000!important;border:1px solid #bbb!important}.score-create-actions button{min-height:44px!important;border-radius:8px!important}}

/* Keep the whole approved artwork inside the available brand area. */
@media screen{.core-experience .sidebar-brand,.teach-shell .teach-sidebar .teach-brand{display:block!important;overflow:visible!important;width:100%!important;height:auto!important;min-width:0;flex-shrink:0}.core-experience .sidebar-brand img,.teach-shell .teach-sidebar .teach-brand img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0!important;object-fit:contain!important;aspect-ratio:2 / 1}.app-topbar img,.site-header .logo,.identity img,.learner>header img,.teacher-score-logo,.starter-visible-logo{object-fit:contain!important;height:auto!important;object-position:center}.identity{flex-shrink:0}}

@media screen{#home #projects{background:#fff!important;border:0!important;border-radius:0!important;overflow:visible!important}#home .projectitem{background:#fff!important;color:#000!important;border:0!important;border-bottom:1px solid #ddd!important}#home .projectrow{background:#fff!important;color:#000!important;border:0!important;border-radius:0!important;box-shadow:none!important}#home .projectrow strong,#home .projectrow .arrow,#home .projecticon{color:#000!important}#home .projectrow small{color:#555!important}#home .projectrow:hover,#home .projectrow:focus-visible{background:var(--app-accent)!important;color:#000!important}#home .deleteproject{border:1px solid #ccc!important;border-radius:8px!important}body.score-editing #workspace :is(label,small,.hint),body.score-editing #studioTopbar :is(label,small,span){color:#000!important}body.score-editing :is(#scoreNavigation,#passageTools,.piano-controls) :is(label,span,small){color:#000!important}body.score-editing button:disabled{opacity:.6}}

@media screen{body.score-editing #workspace #scoreNavigation :is(label,span,output),body.score-editing #workspace #scoreNavigation .follow-score,body.score-editing #workspace .piano-controls :is(label,span,output),body.score-editing #workspace #studioPanelTabs #studioHidePanel,body.score-editing #workspace #overviewSectionTools :is(span,small){color:#000!important}}
@media screen{body.score-editing #workspace #pianowrap .piano-controls :is(label,span,output){color:#000!important}}
