/* DiraLearn global chrome: shared by both renderers. No application layout selectors. */
#diralearn-global-header,#diralearn-global-footer{font:400 16px/1.5 Inter,Arial,sans-serif;box-sizing:border-box;letter-spacing:normal;text-align:left}
#diralearn-global-header *,#diralearn-global-footer *{box-sizing:border-box}
.dlg-header#diralearn-global-header{position:sticky;top:0;z-index:100;background:#fff;color:#102d42;border-bottom:1px solid #d9e5e8;margin:0;padding:0;box-shadow:0 3px 15px #102d4208;isolation:isolate}
#diralearn-global-header .dlg-wrap,#diralearn-global-footer .dlg-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:0;max-width:none}
#diralearn-global-header .dlg-toprow{display:flex;align-items:center;gap:16px;min-height:65px;justify-content:space-between;padding:10px 0 2px}
#diralearn-global-header .dlg-brand,#diralearn-global-footer .dlg-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;margin:0;padding:0;max-width:100%;color:inherit;flex-shrink:1;min-width:0}
#diralearn-global-header .dlg-brand svg,#diralearn-global-footer .dlg-brand svg{display:block;width:47px;height:47px;flex:0 0 47px}
.dlg-brand-text{display:flex;min-width:0;flex-direction:column;gap:4px}
#diralearn-global-header .dlg-brand strong,#diralearn-global-footer .dlg-brand strong{font:800 28px/1.05 Manrope,Inter,Arial,sans-serif;letter-spacing:-.035em;color:#102d42}
#diralearn-global-header .dlg-brand em,#diralearn-global-footer .dlg-brand em{font-style:normal;color:#0d9488}
#diralearn-global-header .dlg-brand small,#diralearn-global-footer .dlg-brand small{font:700 9px/1.35 Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#536a78;display:block;white-space:normal}
#diralearn-global-header .dlg-account{display:flex;align-items:center;gap:12px;margin-left:auto;flex-shrink:0}
#diralearn-global-header .dlg-account a{display:inline-flex;align-items:center;justify-content:center;color:#102d42;font:700 13px/1.3 Inter,Arial,sans-serif;text-decoration:none;padding:10px 6px;white-space:nowrap;min-height:44px}
#diralearn-global-header .dlg-account .dlg-cta{background:#086f65;color:#fff;padding:12px 19px;border-radius:8px}
#diralearn-global-header .dlg-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 20px;padding:0;margin:0;min-height:40px;width:100%;background:white}
#diralearn-global-header .dlg-nav>a,#diralearn-global-header .dlg-drop>summary{font:700 13px/1.4 Inter,Arial,sans-serif;color:#102d42;text-decoration:none;display:flex;align-items:center;gap:6px;padding:12px 0;white-space:nowrap;min-height:44px;cursor:pointer;list-style:none}
#diralearn-global-header .dlg-drop{position:relative;display:block;margin:0;padding:0}
#diralearn-global-header summary::-webkit-details-marker{display:none}
#diralearn-global-header .dlg-drop>summary:after{content:'⌄';color:#086f65;font-size:15px}
#diralearn-global-header .dlg-menu{position:absolute;top:100%;left:-10px;width:270px;max-width:calc(100vw - 32px);max-height:65vh;overflow:auto;background:white;border:1px solid #d9e5e8;border-radius:9px;padding:8px;box-shadow:0 15px 35px #102d4225;z-index:3}
#diralearn-global-header .dlg-drop:nth-last-child(-n+3) .dlg-menu{left:auto;right:0}
#diralearn-global-header .dlg-menu a{display:block;padding:10px 12px;min-height:44px;border-radius:5px;font:600 13px/1.4 Inter,Arial,sans-serif;color:#102d42;text-decoration:none;white-space:normal}
#diralearn-global-header a:hover,#diralearn-global-header summary:hover{color:#086f65}
#diralearn-global-header .dlg-menu a:hover{background:#f1f5f9}
#diralearn-global-header .dlg-account .dlg-cta:hover{background:#075b54;color:white}
#diralearn-global-header .dlg-toggle{display:none;align-items:center;justify-content:center;gap:8px;background:white;color:#102d42;border:1px solid #9db8c1;border-radius:7px;padding:8px 12px;min-height:44px;font:700 13px/1.4 Inter,Arial,sans-serif;cursor:pointer}
#diralearn-global-header [hidden],#diralearn-global-footer [hidden]{display:none!important}
#diralearn-global-header :focus-visible{outline:3px solid #086f65;outline-offset:3px}
.dlg-footer#diralearn-global-footer{background:#102d42;color:#d7e7ec;padding:45px 0 0;margin:0;border:0}
#diralearn-global-footer .dlg-footer-brand{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 32px;margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid #36566b}
#diralearn-global-footer .dlg-brand strong{color:white}#diralearn-global-footer .dlg-brand em{color:#5ee0ce}#diralearn-global-footer .dlg-brand small{color:#d7e7ec}
#diralearn-global-footer .dlg-footer-brand p{font:400 13px/1.6 Inter,Arial,sans-serif;color:#d7e7ec;max-width:510px;margin:0}
#diralearn-global-footer .dlg-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 32px;padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #36566b}
#diralearn-global-footer .dlg-group h2{font:700 15px/1.35 Inter,Arial,sans-serif;color:#fff;margin:0 0 14px;letter-spacing:0;text-transform:none}
#diralearn-global-footer .dlg-group a{display:block;font:400 13px/1.45 Inter,Arial,sans-serif;color:#d7e7ec;text-decoration:none;overflow-wrap:anywhere;padding:5px 0;margin:0}
#diralearn-global-footer a:hover{color:#5ee0ce;text-decoration:underline}
#diralearn-global-footer :focus-visible{outline:3px solid #5ee0ce;outline-offset:3px}
#diralearn-global-footer .dlg-footer-end{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;padding:0 0 24px;font:400 12px/1.5 Inter,Arial,sans-serif;color:#d7e7ec}
#diralearn-global-footer .dlg-footer-end a,#diralearn-global-footer .dlg-credit a{display:inline;color:inherit;font:inherit;text-decoration:underline;margin:0;padding:0}
#diralearn-global-footer .dlg-credit{background:#0b2233;text-align:center;color:#c3d9e2;padding:13px 20px;font:400 12px/1.5 Inter,Arial,sans-serif}
/* High contrast for the advisor's operational disclaimer; no form/wallet logic changes. */
body .dcc-chat .dcc-footnote{color:#d7e7ec!important;opacity:1!important;-webkit-text-fill-color:#d7e7ec!important}
@media(max-width:950px){
 #diralearn-global-header .dlg-wrap,#diralearn-global-footer .dlg-wrap{width:calc(100% - 32px)}
 #diralearn-global-header .dlg-toprow{flex-wrap:wrap;padding:10px 0;gap:10px}
 #diralearn-global-header .dlg-toggle:not([hidden]){display:inline-flex}
 #diralearn-global-header[data-ready="1"] .dlg-nav:not(.dlg-open){display:none}
 #diralearn-global-header .dlg-nav{display:block;max-height:65vh;overflow:auto;padding:0 0 10px;border-top:1px solid #d9e5e8}
 #diralearn-global-header .dlg-menu{position:static;width:auto;max-width:none;max-height:none;box-shadow:none;background:#f1f5f9;margin-bottom:8px}
 #diralearn-global-header .dlg-nav>a,#diralearn-global-header .dlg-drop>summary{padding:12px 4px}
 #diralearn-global-footer .dlg-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
 #diralearn-global-header .dlg-toprow{justify-content:space-between}
 #diralearn-global-header .dlg-brand{flex:1 1 0}
 #diralearn-global-header .dlg-brand svg{width:40px;height:40px;flex-basis:40px}
 #diralearn-global-header .dlg-brand strong{font-size:24px}
 #diralearn-global-header .dlg-brand small{font-size:8px;letter-spacing:.055em}
 #diralearn-global-header .dlg-account{order:3;margin:0;flex:1 1 100%;justify-content:flex-end;gap:10px}
 #diralearn-global-header .dlg-account a{min-height:38px;padding:8px 10px}
 #diralearn-global-footer .dlg-footer-grid{gap:20px 16px}
 #diralearn-global-footer .dlg-footer-brand{align-items:flex-start}
}
@media(max-width:340px){#diralearn-global-footer .dlg-footer-grid{grid-template-columns:1fr}}
