/* Build 5.57: dark-mode fixes (light mode is not touched) */
html[data-theme="dark"] .pl-note{background:var(--xw-surface,#202226);color:var(--xw-ink)}
html[data-theme="dark"] .pl-bar,html[data-theme="dark"] .gp2-bar{background:var(--xw-track,#393e46)}
html[data-theme="dark"] .gp2-set,html[data-theme="dark"] .gp2-seg{background:var(--xw-surface,#202226)}
html[data-theme="dark"] .gp2-seg button{color:var(--xw-ink)}
html[data-theme="dark"] .gp2-hit{background:#1c3324;color:#6fd18a}
html[data-theme="dark"] .gp2-hit.no{background:#3a2226;color:var(--xw-red,#ff6575)}
html[data-theme="dark"] .gp2-sheet-ch button{background:var(--xw-surface,#202226);color:var(--xw-ink)}
html[data-theme="dark"] .gp2-sheet-ch button[aria-pressed=true]{background:#b9151c;color:#fff}
html[data-theme="dark"] .pf-card{background:var(--xw-bg,#111214)}
html[data-theme="dark"] #setup-empty a{color:var(--xw-red,#ff6575)}
html[data-theme="dark"] .comp-create-actions a span{color:var(--xw-red,#ff6575)}
/* Journey cards (5.55) */
html[data-theme="dark"] .jy5-trail:before{background:var(--xw-track,#393e46)}
html[data-theme="dark"] .jy5-n i{background:var(--xw-bg,#111214);border-color:#555a63}
html[data-theme="dark"] .jy5-n.ok i,html[data-theme="dark"] .jy5-n.st i{background:#237a3b;border-color:#237a3b}
html[data-theme="dark"] .jy5-n.nx i{background:var(--xw-bg,#111214);border-color:var(--xw-red,#ff6575)}
html[data-theme="dark"] .jy5-n.aim i{background:var(--xw-ink,#f8f9fb);border-color:var(--xw-ink,#f8f9fb);color:var(--xw-bg,#111214)}
html[data-theme="dark"] .jy5-n.aim.nx i{background:var(--xw-bg,#111214);border-color:var(--xw-red,#ff6575);color:var(--xw-red,#ff6575)}
html[data-theme="dark"] .jy5-n.nx b{color:var(--xw-red,#ff6575)}
html[data-theme="dark"] .jy5-t em{color:#6fd18a}
html[data-theme="dark"] .jy5-s.m i{background:#4a4f57}
html[data-theme="dark"] .jy5-s.n i{background:transparent;border-color:#555a63}
html[data-theme="dark"] .jy5-ring circle:first-child{stroke:var(--xw-track,#393e46)}
html[data-theme="dark"] .jy5-tl.jy-wlist:before{background:var(--xw-track,#393e46)}
html[data-theme="dark"] .jy5-q.m .nd,html[data-theme="dark"] .jy5-q.n .nd{background:var(--xw-bg,#111214);border-color:#555a63}
html[data-theme="dark"] .jy5-q.f .nd{background:var(--xw-ink,#f8f9fb);color:var(--xw-bg,#111214)}
html[data-theme="dark"] .jy5-q .pill{background:var(--xw-surface,#202226);color:var(--xw-muted,#b9bec8)}
html[data-theme="dark"] .jy5-q.h .pill{background:#1c3324;color:#6fd18a}
html[data-theme="dark"] .jy5-ms{background:#1c3324;color:#6fd18a}
