/* Paid colours stay recognisable; only their editing is locked. */
.color-palette-screen.plan-limited-palette .color-palette{grid-template-columns:repeat(4,minmax(44px,1fr));gap:10px}
.color-palette-screen.plan-limited-palette .color-swatch{min-height:48px;aspect-ratio:auto;border:0;border-radius:14px}
.color-palette-screen .color-swatch.is-plan-locked{background:color-mix(in srgb,var(--swatch) 42%,var(--surface));color:var(--text);position:relative}
.color-palette-screen .color-swatch.is-plan-locked svg{opacity:.88;visibility:visible}
.color-palette-screen .color-swatch.is-plan-locked[aria-pressed=true]{outline-color:var(--muted)}
.plan-color-custom-preview{position:relative;isolation:isolate;border-radius:20px;overflow:hidden;min-width:0}
.plan-color-custom-content{pointer-events:none;user-select:none;filter:blur(1.15px);opacity:.76}
.plan-color-custom-preview .color-plane{border:0}
.plan-color-custom-lock{position:absolute;inset:0;z-index:1;display:flex;align-items:flex-start;justify-content:flex-end;width:100%;height:100%;padding:14px;border:0;border-radius:inherit;background:transparent;color:var(--text);cursor:pointer}
.plan-color-custom-lock>span{display:inline-flex;align-items:center;gap:6px;padding:9px 11px;border-radius:14px;background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text);box-shadow:0 2px 12px #0000000a;line-height:1.2}
.plan-color-custom-lock b{font-size:12px;font-weight:600}
.plan-color-custom-lock svg{flex:none}
.plan-color-custom-lock:focus-visible{outline:2px solid var(--accent-graphic);outline-offset:-3px}
.plan-color-custom-lock:active>span{transform:scale(.96)}
.plan-theme-picker .theme-option.is-plan-locked .theme-option-body{width:100%;font-family:inherit;cursor:pointer;color:var(--muted)}
.plan-theme-picker .theme-option.is-plan-locked .theme-option-swatch{background:color-mix(in srgb,var(--swatch) 42%,var(--surface));color:var(--text)}
.plan-theme-picker .theme-option.is-plan-locked .theme-option-swatch svg{visibility:visible;opacity:.88}
.plan-theme-picker .theme-option.is-plan-locked button:focus-visible{outline:2px solid var(--accent-graphic);outline-offset:3px}
.plan-theme-picker .theme-custom.plan-theme-custom{display:block;padding:14px;border:0;min-width:0}
.plan-theme-custom>label{margin-bottom:12px}
.plan-theme-custom .color-plane{height:156px;border-radius:17px}
.plan-color-hue-preview{height:12px;margin:16px 4px 4px;border-radius:99px;background:linear-gradient(to right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00)}
.plan-color-hue-preview::after{content:'';display:block;position:relative;left:68%;top:-5px;width:22px;height:22px;border:3px solid #fff;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #0002}
.plan-limited-palette .plan-color-custom-preview{margin-top:20px}
.plan-limited-palette .plan-color-custom-preview .color-hue input:disabled,.plan-limited-palette .plan-color-custom-preview .color-code-field input:disabled{opacity:1;-webkit-text-fill-color:var(--text)}
@media(prefers-reduced-motion:no-preference){.plan-color-custom-lock>span{transition:transform 150ms ease}.plan-theme-picker .theme-option.is-plan-locked .theme-option-body{transition:background 150ms ease}}
