/* Desktop keeps the original navigation; only phones use the dropdown. */
.shell .account-menu{display:none}
@media(max-width:640px){
.shell .desktop-navigation{display:none!important}
.shell{display:block!important;min-height:100dvh}
.shell .sidebar{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:12px max(20px,calc((100vw - 1320px)/2))!important;background:#fff;border:0;border-bottom:1px solid #e4ebf2;overflow:visible!important;z-index:40}
.shell .sidebar .brand{padding:0;gap:10px;margin:0}.shell .sidebar .brand-logo{width:38px;height:38px}.shell .sidebar .brand strong{font-size:18px}.shell .sidebar .brand small{display:none!important}
.shell .account-menu{display:block;position:relative;margin:0!important;flex:none}
.shell .account-menu>summary{display:flex;align-items:center;gap:18px;list-style:none;cursor:pointer;padding:8px 13px;border:1px solid #d9e4f0;border-radius:8px;min-height:36px;background:#fff;color:#284d78;font-size:12px;font-weight:600}
.shell .account-menu>summary::-webkit-details-marker{display:none}.shell .account-menu[open]>summary{background:#f0f5fc}
.shell .account-menu .nav{position:absolute;right:0;left:auto;top:calc(100% + 8px);width:218px;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;padding:8px!important;background:#fff;border:1px solid #dce6f1;border-radius:12px;box-shadow:0 12px 36px #15334f22;max-height:70dvh;overflow:auto}
.shell .account-menu .nav button{display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-height:42px!important;padding:10px 12px!important;border-radius:7px;font-size:13px}
.shell .account-menu .nav button>span:last-child{display:inline!important;white-space:normal;color:inherit;font-size:13px!important}
.shell .account-menu .nav button>.icon{display:inline-block!important;min-width:18px;font-size:16px!important}
.shell .main{margin:0!important;padding:0!important;width:100%!important}
.shell .topbar{height:auto!important;min-height:0!important;position:relative;padding:14px max(20px,calc((100vw - 1320px)/2))!important;display:flex!important;gap:14px;background:#fff;border-bottom:1px solid #edf1f5}
.shell .topbar .sidebar-toggle{display:none!important}.shell .topbar .search{flex:1;max-width:100%;min-width:0}.shell .topbar .top-actions{flex:none}
}
.learning-panel-compact.commerce-page{padding-top:18px!important}
.learning-panel-compact>.page-heading{margin-bottom:12px!important}.learning-panel-compact>.page-heading>.eyebrow,.learning-panel-compact>.page-heading>p{display:none!important}
.learning-panel-compact>.page-heading h1{font-size:21px;margin:0 0 10px!important;line-height:1.4}
.learning-panel-compact .major-tabs{border:0;padding-bottom:0;margin-bottom:12px;gap:7px}
.learning-panel-compact .major-tabs>[data-major=""]{border:0;background:none;padding:0;font-size:11px;color:#6c8299;white-space:normal;text-align:left}
.learning-panel-compact .toolbar{margin:0 0 12px!important;gap:10px}.learning-panel-compact .toolbar h2{font-size:16px;margin:0}
.learning-panel-compact .lesson-progress-filters{margin-bottom:15px;gap:6px}
@media(max-width:640px){.shell .sidebar{padding:11px 16px!important}.shell .sidebar .brand strong{font-size:16px}.shell .sidebar .brand-logo{width:34px;height:34px}.shell .topbar{padding:10px 16px!important}.shell .topbar .top-actions{display:none!important}.shell .search{height:37px}.shell .search input{font-size:12px}.learning-panel-compact.commerce-page{padding:15px 16px 40px!important}.learning-panel-compact>.page-heading h1{font-size:20px}.learning-panel-compact .toolbar h2{font-size:15px}.learning-panel-compact .toolbar{align-items:flex-start}.learning-panel-compact .filters{gap:6px}.learning-panel-compact .filter{font-size:11px;padding:6px 10px}}

/* Portrait iPads use the same labeled dropdown; desktop and landscape rules stay intact. */
@media(min-width:641px) and (max-width:1200px){
.shell.tablet-portrait-navigation .desktop-navigation{display:none!important}
.shell.tablet-portrait-navigation{display:block!important;min-height:100dvh}
.shell.tablet-portrait-navigation .sidebar{position:relative!important;inset:auto!important;width:auto!important;height:auto!important;display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:12px max(20px,calc((100vw - 1320px)/2))!important;background:#fff;border:0;border-bottom:1px solid #e4ebf2;overflow:visible!important;z-index:40}
.shell.tablet-portrait-navigation .sidebar .brand{padding:0;gap:10px;margin:0}.shell.tablet-portrait-navigation .sidebar .brand-logo{width:38px;height:38px}.shell.tablet-portrait-navigation .sidebar .brand strong{font-size:18px}.shell.tablet-portrait-navigation .sidebar .brand small{display:none!important}
.shell.tablet-portrait-navigation .account-menu{display:block;position:relative;margin:0!important;flex:none}
.shell.tablet-portrait-navigation .account-menu>summary{display:flex;align-items:center;gap:18px;list-style:none;cursor:pointer;padding:8px 13px;border:1px solid #d9e4f0;border-radius:8px;min-height:36px;background:#fff;color:#284d78;font-size:12px;font-weight:600}
.shell.tablet-portrait-navigation .account-menu>summary::-webkit-details-marker{display:none}.shell.tablet-portrait-navigation .account-menu[open]>summary{background:#f0f5fc}
.shell.tablet-portrait-navigation .account-menu .nav{position:absolute;right:0;left:auto;top:calc(100% + 8px);width:218px;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;padding:8px!important;background:#fff;border:1px solid #dce6f1;border-radius:12px;box-shadow:0 12px 36px #15334f22;max-height:70dvh;overflow:auto}
.shell.tablet-portrait-navigation .account-menu .nav button{display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-height:42px!important;padding:10px 12px!important;border-radius:7px;font-size:13px}
.shell.tablet-portrait-navigation .account-menu .nav button>span:last-child{display:inline!important;white-space:normal;color:inherit;font-size:13px!important}
.shell.tablet-portrait-navigation .account-menu .nav button>.icon{display:inline-block!important;min-width:18px;font-size:16px!important}
.shell.tablet-portrait-navigation .main{margin:0!important;padding:0!important;width:100%!important}
.shell.tablet-portrait-navigation .topbar{height:auto!important;min-height:0!important;position:relative;padding:14px max(20px,calc((100vw - 1320px)/2))!important;display:flex!important;gap:14px;background:#fff;border-bottom:1px solid #edf1f5}
.shell.tablet-portrait-navigation .topbar .sidebar-toggle{display:none!important}.shell.tablet-portrait-navigation .topbar .search{flex:1;max-width:100%;min-width:0}.shell.tablet-portrait-navigation .topbar .top-actions{flex:none}
.shell.tablet-portrait-navigation .sidebar{padding:14px 24px!important}
.shell.tablet-portrait-navigation .account-menu .nav{width:min(280px,calc(100vw - 48px))}
.shell.tablet-portrait-navigation .account-menu .nav button{white-space:nowrap;min-height:46px!important;font-size:14px}
.shell.tablet-portrait-navigation .account-menu .nav button>span:last-child{white-space:nowrap;font-size:14px!important}
}
