.site-color-well{border:1px solid var(--line);border-radius:var(--radius-8, 8px);width:36px;height:32px;padding:3px;background:var(--surface);cursor:pointer}.site-color-well::-webkit-color-swatch-wrapper{padding:0}.site-color-well::-webkit-color-swatch{border:0;border-radius:var(--radius-4, 4px)}.site-color-popover{position:fixed;z-index:2100;width:280px;max-height:calc(100dvh - 20px);overflow:auto;padding:16px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-15, 15px);box-shadow:var(--shadow);font:13px "PT Serif",serif}.color-picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.color-picker-heading button{background:none;color:var(--muted);border:0;font-size:22px;cursor:pointer}.color-plane{height:130px;border-radius:var(--radius-9, 9px);position:relative;touch-action:none;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--hue) 100% 50%));overflow:hidden}.color-crosshair{position:absolute;width:12px;height:12px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #000;transform:translate(-50%,-50%);pointer-events:none}.color-hue-label{margin-top:12px}:root .site-color-popover .color-hue-label input{appearance:none;width:100%;height:12px;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.site-color-popover .color-hue-label input::-webkit-slider-thumb{background:hsl(var(--hue) 100% 50%);border-color:#fff;box-shadow:0 0 0 1px #333}.site-color-popover .color-hue-label input::-moz-range-thumb{background:hsl(var(--hue) 100% 50%);border-color:#fff;box-shadow:0 0 0 1px #333}.site-color-popover .field{gap:5px;font-size:12px;margin-bottom:12px}.site-color-popover .fine-print{margin:10px 0}.color-theme-palette{display:flex;flex-wrap:wrap;gap:8px}.color-theme-palette button{width:24px;height:24px;border:1px solid var(--muted);border-radius:var(--radius-7, 7px);background:var(--swatch);cursor:pointer}.color-theme-palette button:hover,.color-theme-palette button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.color-adaptive{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.color-adaptive .button{font-size:11px;padding:6px 10px;margin-top:12px}
