/* Background Remover workspace, scoped away from the shared site header. */
.bg-workspace.bg-has-image{height:100dvh;overflow:hidden}.bg-has-image>.ant-seo-guide,.bg-has-image>.ant-seo-content,.bg-has-image>footer{display:none}.bg-workspace .bg-app{overflow-anchor:none}.bg-workspace .bg-panel{overflow-anchor:none}
.bg-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-bottom:1px solid var(--ant-line);background:var(--ant-surface);flex-shrink:0}
.bg-workspace-heading h1{font-size:16px;line-height:1.3;letter-spacing:-.02em;margin:4px 0 0}.bg-workspace-heading .bg-eyebrow{font-size:9px;letter-spacing:.14em}.bg-heading-actions{display:flex;align-items:center;gap:8px}.bg-heading-actions button{min-height:40px;padding:9px 16px;border-radius:9px;font-size:12px;white-space:nowrap}.bg-secondary{border:1px solid var(--ant-line);color:var(--ant-ink);background:var(--ant-soft);cursor:pointer}.bg-heading-actions #studioDownload{display:flex;gap:8px;align-items:center}.bg-heading-actions #studioDownload svg{width:16px;height:16px}
.bg-workspace .bg-viewbar{height:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0;overflow:hidden}.bg-top-tools{width:100%;min-width:0;justify-content:center;gap:4px;margin:0;padding:7px 12px;overflow-x:auto;flex-shrink:0}.bg-workspace .bg-top-action{width:68px;min-width:58px;height:57px;flex-shrink:0;gap:6px;font-size:10px}.bg-top-action svg{width:21px;height:21px}.bg-viewbar>.bg-previewbar{position:static;inset:auto;width:100%;height:40px;min-height:40px;pointer-events:auto;padding:5px 12px;border-top:1px solid var(--ant-line)}
.bg-layout{grid-template-columns:58px minmax(0,1fr) 304px}.bg-panel{min-width:0}.bg-panel-title{padding:16px}.bg-panel-title h2{font-size:14px}.bg-panel-title>p{margin-top:5px}.bg-close-panel{display:none}.bg-panel-download{display:none}.bg-panel-foot{position:static}.bg-workspace .bg-panel-section{padding:14px!important;border-radius:12px}.bg-workspace .bg-panel-section h3{font-size:12px}.bg-panel-section input[type=range]{accent-color:#168bff}.bg-framing #studioFitSubject{background:#0081fb1c;border-color:#0081fb70;color:#69b7ff}.bg-framing .bg-two-fields button{font-size:11px}
.bg-look-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bg-panel-section .bg-look-grid button{margin:0;padding:8px;border:1px solid var(--ant-line);border-radius:9px;background:var(--ant-soft);font-size:10px;display:flex;align-items:center;gap:7px;text-align:left}.bg-look-grid i{display:block;width:28px;height:32px;border-radius:5px;flex-shrink:0;position:relative;overflow:hidden}.bg-look-grid i:after{content:'';position:absolute;bottom:4px;left:8px;width:12px;height:20px;border-radius:6px 6px 3px 3px;background:#459eff;box-shadow:2px 3px 5px #0003}.look-clean{background:#fff}.look-studio{background:#f3eee7}.look-social{background:linear-gradient(135deg,#6366f1,#f9a8d4)}.look-blur{background:linear-gradient(25deg,#6ba191,#a9c9df,#d5c2a4)}
.bg-workspace:not(.bg-has-image) .bg-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:'canvas'}.bg-workspace:not(.bg-has-image) .bg-toolrail,.bg-workspace:not(.bg-has-image) .bg-panel,.bg-workspace:not(.bg-has-image) .bg-viewbar{display:none}.bg-workspace:not(.bg-has-image) #studioDownload{display:none}.bg-workspace:not(.bg-has-image) .bg-statusbar{display:none}.bg-workspace:not(.bg-has-image) .bg-viewport{touch-action:pan-y;background:radial-gradient(ellipse at 50% 40%,#15345066,transparent 65%),var(--ant-bg)}
.bg-welcome{max-width:900px;padding:30px 24px;gap:0}.bg-welcome h2{font-size:clamp(34px,4.5vw,64px);line-height:1.08;letter-spacing:-.045em;margin:20px 0 18px}.bg-welcome h2 span{color:#359bff}.bg-welcome>p{font-size:13px;line-height:1.8;margin-bottom:24px}.bg-drop{min-height:168px;max-width:470px;gap:9px;background:#122237b3;box-shadow:0 16px 50px #0002;border-radius:18px}.bg-drop>strong{font-size:15px}.bg-drop>span{display:inline-block;border-radius:8px;background:#0081fb;color:white;padding:10px 20px;font-size:12px;font-weight:650}.bg-drop>small{font-size:10px}.bg-drop>svg{width:27px;height:27px}.bg-welcome-steps{display:flex;gap:24px;margin-top:26px;font-size:11px;color:var(--ant-muted)}.bg-welcome-steps span{display:flex;align-items:center;gap:7px}.bg-welcome-steps b{display:grid;place-items:center;width:22px;height:22px;background:#0081fb20;color:#69b7ff;border-radius:50%;font-size:10px}.bg-welcome-pills{margin-top:22px;font-size:10px;opacity:.75}
.bg-export-dialog .bg-checkbox{font-size:12px}.bg-export-dialog input[type=color]{width:50px;height:38px}.bg-export-dialog input[type=range]{width:100%;accent-color:#0081fb}.bg-export-summary{padding:12px;border:1px solid var(--ant-line);background:var(--ant-soft);border-radius:8px;color:var(--ant-ink);font-size:12px;line-height:1.6;margin:18px 0}.bg-export-dialog #studioSaveExport{width:100%;min-height:44px;justify-content:center}.bg-export-dialog #studioExportError{font-size:12px;color:#ff9393}.bg-workspace :is(button,select,input):focus-visible{outline:2px solid #52adff;outline-offset:2px}.bg-workspace button:disabled{cursor:not-allowed}.bg-export-dialog{max-height:90dvh;overflow:auto}
@media(min-width:1600px){.bg-layout{grid-template-columns:62px minmax(0,1fr) 320px}}
@media(min-width:761px) and (max-width:1050px){.bg-layout{grid-template-columns:50px minmax(0,1fr) 270px}.bg-workspace-heading{padding:12px}.bg-top-tools{justify-content:flex-start}.bg-top-action svg{width:19px;height:19px}}
@media(max-width:760px){
 .bg-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;grid-template-areas:'canvas' 'inspector' 'tools'}
 .bg-main{min-height:0}.bg-workspace-heading{padding:9px 12px;gap:8px}.bg-workspace-heading h1{font-size:13px;margin:0}.bg-workspace-heading .bg-eyebrow{display:none}.bg-heading-actions{gap:6px}.bg-heading-actions button{min-height:38px;padding:8px 12px;font-size:11px}.bg-heading-actions #studioDownload{gap:5px}.bg-heading-actions #studioDownload svg{width:14px;height:14px}
 .bg-top-tools{justify-content:flex-start;padding:4px 8px;gap:2px}.bg-workspace .bg-top-action{width:59px;min-width:59px;height:48px;font-size:9px;gap:4px}.bg-top-action svg{width:18px;height:18px}.bg-viewbar>.bg-previewbar{height:39px;min-height:39px;padding:4px 9px}.bg-viewbar .bg-view-switch button{font-size:10px;min-height:30px;padding:5px 8px}.bg-viewbar .bg-view-actions button{min-width:30px;min-height:30px}.bg-viewbar .bg-view-actions>span{font-size:10px;min-width:34px}
 .bg-toolrail{flex-direction:row;justify-content:center;align-items:center;gap:4px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--ant-line);overflow-x:auto;overflow-y:hidden;height:auto;min-height:61px;flex-shrink:0}.bg-toolrail>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:43px;width:43px;height:48px;margin:0;padding:5px 2px;flex-shrink:0;border-radius:9px}.bg-toolrail>button svg{width:19px;height:19px}.bg-toolrail .bg-tooltip{display:block!important;position:static;inset:auto;transform:none;padding:0;border:0;box-shadow:none;background:none;color:inherit;white-space:nowrap;opacity:1;visibility:visible;pointer-events:none;font-size:8px;line-height:1.2;max-width:42px;overflow:hidden;text-overflow:clip}.bg-toolrail .bg-tooltip:after{display:none}.bg-rail-divider,.bg-toolrail [data-studio-tool^=zoom],.bg-toolrail [data-studio-tool=fit]{display:none}
 .bg-panel{position:relative;display:flex;flex-direction:column;grid-row:auto;grid-column:auto;height:51px;min-height:51px;max-height:48dvh;overflow:hidden;border:0;border-top:1px solid var(--ant-line);padding:0;background:var(--ant-surface)}.bg-inspector-tabs{position:relative;top:auto;order:0;min-height:39px;margin:6px 9px;padding:3px;gap:3px}.bg-inspector-tabs button{min-height:32px;padding:6px;font-size:11px}.bg-panel>[role=tabpanel]{display:none;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:0 0 8px;scroll-padding:12px}.bg-panel-title,.bg-panel-foot{display:none}.bg-inspector-open .bg-panel{height:42dvh;min-height:150px}.bg-inspector-open .bg-panel>[role=tabpanel]:not([hidden]){display:block;flex-shrink:1}.bg-inspector-open .bg-inspector-tabs{margin-right:72px}.bg-inspector-open .bg-close-panel{display:block;position:absolute;top:8px;right:9px;z-index:12;height:35px;width:57px;font-size:11px;border:0;border-radius:7px;background:#0081fb20;color:#72bdff;cursor:pointer}.bg-workspace .bg-panel-section{margin:0 10px 10px;padding:13px!important;flex-shrink:0}.bg-panel-section input[type=range]{min-height:30px}.bg-panel-section select,.bg-panel-section button{min-height:40px}.bg-panel-section input[type=checkbox]{width:17px;height:17px}.bg-panel-section label{font-size:12px}
 .bg-workspace #studioEditor{padding:20px;min-height:100%}.bg-statusbar{min-height:26px;padding:4px 10px;font-size:9px}.bg-statusbar>span:last-child{display:none}.bg-welcome{padding:24px 18px}.bg-welcome>.bg-eyebrow{font-size:9px}.bg-welcome h2{font-size:36px;margin:18px 0 14px}.bg-welcome>p{font-size:12px;margin-bottom:20px}.bg-drop{min-height:175px;padding:15px;width:100%}.bg-welcome-steps{gap:12px;margin-top:22px;font-size:9px}.bg-welcome-steps span{gap:5px}.bg-welcome-steps b{width:18px;height:18px}.bg-welcome-pills{flex-wrap:wrap;justify-content:center;gap:10px;font-size:9px;margin-top:20px}.bg-resize-dialog{max-width:calc(100vw - 24px);padding:20px;border-radius:16px}.bg-workspace:not(.bg-has-image) .bg-layout{grid-template-rows:minmax(0,1fr)}
}
@media(max-height:550px) and (max-width:950px){.bg-workspace-heading{padding-block:5px}.bg-top-tools{display:none}.bg-workspace .bg-viewbar{min-height:0}.bg-welcome{padding:12px}.bg-welcome h2{font-size:28px;margin:10px 0}.bg-welcome>p{margin-bottom:10px}.bg-drop{min-height:125px}.bg-welcome-steps,.bg-welcome-pills{display:none}.bg-inspector-open .bg-panel{height:40dvh}.bg-toolrail{min-height:46px;padding-block:2px}.bg-toolrail>button{height:42px}}
@media(max-width:760px){
 .bg-top-tools{justify-content:center;scrollbar-width:none}.bg-top-tools::-webkit-scrollbar{display:none}.bg-top-tools [data-studio-tool=text],.bg-top-tools [data-studio-tool=background]{display:none}
 .bg-has-image .ant-buddy-tip{display:none!important}.bg-has-image .ant-buddy{display:none}.bg-toolrail{scrollbar-width:none}.bg-toolrail::-webkit-scrollbar{display:none}
}
@media(max-height:550px) and (max-width:950px){
 .bg-top-tools{display:flex;padding:2px 6px;gap:1px}.bg-workspace .bg-top-action{height:37px;width:48px;min-width:42px;font-size:8px;gap:3px}.bg-top-action svg{width:16px;height:16px}
}
@media(max-height:550px) and (max-width:760px){
 .bg-layout{grid-template-columns:44px minmax(0,1fr) 230px;grid-template-rows:minmax(0,1fr);grid-template-areas:'tools canvas inspector'}
 .bg-panel,.bg-inspector-open .bg-panel{height:100%;max-height:100%;min-height:0;border-top:0;border-left:1px solid var(--ant-line)}.bg-panel>[role=tabpanel]:not([hidden]){display:block;flex-shrink:1}.bg-inspector-tabs,.bg-inspector-open .bg-inspector-tabs{margin:5px;gap:0;min-height:34px}.bg-inspector-tabs button{font-size:9px;padding:3px;min-height:28px}.bg-inspector-open .bg-close-panel{display:none}
 .bg-toolrail{flex-direction:column;justify-content:flex-start;padding:5px 2px;gap:2px;border-top:0;border-right:1px solid var(--ant-line);height:100%;min-height:0;overflow-y:auto;overflow-x:hidden}.bg-toolrail>button{width:36px;min-width:36px;height:36px;min-height:36px}.bg-toolrail .bg-tooltip{display:none!important}.bg-workspace-heading{padding:5px 8px}.bg-workspace-heading h1{font-size:11px}.bg-heading-actions button{min-height:31px;padding:5px 8px;font-size:9px}.bg-heading-actions #studioNewImage{font-size:0;width:30px}.bg-heading-actions #studioNewImage:after{content:'+';font-size:20px}.bg-workspace .bg-panel-section{margin:0 6px 8px;padding:10px!important}.bg-viewbar .bg-view-switch button{font-size:8px;padding:4px}.bg-viewbar>.bg-previewbar{padding:3px 5px;min-height:32px;height:32px}.bg-viewbar .bg-view-actions{gap:0}.bg-viewbar .bg-view-actions button{min-width:23px;min-height:26px}.bg-viewbar .bg-view-actions>span{min-width:27px;font-size:8px}
 .bg-workspace:not(.bg-has-image) .bg-layout{grid-template-columns:1fr;grid-template-areas:'canvas'}
}
@media(prefers-reduced-motion:reduce){.bg-workspace *{scroll-behavior:auto!important}}

.bg-batch-link{display:inline-block;margin-top:18px;font-size:11px;color:#8ebde9;text-decoration:none}.bg-batch-link:hover{color:#fff;text-decoration:underline}
.bg-welcome-options{width:min(100%,470px);margin-top:15px;text-align:left;border:1px solid var(--ant-line);border-radius:10px;background:var(--ant-surface);font-size:11px}.bg-welcome-options summary{cursor:pointer;padding:12px;color:var(--ant-muted)}.bg-welcome-options .bg-two-fields{padding:0 12px;gap:10px}.bg-welcome-options label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:var(--ant-muted)}.bg-welcome-options select{min-width:0;width:100%;min-height:38px;border-radius:7px;border:1px solid var(--ant-line);background:var(--ant-bg);color:var(--ant-ink);padding:7px;font-size:10px}.bg-welcome-options p{font-size:10px;color:var(--ant-muted);line-height:1.6;padding:0 12px;margin-bottom:12px}.bg-workspace .bg-viewport{scrollbar-width:none}.bg-workspace .bg-viewport::-webkit-scrollbar{display:none}
@media(max-height:550px){.bg-batch-link{margin-top:8px;font-size:10px}}
