.rd-tool{--rd-ink:#e8ecf5;--rd-muted:#9aa4b8;--rd-line:rgba(255,255,255,.14);--rd-accent:#ff8a5b}
.rd-steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.rd-step{font-size:12px;color:var(--rd-muted);border:1px solid var(--rd-line);border-radius:999px;padding:5px 12px}
.rd-step.is-active{color:#fff;border-color:var(--rd-accent);background:rgba(255,138,91,.12)}
.rd-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.rd-label{font-size:13px;font-weight:600;color:var(--rd-ink);margin:0 0 8px}
.rd-drop{display:grid;place-items:center;min-height:104px;border:1.5px dashed var(--rd-line);border-radius:12px;color:var(--rd-muted);font-size:13px;cursor:pointer;text-align:center;padding:8px;margin-bottom:14px;transition:border-color .15s}
.rd-drop:hover{border-color:var(--rd-accent)}
.rd-drop.has-photo{border-style:solid;border-color:var(--rd-accent);color:#fff}
.rd-hint{font-size:12px;line-height:1.5;color:var(--rd-muted);margin:0}
.rd-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.rd-chip{font:inherit;font-size:13px;color:var(--rd-ink);background:transparent;border:1px solid var(--rd-line);border-radius:8px;padding:8px 12px;cursor:pointer}
.rd-chip.is-active{border-color:var(--rd-accent);background:rgba(255,138,91,.12);color:#fff}
.rd-input{width:100%;min-height:44px;background:rgba(255,255,255,.05);border:1px solid var(--rd-line);border-radius:8px;color:var(--rd-ink);font:inherit;font-size:14px;padding:8px 12px;margin-bottom:18px}
.rd-cost{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:var(--rd-muted);margin-bottom:14px;flex-wrap:wrap}
.rd-cost strong{color:#fff}
.rd-cost a{color:var(--rd-accent)}
.rd-go{width:100%;min-height:48px;border:0;border-radius:10px;background:var(--rd-accent);color:#1a1009;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.rd-go:hover{background:#ffa17b}
.rd-go:disabled{opacity:.6;cursor:wait}
.rd-status{min-height:20px;font-size:13px;color:var(--rd-muted);margin:10px 0}
.rd-result{margin-top:12px}
.rd-result video{width:100%;max-height:420px;border-radius:10px;background:#000}
.rd-download{display:inline-block;margin-top:10px;color:var(--rd-accent);font-size:14px;font-weight:600}
@media(max-width:720px){.rd-grid{grid-template-columns:1fr}}