.cm-workspace{min-width:0}.cm-workspace p{margin:0}.cm-tool-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.cm-tool-intro h2{font-size:24px;margin-bottom:8px}.cm-tool-intro p{color:var(--text-2);font-size:13px;max-width:650px}.cm-tool-intro>.badge{margin-top:5px}.cm-upload-wrap{position:relative}.cm-upload{width:100%;padding:30px 20px;border:1.5px dashed var(--border-strong);border-radius:18px;background:var(--bg-soft);display:flex;align-items:center;flex-direction:column;gap:7px;text-align:center;transition:background .15s,border-color .15s;color:var(--text-2)}.cm-upload:hover,.cm-upload.cm-dragging{background:var(--primary-soft);border-color:var(--primary)}.cm-upload:disabled{cursor:wait;opacity:.55}.cm-upload strong{font-size:15px;color:var(--text)}.cm-upload small{font-size:11px;color:var(--text-3)}.cm-upload-icon{display:grid;place-items:center;width:38px;height:38px;background:var(--bg-elev);border:1px solid var(--border);border-radius:12px;color:var(--primary-text);font-size:23px;font-weight:500;margin-bottom:4px}.cm-file-meta{font-size:12px;color:var(--text-3);padding:12px 0!important;overflow-wrap:anywhere}.cm-image-compare{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:12px 0 22px}.cm-image-compare figure{margin:0;min-width:0}.cm-image-compare figcaption{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:650;color:var(--text-2);margin:0 0 8px}.cm-image-stage{height:340px;position:relative;border:1px solid var(--border);border-radius:16px;background:var(--bg-soft);overflow:hidden;display:grid;place-items:center;padding:18px}.cm-image{max-width:100%;max-height:302px;object-fit:contain;display:block}.cm-checker{background-color:#f2f2f4;background-image:linear-gradient(45deg,#dddde4 25%,transparent 25%),linear-gradient(-45deg,#dddde4 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dddde4 75%),linear-gradient(-45deg,transparent 75%,#dddde4 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.cm-image-wait{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:30px;text-align:center;color:#5a5b71;font-size:13px;background:rgba(245,245,249,.6)}.cm-spark{font-size:55px;line-height:1;color:#795bdf}.cm-run-row{display:flex;align-items:center;gap:22px;margin-top:20px}.cm-run-row>p{font-size:11px;color:var(--text-3);max-width:360px}.cm-status{padding:20px;border:1px solid var(--border);background:var(--bg-soft);border-radius:15px;margin-top:20px;font-size:13px;display:flex;flex-direction:column;gap:9px}.cm-status-line{display:flex;align-items:center;gap:10px}.cm-status progress{width:100%;height:6px;border:0;border-radius:10px;overflow:hidden;accent-color:var(--primary);margin-top:7px}.cm-status progress::-webkit-progress-bar{background:var(--border);border-radius:10px}.cm-status progress::-webkit-progress-value{background:var(--gradient);border-radius:10px}.cm-spinner{width:15px;height:15px;border:2px solid var(--border-strong);border-top-color:var(--primary);border-radius:50%;animation:cm-spin .8s linear infinite}.cm-error{background:var(--danger-soft);color:var(--danger);border-color:transparent}.cm-error span{overflow-wrap:anywhere}.cm-result{padding:22px;border:1px solid var(--border);border-radius:18px;background:var(--bg-elev);margin-top:20px}.cm-result-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.cm-result-head strong{font-size:15px}.cm-result-head p{color:var(--text-3);font-size:12px;margin-top:4px}.cm-video-editor{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.cm-editor-main{min-width:0}.cm-preview-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.cm-preview-label{font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-video-stage{position:relative;background:#080b17;border:1px solid var(--border);aspect-ratio:16 / 9;max-height:480px;border-radius:18px;overflow:hidden;display:flex;align-items:center;justify-content:center;margin:0 auto;min-width:0;width:100%}.cm-video{display:block;width:100%;height:100%;max-height:480px;object-fit:contain}.cm-video.cm-rotated{max-width:70%;max-height:70%}.cm-video-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:30px;color:#a2a8c4;text-align:center}.cm-video-empty>span{font-size:38px;line-height:1;margin-bottom:5px;color:#a895ff}.cm-video-empty>strong{color:#e9ebfa;font-size:15px}.cm-video-empty>p{font-size:12px;max-width:320px}.cm-timeline-head{display:flex;align-items:center;justify-content:space-between;margin-top:24px;margin-bottom:5px}.cm-hint{font-size:11px;color:var(--text-3);line-height:1.7}.cm-clips{display:flex;flex-direction:column;gap:9px;margin:14px 0}.cm-clip{display:flex;align-items:center;justify-content:space-between;gap:9px;border:1px solid var(--border);background:var(--bg-elev);border-radius:13px;padding:7px 9px}.cm-clip.cm-selected{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.cm-clip-main{display:flex;align-items:center;gap:11px;min-width:0;flex:1;border:0;background:none;text-align:left;padding:4px;color:var(--text)}.cm-clip-main>span:last-child{min-width:0}.cm-clip-main strong{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.cm-clip-main small{display:block;font-size:10px;color:var(--text-3);margin-top:2px}.cm-clip-number{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:9px;background:var(--primary-soft);color:var(--primary-text);font-size:11px;font-weight:750}.cm-clip-actions{display:flex;align-items:center;gap:4px}.cm-clip-actions .btn{padding:0 9px}.cm-editor-main .cm-upload{padding:20px 14px}.cm-editor-main .cm-upload-icon{width:30px;height:30px;font-size:18px;margin:0}.cm-editor-main .cm-upload strong{font-size:13px}.cm-editor-main .cm-upload>span:not(.cm-upload-icon){font-size:11px}.cm-editor-controls{padding:20px;background:var(--bg-soft);border:1px solid var(--border);border-radius:18px;align-self:start;position:sticky;top:90px}.cm-editor-controls>h3{font-size:14px}.cm-control-group{border-top:1px solid var(--border);margin-top:18px;padding-top:18px}.cm-control-group h4{font-size:12px;margin:0 0 12px;font-weight:650}.cm-field{display:flex;flex-direction:column;gap:6px;margin-bottom:13px;min-width:0}.cm-field>span{font-size:11px;font-weight:600;color:var(--text-2)}.cm-field input,.cm-field select{width:100%;min-width:0;border:1px solid var(--border-strong);background:var(--bg-elev);border-radius:9px;padding:9px 10px;font-size:12px}.cm-field small{font-size:10px;color:var(--text-3)}.cm-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cm-checkbox{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--text-2);cursor:pointer}.cm-checkbox input{accent-color:var(--primary);width:16px;height:16px}.cm-output-summary{font-size:11px;color:var(--text-3);line-height:1.7;margin-bottom:16px!important}.cm-output-video{display:block;margin:20px auto 0;max-width:100%;width:auto;max-height:500px;background:#080b17;border-radius:12px}.cm-editor-controls .btn.lg{height:44px;font-size:13px}@keyframes cm-spin{to{transform:rotate(360deg)}}@media(max-width:1050px){.cm-video-editor{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.cm-editor-controls{padding:16px}}@media(max-width:780px){.cm-video-editor{grid-template-columns:1fr}.cm-editor-controls{position:static}.cm-image-compare{gap:12px}.cm-image-stage{height:250px;padding:10px}.cm-image{max-height:228px}.cm-tool-intro{flex-direction:column;gap:8px}.cm-run-row{align-items:flex-start;flex-direction:column;gap:12px}.cm-result-head{flex-direction:column;align-items:flex-start}.cm-tool-intro h2{font-size:21px}}@media(max-width:470px){.cm-image-compare{grid-template-columns:1fr}.cm-image-stage{height:280px}.cm-image{max-height:258px}.cm-preview-top{align-items:flex-start;flex-direction:column}.cm-clip{align-items:flex-start;flex-direction:column}.cm-clip-main{width:100%}.cm-clip-actions{align-self:flex-end}.cm-upload{padding:24px 16px}.cm-upload small{font-size:10px}.cm-result{padding:16px}}
.cm-preview-notice{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:28px;text-align:center;color:#c9cde3;font-size:12px;background:rgba(8,11,23,.92)}
