.color-picker.svelte-1b128zl{display:flex;flex-direction:column;gap:.5em;margin-top:.5em}.square.svelte-1b128zl{position:relative;width:100%;aspect-ratio:4 / 3;border-radius:4px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,var(--hue-col));cursor:crosshair;touch-action:none;outline:none}.handle.svelte-1b128zl,.hue-handle.svelte-1b128zl{position:absolute;pointer-events:none;box-sizing:border-box;border:2px solid #fff;box-shadow:0 0 0 1px #00000080,0 1px 3px #0006}.handle.svelte-1b128zl{width:14px;height:14px;border-radius:50%;background:var(--current);transform:translate(-50%,-50%)}.hue.svelte-1b128zl{position:relative;height:12px;border-radius:6px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);cursor:ew-resize;touch-action:none;outline:none}.hue-handle.svelte-1b128zl{top:50%;width:14px;height:14px;border-radius:50%;background:var(--hue-col);transform:translate(-50%,-50%)}.square.svelte-1b128zl:focus-visible,.hue.svelte-1b128zl:focus-visible{box-shadow:0 0 0 2px var(--col-selected)}.chips.svelte-1b128zl{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.presets.svelte-1b128zl{grid-template-columns:repeat(5,1fr)}.chip.svelte-1b128zl{height:1.3em;padding:0;border:1px solid color-mix(in srgb,var(--col) 20%,transparent);border-radius:3px;cursor:pointer}.chip.svelte-1b128zl:hover{transform:scale(1.12)}.chip.current.svelte-1b128zl{outline:2px solid var(--col);outline-offset:1px}.prop-color.svelte-dx8qb8{display:flex;align-items:center;gap:.4em;min-width:0}.swatch.svelte-dx8qb8{position:relative;flex:none;padding:0;width:1.9em;height:1.5em;border-radius:.35em;border:1.5px solid var(--swatch-col);background:var(--swatch-fill);cursor:pointer}.swatch.empty.svelte-dx8qb8{border-color:var(--col-border);background:linear-gradient(to top right,transparent calc(50% - .5px),color-mix(in srgb,var(--col) 45%,transparent) 50%,transparent calc(50% + .5px))}.swatch.open.svelte-dx8qb8{box-shadow:0 0 0 2px var(--col-selected)}.hex.svelte-dx8qb8{flex:1;min-width:0;box-sizing:border-box;font:inherit;font-family:monospace;color:var(--col);background:color-mix(in srgb,var(--col) 7%,var(--bg));border:1px solid color-mix(in srgb,var(--col) 15%,transparent);border-radius:3px;padding:.2em .4em;outline:none}.hex.svelte-dx8qb8:focus{border-color:var(--col-selected)}.prop-color.svelte-dx8qb8 .hex.invalid:where(.svelte-dx8qb8),.prop-color.svelte-dx8qb8 .hex.invalid:where(.svelte-dx8qb8):focus{border-color:#d9534f}.reset.svelte-dx8qb8{flex:none;padding:0 .2em;font:inherit;font-size:1.1em;line-height:1;color:inherit;background:none;border:none;opacity:.6;cursor:pointer}.reset.svelte-dx8qb8:hover{opacity:1}
