.stm-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:20px;display:grid}.stm-preview{flex-direction:column;gap:12px;padding:18px;display:flex}.stm-stage{border-radius:var(--radius);border:1px solid var(--border);justify-content:center;align-items:center;min-height:360px;padding:16px;display:flex;position:relative}.stm-checker{background-color:#fff;background-image:linear-gradient(45deg,#eceef2 25%,#0000 25%),linear-gradient(-45deg,#eceef2 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#eceef2 75%),linear-gradient(-45deg,#0000 75%,#eceef2 75%);background-position:0 0,0 9px,9px -9px,-9px 0;background-size:18px 18px}.stm-canvas{object-fit:contain;width:auto;max-width:100%;height:320px;display:block}.stm-loading{color:#5b6472;border-radius:var(--radius-pill);background:#ffffffe6;padding:4px 10px;font-size:12px;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.stm-cap{text-align:center}.stm-save{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.stm-save .field{flex:0 0 140px}.stm-save .btn{flex:1;min-width:180px}.stm-warn{color:var(--text-muted);background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 12px;font-size:12.5px;line-height:1.55}.stm-opts{flex-direction:column;gap:16px;padding:18px;display:flex}.stm-name{letter-spacing:.05em;font-size:18px;font-weight:600}.stm-err{color:var(--c-doc)}.stm-check{color:var(--text-muted);cursor:pointer;align-items:center;gap:8px;margin-top:8px;font-size:13px;display:flex}.stm-val{color:var(--text-faint);margin-left:4px;font-weight:500}.stm-layouts{flex-wrap:wrap;gap:6px;display:flex}.stm-chip{border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);border-radius:var(--radius-pill);cursor:pointer;padding:6px 12px;font-size:13px;font-weight:600}.stm-chip.on{background:var(--brand);border-color:var(--brand);color:var(--brand-fg)}.stm-colors{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stm-swatch{border:2px solid var(--surface);cursor:pointer;width:32px;height:32px;box-shadow:0 0 0 1px var(--border-2);border-radius:50%}.stm-swatch.on{box-shadow:0 0 0 2px var(--brand)}.stm-custom{color:var(--text-muted);cursor:pointer;align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.stm-custom input{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:8px;width:36px;height:32px;padding:2px}.stm-opts .btn-sm{align-self:flex-start}@media (max-width:860px){.stm-layout{grid-template-columns:1fr}}@media (max-width:520px){.stm-stage{min-height:280px}.stm-canvas{height:250px}}
