@layer smrt.reset,smrt.structure,smrt.theme;@layer smrt.structure{.smrt-image-editor__root.svelte-goea1m{display:flex;flex-direction:column;gap:1rem;padding:1.5rem}.smrt-image-editor__header.svelte-goea1m{display:flex;justify-content:space-between;align-items:center;padding-bottom:1rem;margin-bottom:.5rem}.smrt-image-editor__header.svelte-goea1m h3:where(.svelte-goea1m){margin:0}.smrt-image-editor__empty.svelte-goea1m{padding:2rem}.smrt-image-editor__content.svelte-goea1m{display:flex;flex-wrap:wrap;gap:2rem}.smrt-image-editor__preview.svelte-goea1m{flex:1;min-width:300px;min-height:300px}.smrt-image-editor__controls.svelte-goea1m{flex:1;min-width:300px;display:flex;flex-direction:column;gap:1.5rem}.smrt-image-editor__modes.svelte-goea1m{display:flex;padding:.25rem;gap:.25rem}.smrt-image-editor__modes.svelte-goea1m .smrt-image-editor__mode-button{flex:1;padding:.6rem 1rem}.smrt-image-editor__tool.svelte-goea1m h4:where(.svelte-goea1m){margin:0 0 1rem}.smrt-image-editor__row.svelte-goea1m{display:flex;gap:.75rem;align-items:center;margin-bottom:.75rem;flex-wrap:wrap}.smrt-image-editor__row.svelte-goea1m label:where(.svelte-goea1m){display:flex;flex-direction:column;gap:.25rem}.smrt-image-editor__row.svelte-goea1m label:where(.svelte-goea1m) .smrt-image-editor__dimension-input{width:90px}.smrt-image-editor__row.svelte-goea1m .smrt-image-editor__format{width:auto}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__prompt{margin-bottom:1rem}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__tonal-button{padding:.6rem 1.2rem;margin-top:1.25rem}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__text-button{padding:0}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__primary-button{padding:.6rem 1.5rem}.smrt-image-editor__hint.svelte-goea1m{margin:0 0 .5rem}.smrt-image-editor__error.svelte-goea1m,.smrt-image-editor__success.svelte-goea1m{padding:.5rem}}@layer smrt.theme{.smrt-image-editor__root.svelte-goea1m{background:var(--smrt-color-surface-container);color:var(--smrt-color-on-surface);border-radius:var(--smrt-radius-lg);border:var(--smrt-hairline)}.smrt-image-editor__header.svelte-goea1m{border-bottom:var(--smrt-hairline)}.smrt-image-editor__header.svelte-goea1m h3:where(.svelte-goea1m){font-size:var(--smrt-typography-title-medium-size, 1.15rem);font-weight:var(--smrt-typography-weight-medium, 500)}.smrt-image-editor__header.svelte-goea1m .smrt-image-editor__close{color:inherit;font-size:var(--smrt-typography-headline-small-size, 1.5rem);line-height:1}.smrt-image-editor__empty.svelte-goea1m{text-align:center;color:var(--smrt-color-outline)}.smrt-image-editor__preview.svelte-goea1m{background-size:contain;background-position:center;background-repeat:no-repeat;background-color:var(--smrt-color-surface-container-high);border-radius:var(--smrt-radius-md);border:1px dashed var(--smrt-color-outline-variant)}.smrt-image-editor__modes.svelte-goea1m{background:var(--smrt-color-surface-container-high);border-radius:var(--smrt-radius-full)}.smrt-image-editor__modes.svelte-goea1m .smrt-image-editor__mode-button{font-weight:var(--smrt-typography-weight-medium, 500);border-radius:var(--smrt-radius-full)}.smrt-image-editor__tool.svelte-goea1m h4:where(.svelte-goea1m){font-size:var(--smrt-typography-title-medium-size, .95rem);font-weight:var(--smrt-typography-weight-medium, 500);color:var(--smrt-color-on-surface-variant)}.smrt-image-editor__row.svelte-goea1m label:where(.svelte-goea1m){font-size:var(--smrt-typography-label-medium-size, .8rem);font-weight:var(--smrt-typography-weight-medium, 500);color:var(--smrt-color-outline)}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__tonal-button{background:var(--smrt-color-surface-container-highest);color:var(--smrt-color-primary);border:var(--smrt-hairline);border-radius:var(--smrt-radius-full);font-weight:var(--smrt-typography-weight-medium, 500);transition:background .2s}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__tonal-button:hover:not(:disabled){background:var(--smrt-color-surface-container-high)}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__text-button{text-decoration:underline}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__text-button:hover{color:var(--smrt-color-on-surface)}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__primary-button{border-radius:var(--smrt-radius-full);font-weight:var(--smrt-typography-weight-medium, 500)}.smrt-image-editor__tool.svelte-goea1m .smrt-image-editor__primary-button:hover:not(:disabled){filter:brightness(1.1)}.smrt-image-editor__hint.svelte-goea1m{font-size:var(--smrt-typography-body-small-size, .8rem);color:var(--smrt-color-outline)}.smrt-image-editor__error.svelte-goea1m{color:var(--smrt-color-error);background:color-mix(in srgb,var(--smrt-color-error) 10%,transparent);border-radius:var(--smrt-radius-sm);font-size:var(--smrt-typography-body-medium-size, .85rem)}.smrt-image-editor__success.svelte-goea1m{color:var(--smrt-color-success);background:color-mix(in srgb,var(--smrt-color-success) 10%,transparent);border-radius:var(--smrt-radius-sm);font-size:var(--smrt-typography-body-medium-size, .85rem)}}
