/* autoedit.css — 「AI 逐字稿剪輯」面板,沿用留白 style.css 的顏色變數 */
.autoedit{margin-bottom:24px}.autoedit h3{margin:18px 0 6px}.autoedit label{display:block;margin:10px 0}
.autoedit input[type=file]{display:block;width:100%;margin-top:6px;color:var(--muted)}
.ae-chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 14px}.ae-chip{border-radius:999px;padding:7px 14px}
.ae-chip small{margin-left:6px;color:var(--muted);display:inline}.ae-chip.on{border-color:var(--accent);color:var(--accent);background:#263021}
.autoedit button.primary{width:100%;padding:14px;border-color:var(--accent);color:var(--accent);background:#263021;font-weight:600}
.ae-steps{list-style:none;padding:0;margin:10px 0}.ae-steps li{display:flex;align-items:center;gap:10px;padding:6px 0;color:var(--muted)}
.ae-steps li.done,.ae-steps li.running{color:var(--text)}.ae-steps li.error{color:#e59a8a}
.ae-dot{width:20px;height:20px;border-radius:50%;border:1px solid var(--border);display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex:none}
.ae-steps li.done .ae-dot{background:#263021;border-color:var(--accent);color:var(--accent)}.ae-steps li.running .ae-dot{border-color:var(--accent);animation:ae-pulse 1.2s infinite}
@keyframes ae-pulse{50%{opacity:.35}}
.ae-bar{flex:1;max-width:220px;height:6px;border-radius:3px;background:var(--border);overflow:hidden}.ae-bar i{display:block;height:100%;background:var(--accent)}
.ae-err{color:#e59a8a}.ae-log{white-space:pre-wrap;max-height:260px;overflow:auto;font-size:12px;background:#0c0e0c;padding:10px;border-radius:7px}
.ae-vids{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.ae-vids figure{margin:0}
.ae-vids video{width:100%;aspect-ratio:9/16;background:#000;border-radius:8px}.ae-vids figcaption{margin-top:6px}.ae-vids a,.ae-link{color:var(--accent)}
.ae-row{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.ae-table{overflow-x:auto;margin:10px 0}
.ae-table table{width:100%;border-collapse:collapse;font-size:14px}.ae-table th{text-align:left;color:var(--muted);font-weight:400;padding:4px}
.ae-table td{padding:3px 4px}.ae-table input{width:100%;min-width:90px;background:#0c0e0c;color:var(--text);border:1px solid var(--border);border-radius:5px;padding:6px}
.ae-jobs{display:grid;gap:6px}.ae-jobs button{display:flex;justify-content:space-between;gap:10px;text-align:left}
