body.auditoria { min-height: 100vh; }
.auditoria .wrap {
  max-width: 480px; margin: 0 auto;
  padding: 30px 20px calc(40px + env(safe-area-inset-bottom, 0));
}
.auditoria .step { display: none; }
.auditoria .step.on { display: block; animation: fade .15s ease both; }
/* Legible desde el primer pintado: la entrada nunca parte de invisible. */
@keyframes fade { from { opacity: .7; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .auditoria .step.on { animation: none; } }

.auditoria h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); line-height: 1.16; }
.auditoria h2 { font-size: clamp(1.42rem, 6vw, 1.72rem); line-height: 1.22; font-weight: 500; }
.auditoria .lead { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }

/* respuesta a pregunta / audiencia: tarjeta a ancho completo, borde al pulsar */
.choice { display: flex; flex-direction: column; gap: 11px; margin-top: 6px; }
.opt {
  background: var(--card3); border: 1px solid var(--line2); color: var(--tx);
  padding: 17px 18px; border-radius: 7px; font-family: var(--sans); font-size: 1rem; line-height: 1.45;
  cursor: pointer; text-align: left; min-height: 58px; font-weight: 400;
  transition: border-color .15s, background .15s, transform .15s;
}
@media (hover: hover) { .opt:hover { border-color: var(--gold); background: rgba(var(--gr), .08); } }
.opt.chosen { border-color: var(--gold); background: rgba(201, 169, 110, .12); transform: scale(1.02); }
.opt.dimmed { opacity: .35; }

/* barra de progreso: SOLO progreso (preguntas contestadas / previstas), nunca baja.
   Ver 2-diseno-y-usabilidad.md hallazgo 2: la "confianza" de hoy no vuelve a pintarse. */
.progtop { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.proglbl { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.progpct { font-family: var(--mono); font-size: .78rem; color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.progtrack { height: 7px; background: var(--card3); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; }
.progbar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 6px; transition: width .5s cubic-bezier(.25, .8, .3, 1); }
.proghint { font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); text-align: center; margin-bottom: 24px; }
.stmt { font-family: var(--sans); font-size: 1.3rem; line-height: 1.4; font-weight: 500; color: var(--hi); margin-bottom: 16px; }
.seenow {
  display: block; margin: 22px auto 0; background: transparent; border: 1px solid var(--line2); color: var(--gold);
  font-family: var(--sans); font-size: .9rem; font-weight: 600; padding: 13px 22px; min-height: 48px;
  border-radius: 999px; cursor: pointer; text-align: center; width: 100%;
}
@media (hover: hover) { .seenow:hover { border-color: var(--gold); background: rgba(var(--gr), .08); } }
.seenow small { display: block; color: var(--muted); font-size: .68rem; font-weight: 400; margin-top: 3px; }

/* ingresos */
.sldr-display { text-align: center; margin-bottom: 16px; }
.sldr-num { font-family: var(--sans); font-size: 3rem; font-weight: 300; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.sldr-hint { font-family: var(--mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.chip {
  background: var(--card3); border: 1px solid var(--line2); color: var(--tx); font-family: var(--sans); font-size: .86rem;
  padding: 11px 14px; border-radius: 22px; cursor: pointer; min-height: 44px;
}
.chip.on { background: rgba(var(--gr), .16); border-color: var(--gold); color: var(--hi); font-weight: 600; }
.sl-wrap { padding: 4px 0 20px; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--gold) var(--sl-pct, 15%), rgba(201, 169, 110, .12) var(--sl-pct, 15%));
  outline: none; border: none; cursor: pointer; margin: 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #f0dcaa, var(--gold) 60%);
  border: 1.5px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 5px rgba(201, 169, 110, .2);
  cursor: grab; margin-top: -10px;
}
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 1.5px solid rgba(255, 255, 255, .2); cursor: grab; }
input[type=range]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(201, 169, 110, .12); }

