.cp-color{cursor:pointer}.cp-pop{z-index:20000;-webkit-user-select:none;user-select:none;background:#1c2430;border:1px solid #ffffff1f;border-radius:12px;width:232px;padding:12px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;position:fixed;box-shadow:0 18px 48px #00000073}.cp-pop[hidden]{display:none}.cp-close{z-index:1;color:#eef2f7;cursor:pointer;background:#0006;border:none;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;padding:0;font-size:1.15rem;line-height:1;transition:background .12s,color .12s;display:inline-flex;position:absolute;top:6px;right:6px}.cp-close:hover{color:#fff;background:#000000a6}.cp-sv{cursor:crosshair;touch-action:none;background:linear-gradient(to top, #000, #0000), linear-gradient(to right, #fff, #fff0), var(--cp-hue,red);border-radius:8px;width:100%;height:148px;position:relative;overflow:hidden}.cp-sv-handle{pointer-events:none;border:2px solid #fff;border-radius:50%;width:16px;height:16px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #0006,inset 0 0 0 1px #00000040}.cp-controls{align-items:center;gap:10px;margin-top:12px;display:flex}.cp-eyedropper{color:#c7d0dc;cursor:pointer;background:0 0;border:none;border-radius:6px;flex:none;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:inline-flex}.cp-eyedropper:hover{color:#fff;background:#ffffff14}.cp-eyedropper svg{width:17px;height:17px}.cp-eyedropper[hidden]{display:none}.cp-preview{background:var(--cp-current,#000);border:1px solid #ffffff40;border-radius:50%;flex:none;width:26px;height:26px}.cp-hue{cursor:pointer;touch-action:none;background:linear-gradient(90deg,red 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red 100%);border-radius:6px;flex:auto;height:12px;position:relative}.cp-hue-handle{pointer-events:none;background:#fff;border:1px solid #00000059;border-radius:50%;width:14px;height:14px;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 1px 3px #0006}.cp-hex-row{background:#10151d;border:1px solid #ffffff1a;border-radius:8px;align-items:center;gap:6px;margin-top:12px;padding:5px 8px;display:flex}.cp-hex-hash{color:#7f8b9a;font-size:.9rem;font-weight:600}.cp-hex-input{color:#eef2f7;letter-spacing:.06em;text-transform:uppercase;background:0 0;border:none;outline:none;flex:auto;min-width:0;padding:0;font-family:Courier New,monospace;font-size:.92rem}.cp-hex-label{color:#7f8b9a;letter-spacing:.08em;font-size:.68rem;font-weight:700}.cp-confirm{background:var(--color-primary,#548687);color:#fff;cursor:pointer;border:none;border-radius:8px;width:100%;margin-top:12px;padding:8px 12px;font-size:.82rem;font-weight:600;transition:filter .12s;display:block}.cp-confirm:hover{filter:brightness(1.08)}.cp-confirm:active{filter:brightness(.95)}.cp-pop:not(.cp-pop--sheet){animation:.12s cp-fade}@keyframes cp-fade{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}.cp-backdrop{z-index:19999;background:#00000073;position:fixed;inset:0}.cp-backdrop[hidden]{display:none}.cp-pop--sheet{width:auto;max-width:460px;padding:14px 16px calc(16px + env(safe-area-inset-bottom,0px));border-radius:18px;margin:0 auto;transition:transform .24s cubic-bezier(.22,1,.36,1);animation:none;inset:auto 10px 10px;transform:translateY(115%)}.cp-pop--sheet.cp-pop--enter{transform:translateY(0)}.cp-pop--sheet:before{content:"";background:#ffffff40;border-radius:999px;width:40px;height:4px;margin:2px auto 12px;display:block}.cp-pop--sheet .cp-sv{height:210px}.cp-pop--sheet .cp-sv-handle{width:22px;height:22px}.cp-pop--sheet .cp-controls{gap:14px;margin-top:16px}.cp-pop--sheet .cp-confirm{border-radius:12px;margin-top:18px;padding:14px;font-size:1rem}.cp-pop--sheet .cp-eyedropper{width:36px;height:36px}.cp-pop--sheet .cp-eyedropper svg{width:20px;height:20px}.cp-pop--sheet .cp-preview{width:36px;height:36px}.cp-pop--sheet .cp-hue{border-radius:9px;height:18px}.cp-pop--sheet .cp-hue-handle{width:22px;height:22px}.cp-pop--sheet .cp-hex-row{margin-top:16px;padding:11px 12px}.cp-pop--sheet .cp-hex-input{font-size:1.05rem}.cp-pop--sheet .cp-hex-label{font-size:.72rem}.cp-pop--sheet .cp-close{width:32px;height:32px;font-size:1.4rem;top:10px;right:12px}
