/* Shared navigation and account controls: main site, materials and banks. */
.lt-site-nav{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px 18px!important;margin:0!important;width:auto!important;font:600 15px/1.4 Manrope,Arial,sans-serif!important}
.lt-site-nav a{display:inline-flex!important;align-items:center;min-height:44px;padding:6px 0!important;color:#303849!important;text-decoration:none!important;white-space:nowrap}
.lt-site-nav a:hover,.lt-site-nav a[aria-current]{color:#424bea!important;text-decoration:underline!important;text-underline-offset:6px}
.lt-site-nav a:focus-visible{outline:3px solid #424bea;outline-offset:4px;border-radius:3px}
.lt-shared-header{gap:20px!important;flex-wrap:wrap!important;align-items:center!important}
.lt-shared-header>.lt-site-nav{margin-left:auto!important}
.lt-standalone-header{display:flex;max-width:1260px;margin:0 auto;padding:20px 24px;color:#202632;font:700 17px/1.4 Manrope,Arial,sans-serif}
.lt-site-brand{color:inherit;text-decoration:none}
#lt-materials-history-v2 .lt-top{padding-bottom:24px;gap:24px}
#lt-materials-history-v2 .header-actions{gap:16px;flex-wrap:wrap;align-items:center}
#lt-materials-history-v2 #quota{display:none}
#lt-materials-history-v2 .header-account{display:flex;align-items:center;gap:12px}
#lt-materials-history-v2 .account-actions{display:flex;align-items:center;gap:12px}
#lt-materials-history-v2 #account-button{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:44px;padding:6px 12px;border-radius:12px;background:#fff;color:#202632;font-size:15px;font-weight:650;line-height:1.4}
#lt-materials-history-v2 #account-button .account-name{display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lt-materials-history-v2 .account-caption{font-size:12px;color:#566176;font-weight:500}
.lt-notifications{margin:0!important}
.lt-notifications .lt-bell{width:44px;height:44px;border:0;border-radius:12px;background:#fff;color:#202632}
.subscriber-check{margin:18px 0;padding:16px;background:#f0f1ff;border-radius:12px;font-size:14px;line-height:1.5}
.subscriber-check button{min-height:44px;white-space:normal}
@media(max-width:1100px){.lt-shared-header>.lt-site-nav{order:5;width:100%!important;margin-left:0!important}.lt-shared-header .header-actions{margin-left:auto}}
@media(max-width:600px){.lt-site-nav{gap:4px 22px!important;font-size:14px!important}.lt-standalone-header{padding:16px}.lt-shared-header{gap:12px!important}#lt-materials-history-v2 .header-actions{width:100%;justify-content:space-between;gap:8px}#lt-materials-history-v2 .header-account{margin-left:auto}#lt-materials-history-v2 #account-button .account-name{max-width:140px}#lt-materials-history-v2 .lt-top{padding-bottom:16px}}
@media print{.lt-site-nav,.lt-standalone-header{display:none!important}}
.lt-shared-header .lt-site-nav{flex-direction:row!important;justify-content:flex-start!important}
.lt-shared-header .lt-site-nav a{width:auto!important;flex:0 0 auto!important}
#lt-materials-history-v2 .lt-top .lt-site-nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:20px!important;grid-column:1/-1}
#lt-materials-history-v2 .lt-top .lt-site-nav a{display:inline-flex!important;width:auto!important;flex:0 0 auto!important}
.lt-account-link,.lt-shared-header .account-menu>summary{min-height:44px;padding:6px 12px!important;border:0!important;border-radius:12px!important;background:#fff!important;color:#202632!important;font:650 15px/1.4 Manrope,Arial,sans-serif!important;text-decoration:none;box-shadow:none!important}
.lt-account-link{display:flex;flex-direction:column;justify-content:center}.lt-account-link small{font:500 12px/1.4 Manrope,Arial,sans-serif;color:#566176}.lt-account-link span{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lt-shared-header .account-menu>summary{display:flex;align-items:center;gap:8px;cursor:pointer}.lt-shared-header .account-avatar{width:30px;height:30px}
@media(max-width:650px){header.top.lt-shared-header>.lt-site-nav{grid-column:1/-1;grid-row:3}header.top.lt-shared-header>.home-account{justify-content:space-between}.lt-account-link{max-width:100%}}

/* Keep the global links and bank selector together at every width. */
#lt-materials-history-v2 .lt-navigation-row{display:flex;align-items:center;gap:20px;margin-left:auto;min-width:0}
#lt-materials-history-v2 .lt-navigation-row .lt-site-nav{order:0;width:auto!important;margin:0!important;gap:20px!important}
#lt-materials-history-v2 .lt-navigation-row .bank-menu{flex:none;margin:0;align-self:center}
#lt-materials-history-v2 .lt-top .header-actions{margin-left:0}
@media(min-width:701px){
 #lt-materials-history-v2 .lt-top.lt-shared-header{display:flex;flex-wrap:nowrap!important;gap:16px!important}
 #lt-materials-history-v2 .lt-top .lt-brand{flex:none}
 #lt-materials-history-v2 .lt-navigation-row{order:0;width:auto;margin-left:auto;flex:none}
 #lt-materials-history-v2 .lt-top .header-actions{order:0;margin-left:0;flex:none;flex-wrap:nowrap}
}
@media(min-width:701px) and (max-width:1050px){
 #lt-materials-history-v2 .lt-top.lt-shared-header{gap:12px!important}
 #lt-materials-history-v2 .lt-top .lt-brand{font-size:12px}
 #lt-materials-history-v2 .lt-navigation-row{gap:12px}
 #lt-materials-history-v2 .lt-navigation-row .lt-site-nav{gap:12px!important;font-size:13px!important}
 #lt-materials-history-v2 .lt-navigation-row .bank-menu summary{font-size:12px;padding:10px;white-space:normal;max-width:125px;line-height:1.3}
 #lt-materials-history-v2 #account-button{font-size:13px;padding:6px 8px}
 #lt-materials-history-v2 #account-button .account-name{max-width:110px}
 #lt-materials-history-v2 .account-actions{gap:8px}
}
@media(max-width:700px){
 #lt-materials-history-v2 .lt-navigation-row{grid-column:1/-1;grid-row:2;gap:12px;margin:0;width:100%;justify-content:space-between}
 #lt-materials-history-v2 .lt-navigation-row .lt-site-nav{gap:12px!important;font-size:13px!important}
 #lt-materials-history-v2 .lt-navigation-row .bank-menu summary{width:96px;white-space:normal;font-size:12px;line-height:1.3;padding:8px;text-align:center;min-height:44px}
 #lt-materials-history-v2 .lt-navigation-row .bank-menu nav{left:auto;right:0}
}
@media(max-width:360px){#lt-materials-history-v2 .lt-navigation-row{gap:8px}#lt-materials-history-v2 .lt-navigation-row .lt-site-nav{gap:9px!important;font-size:12px!important}#lt-materials-history-v2 .lt-navigation-row .bank-menu summary{width:87px}}
/* Identical account menu in all four banks and the trainer. */
.account-menu.lt-unified-account{position:relative;font:400 14px/1.5 Manrope,Arial,sans-serif;color:#303b4d}
.account-menu.lt-unified-account>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;min-height:48px;padding:7px 12px;border:0;border-radius:12px;background:#fff;color:#202632;font-size:15px;font-weight:650}
.account-menu.lt-unified-account>summary::-webkit-details-marker{display:none}
.lt-unified-account .lt-account-person{display:flex;flex-direction:column;min-width:0}
.lt-unified-account .lt-account-person>span{display:block;max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lt-unified-account .lt-account-person small{font-size:12px;font-weight:500;color:#526074;line-height:1.5}
.account-menu.lt-unified-account .lt-account-popover{position:fixed;z-index:1000;box-sizing:border-box;width:min(340px,calc(100vw - 24px));padding:18px;background:#fff;border-radius:14px;box-shadow:0 12px 40px #26344b30;overflow-y:auto;text-align:left}
.account-menu.lt-unified-account .lt-account-level{margin:0 0 8px;font-size:15px;font-weight:750;color:#303b4d}
.account-menu.lt-unified-account .lt-account-description{margin:0 0 12px;font-size:14px;line-height:1.55;color:#526074}
.account-menu.lt-unified-account .lt-account-popover>a,.account-menu.lt-unified-account .lt-account-popover>button{box-sizing:border-box;display:block;width:100%;min-height:44px;margin:0;padding:10px;border:0;border-radius:8px;background:transparent;box-shadow:none;font:600 14px/1.5 Manrope,Arial,sans-serif;color:#244666;text-align:left;text-decoration:none;white-space:normal;cursor:pointer}
.account-menu.lt-unified-account .lt-account-popover>a:hover,.account-menu.lt-unified-account .lt-account-popover>button:hover{background:#edf3fc}
.account-menu.lt-unified-account :is(a,button,summary):focus-visible{outline:2px solid #4055b3;outline-offset:2px}
.account-menu.lt-unified-account .lt-account-popover>.lt-account-logout{border-top:1px solid #dfe2eb;border-radius:0;margin-top:8px;color:#526074}
.account-menu.lt-unified-account button:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.lt-unified-account .lt-account-person>span{max-width:160px}.lt-unified-account .lt-account-person small{max-width:180px;white-space:normal}.account-menu.lt-unified-account .lt-account-popover{right:12px!important}}
@media(max-width:900px){
 header#account.lt-shared-header{position:relative;inset:auto;height:auto;min-height:0;display:flex;align-content:normal;padding:16px;gap:12px!important;backdrop-filter:none}
 header#account.lt-shared-header>.account-brand{flex:1 0 100%;max-width:none}
 header#account.lt-shared-header>.account-actions{order:1;margin-left:0;width:100%;justify-content:space-between}
 header#account.lt-shared-header>:is(.portal-nav,.social-work-nav){order:2;width:100%;margin:0;justify-content:flex-start;flex-wrap:wrap}
 header#account.lt-shared-header>.lt-site-nav{order:3;width:100%!important}
 body:has(header#account.lt-shared-header)>aside{padding-top:24px}
}
/* Account stays on the current bank or trainer. Native dialog handles focus/inertness. */
.lt-profile-dialog{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:1px solid #d1dbee;border-radius:16px;background:#fff;color:#263852;font:16px/1.55 Manrope,Arial,sans-serif;overflow:auto}
.lt-profile-dialog::backdrop{background:rgb(23 34 53 / .48)}
.lt-profile-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.lt-profile-dialog h2{font-size:26px;margin:0}.lt-profile-dialog h3{font-size:20px;margin:24px 0 12px}
.lt-profile-dialog button,.lt-profile-upgrade{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #c5d3e8;border-radius:10px;background:#f2f6fc;color:#23476a;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.lt-profile-dialog [data-profile-close]{padding:10px;flex:none}.lt-profile-dialog button:hover{background:#e5edf9}.lt-profile-dialog button:disabled{opacity:.6;cursor:wait}
.lt-profile-dialog :focus-visible{outline:2px solid #4055b3;outline-offset:3px}
.lt-profile-name{color:#526681;margin:0}.lt-profile-access{margin:16px 0 24px}.lt-profile-access>div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #e1e7f0}.lt-profile-access dd{margin:0;text-align:right;font-weight:600}.lt-profile-access dt{max-width:60%}
.lt-profile-upgrade{display:flex;margin:20px 0 12px;background:#e9ebff;color:#3642b8;border-color:transparent}.lt-profile-upgrade:hover{background:#dce0ff}
.lt-profile-dialog [data-profile-status]{font-size:14px;color:#526681;margin-bottom:0}
@media(max-width:480px){.lt-profile-dialog{padding:20px}.lt-profile-access>div{display:block}.lt-profile-access dt{max-width:none}.lt-profile-access dd{text-align:left;margin-top:4px}}
