*{box-sizing:border-box}
body{margin:0;font:15px/1.5 system-ui,sans-serif;background:#0f1115;color:#e8e8ea}
header{display:flex;justify-content:space-between;align-items:center;padding:14px 24px;background:#171a21;border-bottom:1px solid #262a33}
h1{font-size:20px;margin:0}h2{font-size:17px;margin:0 0 12px}h3{margin:18px 0 6px}
main{max-width:1100px;margin:20px auto;padding:0 16px;display:grid;gap:16px}
.card{background:#171a21;border:1px solid #262a33;border-radius:10px;padding:18px}
a{color:#4fd1c5}.muted{color:#8b90a0;margin:0 0 8px}.err{color:#ff6b6b;white-space:pre-wrap}
button{background:#fe2c55;color:#fff;border:0;border-radius:6px;padding:8px 14px;font-weight:600;cursor:pointer}
button.sec{background:#2a2f3a}button:disabled{opacity:.5;cursor:not-allowed}
input,select,textarea{background:#0f1115;color:inherit;border:1px solid #2f3440;border-radius:6px;padding:6px 8px;width:100%}
input[type=checkbox]{width:auto}
label{display:flex;flex-direction:column;gap:3px;font-size:13px;color:#aab}label.inline{flex-direction:row;align-items:center;gap:6px;margin-top:20px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0}
progress{width:100%;height:10px;margin:8px 0}
table{width:100%;border-collapse:collapse;margin:8px 0}th,td{padding:5px 6px;text-align:left;border-bottom:1px solid #262a33}td input[type=number]{width:90px}
#src-video{width:100%;max-height:300px;margin:8px 0;background:#000}
.job{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #262a33;align-items:center}
.clips{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.clip{background:#0f1115;border:1px solid #262a33;border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:8px}
.clip video{width:100%;aspect-ratio:9/16;background:#000;border-radius:6px}
.badge{font-size:12px;padding:1px 7px;border-radius:9px;background:#2a2f3a}
