/* Estilos mínimos de Fase 0. El sistema de diseño real llega en la Fase 3. */
:root {
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --bg: #fdfdfc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 34rem;
  margin: 0 auto;
  padding: 22vh 1.5rem 3rem;
  text-align: center;
}

.brand {
  font-size: clamp(2.2rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.tagline {
  font-size: 1.05rem;
  margin: 0 0 2rem;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

a { color: inherit; }

/* --- Fase 1: panel del comercio --- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 1.5rem; border-bottom: 1px solid #e7e5e2;
}
.topbar__brand { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.topbar__nav { display: flex; gap: 1rem; align-items: center; font-size: 0.9rem; }
.inline { display: inline; }
.linklike {
  background: none; border: 0; padding: 0; font: inherit;
  color: inherit; cursor: pointer; text-decoration: underline;
}

.wrap { text-align: left; padding-top: 2.5rem; max-width: 42rem; }
h1 { font-size: 1.6rem; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
h2 { font-size: 1.1rem; margin-top: 2rem; }

.form { margin: 1.5rem 0; }
.campo { margin-bottom: 1.1rem; }
.campo label { display: block; font-size: 0.9rem; margin-bottom: 0.3rem; font-weight: 500; }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 0.55rem 0.7rem; font: inherit;
  border: 1px solid #d6d3cf; border-radius: 6px; background: #fff;
}
.campo small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.25rem; }

.btn {
  display: inline-block; padding: 0.6rem 1.2rem; font: inherit; font-weight: 500;
  border: 0; border-radius: 6px; background: var(--fg); color: #fff;
  text-decoration: none; cursor: pointer;
}
.cancelar { margin-left: 1rem; font-size: 0.9rem; color: var(--muted); }

.lista { list-style: none; padding: 0; }
.lista li { padding: 0.7rem 0; border-bottom: 1px solid #eeecea; font-size: 0.95rem; }
.lista a { margin-left: 0.6rem; font-size: 0.85rem; }

.messages { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.msg { padding: 0.6rem 0.9rem; border-radius: 6px; font-size: 0.9rem; margin-bottom: 0.5rem; }
.msg--success { background: #eef6ee; }
.msg--error { background: #fbeeee; }
.msg--info { background: #eef2f6; }

.errores { color: #a4262c; font-size: 0.85rem; }
.errores ul { margin: 0.2rem 0; padding-left: 1.1rem; }
.aviso { background: #fdf6e3; padding: 0.7rem 0.9rem; border-radius: 6px; font-size: 0.9rem; }
.etiqueta {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em;
  background: #eeecea; color: var(--muted); padding: 0.15rem 0.45rem; border-radius: 4px;
}
