#dm-pal{--dm-card:#fff;--dm-card2:#f7f7fc;--dm-ln:#ececf4;--dm-ln2:#e2e2ee;--dm-tx:#23233a;--dm-mut:#6b7194;
  --dm-faint:#9b9cb4;--dm-pink:#d6307a;--dm-pur:#615dfa;--dm-grn:#16c43b;
  position:fixed;right:14px;top:calc(var(--mctop,64px) + 14px);bottom:14px;width:280px;z-index:700;
  background:var(--dm-card);border:1px solid var(--dm-ln);border-radius:12px;padding:16px 15px;
  overflow-y:auto;scrollbar-width:thin;box-shadow:0 24px 60px -24px rgba(20,20,50,.45)}
html.fs-dark #dm-pal{--dm-card:#1d1e2b;--dm-card2:#23243a;--dm-ln:#2e2f44;--dm-ln2:#343550;--dm-tx:#eef0fb;
  --dm-mut:#a7abc4;--dm-faint:#8f91ac}
#dm-pal .kick{font:800 10.5px/1 Inter;letter-spacing:.13em;text-transform:uppercase;color:var(--dm-pink);margin-bottom:4px}
#dm-pal h2{margin:0 0 4px;font:800 16px/1.2 Inter;letter-spacing:-.01em;color:var(--dm-tx)}
#dm-pal .sub{margin:0 0 13px;font:400 12px/1.55 Inter;color:var(--dm-mut)}
.dm-w{display:flex;align-items:center;gap:9px;border:1px solid var(--dm-ln2);border-radius:9px;background:var(--dm-card2);
  padding:9px 11px;margin-bottom:7px;cursor:grab;user-select:none;font:600 12.5px Inter;color:var(--dm-tx)}
.dm-w:hover{border-color:var(--dm-pur)}
.dm-w.dragging{opacity:.45}
.dm-w .grip{color:var(--dm-faint);font-size:12px}
/* LINKPAGE-1015 P6 lp-toggles — measured from the render 15 Oct: the pill toggles read ON 2.19:1 and OFF 1.60:1 in light,
   OFF 2.47:1 in dark, and an OFF row's label 3.52:1 in light (opacity .55). Now 8px, and every state ≥4.5:1 in both themes;
   OFF is said by the word, a dashed edge and a muted label — never by fading the whole row. */
.dm-w .tog{margin-left:auto;font:700 10px Inter;color:var(--dm-toff,#5f6683);border:1px dashed var(--dm-ln2);border-radius:8px;padding:3px 8px;cursor:pointer;background:none}
.dm-w.on .tog{color:var(--dm-ton,#0b7a25);border:1px solid rgba(22,196,59,.45)}
.dm-w.off{color:var(--dm-toff,#5f6683)}
html.fs-dark #dm-pal{--dm-ton:#5fd98a;--dm-toff:#b2b6cf}
/* measured in the same pass: the drag grip glyph read 2.52:1 (light) and the pink section labels 3.58:1 (dark) — both lifted */
.dm-w .grip{color:var(--dm-toff,#5f6683)}
html.fs-dark #dm-pal .kick{color:#ff86bf}
.dm-w.notdrag{cursor:pointer}
.dm-w.notdrag .grip{visibility:hidden}
#dm-pal .done{display:flex;width:100%;justify-content:center;margin-top:13px;background:var(--dm-pur);color:#fff;border:0;
  border-radius:9px;font:700 12.5px Inter;padding:10px 0;cursor:pointer;text-decoration:none}
#dm-pal .done:hover{background:#5551e8}
#dm-pal .st{display:block;text-align:center;margin-top:9px;font:600 10.5px/1 Inter;color:var(--dm-faint)}
#dm-pal .st.saving{color:var(--dm-tamb,#8a5200)}
#dm-pal .st.saved{color:var(--dm-ton,#0b7a25)}
#dm-pal .st.err{color:var(--dm-terr,#b4233a)}
html.fs-dark #dm-pal{--dm-tamb:#ffd27a;--dm-terr:#ff9aab}
#dm-pal .st{color:var(--dm-mut)}
#dm-pal .dm-lp{border:1px solid var(--dm-ln);border-radius:10px;padding:10px 9px 4px;margin:0 -2px 6px;background:var(--dm-card)}
#dm-pal .dm-lp-addr{display:flex;align-items:center;gap:6px;border:1px solid var(--dm-ln2);border-radius:8px;padding:7px 8px;margin-bottom:8px;
  background:var(--dm-card2);font:600 11.5px Inter;color:var(--dm-tx)}
#dm-pal .dm-lp-addr a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dm-tx);text-decoration:none}
#dm-pal .dm-lp-addr a:hover{text-decoration:underline}
#dm-pal .dm-lp-addr button{border:0;background:none;color:var(--dm-pur);cursor:pointer;display:flex;padding:3px;border-radius:6px}
html.fs-dark #dm-pal .dm-lp-addr button{color:#b3b0ff}
#dm-pal .dm-lp-addr svg,#dm-pal .dm-lp-addr i{width:14px;height:14px}
#dm-pal .dm-lpw{cursor:grab}
#dm-pal .dm-lpw .nm{flex:1;min-width:0;display:grid;line-height:1.25}
#dm-pal .dm-lpw .nm small{font:500 10.5px Inter;color:var(--dm-toff,#5f6683)}
#dm-pal .dm-lpw .grip{display:flex;visibility:visible}
#dm-pal .dm-lpw .grip svg,#dm-pal .dm-lpw .grip i{width:13px;height:13px}
#dm-pal .dm-lp-gear{border:0;background:none;color:var(--dm-mut);cursor:pointer;display:flex;padding:2px;border-radius:6px}
#dm-pal .dm-lp-gear:hover{color:var(--dm-pur)}
#dm-pal .dm-lp-gear svg,#dm-pal .dm-lp-gear i{width:15px;height:15px}
#dm-pal .dm-lpw .dm-lp-setup{color:#4b47d6;font-weight:700;text-decoration:none}
html.fs-dark #dm-pal .dm-lpw .dm-lp-setup{color:#b3b0ff}
#dm-pal .dm-lpw .dm-lp-setup:hover{text-decoration:underline}
#dm-pal .dm-lp-note{font:400 11px/1.45 Inter;color:var(--dm-mut);margin:2px 0 8px}
