.soul-transfer[hidden]{display:none}
.soul-palette{position:fixed;inset:auto 0 0;margin:0 auto;width:min(880px,calc(100vw - 18px));height:min(540px,62vh);box-sizing:border-box;overflow:auto;color:#f5f5f3;background:#1c1e20;border:1px solid #353739;border-radius:15px;padding:12px;font:14px/1.4 system-ui}
.soul-palette:popover-open{display:block}
.soul-palette button,.soul-palette input{font:inherit;color:inherit;background:#323436;border:0;border-radius:9px;padding:9px 14px;margin:3px;cursor:pointer}
.soul-palette button:disabled{opacity:.45}
.soul-palette h2{font-size:25px;margin:14px 0 6px}
.soul-palette p{color:#babbbb;margin:5px 0 15px}
.soul-palette-hero{padding:20px;min-height:178px;box-sizing:border-box;background:linear-gradient(95deg,#191b1c 5%,#191b1ce8 43%,#191b1c22 80%),url('/workflow-glass-study.webp') right 42%/cover;border-radius:12px}
.soul-palette-hero div{max-width:370px}
.soul-palette-hero button{background:#dbfa21;color:#141514;font-weight:700}
.soul-palette-grid{padding:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,165px));gap:8px}
.soul-palette-grid.empty{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.soul-palette-grid button{overflow:hidden;text-overflow:ellipsis}
.soul-palette-grid button[aria-pressed=true]{outline:2px solid #daef41}
.soul-palette-strip,.soul-palette-swatches{display:flex}.soul-palette-strip i{height:48px;flex:1}
.soul-palette-swatches input{padding:0;width:55px;height:55px}.soul-palette output{display:block}
.soul-palette{padding:4px}
.soul-palette-hero{display:grid;grid-template-columns:1fr 49%;gap:16px;min-height:250px;padding:0;background:#17191a}
.soul-palette-hero>div:first-child{padding:24px}
.soul-palette-hero h2{max-width:285px;text-transform:uppercase;font-size:26px}
.soul-palette-hero button{min-height:42px}
.soul-palette-study{border-radius:13px;background:linear-gradient(45deg,#bdc2db,#ded6ec);position:relative;overflow:hidden}
.soul-palette-study:before{content:"";position:absolute;inset:0 24% 20% 8%;background:url('/soul-photos/0.webp') center/cover;border-radius:0 0 13px 13px}
.soul-palette-grid.empty{margin-top:12px;min-height:250px;gap:0;border-radius:12px;background:#232526}
.soul-palette-stack{display:flex;justify-content:center;align-items:center;height:66px;margin:4px}
.soul-palette-stack img{width:53px;height:51px;object-fit:cover;border-radius:4px;transform:rotate(-7deg)}
.soul-palette-stack img:nth-child(2){z-index:1;transform:scale(1.15);margin:0 -5px}
.soul-palette-stack img:last-child{transform:rotate(7deg)}
@media(max-width:600px){.soul-palette-hero{grid-template-columns:1fr 38%;gap:4px;min-height:165px}.soul-palette-hero>div:first-child{padding:10px}.soul-palette-hero h2{font-size:18px}.soul-palette-grid.empty{min-height:150px}}
