.editor-tools{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.editor-tools button,.editor-colors button{cursor:pointer;border:1px solid #ccc;border-radius:6px;padding:7px 10px;background:white;color:#222}.editor-tools button[aria-pressed=true]{background:#222;color:white}.editor-tools button:disabled{opacity:.4;cursor:default}.editor-colors{display:flex;flex-wrap:wrap;gap:6px;max-height:140px;overflow:auto;padding:5px;margin:8px 0}.editor-colors button{width:30px;height:30px;padding:0;border:2px solid #bbb}.editor-colors button[aria-pressed=true]{outline:2px solid #146bd1;outline-offset:2px}.editor-canvas{display:block;width:100%;height:480px;touch-action:none;border:1px solid #ccc;border-radius:10px;cursor:crosshair}.editor-help{font-size:12px;color:#666;margin:8px 0}#bigPreview{image-rendering:pixelated}#editorPanel:not([hidden])~.preview-box{margin-top:12px;max-width:240px}.shop-retry{margin-top:8px}@media(max-width:820px){.editor-canvas{height:380px}}
