/* Shared menus and content; only the layout changes with viewport width. */
.fw-mobile-learning-records{display:none!important}
@media(max-width:1180px){
 html body.has-top-utility .top-utility-wrap{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;padding:8px 12px!important;box-sizing:border-box}
 html body.has-top-utility .top-utility-menu{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;box-sizing:border-box}
 html body .top-utility-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;width:auto!important;max-width:100%!important;height:auto!important;min-height:0!important;overflow:visible!important;gap:8px!important;margin:0!important;padding:0!important;border:0!important}
 html body .top-utility-priority-links{display:contents!important}
 html body .top-utility-actions button:not([hidden]){min-height:44px!important}
 html body .topbar{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;width:100%!important;height:auto!important;min-height:0!important;padding:0!important;margin:0 0 16px!important;overflow:visible!important;box-sizing:border-box;z-index:40!important}
 html body .topbar>a,html body .topbar>.topbar__group{width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;margin:0!important}
 html body .topbar>a,html body .topbar .topbar__trigger{display:flex!important;align-items:center;justify-content:center;min-height:48px!important;height:auto!important;padding:8px 4px!important;font-size:14px!important;line-height:1.4!important;white-space:normal!important;text-align:center!important;box-sizing:border-box}
 html body .topbar .topbar__trigger{padding-right:26px!important}
 html body .topbar__submenu-toggle{width:26px!important;min-width:26px!important;right:0!important;height:44px!important;top:2px!important}
 html body .topbar__submenu{min-width:144px;max-width:calc(100vw - 32px);z-index:45}
 html body .shell{width:100%!important;padding:0 16px!important;margin:0 auto!important;box-sizing:border-box}
 html body .workspace{width:100%!important;min-width:0!important}
 html body.theme-home.home-commercial .home-content{width:100%!important;margin:0!important;gap:16px}
 html body.theme-home.home-commercial .home-quick-tools--single-row{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;width:100%;box-sizing:border-box}
 html body.theme-home.home-commercial .home-quick-tools--single-row>.home-article-search__form,html body.theme-home.home-commercial .home-quick-tools--single-row>.home-article-search__results{grid-column:1/-1;min-width:0;width:100%;box-sizing:border-box}
 html body.theme-home.home-commercial .home-quick-tools--single-row .home-quick-tools__action{min-height:44px;padding:8px;font-size:12px;white-space:normal}
 html body .home-article-search__input-row{min-width:0;width:100%;box-sizing:border-box}
 html body #homeArticleSearchInput{min-width:0;width:100%}
 html body .fw-main-services{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
 html body .fw-main-services>a{min-height:48px;justify-content:center;padding:12px 6px;font-size:15px;box-sizing:border-box}
 html body .fw-main-services>a:last-child{grid-column:auto}

 html body .fw-annotation-canvas{max-width:100vw}
}
@media(max-width:600px){
 html body .shell{padding-inline:12px!important}
 html body .top-utility-menu>.site-mobile-brand{width:100%!important;min-width:0!important;min-height:40px!important;height:40px!important;margin:0!important}
 html body .top-utility-brand img{width:150px!important;height:auto!important}
 html body .top-utility-actions{width:100%!important;justify-content:flex-start!important;gap:6px!important}
 html body .top-utility-actions>*,html body .top-utility-actions>.top-utility-priority-links>button{flex:1 1 calc(33.333% - 6px)!important;min-width:0!important;width:auto!important;box-sizing:border-box}
 html body .top-utility-actions>.top-utility-priority-links{display:contents!important}
 html body .top-utility-actions button:not([hidden]){font-size:12px!important;padding:8px 6px!important;white-space:nowrap}
 html body .top-utility-language-picker>button{width:100%!important}
 html body .topbar>a,html body .topbar .topbar__trigger{font-size:12px!important;min-height:46px!important}
 html body .topbar .topbar__trigger{padding-right:19px!important}
 html body .topbar__submenu-toggle{width:22px!important;min-width:22px!important}
 html body .fw-main-services{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body .fw-edition-tabs{gap:6px;margin:12px 0 20px}
 html body .fw-edition-tabs a{flex:1 1 25%;padding:10px 6px;font-size:13px;text-align:center;min-height:44px;box-sizing:border-box}
 html body .fw-edition-group h2{font-size:22px}
 html body .commercial-footer{padding-inline:16px;overflow-wrap:anywhere}
}

/* Existing mobile app: shared menus and banners, original learning views retained. */
body.fw-mobile-app .mobile-app>.topbar{width:calc(100% - 24px)!important;margin:8px 12px 0!important;background:#fff}
body.fw-mobile-app .mobile-app .app-header{position:relative;top:auto}
body.fw-mobile-app .fw-art-banner{margin:0 0 16px}
body.fw-mobile-app .fw-front-banner{display:grid;align-items:center;overflow:hidden}
body.fw-mobile-app .fw-front-banner__copy{min-width:0}
body.fw-mobile-app .fw-front-banner__eyebrow{font-weight:650}
body.fw-mobile-app .fw-front-banner h2{border:0;padding:0;word-break:keep-all}
body.fw-mobile-app .fw-front-banner__action{display:inline-block;font-weight:750}
body.fw-mobile-app .fw-front-banner__covers{display:flex;align-items:center;justify-content:center;min-width:0}
body.fw-mobile-app .fw-front-banner__covers img{display:block;height:auto;object-fit:contain}
body.fw-mobile-app .fw-main-services small{display:none}
body.fw-mobile-app .fw-main-services>a:last-child{grid-column:1/-1}

body.fw-mobile-app .mobile-app .fw-art-banner{width:100%!important;max-width:100%;min-width:0;box-sizing:border-box}
body.fw-mobile-app .topbar__submenu-toggle{position:absolute;transform:none;display:flex;align-items:center;justify-content:center;padding:0}

body.fw-mobile-app .mobile-app .fw-art-banner{width:100%!important;max-width:100%;min-width:0;box-sizing:border-box;height:auto!important;min-height:0!important;aspect-ratio:3/1}
body.fw-mobile-app .fw-main-services{margin-bottom:20px!important}
body.fw-mobile-app .topbar__submenu-toggle{position:absolute;transform:none;display:flex;align-items:center;justify-content:center;padding:0}

body.fw-mobile-app .mobile-app .fw-art-banner{width:100%!important;max-width:100%;min-width:0;box-sizing:border-box;height:auto!important;min-height:0!important;aspect-ratio:3/1}
body.fw-mobile-app .fw-main-services{margin-bottom:20px!important}
body.fw-mobile-app .topbar__submenu-toggle{position:absolute;transform:none;display:flex;align-items:center;justify-content:center;padding:0}
@media(max-width:1180px){html body .topbar__submenu-toggle{position:absolute!important;transform:none!important;display:flex;align-items:center;justify-content:center;padding:0}}
