@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#24252a;background:#f8f6f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;background:transparent;border:1px solid #d8d6cf;border-radius:7px;padding:10px 15px;color:inherit}button:hover{background:#eeece5}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #7759cd;outline-offset:4px}[hidden]{display:none!important}header,main,footer{max-width:1256px;margin:auto}header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedbd3}header>a:last-child{font-size:13px}.brand{display:flex;align-items:center;font-size:30px;font-weight:bold;gap:6px}.brand>span{font-size:31px;color:#9281c5}.brand b{font-size:20px;letter-spacing:-1px;margin-left:7px}.muted{color:#93938d}.intro{padding:55px 0 45px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;display:flex;gap:9px;align-items:center}.eyebrow i{height:7px;width:7px;border-radius:50%;background:#9b86cb}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Manrope,sans-serif;letter-spacing:-2px}h1{font-size:48px;margin-bottom:15px;display:flex;align-items:center;gap:14px}.version{letter-spacing:0;font-family:'DM Sans',sans-serif;font-size:10px;border:1px solid #d8d6cf;padding:5px 8px;border-radius:5px;font-weight:500}.lede{font-size:16px;line-height:1.7;color:#74746e;margin:0}.color-flower{width:170px;height:150px;position:relative;margin-right:45px;transform:rotate(12deg)}.color-flower i{position:absolute;width:72px;height:110px;left:49px;top:5px;border-radius:60%;transform-origin:center 75px;background:#b7afe1}.color-flower i:nth-child(2){transform:rotate(60deg);background:#f4a58e}.color-flower i:nth-child(3){transform:rotate(120deg);background:#f0ca65}.color-flower i:nth-child(4){transform:rotate(180deg);background:#b1c4a0}.color-flower i:nth-child(5){transform:rotate(240deg);background:#80b2c6}.color-flower i:nth-child(6){transform:rotate(300deg);background:#d59cc3}.color-flower span{position:absolute;left:56px;top:48px;z-index:1;font-size:13px;font-weight:800;line-height:1.1;transform:rotate(-12deg);text-align:center}.tabs{display:flex;border-bottom:1px solid #d8d6cf;gap:32px}.tabs button{border:0;border-radius:0;padding:18px 0;color:#7c7b75;font-size:12px;display:flex;gap:10px;align-items:center;border-bottom:2px solid transparent}.tabs .active{color:#24252a;border-bottom-color:#24252a}.tabs b{font-weight:500}.tabs span{background:#e8e5de;border-radius:20px;padding:1px 6px;font-size:10px}.controls{display:flex;align-items:center;gap:24px;padding:25px 0 30px}.controls label{font-size:11px;color:#6d6b66;display:flex;align-items:center;gap:12px}select{background:transparent;border:1px solid #d8d6cf;border-radius:6px;padding:10px;color:#24252a;font-size:12px}input[type=color]{width:37px;height:35px;padding:2px;border:1px solid #d8d6cf;border-radius:5px;background:transparent;cursor:pointer}.primary{margin-left:auto;background:#292b2b;color:white;border-color:#292b2b}.primary:hover{background:#444}kbd{font:9px monospace;border:1px solid #62635f;border-radius:3px;padding:3px 5px;margin-left:15px;color:#d2d2c9}.palette-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.palette-title p{margin:0}.palette-title>span{font-size:11px;color:#7d7b74}.swatches{display:grid;grid-template-columns:repeat(5,1fr);border-radius:12px;overflow:hidden}.swatch{height:290px;position:relative;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;padding:20px 10px;gap:6px;transition:background .2s}.swatch .hex{font-size:21px;font-weight:700;border:0;letter-spacing:1px;padding:4px}.swatch .hex:hover,.lock:hover{background:#ffffff33}.swatch small{font-size:9px;opacity:.7;letter-spacing:1px}.lock{position:absolute;top:14px;right:14px;border:0;padding:7px;font-size:12px}.edit{position:absolute;top:14px;left:14px;overflow:hidden;width:26px;height:26px;cursor:pointer;opacity:.65;font-size:17px}.edit input{position:absolute;inset:0;opacity:0;width:100%;height:100%}.palette-actions{display:flex;align-items:center;justify-content:space-between;padding:17px 0 32px;border-bottom:1px solid #d8d6cf}.hint{font-size:12px;color:#7b7a74}.palette-actions>div{display:flex;gap:8px}.palette-actions button{font-size:11px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:35px 0 22px}.section-heading h2{font-size:31px;margin:6px 0 0;letter-spacing:-1px}.section-heading>p{font-size:12px;color:#7d7b74;margin-bottom:3px}.preview-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.sample-card{position:relative;overflow:hidden;border-radius:12px;min-height:350px;padding:27px}.sample-nav{display:flex;justify-content:space-between;align-items:center;font-size:10px;position:relative;z-index:1}.sample-nav b{font-size:15px;letter-spacing:-.5px}.sample-nav b span{font-size:8px;vertical-align:super}.sample-body{position:relative;z-index:1;margin-top:46px;max-width:65%}.sample-tag{font-size:8px;letter-spacing:1.5px}.sample-body h3{font-family:Manrope,sans-serif;font-size:37px;letter-spacing:-1.8px;line-height:1.1;margin:12px 0}.sample-body p{font-size:11px;line-height:1.7;max-width:230px}.sample-button{display:inline-block;padding:12px 15px;border-radius:5px;font-size:10px;margin-top:10px}.sample-art{position:absolute;width:220px;height:270px;right:-10px;bottom:-30px;transform:rotate(-24deg)}.sample-art i{position:absolute;width:125px;height:230px;border-radius:100px;left:30px;transform:rotate(25deg)}.sample-art i:nth-child(2){transform:rotate(85deg)}.sample-art i:nth-child(3){transform:rotate(145deg)}.preview-side{display:grid;grid-template-columns:1fr;gap:15px}.gradient-card,.contrast-card{border:1px solid #dedbd3;border-radius:12px;padding:20px}.gradient-card>span{font-size:9px;letter-spacing:1.5px}.gradient-card #gradient{height:65px;border-radius:6px;margin:12px 0}.gradient-card p{font-size:11px;color:#777;margin:0}.contrast-head{display:flex;justify-content:space-between;align-items:center}.contrast-head h3{font-size:14px;margin:0}.contrast-head>span{font-size:17px;font-weight:bold}.contrast-controls{display:flex;align-items:center;gap:10px;margin:12px 0}.contrast-controls label{display:flex;align-items:center;gap:6px;font-size:10px}.contrast-controls select{padding:5px;max-width:110px}.contrast-controls button{padding:4px 9px}#contrast-example{padding:12px;border-radius:5px;font-size:18px}#contrast-verdict{font-size:10px;margin:9px 0 4px}.contrast-card small{font-size:9px;color:#79776f}footer{display:flex;justify-content:space-between;padding:35px 0;font-size:11px;margin-top:30px;border-top:1px solid #dedbd3;color:#79776f}footer button{border:0;padding:0;font-size:11px}footer a{color:#333;margin-left:12px}dialog{border:1px solid #ccc;border-radius:14px;padding:30px;max-width:500px;background:#f8f6f0}dialog::backdrop{background:#24252a77}dialog li{margin:12px 0;font-size:14px;line-height:1.6}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#24252a;color:white;padding:12px 20px;border-radius:8px;font-size:13px;z-index:10;pointer-events:none;opacity:0}#toast.show{opacity:1}.upload{margin:25px 0;display:flex;flex-direction:column;align-items:center;gap:10px;border:1px dashed #aaa394;border-radius:10px;padding:24px;cursor:pointer;font-size:12px;color:#777}.upload strong{font-size:18px;color:#333}.upload-icon{font-size:25px}.upload input{max-width:100%}.upload small{font-size:10px}#image-result{display:flex;gap:15px;align-items:center;margin:20px 0;font-size:12px}#source-image{width:90px;height:60px;object-fit:contain}#saved-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.saved-item{border:1px solid #ddd;border-radius:8px;padding:10px;display:flex;gap:8px}.saved-load{flex:1;padding:0;overflow:hidden;border:0;display:flex;height:45px}.saved-load i{flex:1}.saved-delete{padding:8px}#saved-empty{padding:30px 0;font-size:14px;color:#777}
@media(max-width:1320px){header,main,footer{margin-left:5%;margin-right:5%}}@media(max-width:750px){header{height:75px}.intro{padding:35px 0}.color-flower{display:none}h1{font-size:34px;letter-spacing:-1.5px;flex-wrap:wrap;gap:7px}.lede{font-size:14px}.tabs{gap:18px}.tabs button{font-size:10px;gap:5px}.controls{flex-wrap:wrap;gap:15px}.controls .primary{margin:0;width:100%}.palette-title>span{max-width:140px;text-align:right;line-height:1.5;font-size:9px}.swatch{height:230px;padding:15px 2px}.swatch .hex{font-size:12px;letter-spacing:0}.swatch small{font-size:7px}.lock{right:2px;top:44px;font-size:10px;padding:5px}.edit{left:calc(50% - 12px);top:15px}.palette-actions{flex-direction:column;align-items:flex-start;gap:15px}.palette-actions>div{width:100%;flex-wrap:wrap}.palette-actions button{padding:9px}.preview-grid{grid-template-columns:1fr}.section-heading>p{max-width:115px;text-align:right;line-height:1.5}.sample-card{min-height:350px;padding:20px}.sample-nav>span{font-size:8px}.sample-body h3{font-size:31px}.sample-art{right:-65px}.contrast-controls{justify-content:space-between}footer{gap:20px;line-height:1.7}footer>span{max-width:200px}#saved-list{grid-template-columns:1fr}.sample-body{max-width:75%}}
.preview-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}.preview-grid>*{min-width:0}.contrast-controls{flex-wrap:wrap}.sample-nav>span{max-width:48%;text-align:right}@media(max-width:750px){.preview-grid{grid-template-columns:minmax(0,1fr)}.contrast-controls{gap:6px}.contrast-controls select{font-size:10px;max-width:96px}.swatch small{text-align:center;line-height:1.5}.palette-title .eyebrow{max-width:55%}}