/* comparación */
.cmprow { margin-bottom: 16px; }
.cmprow .t { display: flex; justify-content: space-between; font-size: .82rem; margin-bottom: 6px; }
.cmprow .t .lab { color: var(--muted); }
.cmprow .t .num { font-weight: 600; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.cmpbar { height: 30px; border-radius: 6px; overflow: hidden; background: var(--card3); border: 1px solid var(--line); }
.cmpfill { height: 100%; width: 0; border-radius: 6px; transition: width 1s cubic-bezier(.2, .8, .3, 1); }
.fill-now { background: #4a443a; }
.fill-could { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.cmpnum.now { color: var(--muted); }
.cmpnum.could { color: var(--gold); }

/* caja de cifra */
.gapbox {
  background: linear-gradient(135deg, var(--card), var(--card2)); border: 1px solid var(--gold); border-radius: 6px;
  padding: 28px 22px; text-align: center; margin-top: 6px; margin-bottom: 18px;
}
.gapbox .l { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.gapbox .v { font-family: var(--sans); font-weight: 300; font-size: clamp(2.3rem, 11vw, 3rem); color: var(--gold); line-height: 1; }
.gapbox .s { font-size: .86rem; color: var(--tx); margin-top: 10px; }
.gapref { font-size: .74rem; color: var(--muted); margin-top: 12px; line-height: 1.5; font-style: italic; }

/* carga */
.err-text { margin: 0 0 10px; }
.con { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px; min-height: 130px; font-family: var(--mono); font-size: .82rem; }
.cln { margin: 5px 0; color: var(--muted); }
.cln.hi { color: var(--gold); }
.cln.ok { color: var(--green); }

/* medio informe */
.i-hero { padding: 10px 0 26px; border-bottom: 1px solid rgba(var(--gr), .1); margin-bottom: 30px; }
.i-eyebrow { font-family: var(--mono); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.i-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); }
.i-arch { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 11vw, 3.2rem); line-height: 1; color: var(--cream); margin-bottom: 14px; }
.i-freno { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 4.6vw, 1.35rem); color: var(--gold); line-height: 1.35; margin-bottom: 24px; }

.blk { padding: 34px 0; border-bottom: 1px solid rgba(var(--gr), .1); }
.blk-last { border-bottom: none; }
.kick { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.kick .num { color: var(--dim); }
.blk .lede { font-size: 1.02rem; }
.pull { padding: 36px 0; text-align: center; }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 5vw, 1.7rem); line-height: 1.3; color: var(--gold); max-width: 19ch; margin: 0 auto; }

.plan { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.plan-step { background: var(--card); border: 1px solid rgba(var(--gr), .18); border-left: 2px solid var(--gold); border-radius: 5px; padding: 20px 20px 20px 22px; position: relative; }
.plan-step.pendiente { border-left-color: var(--line2); opacity: .72; }
.plan-step .wk { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.plan-step.pendiente .wk { color: var(--muted); }
.plan-step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--cream); margin: 8px 0; }
.plan-step p { margin: 0; font-size: .92rem; }
.plan-step .lock { margin: 0; font-size: .78rem; color: var(--muted); font-style: italic; }
.plan-step .n { position: absolute; top: 16px; right: 18px; font-family: var(--serif); font-size: 1.4rem; color: rgba(var(--gr), .22); }

.tcards { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.tc { background: var(--card); border: 1px solid rgba(var(--gr), .16); border-radius: 5px; padding: 16px 18px; }
.tc .q { color: var(--cream); font-family: var(--serif); font-style: italic; line-height: 1.55; font-size: .95rem; }
.tc .w { font-family: var(--mono); color: var(--gold); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 9px; opacity: .85; }
.proofnote { font-size: .74rem; color: var(--dim); margin-top: 14px; text-align: center; }

.cierre-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cierre-list li {
  font-size: .92rem; color: var(--tx); padding: 12px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: 5px; position: relative; padding-left: 32px;
}
.cierre-list li::before { content: '🔒'; position: absolute; left: 12px; top: 12px; font-size: .8rem; }

.i-ref {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; color: var(--gold);
  background: rgba(201, 169, 110, .08); border: 1px solid rgba(201, 169, 110, .2); border-radius: 8px;
  padding: 12px 16px; margin: 26px 0 18px; text-align: center;
}
.wasub { font-family: var(--mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: center; margin-top: 11px; }
.fineprint { font-size: .68rem; color: var(--muted); text-align: center; margin-top: 26px; line-height: 1.55; }

@media (max-width: 380px) {
  .auditoria .wrap { padding-left: 16px; padding-right: 16px; }
  .gapbox, .plan-step { padding-left: 16px; padding-right: 16px; }
}
