.cx-cpf { display: grid; gap: 8px; }
.cx-sw { display: flex; flex-wrap: wrap; gap: 7px; }
.cx-sw button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--c); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line-2); cursor: pointer; transition: box-shadow .15s; }
.cx-sw button.is-on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.cx-cpbtn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font: 600 .84rem var(--font); color: var(--text); cursor: pointer; }
.cx-cpbtn:hover { border-color: var(--text-2); }
.cx-cpbtn > .qq-ic { width: 16px; height: 16px; color: var(--text-2); }
.cx-cpbtn i { width: 20px; height: 20px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cx-cpbtn span { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.cx-cp { position: fixed; z-index: 120; width: 240px; display: grid; gap: 10px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-3); }
.cx-cp[hidden] { display: none; }
.cx-cp__sv { position: relative; height: 150px; border-radius: 10px; cursor: crosshair; touch-action: none; background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, hsl(var(--h, 0) 100% 50%)); }
.cx-cp__sv i { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.4); pointer-events: none; }
.cx-cp__hue { width: 100%; height: 14px; margin: 0; border-radius: 7px; appearance: none; -webkit-appearance: none; background: linear-gradient(to right, red, #ff0, lime, cyan, blue, #f0f, red); cursor: pointer; }
.cx-cp__hue::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #0a0a0a; }
.cx-cp__hue::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #0a0a0a; }
.cx-cp__row { display: flex; gap: 8px; }
.cx-cp__row .cx-f__in { flex: 1; min-height: 36px; }
.cx-f__in { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.cx-f__in:hover { border-color: var(--text-2); }
.cx-f__in:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.cx-f__in > .qq-ic { width: 17px; height: 17px; flex: none; color: var(--text-2); }
.cx-f__in:focus-within > .qq-ic { color: var(--accent); }
.cx-f__in input, .cx-f__in textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 .9rem var(--font); color: var(--text); }
/* QuicklyQR tokens the copied picker uses, pointed at the Edge kit tokens */
.cx-cpf, .cx-cp { --surface: var(--card); --surface-2: var(--muted); --line: var(--border); --line-2: var(--border); --text: var(--foreground); --text-2: var(--muted-foreground); --ink: var(--foreground); --on-ink: var(--background); --accent-soft: color-mix(in oklab, var(--brand) 18%, transparent); --font: var(--font-sans); --pill: 999px; }
