/* v218: dark mode fixes. The dark theme was overriding highlight states (grid, tabs, filters, toggles). */
html[data-theme=dark] .dots i.on{background:var(--purple-600)}
html[data-theme=dark] .jcell.done{background:var(--ok)}
html[data-theme=dark] .jcell.late{background:var(--warn)}
html[data-theme=dark] .jcell.rej{background:var(--bad)}
html[data-theme=dark] .jcell.feat{background:var(--pink-500)}
html[data-theme=dark] .jcell.locked{background:transparent}
html[data-theme=dark] .jcell.na{background:transparent}
html[data-theme=dark] .tabs button.on{background:var(--purple-700)}
html[data-theme=dark] .bf-lanes button.on{background:var(--tone)}
html[data-theme=dark] .rs-filter button.on{background:var(--purple-900)}
html[data-theme=dark] .td-card-ico.pods{background:rgba(22,163,74,.2)}
html[data-theme=dark] .td-card-ico.pods{color:#4ADE80}
html[data-theme=dark] .tk-pts.is-demo{background:color-mix(in srgb,#8703D3 10%,transparent)}
html[data-theme=dark] .pod.first{background:var(--grad)}
html[data-theme=dark] .adm-lane.on{background:#7A00C2}
html[data-theme=dark] .ov-dot.on{background:#16A34A}
html[data-theme=dark] .gp-row button.on{color:#fff}
html[data-theme=dark] .pm-links .gp-row button.on{color:#fff}
html[data-theme=dark] .cn-state.is-full{color:var(--muted)}
html[data-theme=dark] .lp-mchk.on{border:0}
html[data-theme=dark] .hw-arrows button:hover{border-color:rgba(159,1,241,.35)}
html[data-theme=dark] .hw-arrows button:hover{color:var(--brand)}
html[data-theme=dark] .cl-switch.on{background:#7A00C2}
html[data-theme=dark] .pcast.is-open{border-color:color-mix(in srgb,var(--tone) 40%,#fff)}
html[data-theme=dark] .pcast:hover{border-color:color-mix(in srgb,var(--tone) 40%,#fff)}
html[data-theme=dark] .ov-days>button.on{background:#7A00C2}
html[data-theme=dark] .cl-edit:hover{background:var(--pink-50)}

/* Light-only surfaces that had no dark version */
html[data-theme=dark] .jb-search{background:var(--card);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .cl-wants>span:not(.tiny){background:#2A1F3A;color:#E9DDFB}
html[data-theme=dark] .pl-kicker{background:rgba(22,163,74,.2);color:#4ADE80}
html[data-theme=dark] .cl-spot-band,html[data-theme=dark] .cl-spot .cl-spot-ico{background:var(--card);color:var(--ink)}
html[data-theme=dark] .ht-strip span{background:var(--card);color:var(--ink)}
html[data-theme=dark] .cl-switch i{background:#fff}
/* Job board pills (inline light colours) */
html[data-theme=dark] .jb-pills .pill{background:color-mix(in srgb,currentColor 20%,#1A1324)!important;filter:brightness(1.55) saturate(1.1)}
/* Mandy's reviews add-on */
html[data-theme=dark] .mr-sheet,html[data-theme=dark] .mr-card{background:var(--card);border-color:var(--line)}
html[data-theme=dark] .mr-top{background:linear-gradient(135deg,color-mix(in srgb,var(--mr) 22%,#1A1324),var(--card))}
html[data-theme=dark] .mr-kick,html[data-theme=dark] .mr-score{color:color-mix(in srgb,var(--mr) 55%,#fff)}
html[data-theme=dark] .mr-verdict{background:color-mix(in srgb,var(--mr) 25%,#1A1324);color:#fff}
html[data-theme=dark] .mr-top h3,html[data-theme=dark] .mr-body,html[data-theme=dark] .mr-body p,html[data-theme=dark] .mr-h,html[data-theme=dark] .mr-form h3,html[data-theme=dark] .mr-form label{color:var(--ink)}
html[data-theme=dark] .mr-form p{color:#D9CFEA}
html[data-theme=dark] .mr-redo{background:color-mix(in srgb,#C2410C 22%,#1A1324);color:#FDBA8C}
html[data-theme=dark] .mr-redo-done{background:#2A1F3A!important;color:#D8B4FE!important}
html[data-theme=dark] .mr-sent{color:#D8B4FE}
html[data-theme=dark] .mr-thumb{background:#2A1F3A}
html[data-theme=dark] .mr-thumb small,html[data-theme=dark] .mr-foot,html[data-theme=dark] .mr-hint,html[data-theme=dark] .mr-cancel{color:var(--muted)}
html[data-theme=dark] .mr-form input,html[data-theme=dark] .mr-form textarea{background:#120C1B;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .mr-many{color:var(--ink)}
