:root {
  --ocre: #F5B301;
  --terracota: #1565C0;
  --rojo: #D32F2F;
  --gris-900: #1E1E1E;
  --gris-100: #F2F2F2;
  --borde: #E0E0E0;
  --muted: #6B6B6B;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--gris-900);
  background: var(--gris-100);
  margin: 0;
}
.topbar {
  background: var(--gris-900);
  color: white;
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: white; text-decoration: none; }
.topbar .brand { font-weight: 800; }
.topbar .brand span { color: var(--ocre); }
.wrap { max-width: 900px; margin: 0 auto; padding: 1.5rem; }
.card {
  background: white;
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 0.6rem; }
label { display: block; font-size: 0.85rem; font-weight: 600; margin: 0.8rem 0 0.3rem; }
input[type=text], input[type=password], textarea, select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--borde);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
textarea { min-height: 70px; resize: vertical; }
.btn {
  display: inline-block;
  background: var(--ocre);
  color: var(--gris-900);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
}
.btn.secondary { background: var(--gris-100); border: 1px solid var(--borde); }
.btn.danger { background: var(--rojo); color: white; }
table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--borde); font-size: 0.9rem; }
th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; }
.pill { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 10px; font-size: 0.75rem; font-weight: 700; }
.pill.on { background: #E3F2E1; color: #1B5E20; }
.pill.off { background: #F0F0F0; color: var(--muted); }
.faq-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.6rem; margin-bottom: 0.6rem; align-items: start; }
.error { background: #FDECEA; border: 1px solid #F5C6C3; color: #B71C1C; padding: 0.7rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.9rem; }
.muted { color: var(--muted); font-size: 0.85rem; }
.actions { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
