.restyle-background-workspace-module__80GU3q__configStack,.restyle-background-workspace-module__80GU3q__footerStack{gap:var(--space-4);flex-direction:column;display:flex}.restyle-background-workspace-module__80GU3q__fieldGroup{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.restyle-background-workspace-module__80GU3q__labelRow,.restyle-background-workspace-module__80GU3q__inputMeta,.restyle-background-workspace-module__80GU3q__previewHeader{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.restyle-background-workspace-module__80GU3q__label{color:var(--foreground);letter-spacing:.02em;font-size:12px;font-weight:650}.restyle-background-workspace-module__80GU3q__required,.restyle-background-workspace-module__80GU3q__previewHeader>div>span{color:var(--primary);letter-spacing:.1em;text-transform:uppercase;font-size:10px;font-weight:700}.restyle-background-workspace-module__80GU3q__dropzone{border:1px dashed color-mix(in srgb, var(--primary) 45%, var(--ghost-border));border-radius:var(--radius-lg);background:color-mix(in srgb, var(--secondary) 46%, transparent);width:100%;min-height:176px;color:var(--muted-foreground);cursor:pointer;transition:border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);overflow:hidden}.restyle-background-workspace-module__80GU3q__dropzoneCompact{min-height:126px}.restyle-background-workspace-module__80GU3q__dropzone:hover,.restyle-background-workspace-module__80GU3q__dropzone:focus-visible{border-color:var(--primary);background:color-mix(in srgb, var(--primary) 8%, var(--secondary))}.restyle-background-workspace-module__80GU3q__dropzone.restyle-background-workspace-module__80GU3q__hasImage{border-style:solid}.restyle-background-workspace-module__80GU3q__dropzone img{object-fit:contain;background:var(--background);width:100%;height:176px;display:block}.restyle-background-workspace-module__80GU3q__dropzoneCompact img{height:126px}.restyle-background-workspace-module__80GU3q__dropzoneEmpty{min-height:inherit;align-content:center;place-items:center;gap:var(--space-2);padding:var(--space-4);display:grid}.restyle-background-workspace-module__80GU3q__dropzoneEmpty svg{color:var(--primary)}.restyle-background-workspace-module__80GU3q__dropzoneEmpty strong{color:var(--foreground);font-size:13px}.restyle-background-workspace-module__80GU3q__dropzoneEmpty small{max-width:230px;font-size:10px;line-height:1.45}.restyle-background-workspace-module__80GU3q__hiddenInput{display:none}.restyle-background-workspace-module__80GU3q__fileRow{align-items:center;gap:var(--space-2);min-width:0;color:var(--muted-foreground);font-size:11px;display:flex}.restyle-background-workspace-module__80GU3q__fileRow>span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.restyle-background-workspace-module__80GU3q__fileRow>small{flex:none}.restyle-background-workspace-module__80GU3q__fileRow button{color:inherit;cursor:pointer;flex:none;place-items:center;display:grid}.restyle-background-workspace-module__80GU3q__modeGrid{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.restyle-background-workspace-module__80GU3q__mode,.restyle-background-workspace-module__80GU3q__modeActive{justify-content:center;align-items:flex-start;gap:var(--space-1);min-width:0;min-height:74px;padding:var(--space-2);border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--secondary) 54%, transparent);color:var(--foreground);text-align:left;cursor:pointer;flex-direction:column;display:flex}.restyle-background-workspace-module__80GU3q__mode:hover,.restyle-background-workspace-module__80GU3q__mode:focus-visible{border-color:color-mix(in srgb, var(--primary) 55%, var(--ghost-border))}.restyle-background-workspace-module__80GU3q__modeActive{border-color:color-mix(in srgb, var(--primary) 78%, var(--ghost-border));background:color-mix(in srgb, var(--primary) 13%, var(--secondary))}.restyle-background-workspace-module__80GU3q__mode strong,.restyle-background-workspace-module__80GU3q__modeActive strong{font-size:11px}.restyle-background-workspace-module__80GU3q__mode small,.restyle-background-workspace-module__80GU3q__modeActive small{color:var(--muted-foreground);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:9px;line-height:1.35;display:-webkit-box;overflow:hidden}.restyle-background-workspace-module__80GU3q__textarea{resize:vertical;width:100%;min-height:112px;padding:var(--space-3);border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--secondary);color:var(--foreground);font:inherit;transition:border-color var(--dur-fast) var(--ease);outline:none;font-size:12px;line-height:1.5}.restyle-background-workspace-module__80GU3q__select{width:100%;min-height:40px;padding:0 var(--space-3);border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--secondary);color:var(--foreground);font:inherit;outline:none;font-size:12px}.restyle-background-workspace-module__80GU3q__select:focus-visible,.restyle-background-workspace-module__80GU3q__textarea:focus{border-color:var(--primary)}.restyle-background-workspace-module__80GU3q__textarea::placeholder{color:var(--muted-foreground)}.restyle-background-workspace-module__80GU3q__inputMeta{color:var(--muted-foreground);align-items:flex-start;font-size:9px;line-height:1.4}.restyle-background-workspace-module__80GU3q__inputMeta span:last-child{flex:none}.restyle-background-workspace-module__80GU3q__toggleRow{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.restyle-background-workspace-module__80GU3q__toggleRow>span{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.restyle-background-workspace-module__80GU3q__toggleRow strong{color:var(--foreground);font-size:12px;font-weight:600}.restyle-background-workspace-module__80GU3q__toggleRow small{color:var(--muted-foreground);font-size:10px;line-height:1.4}.restyle-background-workspace-module__80GU3q__toggleRow input{width:34px;height:18px;accent-color:var(--primary);flex:none}.restyle-background-workspace-module__80GU3q__fixedOutput{align-items:center;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:color-mix(in srgb, var(--secondary) 58%, transparent);display:flex}.restyle-background-workspace-module__80GU3q__fixedOutput>svg{color:var(--primary);flex:none}.restyle-background-workspace-module__80GU3q__fixedOutput>span{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.restyle-background-workspace-module__80GU3q__fixedOutput strong{color:var(--foreground);font-size:11px}.restyle-background-workspace-module__80GU3q__fixedOutput small{color:var(--muted-foreground);font-size:10px}.restyle-background-workspace-module__80GU3q__contractNotice{align-items:flex-start;gap:var(--space-3);padding:var(--space-3);border:1px solid color-mix(in srgb, var(--primary) 38%, var(--ghost-border));border-radius:var(--radius-md);background:color-mix(in srgb, var(--primary) 7%, var(--secondary));display:flex}.restyle-background-workspace-module__80GU3q__contractNotice>svg{color:var(--primary);flex:none}.restyle-background-workspace-module__80GU3q__contractNotice>span{gap:var(--space-1);flex-direction:column;display:flex}.restyle-background-workspace-module__80GU3q__contractNotice strong{color:var(--foreground);font-size:11px}.restyle-background-workspace-module__80GU3q__contractNotice small{color:var(--muted-foreground);font-size:10px;line-height:1.45}.restyle-background-workspace-module__80GU3q__ready,.restyle-background-workspace-module__80GU3q__incomplete{align-items:center;gap:var(--space-2);color:var(--muted-foreground);font-size:10px;display:flex}.restyle-background-workspace-module__80GU3q__ready{color:var(--primary)}.restyle-background-workspace-module__80GU3q__lockedButton,.restyle-background-workspace-module__80GU3q__runButton{justify-content:center;align-items:center;gap:var(--space-2);border-radius:var(--radius-md);background:var(--primary);width:100%;min-height:42px;color:var(--primary-foreground);font-size:12px;font-weight:700;display:flex}.restyle-background-workspace-module__80GU3q__lockedButton:disabled,.restyle-background-workspace-module__80GU3q__runButton:disabled{cursor:not-allowed;opacity:.48}.restyle-background-workspace-module__80GU3q__runButton:not(:disabled){cursor:pointer}.restyle-background-workspace-module__80GU3q__error{color:var(--destructive);margin:0;font-size:10px;line-height:1.4}.restyle-background-workspace-module__80GU3q__previewStage{gap:var(--space-5);min-height:calc(100vh - 49px);padding:var(--space-6);background:radial-gradient(circle at 72% 12%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 38%), var(--background);flex-direction:column;display:flex}.restyle-background-workspace-module__80GU3q__previewHeader>div{gap:var(--space-1);flex-direction:column;display:flex}.restyle-background-workspace-module__80GU3q__previewHeader strong{color:var(--foreground);font-size:16px}.restyle-background-workspace-module__80GU3q__downloadButton{justify-content:center;align-items:center;gap:var(--space-2);min-height:36px;padding:0 var(--space-3);border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--card);color:var(--foreground);font-size:11px;font-weight:650;text-decoration:none;display:inline-flex}.restyle-background-workspace-module__80GU3q__localBadge{align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border:1px solid var(--ghost-border);border-radius:var(--radius-full);background:color-mix(in srgb, var(--card) 80%, transparent);color:var(--muted-foreground);font-size:10px;display:inline-flex}.restyle-background-workspace-module__80GU3q__emptyPreview{justify-content:center;align-items:center;gap:var(--space-3);min-height:520px;padding:var(--space-6);border:1px dashed var(--ghost-border);border-radius:var(--radius-xl);background:color-mix(in srgb, var(--card) 58%, transparent);color:var(--muted-foreground);text-align:center;flex-direction:column;flex:1;display:flex}.restyle-background-workspace-module__80GU3q__resultStage{border:1px solid var(--ghost-border);border-radius:var(--radius-xl);background:color-mix(in srgb, var(--card) 58%, transparent);flex:1;justify-content:center;align-items:center;min-height:520px;display:flex;overflow:hidden}.restyle-background-workspace-module__80GU3q__resultStage>img{object-fit:contain;width:100%;height:100%;max-height:calc(100vh - 178px)}.restyle-background-workspace-module__80GU3q__resultStage .restyle-background-workspace-module__80GU3q__emptyPreview{width:100%;min-height:inherit;background:0 0;border:0}.restyle-background-workspace-module__80GU3q__spinner{animation:.8s linear infinite restyle-background-workspace-module__80GU3q__restyle-spin}.restyle-background-workspace-module__80GU3q__emptyIcon{border-radius:var(--radius-full);background:color-mix(in srgb, var(--primary) 12%, var(--secondary));width:58px;height:58px;color:var(--primary);place-items:center;display:grid}.restyle-background-workspace-module__80GU3q__emptyPreview strong{color:var(--foreground);font-size:16px}.restyle-background-workspace-module__80GU3q__emptyPreview p{max-width:410px;margin:0;font-size:12px;line-height:1.6}.restyle-background-workspace-module__80GU3q__previewContent{gap:var(--space-3);flex-direction:column;flex:1;min-height:0;display:flex}.restyle-background-workspace-module__80GU3q__previewGrid{gap:var(--space-4);flex:1;grid-template-columns:repeat(2,minmax(0,1fr));min-height:500px;display:grid}.restyle-background-workspace-module__80GU3q__previewCard{gap:var(--space-2);flex-direction:column;min-width:0;min-height:0;margin:0;display:flex}.restyle-background-workspace-module__80GU3q__previewCard figcaption{color:var(--muted-foreground);letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:650}.restyle-background-workspace-module__80GU3q__previewMedia,.restyle-background-workspace-module__80GU3q__briefPreview{border:1px solid var(--ghost-border);border-radius:var(--radius-xl);background:color-mix(in srgb, var(--card) 72%, var(--secondary));flex:1;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.restyle-background-workspace-module__80GU3q__previewMedia img{object-fit:contain;width:100%;height:100%;max-height:calc(100vh - 178px)}.restyle-background-workspace-module__80GU3q__briefPreview{gap:var(--space-3);padding:var(--space-6);color:var(--muted-foreground);text-align:center;flex-direction:column}.restyle-background-workspace-module__80GU3q__briefPreview svg{color:var(--primary)}.restyle-background-workspace-module__80GU3q__briefPreview p{overflow-wrap:anywhere;max-width:360px;margin:0;font-size:13px;line-height:1.6}.restyle-background-workspace-module__80GU3q__previewDisclaimer{color:var(--muted-foreground);text-align:center;margin:0;font-size:10px;line-height:1.45}@media (max-width:1100px){.restyle-background-workspace-module__80GU3q__previewGrid{grid-template-columns:1fr;min-height:auto}.restyle-background-workspace-module__80GU3q__previewMedia,.restyle-background-workspace-module__80GU3q__briefPreview{min-height:340px}}@media (prefers-reduced-motion:reduce){.restyle-background-workspace-module__80GU3q__spinner{animation:none}}@keyframes restyle-background-workspace-module__80GU3q__restyle-spin{to{transform:rotate(360deg)}}@media (max-width:600px){.restyle-background-workspace-module__80GU3q__modeGrid{grid-template-columns:1fr}.restyle-background-workspace-module__80GU3q__mode,.restyle-background-workspace-module__80GU3q__modeActive{min-height:58px}.restyle-background-workspace-module__80GU3q__previewStage{min-height:560px;padding:var(--space-4)}.restyle-background-workspace-module__80GU3q__previewHeader{flex-direction:column;align-items:flex-start}.restyle-background-workspace-module__80GU3q__emptyPreview{min-height:380px}.restyle-background-workspace-module__80GU3q__previewMedia,.restyle-background-workspace-module__80GU3q__briefPreview{min-height:300px}}@media (prefers-reduced-motion:reduce){.restyle-background-workspace-module__80GU3q__dropzone,.restyle-background-workspace-module__80GU3q__mode,.restyle-background-workspace-module__80GU3q__modeActive,.restyle-background-workspace-module__80GU3q__textarea{transition:none}}.restyle-background-workspace-module__80GU3q__secondaryButton{justify-content:center;align-items:center;gap:var(--space-2);border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--secondary);min-height:38px;color:var(--foreground);cursor:pointer;font-size:12px;font-weight:600;display:flex}.restyle-background-workspace-module__80GU3q__secondaryButton:disabled{cursor:not-allowed;opacity:.48}.restyle-background-workspace-module__80GU3q__required{border:1px solid var(--primary-border);border-radius:var(--radius-pill);background:var(--primary-soft);width:fit-content;min-height:24px;color:var(--primary);letter-spacing:.055em;text-transform:uppercase;align-items:center;padding:4px 9px;font-size:9.5px;font-weight:750;line-height:1.25;display:inline-flex}
