
/* =========================================================
   XauScan v3.16.2 — LIGHT THEME CONTRAST AUDIT
   Scoped to dashboard light mode only. Dark mode is untouched.
   ========================================================= */
html[data-xau-theme="light"] body.xauscan-dashboard,
body.light.xauscan-dashboard{
  --bg:#f4f7fb;--panel:#ffffff;--panel2:#f7f9fc;--line:#d6e0ea;--text:#102a43;--muted:#5a7087;
  --xau-bg:#f4f7fb;--xau-surface:#ffffff;--xau-surface-2:#f7f9fc;--xau-border:#d6e0ea;--xau-text:#102a43;--xau-text-2:#344e68;--xau-muted:#62788e;
  background:#f4f7fb!important;color:#102a43!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .app-main{background:linear-gradient(180deg,#fbfcfe 0,#f4f7fb 220px)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .app-content{color:#102a43}
html[data-xau-theme="light"] body.xauscan-dashboard .app-sidebar{background:#fbfcfe!important;border-color:#d7e1eb!important;box-shadow:8px 0 28px rgba(27,54,80,.035)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .sidebar-brand{background:#fff!important;border-color:#e0e7ef!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.sidebar-brand-copy strong,.app-page-title,.workspace-intro h1,.section h2,.section h3,.overview-range-board h3){color:#102a43!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.sidebar-brand-copy span,.app-page-subtitle,.workspace-intro p,.news-panel-head p,.pattern-scan-head p,.overview-merge-head p,.section .small,.section small,.muted){color:#62788e!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .app-topbar{background:rgba(255,255,255,.96)!important;border-color:#dbe4ed!important;box-shadow:0 3px 18px rgba(20,45,70,.055)!important;backdrop-filter:blur(14px)}
html[data-xau-theme="light"] body.xauscan-dashboard .workspace-intro{background:linear-gradient(120deg,#fff 0,#fffdf8 100%)!important;border-color:#d8bf86!important;box-shadow:0 9px 28px rgba(48,65,84,.06)!important;padding:20px 22px!important}
html[data-xau-theme="light"] body.xauscan-dashboard .workspace-intro h1{font-size:25px!important}
html[data-xau-theme="light"] body.xauscan-dashboard .workspace-intro p{font-size:12.5px!important;line-height:1.6!important}
html[data-xau-theme="light"] body.xauscan-dashboard .workspace-kicker{color:#92660f!important;font-weight:950!important}
html[data-xau-theme="light"] body.xauscan-dashboard .workspace-badge,
html[data-xau-theme="light"] body.xauscan-dashboard .news-source-pill,
html[data-xau-theme="light"] body.xauscan-dashboard :is(.merge-live-pill,.merge-update-pill,.pattern-live-pill,.pattern-update-pill){background:#f8fafc!important;border-color:#cbd8e5!important;color:#38536d!important;box-shadow:none!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.section,.overview-gold-frame,.overview-range-board,.news-calendar-card,.macro-today-results-shell){background:#fff!important;border-color:#d4dee8!important;box-shadow:0 9px 28px rgba(26,51,76,.055)!important}

/* Header/action rows */
html[data-xau-theme="light"] body.xauscan-dashboard :is(.overview-merge-head,.pattern-scan-head,.news-panel-head){gap:18px}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.overview-tech-meta,.pattern-scan-actions,.research-live-actions){gap:7px;align-items:center}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-btn{background:#fff!important;color:#1c3a56!important;border-color:#b9c8d7!important;box-shadow:0 2px 7px rgba(28,56,82,.05)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-btn:hover{background:#f4f8fb!important;border-color:#8198ad!important}

/* Technical engine */
html[data-xau-theme="light"] body.xauscan-dashboard .overview-technical-hub{background:linear-gradient(145deg,#fff,#fbfcfe)!important;border-color:#d6bd84!important}
html[data-xau-theme="light"] body.xauscan-dashboard .overview-tech-shell{gap:16px}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-overall{background:linear-gradient(145deg,#102332,#0d1c28)!important;border-color:#314d60!important;box-shadow:0 10px 24px rgba(11,34,52,.12)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-overall :is(.label,.tech-gauge-label){color:#9fb1bf!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-overall .tech-main-signal{color:#ff5f7f!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini{background:#f9fbfd!important;border-color:#d5e0ea!important;box-shadow:0 3px 12px rgba(33,63,91,.035)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini:has(.v.down){background:linear-gradient(135deg,#fff5f7,#fff)!important;border-color:#e9a9b5!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini:has(.v.up){background:linear-gradient(135deg,#f1fbf7,#fff)!important;border-color:#93cfb8!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini .label{color:#6b7f92!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini .small{color:#536a80!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row{background:#fbfcfe!important;border-color:#dce4ec!important;color:#1a344e!important;min-height:48px!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .tech-signal{background:#fff!important;border-color:#d7e1ea!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-sell,
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-strong-sell{background:#fff0f3!important;border-color:#f0b3bf!important;color:#c72e4d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-buy,
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-strong-buy{background:#eefaf5!important;border-color:#9bd5bf!important;color:#147451!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-scorebar{background:#e1e7ee!important}

/* 1-minute scanner */
html[data-xau-theme="light"] body.xauscan-dashboard .overview-pattern-scanner{background:linear-gradient(145deg,#fff,#fbfcfe)!important;border-color:#d6bd84!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-chart-card{background:#fff!important;border-color:#cfdbe6!important;box-shadow:0 8px 22px rgba(29,54,78,.05)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-chart-topline{background:#102432!important;color:#ecf4f7!important;border-color:#2b4658!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-chart-topline b{color:#a9bbc6!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-card{background:#fff!important;border-color:#cfdbe6!important;box-shadow:0 8px 22px rgba(29,54,78,.05)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-card.buy{background:linear-gradient(145deg,#effbf6,#fff 46%)!important;border-color:#83cbb0!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-card.sell{background:linear-gradient(145deg,#fff2f5,#fff 46%)!important;border-color:#e8a4b1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-card.watch{background:linear-gradient(145deg,#fff9ec,#fff 46%)!important;border-color:#d8bd77!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-main small,
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-trade-grid span,
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-move-box span{color:#647b8e!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-main h3{color:#15314b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-main p{color:#566d81!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-main>strong{background:#f2f5f8!important;color:#785a13!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-trade-grid>div,
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-context-row span,
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-move-box{background:#f7f9fc!important;border-color:#d8e2eb!important;color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-trade-grid b{color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-track-mini{border-color:#dce4ec!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-track-mini>div{background:#f8fafc!important;border-color:#d7e1ea!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-track-mini span,
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-track-mini small{color:#61768a!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-track-mini b{color:#15314b!important}

/* Gold News command center */
html[data-xau-theme="light"] body.xauscan-dashboard .news-workspace-intro{background:linear-gradient(120deg,#fff 0,#fffaf0 100%)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-intel-panel{background:#fff!important;border-color:#d8bf86!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-ai-hero,
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-driver,
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-timeline>*{background:#102432!important;border-color:#2b485a!important;color:#eef5f7!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-ai-hero :is(h2,h3,strong,b),
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-driver b{color:#fff!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-ai-hero :is(p,small,span),
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-driver span{color:#a8bbc6!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-banner{background:linear-gradient(110deg,#e8eef3,#f8fafc 48%,#edf2f6)!important;border-color:#93a8b9!important;color:#17314a!important;box-shadow:0 9px 25px rgba(25,52,77,.055)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-flag,
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-move{background:#102432!important;border-color:#2d4a5c!important;color:#fff!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-copy h2{color:#203a53!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-copy :is(p,small){color:#60758a!important}
html[data-xau-theme="light"] body.xauscan-dashboard .gold-news-command-grid>.section{background:#fff!important;border-color:#d8c38f!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-summary{background:#102432!important;border-color:#2b485a!important;box-shadow:0 8px 20px rgba(18,46,67,.10)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-summary :is(span,small){color:#9db1be!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-summary strong{color:#e7c766!important}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button{background:#fff!important;color:#2a455e!important;border-color:#cbd8e4!important;box-shadow:0 2px 8px rgba(29,54,77,.04)!important}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button.active{background:#0c6fa4!important;border-color:#0c6fa4!important;color:#fff!important}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button b{background:#edf3f7!important;color:#29455d!important}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button.active b{background:rgba(255,255,255,.18)!important;color:#fff!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-grid article,
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-card{background:#102432!important;border-color:#2a485a!important;box-shadow:0 8px 19px rgba(17,43,62,.10)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-grid article :is(h3,h4,b,strong),
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-card :is(h3,h4,b,strong){color:#f6f9fb!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-grid article :is(p,small,span,em),
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-card :is(p,small,span,em){color:#a9bbc6!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-market-pulse-panel{background:#fff!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-pulse-card{background:#102432!important;border-color:#2b485a!important;box-shadow:0 7px 18px rgba(16,42,61,.10)!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-pulse-card strong{color:#f8fbfc!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-pulse-card small{color:#9eb1bd!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-ratio-card{background:linear-gradient(135deg,#fff8e7,#fff)!important;border-color:#dcc47f!important;color:#17314b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-ratio-card strong{color:#765814!important}

/* Macro calendar / release results */
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-center{background:#fff!important;border-color:#d8bf86!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-decision{background:linear-gradient(120deg,#fff9ea,#fff 58%)!important;border-color:#d8c083!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-decision .macro-verdict-icon{background:#fff!important;border-color:#cbd8e4!important;color:#aa791d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-decision>div:nth-child(2)>span{color:#687e91!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-decision>div:nth-child(2)>strong{color:#9d6f0d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-decision>div:nth-child(2)>p{color:#596f83!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-verdict-tags b{background:#f7f9fb!important;border-color:#d4dee7!important;color:#496176!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-verdict-score{border-color:#dce4ec!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-verdict-score b{color:#17314b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-calendar-card,
html[data-xau-theme="light"] body.xauscan-dashboard .macro-today-results-shell{background:#fff!important;border-color:#d3dee8!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-calendar-shared-root,
html[data-xau-theme="light"] body.xauscan-dashboard #newsAgendaWeek{background:#102432!important;border-color:#2c495b!important;border-radius:15px!important;color:#eff5f7!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-results-shell-head{border-color:#dbe4ec!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-results-shell-head :is(h3,b){color:#17314b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-results-shell-head :is(p,small,span){color:#60758a!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-pending-next{background:linear-gradient(120deg,#eaf3fb,#f9fbfd)!important;border-color:#8db5d7!important;color:#17314b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-pending-time{background:#102432!important;border-color:#2c495b!important;color:#fff!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-pending-copy :is(span,small,em){color:#5f7589!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-pending-copy strong{color:#17314b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-pending-badge{background:#fff9e6!important;border-color:#d5ba68!important;color:#765711!important}

/* More legible generic cards in light mode */
html[data-xau-theme="light"] body.xauscan-dashboard :is(.section-title .small,.overview-stat-path small,.overview-range-source,.research-workspace-intro p){color:#60768a!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.overview-stat-path,.overview-stat-path-grid>div,.overview-stat-path-callout){background:#f8fafc!important;border-color:#d7e1ea!important;color:#1d3a55!important}
html[data-xau-theme="light"] body.xauscan-dashboard .overview-stat-path :is(span,small,p){color:#5e7488!important}
html[data-xau-theme="light"] body.xauscan-dashboard .overview-stat-path :is(h4,b,strong){color:#17314b!important}

@media(max-width:900px){html[data-xau-theme="light"] body.xauscan-dashboard .workspace-intro{padding:17px!important}.gold-news-command-grid{grid-template-columns:1fr!important}}

/* Keep intentionally-dark information islands readable inside light mode. */
html[data-xau-theme="light"] body.xauscan-dashboard :is(.tech-overall,.dedicated-news-summary,.dedicated-news-grid article,.dedicated-news-card,.news-pulse-card,.kavout-news-ai-hero,.kavout-news-driver,.macro-calendar-shared-root,#newsAgendaWeek) :is(.small,small,.label,span){color:#a8bbc7!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.tech-overall,.dedicated-news-summary,.dedicated-news-grid article,.dedicated-news-card,.news-pulse-card,.kavout-news-ai-hero,.kavout-news-driver,.macro-calendar-shared-root,#newsAgendaWeek) :is(h1,h2,h3,h4,b,strong){color:#f5f9fb!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-summary #goldNewsHubBias{color:#e8c969!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.news-pulse-card.ticker-gold>div span,.news-pulse-card.ticker-gold>div b){color:#f0cc67!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.news-pulse-card.ticker-silver>div span,.news-pulse-card.ticker-silver>div b){color:#d8e8f1!important}


/* =========================================================
   v3.16.2 — HARD LIGHT-THEME AUDIT
   This block intentionally wins over legacy dark-first rules.
   ========================================================= */
html[data-xau-theme="light"] body.xauscan-dashboard{
  --xau-text:#102a43;
  --xau-text-2:#2f4a63;
  --xau-muted:#516a80;
  --xau-muted-2:#6b8093;
  --xau-border:#cbd8e5;
  --xau-border-soft:#e0e7ef;
  --xau-surface:#ffffff;
  --xau-surface-2:#f6f9fc;
  --xau-surface-3:#edf3f8;
}

/* WordPress admin toolbar must never cover XauScan fixed/sticky UI. */
body.admin-bar.xauscan-dashboard .app-sidebar{top:32px!important;height:calc(100vh - 32px)!important;bottom:auto!important}
body.admin-bar.xauscan-dashboard .app-topbar{top:32px!important}
@media(max-width:782px){
  body.admin-bar.xauscan-dashboard .app-sidebar{top:46px!important;height:calc(100vh - 46px)!important}
  body.admin-bar.xauscan-dashboard .app-topbar{top:46px!important}
}

/* Core white surfaces and typography. */
html[data-xau-theme="light"] body.xauscan-dashboard :is(.section,.overview-gold-frame,.overview-range-board,.overview-pattern-scanner,.overview-technical-hub,.news-live-feed-panel,.news-market-pulse-panel,.news-macro-center){
  background:#fff!important;
  color:#102a43!important;
  border-color:#cbd8e5!important;
  box-shadow:0 10px 30px rgba(24,52,78,.065)!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.section,.overview-gold-frame,.overview-range-board,.overview-pattern-scanner,.overview-technical-hub) > :is(p,small,.small),
html[data-xau-theme="light"] body.xauscan-dashboard :is(.overview-merge-head,.pattern-scan-head,.news-panel-head,.research-workspace-intro) p{
  color:#526b81!important;
  opacity:1!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.section,.overview-gold-frame,.overview-range-board,.overview-pattern-scanner,.overview-technical-hub) :is(h1,h2,h3,h4){color:#102a43}
html[data-xau-theme="light"] body.xauscan-dashboard .workspace-kicker{color:#8b6110!important}

/* Top bar/sidebar: stronger text, no washed-out controls. */
html[data-xau-theme="light"] body.xauscan-dashboard .app-page-title{color:#102a43!important}
html[data-xau-theme="light"] body.xauscan-dashboard .app-page-subtitle{color:#516a80!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.chip,.data-connect-btn){background:#fff!important;color:#35516b!important;border-color:#c7d4e1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .sidebar-group-label{color:#6b7581!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.sidebar-item,.sidebar-external){color:#314c67!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.sidebar-item:hover,.sidebar-external:hover){color:#102a43!important;background:#f0f5fa!important}

/* TECHNICAL ENGINE — remove the dark/grey glossy cards shown in the screenshot. */
html[data-xau-theme="light"] body.xauscan-dashboard .overview-technical-hub{
  background:#fff!important;
  background-image:none!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .overview-technical-hub .overview-merge-head p{color:#526b81!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-summary-grid{gap:12px!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini,
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini:has(.v.down),
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini:has(.v.up){
  background:#fff!important;
  background-image:none!important;
  color:#16324d!important;
  border:1px solid #cbd8e5!important;
  box-shadow:0 4px 13px rgba(27,55,82,.055)!important;
  overflow:visible!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini-bias{border-left:4px solid #e05b73!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini-action{border-left:4px solid #e05b73!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini-confidence{border-left:4px solid #4d8fca!important;background:#f8fbff!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini .label{color:#5f7488!important;font-weight:800!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini .small{color:#4c647a!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini .v{color:#17324d!important;text-shadow:none!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini .v.down,
html[data-xau-theme="light"] body.xauscan-dashboard #techBias.down,
html[data-xau-theme="light"] body.xauscan-dashboard #techAction.down{color:#c93251!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-mini .v.up,
html[data-xau-theme="light"] body.xauscan-dashboard #techBias.up,
html[data-xau-theme="light"] body.xauscan-dashboard #techAction.up{color:#117252!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-overall{
  background:#102432!important;
  background-image:none!important;
  border-color:#2c485a!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-overall :is(.label,.tech-gauge-label,small,.small){color:#b6c7d1!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-overall :is(h2,h3,b,strong){color:#f8fbfc!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-gauge:after{background:#fff!important;border-color:#d4dee8!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-gauge-score{color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-gauge-label{color:#61778a!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row{
  background:#fff!important;
  background-image:none!important;
  color:#17324d!important;
  border-color:#d5e0ea!important;
  box-shadow:none!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row :is(.tech-weight,small){color:#5d7388!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row>b{color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .tech-signal{background:#f8fafc!important;color:#35516b!important;border-color:#d5e0ea!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-sell,
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-strong-sell{background:#fff1f4!important;color:#b82443!important;border-color:#e9afbb!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-buy,
html[data-xau-theme="light"] body.xauscan-dashboard .tech-row .sig-strong-buy{background:#eefaf5!important;color:#0e6d4c!important;border-color:#97d1b9!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-scorebar{background:#dbe4ed!important}
html[data-xau-theme="light"] body.xauscan-dashboard .tech-scorebar i{filter:saturate(.85) contrast(1.05)}

/* PATTERN SCANNER — make all explanatory text legible. */
html[data-xau-theme="light"] body.xauscan-dashboard .overview-pattern-scanner{background:#fff!important;background-image:none!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-scan-head p{color:#516a80!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.pattern-result-card,.pattern-track-mini>div,.pattern-trade-grid>div,.pattern-move-box,.pattern-context-row span){
  color:#17324d!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-main p,
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-main small,
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-track-mini :is(span,small){color:#536c82!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .pattern-result-card{background-image:none!important}

/* GOLD NEWS — white shell, intentional dark data cards with clean flat contrast. */
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-intel-panel{
  background:#fff!important;
  background-image:none!important;
  color:#102a43!important;
  border-color:#c8d7e4!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-intel-panel::before{display:none!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-intel-head p{color:#526b81!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.kavout-news-ai-hero,.kavout-news-driver,.kavout-news-timeline-item,.kavout-news-full){
  background:#102432!important;
  background-image:none!important;
  border-color:#2c495b!important;
  color:#eef5f7!important;
  box-shadow:none!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-driver.counter{background:#fff9eb!important;border-color:#ddc982!important;color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-driver.counter span{color:#80621d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-driver.counter b{color:#263f55!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-evolution-head{border-color:#d5e0e9!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-evolution-head span{color:#337ba6!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-evolution-head b{color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .kavout-news-evolution-head small{color:#5d7488!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-banner{
  background:#edf3f7!important;
  background-image:none!important;
  border-color:#aabac7!important;
  color:#17324d!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-banner.idle .news-breaking-copy h2{color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-banner.idle .news-breaking-copy p{color:#536c80!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-breaking-banner.idle .news-breaking-move{background:#102432!important;border-color:#2c495b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-summary{background:#102432!important;background-image:none!important;border-color:#2c495b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-grid article,
html[data-xau-theme="light"] body.xauscan-dashboard .dedicated-news-card,
html[data-xau-theme="light"] body.xauscan-dashboard .news-pulse-card{background:#102432!important;background-image:none!important;border-color:#2c495b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-panel-head p{color:#526b81!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button{
  background:#fff!important;
  color:#35516b!important;
  border-color:#cbd8e5!important;
  box-shadow:0 2px 8px rgba(26,54,80,.045)!important;
}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button.active{background:#17384e!important;color:#fff!important;border-color:#17384e!important}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button b{background:#eef3f7!important;color:#28465f!important}
html[data-xau-theme="light"] body.xauscan-dashboard #goldNewsFilters.news-filter-row button.active b{background:rgba(255,255,255,.16)!important;color:#fff!important}

/* MACRO / CALENDAR — keep the timeline dark, keep the surrounding copy readable. */
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-center{background:#fff!important;background-image:none!important}
html[data-xau-theme="light"] body.xauscan-dashboard .news-macro-center .news-panel-head p{color:#526b81!important}
html[data-xau-theme="light"] body.xauscan-dashboard :is(.macro-calendar-shared-root,#newsAgendaWeek){background:#102432!important;background-image:none!important;color:#eef5f7!important;border-color:#2c495b!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-results-shell-head p{color:#536c82!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .macro-pending-next{background:#f1f6fb!important;background-image:none!important;color:#17324d!important;border-color:#94b6d3!important}

/* Statistical/overview text that was too pale. */
html[data-xau-theme="light"] body.xauscan-dashboard :is(.overview-stat-path,.overview-stat-path-grid>div,.overview-stat-path-callout){background:#fff!important;color:#17324d!important;border-color:#d3dee8!important}
html[data-xau-theme="light"] body.xauscan-dashboard .overview-stat-path :is(span,small,p){color:#526b80!important;opacity:1!important}
html[data-xau-theme="light"] body.xauscan-dashboard .overview-stat-path :is(h4,b,strong){color:#17324d!important}
html[data-xau-theme="light"] body.xauscan-dashboard .overview-range-board :is(.overview-range-source,small,.small){color:#526b80!important;opacity:1!important}

/* Kill legacy decorative gloss on light-mode information cards. */
html[data-xau-theme="light"] body.xauscan-dashboard :is(.tech-mini,.news-breaking-banner,.dedicated-news-card,.news-pulse-card,.pattern-result-card,.macro-pending-next,.kavout-news-ai-hero,.kavout-news-driver){
  text-shadow:none!important;
}

/* Pricing v3.16.2: higher contrast + no accidental duplicate ticks. */
html[data-xau-theme="light"] body.xau-site-page .xpc-plan{background:#fff!important;color:#162f47!important;border-color:#c9d5e1!important;box-shadow:0 10px 30px rgba(28,55,80,.07)!important}
html[data-xau-theme="light"] body.xau-site-page .xpc-plan.featured{border-color:#b68a31!important;box-shadow:0 0 0 1px #c59c49,0 18px 42px rgba(91,68,17,.13)!important}
html[data-xau-theme="light"] body.xau-site-page .xpc-plan :is(.x312-plan-intro,.xpc-limit-pills span,.xpc-card-cashback small,.xpc-free-note){color:#4d6479!important}
html[data-xau-theme="light"] body.xau-site-page .xpc-plan :is(h3,.xpc-card-cashback b){color:#162f47!important}
html[data-xau-theme="light"] body.xau-site-page .xpc-plan .xs-checklist li{color:#203b54!important;border-color:#dce4ec!important}
body.xau-site-page .xpc-plan .xs-checklist li::before{content:'✓'!important}
body.xau-site-page .xpc-plan .xs-checklist li [data-xau-copy]::before{content:none!important}
html[data-xau-theme="light"] body.xau-site-page .xpc-card-coupon{background:#fff7e6!important;background-image:none!important;border-color:#d3ad5a!important}
html[data-xau-theme="light"] body.xau-site-page .xpc-card-countdown{background:#f7fafc!important;border-color:#d5dfe9!important}
html[data-xau-theme="light"] body.xau-site-page .xpc-card-cashback{background:#eefaf5!important;background-image:none!important;border-color:#7fc4a9!important}

@media(max-width:900px){
  html[data-xau-theme="light"] body.xauscan-dashboard .tech-summary-grid{grid-template-columns:1fr!important}
}
