
:root:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), :host:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-aft-band="dark"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), [data-aft-band="footer"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
  --chapter-base: var(--aft-charcoal, #111715);
  --chapter-surface: var(--chapter-base);
  --chapter-raised: #242424;
  --chapter-card: #303030;
  --chapter-title: #fff;
  --chapter-text: rgb(255 255 255 / 86%);
  --chapter-muted: rgb(255 255 255 / 72%);
  --chapter-line: rgb(255 255 255 / 20%);
  --chapter-link: var(--action-normal);
  --action-normal: var(--aft-mint, #33ffb5);
  --action-hover: var(--aft-button-hover, #19dc95);
  --action-ink: #111;
  color-scheme: dark;
}
body:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), :host:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
  --paper: var(--chapter-base);
  --ink: var(--chapter-title);
  --carbon: var(--chapter-title);
  --line: var(--chapter-line);
  --quiet: var(--chapter-muted);
  --wash: var(--chapter-raised);
}


/* Saved pages include locally scoped, important utility declarations. Keep
   their layout intact while applying the same color roles to each template. */
@layer inner-page-colors {html:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), body:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), :host:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: var(--chapter-base) !important; color: var(--chapter-text) !important; }
header.aft-site-nav:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    --site-nav-bg: #161616 !important;
    --site-nav-panel: var(--chapter-raised) !important;
    --site-nav-line: var(--chapter-line) !important;
    --site-nav-text: var(--chapter-title) !important;
    --site-nav-muted: var(--chapter-muted) !important;
  }
header.aft-site-nav :is(.auth .button,.cta-btn):hover:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    color: var(--action-ink) !important;
    background: var(--action-hover) !important;
  }
.aft-terrain:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background: var(--chapter-line) !important; }
.aft-terrain:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::after {
    background-image: linear-gradient(161deg, transparent 35%, var(--chapter-line) 49%, transparent 64%) !important;
  }
footer:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: #0a0a0a !important; }
[data-aft-band="dark"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: var(--chapter-base) !important; }
[data-aft-band="light"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: var(--chapter-surface) !important; }
[data-aft-band="footer"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: #0a0a0a !important; }
:is(.section.aft-reading, [data-aft-band="light"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    --chapter-surface: var(--aft-ivory, #f6f5ef);
    --chapter-card: #fff;
    --chapter-title: var(--aft-ink, #18241f);
    --chapter-text: var(--chapter-title);
    --chapter-muted: var(--aft-muted, #42564e);
    --chapter-line: var(--aft-rule, #c4d2c9);
    --chapter-link: var(--aft-green-ink, #126449);
    color-scheme: light !important;
  }
.aft-contact-band:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    --chapter-title: var(--aft-ink, #18241f);
    --chapter-text: var(--chapter-title);
    background: var(--action-normal) !important;
  }

  @scope (:is(main, #root, #app, footer, .aft-contact-band, .aft-utility, [data-aft-band], :host)) to (.aft-site-nav, .language-picker) {:scope:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { color: var(--chapter-text) !important; }
:where(*):not(svg,svg *):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { border-color: var(--chapter-line) !important; }
:where(div,main,section,header,nav,article,aside,details,summary,fieldset,form,table,figure,
      h1,h2,h3,h4,p,span,small,strong,dl,dt,dd,ul,li,thead,tbody,tr,td,th,label,a):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      background-color: transparent !important;
    }
:where(#root,#root > div,main):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: var(--chapter-base) !important; }
:where([class*="bg-gradient"],[class*="from-white"],.aft-document-title):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      background-image: none !important;
    }
:where(.subhero,.compare-intro,.campaign-summary,.aft-photo-cover,[data-aft-band="dark"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      background-color: var(--chapter-base) !important;
    }
:where(.section.aft-reading, [data-aft-band="light"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color-scheme: light !important;
      background-color: var(--chapter-surface) !important;
    }
.section.aft-reading:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      --ink: var(--chapter-title);
      --quiet: var(--chapter-muted);
      --mint: var(--chapter-text);
      --line: var(--chapter-line);
      box-shadow: 0 0 0 100vmax var(--chapter-surface) !important;
    }
:where(footer,[data-aft-band="footer"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: #0a0a0a !important; }
:where(.contents,.sticky,.ctd-tabs,.pm-tabs,.ec-toolbar):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: var(--chapter-surface) !important; }
:where(.workbox,[data-compare],.ai-example,.marketview,.account-facts,
      .risk-scenarios,.risk-source-cards,.help-topic,.ctd-box,.aft-register-demo,
      .handoff:not([hidden]),.setup-walkthrough .pane,thead th,
      article[class*="card"],div[class*="-card"],section[class*="-panel"],
      [class~="bg-white"][class*="rounded"],[data-slot="card"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      background-color: var(--chapter-card) !important;
    }
:is(h1,h2,h3,h4,h5,h6):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-title) !important;
      -webkit-text-fill-color: currentColor !important;
    }
:where(h1,.hero-title):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { font-weight: 700 !important; }
:where(h2,h3,.lead,.deck,.section-lead,.hero-subtitle):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { font-weight: 400 !important; }
:where(p,blockquote,div,li,th,td,dt,dd,label,strong,b,em,output,summary,span,legend,code,pre,time,small,bdi,
      [class*="text-gray-"],[class*="text-slate-"],[class*="text-[#"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-text) !important;
    }
:is(h1,h2,h3,h4,h5,h6) :where(span,strong,b,em):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: inherit !important;
      font-weight: inherit !important;
      -webkit-text-fill-color: currentColor !important;
    }
:is(.account-visual span,.metal-type):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      background-image: none !important;
      color: var(--chapter-title) !important;
      -webkit-text-fill-color: currentColor !important;
    }
:where(small,time,figcaption,.fine,.stamp,.section-label,.risk,.muted,.disclaimer,.deck,.lead,.section-lead):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-muted) !important;
    }
:where(.section-label):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::before, hr:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { background-color: var(--chapter-line) !important; }
:where(.section-label,.steps li):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::before { color: var(--chapter-text) !important; border-color: var(--chapter-line) !important; }
.steps li:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::before { background-color: var(--chapter-card) !important; }
:where(input,select,textarea,option,button):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-title) !important;
      background-color: var(--chapter-card) !important;
      accent-color: var(--action-normal);
    }
:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *)))::placeholder { color: var(--chapter-muted) !important; }
:where(input,select,textarea)[aria-invalid="true"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { outline: 2px solid var(--chapter-title); }
:where(a,.link,.text-button,.quote-refresh,.ct-refresh,.copy-enquiry,.learn-more-btn,.help-view-all):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-link, var(--action-normal)) !important;
    }
