@font-face{font-family:"Noto Sans";src:url("/assets/fonts/NotoSans.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}
/* Final shared palette for every shipped HTML surface, including legacy tools. */
@font-face{font-family:TFBD Bengali;src:url('/assets/fonts/NotoSansBengali.ttf') format('truetype');font-display:swap;unicode-range:U+0980-09FF}
:root,[data-theme=light]{color-scheme:light;--site-bg:#f3f6f4;--site-surface:#fff;--site-raised:#eaf0ec;--site-text:#1f3028;--site-muted:#506259;--site-line:#c6d3cb;--site-accent:#176345;--site-accent-bg:#e0f1e7;--site-hover:#cce8d9;--site-danger:#a12635;--site-danger-bg:#fce7e9;--site-warn:#78500b;--site-warn-bg:#fff0cc;--site-shadow:0 8px 30px #16342309}
[data-theme=dark]{color-scheme:dark;--site-bg:#121615;--site-surface:#1b211e;--site-raised:#252e29;--site-text:#e3ede6;--site-muted:#adbbb1;--site-line:#435349;--site-accent:#8cddb1;--site-accent-bg:#213c2d;--site-hover:#31533f;--site-danger:#ffb4bd;--site-danger-bg:#46272d;--site-warn:#f3d08b;--site-warn-bg:#3b321f;--site-shadow:0 8px 30px #0002}
html[data-theme],html[data-theme] body{--bg:var(--site-bg);--canvas:var(--site-bg);--paper:var(--site-bg);--surface:var(--site-surface);--card:var(--site-surface);--panel:var(--site-surface);--nav:var(--site-surface);--text:var(--site-text);--ink:var(--site-text);--navy:var(--site-text);--navy-dark:var(--site-text);--blue:var(--site-accent);--blue-dark:var(--site-accent);--green:var(--site-accent);--teal:var(--site-accent);--muted:var(--site-muted);--line:var(--site-line);--border:var(--site-line);--tf-canvas:var(--site-bg);--tf-ink:var(--site-text);--tf-muted:var(--site-muted);--tf-line:var(--site-line);--tf-navy-950:var(--site-surface);--tf-navy-900:var(--site-surface);--tf-blue:var(--site-accent);--portal-font:'Noto Sans','TFBD Bengali',system-ui,sans-serif;--font-pocket:var(--portal-font);background:var(--site-bg)!important;color:var(--site-text)!important;font-family:var(--portal-font)!important}
html[data-theme] body :is(h1,h2,h3,h4,h5,h6,label,legend,summary,strong,b){color:inherit}
html[data-theme] body :is(main,.app-stage,.app-main,.app-view,.workspace,.content,.auth-layout){background-color:var(--site-bg)!important;color:var(--site-text)!important}
html[data-theme] body :is(.card,.panel,.surface,.box,.tile,.stat,.metric,.result,.result-card,.source-card,.guide-card,.learning-card,.tax-card,.transaction-card,.decision-card,.quiz-panel,.cert-panel,.home-search-panel,.home-headlines,.member-intro,.page-head,.message,.auth-form,details,dialog,.modal,.modal-content,.trade-bot,.trade-bot-body,.trade-bot-form,.trade-bot-faq,.query-guidance,.note,article){background:var(--site-surface)!important;color:var(--site-text)!important;border-color:var(--site-line)!important;border-radius:14px;box-shadow:var(--site-shadow)}
html[data-theme] body :is(header,footer,.app-topbar,.member-header,.topbar,.rail,.app-sidebar,.portal-footer,.pocket-bottom-nav,.trade-bot-head,.site-theme-toolbar){background:var(--site-surface)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(p,li,td,dt,dd,.body-text){color:inherit}
html[data-theme] body :is(small,.muted,.eyebrow,.label,.rail-label,.sidebar-kicker,.sidebar-foot,.section-label,.home-control-label){color:var(--site-muted)!important}
html[data-theme] body a{color:var(--site-accent)!important;text-underline-offset:3px}
html[data-theme] body a:hover{color:var(--site-text)!important;text-decoration:underline}
html[data-theme] body :is(button,.btn,.button,input[type=submit],input[type=button]){background:var(--site-accent-bg)!important;color:var(--site-accent)!important;border:1px solid var(--site-line)!important;border-radius:11px;box-shadow:none!important;min-height:44px;transition:background-color .15s,color .15s,border-color .15s}
html[data-theme] body :is(button,.btn,.button,input[type=submit]):hover:not(:disabled){background:var(--site-hover)!important;color:var(--site-text)!important;border-color:var(--site-accent)!important;filter:none!important;text-decoration:none}
html[data-theme] body :is(button,.btn,.button):active{background:var(--site-hover)!important}
html[data-theme] body :is(button,input,select,textarea):disabled{opacity:.55;cursor:not-allowed}
html[data-theme] body :is(.danger,.btn-danger){background:var(--site-danger-bg)!important;color:var(--site-danger)!important}
html[data-theme] body :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:var(--site-bg)!important;color:var(--site-text)!important;border-color:var(--site-line)!important;border-radius:10px;box-shadow:none}
html[data-theme] body ::placeholder{color:var(--site-muted)!important;opacity:1}
html[data-theme] body :is(input[type=checkbox],input[type=radio]){accent-color:var(--site-accent)}
html[data-theme] body :is(table,tbody,tr,td){background-color:transparent!important;border-color:var(--site-line)!important}
html[data-theme] body :is(th,thead){background:var(--site-raised)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body tbody tr:hover{background:var(--site-raised)!important}
html[data-theme] body :is(pre,code,kbd){background:var(--site-raised)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(.badge,.notice,.success,.status-ok){background:var(--site-accent-bg)!important;color:var(--site-accent)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(.warning,.warn,.badge.warn,.message.internal){background:var(--site-warn-bg)!important;color:var(--site-warn)!important}
html[data-theme] body :is(.error,.errorbox,.badge.error){background:var(--site-danger-bg)!important;color:var(--site-danger)!important}
html[data-theme] body :is(.sidebar-nav,.sidebar-tools,.rail nav,.pocket-bottom-nav) :is(a,button):hover,html[data-theme] body :is(.active,[aria-selected=true],[aria-current=page]){background:var(--site-accent-bg)!important;color:var(--site-accent)!important}
html[data-theme] body :is(.home-headline-list a,.home-headline-list strong,.home-headline-list span){background-color:var(--site-surface)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body :focus-visible{outline:3px solid var(--site-accent)!important;outline-offset:3px!important;box-shadow:none!important}
html[data-theme] body .site-theme-toggle{font-size:12px!important;white-space:nowrap;min-height:40px;padding:8px 12px;flex-shrink:0}
.site-theme-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 20px;border-bottom:1px solid var(--site-line)}
.site-theme-toolbar>a{font-size:15px;font-weight:650;text-decoration:none}
@media(max-width:980px){html[data-theme] .member-header{flex-wrap:wrap;height:auto;min-height:64px;padding:8px 12px!important;gap:8px}html[data-theme] .member-header nav{margin-left:auto}html[data-theme] .member-header nav .primary{font-size:11px;padding:8px}html[data-theme] .member-header>a{font-size:13px}html[data-theme] .site-theme-toggle{font-size:11px!important;padding:7px!important}.member-home .pocket-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;min-height:68px;padding:6px 8px max(7px,env(safe-area-inset-bottom));z-index:75;justify-content:space-around;gap:4px;border-top:1px solid var(--site-line)}.member-home .pocket-bottom-nav :is(a,button){display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 4px;min-width:0;min-height:52px;font-size:10px}.member-home .pocket-bottom-nav .design-icon{width:20px;height:20px}body.member-home .app-main{padding-bottom:100px!important}}
@media(prefers-reduced-motion:reduce){html[data-theme] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{html[data-theme],html[data-theme] body{--site-bg:white;--site-surface:white;--site-text:black;--site-muted:#444;--site-accent:#163d2a;--site-line:#aaa}.site-theme-toggle,.site-theme-toolbar,.pocket-bottom-nav{display:none!important}}
html[data-theme] body :is(aside,.side,.sidebar,.tool,.source-section,.source-status,.section-card,.step-card,.resource-card,.workspace-card,.numbers,.code){background:var(--site-surface)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(.tfbd-grade,.tfbd-evidence-status){background:var(--site-warn-bg)!important;color:var(--site-warn)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(.tag,.chip,.pill){background:var(--site-raised)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(.side-label,.side-note){color:var(--site-muted)!important}
/* Legacy content families share colors without changing their layout or data semantics. */
html[data-theme] body :is(section,nav.toc,nav.tabs,nav.no-print,.hero,.empty,.item,.filter-bar,.article-note,.more-reading,.source-note,.source-box,.formula,.margin-rule,.nature-clear-notice,[class$="-card"],[class*="-card "],[class$="-panel"],[class$="-box"]){background:var(--site-surface)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(.risk,.access-alert){background:var(--site-warn-bg)!important;color:var(--site-warn)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(.topic-pill,.action,.back){background:var(--site-raised)!important;color:var(--site-accent)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(nav,aside,.home-headline-list,.tfbd-related,.related-links) a{background-color:transparent!important}
html[data-theme] body :is(nav,aside) a:hover{background:var(--site-hover)!important;color:var(--site-text)!important}
html[data-theme] body :is(.side,.sidebar,.rail) :is(a,button):not(.active){background:transparent!important}
html[data-theme] body .tfbd-artwork-banner{background-color:var(--site-surface)!important}
html[data-theme] body .skip,html[data-theme] body .skip-link{background:var(--site-surface)!important;color:var(--site-text)!important}
html[data-theme] body .epz-slide li{background:var(--site-raised)!important;color:var(--site-text)!important}
html[data-theme] body :is(.actions a,.main-point-list li){background:var(--site-raised)!important;color:var(--site-text)!important;border-color:var(--site-line)!important}
html[data-theme] body .site-theme-toggle{width:auto!important;max-width:160px;flex:0 0 auto!important;line-height:1.4}
html[data-theme] .site-theme-toolbar>a{flex:1;min-width:0;max-width:65%}
@media(max-width:480px){html[data-theme] body .member-header nav .primary{max-width:100px;white-space:normal;line-height:1.2}html[data-theme] body .member-header .site-theme-toggle{min-height:36px}html[data-theme] body .member-header{align-items:center}}
html[data-theme] body .side-note{background:var(--site-raised)!important;color:var(--site-muted)!important;border-color:var(--site-line)!important}
html[data-theme] body :is(button,.btn,.button):not([type=submit]):not(.primary):not(.danger):not(.active):not([aria-selected=true]){background:var(--site-raised)!important;color:var(--site-text)!important}
html[data-theme] body :is(button,.btn,.button):hover:not(:disabled){background:var(--site-hover)!important;color:var(--site-text)!important}
html[data-theme] body :is([aria-selected=true],[aria-current=page],.rail a.active,.sidebar-nav .active){box-shadow:inset 0 -3px var(--site-accent)!important;font-weight:700}
@media(max-width:600px){html[data-theme] body .member-header{flex-wrap:nowrap;min-height:64px;gap:6px}html[data-theme] body .member-header nav .primary{display:none}html[data-theme] body .member-header>a{white-space:nowrap;font-size:12px}html[data-theme] body .member-header img{width:24px;height:24px}html[data-theme] body .member-header nav{margin-left:0}}
@media(max-width:760px){html[data-theme] body .topbar{padding:0 10px!important;gap:6px}html[data-theme] body .account{gap:5px;min-width:0}html[data-theme] body .account .avatar{display:none}html[data-theme] body .topbar :is(button,.btn){font-size:11px!important;padding:7px!important;min-height:40px}html[data-theme] body .account #bell{max-width:105px;white-space:normal;line-height:1.2}html[data-theme] body .account .site-theme-toggle{max-width:90px}}
html[data-theme] .table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
html[data-theme] .table-wrap:has(th:nth-child(3)) table{min-width:640px}
html[data-theme] .table-wrap :is(th,td){word-break:normal;overflow-wrap:normal}
html[data-theme] .table-wrap td:first-child{min-width:170px}
html[data-theme=light] body :is(input,select,textarea){border-color:#7c9184!important}
html[data-theme=dark] body :is(input,select,textarea){border-color:#718879!important}


/* Homepage advisory identity: retain the shared light/dark switch, but use a
   restrained navy/blue/gold palette rather than the generic green account theme. */
html[data-theme=light] body.is-home.member-home{
 --site-bg:#f3f7fc;--site-surface:#fff;--site-raised:#eaf2fb;
 --site-text:#152e49;--site-muted:#455d76;--site-line:#ceddeb;
 --site-accent:#1b568d;--site-accent-bg:#e5f0fb;--site-hover:#d4e7f8;
}
html[data-theme=dark] body.is-home.member-home{
 --site-bg:#101b2b;--site-surface:#18283b;--site-raised:#22374d;
 --site-text:#e9f2fb;--site-muted:#b7c9da;--site-line:#476178;
 --site-accent:#9bcaf8;--site-accent-bg:#243e59;--site-hover:#325473;
}
html[data-theme=light] body.is-home.member-home #home .advisory-intro{
 background:linear-gradient(115deg,#fff 0%,#f3f8fe 65%,#e8f2fc 100%)!important;
 border-color:#cbdceb!important;border-left:4px solid #aa8244!important;
}
html[data-theme=dark] body.is-home.member-home #home .advisory-intro{
 background:linear-gradient(115deg,#182d42 0%,#203b56 100%)!important;
 border-color:#4d6880!important;border-left:4px solid #d5ac67!important;
}
html[data-theme=dark] body.is-home.member-home #home .advisory-intro h1{color:#f0f6fd!important}
html[data-theme=dark] body.is-home.member-home #home .advisory-intro p{color:#cbdceb!important}
html[data-theme] body.is-home.member-home #home .home-search-panel h2{color:var(--site-text)!important}
html[data-theme] body.is-home.member-home #home .home-field-label,
html[data-theme] body.is-home.member-home #home .home-control-label{color:var(--site-text)!important}
html[data-theme] body.is-home.member-home #home .home-search-status{color:var(--site-muted)!important}
html[data-theme] body.is-home.member-home .footer.portal-footer{
 background:#102d4b!important;border-top:2px solid #bd9b60!important;color:#e9f2fc!important;
}
html[data-theme] body.is-home.member-home .footer.portal-footer :is(a,strong,small,span){
 color:#e0ebf7!important;
}
html[data-theme] body.is-home.member-home .footer.portal-footer a:hover{
 color:#fff1ca!important;text-decoration:underline!important;
}
html[data-theme] body.is-home.member-home .member-search-tabs button[aria-selected=true]{
 color:var(--site-text)!important;font-weight:750;
}


/* Home navigation: tokenized contrast for the light sidebar and dark drawer. */
html[data-theme] body.is-home.member-home .app-sidebar{
 background:var(--site-surface)!important;color:var(--site-text)!important;
 border-right:1px solid var(--site-line)!important;
}
html[data-theme] body.is-home.member-home .sidebar-section-label,
html[data-theme] body.is-home.member-home .sidebar-foot :is(strong,small),
html[data-theme] body.is-home.member-home .sidebar-tools :is(strong,small){
 color:var(--site-muted)!important;
}
html[data-theme] body.is-home.member-home .app-sidebar .sidebar-nav :is(button,a){
 color:var(--site-text)!important;background:transparent!important;
}
html[data-theme] body.is-home.member-home .app-sidebar .sidebar-nav :is(button,a):hover,
html[data-theme] body.is-home.member-home .app-sidebar .sidebar-nav :is(button,a).active{
 background:var(--site-raised)!important;color:var(--site-accent)!important;
}
html[data-theme] body.is-home.member-home .app-sidebar .sidebar-tools a{
 color:var(--site-text)!important;
}
html[data-theme] body.is-home.member-home .app-sidebar .sidebar-tools a:hover{
 background:var(--site-raised)!important;
}
