/* Scoped to Remove Background; the generator/editor keep their existing styles. */
.background-studio{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:26px}
.background-studio .form-heading h2{margin:0}.background-studio .draft-status{font-size:12px;line-height:1.6;margin-bottom:24px}
.background-studio .upload{position:relative;min-height:240px;gap:14px;border-radius:18px;background:#f7f9f1;border:2px dashed #b3c49a;cursor:pointer;padding:28px 20px;text-align:center}
.background-studio .upload>span:first-child{display:grid;place-items:center;width:56px;height:56px;background:#e6edd9;border-radius:18px;color:#55743a;font-size:30px}
.background-studio .upload strong{font-size:17px;line-height:1.5}.background-studio .upload .hint{font-size:12px;color:#5c6656}
.background-studio .upload input{position:absolute;width:1px;height:1px;min-height:0;clip-path:inset(50%);overflow:hidden;border:0;padding:0}
.background-studio .upload:focus-within{outline:2px solid #789255;outline-offset:3px}.background-studio .upload.dragging{border-color:#668440;background:#eaf1dd}.background-studio .upload[aria-disabled=true]{opacity:.65;cursor:default}
.background-studio .source-gallery{margin-bottom:16px}.background-studio .source-gallery:empty{display:none}.background-studio .cost{margin-top:25px}.background-studio .balance-note{font-size:12px;line-height:1.7}
.background-studio #create{min-height:54px;font-size:16px}.background-studio #job-status{font-size:12px;line-height:1.6}.background-studio #job-status:empty{display:none}
.background-studio .background-canvas{padding:0;min-height:420px;border:1px solid var(--line);background:#f5f7ef;display:flex;flex-direction:column;justify-content:center;gap:14px}
.background-source{margin:0;width:100%}.background-source img{display:block;width:100%;max-height:520px;object-fit:contain}.background-source figcaption,.background-caption,.background-example>p{font-size:12px;line-height:1.7;color:var(--muted);padding:15px 18px;margin:0}
.background-example{width:100%}.background-example .home-cover-pair{display:grid;grid-template-columns:1fr 1fr;gap:2px}.background-example figure{position:relative;margin:0;min-width:0}.background-example img{display:block;width:100%;height:330px;object-fit:contain}.background-example figcaption{position:absolute;bottom:12px;left:12px;padding:6px 10px;background:#fff;border-radius:8px;font-size:12px;color:var(--dark)}
.background-studio .alpha-grid,.background-studio .cover-alpha{background-color:#fff;background-image:conic-gradient(#e0e5db 25%,transparent 0 50%,#e0e5db 0 75%,transparent 0);background-size:20px 20px}
.background-studio .result-full{width:100%;padding:14px;min-height:360px;box-sizing:border-box}.background-studio .result-full img{width:100%;max-height:560px;object-fit:contain}.background-studio .result-comparison{width:100%;gap:8px;padding:8px;box-sizing:border-box}.background-studio .comparison-pane{margin:0}.background-studio .comparison-pane>img{height:320px;object-fit:contain}
.background-studio .result-view-controls{flex-wrap:wrap;gap:6px;padding:12px 12px 0;margin:0}.background-studio .result-view-controls .chip{min-height:44px;font-size:12px;padding:10px 14px}
.background-feedback{padding:16px;border:1px solid #d7e3c6;border-radius:13px;background:#f0f5e7;margin-top:15px}.background-feedback strong{font-size:14px}.background-feedback p{font-size:12px;line-height:1.65;color:var(--muted)}.background-feedback progress{width:100%;height:6px;accent-color:#78914f}.background-feedback .button{min-height:44px;font-size:12px}.background-error{background:#fff7eb;border-color:#ead7b9}
.background-studio [hidden]{display:none!important}.background-studio .result-actions{gap:10px}.background-studio .result-actions .button{min-height:48px}.background-studio .result-actions .text-button{font-size:12px}
@media(max-width:1000px){.background-studio{gap:18px}.background-studio .panel{padding:23px}.background-example img{height:270px}}
@media(max-width:700px){.background-studio{grid-template-columns:minmax(0,1fr)}.background-studio .form-panel{grid-row:1}.background-studio .result-panel{grid-row:2;position:static}.background-studio .panel{padding:20px}.background-studio .upload{min-height:210px}.background-studio .upload strong{font-size:16px}.background-studio .background-canvas{min-height:290px}.background-example img{height:240px}.background-studio .comparison-pane>img{height:230px}.background-studio .result-full{min-height:300px}.background-studio #download,.background-studio #again{width:100%}.background-studio .result-actions{flex-direction:column;align-items:stretch}.background-studio .result-actions .text-button{align-self:center}}