.hex-label{font-size:9px;letter-spacing:1.4px;opacity:.8}.swatch .hex{display:block;width:145px;max-width:100%;min-width:0;text-align:center;border:1px solid currentColor;border-radius:5px;background:#ffffff20;color:inherit;font-family:monospace;padding:7px 3px;letter-spacing:0}.swatch .hex[aria-invalid=true]{outline:2px solid currentColor;outline-offset:2px}.hex-error{font-size:10px;line-height:1.35;text-align:center;max-width:170px}.hex-error:empty{display:none}.copy-hex{border:0;color:inherit;padding:3px 7px;font-size:10px}.copy-hex:hover{background:#ffffff33}@media(max-width:750px){.swatch .hex{font-size:12px;width:100%;padding:7px 0}.swatch .hex-label{font-size:8px}.hex-error{font-size:8px}.swatch{height:270px}.copy-hex{font-size:9px}}
.reorder-tools{position:absolute;left:50%;top:72px;transform:translateX(-50%);display:flex;align-items:center;gap:3px}.reorder-tools button{border:0;color:inherit;padding:5px}.drag-handle{font-size:25px;cursor:grab;touch-action:none}.drag-handle:active{cursor:grabbing}.reorder-tools .move-left,.reorder-tools .move-right{font-size:14px}.swatch.dragging{outline:3px dashed currentColor;outline-offset:-7px}.swatch.drop-target{box-shadow:inset 0 0 0 5px currentColor}.scale-section{border-bottom:1px solid #dedbd3;padding-bottom:25px}.scale-controls{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:16px}.scale-controls label,.vision-controls label{display:flex;gap:10px;align-items:center;font-size:12px}.scale-controls input[type=text],#scale-base{border:1px solid #ccc8bd;border-radius:6px;background:transparent;padding:9px;font-family:monospace;width:105px}.scale-controls input[type=range]{width:110px}.scale-controls output{font-size:11px;min-width:32px}.scale-controls button{margin-left:auto;font-size:12px}.scale-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-radius:9px;overflow:hidden}.scale-colors button{white-space:pre-line;height:100px;border:0;border-radius:0;font-size:12px;line-height:1.8;padding:8px 2px}.feature-note{font-size:11px;color:#77736c;line-height:1.7;margin:14px 0}.feature-note a{text-decoration:underline}.vision-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.vision-controls>span{font-size:11px;color:#77736c}.vision-palette{display:grid;grid-template-columns:repeat(5,1fr);border-radius:8px;overflow:hidden}.vision-palette span{height:56px;display:grid;place-items:center;font-size:12px}#paste-dialog{width:min(500px,90vw)}#paste-dialog textarea{display:block;width:100%;padding:12px;font-family:monospace;margin-top:10px;resize:vertical;border:1px solid #aaa;border-radius:7px;background:#fff}#paste-dialog label{font-size:13px}#paste-help{font-size:12px;line-height:1.6;margin-top:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.form-error{font-size:12px;color:#923021;line-height:1.6}.form-error:empty{display:none}.palette-actions{gap:12px}.palette-actions>div{flex-wrap:wrap}@media(max-width:750px){.reorder-tools{top:90px;gap:0}.reorder-tools button{padding:2px}.reorder-tools .move-left,.reorder-tools .move-right{font-size:12px}.drag-handle{font-size:23px}.swatch{height:300px}.scale-controls{gap:14px}.scale-controls button{margin-left:0}.scale-colors button{font-size:10px}.vision-controls label{flex-wrap:wrap}.vision-controls select{max-width:100%}.palette-actions .hint{font-size:11px}}
.saved-item{flex-direction:column;min-width:0;padding:15px;gap:12px}.saved-name{font-size:15px;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.saved-load{flex:none;width:100%;min-height:60px}.saved-actions{display:flex;flex-wrap:wrap;gap:7px}.saved-actions button{font-size:11px;padding:7px 10px}.shared-notice{padding:16px;border:1px solid #c6bddb;border-radius:8px;background:#eee8f7;font-size:13px;line-height:1.6;overflow-wrap:anywhere}#save-dialog,#share-dialog{width:min(500px,90vw)}#save-dialog label,#share-dialog label{font-size:13px}#save-name,#share-url{display:block;width:100%;min-width:0;margin:10px 0 14px;padding:11px;border:1px solid #aaa;border-radius:6px;background:#fff}#save-help{font-size:12px;color:#777;line-height:1.6}#share-title-name{font-weight:600;overflow-wrap:anywhere}#share-status{font-size:12px;margin-top:14px}#shared-notice~section .palette-title .eyebrow{overflow-wrap:anywhere}
.backup-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.backup-toolbar button{font-size:12px}#backup-dialog{width:min(650px,90vw);max-width:650px;max-height:85vh;overflow:auto}#backup-filename{font-size:12px;overflow-wrap:anywhere;color:#777}#backup-summary{font-size:14px;line-height:1.6}#backup-preview{max-height:220px;overflow:auto}#backup-preview ul{padding-left:20px}#backup-preview li{font-size:11px;overflow-wrap:anywhere;line-height:1.6}
.library-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin-top:22px}.library-controls label{display:flex;flex-direction:column;gap:7px;font-size:12px}.library-controls label:first-child{flex:1;min-width:180px}.library-controls input{width:100%;min-width:0;border:1px solid #d8d6cf;background:transparent;padding:10px 12px;border-radius:6px;color:inherit}.library-controls button{font-size:12px}.saved-date{font-size:10px;color:#777;line-height:1.5}#saved-no-matches{padding:15px 0;font-size:14px;color:#666}@media(max-width:750px){.library-controls{gap:12px}.library-controls label:last-child{width:100%}}
