#pixfold{max-width:1100px;margin:36px auto 80px;padding:0 24px}#pixfold *{box-sizing:border-box}.pix-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:40px 0}.pix-hero h1{font-size:clamp(30px,4vw,52px);max-width:760px;margin:18px 0}.pix-hero p{max-width:650px;font-size:18px}.pix-badge{background:#47c7d4;border:2px solid var(--sc-ink);border-radius:8px;padding:6px 12px;font-weight:800}.pix-panel{background:white;border:2px solid var(--sc-ink);border-radius:24px;padding:28px;box-shadow:6px 6px 0 var(--sc-ink)}#pix-drop{border:2px dashed #52777c;background:#effbfc;border-radius:16px;padding:32px 20px;text-align:center;cursor:pointer}#pix-drop strong,#pix-drop span{display:block;margin-bottom:12px}#pix-drop.drag{background:#c8f3f5}.pix-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.pix-controls label{display:flex;flex-direction:column;gap:8px;font-weight:700}.pix-controls input:not([type=range]),.pix-controls select{width:100%;min-height:46px;padding:6px;border:1px solid #8c9299;border-radius:8px}.pix-controls input[type=color]{padding:4px}.pix-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:22px 0}#pixfold button,#pixfold .pix-actions a{border:2px solid var(--sc-ink);background:var(--sc-bg);border-radius:10px;min-height:46px;padding:8px 16px;font-weight:700;cursor:pointer}#pix-convert,#pix-pick{background:#47c7d4!important}#pixfold button:disabled{opacity:.45;cursor:not-allowed}#pixfold :focus-visible{outline:3px solid var(--sc-blue);outline-offset:3px}.pix-item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 0;border-top:1px solid #ddd}.pix-item img{width:76px;height:76px;object-fit:contain;background:repeating-conic-gradient(#eee 0 25%,white 0 50%) 50%/16px 16px}.pix-item strong{display:block;overflow-wrap:anywhere}.pix-item small{display:block}.pix-item a{display:inline-block;padding:10px;color:var(--sc-ink);font-weight:700}.pix-note{font-size:14px;color:#4c535c}.pix-faq{margin-top:46px}.pix-faq details{border-top:1px solid #bbb;padding:18px 0}.pix-faq summary{font-weight:800;cursor:pointer}#pixfold section>h2{font-size:26px;margin-top:40px}@media(max-width:600px){#pixfold{padding:0 18px;margin-top:20px}.pix-hero{gap:8px;margin:28px 0}.pix-hero img{width:86px;height:86px;align-self:flex-start}.pix-hero p{font-size:16px}.pix-hero h1{font-size:30px}.pix-panel{padding:18px}.pix-controls{grid-template-columns:1fr}.pix-item{grid-template-columns:52px minmax(0,1fr);gap:10px}.pix-item img{width:52px;height:52px}.pix-item>div:last-child{grid-column:2}.pix-actions{gap:8px}#pix-drop{padding:24px 12px}.pix-badge{font-size:13px}}
.pix-color-hex{display:block;min-height:26px;font-family:monospace;border-left:22px solid #fff;padding-left:8px;box-shadow:inset 0 0 0 1px #9ba1ab;border-radius:3px;line-height:26px}.pix-controls input[type=color]{min-height:46px;appearance:auto;background:#fff;border:2px solid #8c9299}.pix-controls input[type=color]::-webkit-color-swatch{border:1px solid #666;border-radius:3px}@media(max-width:600px){.pix-has-files .pix-actions:has(>#pix-convert){position:sticky;bottom:10px;z-index:8;background:#fff;border:1px solid #cfd4df;border-radius:12px;padding:10px;box-shadow:0 3px 18px #18223822}}

/* Visible outline even when the selected swatch is white; stable hex alignment. */
.pix-color-hex{box-sizing:border-box;position:relative;width:100%;padding:0 8px 0 30px;border-left-width:0!important;border:1px solid #8c9299;box-shadow:none;line-height:28px;min-height:30px;font-variant-numeric:tabular-nums;text-align:left}.pix-color-hex::before{content:"";position:absolute;left:5px;top:5px;width:18px;height:18px;box-sizing:border-box;border:1px solid #666;border-radius:2px;background:var(--sc-color,#fff)}
.pix-color-hex::before{background:inherit;background-color:inherit;border-color:#666}.pix-color-hex{border-left-width:22px!important;padding-left:8px;outline:1px solid #8c9299;outline-offset:-1px}.pix-color-hex::before{left:-21px;top:0;width:21px;height:100%;background:transparent;border:1px solid #666}
