/* Approved graphite palette from the 3028 comparison, shared by the Visa previews. */
html.immersive-company[data-theme=dark]{--tos-bg-chart:#242424!important;--tos-bg-main:#181818!important;--tos-bg-dialog:#252525!important;--tos-bg-popup:#252525!important;--tos-bg-panel:#222222!important;--tos-bg-surface:#242424!important;--tos-bg-input:#292929!important;--tos-bg-field:#2b2b2b!important;--tos-bg-field-hover:#333333!important;--tos-bg-subtle:#2c2c2c!important;--tos-border-sep:rgba(255,255,255,.12)!important}
html.immersive-company[data-theme=dark] .immersive-nav-glass{background:#202020a3!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px);border-color:#ffffff26!important}
html.sidebar-preview.immersive-company[data-theme=dark]::before{background:#202020a8!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px);border-color:#ffffff26!important}
html.immersive-company[data-theme=dark] #preview-rail{background:transparent!important;color:#e0e6eb!important}
html.immersive-company[data-theme=dark] #preview-rail :is(a,button,span,svg){color:#e0e6eb!important}
html.immersive-company[data-theme=dark] #preview-rail [aria-current=page]{background:#ffffff26!important}
html.immersive-company[data-theme=dark] :is(.gn-left,.gn-right,.compact-markets){color:#edf1f4!important}
html.immersive-company[data-theme=dark] :is(.gn-left,.gn-right) :is(a,button,.top-nav-brand){color:#edf1f4!important}
html.immersive-company[data-theme=dark] .compact-markets :is(.cm-name,.cm-price){color:#edf1f4!important}
html.immersive-company[data-theme=dark] :is(.frost-search,.top-nav-search){background:#292929!important;border-color:#ffffff26!important;color:#e9eaec!important}
html.immersive-company[data-theme=dark]{--immersive-canvas:#181818;--immersive-sheet:rgba(34,34,34,.92)}
html.immersive-company[data-theme=dark] #statistics-test-panel{--frost-panel:rgba(44,44,44,.46)!important;--frost-header:rgba(255,255,255,.025)!important;--frost-line:rgba(255,255,255,.16)!important;--frost-rule:rgba(255,255,255,.09)!important;--stats-bg:rgba(40,40,40,.72)!important;--stats-head:#2c2c2c!important;--stats-stripe:rgba(255,255,255,.025)!important;--stats-line:rgba(255,255,255,.12)!important;--desk-page-bg:transparent!important;--statement-page-bg:transparent!important;--statement-subtotal-bg:#2c2c2c!important;--statement-frame-line:rgba(255,255,255,.12)!important;--tos-bg-dialog:#252525;--tos-bg-subtle:#2c2c2c;--tos-border-sep:rgba(255,255,255,.12)}
html.immersive-company[data-theme=dark] :is(.immersive-research-sheet,.immersive-research-surface){background:rgba(34,34,34,.92)!important;border-color:rgba(255,255,255,.12)!important}
html.immersive-company[data-theme=dark] #statistics-test-panel :is(.desk-frame,.statement-section){background:rgba(40,40,40,.72)!important;border-color:rgba(255,255,255,.12)!important}
/* Neutral menu surfaces and hero controls complete the same palette. */
html.immersive-company[data-theme=dark] .immersive-quote-dock{background:linear-gradient(90deg,#0c0c0cc4,#0c0c0c00)}
html.immersive-company[data-theme=dark] .visa-film-toggle{background:#20202065;border-color:#ffffff26}
/* The footer remains part of the research sheet, without a separate filled block. */
html.immersive-company[data-theme=dark] #statistics-test-panel .site-footer-host{--site-text:#c9cdd3;--site-muted:#999}
html.immersive-company[data-theme=dark] #statistics-test-panel .site-footer-host:not(.homepage-footer-16),
html.immersive-company[data-theme=dark] #statistics-test-panel .site-footer-host:not(.homepage-footer-16) .home-footer{--site-surface:transparent!important;background:transparent!important;border-color:rgba(255,255,255,.12)!important}
