.app-color-field{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;font:400 13px/1.35 var(--ef-font-body,sans-serif);color:hsl(var(--foreground))}.app-color-label{min-width:0}.app-color-field.is-compact{display:inline-flex}.app-color-buttons{display:inline-flex;align-items:center;flex:none;overflow:hidden;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--background));height:32px}.app-color-buttons button{display:flex;align-items:center;justify-content:center;min-height:30px!important;padding:4px 7px!important;border:0!important;border-radius:0!important;background:transparent;color:inherit}.app-color-buttons button:hover{background:hsl(var(--accent))}.app-color-buttons button:disabled{opacity:.4;cursor:not-allowed}.app-color-well{gap:5px;width:62px}.app-color-sample{display:block;flex:1;height:20px;border:1px solid #8888;border-radius:3px}.app-color-sample[data-mixed]{background:linear-gradient(135deg,#eee 50%,#555 50%)!important}.app-color-wheel-button{width:32px;border-left:1px solid hsl(var(--border))!important}.app-color-wheel-button span{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle,#fff,transparent 70%),conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);box-shadow:inset 0 0 0 1px #8885}.app-color-popover{z-index:100!important;width:274px!important;max-width:calc(100vw - 24px);max-height:var(--radix-popover-content-available-height,80dvh);padding:12px!important;overflow:auto;overscroll-behavior:contain;border-radius:14px!important;background:hsl(var(--popover));color:hsl(var(--popover-foreground));box-shadow:0 12px 36px #0004;font:400 12px/1.35 var(--ef-font-body,sans-serif)}.app-color-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.app-color-heading strong{font-size:13px}.app-color-heading [role=group]{display:flex;gap:2px;background:hsl(var(--muted));padding:2px;border-radius:7px}.app-color-popover button{cursor:pointer}.app-color-heading button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:68px;height:32px;padding:4px 6px;border-radius:5px}.app-color-heading button[aria-pressed=true]{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.app-color-caption{display:block;font-size:11px;color:hsl(var(--muted-foreground));margin:8px 0 5px}.app-color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.app-color-grid button{width:100%;min-width:0;padding:0!important;height:29px;display:grid;place-items:center;border:1px solid #8887;border-radius:4px}.app-color-grid.is-personal,.app-color-grid.is-theme{grid-template-columns:repeat(4,1fr)}.app-color-grid button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #fff,0 0 0 1px hsl(var(--ring))}.app-color-grid.is-contiguous{gap:1px}.app-color-grid.is-contiguous button{border-radius:0;height:25px}.app-color-wheel{position:relative;width:200px;height:200px;max-width:100%;margin:10px auto 12px;border-radius:50%;background:radial-gradient(circle,#fff,transparent 70%),conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);filter:brightness(var(--color-brightness));touch-action:none;cursor:crosshair}.app-color-wheel>span{position:absolute;width:13px;height:13px;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #111;pointer-events:none}.app-color-range{display:flex;align-items:center;gap:7px;font-size:11px;margin:8px 0}.app-color-range input{flex:1;min-width:0;accent-color:hsl(var(--primary))}.app-color-range output{width:32px;text-align:right;font-variant-numeric:tabular-nums}.app-color-numbers{display:grid;grid-template-columns:92px 1fr;gap:8px;margin-top:10px}.app-color-numbers>div{display:flex;gap:5px}.app-color-numbers label{display:grid;gap:4px;min-width:0;font-size:10px;color:hsl(var(--muted-foreground))}.app-color-numbers input{width:100%;min-width:0;height:30px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--background));color:hsl(var(--foreground));padding:4px!important;font:12px ui-monospace,monospace}.app-color-numbers input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.app-color-numbers input::-webkit-inner-spin-button{-webkit-appearance:none}.app-color-hs{font-size:11px;color:hsl(var(--muted-foreground));margin-top:8px}.app-color-hs summary{cursor:pointer}.app-color-error{color:#d15d42;font-size:11px}.app-color-saved-heading{display:flex;align-items:center;justify-content:space-between}.app-color-saved-heading>div{display:flex}.app-color-saved-heading button{width:32px;height:32px;display:grid;place-items:center;border-radius:5px}.app-color-saved{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}.app-color-saved button{display:grid;place-items:center;height:25px;border:1px solid #8887;border-radius:4px}.app-color-reset{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px;padding:7px;width:100%;border:1px solid hsl(var(--border));border-radius:7px}.app-color-reset:hover{background:hsl(var(--accent))}.app-color-field.is-inline{display:block}.app-color-popover.app-color-inline{min-width:0;width:274px!important;max-width:100%;padding:8px!important;box-shadow:none;overflow:visible;max-height:none;background:transparent;border:0;border-radius:0!important}.app-color-popover button>*,.app-color-buttons button>*{pointer-events:none}.app-color-default-sample{width:18px;height:18px;border:1px solid #8887;border-radius:3px}.app-color-saved button{min-width:0;width:100%;padding:0!important}.app-color-saved button[aria-pressed=true]{outline:2px solid hsl(var(--ring));outline-offset:1px}@media(pointer:coarse){.app-color-heading button,.app-color-saved-heading button{min-width:44px;min-height:44px}.app-color-grid{grid-template-columns:repeat(5,1fr)}.app-color-saved{grid-template-columns:repeat(4,1fr)}.app-color-reset{min-height:44px}.app-color-buttons{height:40px}.app-color-buttons button{min-height:38px!important}.app-color-well{width:70px}.app-color-wheel-button{width:40px}.app-color-grid button,.app-color-grid.is-contiguous button,.app-color-saved button{height:44px}.app-color-numbers input{font-size:16px;height:36px}}
