.filter-upload-error {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

.filter-workspace { margin-top: 4px; display: flex; flex-direction: column; gap: 20px; }

.filter-stage-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.filter-stage {
  max-width: 100%;
  max-height: 480px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    repeating-conic-gradient(var(--bg-alt) 0% 25%, var(--surface) 0% 50%) 0 0 / 22px 22px;
  display: flex;
  justify-content: center;
}
.filter-stage img {
  display: block;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  transition: filter 0.05s linear;
}

.filter-stage-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-stage-actions .btn svg { width: 15px; height: 15px; }
.filter-summary { font-size: 13px; font-weight: 600; color: var(--text-secondary); }

.filter-settings { flex-direction: column; align-items: stretch; gap: 18px; }
.filter-preset-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.filter-slider-group { display: flex; flex-direction: column; gap: 12px; }
.filter-slider-row { display: flex; flex-direction: column; gap: 6px; }
.filter-slider-row .convert-settings-label b { color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.filter-slider-row input[type="range"] { width: 100%; }

.filter-actions-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .filter-preset-group, .filter-actions-row { justify-content: center; }
  .filter-stage img { max-height: 340px; }
}
