.thumb-workspace{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(285px,1fr);gap:16px;align-items:start}
.thumb-main{min-width:0}
.thumb-art{display:grid;place-items:center;padding:15px;min-height:235px;background:#0c131d}
.thumb-art canvas{width:auto;max-width:100%;height:auto;max-height:min(58vh,620px);display:block;border-radius:9px;background:#080e14;box-shadow:0 3px 20px #07090d66}
.thumb-export{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-top:1px solid var(--edge)}
.thumb-export .button{flex:none}
.thumb-sources-panel{margin-top:16px}
.thumb-upload{cursor:pointer;position:relative}
.thumb-upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0}
.thumb-upload:focus-within{outline:2px solid var(--mint);outline-offset:3px}
.thumb-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px;padding:12px}
.thumb-source{display:grid;grid-template-columns:47px minmax(0,1fr);text-align:left;align-items:center;gap:8px;min-width:0;padding:5px;background:var(--panel2);border:1px solid var(--edge);border-radius:7px;color:var(--text)}
.thumb-source[aria-pressed=true]{background:#17352f;border-color:#478675}
.thumb-source img{width:47px;height:35px;object-fit:cover;border-radius:4px;background:#0b1520}
.thumb-source strong,.thumb-source small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thumb-source strong{font-size:.81rem}.thumb-source small{font-size:.71rem;color:var(--muted)}
.thumb-fields{display:grid;gap:12px;padding:14px 15px}
.thumb-fields label{display:grid;gap:5px;font-size:.85rem;color:var(--text)}
.thumb-fields label small{display:inline;color:var(--muted)}
.thumb-slider input[type=range]{padding:0;min-width:0;width:100%;accent-color:var(--mint);height:17px}
.thumb-slider>span{display:flex;justify-content:space-between;gap:6px}
.thumb-slider output{color:var(--muted);font-variant-numeric:tabular-nums}
.thumb-divider{height:1px;background:var(--edge);margin:1px 0}
.thumb-variation{justify-self:start}
.thumb-brief{padding:9px 10px;border-radius:8px;background:#0d1722;color:var(--muted);font-size:.82rem}
.thumb-brief summary{cursor:pointer;color:var(--text);font-weight:650}
.thumb-brief p{margin:9px 0;font-size:.84rem}
@media(max-width:880px){.thumb-workspace{grid-template-columns:1fr}.thumb-art{min-height:180px}}
@media(max-width:420px){.thumb-export{align-items:flex-start;flex-direction:column}.thumb-art{padding:9px}.thumb-sources{grid-template-columns:1fr}}

