#autoPaddingSection{border-top:1px solid #363636;padding-top:18px;margin-top:18px}.auto-padding-toggle{display:flex;align-items:center;gap:9px;font-size:13px;cursor:pointer}.auto-padding-toggle input{width:16px;height:16px;accent-color:#ddd}.auto-padding-copy{font-size:11px;color:#aaa!important;line-height:1.7;margin:9px 0 0}#autoPaddingOptions[hidden]{display:none!important}#autoPaddingOptions{margin-top:14px}.ux-margin-presets{display:flex;gap:6px}.ux-margin-presets button{flex:1;min-width:0;padding:9px 3px;border:1px solid #484848;background:#232323;color:#bbb;border-radius:6px;font-size:10px;cursor:pointer}.ux-margin-presets button.active{background:#eee!important;color:#161616!important;border-color:#eee}.ux-margin-demo{display:block;width:42px;height:37px;background:white;border:1px solid #ccc;margin:0 auto 7px;position:relative}.ux-margin-demo i{position:absolute;height:35%;top:32%;background:#474747;left:var(--gap);right:var(--gap);border-radius:70% 15% 15% 12%}.ux-margin-presets strong{font-weight:500}.ux-advanced{font-size:11px;color:#aaa;margin-top:14px}.ux-advanced summary{cursor:pointer}.ux-advanced label{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:12px}body.white-workbench-page .ux-advanced select{background:#252525!important;color:#eee!important;border:1px solid #484848!important;padding:7px;border-radius:5px;font-size:11px;max-width:160px}.ux-upload-guide{font-size:11px;color:#aaa;line-height:1.7;margin:0 0 12px}.ux-upload-guide strong{color:#ddd;font-weight:500}#uploadMissing{font-size:12px;line-height:1.65;background:#25211d;color:#e0bb89!important;padding:10px 12px;border-radius:5px;margin-bottom:12px}#uploadMissing.complete{background:#1e2921;color:#b8d2bd!important}.upload-slot.ux-missing{border-style:dashed!important;border-color:#777!important}.upload-slot.ux-missing .slot-title:after{content:' · 待上传';font-size:10px;color:#b1a08a;margin-left:4px}#orderSummary{font-size:12px;line-height:1.8;color:#ccc!important;margin:0 0 14px;padding:12px;background:#222;border-radius:6px}.ux-mobile-submit{display:none}.generate:disabled{opacity:.45;cursor:not-allowed}.ux-preview-note{font-size:11px;color:#aaa!important;line-height:1.6;margin:9px 0 0}.ux-preview-tools{display:flex;justify-content:flex-end;margin:0 0 10px}.ux-preview-tools button{border:1px solid #555;background:#222;color:#ccc;padding:6px 9px;border-radius:5px;font-size:11px;cursor:pointer}#previewPipeline{margin-bottom:14px;padding:13px;border:1px solid #494949;border-radius:6px;background:#222;color:#ccc;font-size:12px}#previewPipeline[hidden]{display:none!important}.ux-steps{display:flex;gap:12px;color:#888;font-size:11px;margin:10px 0}.ux-steps span:after{content:' →';padding-left:8px}.ux-steps span:last-child:after{content:''}#previewPipeline[data-stage=generating] .ux-steps span:nth-child(1),#previewPipeline[data-stage=processing] .ux-steps span:nth-child(2),#previewPipeline[data-stage=done] .ux-steps span:nth-child(3){color:#fff;font-weight:650}#previewPipeline[data-stage=failed]{border-color:#b77957}#previewPipeline button{background:#eee;color:#111;border:0;border-radius:5px;padding:7px 10px;font-size:11px;cursor:pointer}#previewPipeline button[hidden]{display:none!important}#previewPipeline small{color:#aaa;display:block;line-height:1.7}.ux-demo-result{display:flex;flex-direction:column;gap:8px;grid-column:span 2;text-decoration:none;color:#aaa;font-size:11px}.ux-demo-result img{width:100%;max-height:260px;object-fit:contain;background:#fff;border-radius:5px}.ux-demo-result span{line-height:1.6}body.white-workbench-page #sct-order-dock.collapsed{width:54px!important}
@media(max-width:780px){body.white-workbench-page .shell{padding-bottom:160px!important}.ux-mobile-submit{position:fixed;z-index:9998;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#191919;border-top:1px solid #444;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.ux-mobile-submit strong{font-size:15px;color:#eee}.ux-mobile-submit small{display:block;color:#999;font-size:10px;margin-top:4px}.ux-mobile-submit button{border:0;border-radius:6px;padding:13px 24px;background:#eee;color:#111;font-weight:650}.ux-mobile-submit button:disabled{opacity:.4}.ux-margin-demo{width:46px;height:40px}body.white-workbench-page #sct-order-dock{bottom:76px!important}#autoPaddingSection{grid-column:1/-1}}
body.white-workbench-page #uploadGrid .upload-slot{height:178px!important;min-height:0!important}
body.white-workbench-page #uploadGrid .upload-slot.primary.full-row{height:218px!important}
body.white-workbench-page #uploadGrid .slot-preview{position:absolute!important;inset:8px!important;width:calc(100% - 16px)!important;height:calc(100% - 42px)!important;object-fit:contain!important}
@media(max-width:900px){body.white-workbench-page #sct-order-dock,body.white-workbench-page #sct-order-dock.collapsed{width:auto!important;left:12px!important;right:12px!important;top:auto!important;bottom:76px!important}body.white-workbench-page #sct-order-dock:not(.open){height:46px!important;max-height:46px!important;overflow:hidden!important}}
@media(max-width:780px){body.white-workbench-page #uploadGrid .upload-slot{height:150px!important}body.white-workbench-page #uploadGrid .upload-slot.primary.full-row{height:185px!important}}

/* Same shoe and canvas: only margin changes between presets. */
.ux-margin-presets .ux-margin-demo{width:64px;max-width:100%;height:auto;aspect-ratio:1/1;box-sizing:border-box;border-radius:3px;overflow:hidden}
.ux-margin-presets .ux-margin-demo i{left:var(--gap);right:var(--gap);top:50%;height:auto;aspect-ratio:2/1;transform:translateY(-50%);border-radius:0;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20200%20100%22%3E%3Cpath%20d%3D%22M12%2066c8-6%2024-7%2038-11l30-28c4-4%209-4%2013-1l23%2015c10%206%2023%204%2032-1l13-15c3-4%209-2%2010%203l7%2028c2%207%2010%2011%2013%2018l-2%209H14c-7%200-10-11-2-17Z%22%20fill%3D%22%23363a3e%22%2F%3E%3Cpath%20d%3D%22M80%2027l24%2018-22%2020-35-9Z%22%20fill%3D%22%23666d74%22%2F%3E%3Cpath%20d%3D%22M119%2049c13%204%2026%200%2036-8l8%2022-48%207-16-5Z%22%20fill%3D%22%234e555c%22%2F%3E%3Cpath%20d%3D%22M9%2074c23%205%2044%206%2069%203l40-4%2070%201%203%207c1%205-3%209-9%209H19C11%2090%207%2083%209%2074Z%22%20fill%3D%22%23dedfe0%22%20stroke%3D%22%23363a3e%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M20%2083h32m10%200h29m11-1h34m10%200h31%22%20stroke%3D%22%2394999d%22%20stroke-width%3D%222%22%2F%3E%3Cpath%20d%3D%22m77%2037%2016%2010m-23-2%2016%209m-24-1%2015%208%22%20stroke%3D%22%23fafafa%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M18%2066c11-4%2021-5%2032-6m115-22%205%2016%22%20fill%3D%22none%22%20stroke%3D%22%237d858c%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
