/* Registro del cliente (registro.js): hoja de documento a pantalla completa sobre el cotizador.
   Fondo del estudio negro con la barra y el pie de vidrio oscuro. Todo en tono oscuro (Charles, 12-11-2026): la hoja es
   vidrio grafito con letra blanca; solo el recuadro de la firma queda en papel claro, porque la tinta es azul oscuro y
   así se guarda para el PDF. Botones y campos grandes para la tablet. */
.registro {
  --rg-negro: #030405; --rg-hoja: rgba(16, 18, 22, .82); --rg-tinta: #f4f5f7; --rg-tinta-2: #c4c8cf; --rg-tinta-3: #9a9fa8;
  --rg-linea: rgba(255, 255, 255, .09); --rg-campo: rgba(255, 255, 255, .07); --rg-borde: rgba(255, 255, 255, .12); --rg-suave: rgba(255, 255, 255, .06);
  /* Nota 150: --rg-rojo sigue el color de la interfaz; --rg-alerta queda en rojo para errores y «no pasa». */
  --rg-rojo: var(--acento, #d71f30); --rg-rojo-hondo: var(--acento-hondo, #b5121f); --rg-rojo-texto: var(--acento-texto, #f0485a);
  --rg-alerta: #d71f30; --rg-alerta-texto: #f0485a; --rg-verde: #1d7a44; --rg-verde-texto: #5fd08f;
  position: fixed; inset: 0; z-index: 9500; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, #1a1d22 0%, rgba(26, 29, 34, 0) 70%), var(--rg-negro);
  color: #f4f5f7; color-scheme: dark; font-family: var(--cuerpo, "Nunito Sans", Arial, sans-serif);
  opacity: 0; transform: scale(.985); transition: opacity .28s ease, transform .36s cubic-bezier(.2, .8, .2, 1);
}
.registro.entra { opacity: 1; transform: none; }
.registro [hidden] { display: none !important; }
.registro button, .registro input, .registro select { font: inherit; }

/* Barra de arriba */
.rg-barra { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) clamp(12px, 2.4vw, 32px) 10px; }
.rg-volver { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 12px; border: 0; border-radius: 6px; cursor: pointer;
  background: linear-gradient(165deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)), rgba(14, 16, 19, .35); color: #f4f5f7; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.rg-volver:hover { background: linear-gradient(165deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08)), rgba(14, 16, 19, .35); }
