.palette-discovery{overflow:hidden;border:1px solid #3b5443;background:linear-gradient(135deg,#11231a,#0d1814);border-radius:14px}.palette-discovery>summary{padding:15px 16px;font-weight:600;letter-spacing:.015em}.palette-workbench{padding:0 16px 15px}.palette-mode-tabs{display:flex;gap:5px;background:#08110d;border:1px solid #294034;border-radius:9px;padding:4px;margin-bottom:13px}.palette-mode-tabs button{flex:1;background:transparent;border:0;color:#9bb8a6;padding:8px;border-radius:6px;min-height:36px;font-size:12px}.palette-mode-tabs button[aria-pressed=true]{background:#244c35;color:#e3f9e9}.palette-mode-tabs #palette-clear{flex:0 0 auto;color:#a4b3a9}.palette-picker{display:grid;gap:9px}.palette-picker #palette-sv{position:relative;height:128px;border-radius:10px;background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,transparent),var(--picker-hue,#006aff);touch-action:none;cursor:crosshair;outline-offset:3px}.palette-picker #palette-sv i{position:absolute;left:var(--picker-x,75%);top:var(--picker-y,5%);width:17px;height:17px;border:2px solid white;box-shadow:0 0 0 1px #0008,0 1px 5px #0007;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.palette-hue-control{display:block}.palette-hue-control input{display:block;width:100%;height:13px;margin:3px 0 5px;appearance:none;border:0;border-radius:20px;background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);padding:0;cursor:pointer}.palette-hue-control input::-webkit-slider-thumb{appearance:none;width:19px;height:19px;border:2px solid white;box-shadow:0 1px 4px #0009;border-radius:50%;background:transparent}.palette-hue-control input::-moz-range-thumb{width:16px;height:16px;border:2px solid white;border-radius:50%;background:transparent}.palette-color-entry{display:flex;gap:8px;align-items:center;background:#08120d;border:1px solid #294034;border-radius:8px;padding:4px 6px}.palette-color-entry #palette-color{width:33px;height:32px;border:0;padding:0;background:transparent;flex:none;cursor:pointer}.palette-color-entry #palette-hex{width:94px;min-width:70px;flex:1;background:transparent;border:0;padding:6px 3px;font:12px var(--mono,monospace);color:#d9ece0;text-transform:uppercase}.palette-color-entry #match-color{border:1px solid #517a5d;border-radius:6px;padding:7px 11px;background:#213f2c;color:#d9f7e2;font-size:11px;font-weight:600;min-height:34px;white-space:nowrap}.palette-presets{display:flex;justify-content:space-between;gap:7px;padding:13px 1px}.palette-presets button{width:24px;height:24px;min-height:24px;padding:0;border:2px solid #ffffff28;background:var(--swatch);border-radius:50%;box-shadow:0 1px 3px #0004}.palette-presets button:hover,.palette-presets button:focus-visible{outline:2px solid #b7edc5;outline-offset:2px}.palette-refinements{display:grid;grid-template-columns:1fr 1fr;gap:10px}.palette-refinements label{display:grid;gap:5px;font-size:10px;color:#9eb6a6}.palette-refinements select{width:100%;font-size:11px;padding:8px 9px;min-height:35px;background:#0c1b12;border-color:#34513c;border-radius:7px}.palette-discovery #palette-status{font-size:11px;color:#b3cbbd;line-height:1.5;margin:11px 0 0;min-height:17px}.palette-discovery.palette-busy #palette-status:before{content:'';display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#90dab0;animation:palette-pulse .8s ease-in-out infinite alternate}.palette-coverage{margin-top:11px;border-top:1px solid #294333;padding-top:9px;font-size:10px;color:#819f8b}.palette-coverage summary{cursor:pointer}.palette-coverage p{line-height:1.6;margin:10px 0}.palette-coverage button{font-size:10px;padding:8px 11px;min-height:33px;background:#162b1e;border:1px solid #456c51;border-radius:7px}.palette-coverage button:disabled{opacity:.6;cursor:wait}#palette-reference{display:flex;gap:11px;align-items:center;background:#0b1610;border:1px solid #3b5944;border-radius:9px;padding:10px;margin-bottom:12px}#palette-reference[hidden],#palette-gradient-settings[hidden]{display:none}#palette-reference img{width:43px;aspect-ratio:63/88;object-fit:contain;border-radius:3px}#palette-reference strong{display:block;font-size:12px}#palette-reference small{display:block;font-size:10px;color:#92b49e;margin-top:4px}.palette-reference-swatches{display:flex;gap:4px;margin-top:7px}.palette-reference-swatches i{width:14px;height:14px;border-radius:50%;border:1px solid #ffffff40}#palette-gradient-settings{display:grid;grid-template-columns:auto 1fr;gap:9px 12px;align-items:center;margin:0 0 12px}#palette-gradient-settings label{font-size:10px;display:flex;align-items:center;gap:7px}#palette-gradient-settings input{width:34px;height:30px;padding:0;border:0;background:transparent}#palette-ramp{height:23px;border-radius:7px}#palette-gradient-settings small{grid-column:1/-1;font-size:10px;color:#92b49e}.discovery-label{display:inline-block;font:10px var(--mono,monospace);line-height:1.35;color:#e4f6eb;padding:4px 6px;background:#103d2cdf;border:1px solid #78c99b6e;border-radius:5px;pointer-events:none;box-shadow:0 1px 5px #0004}.catalog-art .discovery-label{position:absolute;top:7px;right:6px;z-index:3;width:auto}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes palette-pulse{from{opacity:.35}to{opacity:1}}@media(max-width:560px){.palette-workbench{padding:0 12px 13px}.palette-discovery>summary{padding:13px 12px}.palette-presets{gap:5px}.palette-presets button{width:22px;height:22px;min-height:22px}.palette-refinements{gap:8px}.discovery-label{font-size:9px}.palette-picker #palette-sv{height:119px}}@media(prefers-reduced-motion:reduce){.palette-discovery.palette-busy #palette-status:before{animation:none}}
.palette-live-strip{position:sticky;top:0;z-index:5;background:#0d1c14;padding:8px 0 10px;margin-bottom:12px;border-bottom:1px solid #34513c}.palette-live-strip #palette-live-results{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;min-height:70px}.palette-live-strip #palette-live-results button{padding:0;border:1px solid #37583f;border-radius:5px;overflow:hidden;background:#08110d;min-width:0;min-height:44px}.palette-live-strip img{display:block;width:100%;aspect-ratio:63/88;object-fit:contain}.palette-live-strip #palette-live-results p{grid-column:1/-1;font-size:12px;color:#bed4c4}.palette-live-strip #palette-live-results[aria-busy=true]{opacity:.55}.palette-live-strip #palette-filter-toggle{width:100%;margin-top:8px;min-height:44px;background:#183522;color:#daf0e1;border:1px solid #486c52;border-radius:7px;font-size:12px}#palette-exclusions{padding:10px;background:#08150e;border:1px solid #34513c;border-radius:8px;margin-bottom:12px}#palette-exclusions[hidden]{display:none}#palette-exclusions label{display:flex;gap:8px;align-items:center;min-height:44px;font-size:13px}#palette-exclusions small{display:block;color:#a0b9aa}.palette-discovery[open]{overflow:visible}@media(max-width:560px){.palette-live-strip{top:-1px}.palette-live-strip #palette-live-results{gap:4px}.palette-live-strip #palette-filter-toggle{margin-top:6px}}