:where(a,button,summary):hover:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { color: var(--action-hover) !important; }
:where(a,button,summary):focus-visible:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { outline: 2px solid var(--action-normal) !important; outline-offset: 2px; }
:where(button[aria-pressed="true"],button[aria-selected="true"],button[data-state="active"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-link) !important;
      box-shadow: inset 0 -2px var(--chapter-link) !important;
    }
:is(.button,.cta-btn,.bit-btn-main,.id-trade,.help-search-submit,.aft-contact-band a,button[type="submit"],a[class*="-button"],.gold-action-link):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      background: var(--action-normal) !important;
      color: var(--action-ink) !important;
      border-color: transparent !important;
      &:hover { background: var(--action-hover) !important; }
      &:is(:disabled,[aria-disabled="true"]) {
        color: var(--chapter-muted) !important;
        background: var(--chapter-card) !important;
      }
    }
:is(a,button,summary) :where(span,strong,b,bdi,i):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { color: inherit !important; }
:is(.crumb,[aria-label*="breadcrumb" i],[class*="breadcrumb" i],
      .flex.items-center:has(> a[href$="/index.html"], > a[href*="/index.html?lang="])):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-muted) !important;
      & :where(a,span,li,b) { color: inherit !important; }
      & a:hover { color: var(--chapter-title) !important; }
    }
:is(.contents,.footlinks,footer nav) a:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), a:has(> h2, > h3, > h4):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
      color: var(--chapter-text) !important;
    }
:is(.contents,.footlinks,footer nav) a:hover:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { color: var(--action-hover) !important; }
.contents a:not([aria-current="location"]):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { border-block-end-color: transparent !important; }
.contents a[aria-current="location"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { color: var(--chapter-title) !important; border-color: var(--chapter-line) !important; }

  }.aft-contact-band .aft-contact-inner a:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
    color: #fff !important;
    background: var(--chapter-base) !important;
  }

}.feature-page :is(#account-comparison,.campaign-terms)[data-aft-band="light"]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), :is(.nbp-sections,.risk-prose,.help-category-content,.campaign-terms) > section[data-aft-band]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), :is(.nbp-heading,.risk-report-header,.risk-layout,.newsroom-content,.newsroom-section)[data-aft-band]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), main > .max-w-\[820px\] > [data-aft-band]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
  box-shadow: 0 0 0 100vmax var(--chapter-surface);
  clip-path: inset(0 -100vmax);
}
.risk-prose > section[data-aft-band]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), .help-category-content > section[data-aft-band]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), .campaign-terms > section[data-aft-band]:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
  margin-block: 0;
  padding-block: clamp(24px, 4vw, 56px);
}
.aft-utility > :is(header,section):where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
  display: flow-root;
  padding-block: 1rem;
}
.aft-error-heading:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))), .aft-error-actions:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) {
  display: grid;
  justify-items: center;
  align-content: center;
  padding: clamp(36px, 6vw, 88px) 6%;
}
.aft-error-heading:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { min-height: 42svh; }
.market-trade.feature-page main > .container:first-child:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { padding-block-start: clamp(22px, 3vw, 48px); }
.newsroom-content:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-template-columns: minmax(0,1fr); }
.risk-layout:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-template-columns: minmax(0,830px); justify-content: center; row-gap: 1.5rem; }

@media (min-width: 1001px) {.help-detail-grid:where(:not(:is(#site-masthead, #site-masthead *, [data-site-footer], [data-site-footer] *))) { grid-template-columns: 230px minmax(0,1fr); }

}
