/* Dark theme for the sections that were always white (.mc-light, the home page offer grid and their cards).
   The light theme is untouched: every rule here is scoped to html:not([data-theme="light"]). */
html:not([data-theme="light"]) .mc-light,
html:not([data-theme="light"]) section.offer{background:linear-gradient(180deg,#0a1c35 0%,#071629 100%);color:#d6e4ef;border-top:1px solid #12304b}
html:not([data-theme="light"]) .mc-light + .mc-light,
html:not([data-theme="light"]) .mc-light.guide-lib + .mc-light{background:linear-gradient(180deg,#081a31 0%,#061427 100%)}

/* text */
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(h1,h2,h3,h4,h5,summary,b,strong){color:#fff}
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(p,li,dd,dt,td,label,small,figcaption,.wm-meta,.wm-note,.wm-pct,.wm-sub,.wm-empty){color:#b5cad7}
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(.eyebrow,.offer-tag,.tag,.ec-cols span){color:#5fe6ff}
html:not([data-theme="light"]) :is(.mc-light,section.offer) .offer-tag.soon{color:#ffd36b}
html:not([data-theme="light"]) :is(.mc-light,section.offer) .offer-tag.free{color:#4de6a8}
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(h2,h3) a,
html:not([data-theme="light"]) :is(.mc-light,section.offer) .wm-table th[scope=row] a{color:#fff}
html:not([data-theme="light"]) :is(.mc-light,section.offer) p a:not(.btn),
html:not([data-theme="light"]) :is(.mc-light,section.offer) li a:not(.btn){color:#5fe6ff}

/* cards and panels */
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(.offer-card,.guide-card,.vid-card,.ec-day,.ec-learn-grid article,.ec-empty,.wm-scroll,.wm-how>div,.wm-video,.bk-steps li,.bk-grid>div,.bk-faq details){background:linear-gradient(155deg,#102d4d,#0a1d36);border-color:#204b68;color:#b5cad7}
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(.offer-card,.guide-card,.vid-card):hover{border-color:#00b8db;box-shadow:0 12px 30px rgba(0,0,0,.35)}
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(.offer-card,.guide-card) li{background:#0f2a47;color:#cfe0ec}
html:not([data-theme="light"]) :is(.mc-light,section.offer) .btn-outline,
html:not([data-theme="light"]) .mc-light .ec-ics{background:transparent!important;color:#e6f1f8!important;border:1px solid #2a5574!important}
html:not([data-theme="light"]) :is(.mc-light,section.offer) .btn-outline:hover,
html:not([data-theme="light"]) .mc-light .ec-ics:hover{border-color:#00d8ff!important;color:#fff!important}
html:not([data-theme="light"]) :is(.mc-light,section.offer) :is(input,select,textarea){background:#0a1d36;color:#fff;border-color:#2a5574}
html:not([data-theme="light"]) :is(.mc-light,section.offer) input::placeholder{color:#7f9bb0}

/* economic calendar */
html:not([data-theme="light"]) .mc-light .ec-tabs{background:#0b2240}
html:not([data-theme="light"]) .mc-light .ec-tabs button{color:#b5cad7}
html:not([data-theme="light"]) .mc-light .ec-tabs button[aria-pressed="true"]{background:#163a5e;color:#fff;box-shadow:none}
html:not([data-theme="light"]) .mc-light .ec-day h3{background:#0d2643;border-bottom-color:#1c4767;color:#fff}
html:not([data-theme="light"]) .mc-light .ec-cols{border-top-color:#16344f;border-bottom-color:#16344f}
html:not([data-theme="light"]) .mc-light .ec-cols{background:transparent}
html:not([data-theme="light"]) .mc-light .ec-imp.hi{background:#ff6b7d26;color:#ff9aa6}
html:not([data-theme="light"]) .mc-light .ec-imp.md{background:#ffd36b22;color:#ffd36b}
html:not([data-theme="light"]) .mc-light .ec-imp.mk{background:#00d8ff1f;color:#5fe6ff}
html:not([data-theme="light"]) .mc-light .ec-done{background:#16344f;color:#b5cad7}
html:not([data-theme="light"]) .mc-light .ec-day.is-today{border-color:#00b8db}
html:not([data-theme="light"]) .mc-light .learn-link{background:transparent;border-color:#2a5574;color:#e6f1f8}
html:not([data-theme="light"]) .mc-light .learn-link span{color:#5fe6ff}

/* expected moves table */
html:not([data-theme="light"]) .mc-light .wm-table{color:#d6e4ef}
html:not([data-theme="light"]) .mc-light .wm-table :is(th,td){border-bottom-color:#16344f}
html:not([data-theme="light"]) .mc-light .wm-table :is(thead th,tr:first-child th){background:#0d2643;color:#8fb3c9}
html:not([data-theme="light"]) .mc-light .wm-num b{color:#fff}
html:not([data-theme="light"]) .mc-light .wm-tag{background:#ffd36b22;color:#ffd36b}

/* broker journal pages */
html:not([data-theme="light"]) .mc-light .bk-steps li:before{background:#00d8ff;color:#061225}
html:not([data-theme="light"]) .mc-light .bk-path{background:#0f2a47;border-color:#204b68;color:#fff}
html:not([data-theme="light"]) .mc-light .bk-note{background:#2a2410;border-color:#5b4a1a;color:#f3dca0}
html:not([data-theme="light"]) .mc-light :is(.ec-time,.ec-num,.ec-act,.ec-check){color:#fff}
html:not([data-theme="light"]) .mc-light :is(.ec-fc,.ec-chg,.ec-prev,.ec-note,.ec-legend,.ec-fine,.ec-k){color:#a9c2d4}
html:not([data-theme="light"]) .mc-light .ec-none{color:#5d7a90}
