/* Additive appearance layer. Light mode retains the original styles and colours. */
:root[data-theme="light"]{color-scheme:light}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;padding:8px 12px;white-space:nowrap;border:1px solid #ccd9ce;border-radius:8px;background:#f8faf5;color:#254c3e;font:inherit;font-size:13px;cursor:pointer;line-height:1.5}
.theme-toggle:hover{background:#eaf1e8}.theme-toggle:focus-visible,#theme-preference:focus-visible{outline:3px solid #c79b44;outline-offset:3px}
.topbar:has(.theme-toggle){gap:16px}.topbar .theme-toggle{margin-left:0}
.theme-settings{margin:16px 0 24px;padding:18px;border:1px solid #dce4d8;border-radius:10px;background:#f8faf5;max-width:680px}
.theme-settings h3{margin:0 0 14px;font-size:18px}.theme-settings label{font-size:14px;margin-right:12px}.theme-settings select{font:inherit;min-height:44px;min-width:140px;border:1px solid #cbd6ce;border-radius:7px;background:white;color:#193b32;padding:8px 12px}.theme-settings p{font-size:12px;line-height:1.8;color:#637466;margin:12px 0 0}
@media(min-width:651px) and (max-width:1250px){.topbar:has(.theme-toggle){flex-wrap:wrap;height:auto;min-height:76px;padding-top:12px;padding-bottom:12px}.topbar:has(.theme-toggle) nav{order:3;flex-basis:100%;height:44px;justify-content:space-between;gap:8px}.topbar:has(.theme-toggle) .theme-toggle{margin-left:auto}.topbar:has(.theme-toggle) .edition{display:none}}
@media(max-width:650px){.topbar:has(.theme-toggle){flex-wrap:nowrap;justify-content:space-between;gap:8px}.topbar .theme-toggle{padding:8px 10px;font-size:12px}.theme-settings{margin:12px;padding:14px}.theme-settings label{display:block;margin:0 0 8px}.theme-settings select{width:100%;font-size:16px}.theme-settings p{font-size:12px}}

:root[data-theme="dark"]{color-scheme:dark;--ink:#e3ece7;--muted:#afc0b6;--gold:#f0c46f;--paper:#121c18;--border:#35483f;--red:#ff958c;--green:#84d6ad;--white:#1b2822;--night-bg:#121c18;--night-surface:#1b2822;--night-raised:#22342b;--night-selected:#2b483b;--night-text:#e3ece7;--night-muted:#afc0b6;--night-border:#35483f;--night-green:#84d6ad;--night-red:#ff958c;--night-gold:#f0c46f;--night-blue:#8bbdff;background:var(--night-bg);color:var(--night-text)}
html[data-theme="dark"] body{background:var(--night-bg);color:var(--night-text)}
/* Override hard-coded legacy text colours while keeping semantic states below. */
html[data-theme="dark"] body :where(button,a,p,span,small,strong,b,label,h1,h2,h3,h4,h5,h6,li,td,th,summary,dt,dd,output,time){color:var(--night-text)!important}
html[data-theme="dark"] :where(*){border-color:var(--night-border)!important;scrollbar-color:#627b6b var(--night-bg)}
html[data-theme="dark"] :is(.topbar,body>header,dialog,.panel,.quote,.opportunity-card,.opportunity-verdicts article,.peg-grid article,.peg-overview-grid>div,.overseas-card,.ndx-quality-card,.overseas-signal-grid article,.lower-edge-card,.lower-edge-alert-system article,.fixed-pe-comparison article,.theme-settings){background:var(--night-surface)!important;background-image:none!important;color:var(--night-text)!important}
html[data-theme="dark"] :is(.method-strip,.source-explanation,.fundamental-metrics article,.fundamental-chip,.overall-growth,.etf-observation-grid article,.overseas-metrics>div,.overseas-conclusion,.ndx-quality-card.aggregate-card,.m2-metrics article,.index-comparison,.segments,.overview-tabs,.broad-readout,.broad-bottom-cagr,.mobile-index-toolbar,.reading-jumps button,.overseas-section-nav a,.theme-toggle,.status-pill,.tag,#etf-volume-panel .etf-card,#etf-volume-panel .etf-tag,#etf-volume-panel .etf-window-control){background:var(--night-raised)!important;background-image:none!important}
html[data-theme="dark"] :is(.quote:first-child,.opportunity-card.selected,.overseas-card.selected,.ndx-quality-card.selected,.lower-edge-low-row.is-selected,.lower-edge-ranking tr.is-selected,.indicator-row.active,.indicator-row:hover,.m2-history tbody tr:hover,.m2-history tbody tr:focus){background:var(--night-selected)!important}
html[data-theme="dark"] :is(.segments .selected,.overview-tabs button.selected,.topbar .nav.active,.button,.fixed-pe-controls button){background:#295542!important;border-color:#71b18d!important;color:#eafff1!important}
html[data-theme="dark"] :is(.segments .selected,.overview-tabs button.selected,.button) :where(span,small){color:#eafff1!important}
html[data-theme="dark"] :is(.topbar nav,.topbar .nav){box-shadow:none}
html[data-theme="dark"] :is(.button:hover,.theme-toggle:hover,.icon-button:hover,.opportunity-card:hover,.lower-edge-card:hover){background:#2b483b!important}
html[data-theme="dark"] :is(.brand-icon,.method-mark){background:#2b483b!important;border-color:#76957f!important;color:#e3ece7!important}
html[data-theme="dark"] :is(.icon-button,.overview-tabs button,.nav,.text-button){background-color:transparent;color:var(--night-text)!important}
html[data-theme="dark"] :is(.chart,.research-chart,.m2-chart,.broad-plot,.lower-edge-mini,.etf-chart,.overseas-chart){background:var(--night-surface)!important}
html[data-theme="dark"] :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),textarea,select){background:var(--night-bg)!important;color:var(--night-text)!important;border-color:#627b6b!important}
html[data-theme="dark"] :is(input::placeholder,textarea::placeholder){color:#a6b8ac!important}
html[data-theme="dark"] input[type="range"],html[data-theme="dark"] input[type="checkbox"]{accent-color:#84d6ad!important}
html[data-theme="dark"] :is(.valuation-level progress,.confidence-details meter){background:#35483f!important}
html[data-theme="dark"] .valuation-level progress::-webkit-progress-bar,html[data-theme="dark"] .confidence-details meter::-webkit-meter-bar{background:#35483f}
html[data-theme="dark"] .valuation-level progress::-webkit-progress-value{background:#84d6ad}
html[data-theme="dark"] .valuation-level progress::-moz-progress-bar{background:#84d6ad}
html[data-theme="dark"] :is(table,tbody,td,th){background-color:transparent}
html[data-theme="dark"] :is(thead,tfoot,thead th,.fundamental-table th:first-child,.fundamental-table td:first-child){background:var(--night-raised)!important}
html[data-theme="dark"] :is(.valuation-insight,.valuation-insight.limited,.dividend-highlight){background:#20392d!important;border-left-color:#84d6ad!important}
html[data-theme="dark"] :is(.notice,.source-warning,.phase-candidate,.valuation-insight.caution,.overseas-warning,.m2-border-note,.lower-edge-card.watch,.indicator-row.watch.active,.abnormal .status-pill,.indicator-row.watch .status-pill,.peg-unverified,.source-warning,.lower-edge-card.candidate){background:#3b3020!important;border-color:#9d824e!important}
html[data-theme="dark"] :is(.lower-edge-card.danger,#etf-volume-panel .etf-alert-panel.has-events,#etf-volume-panel .etf-event-red,.indicator-row.abnormal.active){background:#3c2727!important;border-color:#b97972!important}
html[data-theme="dark"] :is(.lower-edge-card.recovery,.indicator-row.info .status-pill){background:#203d30!important}
html[data-theme="dark"] :is(.muted,small,time,.eyebrow,.edition,.intro p,.monitor-summary,.indicator-name small,.indicator-value small,.status-stack>small,.panel-foot,.chart-toolbar>span,.chart-readout,.chart-note,.legend,.history-row time,.source-row small,.source-explanation p,.opportunity-meta,.opportunity-date,.opportunity-regime,.fundamental-card-summary,.overall-table td small,.peg-overview-grid small,.table-swipe-hint,.theme-settings p,.broad-provenance,.broad-card-heading>span,.broad-position-note,.broad-stats,.broad-anchors,.broad-touches,.broad-timeline-ends,.broad-bottom-cagr>small,.overseas-slider,.overseas-legend,.lower-edge-card-summary,.lower-edge-low-list-head,.etf-meta,.etf-note,.etf-legend,.m2-point-heading>span,#updated,#chart-dates,#overseas-context-state,#treasury-yield-state){color:var(--night-muted)!important}
html[data-theme="dark"] :is(.up,.series-profit,.reference-2,.opportunity-signal.triggered b){color:var(--night-red)!important}
html[data-theme="dark"] :is(.down,.series-revenue,.reference-0,.peg-value,.peg-overview-grid strong,.dividend-highlight b,.overall-table td strong,.overseas-metrics strong,.broad-bottom-cagr>strong,.overseas-legend-pe,.overseas-legend-close,.overseas-legend-ndx,.overseas-legend-y10,.ndx-quality-plots .overseas-legend-value,.etf-legend span:nth-child(1)){color:var(--night-green)!important}
html[data-theme="dark"] :is(.series-profit,.reference-3,.overseas-legend-bias,.overseas-legend-p10,.overseas-legend-y30,.overseas-legend-correlation60,.overseas-legend-spread_bp,.m2-blue){color:var(--night-blue)!important}
html[data-theme="dark"] :is(.series-deducted,.reference-1,.overseas-legend-ma,.overseas-legend-p50,.overseas-legend-kc50,.overseas-legend-y20,.m2-gold,.fixed-pe-warnings,.broad-warnings,.broad-warnings *,.lower-edge-warning,.source-warning,.lower-edge-card.watch .lower-edge-warning,.peg-overview-grid .peg-unverified strong){color:var(--night-gold)!important}
html[data-theme="dark"] :is(.overseas-legend-p90,.lower-edge-card.danger .lower-edge-warning,#etf-volume-panel .etf-error,#etf-volume-panel .etf-event-red strong,#etf-volume-panel .etf-event-red>p:not(.etf-meta),#etf-volume-panel .has-events .etf-alert-summary){color:var(--night-red)!important}
html[data-theme="dark"] :is(.m2-green,.lower-edge-card.recovery .lower-edge-warning){color:var(--night-green)!important}
html[data-theme="dark"] :is(.lower-edge-warning,.lower-edge-warning small,.lower-edge-warning strong){color:inherit}
html[data-theme="dark"] .unknown .status-pill{background:#303a35!important;color:var(--night-muted)!important}
html[data-theme="dark"] svg text{fill:var(--night-muted)!important}
html[data-theme="dark"] dialog::backdrop{background:#000a}
html[data-theme="dark"] ::selection{background:#416452;color:#fff}
/* Preview shell and iframe both load this layer and share the browser preference. */
html[data-theme="dark"] body:has(#device-frame){background:var(--night-bg)!important}
html[data-theme="dark"] #device-frame{background:var(--night-surface);outline-color:#627b6b;box-shadow:0 12px 40px #0005}
@media(max-width:650px){html[data-theme="dark"] .topbar nav{background:var(--night-surface)!important;box-shadow:0 -4px 18px #0003}}

/* SVG palette only: paths, coordinates and financial values are untouched. */
html[data-theme="dark"] svg [fill="#edf0f4" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#edf0f4" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#edf0f4" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#edf0f4" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #edf0f4" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#e4e7da" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#e4e7da" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#e4e7da" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#e4e7da" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #e4e7da" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#e2e7e0" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#e2e7e0" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#e2e7e0" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#e2e7e0" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #e2e7e0" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#e5e9e5" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#e5e9e5" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#e5e9e5" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#e5e9e5" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #e5e9e5" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#dfe7dc" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#dfe7dc" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#dfe7dc" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#dfe7dc" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #dfe7dc" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#e2e8dd" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#e2e8dd" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#e2e8dd" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#e2e8dd" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #e2e8dd" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#e2e9e5" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#e2e9e5" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#e2e9e5" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#e2e9e5" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #e2e9e5" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#e3e6dc" i]{fill:#35483f!important}
html[data-theme="dark"] svg [stroke="#e3e6dc" i]{stroke:#35483f!important}
html[data-theme="dark"] svg [stop-color="#e3e6dc" i]{stop-color:#35483f!important}
html[data-theme="dark"] svg text[style*="fill:#e3e6dc" i]{fill:#35483f!important}
html[data-theme="dark"] svg text[style*="fill: #e3e6dc" i]{fill:#35483f!important}
html[data-theme="dark"] svg [fill="#fff" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [stroke="#fff" i]{stroke:#1b2822!important}
html[data-theme="dark"] svg [stop-color="#fff" i]{stop-color:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill:#fff" i]{fill:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill: #fff" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [fill="#ffffff" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [stroke="#ffffff" i]{stroke:#1b2822!important}
html[data-theme="dark"] svg [stop-color="#ffffff" i]{stop-color:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill:#ffffff" i]{fill:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill: #ffffff" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [fill="#fdfdf8" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [stroke="#fdfdf8" i]{stroke:#1b2822!important}
html[data-theme="dark"] svg [stop-color="#fdfdf8" i]{stop-color:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill:#fdfdf8" i]{fill:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill: #fdfdf8" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [fill="#f5f7f2" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [stroke="#f5f7f2" i]{stroke:#1b2822!important}
html[data-theme="dark"] svg [stop-color="#f5f7f2" i]{stop-color:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill:#f5f7f2" i]{fill:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill: #f5f7f2" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [fill="#eaf3fc" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [stroke="#eaf3fc" i]{stroke:#1b2822!important}
html[data-theme="dark"] svg [stop-color="#eaf3fc" i]{stop-color:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill:#eaf3fc" i]{fill:#1b2822!important}
html[data-theme="dark"] svg text[style*="fill: #eaf3fc" i]{fill:#1b2822!important}
html[data-theme="dark"] svg [fill="#22594c" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [stroke="#22594c" i]{stroke:#84d6ad!important}
html[data-theme="dark"] svg [stop-color="#22594c" i]{stop-color:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill:#22594c" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill: #22594c" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [fill="#26725d" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [stroke="#26725d" i]{stroke:#84d6ad!important}
html[data-theme="dark"] svg [stop-color="#26725d" i]{stop-color:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill:#26725d" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill: #26725d" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [fill="#2c786b" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [stroke="#2c786b" i]{stroke:#84d6ad!important}
html[data-theme="dark"] svg [stop-color="#2c786b" i]{stop-color:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill:#2c786b" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill: #2c786b" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [fill="#42876a" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [stroke="#42876a" i]{stroke:#84d6ad!important}
html[data-theme="dark"] svg [stop-color="#42876a" i]{stop-color:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill:#42876a" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill: #42876a" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [fill="#28a64a" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [stroke="#28a64a" i]{stroke:#84d6ad!important}
html[data-theme="dark"] svg [stop-color="#28a64a" i]{stop-color:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill:#28a64a" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill: #28a64a" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [fill="#329d73" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [stroke="#329d73" i]{stroke:#84d6ad!important}
html[data-theme="dark"] svg [stop-color="#329d73" i]{stop-color:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill:#329d73" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill: #329d73" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [fill="#4b8868" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [stroke="#4b8868" i]{stroke:#84d6ad!important}
html[data-theme="dark"] svg [stop-color="#4b8868" i]{stop-color:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill:#4b8868" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg text[style*="fill: #4b8868" i]{fill:#84d6ad!important}
html[data-theme="dark"] svg [fill="#487ba5" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [stroke="#487ba5" i]{stroke:#8bbdff!important}
html[data-theme="dark"] svg [stop-color="#487ba5" i]{stop-color:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill:#487ba5" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill: #487ba5" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [fill="#388ceb" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [stroke="#388ceb" i]{stroke:#8bbdff!important}
html[data-theme="dark"] svg [stop-color="#388ceb" i]{stop-color:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill:#388ceb" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill: #388ceb" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [fill="#476ba0" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [stroke="#476ba0" i]{stroke:#8bbdff!important}
html[data-theme="dark"] svg [stop-color="#476ba0" i]{stop-color:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill:#476ba0" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill: #476ba0" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [fill="#547da3" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [stroke="#547da3" i]{stroke:#8bbdff!important}
html[data-theme="dark"] svg [stop-color="#547da3" i]{stop-color:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill:#547da3" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg text[style*="fill: #547da3" i]{fill:#8bbdff!important}
html[data-theme="dark"] svg [fill="#c79b44" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [stroke="#c79b44" i]{stroke:#f0c46f!important}
html[data-theme="dark"] svg [stop-color="#c79b44" i]{stop-color:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill:#c79b44" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill: #c79b44" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [fill="#bd9950" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [stroke="#bd9950" i]{stroke:#f0c46f!important}
html[data-theme="dark"] svg [stop-color="#bd9950" i]{stop-color:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill:#bd9950" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill: #bd9950" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [fill="#aa8734" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [stroke="#aa8734" i]{stroke:#f0c46f!important}
html[data-theme="dark"] svg [stop-color="#aa8734" i]{stop-color:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill:#aa8734" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill: #aa8734" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [fill="#ba9959" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [stroke="#ba9959" i]{stroke:#f0c46f!important}
html[data-theme="dark"] svg [stop-color="#ba9959" i]{stop-color:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill:#ba9959" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill: #ba9959" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [fill="#bd7c3e" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [stroke="#bd7c3e" i]{stroke:#f0c46f!important}
html[data-theme="dark"] svg [stop-color="#bd7c3e" i]{stop-color:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill:#bd7c3e" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill: #bd7c3e" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [fill="#91611d" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [stroke="#91611d" i]{stroke:#f0c46f!important}
html[data-theme="dark"] svg [stop-color="#91611d" i]{stop-color:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill:#91611d" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg text[style*="fill: #91611d" i]{fill:#f0c46f!important}
html[data-theme="dark"] svg [fill="#bb5b4f" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#bb5b4f" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#bb5b4f" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#bb5b4f" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #bb5b4f" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#bd6253" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#bd6253" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#bd6253" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#bd6253" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #bd6253" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#ed5353" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#ed5353" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#ed5353" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#ed5353" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #ed5353" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#e65353" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#e65353" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#e65353" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#e65353" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #e65353" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#b96551" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#b96551" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#b96551" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#b96551" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #b96551" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#b65d50" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#b65d50" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#b65d50" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#b65d50" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #b65d50" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#a26062" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#a26062" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#a26062" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#a26062" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #a26062" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#a95a5a" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#a95a5a" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#a95a5a" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#a95a5a" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #a95a5a" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#8e6464" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [stroke="#8e6464" i]{stroke:#ff958c!important}
html[data-theme="dark"] svg [stop-color="#8e6464" i]{stop-color:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill:#8e6464" i]{fill:#ff958c!important}
html[data-theme="dark"] svg text[style*="fill: #8e6464" i]{fill:#ff958c!important}
html[data-theme="dark"] svg [fill="#adb69c" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [stroke="#adb69c" i]{stroke:#8eaa98!important}
html[data-theme="dark"] svg [stop-color="#adb69c" i]{stop-color:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill:#adb69c" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill: #adb69c" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [fill="#a3ae94" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [stroke="#a3ae94" i]{stroke:#8eaa98!important}
html[data-theme="dark"] svg [stop-color="#a3ae94" i]{stop-color:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill:#a3ae94" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill: #a3ae94" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [fill="#8799ae" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [stroke="#8799ae" i]{stroke:#8eaa98!important}
html[data-theme="dark"] svg [stop-color="#8799ae" i]{stop-color:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill:#8799ae" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill: #8799ae" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [fill="#9ba89c" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [stroke="#9ba89c" i]{stroke:#8eaa98!important}
html[data-theme="dark"] svg [stop-color="#9ba89c" i]{stop-color:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill:#9ba89c" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill: #9ba89c" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [fill="#8d998e" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [stroke="#8d998e" i]{stroke:#8eaa98!important}
html[data-theme="dark"] svg [stop-color="#8d998e" i]{stop-color:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill:#8d998e" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill: #8d998e" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [fill="#9ba994" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [stroke="#9ba994" i]{stroke:#8eaa98!important}
html[data-theme="dark"] svg [stop-color="#9ba994" i]{stop-color:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill:#9ba994" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill: #9ba994" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [fill="#b4c6bf" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [stroke="#b4c6bf" i]{stroke:#8eaa98!important}
html[data-theme="dark"] svg [stop-color="#b4c6bf" i]{stop-color:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill:#b4c6bf" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg text[style*="fill: #b4c6bf" i]{fill:#8eaa98!important}
html[data-theme="dark"] svg [fill="#eaf3fc" i]{fill:#273c32!important}
html[data-theme="dark"] :is(.notice,.overseas-warning,.source-warning,.m2-border-note,.broad-warnings){color:var(--night-gold)!important}
html[data-theme="dark"] :is(.loading,.empty,.chart-empty,.chart-empty span,.broad-empty,.valuation-empty,.source-explanation h3,footer,#etf-volume-panel .etf-empty){color:var(--night-muted)!important}
html[data-theme="dark"] #etf-volume-panel .etf-alert-panel{background:var(--night-raised)!important}
html[data-theme="dark"] .broad-readout{color:var(--night-text)!important}
/* Keep confirmed anomalies red and near-threshold warnings amber. */
html[data-theme="dark"] .indicator-row.abnormal .status-pill,html[data-theme="dark"] #etf-volume-panel .etf-event-red .etf-tag{background:#3c2727!important;color:var(--night-red)!important;border-color:#b97972!important}
html[data-theme="dark"] .indicator-row.watch .status-pill,html[data-theme="dark"] #etf-volume-panel .etf-tag.etf-warn{background:#3b3020!important;color:var(--night-gold)!important;border-color:#9d824e!important}
html[data-theme="dark"] .indicator-row.info .status-pill{background:#203d30!important;color:var(--night-green)!important}
