.fa-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: start; }
.fa-panel { display: flex; flex-direction: column; gap: 16px; }
.fa-label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.fa-drop { border: 1.5px dashed rgba(124, 92, 255, 0.55); border-radius: var(--radius); padding: 24px 16px; text-align: center; cursor: pointer; background: rgba(11, 15, 26, 0.55); transition: border-color 0.15s ease, background 0.15s ease; }
.fa-drop:hover, .fa-drop.is-over { border-color: var(--accent-2); background: rgba(34, 211, 238, 0.06); }
.fa-drop input { display: none; }
.fa-drop-title { font-weight: 600; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.fa-drop-sub { font-size: 13px; color: var(--muted); margin: 0; }
.fa-preview-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #070a12; max-height: 280px; display: flex; align-items: center; justify-content: center; }
.fa-preview-img { max-height: 280px; width: auto; object-fit: contain; filter: grayscale(100%) contrast(1.25); }
.fa-remove { position: absolute; top: 10px; right: 10px; background: rgba(11, 15, 26, 0.85); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 12px; cursor: pointer; }
.fa-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.fa-chip { background: rgba(11, 15, 26, 0.7); color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.fa-chip.is-active { background: rgba(124, 92, 255, 0.22); color: var(--text); border-color: var(--accent); }
.fa-textarea { width: 100%; min-height: 84px; background: rgba(11, 15, 26, 0.75); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; font: inherit; font-size: 14px; resize: vertical; }
.fa-textarea:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; }
.fa-note { font-size: 12px; color: var(--muted); margin: 0; }
.fa-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fa-run { width: 100%; min-height: 48px; }
.fa-run[disabled] { opacity: 0.6; cursor: not-allowed; }
.fa-status { font-size: 14px; color: var(--accent-2); min-height: 22px; margin: 0; }
.fa-error { background: rgba(239, 68, 68, 0.14); border: 1px solid rgba(239, 68, 68, 0.4); color: #fecaca; border-radius: var(--radius); padding: 12px 14px; font-size: 14px; }
.fa-output { background: #070a12; border: 1px solid var(--border); border-radius: var(--radius); min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; gap: 16px; }
.fa-output video { width: 100%; max-height: 460px; border-radius: 8px; background: #000; }
.fa-placeholder-ring { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(124, 92, 255, 0.5); box-shadow: inset 0 0 0 6px rgba(34, 211, 238, 0.15); }
.fa-out-actions { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; }
.fa-out-actions a, .fa-out-actions button { flex: 1; }
@media (max-width: 768px) {
  .fa-grid { grid-template-columns: 1fr; }
  .fa-output { min-height: 260px; }
}