#color-space [hidden]{display:none!important}#color-space .cs-panel{padding:clamp(1rem,3vw,1.75rem)}#color-space fieldset{min-inline-size:0}#color-space .cs-controls{display:grid;gap:1rem}#color-space .cs-intro,#color-space .cs-hint{color:#475569}#color-space .cs-intro{font-size:.94rem;line-height:1.55}#color-space .cs-label{display:block;margin-bottom:.45rem;font-size:.9rem;font-weight:650}#color-space .cs-modes{display:flex;flex-wrap:wrap;gap:.4rem}#color-space .cs-modes label{position:relative;display:inline-flex;cursor:pointer;min-width:0}#color-space .cs-modes input{position:absolute;opacity:0;width:1px;height:1px}#color-space .cs-modes span{display:grid;align-items:center;min-height:44px;border:1px solid #cbd5e1;border-radius:999px;padding:.45rem .9rem;font-size:.86rem;font-weight:600;overflow-wrap:anywhere}#color-space .cs-modes :checked+span{background:#ede9fe;border-color:#8170bf;color:#453281}#color-space :focus-visible,#color-space .cs-modes input:focus-visible+span{outline:3px solid #4f46e5;outline-offset:2px}#color-space .cs-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.75rem),1fr));gap:.85rem}#color-space .cs-color-field{display:flex;align-items:center;gap:.5rem;padding:.25rem;border:1px solid #aab6c4;border-radius:.75rem;background:#fff}#color-space .cs-color-field input[type=color]{flex:0 0 3rem;width:3rem;height:2.75rem;min-height:0;padding:.15rem;border:0;background:transparent;cursor:pointer}#color-space .cs-color-field input[type=text]{width:100%;min-width:0;padding:.45rem .2rem;border:0;border-radius:.35rem;background:transparent;font:600 .95rem ui-monospace,monospace;color:#18263a;text-align:start}#color-space .cs-color-field:focus-within{border-color:#6654a8}#color-space .cs-hint{margin-top:-.75rem;justify-self:start;font-size:.76rem}#color-space select{width:min(100%,19rem);min-height:44px}#color-space .cs-preview,#color-space .cs-gradient{border-radius:.85rem;border:1px solid #0002}#color-space .cs-preview{height:3.15rem;background-color:#7656b6}#color-space .cs-controls>button{justify-self:start}#color-space .cs-error,#color-space #cs-load-error{color:#9f1239}#color-space .cs-heading{font-size:1.2rem;font-weight:750}#color-space .cs-row{display:flex;gap:.5rem 1rem;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:.85rem 0 .55rem}#color-space h3{font-size:1rem;font-weight:650}#color-space .cs-copy{font-size:.8rem;min-height:44px;padding:.35rem .85rem}#color-space .cs-swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,4.5rem),1fr));gap:.3rem}#color-space .cs-swatch{display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;min-width:0;padding:0;border:1px solid #d9dfe5;border-radius:.5rem;background:#fff;overflow:hidden}#color-space .cs-swatch span{display:block;width:100%;height:2.9rem;background:var(--swatch)}#color-space .cs-swatch code{padding:.35rem 0;color:#273443;font:600 .73rem ui-monospace,monospace}#color-space .cs-gradient{min-height:9.5rem;margin-top:1rem}#color-space .cs-code{display:block;width:100%;white-space:pre-wrap;overflow-wrap:anywhere;padding:.85rem 1rem;border-radius:.6rem;background:#f1f5f9;color:#17253a;font:.85rem/1.55 ui-monospace,monospace;text-align:left}#color-space .cs-feedback:not(:empty){margin-block:.65rem;color:#374151;font-size:.85rem}
