/* Estilo sobrio, parecido al Dashboard de Saleor: la página vive adentro de él. */
:root {
	color-scheme: light;
	--text: #1f2933;
	--muted: #6b7280;
	--line: #e5e7eb;
	--accent: #111827;
	--error: #b91c1c;
	--ok: #15803d;
	--soft: #f9fafb;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: #fff; }
main { max-width: 1040px; padding: 24px; }
h1 { font-size: 20px; margin: 0 0 8px; }
h2 { font-size: 16px; margin: 24px 0 8px; }
code { background: var(--soft); padding: 1px 4px; border-radius: 4px; }
.muted { color: var(--muted); }
.error { color: var(--error); }
.ok { color: var(--ok); }
form { display: grid; gap: 16px; max-width: 480px; margin-top: 16px; }
label { display: grid; gap: 6px; font-weight: 600; }
label .muted { font-weight: 400; }
input[type="file"] { font: inherit; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
button { font: inherit; font-weight: 600; padding: 8px 16px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; justify-self: start; }
button.secundario { background: #fff; color: var(--accent); }
button:disabled { opacity: 0.5; cursor: progress; }
.acciones { display: flex; gap: 8px; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.presentaciones { white-space: pre-line; }
.etiqueta { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: var(--soft); border: 1px solid var(--line); }
.etiqueta.crear { color: var(--ok); border-color: currentColor; }
progress { width: 100%; height: 12px; }
pre { background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 12px; max-height: 320px; overflow: auto; font-size: 12px; white-space: pre-wrap; }
