/* WaifuStudio — Estilos de la Pestaña Editor
 * Qué hace: paneles de inpainting/outpainting, imágenes de referencia y miniaturas del editor.
 * Qué no hace: no altera otras pestañas ni estilos globales.
 * Dependencias: static/css/base.css y static/css/components.css.
 */

.editor-banner {
  margin: 0;
  padding: 0.5rem 0.6rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid #f5c542;
  border-radius: 6px;
  color: #f5c542;
  font-size: 0.82rem;
  line-height: 1.35;
}

.editor-banner.ok {
  border-left-color: #86efac;
  color: #86efac;
}

.editor-refs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.editor-ref {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.editor-ref img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.editor-placeholder {
  margin: 0;
  padding: 0.6rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.editor-result {
  margin: 0.6rem 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.editor-result-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.editor-gallery {
  margin-top: 0.6rem;
  flex: 0 0 auto;
}

.editor-gallery h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.editor-gallery .image-thumbs {
  margin-top: 0;
}

.editor-gallery-pager {
  justify-content: flex-start;
  margin-top: 0.5rem;
}
