/* One aligned learner header: brand left; progress/account/audio right. */
body.demo-mode .topbar{box-sizing:border-box;display:flex!important;align-items:center;justify-content:flex-start;gap:12px;height:76px;min-height:76px;padding:0 max(16px,calc((100vw - 1200px)/2 + 16px));margin:0;position:relative}
body.demo-mode .topbar>.mobile-brand{display:flex!important;align-items:center;gap:4px;flex:0 1 auto;min-width:0;margin:0 auto 0 0;white-space:nowrap;font-size:23px;line-height:1.2;order:1}
body.demo-mode .topbar>.home-top-nav{display:none!important}
body.demo-mode .topbar>.topbar-right{display:flex;align-items:center;flex:0 0 auto;gap:0;margin:0;order:2}
body.demo-mode .topbar-right>*{display:none!important}
body.demo-mode .topbar-right>.stat-chip:has(#xpValue){display:flex!important;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:44px;min-width:78px;margin:0;padding:7px 12px;white-space:nowrap}
body.demo-mode .topbar-right>.stat-chip:has(#xpValue) small{display:inline;font-size:11px}
body.demo-mode .topbar>.deployment-account-link{display:flex;position:static;inset:auto;order:3;flex:0 0 44px;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;align-items:center;justify-content:center;z-index:auto}
body.demo-mode .topbar>.instruction-speaker{position:static;order:4;flex:0 0 44px;box-sizing:border-box;width:44px;height:44px;min-height:44px;margin:0;padding:6px;align-self:center}
@media(max-width:650px){body.demo-mode .topbar{height:64px;min-height:64px;padding:0 12px;gap:6px}body.demo-mode .topbar>.mobile-brand{font-size:18px;gap:3px}body.demo-mode .topbar .mobile-brand .brand-mark{width:30px;height:30px;min-width:30px;font-size:18px;border-radius:9px}body.demo-mode .topbar-right>.stat-chip:has(#xpValue){min-width:60px;padding:6px;gap:4px;font-size:14px}}
@media(max-width:350px){body.demo-mode .topbar{padding:0 10px;gap:5px}body.demo-mode .topbar>.mobile-brand{font-size:16px;gap:2px}body.demo-mode .topbar .mobile-brand .brand-mark{width:26px;height:26px;min-width:26px;font-size:16px}body.demo-mode .topbar-right>.stat-chip:has(#xpValue){min-width:48px;padding:6px 5px}body.demo-mode .topbar-right>.stat-chip:has(#xpValue)>span:first-child{display:none}}
@media(max-width:290px){body.demo-mode .topbar{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px;height:auto;min-height:112px;padding-block:7px;gap:6px}body.demo-mode .topbar>.mobile-brand{grid-column:1/3;grid-row:1;justify-self:start}body.demo-mode .topbar>.topbar-right{grid-column:3;grid-row:1}body.demo-mode .topbar>.deployment-account-link{grid-column:2;grid-row:2}body.demo-mode .topbar>.instruction-speaker{grid-column:3;grid-row:2}}
