:is(#view-reproduction,#view-clone){--rp-purple:#7050ed;--rp-line:#e8e3f1;--rp-muted:#8f819f;--rp-green:#278365}
:is(#view-reproduction,#view-clone) .rp-workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}
:is(#view-reproduction,#view-clone) .rp-main{display:grid;gap:20px;min-width:0}
:is(#view-reproduction,#view-clone) .rp-panel{padding:26px;min-width:0;margin:0;background:#fff;border:1px solid var(--rp-line);border-radius:20px}
:is(#view-reproduction,#view-clone) .rp-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}
:is(#view-reproduction,#view-clone) .rp-heading h2{margin:0;font-size:19px}:is(#view-reproduction,#view-clone) .rp-heading>.muted{margin-left:auto;font-size:12px}
:is(#view-reproduction,#view-clone) .rp-step{display:grid;place-items:center;background:#f1ebfd;color:var(--rp-purple);width:32px;height:32px;border-radius:10px;font-size:14px;font-weight:600}
:is(#view-reproduction,#view-clone) .rp-tabs{display:flex;background:#f7f5fb;border-radius:12px;padding:5px;gap:4px;margin-bottom:20px}
:is(#view-reproduction,#view-clone) .rp-tabs button{flex:1;border:0;background:transparent;border-radius:9px;padding:13px 6px;color:#837490;font:inherit;font-size:14px;cursor:pointer}
:is(#view-reproduction,#view-clone) .rp-tabs button[aria-selected=true]{background:#fff;color:var(--rp-purple);box-shadow:0 2px 8px #3020440c}
:is(#view-reproduction,#view-clone) .rp-clips{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
:is(#view-reproduction,#view-clone) .rp-clip,:is(#view-reproduction,#view-clone) .rp-photo{padding:7px;text-align:left;border:2px solid var(--rp-line);border-radius:14px;background:#fff;color:inherit;min-width:0;cursor:pointer;font:inherit;overflow:hidden}
:is(#view-reproduction,#view-clone) .rp-clip[aria-pressed=true]{border-color:var(--rp-purple);background:#fbf9ff}
:is(#view-reproduction,#view-clone) .rp-clip img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block;background:#f0edf5}
:is(#view-reproduction,#view-clone) .rp-clip strong,:is(#view-reproduction,#view-clone) .rp-clip small{display:block;padding:6px 3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
:is(#view-reproduction,#view-clone) .rp-clip small{font-size:11px;color:var(--rp-muted);white-space:normal}
:is(#view-reproduction,#view-clone) .rp-transfer{margin-top:22px;padding:15px 16px;border-radius:12px;background:#f5f3fa;color:#80738e;font-size:13px}
:is(#view-reproduction,#view-clone) .rp-transfer.ready{background:#edf8f2;color:#287a5b}:is(#view-reproduction,#view-clone) .rp-transfer.failed{background:#fff0f1;color:#ab4c5b}
:is(#view-reproduction,#view-clone) .rp-drop{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px 16px;border:2px dashed #d6caed;border-radius:14px;background:radial-gradient(ellipse at center,#f8f5ff 0%,#fbfaff 70%);text-align:center;cursor:pointer;color:#9e95ae;transition:background .2s,border-color .2s}
:is(#view-reproduction,#view-clone) .rp-drop:hover,:is(#view-reproduction,#view-clone) .rp-drop.over{border-color:var(--rp-purple);background:#f1ebff}
:is(#view-reproduction,#view-clone) .rp-drop:focus-within{outline:3px solid #afa1ff;outline-offset:4px}
:is(#view-reproduction,#view-clone) .rp-drop .upload-illustration{display:block;width:104px;height:91px;margin-bottom:16px}
:is(#view-reproduction,#view-clone) .rp-drop .upload-illustration svg{display:block;width:100%;height:100%}
:is(#view-reproduction,#view-clone) .rp-drop strong{color:#222238;font-size:20px;font-weight:650}
:is(#view-reproduction,#view-clone) .rp-drop-description{margin-top:12px;font-size:16px;line-height:1.6}
:is(#view-reproduction,#view-clone) .rp-drop b{color:#8664cf;font-weight:550}
:is(#view-reproduction,#view-clone) .rp-drop small{margin-top:26px;color:#aaa1b9;font-size:13px;line-height:1.6}
:is(#view-reproduction,#view-clone) .rp-drop input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
:is(#view-reproduction,#view-clone) .rp-characters{display:flex;flex-wrap:wrap;gap:12px}
:is(#view-reproduction,#view-clone) .rp-person{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fff;border:1px solid var(--rp-line);border-radius:12px;color:inherit;text-align:left;font:inherit;cursor:pointer}
:is(#view-reproduction,#view-clone) .rp-person[aria-pressed=true]{border-color:var(--rp-purple);background:#faf7ff}:is(#view-reproduction,#view-clone) .rp-person img{width:40px;height:40px;object-fit:cover;border-radius:50%}:is(#view-reproduction,#view-clone) .rp-person small{display:block;color:var(--rp-muted);font-size:12px}
:is(#view-reproduction,#view-clone) .rp-photo-heading{display:flex;justify-content:space-between;gap:15px;margin:24px 0 12px;font-size:14px}:is(#view-reproduction,#view-clone) .rp-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}
:is(#view-reproduction,#view-clone) .rp-photo img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;display:block}:is(#view-reproduction,#view-clone) .rp-photo span{display:block;padding:7px 2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}:is(#view-reproduction,#view-clone) .rp-photo[aria-pressed=true]{border-color:var(--rp-green);background:#f2faf6}:is(#view-reproduction,#view-clone) .rp-photo[aria-pressed=true] span{color:var(--rp-green)}
:is(#view-reproduction,#view-clone) .rp-aside{display:grid;gap:18px;position:sticky;top:24px;min-width:0}
:is(#view-reproduction,#view-clone) .rp-aside h2{font-size:18px;margin:0 0 18px}:is(#view-reproduction,#view-clone) .rp-summary .button{width:100%}
#rp-summary-media{position:relative}#rp-preview{width:100%;max-height:200px;background:#211d2a;border-radius:12px;display:block}#rp-source-name{display:block;font-size:14px;margin:14px 0 4px;overflow-wrap:anywhere}#rp-source-detail{font-size:12px;color:var(--rp-muted)}
:is(#view-reproduction,#view-clone) .rp-lqp{position:absolute;right:8px;top:8px;border-radius:20px;padding:4px 8px;color:#fff;background:#30243dcc;font-size:10px}
:is(#view-reproduction,#view-clone) .rp-selected-photo{display:flex;align-items:center;gap:12px;margin:18px 0;padding-top:18px;border-top:1px solid #f2eef7;font-size:13px;color:var(--rp-muted)}:is(#view-reproduction,#view-clone) .rp-selected-photo img{width:42px;height:48px;border-radius:8px;object-fit:cover}
:is(#view-reproduction,#view-clone) .rp-checks{display:grid;gap:9px;font-size:12px;color:var(--rp-muted);margin:16px 0}:is(#view-reproduction,#view-clone) .rp-checks .ok{color:var(--rp-green)}:is(#view-reproduction,#view-clone) .rp-empty{padding:18px 0;color:var(--rp-muted);font-size:14px}
:is(#view-reproduction,#view-clone) .rp-queue-item{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid var(--rp-line)}:is(#view-reproduction,#view-clone) .rp-queue-item img{width:36px;height:44px;object-fit:cover;border-radius:7px}:is(#view-reproduction,#view-clone) .rp-queue-item strong{display:block;font-size:13px}:is(#view-reproduction,#view-clone) .rp-queue-item small{display:block;font-size:12px;color:var(--rp-muted);margin-top:5px}:is(#view-reproduction,#view-clone) .rp-queue-item p{font-size:12px;color:#ab4c5b}:is(#view-reproduction,#view-clone) .rp-queue-item button{font-size:12px}
#reproduction-workspace+section+#reproduction-jobs{margin-top:25px}:is(#view-reproduction,#view-clone) .rp-result{margin-top:20px}:is(#view-reproduction,#view-clone) .rp-result-heading{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:20px}:is(#view-reproduction,#view-clone) .rp-result-heading h3{margin:0;font-size:18px}:is(#view-reproduction,#view-clone) .rp-result-heading p{color:var(--rp-muted);font-size:12px;margin:8px 0 0}
:is(#view-reproduction,#view-clone) .rp-pair{display:grid;grid-template-columns:1fr 1fr;background:#211d2a;border-radius:14px 14px 0 0;overflow:hidden}:is(#view-reproduction,#view-clone) .rp-screen{position:relative;min-width:0}:is(#view-reproduction,#view-clone) .rp-screen+div{border-left:1px solid #fff1}:is(#view-reproduction,#view-clone) .rp-screen video{display:block;width:100%;height:350px;object-fit:contain}:is(#view-reproduction,#view-clone) .rp-screen span{position:absolute;top:12px;left:12px;background:#292336dd;color:#fff;padding:5px 9px;border-radius:7px;font-size:12px}
:is(#view-reproduction,#view-clone) .rp-player-bar{display:flex;align-items:center;gap:15px;padding:12px 16px;background:#f5f2fa;border-radius:0 0 14px 14px}:is(#view-reproduction,#view-clone) .rp-player-bar button{border:0;background:transparent;color:#635275;white-space:nowrap;font:inherit;font-size:13px;cursor:pointer}:is(#view-reproduction,#view-clone) .rp-player-bar input[type=range]{width:auto;min-width:0;flex:1;accent-color:var(--rp-purple);padding:0}:is(#view-reproduction,#view-clone) .rp-player-bar small{font-size:12px;color:var(--rp-muted);white-space:nowrap}:is(#view-reproduction,#view-clone) .rp-result-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;flex-wrap:wrap}:is(#view-reproduction,#view-clone) .rp-danger{color:#bb5b70}
:is(#view-reproduction,#view-clone) .rp-result .creator-help{font-size:12px;line-height:1.65;margin-top:14px}
@media(min-width:1400px){:is(#view-reproduction,#view-clone) .rp-workspace{grid-template-columns:minmax(0,1fr) 340px}:is(#view-reproduction,#view-clone) .rp-photos{grid-template-columns:repeat(auto-fill,minmax(135px,1fr))}}
@media(max-width:1000px){:is(#view-reproduction,#view-clone) .rp-workspace{grid-template-columns:minmax(0,1fr) 260px;gap:18px}:is(#view-reproduction,#view-clone) .rp-panel{padding:20px}}
@media(max-width:760px){:is(#view-reproduction,#view-clone) .rp-workspace{display:block}:is(#view-reproduction,#view-clone) .rp-aside{position:static;margin-top:20px}:is(#view-reproduction,#view-clone) .rp-panel{padding:18px}:is(#view-reproduction,#view-clone) .rp-clips{grid-template-columns:repeat(2,minmax(0,1fr))}:is(#view-reproduction,#view-clone) .rp-photos{grid-template-columns:repeat(3,minmax(0,1fr))}:is(#view-reproduction,#view-clone) .rp-tabs button{font-size:12px;min-height:44px}:is(#view-reproduction,#view-clone) .rp-screen video{height:240px}:is(#view-reproduction,#view-clone) .rp-player-bar{gap:8px;padding:10px 6px;flex-wrap:wrap}:is(#view-reproduction,#view-clone) .rp-player-bar button{min-height:44px}:is(#view-reproduction,#view-clone) .rp-result-heading{flex-wrap:wrap}:is(#view-reproduction,#view-clone) .rp-screen span{font-size:10px;left:5px;top:5px}}

:is(#view-reproduction,#view-clone) #rp-panel-link{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
:is(#view-reproduction,#view-clone) #rp-panel-link .field{width:100%;margin:0;gap:12px}
:is(#view-reproduction,#view-clone) #rp-panel-link .creator-help{margin:0;line-height:1.6}

:is(#view-reproduction,#view-clone) .rp-queue-item .rp-queue-status{display:flex;align-items:center;gap:6px}

#rp-subject-canvas{display:block;width:100%;height:auto;max-width:320px;touch-action:none;cursor:crosshair;border-radius:10px}#rp-subject-panel{margin:14px 0}#rp-subject-panel summary{cursor:pointer;font-weight:600}

#dgx-recovery-subject canvas{display:block;width:100%;max-width:240px;height:auto;touch-action:none;cursor:crosshair;border-radius:10px}#dgx-failure-dialog{width:640px;max-width:94vw;max-height:85dvh;overflow:auto}#dgx-failure-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}#dgx-failure-dialog p{overflow-wrap:anywhere}

:is(#view-reproduction,#view-clone) .rp-queue-content{flex:1;min-width:0;overflow-wrap:anywhere}
:is(#view-reproduction,#view-clone) .rp-queue-delete{margin-left:auto;flex-shrink:0}

#view-clone .clone-character-preview{border:0;padding:0;margin-top:20px;background:transparent}
#view-clone .clone-photo-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px;max-height:none}
#view-clone .clone-photo-option{width:auto;min-width:0}
#view-clone .clone-photo-option img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
#view-clone .clone-library-source{margin:0;border:0;background:transparent;padding:0}
#view-clone #clone-source-preview{width:100%;max-height:220px;object-fit:contain;border-radius:12px;background:#211d2a}
#view-clone .clone-library-source figcaption{display:flex;flex-wrap:wrap;gap:12px;overflow-wrap:anywhere}
#view-clone .clone-library-source strong{font-size:13px}
#view-clone #cw-panel-link .field{margin-bottom:16px}
#view-clone .clone-job{padding:16px;margin-top:12px;min-width:0;overflow-wrap:anywhere}
#view-clone .clone-job-heading{flex-wrap:wrap}
#view-clone .clone-job .button{margin:4px 0;white-space:normal}
#view-clone #clone-jobs{margin-top:20px}
#view-clone #clone-form{margin-bottom:32px}
