.an-header-host{position:sticky;top:0;z-index:90;flex:none;width:100%;background:#fff}
.an-header{--nav-blue:#0067b8;--nav-ink:#172b4d;--nav-muted:#5d6b7a;box-sizing:border-box;width:100%;color:var(--nav-ink);background:#fff;border-bottom:1px solid #e5e9ef;font:600 14px/1.5 "Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.an-header *{box-sizing:border-box}.an-header [hidden]{display:none!important}
.an-row{height:72px;width:calc(100% - 64px);max-width:1360px;margin:0 auto;display:flex;align-items:center;gap:40px;position:relative}
.an-header a{color:inherit;text-decoration:none}.an-header button,.an-header select{font:inherit}.an-header button{cursor:pointer;margin:0}
.an-header .an-brand{display:inline-flex;align-items:center;gap:10px;flex:none;font-size:20px;font-weight:700;letter-spacing:-.5px;white-space:nowrap;color:#172b4d}
.an-brand-mark{display:grid;place-items:center;width:30px;height:32px;border-radius:6px;background:#0067b8;color:#fff;font:600 28px/1 Georgia,serif;padding-bottom:3px;letter-spacing:-1px}
.an-navigation{display:flex;align-items:center;gap:24px;min-width:0;flex:1;align-self:stretch}
.an-primary{display:flex;align-items:stretch;gap:24px;height:100%}
.an-header .an-link{display:flex;align-items:center;position:relative;min-height:44px;white-space:nowrap;font-size:14px;font-weight:600;color:#5d6b7a;border-bottom:2px solid transparent;padding:2px 0 0}
.an-header .an-link:hover{color:#0067b8}.an-header .an-link[aria-current=page]{color:#0067b8;border-bottom-color:#0067b8;font-weight:700}
.an-header .an-learning{margin-left:0;height:100%}
.an-tools{display:flex;align-items:center;gap:16px;flex:none}.an-language{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;min-width:84px;height:40px;flex:none;color:#5d6b7a;cursor:pointer;white-space:nowrap;font-size:13px}
.an-language select{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.an-account{position:relative;display:flex;align-items:center;gap:8px;min-width:0}.an-account-trigger{display:flex;align-items:center;justify-content:center;gap:8px;min-width:40px;min-height:40px;padding:8px;color:#405873;border:1px solid #e5e9ef;border-radius:50%;background:#edf5fb}
.an-account-trigger:hover,.an-account-trigger[aria-expanded=true]{background:#eaf3fa;border-color:#bfd8ed;color:#0067b8}

.an-header .an-identity-link{display:block;max-width:168px;min-height:40px;padding:9px 12px;border:1px solid #0067b8;border-radius:6px;background:#0067b8;color:#fff;font-weight:600;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.an-header .an-identity-link:hover{background:#005b9f;border-color:#005b9f}.an-header[data-authenticated=true] .an-identity-link{color:#203147;background:transparent;border-color:transparent;padding-left:2px;padding-right:4px}.an-header[data-authenticated=true] .an-identity-link:hover{background:#f0f5fa}
.an-account-panel{position:absolute;right:0;top:calc(100% + 14px);width:264px;padding:8px;background:#fff;border:1px solid #dfe5ec;border-radius:8px;box-shadow:0 10px 32px #172b4d18;animation:an-reveal .14s ease-out}
.an-header .an-account-panel a{display:flex;align-items:center;min-height:42px;padding:10px 12px;border-radius:4px;font-size:14px;line-height:1.5;color:#34465f}
.an-header .an-account-panel a:hover{background:#f0f5fa;color:#0067b8}.an-header .an-account-panel .an-account-divider{margin-top:7px;border-top:1px solid #e5e9ef;border-radius:0;padding-top:15px}
.an-header :is(a,button):focus-visible,.an-language:focus-within{outline:2px solid #0067b8;outline-offset:4px;border-radius:4px}
.an-menu-trigger,.an-mobile-resources,.an-mobile-language{display:none}
@keyframes an-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1120px){
 .an-row{height:64px;width:calc(100% - 40px);gap:12px}.an-header .an-brand{margin-right:auto;font-size:19px}.an-brand-mark{width:28px;height:30px;font-size:26px}
 .an-tools{gap:0}.an-language-desktop{display:none}.an-header .an-identity-link{max-width:96px;padding-inline:8px}
 .an-menu-trigger{display:grid;place-items:center;width:40px;height:40px;flex:none;border:0;border-radius:6px;background:transparent;color:#34465f}.an-menu-trigger:hover{background:#f0f5fa}.an-menu-icon{width:20px;height:14px;display:flex;flex-direction:column;justify-content:space-between;position:relative}.an-menu-icon i{display:block;width:20px;height:2px;background:currentColor;border-radius:2px;transition:transform .14s ease}
 .an-header[data-menu-open=true] .an-menu-icon i:first-child{transform:translateY(6px) rotate(45deg)}.an-header[data-menu-open=true] .an-menu-icon i:last-child{transform:translateY(-6px) rotate(-45deg)}
 .an-header[data-menu-open=false] .an-navigation{display:none}.an-navigation{position:absolute;top:100%;left:-20px;right:-20px;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 20px;background:#fff;max-height:calc(100dvh - 64px);overflow:auto;border-bottom:1px solid #dfe5ec;box-shadow:0 12px 22px #172b4d0c;animation:an-reveal .14s ease-out}
 .an-primary{display:flex;flex-direction:column;gap:0;height:auto}.an-header .an-link{min-height:48px;padding:12px 14px;border:0;border-left:3px solid transparent;white-space:normal}.an-header .an-link[aria-current=page]{border-left-color:#0067b8;background:#edf5fc}.an-header .an-learning{height:auto;margin-left:0}
 .an-mobile-resources{display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 17px 0;margin-top:8px;border-top:1px solid #e5e9ef}.an-header .an-mobile-resources a{display:flex;align-items:center;min-height:40px;font-size:13px;color:#5d6b7a}
 .an-mobile-language{display:flex;justify-content:space-between;align-items:center;padding:8px 17px 0;color:#5d6b7a;font-size:13px}.an-language-mobile{min-width:94px;justify-content:flex-end}
 .an-account-panel{right:-52px;top:calc(100% + 12px);width:min(284px,calc(100vw - 32px));max-height:calc(100dvh - 80px);overflow:auto}
}
@media(max-width:360px){.an-header .an-identity-link{max-width:62px;padding-inline:6px}.an-row{width:calc(100% - 32px);gap:8px}.an-header .an-brand{font-size:18px;gap:8px}.an-navigation{left:-16px;right:-16px;padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.an-navigation,.an-account-panel{animation:none}.an-menu-icon i{transition:none}}
/* The workbench keeps task navigation below the shared site header. */
#standalone-academy .bank-shell{min-height:calc(100dvh - 72px)}
#standalone-academy .bank-shell .sidebar{top:72px;height:calc(100dvh - 72px);background:#f5f7fa;color:#34465f;border-right:1px solid #e1e7ee}
#standalone-academy .bank-shell .sidebar-label{color:#65758a;font-size:12px;letter-spacing:0;margin:0 10px 12px}
#standalone-academy .bank-shell .nav-list{margin-top:0}
#standalone-academy .bank-shell .nav-item{color:#53637a;border-radius:5px}
#standalone-academy .bank-shell .nav-item:hover{color:#0067b8;background:#eaf1f8}
#standalone-academy .bank-shell .nav-item.active{color:#0067b8;background:#e4eff9;font-weight:600}
#standalone-academy .bank-shell .bank-account-link{color:#53637a}
#standalone-academy .topbar{height:44px;min-height:44px;background:#fff}
@media(max-width:1120px){#standalone-academy .bank-shell{min-height:calc(100dvh - 64px)}#standalone-academy .bank-shell .sidebar{top:64px;height:calc(100dvh - 64px)}}
@media(max-width:650px){#standalone-academy .bank-shell .sidebar{height:auto;position:static}#standalone-academy .bank-shell .sidebar-label{display:none}}

/* Same-origin native navigation keeps the old browser frame until the target is usable. */
@view-transition{navigation:auto}
::view-transition-group(root){animation:none!important}
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-old(root){opacity:0}
::view-transition-new(root){opacity:1}
html[data-aa-awaiting="true"]::view-transition-old(root){clip-path:inset(3px 0 0);opacity:1;z-index:2;animation:aa-preserve-frame 5.5s linear both}
html[data-aa-awaiting="true"]::view-transition-new(root){opacity:0;animation:none}
html[data-aa-awaiting="true"]::view-transition{pointer-events:auto;background:linear-gradient(#196ca7,#196ca7) top/100% 3px no-repeat}
@keyframes aa-preserve-frame{from{opacity:1}to{opacity:1}}
.sidebar-bottom[hidden]{display:none!important}

/* A native modal keeps login in the learning context, with browser focus containment. */
.an-auth-dialog{position:fixed;inset:0;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #e1e7ee;border-radius:16px;background:#fff;color:#172b4d;box-shadow:0 24px 80px #102b4d33;font:400 15px/1.5 "Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;overflow:auto;overscroll-behavior:contain}
.an-auth-dialog::backdrop{background:#122b4566}.an-auth-content{position:relative;padding:40px 40px 24px;text-align:center}.an-auth-dialog *{box-sizing:border-box}.an-auth-dialog button,.an-auth-dialog a{font:inherit}.an-auth-dialog button{cursor:pointer}.an-auth-dialog a{text-decoration:none}.an-auth-brand{display:inline-block;color:#172b4d;font-size:19px!important;font-weight:700!important;letter-spacing:-.6px;margin-bottom:28px}.an-auth-dialog h2{margin:0;font-size:28px;line-height:1.2;font-weight:650;letter-spacing:-.6px;color:#172b4d}.an-auth-lead{margin:12px 0 28px;color:#5d6b7a;font-size:15px}.an-auth-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#627181}.an-auth-close:hover{background:#f0f5fa}.an-auth-options{display:grid;gap:12px;min-height:48px}.an-auth-dialog .an-auth-provider{display:flex;align-items:center;justify-content:center;position:relative;width:100%;min-height:48px;gap:12px;padding:12px 34px;color:#203147;border:1px solid #ccd6df;border-radius:7px;background:#fff;font-weight:600;line-height:1.4}.an-auth-provider>svg,.an-auth-provider-mark{position:absolute;left:16px;flex:none}.an-auth-provider-mark{font-size:24px;line-height:1}.an-auth-dialog .an-auth-provider:hover{background:#f5f8fb;border-color:#94aabb}.an-auth-dialog .an-auth-primary{background:#0067b8;color:#fff;border-color:#0067b8}.an-auth-dialog .an-auth-primary:hover{background:#005b9f}.an-auth-dialog button:disabled{opacity:.6;cursor:wait}.an-auth-or{display:flex;gap:12px;align-items:center;color:#82909d;font-size:13px}.an-auth-or:before,.an-auth-or:after{content:"";height:1px;flex:1;background:#e8edf2}.an-auth-switch{margin:28px 0 0;color:#5d6b7a;font-size:14px}.an-auth-switch button,.an-auth-retry{padding:0;border:0;background:transparent;color:#0067b8;font-weight:600!important;min-height:32px}.an-auth-legal{display:flex;gap:20px;justify-content:center;margin-top:28px;padding-top:20px;border-top:1px solid #eef1f4}.an-auth-legal a{color:#73808c;font-size:12px}.an-auth-error{margin:16px 0 0;color:#a53333;font-size:14px}.an-auth-loading{color:#73808c;font-size:14px}.an-auth-dialog :is(a,button):focus-visible{outline:2px solid #0067b8;outline-offset:3px}.an-auth-open-error{position:absolute;right:20px;top:66px;max-width:320px;padding:14px;background:#fff;border:1px solid #dfe5ec;color:#a53333;font:14px/1.5 sans-serif;z-index:100}
@media(max-width:480px){.an-auth-content{padding:38px 24px 20px}.an-auth-dialog h2{font-size:25px}.an-auth-brand{margin-bottom:24px}.an-auth-dialog .an-auth-provider{font-size:14px}}

html:has(>body>.an-auth-dialog[open]){overflow:hidden;scrollbar-gutter:stable}

/* Email verification reuses the account dialog's type, blue action and spacing. */
.an-auth-dialog .an-auth-close{width:44px;height:44px;right:8px;top:8px}
.an-auth-dialog .an-auth-switch button,.an-auth-dialog .an-auth-retry{min-height:44px}
.an-auth-dialog .an-auth-legal a{font-size:13px;color:#5d6b7a}
.an-auth-dialog .an-auth-or{color:#5d6b7a}
.an-auth-dialog [data-auth-email-link]{margin-top:16px}
.an-auth-dialog .an-auth-email{margin-top:16px;text-align:left;min-width:0}
.an-auth-dialog .an-auth-email-hint,.an-auth-dialog .an-auth-email-sent{margin:16px 0;color:#5d6b7a;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.an-auth-dialog .an-auth-email form{display:grid;gap:12px;min-width:0}
.an-auth-dialog .an-auth-email label{font-size:14px;font-weight:600;color:#203147}
.an-auth-dialog .an-auth-email input{display:block;width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #82909d;border-radius:4px;background:#fff;color:#172b4d;font:inherit;font-size:16px;line-height:1.4}
.an-auth-dialog .an-auth-email input[aria-invalid="true"]{border-color:#a53333}
.an-auth-dialog .an-auth-email input:disabled{background:#f5f8fb;color:#5d6b7a}
.an-auth-dialog .an-auth-email input:focus-visible{outline:2px solid #0067b8;outline-offset:2px}
.an-auth-dialog .an-auth-email [data-auth-code]{font-size:20px;letter-spacing:.2em}
.an-auth-dialog .an-auth-email .an-auth-provider{border-radius:4px;padding:12px 16px}
.an-auth-dialog .an-auth-secondary{min-height:44px;padding:8px 12px;border:1px solid #82909d;border-radius:4px;background:#fff;color:#0067b8;font:inherit;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.an-auth-dialog .an-auth-secondary:hover{background:#f5f8fb;border-color:#0067b8}
.an-auth-dialog .an-auth-secondary:disabled{cursor:default}
.an-auth-dialog .an-auth-email-actions{display:flex;flex-wrap:wrap;gap:8px}
.an-auth-dialog .an-auth-email-actions>button{flex:1 1 140px}
.an-auth-dialog .an-auth-email-message{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.an-auth-dialog .an-auth-email-message:empty{display:none}
.an-auth-dialog [aria-busy="true"] button:disabled{cursor:wait}
@media(max-width:360px){.an-auth-dialog .an-auth-content{padding:40px 16px 20px}}

/* The final account action shares menu spacing and native keyboard semantics. */
.an-header .an-account-signout{display:flex;align-items:center;width:100%;min-height:42px;padding:10px 12px;border:0;background:transparent;border-radius:4px;color:#a53333;text-align:left;font-size:14px;line-height:1.5}
.an-header .an-account-signout:hover{background:#fff2f1}.an-header .an-account-signout:disabled{opacity:.65;cursor:wait}.an-header .an-signout-error{margin:6px 12px;color:#a53333;font-size:13px;line-height:1.5}
