/* Guía visual del recibo (guia_recibo.js; maqueta aprobada docs/maquetas/maqueta_guia_recibo.html). Tokens de app.css. */
.gr-q { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--marca-cian-texto); color: var(--marca-cian-texto); background: none;
  display: inline-grid; place-items: center; font: 700 11px/1 inherit; cursor: pointer; padding: 0; margin: 0 4px; flex: none; vertical-align: middle; }
.gr-q:hover, .gr-q:focus-visible { background: var(--marca-cian-texto); color: var(--panel); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--marca-cian) 35%, transparent); }
.gr-fila { display: inline-flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.gr-recorrer { display: none; }
body.su-vista-instalador .gr-recorrer { display: inline; }
.gr-capa { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(14, 34, 54, .28); }
.gr-capa[hidden] { display: none; }
body.gr-abierta { overflow: hidden; }
.gr-panel { width: min(520px, 100%); height: 100%; background: var(--panel); color: var(--texto); box-shadow: -18px 0 50px rgba(0, 0, 0, .25);
  display: flex; flex-direction: column; animation: gr-entra .25s ease-out; }
@keyframes gr-entra { from { transform: translateX(30px); opacity: 0; } }
@keyframes gr-sube { from { transform: translateY(40px); opacity: 0; } }
.gr-cab { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px 10px; }
.gr-cab small { display: block; color: var(--marca-cian-texto); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.gr-cab h2 { margin: 2px 0 0; font-size: 20px; letter-spacing: -.02em; }
.gr-cab h2:focus { outline: none; }
.gr-cab .btn { margin-left: auto; }
.gr-etiquetas { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; }
.gr-etiquetas span { font-size: 11.5px; border-radius: 99px; padding: 3px 9px; background: var(--acento); color: var(--marca-cian-texto); font-weight: 650; }
.gr-etiquetas span.av { background: var(--av-f); color: var(--av-t); }
.gr-cuerpo { flex: 1; overflow-y: auto; padding: 0 18px 12px; }
.gr-zoom { position: relative; height: 270px; border-radius: 14px; overflow: hidden; background: #e9eef2; border: 1px solid var(--borde); cursor: zoom-out; }
.gr-zoom.completo { cursor: zoom-in; }
.gr-lienzo { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gr-lienzo img { display: block; max-width: none; user-select: none; }
.gr-marca { position: absolute; border: solid var(--marca-cian); border-radius: 6px; box-shadow: 0 0 0 9999px rgba(14, 34, 54, .38); transition: box-shadow .4s; }
.gr-marca.extra { border-style: dashed; box-shadow: none; border-color: var(--marca-ambar); }
.completo .gr-marca { box-shadow: 0 0 0 9999px rgba(14, 34, 54, .12); }
.gr-aqui { position: absolute; left: 10px; bottom: 10px; background: var(--marca-marino); color: #fff; border-radius: 99px; padding: 5px 11px; font-size: 12.5px; font-weight: 650; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.gr-aqui b { color: var(--marca-ambar); }
.gr-ver { position: absolute; right: 10px; bottom: 10px; }
.gr-texto p { margin: 12px 0 0; line-height: 1.55; font-size: 14px; }
.gr-texto .pro { border-left: 3px solid var(--marca-cian); padding: 6px 10px; background: var(--acento); border-radius: 0 8px 8px 0; font-size: 13px; }
.gr-texto .nota { color: var(--av-t); background: var(--av-f); border-radius: 8px; padding: 6px 10px; font-size: 13px; }
.gr-sin { padding: 26px 18px; text-align: center; color: var(--suave); border: 1px dashed var(--borde); border-radius: 14px; }
.gr-sin b { display: block; color: var(--texto); font-size: 15px; margin-bottom: 4px; }
.gr-pie { border-top: 1px solid var(--borde); padding: 10px 18px 14px; display: grid; gap: 8px; }
.gr-nav { display: flex; align-items: center; gap: 8px; }
.gr-nav span { flex: 1; text-align: center; color: var(--suave); font-size: 12.5px; }
.gr-pasos { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.gr-pasos i { width: 7px; height: 7px; border-radius: 50%; background: var(--borde); }
.gr-pasos i.on { background: var(--marca-cian-texto); }
.gr-leyenda { margin: 0; font-size: 11px; color: var(--suave); text-align: center; }
@media (max-width: 760px) {
  .gr-capa { align-items: flex-end; }
  .gr-panel { height: 92dvh; border-radius: 20px 20px 0 0; box-shadow: 0 -18px 50px rgba(0, 0, 0, .3); animation-name: gr-sube; padding-bottom: env(safe-area-inset-bottom, 0); }
  .gr-zoom { height: 230px; }
}
@media (prefers-reduced-motion: reduce) { .gr-lienzo { transition: none; } .gr-panel { animation: none; } }
@media print { .gr-q, .gr-capa, .gr-recorrer { display: none !important; } }
