.ef-site-nav{gap:.15rem!important;padding:.35rem .5rem!important;max-width:100%;flex-wrap:wrap}.ef-site-nav>button,.ef-site-nav>details>summary{padding:.55rem .7rem!important;font-size:.92rem}.ef-site-nav-dropdown:hover>.ef-site-nav-menu{display:grid}.ef-want-heading{margin:1.2rem 0 .6rem}.ef-skills-title{margin:.6rem 0}.ef-goal-home-heading{display:flex;justify-content:space-between;align-items:center}.ef-goal-home-heading button{margin-left:auto}.ef-goal-plan{margin:.5rem 0 1rem}.ef-goal-home .ef-site-skill-summary{margin:.7rem 0}.ef-site-nav-menu{min-width:230px}@media(max-width:600px){.ef-site-nav>button,.ef-site-nav>details>summary{font-size:.86rem;padding:.6rem .4rem!important}}
#ef-standalone-page{position:fixed;inset:0;z-index:10000;overflow-y:auto;background:var(--bg,#f6f8fc);color:var(--text,#152337);padding:1rem;box-sizing:border-box}
#ef-standalone-page .ef-standalone-wrap{max-width:1100px;margin:0 auto}
#ef-standalone-page header{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
#ef-standalone-page header h1{margin:.4rem 0}
#ef-standalone-page [data-standalone-back]{min-height:44px}
.ef-standalone-lessons{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.7rem}
.ef-standalone-lessons button{min-height:66px;text-align:left;white-space:normal}
.ef-standalone-content>section{display:block!important;margin-top:1rem}
@media(max-width:600px){#ef-standalone-page{padding:.5rem}.ef-standalone-lessons{grid-template-columns:1fr}}

/* Suppress duplicated global header controls, but retain the Settings navigation item. */
#app .header-actions > #settingsButton,
#app .app-header > #settingsButton,
#app .top-bar > #settingsButton,
#app .header-actions > .header-settings,
#app .app-header > .header-settings {display:none!important}
.ef-site-nav-dropdown[open] > .ef-site-nav-menu {display:grid}
.ef-site-nav-dropdown:not([open]) > .ef-site-nav-menu {display:none}
@media (hover:hover) and (pointer:fine) {
 .ef-site-nav-dropdown:hover > .ef-site-nav-menu {display:grid}
}


/* Keep the pointer within the dropdown while travelling from summary to menu. */
.ef-site-nav-dropdown>.ef-site-nav-menu {top:100%!important;margin-top:0}


/* Existing global launchers remain callable by the new menus, but not duplicated visually. */
#app .global-brand-v22 #globalSettingsV22 {display:none!important}
#ef-curriculum-v3 {display:none!important}

/* Old navigation wrapper still injects Alphabet and Pronunciation on every render.
   The new Learn menu is the sole visible entry point; the activities stay available. */
.ef-ap-primary-nav,.ef-ap-launch {display:none!important}
