/* ==========================================================================
   Estilos comunes a las versiones B y C: precio por modo y marcas de revisión.
   Usan la tipografía del sistema a propósito, para que no se confundan con el diseño.
   ========================================================================== */

/* Qué se enseña en campaña y qué fuera de ella */
html[data-precio="normal"] .solo-campana,
html[data-precio="campana"] .solo-normal { display: none !important; }

/* Con la franja de revisión arriba, la cabecera fija baja un poco */
.revision-activa { --tope: 2.1rem; scroll-padding-top: 6rem; }

.nota-rev, .hueco, .solo-revision, .panel-rev { display: none; }

.revision .nota-rev {
  display: block; width: fit-content; max-width: 100%;
  margin: 0.8rem auto 0; padding: 0.4rem 0.7rem;
  background: #FFC805; color: #181818; border-radius: 6px;
  font: 400 0.78rem/1.45 system-ui, -apple-system, sans-serif; font-style: normal; text-align: left; letter-spacing: 0; text-transform: none;
}
.revision .nota-rev::before { font-weight: 600; }
.revision .nota-rev[data-tipo="prueba"]::before { content: "Prueba del 20 · "; }
.revision .nota-rev[data-tipo="dato"]::before { content: "Confirmar · "; }
.revision .nota-rev[data-tipo="captura"]::before { content: "Captura · "; }
.revision .nota-rev[data-tipo="texto"]::before { content: "Tu texto · "; }
.revision .nota-rev[data-tipo="enlace"]::before { content: "Enlace · "; }

.revision .marca { background: linear-gradient(transparent 60%, rgba(255, 200, 5, 0.6) 60%); cursor: help; }
.revision .marca::after {
  content: "?"; display: inline-grid; place-items: center;
  width: 1.05rem; height: 1.05rem; margin-left: 0.3rem; vertical-align: 0.1em;
  border-radius: 50%; background: #FFC805; color: #181818;
  font: 600 0.7rem/1 system-ui, sans-serif;
}
.revision .solo-revision { display: block; }

/* Franja amarilla con la lista de pendientes (la crea script.js) */
.revision-activa .panel-rev {
  display: block; position: sticky; top: 0; z-index: 60;
  background: #FFC805; color: #181818;
  font: 400 0.8rem/1.45 system-ui, -apple-system, sans-serif;
}
.panel-rev summary { cursor: pointer; padding: 0.45rem 1rem; font-weight: 600; list-style: none; display: flex; justify-content: center; gap: 0.75rem; }
.panel-rev summary::-webkit-details-marker { display: none; }
.panel-rev summary::after { content: "ver lista"; font-weight: 400; text-decoration: underline; }
.panel-rev[open] summary::after { content: "cerrar"; }
.panel-rev__cuerpo {
  position: absolute; top: 100%; right: 0.75rem;
  width: min(24rem, calc(100% - 1.5rem)); max-height: min(72vh, 36rem); overflow: auto;
  padding: 0.9rem; background: #FFC805; border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}
.panel-rev__botones { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.panel-rev button { font: 600 0.76rem/1.2 system-ui, sans-serif; padding: 0.4rem 0.7rem; border-radius: 999px; border: 1.5px solid #181818; background: transparent; color: #181818; cursor: pointer; }
.panel-rev button[aria-pressed="true"] { background: #181818; color: #FFC805; }
.panel-rev ol { display: grid; gap: 0.15rem; counter-reset: pendiente; margin: 0; padding: 0; list-style: none; }
.panel-rev li { counter-increment: pendiente; }
.panel-rev li a { display: block; padding: 0.35rem 0.4rem; border-radius: 6px; text-decoration: none; color: inherit; }
.panel-rev li a::before { content: counter(pendiente) ". "; font-weight: 600; }
.panel-rev li a:hover { background: rgba(24, 24, 24, 0.1); }
.panel-rev li b { font-weight: 600; }
.resaltado-rev { outline: 3px solid #FFC805; outline-offset: 6px; border-radius: 6px; }
