.to-studio{margin:28px 0 40px;padding:28px;border:1px solid #dfccef;border-radius:24px;background:linear-gradient(135deg,#fcf9ff,#f5eeff);color:#32253e}.to-heading h2{font-size:clamp(26px,3vw,35px);line-height:1.2;margin:10px 0 12px}.to-heading>p{font-size:18px;line-height:1.6;margin:0 0 24px;color:#6d587c}.to-inputs{border:0;padding:0;margin:0;min-width:0}.to-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.to-upload-card{min-width:0;background:#fff;border:1px solid #e1d1ee;border-radius:18px;padding:24px;display:flex;flex-direction:column}.to-card-title{display:flex;align-items:center;gap:12px}.to-card-title>span{flex-shrink:0;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f0e3ff;color:#7843b9;font-size:19px;font-weight:700}.to-card-title h3{font-size:24px;line-height:1.25;margin:0}.to-upload-card>p{font-size:17px;line-height:1.6;color:#6d597a;margin:15px 0 18px}.to-drop{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;min-height:200px;padding:24px 15px;box-sizing:border-box;border:2px dashed #c5a0e5;border-radius:15px;background:#fcf9ff;color:#7440ae;cursor:pointer;transition:background .15s,border-color .15s}.to-drop:hover,.to-drop.is-over{background:#f0e4ff;border-color:#7940b7}.to-drop>strong{font-size:19px;line-height:1.35}.to-drop>span:not(.to-upload-icon){font-size:15px;line-height:1.5;color:#765e88}.to-drop>small{font-size:13px;line-height:1.5;color:#877091}.to-upload-icon svg{width:48px;height:48px}.to-upload-card>.to-tip{font-size:15px;line-height:1.6;margin:15px 0 0}.to-person-preview{margin-bottom:14px;border:1px solid #e4d4ef;border-radius:13px;overflow:hidden;background:#f9f5fc}.to-person-preview>img{display:block;width:100%;height:320px;object-fit:contain}.to-person-preview>div{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;border-top:1px solid #e4d4ef}.to-person-preview>div>span,.to-items-preview article>span{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.4;color:#725782}.to-person-preview button,.to-items-preview button,.to-clear{flex-shrink:0;font:inherit;font-size:14px;min-height:38px;color:#75419f;border:0;background:transparent;padding:8px;cursor:pointer}.to-items-preview{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px}.to-items-preview article{min-width:0;display:flex;flex-direction:column;border:1px solid #e1d1ee;border-radius:12px;overflow:hidden;background:#faf7fd}.to-items-preview article>img{display:block;width:100%;height:155px;object-fit:contain}.to-items-preview article>span{padding:9px 10px 0}.to-items-preview article>button{align-self:flex-start;margin-top:auto;padding-inline:10px}.to-person-preview[hidden],.to-items-preview[hidden],.to-clear[hidden],.to-error[hidden]{display:none}.to-draft-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:14px}.to-draft-bar p{font-size:14px;line-height:1.5;color:#735b84;margin:0}.to-error{font-size:16px;line-height:1.5;color:#9a422b;background:#fff0e9;border:1px solid #edc0b0;padding:12px;border-radius:10px}.to-next{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;padding-top:22px;border-top:1px solid #ddc9ee}.to-next>div{max-width:610px}.to-next strong{display:block;font-size:19px;line-height:1.4}.to-next p{font-size:15px;line-height:1.6;color:#756080;margin:7px 0 0}.to-next .mk-button{flex-shrink:0;gap:14px;font-size:16px}.to-inputs:disabled .to-drop{opacity:.55;cursor:wait}.to-drop:focus-visible,.to-studio button:focus-visible{outline:3px solid #945dcc;outline-offset:3px}.to-studio[data-person=true] [data-to-drop=person]{min-height:135px}.to-studio:not([data-items="0"]) [data-to-drop=items]{min-height:135px}
@media(max-width:760px){.to-studio{padding:18px;margin-top:22px;border-radius:18px}.to-upload-grid{grid-template-columns:1fr;gap:18px}.to-upload-card{padding:18px}.to-card-title h3{font-size:22px}.to-heading>p{font-size:17px}.to-next{align-items:stretch;flex-direction:column;gap:15px}.to-next .mk-button{justify-content:space-between}.to-draft-bar{align-items:flex-start;flex-direction:column;gap:5px}.to-person-preview>div{align-items:flex-start;flex-direction:column;gap:3px}.to-person-preview>img{height:300px}}
@media(prefers-reduced-motion:reduce){.to-drop{transition:none}}
.to-studio [hidden]{display:none!important}.to-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.to-choice button,.to-model-examples button,.to-history button{font:inherit;font-size:16px;line-height:1.4;min-height:46px;border:1px solid #dac2ed;border-radius:12px;padding:10px 13px;background:#fff;color:#7440a7;cursor:pointer}.to-choice button[aria-pressed=true],.to-history button[aria-pressed=true]{background:#7944b7;color:#fff;border-color:#7944b7;box-shadow:0 4px 12px #7944b729}.to-upload-card>div>p{font-size:17px;line-height:1.6;color:#6d597a}.to-upload-card label:not(.to-drop){display:block;font-size:19px;font-weight:650;margin:8px 0 12px}.to-upload-card textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:155px;padding:15px;border:1px solid #cdb1e3;border-radius:12px;background:#fdfbff;font:inherit;font-size:17px;line-height:1.6;color:#382743}.to-upload-card textarea:focus{outline:3px solid #bc93df60;border-color:#8651b6}.to-model-mark{width:64px;height:64px;color:#8950bf;margin:7px 0 18px}.to-model-mark svg{width:100%;height:100%}.to-model-examples{display:flex;gap:8px;margin-top:10px}.to-model-examples button{font-size:14px}.to-next-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.to-next button:disabled{opacity:.55;cursor:not-allowed}.to-footnote{font-size:16px;line-height:1.6;color:#735d82}.to-result{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:24px;align-items:start}.to-result-photo{background:#f4edf9;border:1px solid #e0cfec;border-radius:18px;overflow:hidden}.to-result-photo>img{display:block;width:100%;max-height:76vh;object-fit:contain}.to-result-controls>button{margin:10px 0;white-space:normal}.to-history{display:flex;flex-wrap:wrap;gap:8px}.to-result-controls p{line-height:1.6}.sx-service[data-service=photo-tryon] .sx-service-image>span{position:static;display:flex;border-radius:0;justify-content:flex-end;background:#f5ecff;color:#62407e;padding:10px 16px}.to-page .av-hero-photo>img{height:auto;aspect-ratio:3/2;object-fit:contain}.to-page .av-hero-photo{background:#fb5d3b}@media(max-width:760px){.to-choice button{padding:10px 7px;font-size:16px}.to-result{grid-template-columns:1fr}.to-result-photo>img{max-height:65vh}.to-next-actions{width:100%}.to-next-actions .mk-button{justify-content:center}}

.to-instructions{margin:22px 0;padding:22px 24px;background:white;border:1px solid #dbc5ef;border-radius:18px}
.to-instructions label{display:block;margin:18px 0 10px;font-size:17px;font-weight:600;color:#49345e;line-height:1.5}
.to-instructions textarea{width:100%;min-height:110px;padding:15px;border:1px solid #cdb1e3;border-radius:12px;background:#fdfbff;color:#382743;font:inherit;font-size:17px;line-height:1.6;resize:vertical}
.to-instructions textarea:focus{outline:3px solid #bc93df60;border-color:#8651b6}
.to-instructions>p{margin:10px 0 0;font-size:14px;line-height:1.6;color:#796187}
.to-person-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;background:transparent}
.to-person-preview article{min-width:0;display:flex;flex-direction:column;border:1px solid #e1d1ee;border-radius:12px;overflow:hidden;background:#faf7fd}
.to-person-preview article>img{display:block;width:100%;height:155px;object-fit:contain}
.to-person-preview article>span,.to-items-preview article>span{font-size:12px;padding:4px 10px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#725782}
.to-person-preview article>strong,.to-items-preview article>strong{padding:10px 10px 0;font-size:14px;color:#70429a}
.to-person-preview article>button{align-self:flex-start;margin-top:auto;padding-inline:10px}
.to-confirm-instructions{padding:14px;border:1px solid #decbef;background:#faf5ff;border-radius:12px;margin:16px 0;overflow-wrap:anywhere}
.to-confirm-instructions p{margin:8px 0 0;white-space:pre-wrap;line-height:1.5}
@media(max-width:760px){.to-instructions{padding:18px}.to-instructions .to-card-title h3{font-size:22px}}

/* Shared upload steps stay aligned even when titles or tips wrap. */
@supports(grid-template-rows:subgrid){
 @media(min-width:761px){
  .to-upload-grid>.to-upload-card{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
  .to-upload-card>.to-card-title{grid-row:1}
  .to-upload-card>.to-choice{grid-row:2}
  .to-upload-card>:is([data-to-person-panel],[data-to-items-panel],[data-to-model-panel],[data-to-description-panel]){grid-row:3}
  .to-upload-grid:has([data-to-person-panel]:not([hidden])):has([data-to-items-panel]:not([hidden]))>.to-upload-card{grid-row:span 6}
  .to-upload-grid:has([data-to-person-panel]:not([hidden])):has([data-to-items-panel]:not([hidden])) .to-upload-card>:is([data-to-person-panel],[data-to-items-panel]){display:grid;grid-template-rows:subgrid;grid-row:3 / span 4;row-gap:0}
  .to-upload-card>:is([data-to-person-panel],[data-to-items-panel])>p:first-child{grid-row:1}
  .to-upload-card>:is([data-to-person-panel],[data-to-items-panel])>:is(.to-person-preview,.to-items-preview){grid-row:2;align-content:start}
  .to-upload-card>:is([data-to-person-panel],[data-to-items-panel])>.to-drop{grid-row:3;min-height:200px;margin:0}
  .to-upload-card>:is([data-to-person-panel],[data-to-items-panel])>.to-tip{grid-row:4}
 }
}

.to-recovery-note{margin:14px 0 18px;padding:14px 16px;background:#f5eefa;border:1px solid #dfcceb;border-radius:12px;color:#624d72}
.to-recovery-note p{font-size:15px;line-height:1.6;margin:0}
.to-recovery-note p+p{margin-top:8px;font-size:14px}
.to-previous-note{margin:0;padding:12px 16px;font-size:14px;line-height:1.5;color:#6d557c;background:#faf6fd;border-bottom:1px solid #e0cfec}

.to-content-note{margin:20px 0;padding:14px 17px;border:1px solid #e3d4ed;border-radius:12px;background:#faf7fd;color:#745d83}
.to-content-note strong{display:block;font-size:14px;line-height:1.5;color:#604473;margin-bottom:4px}
.to-content-note p{font-size:14px;line-height:1.6;margin:0}
.to-edit-form{margin:18px 0;padding:16px 0;border-top:1px solid #e0cfec;border-bottom:1px solid #e0cfec}.to-edit-form label{display:block;font-weight:650;margin-bottom:10px}.to-edit-form textarea{box-sizing:border-box;width:100%;resize:vertical;padding:12px;border:1px solid #cdb1e3;border-radius:12px;font:inherit;line-height:1.5;background:#fff}.to-edit-form .to-error{margin-bottom:0}.to-edit-form textarea:focus{outline:3px solid #bc93df60;border-color:#8651b6}
