.compact-workspace{background:#f5f7f9;grid-template-columns:120px 300px minmax(0,1fr);gap:0;max-width:none;padding:0}.compact-workspace>.tool-rail,.compact-workspace>.editor-settings,.compact-workspace>.editor-preview{border:0;border-radius:0}.compact-workspace>.tool-rail,.compact-workspace>.editor-settings{border-right:1px solid #e8ebf0}.compact-workspace>.editor-settings{padding:26px 24px 0}.compact-workspace .source-upload{background:#fff;border:1px solid #e8ebf0;gap:12px;min-height:122px;padding:12px}.compact-workspace .source-upload>.source-thumbnail,.compact-workspace .image-loading{object-fit:contain;background:#f5f6f8;border-radius:6px;flex-shrink:0;width:84px;height:96px}.source-filename{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:500;display:block;overflow:hidden}.source-details{flex:1;min-width:0}.source-dimensions{color:#7b8493;font-variant-numeric:tabular-nums;margin:5px 0 12px;font-size:11px;display:block}.compact-workspace .source-upload .mx-button{color:#394457;white-space:nowrap;background:#fff;border:1px solid #dfe3e9;border-radius:6px;gap:6px;min-height:34px;margin:0;padding:7px 10px;font-size:12px}.compact-workspace .source-upload .mx-button:hover:not(:disabled){color:#d8490a;background:#fffaf7;border-color:#f45b16}.compact-workspace>.editor-preview{background:#f5f7f9;min-height:0;padding:22px 30px}.compact-workspace .preview-header{flex-wrap:wrap;flex-shrink:0;gap:12px}.compact-workspace .preview-header h2{font-size:20px}.compact-workspace .preview-replace{display:none}.compact-workspace .preview-stage{background:0 0;border-radius:0;flex:1;min-height:0;max-height:none;margin-top:20px;container-type:size}.compact-workspace .zoom-content{width:calc(min(100cqw, 100cqh * var(--image-ratio)) * var(--zoom))}.compact-workspace .compare-view{aspect-ratio:var(--image-ratio);border-radius:8px;max-height:none}.compact-workspace .single-preview>img,.compact-workspace .mask-image>img{border-radius:8px;max-height:none}.compact-workspace .compare-label{display:none}.compact-workspace .image-info{justify-content:center;gap:16px;margin:8px 0 0;font-size:10px}.compact-workspace .preview-caption{display:none}.compact-workspace .canvas-controls{background:#fff;border:1px solid #e3e7ee;border-radius:10px;flex-shrink:0;gap:0;margin:14px auto 0;padding:0;box-shadow:0 3px 12px #23334b08}.compact-workspace .canvas-controls>div,.compact-workspace .fit-button{background:0 0;border:0;border-radius:0}.compact-workspace .fit-inline{border-inline:1px solid #edf0f4;padding-inline:12px;font-size:13px}.compact-workspace .canvas-controls .history-controls:has(button:enabled){border-right:1px solid #edf0f4}.compact-workspace .history-controls:not(:has(button:enabled)){display:none}.compact-workspace .compare-toggle{white-space:nowrap;gap:10px;font-size:14px}@media (min-width:961px){.compact-workspace{height:calc(100dvh - 76px);min-height:0}.compact-workspace>.tool-rail{gap:8px;padding:10px 5px}.compact-workspace .tool-rail a{border-radius:8px;gap:7px;min-height:68px;padding:10px 0}.compact-workspace .tool-rail svg{width:23px;height:23px}.compact-workspace .tool-rail a span{font-size:11px}.compact-workspace>.editor-settings{padding:20px 18px 0}.compact-workspace .settings-top h1{font-size:21px}.compact-workspace .settings-top p{margin-bottom:14px;font-size:12px}.compact-workspace .source-meta{margin:6px 0 16px}.compact-workspace .style-grid{gap:8px}.compact-workspace .style-option>span:nth-child(2){padding:5px 0 3px;font-size:11px}.compact-workspace .selected-check{width:20px;height:20px;padding:2px}.compact-workspace .outfit-grid{gap:8px}.compact-workspace .outfit-option{gap:4px;padding:5px}.compact-workspace .garment-photo{aspect-ratio:1.15;width:82px;max-width:100%}.compact-workspace .outfit-option>span:last-of-type{padding:4px 0;font-size:11px}.compact-workspace .option-label{margin-top:18px}.compact-workspace .settings-bottom{border-top:1px solid #edf0f4;margin-inline:-18px;padding:14px 18px 12px;bottom:0}}@media (min-width:961px) and (max-width:1200px){.compact-workspace{grid-template-columns:120px 288px minmax(0,1fr)}.compact-workspace>.editor-preview{padding:20px}}@media (max-width:960px){.compact-workspace>.editor-preview{flex-shrink:0;height:520px;min-height:420px;padding:16px}.compact-workspace .preview-stage{min-height:230px}.compact-workspace .preview-replace{display:flex}.compact-workspace .compare-toggle{gap:5px;font-size:12px}.compact-workspace .preview-header>div{gap:8px}.compact-workspace .preview-header h2{font-size:17px}.compact-workspace .image-info>span:last-child{display:none}}.removal-options h3{margin-bottom:10px;font-size:13px;font-weight:600}.removal-options .brush-options{background:#f2f4f7;border:1px solid #ebedf1;border-radius:9px;gap:4px;padding:4px}.removal-options .brush-options button{color:#667085;background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:row;justify-content:center;gap:8px;min-height:36px;padding:7px 10px;font-size:13px}.removal-options .brush-options button.selected{color:#d8490a;background:#fff;box-shadow:0 1px 3px #1822300a;border-color:#e8eaf0!important}.brush-hint{color:#7b8493;margin:10px 0 24px;font-size:11px;line-height:1.6}.removal-options .option-label{margin:0 0 16px;font-size:13px;font-weight:600}.removal-options .option-label small{color:#596579;background:#f4f5f7;border-radius:4px;padding:2px 7px;font-size:12px}.removal-options .clear-selection{color:#667085;min-height:32px;box-shadow:none;background:0 0;border:0;margin:16px 0 22px;padding:4px 0;font-size:12px}.removal-options .clear-selection:hover{color:#d8490a}.removal-help{color:#7a8494;border-top:1px solid #edf0f3;padding-top:15px;font-size:12px;line-height:1.8}.removal-help summary{cursor:pointer;align-items:center;gap:7px;list-style:none;display:flex}.removal-help summary:after{content:"+";margin-left:auto;font-size:17px}.removal-help[open] summary:after{content:"−"}.removal-help summary::-webkit-details-marker{display:none}.removal-help p{margin:10px 0 0}.compact-workspace .generate-button{min-height:46px;box-shadow:none;background:#f45b16;border-color:#f45b16;border-radius:8px;font-size:15px}.compact-workspace .generate-button:hover:not(:disabled){background:#df4c0b}.compact-workspace .generate-button:disabled{background:#e5e7eb;border-color:#e5e7eb}.compact-workspace .generate-button svg{width:19px;height:19px}.background-heading{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.background-heading h3{margin:0;font-size:13px;font-weight:600}.background-heading>span{color:#8992a0;font-size:11px}.background-palette{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;display:grid}.palette-option{color:#778191;border-radius:5px;flex-direction:column;align-items:center;gap:8px;padding:3px 0 6px;font-size:10px;display:flex}.palette-swatch{background-size:10px 10px;border:1px solid #dfe3e9;border-radius:50%;place-items:center;width:30px;height:30px;transition:outline-color .15s;display:grid}.palette-option.is-active{color:#c8460d}.palette-option.is-active .palette-swatch{outline-offset:2px;outline:2px solid #f45b16}.palette-option:hover .palette-swatch{border-color:#a7b0bd}.cutout-custom-color{color:#505b6d;border-block:1px solid #edf0f3;align-items:center;gap:10px;margin-top:20px;padding:12px 0;font-size:12px;display:flex}.color-value{color:#9098a5;font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}.cutout-custom-color input{appearance:none;cursor:pointer;background:#fff;border:1px solid #e0e4ea;border-radius:6px;width:28px;height:28px;padding:3px}.cutout-custom-color input::-webkit-color-swatch-wrapper{padding:0}.cutout-custom-color input::-webkit-color-swatch{border:0;border-radius:3px}.cutout-local-note{color:#7c8797;align-items:center;gap:6px;margin:18px 0;font-size:11px;display:flex}.cutout-help{margin-top:24px}.outfit-selection{background:#fff;border:1px solid #e8eaee;border-radius:12px;gap:12px;padding:12px;display:grid}.selected-outfit-card{align-items:center;gap:10px;display:flex;overflow:hidden}.selected-outfit-photo{aspect-ratio:1;object-fit:contain;background:#f7f4ef;border-radius:8px;flex-shrink:0;width:72px;height:82px;display:block}.selected-outfit-caption{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:0;font-size:13px;line-height:1.4;display:flex}.outfit-selected-badge{color:#b83709;background:0 0;border-radius:999px;flex-shrink:0;align-items:center;gap:3px;padding:0;font-size:11px;display:inline-flex}.browse-outfits-button{background:#fff;border:1px solid #e0e4ea;border-radius:8px;justify-content:center;align-items:center;gap:6px;width:100%;min-height:40px;padding:8px 4px;font-size:11px;display:flex}.selected-outfit-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:500;overflow:hidden}.selected-outfit-caption small,.outfit-selection-hint{color:#758091;font-size:12px;line-height:1.5}.outfit-selection-hint{margin:0}.outfit-source-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.remove-outfit-button{color:#758091;border-radius:6px;flex-shrink:0;align-self:flex-start;place-items:center;width:28px;height:28px;display:grid}.remove-outfit-button:hover{color:#b83709;background:#fff0e8}.browse-outfits-button:hover{background:#fff8f4;border-color:#ce410d}.compact-workspace .outfit-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.compact-workspace .outfit-strip .outfit-option{background:#fff;border:1px solid #e8eaee;border-radius:12px;gap:4px;min-width:0;padding:6px}.compact-workspace .outfit-strip .outfit-photo{aspect-ratio:1;object-fit:contain;background:#f7f4ef;border-radius:8px;width:100%;height:auto;padding:0}.compact-workspace .outfit-strip .outfit-option.selected{background:#fff8f4;border-color:#ce410d;box-shadow:0 0 0 1px #ce410d}.compact-workspace .outfit-strip .outfit-option>span:last-of-type{white-space:normal;overflow-wrap:normal;letter-spacing:0;min-height:30px;padding:5px 2px;font-size:12px;line-height:1.35}.compact-workspace .outfit-strip .outfit-option:hover{border-color:#b6beca}.compact-workspace .outfit-strip .more-outfits-option{background:#fafafa;flex-direction:row;grid-column:1/-1;gap:8px;min-height:42px;padding:6px 12px}.compact-workspace .outfit-strip .more-outfits-icon{background:0 0;width:22px;height:22px;min-height:0;font-size:22px!important}.compact-workspace .garment-upload{border-radius:6px;min-height:36px;margin-top:18px;padding:8px;font-size:12px}.source-thumbnail{cursor:zoom-in;padding:0;position:relative;overflow:hidden}.source-thumbnail>img{object-fit:contain;width:100%;height:100%;display:block}.result-empty{text-align:center;color:#98a1af;padding:28px 12px}.result-empty>svg{margin:0 auto 16px}.result-empty h3{color:#637085;margin-bottom:8px;font-size:16px;font-weight:500}.result-empty p{font-size:12px;line-height:1.8}.result-empty button{color:#ce410d;margin-top:16px;padding:6px 12px;font-size:12px}.original-dialog{background:#fff;border:0;border-radius:12px;width:min(1000px,92vw);max-height:92dvh;margin:auto;padding:0;box-shadow:0 24px 80px #0003}.original-dialog::backdrop{background:#14202db3}.original-dialog-content header{border-bottom:1px solid #e9edf2;justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.original-dialog-content header span{color:#7c8797;margin-left:14px;font-size:12px}.original-dialog-content header button{border-radius:6px;padding:8px}.original-dialog-content>img{object-fit:contain;background:#f5f6f8;width:100%;height:min(76dvh,900px);padding:16px;display:block}.compact-workspace .tool-rail a span{white-space:nowrap;text-align:center;padding-inline:4px;line-height:1.3}.compact-workspace .style-option>span:nth-child(2){white-space:normal;min-height:36px;line-height:1.4}.compact-workspace .background-palette{grid-template-columns:repeat(3,minmax(0,1fr))}.compact-workspace .source-meta{flex-wrap:wrap;gap:4px 8px}.compact-workspace .preview-actions{flex-wrap:wrap;justify-content:flex-end;max-width:100%}@media (min-width:961px){.compact-workspace>.tool-rail{gap:5px;overflow-y:auto}.compact-workspace .tool-rail a{flex-shrink:0;gap:6px;min-height:68px;padding:10px 4px}.compact-workspace .tool-rail svg{width:23px;height:23px}.compact-workspace .tool-rail a span{font-size:12px;line-height:1.3}}@media (max-width:960px){.compact-workspace>.tool-rail{scrollbar-width:thin;justify-content:flex-start;width:100%;max-width:100%;overflow-x:auto}.compact-workspace .tool-rail a{flex-direction:column;flex:0 0 108px;min-height:74px}}.mobile-editor-title,.mobile-source-preview{display:none}@media (max-width:960px){.workspace-header .header-inner{gap:12px;height:60px;min-height:60px;padding-inline:16px}.workspace-header .brand small,.workspace-header .back-home,.workspace-header .account-menu summary>span:not(.avatar){display:none}.workspace-header .header-actions{gap:12px;margin-left:auto}.workspace-header .membership-link{white-space:nowrap;font-size:12px}.workspace-header .account-menu summary{min-height:44px}.compact-workspace{--mobile-nav-height:calc(76px + env(safe-area-inset-bottom,0px));min-height:calc(100dvh - 60px);padding:16px 12px calc(var(--mobile-nav-height) + 160px);background:#f3f4f7;gap:12px;display:flex}.compact-workspace .mobile-editor-title{order:0;align-items:center;gap:12px;padding:2px 4px 6px;display:flex}.mobile-editor-title>span{color:#c8460d;background:#fff0e8;border-radius:14px;flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.mobile-editor-title h1{font-size:19px;font-weight:700;line-height:1.3}.mobile-editor-title p{color:#667085;margin-top:4px;font-size:12px;line-height:1.5}.compact-workspace>.tool-rail{z-index:30;height:var(--mobile-nav-height);padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));scrollbar-width:none;overscroll-behavior-x:contain;background:#fff;border:0;border-top:1px solid #e8ebf0;flex-direction:row;align-items:stretch;gap:4px;display:flex;position:fixed;inset:auto 0 0}.compact-workspace .tool-rail a{border-radius:12px;flex:0 0 80px;gap:5px;min-height:0;padding:6px 2px}.compact-workspace .tool-rail a span{font-size:10px}.compact-workspace .tool-rail a.active{color:#ba3b08;background:#fff0e8;font-weight:650}.compact-workspace>.editor-preview{background:#fff;border-radius:20px;order:1;height:clamp(330px,53dvh,560px);min-height:330px;padding:12px;box-shadow:0 3px 16px #23334b05}.compact-workspace .preview-header{gap:8px}.compact-workspace .preview-header h2{font-size:14px}.compact-workspace .preview-actions{gap:6px}.compact-workspace .preview-actions>button{border-radius:12px;justify-content:center;width:44px;min-height:44px;padding:10px}.compact-workspace .preview-actions>button>span{display:none}.compact-workspace .preview-stage{background-color:#f7f8fa;border-radius:14px;min-height:120px;margin-top:10px}:is(.compact-workspace .preview-stage:has(.upload-empty) .zoom-content,.compact-workspace .preview-stage:has(.result-empty) .zoom-content){width:100%;height:100%}.compact-workspace .upload-empty{flex-direction:column;justify-content:center;align-items:center;gap:14px;height:100%;padding:20px 12px;display:flex}.compact-workspace .upload-empty h3{margin:0;font-size:15px}.compact-workspace .upload-empty>svg{width:32px;height:32px;margin:0}.compact-workspace .result-empty{height:100%;padding:8px}.compact-workspace .mobile-source-preview,.compact-workspace .mobile-source-preview img{object-fit:contain;border-radius:8px;width:100%;height:100%;margin:0;padding:0;display:block}.compact-workspace .result-empty>:not(.mobile-source-preview){display:none}.compact-workspace .canvas-controls{max-width:100%;margin-top:8px}.compact-workspace .canvas-controls button{min-width:36px;min-height:44px}.compact-workspace .canvas-controls>div{gap:0}.compact-workspace .fit-inline{padding-inline:8px;font-size:12px}.compact-workspace>.editor-settings{background:#fff;border:0;border-radius:20px;order:2;padding:16px}.compact-workspace .settings-top{display:none}.compact-workspace .mobile-options-toggle{align-items:center;min-height:44px;padding:0}.compact-workspace input:not([type=range],[type=checkbox],[type=color]),.compact-workspace textarea,.compact-workspace select{font-size:16px}.compact-workspace .options-fieldset{min-width:0;margin-top:12px}.compact-workspace .settings-bottom{bottom:var(--mobile-nav-height);border-top:1px solid #edf0f4;border-radius:18px 18px 0 0;padding:10px 16px}.compact-workspace .generate-button{border-radius:14px;min-height:48px}.compact-workspace .settings-bottom .editor-error,.compact-workspace .settings-bottom .editor-notice{max-height:96px;margin-bottom:8px;overflow-y:auto}.compact-workspace .style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compact-workspace .background-palette{grid-template-columns:repeat(6,minmax(0,1fr))}.compact-workspace .palette-option,.compact-workspace .brush-options button{min-height:44px}.compact-workspace .processing-overlay{text-align:center;padding:16px;overflow-y:auto}}.guest-editor-note{color:#667085;text-align:center;margin:0 0 8px;font-size:12px;line-height:1.5}.editor-credit-cost{text-align:center;color:#344054;margin:0 0 8px;font-size:12px;font-weight:600}.editor-balance{color:#475467;background:#f9fafb;border:1px solid #e4e7ec;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;margin-bottom:12px;padding:12px;font-size:12px;line-height:1.5;display:flex}.editor-balance p{color:#9a3412;flex-basis:100%;margin:0}.editor-balance button{color:#344054;cursor:pointer;background:0 0;border:0;text-decoration:underline}
