/* The shared sidebar owns its container; page-specific styles stay in main. */
body .app:has(>aside[data-shared-sidebar]){grid-template-columns:254px minmax(0,1fr)!important}
body .app>aside[data-shared-sidebar]{box-sizing:border-box!important;display:block!important;position:sticky!important;top:0!important;width:254px!important;min-width:0!important;max-width:100%!important;height:100dvh!important;margin:0!important;padding:20px 14px!important;background:#fcfdfb!important;border:0!important;border-right:1px solid #dfe7e1!important;overflow:auto!important}
body .app>aside[data-shared-sidebar]>:not([data-sidebar-component]){display:none!important}
@media(max-width:800px){body .app:has(>aside[data-shared-sidebar]){display:block!important}body .app>aside[data-shared-sidebar]{position:static!important;width:100%!important;height:auto!important;padding:18px 14px!important;border-right:0!important;border-bottom:1px solid #dfe7e1!important}}

/* Native learner pages keep their task-only app layout. */
body[data-native-learner="true"] .app>aside[data-shared-sidebar]{display:none!important}
