/* Native, scoped disclosures; no changes to exam or payment controls. */
.hm48-lesson-picker,.hm48-chapter-menu{box-sizing:border-box;direction:rtl;margin:12px 0;padding:12px;border:1px solid #cddfeb;border-radius:14px;background:#fff;color:#17446d;min-width:0;max-width:100%}.hm48-lesson-picker>summary,.hm48-chapter>summary,.hm48-mobile-group>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;justify-content:space-between;font-weight:800;min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.75}.hm48-lesson-picker>summary::-webkit-details-marker,.hm48-chapter>summary::-webkit-details-marker,.hm48-mobile-group>summary::-webkit-details-marker{display:none}.hm48-lesson-picker>summary:after,.hm48-chapter>summary:after,.hm48-mobile-group>summary:after{content:'⌄';flex:none;color:#236c98;font-size:20px}.hm48-lesson-picker[open]>summary:after,.hm48-chapter[open]>summary:after,.hm48-mobile-group[open]>summary:after{transform:rotate(180deg)}.hm48-lesson-picker>summary>strong{flex:1;font-size:14px;color:#41647c;text-align:end}.hm48-menu-links,.hm48-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:7px;padding:8px 0 0}.hm48-menu-links>a,.hm48-actions>a{display:block;box-sizing:border-box;min-width:0;padding:10px 12px;border:1px solid #d6e5ef;border-radius:9px;color:#174f82;background:#f5faff;text-decoration:none;text-align:center;white-space:normal;overflow-wrap:break-word;word-break:normal}.hm48-menu-links>a[aria-current=page],.hm48-actions>a[aria-current=page]{background:#e2f5ee;border-color:#469f86;color:#11634e}.hm48-chapter-menu>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.hm48-chapter-menu>header>span{font-size:13px;color:#56758a}.hm48-chapters{display:grid;gap:6px}.hm48-chapter{background:#f4f9fd;border:1px solid #d9e7f2;border-radius:10px;padding:9px 12px}.hm48-chapter>summary>b{flex:none}.hm48-chapter>summary>span{flex:1;font-size:13px;font-weight:500;min-width:0}.hm48-chapter:not([open])>.hm48-actions,.hm48-lesson-picker:not([open])>nav,.hm48-mobile-group:not([open])>.hm48-menu-links{display:none!important}.hm48-mobile-group{border:1px solid #d9e7f2;border-radius:9px;padding:8px 10px;min-width:0}.hm-app-nav .hm-app-mobile-menu[open]>nav.hm48-mobile-groups{grid-template-columns:minmax(0,1fr)!important;gap:6px;max-height:min(65vh,500px);overflow:auto}.hm-app-nav .hm48-mobile-group .hm48-menu-links{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-app-nav .hm48-mobile-group a{font-size:13px;text-align:right}.hm48-lesson-picker summary:focus-visible,.hm48-chapter summary:focus-visible,.hm48-mobile-group summary:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.hm-app-nav .hm-app-mobile-menu>summary{display:flex;justify-content:space-between;align-items:center}.hm-app-nav .hm-app-mobile-menu[open]>summary>span{transform:rotate(180deg)}
@media(max-width:480px){.hm48-lesson-picker,.hm48-chapter-menu{padding:10px}.hm48-actions,.hm48-menu-links{grid-template-columns:repeat(2,minmax(0,1fr))}.hm48-chapter>summary{font-size:14px}.hm48-chapter>summary>span{font-size:12px}.hm48-lesson-picker>summary>strong{font-size:12px}}
.hm48-note-modes{min-width:0;background:#f5faff;border:1px solid #d6e5ef;border-radius:9px;padding:8px;grid-column:1/-1}.hm48-note-modes>summary{cursor:pointer;font-weight:700;color:#174f82;text-align:center}.hm48-note-modes:not([open])>.hm48-menu-links,.hm48-lesson-picker:not([open])>.hm43-chapters{display:none!important}.hm48-note-modes .hm48-menu-links{grid-template-columns:repeat(2,minmax(0,1fr))}

/* 3.3.49: clear RTL list navigation and consistent chevrons. */
.hm48-lesson-picker,.hm48-chapter-menu{border-radius:12px;padding:12px;box-shadow:none}.hm48-chapter-menu>header{font-size:15px}.hm48-chapters{gap:6px}.hm48-chapter{padding:0;background:#fff;border:1px solid #d3e2ed;overflow:hidden}.hm48-chapter>summary,.hm48-lesson-picker>summary,.hm48-mobile-group>summary,.hm3322-collapse>summary{list-style:none;display:flex;gap:9px;align-items:center;min-height:42px;box-sizing:border-box;cursor:pointer}.hm48-chapter>summary{padding:9px 12px;background:#f2f7fc;justify-content:flex-start}.hm48-chapter>summary>b{color:#1b5b88;font-size:14px}.hm48-chapter>summary>span{color:#244e6b;font-size:14px;font-weight:600;min-width:0}.hm48-chapter[open]{border-color:#86b6d2}.hm48-chapter[open]>summary{background:#e5f1fb}.hm48-lesson-picker>summary:after,.hm48-chapter>summary:after,.hm48-mobile-group>summary:after,.hm3322-collapse>summary:after{content:'';display:block;width:8px;height:8px;border:solid #286b98;border-width:0 2px 2px 0;transform:rotate(45deg);margin-inline-start:auto;margin-inline-end:5px;flex:none;transition:transform .15s ease}
.hm48-lesson-picker[open]>summary:after,.hm48-chapter[open]>summary:after,.hm48-mobile-group[open]>summary:after,.hm3322-collapse[open]>summary:after{transform:rotate(225deg)}.hm3322-collapse>summary::-webkit-details-marker{display:none}.hm48-actions{padding:9px;grid-template-columns:repeat(auto-fit,minmax(min(112px,100%),1fr));gap:6px}.hm48-actions>a,.hm48-menu-links>a{min-height:40px;padding:8px;display:flex;justify-content:center;align-items:center;line-height:1.6;font-weight:650;font-size:13px}.hm48-menu-links{grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr))}.hm48-menu-links>a[aria-current=page],.hm48-actions>a[aria-current=page]{box-shadow:inset 0 -2px #399d86}.hm-app-nav .hm48-mobile-group{background:#f8fbfe}.hm-app-nav .hm48-mobile-group>summary{min-height:36px}.hm-app-nav .hm48-mobile-group .hm48-menu-links{grid-template-columns:minmax(0,1fr)}.hm-app-nav .hm48-mobile-group .hm48-menu-links>a{justify-content:flex-start;text-align:right;border-inline-start:3px solid #c5d9ea}.hm-mehr-learning .hm-focus-switch a{flex:1 1 95px;min-height:40px;font-size:14px!important;padding:7px!important;border-radius:8px}.hm-mehr-learning .hm-focus-reading-head{padding:12px!important}.hm48-chapter>summary:focus-visible,.hm3322-collapse>summary:focus-visible{outline:2px solid #2563eb;outline-offset:-2px}
@media(max-width:480px){.hm48-actions,.hm48-menu-links{grid-template-columns:repeat(2,minmax(0,1fr))}.hm48-chapter>summary{gap:7px;padding:8px}.hm48-chapter>summary>span{font-size:13px}.hm-mehr-learning .hm-focus-switch a{flex:1 1 28%;font-size:13px!important;min-height:38px}}
@media(prefers-reduced-motion:reduce){.hm48-chapter>summary:after,.hm48-lesson-picker>summary:after,.hm48-mobile-group>summary:after{transition:none}}
/* 3.3.54: outward mega-menu with clear horizontal tiles. */
@media(min-width:851px){.hm-app-nav .hm-app-links .hm3322-nav-group[open]>nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0!important;width:min(410px,90vw)!important;max-width:90vw!important;padding:12px!important;background:#fff!important;border:1px solid #cfe0eb!important;border-radius:14px!important;box-shadow:0 12px 32px #143c6530!important;z-index:9999;inset-inline-start:0;inset-inline-end:auto;top:calc(100% + 8px)!important}.hm-app-nav .hm-app-links .hm3322-nav-group[open]>nav a{display:flex!important;align-items:center;justify-content:space-between;gap:6px;min-height:45px;padding:10px!important;border-radius:9px;background:#edf5fb;color:#17466d!important;text-align:right;font-weight:650;white-space:normal!important}.hm-app-nav .hm-app-links .hm3322-nav-group[open]>nav a:after{content:'‹';font-size:20px;color:#17659b}.hm-app-nav .hm-app-links .hm3322-nav-group:last-child[open]>nav{inset-inline-start:auto;inset-inline-end:0}}
@media(max-width:850px){.hm-app-nav .hm-app-mobile-menu[open]>nav.hm48-mobile-groups{position:absolute!important;inset-inline:8px!important;width:auto!important;max-width:calc(100vw - 16px)!important;background:white!important;padding:10px!important;border-radius:12px;z-index:9999}.hm-app-nav .hm48-mobile-group .hm48-menu-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hm-app-nav .hm48-mobile-group .hm48-menu-links>a{min-height:44px;background:#edf5fb;text-align:right}}