.rg-volver svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rg-cabeza { min-width: 0; text-align: center; }
.rg-cabeza h1 { margin: 0; font: italic 700 clamp(18px, 2vw, 22px)/1.2 var(--titulo, "Poppins", Arial, sans-serif); color: #fff; }
.rg-cabeza p { margin: 2px 0 0; color: #b9bdc5; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-cabeza b { color: var(--rg-rojo-texto); }
.rg-cuenta { min-width: 96px; text-align: right; color: #b9bdc5; font-size: 14px; font-weight: 700; }

/* Pasos */
.rg-pasos { padding: 0 clamp(12px, 2.4vw, 32px) 12px; }
.rg-pasos ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.rg-pasos button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 12px; border: 0; border-radius: 6px; cursor: pointer;
  background: rgba(255, 255, 255, .05); color: #9a9fa8; text-align: left; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .08); }
.rg-pasos button:disabled { cursor: default; opacity: .55; }
.rg-pasos button.hecho { color: #d6d9de; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .35); }
.rg-pasos button.actual { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 -3px 0 var(--rg-rojo); }
.rg-num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: 13px; }
.rg-pasos .actual .rg-num { background: var(--rg-rojo); color: var(--sobre-acento, #fff); }
.rg-nom { min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.15; }

/* Hoja */
.rg-scroll { overflow: auto; overscroll-behavior: contain; padding: 4px clamp(12px, 2.4vw, 32px) 24px; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.rg-hoja { max-width: 980px; margin: 0 auto; padding: clamp(20px, 3vw, 40px); border-radius: 12px; color: var(--rg-tinta);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 40%), var(--rg-hoja); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.rg-hoja h2 { margin: 0 0 18px; font: italic 700 clamp(22px, 2.6vw, 28px)/1.15 var(--titulo, "Poppins", Arial, sans-serif); }
.rg-hoja h3 { margin: 28px 0 12px; padding-top: 18px; border-top: 1px solid var(--rg-linea); font: 700 16px/1.2 var(--titulo, "Poppins", Arial, sans-serif); }
.rg-nota { margin: 0 0 14px; color: var(--rg-tinta-3); font-size: 15px; line-height: 1.45; }
.rg-grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.rg-ancho { grid-column: 1 / -1; }
.rg-grilla > label, .rg-grilla > .rg-check { display: grid; gap: 6px; align-content: start; color: var(--rg-tinta-2); font-size: 14px; font-weight: 700; }
.rg-grilla small { color: var(--rg-tinta-3); font-weight: 600; }
.rg-hoja input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .rg-hoja select {
  width: 100%; min-height: 52px; box-sizing: border-box; padding: 0 14px; border: 1px solid var(--rg-borde); border-radius: 6px;
  background: var(--rg-campo); color: var(--rg-tinta); font-size: 17px; font-weight: 600; }
.rg-hoja input::placeholder { color: #8d929b; }
.rg-hoja select option { background: #15181d; color: #f4f5f7; }
.rg-hoja input:focus, .rg-hoja select:focus { outline: 2px solid var(--rg-tinta); outline-offset: 1px; border-color: transparent; }
.rg-hoja [aria-invalid="true"] { border-color: var(--rg-alerta) !important; box-shadow: 0 0 0 3px rgba(215, 31, 48, .25); }
.rg-prefijo { display: flex; align-items: stretch; }
.rg-prefijo b { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--rg-borde); border-right: 0; border-radius: 6px 0 0 6px; background: var(--rg-suave); color: var(--rg-tinta-2); font-size: 16px; }
.rg-prefijo input { border-radius: 0 6px 6px 0 !important; }
.rg-hoja input[type="checkbox"], .rg-hoja input[type="radio"] { width: 24px; height: 24px; margin: 0; accent-color: var(--rg-rojo); flex: none; }
.rg-check { display: flex !important; align-items: center; gap: 12px; min-height: 52px; color: var(--rg-tinta) !important; font-weight: 600 !important; cursor: pointer; }

/* Selector de dos opciones */
.rg-segmento { display: inline-flex; flex-wrap: wrap; gap: 0; margin: 0 0 20px; padding: 4px; border: 0; border-radius: 8px; background: var(--rg-suave); }
.rg-segmento legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; color: var(--rg-tinta-2); font-size: 14px; font-weight: 700; }
.rg-segmento label { position: relative; cursor: pointer; }
.rg-segmento input { position: absolute; opacity: 0; pointer-events: none; }
.rg-segmento span { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 48px; padding: 0 22px; border-radius: 6px; color: var(--rg-tinta-2); font-weight: 700; }
/* lo elegido en rojo con la forma inclinada de SOLOCAR (capa de atrás inclinada, letra derecha) */
.rg-segmento span::before { content: ""; position: absolute; inset: 0 3px; z-index: -1; border-radius: 5px; transform: skewX(-10deg); background: transparent; transition: background .2s; }
.rg-segmento input:checked + span { color: var(--sobre-acento, #fff); }
.rg-segmento input:checked + span::before { background: var(--rg-rojo); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px -10px rgba(var(--acento-rgb, 215, 31, 48), .8); }
.rg-segmento input:focus-visible + span { outline: 2px solid var(--rg-rojo); outline-offset: 2px; }

/* Pre-validación y requisitos */
.rg-requisitos { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--rg-suave); font-size: 14px; color: var(--rg-tinta-2); }
.rg-requisitos ul { margin: 6px 0; padding-left: 20px; }
.rg-prevalida { margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
.rg-prevalida.pasa { background: rgba(29, 122, 68, .2); }
.rg-prevalida.no { background: rgba(215, 31, 48, .16); }
.rg-prevalida b { display: block; margin-bottom: 6px; }
.rg-prevalida.pasa b { color: var(--rg-verde-texto); }
.rg-prevalida.no b { color: var(--rg-alerta-texto); }
.rg-prevalida ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.rg-prevalida li { position: relative; padding-left: 18px; color: var(--rg-tinta-2); }
.rg-prevalida li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--rg-verde); }
.rg-prevalida li.falta::before { background: var(--rg-alerta); }

/* Autorizaciones y documentos */
.rg-autoriza { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; padding: 16px; border: 1px solid var(--rg-linea); border-radius: 8px; background: rgba(255, 255, 255, .04); cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--rg-tinta-2); }
.rg-autoriza:has(:checked) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.rg-autoriza b { display: block; margin-bottom: 2px; color: var(--rg-tinta); font-size: 16px; }
.rg-autoriza small { color: var(--rg-tinta-3); font-weight: 600; }
.rg-autoriza input { margin-top: 2px !important; }
.rg-autoriza a { color: var(--rg-rojo-texto); font-weight: 700; }
.rg-docs { margin: 0; padding: 0; list-style: none; border: 1px solid var(--rg-linea); border-radius: 8px; background: rgba(255, 255, 255, .04); }
.rg-docs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 6px 8px 6px 16px; font-size: 15px; }
.rg-docs li + li { border-top: 1px solid var(--rg-linea); }
.rg-docs li.recibido > span { color: var(--rg-tinta-3); }
.rg-recibido { position: relative; flex: none; cursor: pointer; }
.rg-recibido input { position: absolute; opacity: 0; }
.rg-recibido span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .2); color: var(--rg-tinta-2); font-weight: 700; font-size: 14px; }
.rg-recibido span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; border: 2px solid currentColor; box-sizing: border-box; }
.rg-recibido input:checked + span { background: var(--rg-verde); border-color: var(--rg-verde); color: #fff; }
.rg-recibido input:checked + span::before { border: 0; width: 14px; height: 8px; border-radius: 0; border-left: 2.5px solid; border-bottom: 2.5px solid; transform: rotate(-45deg) translate(1px, -2px); }
.rg-recibido input:focus-visible + span { outline: 2px solid var(--rg-tinta); outline-offset: 2px; }

/* Firma y huella */
.rg-declara { margin: 0 0 18px; padding: 14px 16px; border-radius: 8px; background: var(--rg-suave); font-size: 15px; line-height: 1.5; color: var(--rg-tinta-2); }
.rg-firma-huella { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.rg-caja { display: grid; gap: 10px; align-content: start; }
.rg-caja-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.rg-caja-t b { font-size: 16px; }
.rg-lienzo { position: relative; height: 240px; border: 0; border-radius: 8px; background: #f4f4f2; overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .12), 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 36px -22px rgba(0, 0, 0, .9); }
.rg-lienzo canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair; }
.rg-linea { position: absolute; left: 24px; right: 24px; bottom: 44px; padding-top: 6px; border-top: 1.5px solid rgba(27, 29, 33, .3); color: #5f636b; font-size: 13px; pointer-events: none; }
.rg-lienzo.firmando .rg-linea { color: transparent; }
.rg-huella { display: grid; place-items: center; align-content: center; gap: 10px; height: 240px; box-sizing: border-box; border: 2px dashed rgba(255, 255, 255, .24); border-radius: 8px; background: rgba(255, 255, 255, .04); color: var(--rg-tinta-2); font-weight: 700; cursor: pointer; text-align: center; }
.rg-huella:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .07); color: #fff; }
.rg-huella svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rg-oculto:focus-visible ~ .rg-huella { outline: 2px solid var(--rg-tinta); outline-offset: 2px; }
.rg-oculto { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.rg-huella-img { width: 100%; height: 240px; object-fit: contain; border: 0; border-radius: 8px; background: #f4f4f2; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.rg-caja .rg-nota { margin: 0; font-size: 14px; }

/* Resumen */
.rg-sec { padding: 16px 0; border-top: 1px solid var(--rg-linea); }
.rg-sec:first-child { border-top: 0; padding-top: 0; }
.rg-sec h3 { margin: 0 0 10px; padding: 0; border: 0; }
.rg-sec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; }
.rg-sec dl > div { display: grid; gap: 2px; align-content: start; }
.rg-sec dt { color: var(--rg-tinta-3); font-size: 13px; font-weight: 700; }
.rg-sec dd { margin: 0; font-size: 16px; font-weight: 600; }
.rg-sec dd small { display: block; margin-top: 2px; color: var(--rg-tinta-3); font-size: 13px; font-weight: 600; }
.rg-rojo { color: var(--rg-rojo-texto); }
.rg-alerta { color: var(--rg-alerta-texto); }
.rg-verde { color: var(--rg-verde-texto); }
.rg-firmas { display: flex; flex-wrap: wrap; gap: 20px; }
.rg-firmas figure { margin: 0; display: grid; gap: 6px; }
.rg-firmas img { height: 110px; max-width: 320px; object-fit: contain; border: 1px solid var(--rg-linea); border-radius: 6px; background: #fff; }
.rg-firmas figcaption { color: var(--rg-tinta-3); font-size: 13px; font-weight: 700; }

/* Registrado */
.rg-listo { text-align: center; padding: 20px 0; }
.rg-listo p { max-width: 560px; margin: 0 auto 10px; font-size: 17px; line-height: 1.5; color: var(--rg-tinta-2); }
.rg-ok { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--rg-verde); animation: rg-ok .5s cubic-bezier(.2, 1.4, .4, 1); }
.rg-ok svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rg-ok { from { transform: scale(.4); opacity: 0; } }

/* Pie con los botones fijos */
.rg-pie { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px clamp(12px, 2.4vw, 32px) calc(env(safe-area-inset-bottom, 0px) + 12px);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), rgba(10, 12, 15, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.rg-pie [data-rg-atras][hidden] { display: block !important; visibility: hidden; }
.rg-error { margin: 0; color: #ff7381; font-weight: 700; font-size: 15px; text-align: center; }
.rg-hoja .rg-error { color: #ff7381; }
.rg-b { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 6px; cursor: pointer; font-weight: 800; font-size: 16px; transition: background .2s, transform .1s; }
.rg-b:active { transform: scale(.97); }
.rg-b:disabled { opacity: .6; cursor: progress; }
.rg-b-principal { position: relative; isolation: isolate; background: none; color: var(--sobre-acento, #fff); }
.rg-b-principal::before { content: ""; position: absolute; inset: 0 4px; z-index: -1; border-radius: 5px; transform: skewX(-10deg); background: var(--rg-rojo);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 24px -14px rgba(var(--acento-rgb, 215, 31, 48), .9); transition: background .2s; }
.rg-b-principal:hover::before { background: var(--rg-rojo-hondo); }
.rg-b-principal kbd { padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); font: 700 11px/1.3 var(--cuerpo, Arial, sans-serif); }
.rg-b-sec { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.rg-b-sec:hover { background: rgba(255, 255, 255, .17); }
.rg-b-sec.hecho { background: var(--rg-verde); }
.rg-b-texto { min-height: 44px; padding: 0 14px; background: none; color: var(--rg-tinta-2); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.rg-b-texto:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Aviso al salir sin registrar */
.rg-confirma { position: absolute; inset: 0; z-index: 2; display: grid; align-items: start; justify-items: center; padding: 80px 16px; background: rgba(0, 0, 0, .55); }
.rg-confirma-caja { max-width: 460px; padding: 22px; border-radius: 10px; background: rgba(18, 20, 24, .96); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.rg-confirma-caja p { margin: 0 0 16px; font-size: 17px; font-weight: 700; }
.rg-confirma-caja div { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Tablet vertical y celular */
@media (max-width: 860px) {
  .rg-nom { display: none; }
  .rg-pasos button { justify-content: center; }
  .rg-pasos button.actual .rg-nom { display: block; }
  .rg-pasos ol { display: flex; }
  .rg-pasos li { flex: none; }
  .rg-pasos li:has(.actual) { flex: 1 1 auto; }
  .rg-firma-huella { grid-template-columns: 1fr; }
  .rg-b-principal kbd { display: none; }
}
@media (max-width: 600px) {
  .rg-barra { grid-template-columns: auto minmax(0, 1fr); }
  .rg-cuenta { display: none; }
  .registro .rg-volver { font-size: 0; padding: 0 12px; }
  /* Celular: el nombre del camión puede ir en dos líneas y el total va debajo, siempre visible (no se corta con «…»). */
  .rg-cabeza p { white-space: normal; overflow: visible; font-size: 13px; line-height: 1.3; }
  .rg-cabeza b { display: block; margin-top: 2px; font-size: 15px; }
  .rg-volver svg { width: 24px; height: 24px; }
  .rg-grilla, .rg-sec dl { grid-template-columns: 1fr; }
  .rg-pie { grid-template-columns: auto 1fr; }
  .rg-pie .rg-error { grid-column: 1 / -1; grid-row: 1; }
  .rg-b { padding: 0 16px; }
}
/* Pantalla bajita (tablet o PC acostados con poco alto): menos aire arriba para que quepa la hoja. */
@media (max-height: 620px) {
  .rg-barra { padding-top: 8px; padding-bottom: 6px; }
  .rg-pasos { padding-bottom: 8px; }
  .rg-pasos button { min-height: 42px; }
  .rg-lienzo, .rg-huella, .rg-huella-img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .registro, .rg-ok { transition: none; animation: none; } }
/* Celular acostado (13-11-2026): cabeza y pie más bajos para dejarle alto a la hoja; sin la tecla «Ctrl + Enter» (no hay
   teclado) y el nombre del paso solo en el actual. Los botones siguen de 44 px o más. */
@media (orientation: landscape) and (max-height: 500px) {
  .rg-barra { padding-top: calc(env(safe-area-inset-top, 0px) + 6px); padding-bottom: 4px; gap: 10px; }
  .rg-volver { min-height: 44px; }
  .rg-cabeza h1 { font-size: 17px; }
  .rg-cabeza p { font-size: 12.5px; }
  .rg-pasos { padding-bottom: 6px; }
  .rg-pasos button { min-height: 40px; }
  .rg-pie { padding-top: 6px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6px); }
  .rg-b-principal kbd { display: none; }
}

/* Revisión 13-11-2026: pasos sin números; el actual con relleno inclinado del acento y negrita, sin raya debajo (D-33).
   El atajo Ctrl + Enter no va pintado en el botón: sale en el globo al pasar el cursor (I-66). */
.rg-num { display: none; }
.rg-pasos button, .rg-pasos button.hecho, .rg-pasos button.actual { position: relative; isolation: isolate; justify-content: center; text-align: center; background: none; box-shadow: none; }
.rg-pasos button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 5px; transform: skewX(-10deg); background: rgba(255, 255, 255, .05); }
.rg-pasos button.actual { color: var(--sobre-acento, #fff); }
.rg-pasos button.actual::before { background: var(--rg-rojo); }
.rg-pasos .rg-nom { font-weight: 600; }
.rg-pasos .actual .rg-nom { font-weight: 800; }
@media (max-width: 860px) { .rg-pasos li:not(:has(.actual)) button { min-width: 34px; } }
.rg-b-principal kbd { display: none; }
.rg-b-principal[data-tip]::after { content: attr(data-tip); position: absolute; right: 0; bottom: calc(100% + 8px); padding: 6px 12px; white-space: nowrap; pointer-events: none;
  font: 700 12px/1 var(--cuerpo, Arial, sans-serif); color: #fff; background: #21252b; border-radius: 5px; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .14s; }
.rg-b-principal[data-tip]:hover::after, .rg-b-principal[data-tip]:focus-visible::after { opacity: 1; }
@media (hover: none) { .rg-b-principal[data-tip]::after { display: none; } }
