/* Colour wheel */

/* <slot-extra> is an empty placeholder element inside the wheel; never shown */
slot-extra { display: none; }

.colorpick { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; margin-bottom: 12px; }
@media (max-width: 520px) { .colorpick { grid-template-columns: 1fr; justify-items: center; } .wheel-side { width: 100%; } }
.wheel-wrap canvas { width: 220px; height: 220px; max-width: 100%; touch-action: none; cursor: crosshair; display: block; }

.wheel-side { display: grid; gap: 12px; }
.wheel-preview { display: flex; align-items: center; gap: 12px; }
.swatch-big { width: 54px; height: 54px; border-radius: 16px; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(0, 0, 0, .12); flex: none; }
.wheel-name { font-weight: 700; margin-bottom: 4px; }
.input.hex { width: 112px; min-height: 36px; font-family: ui-monospace, Menlo, monospace; text-transform: lowercase; }

.range-label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); }
.range-label input { width: 100%; accent-color: var(--accent); }

/* preset colour dots */
.presets { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.preset { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); padding: 0; }
.preset:hover { transform: scale(1.12); }
