.bp-space-shell{max-width:1440px;margin:24px auto;padding:20px}.bp-space-context{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:18px;background:#edf4ef;border:1px solid #d3e2d9;border-radius:12px;margin-bottom:20px}.bp-space-identity{display:flex;align-items:center;gap:10px}.bp-space-identity img{border-radius:50%}.bp-space-pedagogy{font-size:.9rem}.bp-space-pedagogy label{margin:4px 0}.bp-space-pedagogy small{display:block;max-width:280px}.bp-space-balances{display:flex;flex-wrap:wrap;gap:16px;margin-left:auto;font-size:.82rem}.bp-space-balances strong{display:block;font-size:1rem}.bp-space-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px}.bp-space-sidebar{display:flex;flex-direction:column;align-self:start;position:sticky;top:36px;max-height:calc(100vh - 55px);overflow:auto;padding:12px;border:1px solid #d3e2d9;border-radius:10px;background:#fff}.bp-native .bp-space-nav{display:block;border:0;margin:0;padding:0}.bp-space-nav-group{margin:12px 0;border-top:1px solid #d3e2d9;padding-top:10px}.bp-space-nav-group summary{font-weight:700;cursor:pointer;padding:9px 4px}.bp-space-nav-children{padding-left:10px}.bp-native .bp-space-nav-item{display:block;padding:9px 10px;border-radius:6px;text-decoration:none;overflow-wrap:anywhere}.bp-space-nav-item:hover{background:#edf4ef}.bp-native .bp-space-nav-item--active{background:#17654f;color:white;font-weight:650}.bp-space-logout{margin-top:24px;padding:12px 10px;border-top:1px solid #d3e2d9}.bp-space-content{min-width:0;overflow-wrap:anywhere}.bp-space-content h1{font-size:1.7rem}.bp-space-content .woocommerce-MyAccount-navigation{display:none}.bp-space-content .woocommerce-MyAccount-content{float:none;width:100%}.bp-space-content .woocommerce table td{white-space:normal}.bp-space-content .woocommerce{max-width:100%;overflow-x:auto}.bp-space-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bp-space-cards a{border:1px solid #d3e2d9;background:#f6f9f7}.bp-space-represented{padding:16px;border-left:4px solid #b87522;background:#fff4df;margin-bottom:20px}.bp-space-mobile-toggle,.bp-space-mobile-close,.bp-space-backdrop{display:none}.bp-space-skip{position:absolute;left:-10000px}.bp-space-skip:focus{position:static}.bp-space-layout:not(:has(.bp-space-sidebar)){grid-template-columns:1fr}
@media(max-width:900px){.bp-space-shell{padding:14px;margin:12px auto}.bp-space-context{padding:12px;gap:12px}.bp-space-balances{margin-left:0}.bp-space-layout{display:block}.bp-native .bp-space-mobile-toggle{display:block;margin-bottom:16px}.bp-native .bp-space-mobile-close{display:block;margin-bottom:12px}.bp-space-sidebar{position:fixed;z-index:100002;left:0;top:0;bottom:0;width:min(300px,85vw);max-height:100dvh;transform:translateX(-110%);border-radius:0;transition:transform .15s}.bp-space-shell[data-menu-open] .bp-space-sidebar{transform:translateX(0)}.bp-native .bp-space-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0008;z-index:100001;border-radius:0;width:100%;height:100%;padding:0}.bp-space-cards{grid-template-columns:1fr}.bp-space-content{width:100%}.bp-space-pedagogy small{font-size:.75rem}}@media(prefers-reduced-motion:reduce){.bp-space-sidebar{transition:none}}
/* Compact context components; business views and sidebar retain their existing styles. */
.bp-space-shell .bp-space-context{gap:10px;padding:8px 12px;line-height:1.3}
.bp-space-identity{min-width:0;font-size:.85rem;gap:7px}.bp-space-identity img{width:30px;height:30px;flex-shrink:0}.bp-space-identity span{overflow-wrap:anywhere}
.bp-space-shell .bp-space-pedagogy{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
.bp-context-popover{position:relative;margin:0;min-width:0;max-width:100%}
.bp-native .bp-context-capsule,.bp-context-help>summary{display:block;list-style:none;cursor:pointer;background:#f7faf8;border:1px solid #cdded3;border-radius:7px;box-shadow:0 1px 2px #173d2410;padding:6px 9px;color:#174f3d;font-size:.82rem;line-height:1.3;overflow-wrap:anywhere}
.bp-context-popover>summary::-webkit-details-marker{display:none}.bp-context-capsule:hover,.bp-context-help>summary:hover{background:#e0eee5}.bp-context-popover>summary:focus-visible,.bp-space-balance:focus-visible{outline:3px solid #17654f;outline-offset:2px}
.bp-space-shell .bp-context-panel{position:absolute;z-index:100;left:0;top:calc(100% + 6px);width:250px;max-width:calc(100vw - 48px);background:#fff;border:1px solid #cdded3;border-radius:8px;padding:12px;box-shadow:0 4px 16px #153b2420;font-size:.85rem}
.bp-space-shell .bp-context-panel label{display:block;margin:0 0 8px}.bp-space-shell .bp-context-panel select{display:block;width:100%;min-width:0;margin:4px 0;padding:7px;font-size:.9rem}.bp-space-shell .bp-context-panel small{display:block;margin-bottom:8px}.bp-space-shell .bp-context-panel button{padding:7px 12px;font-size:.85rem}
.bp-context-help>summary{padding:4px;border:0;background:transparent;box-shadow:none}.bp-context-help .bp-context-panel{left:auto;right:0}
.bp-space-shell .bp-space-balances{display:flex;flex-wrap:nowrap;gap:5px;margin-left:auto;min-width:0}
.bp-native a.bp-space-balance{display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0;padding:6px 9px;background:#f7faf8;border:1px solid #d3e2d9;border-radius:7px;color:#174f3d;text-decoration:none;font-size:.69rem;line-height:1.3}
.bp-space-balance strong{display:block;font-size:.87rem;white-space:nowrap;margin-top:2px}.bp-native a.bp-space-balance:hover{background:#dfeee4}
@media(min-width:1200px){.bp-space-context{flex-wrap:nowrap}.bp-space-identity{max-width:230px}.bp-space-pedagogy{flex-shrink:0}}
@media(max-width:1199px){.bp-space-shell .bp-space-balances{margin-left:0}.bp-space-context{flex-wrap:wrap}}
@media(max-width:600px){.bp-space-identity{width:100%}.bp-space-shell .bp-space-balances{width:100%}.bp-native a.bp-space-balance{padding:6px;font-size:.67rem}.bp-space-balance strong{font-size:.8rem}.bp-space-pedagogy{position:relative;width:100%}.bp-context-popover{position:static}.bp-space-shell .bp-context-panel{left:0;right:auto;top:calc(100% + 6px)}}
@media(min-width:1200px){.bp-space-balance>span{white-space:nowrap}.bp-native a.bp-space-balance{flex:0 0 auto}.bp-space-shell .bp-space-balances{flex-shrink:0}}

.bp-space-pedagogy .bp-context-sector{order:1}.bp-space-pedagogy .bp-context-popover:has(select[name="preferred_language"]){order:0}.bp-space-pedagogy .bp-context-popover:has(select[name="framework_id"]):not(:has(select[name="preferred_language"])){order:2}.bp-space-pedagogy .bp-context-popover:has([data-bp-context-level]){order:3}.bp-space-pedagogy .bp-context-help{order:4}@media(min-width:1200px){.bp-space-pedagogy{flex-shrink:1;max-width:55%}.bp-context-capsule{max-width:220px}}
