.BackgroundRemovalComparison-module__7uTKmG__comparison{place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.BackgroundRemovalComparison-module__7uTKmG__canvas{isolation:isolate;border-radius:10px;max-width:100%;max-height:100%;position:relative;overflow:hidden}.BackgroundRemovalComparison-module__7uTKmG__images,.BackgroundRemovalComparison-module__7uTKmG__layer{position:absolute;inset:0}.BackgroundRemovalComparison-module__7uTKmG__original{background:var(--uied-comparison-source-background,#f3f4f6)}.BackgroundRemovalComparison-module__7uTKmG__image{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.BackgroundRemovalComparison-module__7uTKmG__checker{background-color:#fff;background-image:linear-gradient(45deg,#e9eaed 25%,#0000 25%),linear-gradient(-45deg,#e9eaed 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e9eaed 75%),linear-gradient(-45deg,#0000 75%,#e9eaed 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.BackgroundRemovalComparison-module__7uTKmG__white{background:#fff}.BackgroundRemovalComparison-module__7uTKmG__dark{background:#343942}.BackgroundRemovalComparison-module__7uTKmG__divider{z-index:2;pointer-events:none;background:#fff;width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%);box-shadow:0 0 4px #15223f30}.BackgroundRemovalComparison-module__7uTKmG__handle{color:#fff;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#27344b70;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 10px #17223b1f}.BackgroundRemovalComparison-module__7uTKmG__handle svg{flex:none}.BackgroundRemovalComparison-module__7uTKmG__label{z-index:2;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;background:#14203866;border-radius:5px;padding:5px 9px;font-size:12px;line-height:1;position:absolute;top:12px}.BackgroundRemovalComparison-module__7uTKmG__before{left:12px}.BackgroundRemovalComparison-module__7uTKmG__after{right:12px}.BackgroundRemovalComparison-module__7uTKmG__range{z-index:3;opacity:0;cursor:ew-resize;touch-action:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.BackgroundRemovalComparison-module__7uTKmG__canvas:has(.BackgroundRemovalComparison-module__7uTKmG__range:focus-visible){outline-offset:3px;outline:3px solid #2563eb}.BackgroundRemovalComparison-module__7uTKmG__canvas:has(.BackgroundRemovalComparison-module__7uTKmG__range:focus-visible) .BackgroundRemovalComparison-module__7uTKmG__handle{outline-offset:3px;outline:3px solid #2563eb}.BackgroundRemovalComparison-module__7uTKmG__status{text-align:center;color:#8b96a9;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:20px;font-size:14px;display:flex;position:absolute;inset:0}.BackgroundRemovalComparison-module__7uTKmG__status strong{color:#62718a;font-size:14px;font-weight:500}.BackgroundRemovalComparison-module__7uTKmG__status span{max-width:270px;line-height:1.7}.BackgroundRemovalComparison-module__7uTKmG__retry{color:#3d5f9b;cursor:pointer;min-height:32px;font:inherit;background:#fff;border:1px solid #dbe3ef;border-radius:7px;align-items:center;gap:6px;margin-top:3px;padding:6px 11px;display:inline-flex}.BackgroundRemovalComparison-module__7uTKmG__retry:hover{background:#f4f7ff;border-color:#9fb9ec}.BackgroundRemovalComparison-module__7uTKmG__retry:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.BackgroundRemovalComparison-module__7uTKmG__loading{animation:1s linear infinite BackgroundRemovalComparison-module__7uTKmG__comparison-spin}@keyframes BackgroundRemovalComparison-module__7uTKmG__comparison-spin{to{transform:rotate(360deg)}}@media (max-width:760px){.BackgroundRemovalComparison-module__7uTKmG__label{padding:5px 7px;font-size:12px;top:9px}.BackgroundRemovalComparison-module__7uTKmG__before{left:9px}.BackgroundRemovalComparison-module__7uTKmG__after{right:9px}.BackgroundRemovalComparison-module__7uTKmG__handle{width:42px;height:42px}}@media (prefers-reduced-motion:reduce){.BackgroundRemovalComparison-module__7uTKmG__loading{animation:none}}
.BackgroundRemoval-module__rjj1pG__backgroundRemoval{--matting-accent:#2468f2;--matting-border:#e8ecf1;box-sizing:border-box;min-width:0;max-width:1420px;color:var(--uiedc-text);background:#fff;margin:0 auto;padding:20px 24px 28px}.BackgroundRemoval-module__rjj1pG__backgroundRemoval *,.BackgroundRemoval-module__rjj1pG__backgroundRemoval :before,.BackgroundRemoval-module__rjj1pG__backgroundRemoval :after{box-sizing:border-box}.BackgroundRemoval-module__rjj1pG__toolHeader{justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;display:flex}.BackgroundRemoval-module__rjj1pG__toolHeader>div:first-child{flex-wrap:wrap;align-items:baseline;gap:6px 14px;display:flex}.BackgroundRemoval-module__rjj1pG__toolHeader h1{letter-spacing:-.4px;margin:0;font-size:22px;font-weight:700;line-height:1.4}.BackgroundRemoval-module__rjj1pG__toolHeader p{color:var(--uiedc-text-secondary);margin:0;font-size:13px;line-height:1.6}.BackgroundRemoval-module__rjj1pG__toolCost{color:var(--uiedc-text-secondary);flex-shrink:0;align-items:center;gap:5px;font-size:13px;display:flex}.BackgroundRemoval-module__rjj1pG__toolCost svg{color:#7d8ca6;margin-right:2px}.BackgroundRemoval-module__rjj1pG__toolCost strong{color:var(--uiedc-text);font-size:14px;font-weight:600}.BackgroundRemoval-module__rjj1pG__allowanceNotice{color:var(--uiedc-text-secondary);flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin:-2px 0 16px;font-size:13px;line-height:1.6;display:flex}.BackgroundRemoval-module__rjj1pG__allowanceNotice strong{color:#3c5888;font-weight:600}.BackgroundRemoval-module__rjj1pG__allowanceNotice small{color:var(--uiedc-text-secondary);flex-basis:100%;font-size:13px}.BackgroundRemoval-module__rjj1pG__allowanceNotice button{min-height:32px;color:var(--matting-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 4px;font-weight:500}.BackgroundRemoval-module__rjj1pG__workbench{border:1px solid var(--matting-border);border-radius:12px;grid-template-columns:216px minmax(0,1fr);min-width:0;display:grid;overflow:hidden}.BackgroundRemoval-module__rjj1pG__inspector{border-right:1px solid var(--matting-border);flex-direction:column;min-width:0;padding:18px 16px;display:flex}.BackgroundRemoval-module__rjj1pG__modelField{min-width:0;color:var(--uiedc-text);gap:8px;margin-bottom:18px;font-size:14px;font-weight:500;display:grid}.BackgroundRemoval-module__rjj1pG__modelField select{border:1px solid var(--matting-border);width:100%;min-width:0;min-height:38px;color:var(--uiedc-text);font:inherit;background:#fff;border-radius:8px;padding:0 10px;font-weight:400}.BackgroundRemoval-module__rjj1pG__modelField select:focus-visible{outline-offset:2px;outline:2px solid #8aadef}.BackgroundRemoval-module__rjj1pG__sectionHeading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;display:flex}.BackgroundRemoval-module__rjj1pG__sectionHeading h2{margin:0;font-size:13px;font-weight:600}.BackgroundRemoval-module__rjj1pG__sectionHeading>span{color:var(--uiedc-text-muted);font-size:13px}.BackgroundRemoval-module__rjj1pG__dropzone{color:#657087;width:100%;height:158px;font:inherit;cursor:pointer;background:#fbfcff;border:1px dashed #d2dbea;border-radius:10px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:7px;padding:12px 8px;transition:border-color .16s,background .16s;display:flex;position:relative;overflow:hidden}.BackgroundRemoval-module__rjj1pG__dropzone:hover:not(:disabled),.BackgroundRemoval-module__rjj1pG__dropzone.BackgroundRemoval-module__rjj1pG__dragging{background:#f3f7ff;border-color:#78a2f4}.BackgroundRemoval-module__rjj1pG__dropzone:disabled{cursor:default}.BackgroundRemoval-module__rjj1pG__dropzone>strong{color:var(--uiedc-text);margin-top:3px;font-size:14px;font-weight:500}.BackgroundRemoval-module__rjj1pG__dropzone>small{color:var(--uiedc-text-secondary);font-size:13px}.BackgroundRemoval-module__rjj1pG__uploadGlyph{color:#9aaac4;place-items:center;width:30px;height:30px;display:grid}.BackgroundRemoval-module__rjj1pG__uploadCta{color:#fff;background:var(--matting-accent);border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:32px;padding:0 15px;font-size:14px;display:inline-flex}.BackgroundRemoval-module__rjj1pG__dropzone.BackgroundRemoval-module__rjj1pG__hasImage{background:#f7f8fa;padding:12px 12px 36px}.BackgroundRemoval-module__rjj1pG__sourceMedia{object-fit:contain;place-items:center;width:100%;height:100%;min-height:0;display:grid}.BackgroundRemoval-module__rjj1pG__replaceSource{height:29px;color:var(--uiedc-text-secondary);background:#ffffffeb;border-top:1px solid #eef0f4;justify-content:center;align-items:center;gap:6px;font-size:13px;font-weight:500;display:flex;position:absolute;bottom:0;left:0;right:0}.BackgroundRemoval-module__rjj1pG__fileHint{color:var(--uiedc-text-muted);justify-content:space-between;gap:8px;margin:9px 0 0;font-size:12px;line-height:1.6;display:flex}.BackgroundRemoval-module__rjj1pG__fileHint>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.BackgroundRemoval-module__rjj1pG__fileHint>span:last-child{flex-shrink:0}.BackgroundRemoval-module__rjj1pG__authHint{color:var(--uiedc-text-secondary);text-align:center;gap:9px;margin-top:14px;font-size:13px;display:grid}.BackgroundRemoval-module__rjj1pG__login{min-height:32px;color:var(--matting-accent);font:inherit;cursor:pointer;background:#f7faff;border:1px solid #dce6f9;border-radius:7px;font-weight:500}.BackgroundRemoval-module__rjj1pG__edgeOptions{border-top:1px solid #eef0f4;margin:22px 0 20px;padding-top:17px}.BackgroundRemoval-module__rjj1pG__edgeOptions>summary{color:var(--uiedc-text);cursor:pointer;align-items:center;gap:7px;font-size:13px;font-weight:500;list-style:none;display:flex}.BackgroundRemoval-module__rjj1pG__edgeOptions>summary::-webkit-details-marker{display:none}.BackgroundRemoval-module__rjj1pG__edgeOptions>summary small{color:var(--uiedc-text-muted);margin-left:auto;font-size:13px}.BackgroundRemoval-module__rjj1pG__edgeOptions>summary>svg:last-child{transition:transform .16s}.BackgroundRemoval-module__rjj1pG__edgeOptions[open]>summary>svg:last-child{transform:rotate(180deg)}.BackgroundRemoval-module__rjj1pG__instruction{padding-top:13px;display:block}.BackgroundRemoval-module__rjj1pG__instruction>span{color:var(--uiedc-text);margin-bottom:7px;font-size:14px;font-weight:500;display:block}.BackgroundRemoval-module__rjj1pG__instruction textarea{box-sizing:border-box;width:100%;min-height:95px;color:var(--uiedc-text);font:inherit;resize:vertical;background:#fff;border:1px solid #e1e7ef;border-radius:7px;padding:9px;font-size:14px;line-height:1.6}.BackgroundRemoval-module__rjj1pG__instruction textarea::placeholder{color:#a5adba}.BackgroundRemoval-module__rjj1pG__instruction i{color:#a3adbb;text-align:right;margin-top:4px;font-size:11px;font-style:normal;display:block}.BackgroundRemoval-module__rjj1pG__sourceFooter{margin-top:4px}.BackgroundRemoval-module__rjj1pG__submit{color:#fff;background:var(--matting-accent);width:100%;min-height:41px;font:inherit;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:600;transition:background .16s;display:flex}.BackgroundRemoval-module__rjj1pG__submit:hover:not(:disabled){background:#1659df}.BackgroundRemoval-module__rjj1pG__submit:disabled{color:#9dabc2;cursor:not-allowed;background:#edf1f8}.BackgroundRemoval-module__rjj1pG__processingHint{color:var(--uiedc-text-secondary);justify-content:center;align-items:center;gap:5px;margin:10px 0 0;font-size:13px;line-height:1.6;display:flex}.BackgroundRemoval-module__rjj1pG__error,.BackgroundRemoval-module__rjj1pG__configurationNotice{color:#cf4b5b;overflow-wrap:anywhere;margin:0 0 12px;font-size:14px;line-height:1.6}.BackgroundRemoval-module__rjj1pG__configurationNotice{color:#946b30}.BackgroundRemoval-module__rjj1pG__previewPanel{flex-direction:column;min-width:0;display:flex}.BackgroundRemoval-module__rjj1pG__previewHeader{border-bottom:1px solid var(--matting-border);background:#fff;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:0 18px;display:flex}.BackgroundRemoval-module__rjj1pG__previewTabs{align-self:stretch;gap:20px;display:flex}.BackgroundRemoval-module__rjj1pG__previewTabs button{color:var(--uiedc-text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 1px;font-size:13px;font-weight:500;position:relative}.BackgroundRemoval-module__rjj1pG__previewTabs button[aria-pressed=true]{color:#2e66cb;font-weight:600}.BackgroundRemoval-module__rjj1pG__previewTabs button[aria-pressed=true]:after{background:var(--matting-accent);content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0}.BackgroundRemoval-module__rjj1pG__previewTabs button:disabled{cursor:default}.BackgroundRemoval-module__rjj1pG__previewFormat{color:var(--uiedc-text-muted);font-size:13px}.BackgroundRemoval-module__rjj1pG__previewStage{color:#7d8ba0;background:#f7f8fa;flex:none;place-items:center;min-width:0;height:clamp(420px,100svh - 260px,760px);min-height:420px;padding:18px;transition:background-color .16s;display:grid;position:relative;overflow:hidden}.BackgroundRemoval-module__rjj1pG__previewStage.BackgroundRemoval-module__rjj1pG__comparisonStage{background:#fafbfc;padding:16px}.BackgroundRemoval-module__rjj1pG__exampleLabel{color:var(--uiedc-text-muted);pointer-events:none;background:#ffffffe6;border:1px solid #e2e7eecc;border-radius:5px;padding:4px 7px;font-size:12px;position:absolute;bottom:28px;right:30px}.BackgroundRemoval-module__rjj1pG__resultMedia{object-fit:contain;place-items:center;width:calc(100% - 48px);height:calc(100% - 48px);min-height:0;display:grid;position:absolute;inset:24px}.BackgroundRemoval-module__rjj1pG__emptyPreview{flex-direction:column;align-items:center;width:100%;display:flex}.BackgroundRemoval-module__rjj1pG__emptyPreview h2{color:var(--uiedc-text);margin:18px 0 5px;font-size:14px;font-weight:500}.BackgroundRemoval-module__rjj1pG__emptyPreview p{color:var(--uiedc-text-secondary);margin:0;font-size:13px}.BackgroundRemoval-module__rjj1pG__previewFooter{border-top:1px solid var(--matting-border);background:#fff;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding:8px 16px;display:flex}.BackgroundRemoval-module__rjj1pG__backgroundPicker{align-items:center;gap:8px;display:flex}.BackgroundRemoval-module__rjj1pG__backgroundPicker>span{color:var(--uiedc-text-secondary);margin-right:2px;font-size:13px}.BackgroundRemoval-module__rjj1pG__backgroundPicker button{cursor:pointer;border:1px solid #dce1e9;border-radius:5px;width:20px;height:20px;padding:0}.BackgroundRemoval-module__rjj1pG__backgroundPicker button[aria-pressed=true]{outline-offset:2px;outline:2px solid #8cafed}.BackgroundRemoval-module__rjj1pG__backgroundPicker button:disabled{opacity:.55;cursor:default}.BackgroundRemoval-module__rjj1pG__checker{background-color:#fff;background-image:conic-gradient(#e6e9ef 25%, transparent 0 50%, #e6e9ef 0 75%, transparent 0);background-size:16px 16px}.BackgroundRemoval-module__rjj1pG__whiteBackground{background-color:#fff;background-image:none}.BackgroundRemoval-module__rjj1pG__darkBackground{background-color:#303742;background-image:none}.BackgroundRemoval-module__rjj1pG__download{color:#2866d8;min-height:33px;font:inherit;cursor:pointer;background:#f6f9ff;border:1px solid #dce6fa;border-radius:7px;align-items:center;gap:7px;padding:0 12px;font-size:14px;font-weight:500;display:inline-flex}.BackgroundRemoval-module__rjj1pG__download:disabled{color:#aab2bf;cursor:default;background:#fff;border-color:#e9edf2}.BackgroundRemoval-module__rjj1pG__resultState{text-align:center;flex-direction:column;align-items:center;max-width:100%;display:flex}.BackgroundRemoval-module__rjj1pG__processingGlyph,.BackgroundRemoval-module__rjj1pG__failureGlyph{color:#6083c7;background:#f4f7fe;border:1px solid #dbe6fc;border-radius:16px;place-items:center;width:56px;height:56px;display:grid}.BackgroundRemoval-module__rjj1pG__failureGlyph{color:#9aa5b7;background:#f3f5f8;border-color:#e4e7ed}.BackgroundRemoval-module__rjj1pG__resultState h2{color:var(--uiedc-text);margin:18px 0 8px;font-size:18px;font-weight:500}.BackgroundRemoval-module__rjj1pG__resultState p{max-width:340px;color:var(--uiedc-text-secondary);overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.7}.BackgroundRemoval-module__rjj1pG__resultState button{min-height:34px;color:var(--uiedc-text-secondary);font:inherit;cursor:pointer;background:#fff;border:1px solid #dce2ec;border-radius:7px;align-items:center;gap:6px;margin-top:18px;padding:0 12px;font-size:14px;font-weight:500;display:inline-flex}.BackgroundRemoval-module__rjj1pG__progress{background:#e7ecf5;border-radius:4px;width:min(200px,70vw);height:4px;margin-top:24px;overflow:hidden}.BackgroundRemoval-module__rjj1pG__progress i{border-radius:inherit;background:#6994ed;height:100%;transition:width .18s;display:block}.BackgroundRemoval-module__rjj1pG__history{min-width:0;margin-top:20px}.BackgroundRemoval-module__rjj1pG__history>header{justify-content:space-between;align-items:center;gap:15px;display:flex}.BackgroundRemoval-module__rjj1pG__history>header>div{align-items:center;gap:8px;display:flex}.BackgroundRemoval-module__rjj1pG__history h2{color:var(--uiedc-text);margin:0;font-size:14px;font-weight:650}.BackgroundRemoval-module__rjj1pG__history header span{color:var(--uiedc-text-muted);font-size:12px}.BackgroundRemoval-module__rjj1pG__history header button{color:var(--uiedc-text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:5px 0 5px 8px;font-size:13px;font-weight:500;display:inline-flex}.BackgroundRemoval-module__rjj1pG__history header button:disabled{opacity:.5;cursor:default}.BackgroundRemoval-module__rjj1pG__historyEmpty{color:var(--uiedc-text-secondary);border-top:1px solid #eff1f5;align-items:center;gap:8px;margin:8px 0 0;padding:10px 0;font-size:13px;display:flex}.BackgroundRemoval-module__rjj1pG__backgroundHistoryGrid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:13px;margin-top:16px;display:grid}.BackgroundRemoval-module__rjj1pG__backgroundHistoryGrid>button{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.BackgroundRemoval-module__rjj1pG__historyMedia{aspect-ratio:1;color:#99a4b6;background:#f5f7fa;border:1px solid #edf0f5;border-radius:8px;place-items:center;transition:border-color .16s;display:grid;position:relative;overflow:hidden}.BackgroundRemoval-module__rjj1pG__backgroundHistoryMedia{object-fit:contain;place-items:center;width:100%;height:100%;display:grid}.BackgroundRemoval-module__rjj1pG__activeHistory .BackgroundRemoval-module__rjj1pG__historyMedia,.BackgroundRemoval-module__rjj1pG__backgroundHistoryGrid>button:hover .BackgroundRemoval-module__rjj1pG__historyMedia{border-color:#8eb0ef}.BackgroundRemoval-module__rjj1pG__historyMedia>small{color:var(--uiedc-text-muted);background:#fffffff0;border-radius:4px;padding:3px 5px;font-size:12px;position:absolute;bottom:5px;right:5px}.BackgroundRemoval-module__rjj1pG__historyMedia>small[data-status=completed]{color:#6c8a7d}.BackgroundRemoval-module__rjj1pG__historyMedia>small[data-status=processing],.BackgroundRemoval-module__rjj1pG__historyMedia>small[data-status=pending]{color:#5482d2}.BackgroundRemoval-module__rjj1pG__historyMedia>small[data-status=failed]{color:#bd707e}.BackgroundRemoval-module__rjj1pG__backgroundHistoryGrid time{color:var(--uiedc-text-muted);margin-top:7px;font-size:12px;display:block}.BackgroundRemoval-module__rjj1pG__backgroundRemoval button:focus-visible,.BackgroundRemoval-module__rjj1pG__backgroundRemoval summary:focus-visible,.BackgroundRemoval-module__rjj1pG__backgroundRemoval textarea:focus-visible{outline-offset:3px;outline:2px solid #8aadef}.BackgroundRemoval-module__rjj1pG__backgroundRemoval textarea{scrollbar-width:none}.BackgroundRemoval-module__rjj1pG__backgroundRemoval textarea::-webkit-scrollbar{display:none}.BackgroundRemoval-module__rjj1pG__spinning{animation:.9s linear infinite BackgroundRemoval-module__rjj1pG__matting-spin}@keyframes BackgroundRemoval-module__rjj1pG__matting-spin{to{transform:rotate(360deg)}}@media (max-width:1100px){.BackgroundRemoval-module__rjj1pG__backgroundRemoval{padding:20px}.BackgroundRemoval-module__rjj1pG__workbench{grid-template-columns:200px minmax(0,1fr)}.BackgroundRemoval-module__rjj1pG__inspector{padding:16px 14px}.BackgroundRemoval-module__rjj1pG__previewStage{height:clamp(360px,52svh,560px);min-height:360px}}@media (max-width:900px){.BackgroundRemoval-module__rjj1pG__workbench{grid-template-columns:190px minmax(0,1fr)}.BackgroundRemoval-module__rjj1pG__inspector{padding-inline:12px}.BackgroundRemoval-module__rjj1pG__previewStage{padding:16px}.BackgroundRemoval-module__rjj1pG__resultMedia{width:calc(100% - 36px);height:calc(100% - 36px);inset:18px}.BackgroundRemoval-module__rjj1pG__previewFooter{flex-wrap:wrap;padding-inline:12px}.BackgroundRemoval-module__rjj1pG__backgroundPicker>span{display:none}}@media (max-width:760px){.BackgroundRemoval-module__rjj1pG__backgroundRemoval{padding:16px 12px 28px}.BackgroundRemoval-module__rjj1pG__toolHeader{align-items:flex-start;gap:12px;margin-bottom:14px}.BackgroundRemoval-module__rjj1pG__toolHeader>div:first-child{display:block}.BackgroundRemoval-module__rjj1pG__toolHeader h1{margin-bottom:4px;font-size:21px}.BackgroundRemoval-module__rjj1pG__toolHeader p{max-width:215px;font-size:13px}.BackgroundRemoval-module__rjj1pG__toolCost{flex-wrap:wrap;justify-content:flex-end;max-width:118px;padding-top:4px;font-size:13px}.BackgroundRemoval-module__rjj1pG__allowanceNotice{gap:4px 12px;margin-bottom:14px}.BackgroundRemoval-module__rjj1pG__workbench{border-radius:11px;flex-direction:column;display:flex}.BackgroundRemoval-module__rjj1pG__inspector{border-right:0;border-bottom:1px solid var(--matting-border);grid-template-columns:minmax(0,1fr);gap:10px;padding:12px;display:grid}.BackgroundRemoval-module__rjj1pG__sectionHeading{display:none}.BackgroundRemoval-module__rjj1pG__dropzone{height:82px}.BackgroundRemoval-module__rjj1pG__dropzone:not(.BackgroundRemoval-module__rjj1pG__hasImage){text-align:left;grid-template-rows:auto auto;grid-template-columns:28px minmax(0,1fr) auto;gap:4px 8px;padding:12px;display:grid}.BackgroundRemoval-module__rjj1pG__dropzone:not(.BackgroundRemoval-module__rjj1pG__hasImage) .BackgroundRemoval-module__rjj1pG__uploadGlyph{grid-area:1/1/3;width:28px;height:28px}.BackgroundRemoval-module__rjj1pG__dropzone:not(.BackgroundRemoval-module__rjj1pG__hasImage)>strong{grid-area:1/2;align-self:end;margin:0}.BackgroundRemoval-module__rjj1pG__dropzone:not(.BackgroundRemoval-module__rjj1pG__hasImage)>small{grid-area:2/2;align-self:start}.BackgroundRemoval-module__rjj1pG__dropzone:not(.BackgroundRemoval-module__rjj1pG__hasImage) .BackgroundRemoval-module__rjj1pG__uploadCta{grid-area:1/3/3;min-height:38px;padding-inline:10px;font-size:13px}.BackgroundRemoval-module__rjj1pG__fileHint{margin:0}.BackgroundRemoval-module__rjj1pG__edgeOptions{border-top:0;margin:2px 0;padding-top:0}.BackgroundRemoval-module__rjj1pG__instruction textarea{font-size:16px}.BackgroundRemoval-module__rjj1pG__sourceFooter{margin-top:0}.BackgroundRemoval-module__rjj1pG__submit{min-height:43px}.BackgroundRemoval-module__rjj1pG__previewHeader{gap:10px;min-height:49px;padding-inline:17px}.BackgroundRemoval-module__rjj1pG__previewTabs{gap:16px}.BackgroundRemoval-module__rjj1pG__previewFormat{text-align:right;max-width:82px}.BackgroundRemoval-module__rjj1pG__previewStage{height:clamp(320px,46svh,420px);min-height:320px;padding:16px}.BackgroundRemoval-module__rjj1pG__previewStage.BackgroundRemoval-module__rjj1pG__comparisonStage{padding:12px}.BackgroundRemoval-module__rjj1pG__exampleLabel{bottom:20px;right:20px}.BackgroundRemoval-module__rjj1pG__resultMedia{width:calc(100% - 40px);height:calc(100% - 40px);inset:20px}.BackgroundRemoval-module__rjj1pG__emptyPreview h2{margin-top:14px;font-size:13px}.BackgroundRemoval-module__rjj1pG__previewFooter{flex-wrap:wrap;min-height:58px;padding-inline:17px}.BackgroundRemoval-module__rjj1pG__backgroundPicker>span{display:inline}.BackgroundRemoval-module__rjj1pG__history{margin-top:18px}.BackgroundRemoval-module__rjj1pG__backgroundHistoryGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}@media (max-width:580px){.BackgroundRemoval-module__rjj1pG__previewStage{height:clamp(260px,36svh,340px);min-height:260px}}@media (prefers-reduced-motion:reduce){.BackgroundRemoval-module__rjj1pG__backgroundRemoval *,.BackgroundRemoval-module__rjj1pG__backgroundRemoval :after{transition:none!important;animation:none!important}}@media (max-width:760px){.BackgroundRemoval-module__rjj1pG__backgroundRemoval{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}.BackgroundRemoval-module__rjj1pG__modelField select{min-height:44px;font-size:16px}.BackgroundRemoval-module__rjj1pG__allowanceNotice button,.BackgroundRemoval-module__rjj1pG__login,.BackgroundRemoval-module__rjj1pG__edgeOptions>summary,.BackgroundRemoval-module__rjj1pG__download,.BackgroundRemoval-module__rjj1pG__resultState button,.BackgroundRemoval-module__rjj1pG__history header button{min-height:40px}.BackgroundRemoval-module__rjj1pG__backgroundPicker button{width:40px;height:40px}.BackgroundRemoval-module__rjj1pG__backgroundPicker{flex-wrap:wrap}.BackgroundRemoval-module__rjj1pG__history>header,.BackgroundRemoval-module__rjj1pG__history>header>div{flex-wrap:wrap;min-width:0}}@media (max-width:420px){.BackgroundRemoval-module__rjj1pG__toolHeader{flex-wrap:wrap}.BackgroundRemoval-module__rjj1pG__toolHeader>div:first-child{flex:100%;min-width:0}.BackgroundRemoval-module__rjj1pG__toolHeader p{max-width:none}.BackgroundRemoval-module__rjj1pG__toolCost{justify-content:flex-start;max-width:100%;padding-top:0}.BackgroundRemoval-module__rjj1pG__previewFooter{gap:10px}.BackgroundRemoval-module__rjj1pG__download{justify-content:center;width:100%}}
.BackgroundRemovalToolWorkspace-module__KfiAaW__workspace{min-width:0}.BackgroundRemovalToolWorkspace-module__KfiAaW__modeSwitch{border:1px solid var(--uiedc-border,#e3e8f0);background:#f7f9fc;border-radius:9px;gap:4px;width:max-content;max-width:calc(100% - 48px);margin:18px 24px 0;padding:3px;display:flex}.BackgroundRemovalToolWorkspace-module__KfiAaW__modeSwitch button{min-height:34px;color:var(--uiedc-text-secondary,#475467);font:inherit;font-size:13px;font-weight:var(--uiedc-font-weight-medium,500);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 16px}.BackgroundRemovalToolWorkspace-module__KfiAaW__modeSwitch button[aria-pressed=true]{color:#2468f2;background:#fff;box-shadow:0 1px 3px #0f172a14}.BackgroundRemovalToolWorkspace-module__KfiAaW__modeSwitch button:focus-visible{outline-offset:2px;outline:2px solid #78a2f4}.BackgroundRemovalToolWorkspace-module__KfiAaW__hidden{display:none}@media (max-width:640px){.BackgroundRemovalToolWorkspace-module__KfiAaW__modeSwitch{max-width:calc(100% - 24px);margin:14px 12px 0}}@media (max-width:760px){.BackgroundRemovalToolWorkspace-module__KfiAaW__modeSwitch{flex-wrap:wrap;min-width:0}.BackgroundRemovalToolWorkspace-module__KfiAaW__modeSwitch button{min-height:40px}}
