.ps-module{--ps-accent:#7155e8;--ps-ink:#202536;--ps-muted:#7b8192;max-width:1540px;margin:0 auto;color:var(--ps-ink);font-family:inherit;padding:20px 12px 40px}.ps-module *{box-sizing:border-box}.ps-module button,.ps-module input,.ps-module textarea{font:inherit}.ps-module button,.ps-module a{transition:background .15s,border-color .15s,box-shadow .15s}.ps-module button{cursor:pointer}.ps-module button:disabled{opacity:.5;cursor:not-allowed}.ps-module :focus-visible{outline:3px solid #bcb0ff;outline-offset:3px}.ps-module h1,.ps-module h2,.ps-module h3,.ps-module p{margin:0}.ps-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:2px 0 24px}.ps-eyebrow{font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--ps-accent);margin-bottom:8px}.ps-page-header h1{font-size:32px;letter-spacing:-.035em;font-weight:750;line-height:1.2}.ps-page-header p{font-size:14px;color:var(--ps-muted);margin-top:9px}.ps-access{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #e1dcef;border-radius:20px;background:#f4f1ff;color:#75629e;font-size:11px;white-space:nowrap}.ps-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;border-bottom:1px solid #e3e6ee}.ps-tabs{display:flex;gap:25px}.ps-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:12px 0 14px;font-size:13px;color:var(--ps-muted);font-weight:600}.ps-tabs .is-active{color:var(--ps-accent);border-bottom-color:var(--ps-accent)}.ps-engine{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--ps-muted)}.ps-dot{width:6px;height:6px;border-radius:50%;background:#d0b76d}.ps-dot.is-ready{background:#42b88a;box-shadow:0 0 0 3px #42b88a13}.ps-workspace{display:grid;grid-template-columns:370px minmax(0,1fr);gap:22px;align-items:start}.ps-controls{border:1px solid #e5e7ee;background:white;border-radius:18px;overflow:hidden}.ps-modes{display:flex;background:#f4f5f9;margin:18px 18px 0;padding:4px;border-radius:10px;gap:2px}.ps-modes button{flex:1;padding:9px 2px;font-size:11px;font-weight:600;border:0;background:transparent;border-radius:7px;color:var(--ps-muted)}.ps-modes .is-active{background:white;color:var(--ps-accent);box-shadow:0 2px 6px #26234a0b}.ps-section{padding:21px 22px;border-bottom:1px solid #f0f1f5}.ps-section-title{display:flex;align-items:start;gap:10px;margin-bottom:16px}.ps-number{font-size:10px;color:#a4a8b5;letter-spacing:.03em;padding-top:3px}.ps-section h2{font-size:13px;font-weight:700;letter-spacing:-.01em}.ps-section-title p{font-size:11px;line-height:1.6;color:var(--ps-muted);margin-top:4px}.ps-dropzone{width:100%;display:flex;align-items:center;flex-direction:column;gap:7px;border:1.5px dashed #d9d2ed;border-radius:12px;background:#fbfaff;padding:20px 8px;color:#8c869c}.ps-dropzone:hover{background:#f2eeff;border-color:#a390ed}.ps-upload-icon{height:28px;width:28px;display:grid;place-items:center;background:#eeebfa;border-radius:8px;color:var(--ps-accent);font-size:22px}.ps-dropzone strong{font-size:12px;color:#635487}.ps-dropzone span:not(.ps-upload-icon){font-size:10px}.ps-dropzone small{font-size:9px;color:#aaa4b6}.ps-field{display:block;margin-top:14px}.ps-field>span,.ps-label{display:block;font-size:11px;font-weight:600;color:#646b7b;margin-bottom:7px}.ps-field textarea{display:block;width:100%;resize:vertical;min-height:58px;border:1px solid #e0e3ec;border-radius:9px;background:white;padding:10px 11px;font-size:12px;line-height:1.6;color:#363c4d}.ps-field textarea::placeholder{color:#a3a8b6}.ps-uploads{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ps-uploads:empty{display:none}.ps-upload-thumb{position:relative;aspect-ratio:3/4;background:#f5f5f8;border:1px solid #e5e7ee;border-radius:9px;overflow:hidden;margin-bottom:10px}.ps-upload-thumb img{width:100%;height:100%;object-fit:cover}.ps-upload-thumb span{position:absolute;bottom:0;left:0;right:0;background:#ffffffdf;font-size:8px;padding:4px;text-align:center}.ps-upload-thumb button{position:absolute;top:3px;right:3px;width:20px;height:20px;border:0;border-radius:50%;background:#ffffffed;color:#565667}.ps-preset-row,.ps-step-presets{display:flex;gap:6px;margin:9px 0 12px}.ps-preset-row button,.ps-step-presets button{font-size:10px;border:1px solid #e6e7f0;border-radius:6px;padding:5px 8px;background:white;color:#858292}.ps-step-presets button.is-active{background:#f2eeff;color:var(--ps-accent);border-color:#ded5ff}.ps-outline{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e1e3ed;border-radius:8px;background:white;color:#666d80;padding:9px 12px;text-decoration:none;font-size:11px;font-weight:600}.ps-full{width:100%}.ps-identity{display:flex;gap:10px;align-items:center;border:1px solid #e4dff4;border-radius:9px;padding:8px}.ps-identity img{height:42px;width:35px;object-fit:cover;border-radius:5px}.ps-identity strong{font-size:10px}.ps-identity p{font-size:9px;color:var(--ps-muted);margin-top:4px}.ps-identity button{margin-left:auto;border:0;background:none;color:#9892aa}.ps-backgrounds{display:flex;flex-wrap:wrap;gap:6px}.ps-backgrounds button{display:flex;align-items:center;gap:5px;border:1px solid #e5e6ed;background:white;border-radius:7px;font-size:10px;color:#7b7e8c;padding:7px 9px}.ps-backgrounds .is-active{border-color:#baa9f5;color:#6e53bf;background:#f8f5ff}.ps-swatch{display:inline-block;width:12px;height:12px;border:1px solid #00000012;border-radius:50%}.ps-pose-picker{margin-top:18px}.ps-poses{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.ps-poses label{display:flex;align-items:center;gap:7px;border:1px solid #e8e9ef;padding:8px 9px;border-radius:7px;font-size:11px;color:#757b8b;cursor:pointer}.ps-poses label.is-active{background:#f8f5ff;border-color:#dcd2fb;color:#7256b6}.ps-poses input{accent-color:var(--ps-accent);width:12px;height:12px}.ps-resolutions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ps-resolutions label{position:relative;display:flex;flex-direction:column;gap:5px;padding:12px 10px;border:1px solid #e6e8f0;border-radius:9px;cursor:pointer}.ps-resolutions label.is-active{border-color:#b6a2f1;background:#faf8ff;box-shadow:0 0 0 1px #cbbcf033}.ps-resolutions input{position:absolute;top:10px;right:8px;accent-color:var(--ps-accent);width:10px;height:10px}.ps-resolutions strong{font-size:10px;padding-right:10px;font-weight:650}.ps-resolutions span{font-size:10px;color:#9390a5}.ps-steps-label{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font-size:11px;font-weight:600;color:#646b7b}.ps-steps-label input{width:57px;border:1px solid #dddfea;border-radius:7px;padding:5px 6px;text-align:center;font-size:12px;color:var(--ps-accent)}.ps-slider{width:100%;accent-color:var(--ps-accent);margin:13px 0 0;height:4px}.ps-hint{font-size:10px;line-height:1.65;color:#9398a5}.ps-submit{padding:18px 22px;background:#fdfdff}.ps-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3def4;border-radius:9px;padding:10px 13px;background:#f6f3ff;color:#7557c9;text-decoration:none;font-size:11px;font-weight:650}.ps-primary{background:var(--ps-accent);border-color:var(--ps-accent);color:white;box-shadow:0 4px 12px #7155e825;min-height:43px;font-size:12px}.ps-primary:hover{background:#6043d6}.ps-submit p{text-align:center;font-size:9px;color:#a4a5b1;margin-top:10px}.ps-canvas{min-width:0;border:1px solid #e6e8ef;background:white;border-radius:18px;padding:24px;position:sticky;top:90px;min-height:720px}.ps-canvas-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:20px;border-bottom:1px solid #f0f1f6}.ps-canvas-header h2{font-size:15px;font-weight:650;letter-spacing:-.02em}.ps-canvas-header p{font-size:11px;color:#969bab;margin-top:5px}.ps-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:520px;padding:35px 12px;background:radial-gradient(ellipse at 50% 37%,#f5f2ff 0,transparent 55%)}.ps-empty-frame{width:175px;height:220px;position:relative;background:linear-gradient(145deg,#f5f2fd,#fcfbff);border-radius:7px;display:grid;place-items:center;margin-bottom:30px;transform:rotate(-3deg);box-shadow:14px 16px 0 -3px #f9f8fc,14px 16px 0 -2px #eeecf5}.ps-empty-camera{color:#baabd9;background:#ece5fa;height:64px;width:64px;border-radius:18px;display:grid;place-items:center;transform:rotate(3deg)}.ps-frame-corner{position:absolute;width:18px;height:18px;border-color:#cfc3e9;border-style:solid}.ps-tl{top:13px;left:13px;border-width:1px 0 0 1px}.ps-tr{top:13px;right:13px;border-width:1px 1px 0 0}.ps-bl{bottom:13px;left:13px;border-width:0 0 1px 1px}.ps-br{bottom:13px;right:13px;border-width:0 1px 1px 0}.ps-empty h3{font-size:16px;font-weight:600;color:#5e5874}.ps-empty>p{max-width:335px;font-size:12px;line-height:1.8;color:#9692a6;margin-top:10px}.ps-empty-specs{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:20px}.ps-empty-specs span{font-size:9px;color:#a19aaa;border:1px solid #eeebf2;background:#ffffffb0;border-radius:15px;padding:5px 8px}.ps-review-note{border-top:1px solid #f1f2f6;padding-top:17px;text-align:center;font-size:10px;line-height:1.7;color:#a0a4b3}.ps-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 0}.ps-result{border:1px solid #e9eaf0;border-radius:12px;overflow:hidden;min-width:0}.ps-result-image{padding:0;border:0;background:#f5f4f8;display:block;width:100%;overflow:hidden;aspect-ratio:3/4}.ps-result-image img{width:100%;height:100%;object-fit:contain;display:block}.ps-result-info{padding:12px}.ps-result-info strong{font-size:12px}.ps-result-info p{font-size:10px;color:#9b9aaa;margin-top:5px}.ps-result-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.ps-small{font-size:10px;padding:7px 10px}.ps-link{font-size:10px;color:#8c82a3;text-decoration:none}.ps-progress{margin-top:17px;background:#faf8ff;border:1px solid #e7dff9;border-radius:10px;padding:14px}.ps-progress-top{display:flex;align-items:center;gap:10px}.ps-progress strong{font-size:11px;color:#78649e}.ps-progress p{font-size:10px;color:#9b91ad;margin-top:5px}.ps-spinner{width:19px;height:19px;flex-shrink:0;border:2px solid #e6dff7;border-top-color:#9373d5;border-radius:50%;animation:ps-spin 1s linear infinite}.ps-cancel{margin-left:auto;border:1px solid #e7dce7;background:white;color:#a3778a;font-size:10px;padding:7px 9px;border-radius:6px}.ps-progress-track{height:3px;border-radius:5px;background:#ece6f7;overflow:hidden;margin:12px 0 7px}.ps-progress-track span{display:block;width:30%;height:100%;background:#b39bdc;animation:ps-slide 2s ease-in-out infinite}.ps-progress small{font-size:9px;color:#a59aae}.ps-error{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff2f3;border:1px solid #f7d4d8;color:#ac4b60;font-size:12px;line-height:1.6;padding:12px 16px;border-radius:10px;margin:0 0 16px}.ps-error button{border:0;background:transparent;color:inherit;font-size:20px}.ps-history{border:1px solid #e5e7ef;border-radius:18px;background:white;padding:24px}.ps-history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:22px}.ps-history-card{display:block;text-align:left;background:white;border:1px solid #e8e9f1;border-radius:12px;overflow:hidden;padding:0;min-width:0}.ps-history-card:hover{border-color:#baa9eb;box-shadow:0 5px 20px #4d3b7910}.ps-history-card>img,.ps-history-placeholder{width:100%;aspect-ratio:3/4;object-fit:cover;background:#f6f3fb}.ps-history-placeholder{display:grid;place-items:center;color:#c5b7df}.ps-history-body{padding:13px}.ps-history-body strong{font-size:11px}.ps-history-body p{font-size:10px;color:#9293a0;margin-top:9px}.ps-history-body>div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ps-status{padding:3px 6px;background:#f2f3f7;border-radius:5px;color:#9293a0;font-size:8px}.ps-status-completed{background:#eef9f2;color:#60a17c}.ps-status-running{background:#f3effd;color:#9777c6}.ps-status-failed{background:#fff0f2;color:#b56a79}.ps-lightbox{position:fixed;inset:0;background:#181326eF;z-index:120;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:40px 20px}.ps-lightbox>img{max-width:95vw;max-height:calc(100dvh - 140px);object-fit:contain;border-radius:8px}.ps-lightbox-close{position:absolute;top:10px;right:20px;border:0;background:none;color:white;font-size:32px}.ps-lightbox .ps-button{flex-shrink:0}@keyframes ps-spin{to{transform:rotate(360deg)}}@keyframes ps-slide{0%{transform:translateX(-100%)}100%{transform:translateX(430%)}}@media(min-width:1600px){.ps-workspace{grid-template-columns:390px minmax(0,1fr)}}@media(max-width:1000px){.ps-workspace{grid-template-columns:330px minmax(0,1fr);gap:14px}.ps-canvas{padding:18px}.ps-section{padding:19px 17px}.ps-result-grid{grid-template-columns:1fr}.ps-empty-specs{max-width:230px}.ps-history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:740px){.ps-module{padding:14px 0 28px}.ps-page-header{align-items:flex-start;gap:8px;padding-bottom:18px}.ps-page-header h1{font-size:26px}.ps-page-header p{max-width:230px;font-size:12px;line-height:1.7}.ps-access{font-size:8px;padding:6px 8px;margin-top:3px}.ps-lock{display:none}.ps-eyebrow{font-size:8px}.ps-engine{font-size:9px}.ps-tabs{gap:15px}.ps-tabs button{font-size:11px}.ps-workspace{grid-template-columns:1fr}.ps-controls{border-radius:14px}.ps-canvas{position:static;min-height:450px;border-radius:14px}.ps-empty{min-height:390px}.ps-empty-frame{width:130px;height:165px;margin-bottom:25px}.ps-empty h3{font-size:15px}.ps-empty>p{font-size:11px}.ps-canvas-header h2{font-size:13px}.ps-canvas-header p{font-size:10px}.ps-canvas-header .ps-outline{font-size:10px;padding:8px}.ps-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ps-result-info{padding:9px}.ps-result-actions{gap:7px;flex-wrap:wrap}.ps-result-actions .ps-button{font-size:9px;padding:6px}.ps-result-info strong{font-size:10px}.ps-result-info p{font-size:8px}.ps-progress-top{flex-wrap:wrap}.ps-cancel{margin-left:auto}.ps-history{padding:16px}.ps-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ps-history-body{padding:10px}.ps-history-body strong{font-size:10px}.ps-empty-specs{max-width:unset}}@media(prefers-reduced-motion:reduce){.ps-spinner,.ps-progress-track span{animation:none}}

.ps-progress-track.is-determinate span{animation:none;transition:width .25s ease}.ps-live-preview{margin:16px 0 0;border:1px solid #e6dff3;border-radius:10px;overflow:hidden;background:#f1edf7}.ps-preview-title{display:flex;justify-content:space-between;gap:10px;padding:11px 13px;background:#fff9}.ps-preview-title strong{font-size:11px}.ps-preview-title span{font-size:10px;color:#9485a9}.ps-live-preview img{display:block;height:360px;max-height:50vh;width:100%;object-fit:contain;background:radial-gradient(ellipse,#f7f4fc,#e8e1f1);image-rendering:auto}.ps-live-preview figcaption{font-size:10px;line-height:1.6;color:#9a8da9;padding:11px 13px;background:#fff9}@media(max-width:740px){.ps-live-preview img{height:300px}.ps-live-preview figcaption{font-size:9px}}

.ps-module .ps-generation-modes{margin-bottom:14px}.ps-module .ps-generation-modes label:has(input:disabled){opacity:.55;cursor:not-allowed}.ps-module .ps-turbo-note{padding:12px 14px;border-radius:12px;background:#f3f6fd;color:#526480;line-height:1.6}
