:root {
  --paper: #f4efe3;
  --card: #fffdf7;
  --ink: #101b2a;
  --muted: #5d6b7a;
  --line: #e2d9c8;
  --taxi: #f0b429;
  --red: #b3261e;
  --green: #1f7a4d;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

header.top {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
}
header.top a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.2px;
}
header.top span { color: var(--taxi); }

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.7px; margin: 0 0 6px; }
h2 { font-size: 20px; letter-spacing: -.3px; margin: 32px 0 8px; }
h3 { font-size: 16px; margin: 22px 0 6px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 5px; }
a { color: #8a5a00; }
small, .muted { color: var(--muted); }
.version {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #6b4d00;
  background: rgba(240, 180, 41, .22);
  border: 1px solid rgba(240, 180, 41, .5);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 16px 0;
}
.card.warn { border-color: #e6c9a8; background: #fff8ec; }
footer.pie {
  border-top: 1px solid var(--line);
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}
footer.pie a { color: var(--muted); margin: 0 8px; }

form.eliminar { max-width: 460px; }
label.campo {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  margin: 14px 0 4px;
}
label.campo input, label.campo select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 11px;
}
label.campo input:focus, label.campo select:focus {
  outline: none;
  border-color: #d99a12;
  box-shadow: 0 0 0 3px rgba(240, 180, 41, .18);
}
button.btn {
  margin-top: 16px;
  padding: 14px 18px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 800;
  color: #201a06;
  background: var(--taxi);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(240, 180, 41, .35);
}
button.btn:disabled { opacity: .55; cursor: default; }
.resultado { margin-top: 14px; font-weight: 700; }
.resultado.ok { color: var(--green); }
.resultado.bad { color: var(--red); }

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
details summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 15.5px;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: "＋";
  display: inline-block;
  width: 22px;
  color: #a06b00;
  font-weight: 900;
}
details[open] summary::before { content: "−"; }
details .cuerpo { padding-top: 10px; }
details .cuerpo p:last-child, details .cuerpo ul:last-child { margin-bottom: 0; }

.pasos { counter-reset: paso; list-style: none; padding-left: 0; }
.pasos li {
  counter-increment: paso;
  position: relative;
  padding-left: 38px;
  margin-bottom: 12px;
}
.pasos li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--taxi);
  color: #201a06;
  font-weight: 900;
  font-size: 13px;
}
