.admin-dialog.svelte-1i0b9dg{gap:var(--padding);width:560px;max-width:calc(100vw - var(--padding) * 2);max-height:calc(100dvh - var(--padding) * 2);margin:calc(var(--padding) / 2);text-align:start;align-items:stretch}.admin-head.svelte-1i0b9dg{flex-direction:column;gap:2px;display:flex}.admin-kicker.svelte-1i0b9dg{color:var(--text-muted);font-size:12px}.admin-content.svelte-1i0b9dg{flex-direction:column;gap:14px;min-height:0;display:flex;overflow-y:auto}.top-row.svelte-1i0b9dg{align-items:stretch;gap:14px;display:flex}.preview.svelte-1i0b9dg{border-radius:var(--border-radius);background:var(--button-elevated);flex:0 0 130px;width:130px;height:210px;overflow:hidden}.fields.svelte-1i0b9dg{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.field-label.svelte-1i0b9dg{color:var(--text-muted);font-size:11.5px;font-weight:500}.model-field.svelte-1i0b9dg{flex-direction:column;gap:6px;display:flex}.model-switch.svelte-1i0b9dg,.mode-switch.svelte-1i0b9dg{border-radius:var(--border-radius);background:var(--button-elevated);gap:4px;padding:3px;display:flex}.model-btn.svelte-1i0b9dg{border-radius:var(--border-radius);color:var(--text-muted);box-shadow:none;background:0 0;flex:1;padding:7px 11px;font-size:12.5px;font-weight:500}.mode-btn.svelte-1i0b9dg{border-radius:var(--border-radius);color:var(--text-muted);box-shadow:none;background:0 0;padding:5px 11px;font-size:12px;font-weight:500}.model-btn.active.svelte-1i0b9dg,.mode-btn.active.svelte-1i0b9dg{color:var(--secondary);background:var(--button);box-shadow:var(--button-box-shadow)}.texture-field.svelte-1i0b9dg{flex-direction:column;gap:8px;display:flex}.texture-top.svelte-1i0b9dg{justify-content:space-between;align-items:center;gap:10px;display:flex}.editor-row.svelte-1i0b9dg{align-items:flex-start;gap:14px;display:flex}.editor-canvas.svelte-1i0b9dg{flex:0 0 280px;max-width:280px}.swatches.svelte-1i0b9dg{flex-wrap:wrap;flex:1;align-content:flex-start;gap:8px;display:flex}.swatch.svelte-1i0b9dg{border-radius:calc(var(--border-radius) / 2);width:30px;height:30px;box-shadow:0 0 0 1px var(--button-stroke) inset}.swatch.active.svelte-1i0b9dg{box-shadow:0 0 0 2px var(--secondary)}.swatch.eraser.svelte-1i0b9dg{color:var(--secondary);background:var(--button-elevated);justify-content:center;align-items:center;display:flex}.swatch.eraser.svelte-1i0b9dg svg{stroke-width:2px;width:18px;height:18px}.upload-box.svelte-1i0b9dg{flex-direction:column;gap:8px;display:flex}.texture-btn.svelte-1i0b9dg{height:38px;color:var(--secondary);background:var(--button);box-shadow:var(--button-box-shadow);border-radius:var(--border-radius);font-size:13px;font-weight:500}.texture-hint.svelte-1i0b9dg{padding:0;font-size:11.5px}.texture-error.svelte-1i0b9dg{color:var(--red);font-size:12px}.admin-buttons.svelte-1i0b9dg{gap:calc(var(--padding) / 2);width:100%;display:flex}.admin-button.svelte-1i0b9dg{flex:1;height:40px}.admin-button.svelte-1i0b9dg:disabled{opacity:.5;cursor:default}@media screen and (width<=520px){.top-row.svelte-1i0b9dg{flex-direction:column}.preview.svelte-1i0b9dg{flex-basis:160px;width:100%}.editor-row.svelte-1i0b9dg{flex-direction:column}.editor-canvas.svelte-1i0b9dg{flex-basis:auto;max-width:240px}}
