/* Organizaciones: lo que una organización guarda en un solo lugar y cómo se encuentran los nodos sin un centro.
   Mismo lenguaje que gobierno-mapa.html: nodo = núcleo blanco, halo y agente en órbita; red = bruma con banda
   grabada (violeta la Red 1, verde la Red 2); ámbar = una persona; verde = resuelto. Cada dibujo tiene dos versiones:
   .or-ancho (más de 600 px) y .or-angosto (teléfono, viewBox de 360 para que los rótulos queden en 12 px o más).
   Sin JavaScript o con movimiento reducido, cada figura queda en su estado final; organizacion.js agrega .or-js
   (controles) y .or-anima (movimiento) a cada figura. */

.or-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.or-fig { margin: 0; min-width: 0; position: relative; }
.or-svg { display: block; width: 100%; height: auto; overflow: visible; }
.or-angosto { display: none; }
@media (max-width: 600px) { .or-ancho { display: none; } .or-angosto { display: block; } }
.or-pie { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--texto-2); max-width: 62ch; }

/* ---------- índice en dos filas, cada una con su guía ---------- */
.or-h1 { max-width: 19ch; }
html[data-lang="es"] .or-h1 { max-width: 20ch; }
.or-indice { display: grid; gap: 10px; margin-top: 10px; width: 100%; }
.or-indice-fila { display: flex; align-items: center; gap: 14px; min-width: 0; }
.or-indice-guia { flex: none; font-size: 14px; color: var(--tenue); }
.or-indice-enlaces.indice { margin: 0; gap: 8px; flex-wrap: wrap; min-width: 0; }
.or-indice-enlaces.indice a { font-size: 14px; padding: 6px 13px; white-space: nowrap; }
@media (max-width: 860px) {
  .or-indice-fila { flex-direction: column; align-items: stretch; gap: 8px; }
  .or-indice-enlaces.indice { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 4px; scrollbar-width: none; }
  .or-indice-enlaces.indice::-webkit-scrollbar { display: none; }
}

/* ---------- texto de los dibujos ---------- */
.or-t { font-family: var(--sans); font-size: 12.5px; fill: var(--texto-2); letter-spacing: 0.005em; }
.or-t-mono { font-family: var(--mono); font-size: 12px; fill: #DCE2F0; letter-spacing: 0; }
.or-t-fuerte { fill: var(--texto); }
.or-t-tenue { fill: var(--tenue); }
.or-t-amb { fill: var(--persona); }
.or-t-ok { fill: var(--ok); }
.or-t-red { font-size: 14px; font-weight: 520; letter-spacing: 0.01em; }
.or-c1 { fill: #C3B9FF; } .or-c2 { fill: #9FE6C2; }
.or-t-nodo { fill: var(--texto-2); }
.or-t-centro { font-weight: 600; fill: var(--texto); text-anchor: middle; letter-spacing: -0.01em; }
.or-t-centro2 { fill: var(--texto-2); font-size: 12px; text-anchor: middle; }
.or-t-registro { fill: var(--texto-2); fill-opacity: 0.85; letter-spacing: 0.03em; }
.or-angosto .or-t { font-size: 13px; }
.or-angosto .or-t-mono { font-size: 12.5px; }
.or-angosto .or-t-red { font-size: 14.5px; }

/* ---------- glifos comunes ---------- */
.or-halo { fill: url(#or-g-halo); }
.or-halo2 { fill: url(#or-g-halo2); }
.or-orbita { fill: none; stroke: rgba(161, 147, 255, 0.45); stroke-width: 0.7; }
.or-nodo2 .or-orbita { stroke: rgba(95, 212, 160, 0.45); }
.or-nucleo { fill: #fff; }
.or-agente { fill: #C3B9FF; }
.or-nodo2 .or-agente { fill: #9FE6C2; }
.or-bruma1 { fill: url(#or-g-bruma1); }
.or-bruma2 { fill: url(#or-g-bruma2); }
.or-banda { fill: none; stroke-width: 0.6; stroke-opacity: 0.5; }
.or-canto { fill: none; stroke-width: 5; stroke-opacity: 0.28; stroke-dasharray: 0.6 2.6; }
.or-banda1 { stroke: #C9C1FF; } .or-banda2 { stroke: #A9E8CC; }
.or-persona { fill: var(--persona); filter: drop-shadow(0 0 4px rgba(255, 181, 71, 0.8)); }
.or-msj-v { fill: #C3B9FF; } .or-msj-ok { fill: #9FE6C2; }
.or-movil { opacity: 0; }
.or-camino { fill: none; stroke: none; }
.or-ruta { fill: none; stroke: rgba(214, 220, 240, 0.2); stroke-width: 1; stroke-dasharray: 3 5; }
.or-ruta-tenue { stroke: rgba(214, 220, 240, 0.1); }
.or-sellado { fill: #E9EDF5; }
.or-tilde circle { fill: rgba(95, 212, 160, 0.16); stroke: var(--ok); stroke-width: 1.1; }
.or-tilde path { fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.or-tilde-amb circle { fill: rgba(255, 181, 71, 0.16); stroke: var(--persona); }
.or-tilde-amb path { stroke: var(--persona); }
.or-pedido { fill: none; stroke: var(--persona); stroke-width: 1; stroke-dasharray: 3 3; }
.or-chip-amb { fill: rgba(255, 181, 71, 0.07); stroke: var(--persona); stroke-width: 0.9; }
.or-relay circle:first-child { fill: rgba(12, 18, 34, 0.85); stroke: rgba(214, 220, 240, 0.42); stroke-width: 1; }
.or-relay-c { fill: rgba(214, 220, 240, 0.4); }
.or-puerta rect { fill: rgba(12, 18, 34, 0.75); stroke-width: 1; }
.or-puerta1 rect { stroke: #A193FF; } .or-puerta2 rect { stroke: #5FD4A0; }
.or-registro { fill: none; stroke: rgba(170, 180, 200, 0.35); stroke-width: 1; stroke-dasharray: 4 3; }
.or-seg { fill: var(--panel); stroke: rgba(233, 237, 245, 0.09); stroke-width: 0.75; transition: fill 0.35s, opacity 0.4s; }
.or-disco { fill: var(--panel); stroke: rgba(233, 237, 245, 0.12); stroke-width: 0.75; }
.or-rayos line { stroke: rgba(214, 220, 240, 0.1); stroke-width: 1; transition: stroke 0.35s; }

/* glifos en línea (filas, tablas) */
.or-gl { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: -0.5px; }
.or-gl-persona { background: var(--persona); box-shadow: 0 0 7px rgba(255, 181, 71, 0.6); }
.or-gl-nodo { background: radial-gradient(circle, #fff 0 32%, rgba(161, 147, 255, 0.55) 46%, rgba(161, 147, 255, 0) 72%); }
.or-gl-agente { width: 8px; height: 8px; margin: 0 11px 0 1px; background: #C3B9FF; box-shadow: 0 0 0 2.5px rgba(12, 18, 34, 1), 0 0 0 3.2px rgba(161, 147, 255, 0.5); }
.or-gl-afuera { width: 9px; height: 9px; box-shadow: inset 0 0 0 1.4px #A193FF; }
.or-gl-ok { width: 14px; height: 14px; background: rgba(95, 212, 160, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%235FD4A0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1px var(--ok); }

/* botones de las figuras */
.or-btn-ambar, .or-btn-linea { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 9px; font-size: 14px; font-weight: 560; letter-spacing: -0.005em; transition: background 0.2s, box-shadow 0.2s, opacity 0.3s; }
.or-btn-ambar { background: var(--persona); color: #241500; }
.or-btn-ambar:hover { background: #ffc469; }
.or-btn-linea { color: var(--texto); box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.36); }
.or-btn-linea:hover { box-shadow: inset 0 0 0 0.75px rgba(226, 231, 246, 0.75); background: rgba(233, 237, 245, 0.05); }
.or-btn-ambar:focus-visible, .or-btn-linea:focus-visible { outline: 2px solid var(--agente); outline-offset: 2px; }
.or-btn-ambar[disabled], .or-btn-linea[disabled] { opacity: 0.35; cursor: default; }
.pantalla.or-viva, .pantalla.or-viva * { pointer-events: auto; }
.or-banda .chip { font-size: 12px; }
.pantalla.or-viva { -webkit-user-select: text; user-select: text; }

/* =============================== En un lugar (el centro) =============================== */
.or-centro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: center; }
.or-hub { width: 100%; max-width: 640px; justify-self: center; }
.or-ruta-nodos { fill: none; stroke: rgba(185, 194, 255, 0.16); stroke-width: 0.8; stroke-dasharray: 1.5 5; }
.or-registro-luz { fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; opacity: 0.9; }
.or-ico { color: var(--texto-2); transition: color 0.35s, opacity 0.4s; }
.or-nucleo-luz { fill: url(#or-g-ambar); opacity: 0.35; }
.or-hub .or-seg.on { fill: rgba(161, 147, 255, 0.16); stroke: rgba(161, 147, 255, 0.55); }
.or-hub .or-seg-reglas.on { fill: rgba(255, 181, 71, 0.13); stroke: rgba(255, 181, 71, 0.55); }
.or-hub .or-ico.on { color: var(--texto); }
.or-hub.rayos-on .or-rayos line { stroke: rgba(201, 194, 255, 0.24); }
.or-hub .or-extra { opacity: 0; transition: opacity 0.5s; }
.or-hub.extra-on .or-extra { opacity: 1; }
.or-msj { fill: #C3B9FF; opacity: 0; filter: drop-shadow(0 0 4px rgba(161, 147, 255, 0.9)); }
.or-sellos g { opacity: 0; transition: opacity 0.4s; }
.or-sellos rect { fill: rgba(95, 212, 160, 0.14); stroke: rgba(95, 212, 160, 0.75); stroke-width: 1; }
.or-sellos path { fill: none; stroke: rgba(95, 212, 160, 0.75); stroke-width: 1; }
.or-chips-nube { opacity: 0; transition: opacity 0.4s; }
.or-centro.nube-off .or-seg-nube { opacity: 0.32; }
.or-centro.nube-off .or-ico.or-seg-nube { opacity: 0.35; }
.or-centro.nube-off .or-sellos g, .or-centro.nube-off .or-chips-nube { opacity: 1; }
.or-centro.nube-off .or-capas li.or-capa-nube { opacity: 0.5; }
/* lista de capas: cada fila es una pestaña que enciende su parte del dibujo */
.or-hub-panel { display: grid; gap: 22px; align-content: center; min-width: 0; }
.or-capas { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(161, 147, 255, 0.13); }
.or-capas li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 14px; padding: 13px 4px 14px; border-bottom: 1px solid rgba(161, 147, 255, 0.13); color: var(--texto-2); transition: background 0.3s, opacity 0.4s; border-radius: 2px; }
.or-capas li > svg { grid-row: span 2; width: 20px; height: 20px; margin-top: 2px; color: var(--texto-2); transition: color 0.3s; }
.or-capas b { font-weight: 600; font-size: 16px; letter-spacing: -0.012em; color: var(--texto); line-height: 1.35; }
.or-capas li > span { font-size: 14.5px; line-height: 1.45; color: var(--texto-2); }
.or-js .or-capas li { cursor: pointer; }
.or-capas.con-sel li:not([aria-selected="true"]) b { color: var(--texto-2); }
.or-capas.con-sel li:not([aria-selected="true"]) > span { color: var(--tenue); }
.or-js .or-hub .or-seg { cursor: pointer; }
.or-js .or-capas li[aria-selected="true"] { background: linear-gradient(90deg, rgba(161, 147, 255, 0.08), rgba(161, 147, 255, 0) 80%); box-shadow: inset 2px 0 0 var(--agente); }
.or-js .or-capas li[data-capa="4"][aria-selected="true"] { background: linear-gradient(90deg, rgba(255, 181, 71, 0.08), rgba(255, 181, 71, 0) 80%); box-shadow: inset 2px 0 0 var(--persona); }
.or-js .or-capas li[aria-selected="true"] > svg { color: var(--texto); }
.or-js .or-capas li:hover b { color: var(--texto); }
.or-capas li:focus-visible { outline: 2px solid var(--agente); outline-offset: 2px; }
.or-nube { display: grid; gap: 10px; justify-items: start; }
.or-nube[hidden] { display: none; }
.or-interruptor .or-no, .nube-off .or-interruptor .or-si { display: none; }
.nube-off .or-interruptor .or-no { display: inline; }
.or-nube-estado { font-size: 14.5px; line-height: 1.5; color: var(--ok); max-width: 46ch; min-height: 0; }
@media (max-width: 960px) {
  .or-centro { grid-template-columns: 1fr; }
  .or-hub { max-width: 560px; }
}
@media (max-width: 600px) {
  .or-capas li { padding: 12px 2px 13px; }
  .or-capas b { font-size: 15.5px; }
  .or-capas li > span { font-size: 14px; }
}

/* =============================== Identidades =============================== */
.or-ident { overflow: hidden; }
.or-tabla-id { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.or-tabla-id thead th, .or-tabla-id thead td { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--tenue); padding: 11px 14px 9px; border-bottom: 1px solid rgba(214, 220, 240, 0.1); }
.or-tabla-id tbody th, .or-tabla-id tbody td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid rgba(180, 195, 230, 0.06); color: var(--texto-2); line-height: 1.4; }
.or-tabla-id tbody th[scope="row"] { font-weight: 500; color: var(--texto); white-space: nowrap; }
.or-tabla-id tbody th.mono { font-size: 12.5px; font-weight: 450; }
.or-tabla-id .or-grupo th { padding: 14px 14px 6px; font-size: 12.5px; font-weight: 500; color: var(--tenue); border-bottom: 0; }
.or-tabla-id .or-huella { font-size: 12.5px; color: #DCE2F0; max-width: 17ch; }
.or-tabla-id .or-accion { text-align: right; width: 1%; padding-left: 0; }
.or-revocar { all: unset; cursor: pointer; font-size: 13px; font-weight: 520; color: var(--texto-2); padding: 3px 9px; border-radius: 7px; box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.3); white-space: nowrap; transition: color 0.2s, box-shadow 0.2s; }
.or-revocar:hover { color: var(--texto); box-shadow: inset 0 0 0 0.75px rgba(226, 231, 246, 0.7); }
.or-revocar:focus-visible { outline: 2px solid var(--agente); outline-offset: 2px; }
.or-revocar[aria-pressed="true"] { color: var(--persona); box-shadow: inset 0 0 0 0.75px rgba(255, 181, 71, 0.6); }
.or-debil th, .or-debil td { color: var(--tenue) !important; }
.or-tabla-id tr.revocada th, .or-tabla-id tr.revocada td:not(.or-accion) { color: var(--tenue); text-decoration: line-through; text-decoration-color: rgba(124, 135, 158, 0.7); }
.or-nota-pie { min-height: 14px; padding: 0 14px; font-size: 13.5px; color: var(--persona); }
.or-nota-pie > span { display: block; padding: 12px 0 14px; }
.or-nota-pie > span[hidden] { display: none; }
@media (max-width: 720px) {
  .or-tabla-id thead { display: none; }
  .or-tabla-id, .or-tabla-id tbody { display: block; }
  .or-tabla-id tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgba(180, 195, 230, 0.06); }
  .or-tabla-id tbody th, .or-tabla-id tbody td { padding: 0; border: 0; font-size: 13px; }
  .or-tabla-id tbody th[scope="row"] { grid-column: 1; grid-row: 1; white-space: normal; overflow-wrap: anywhere; }
  .or-tabla-id tbody td:nth-of-type(1) { grid-column: 1; grid-row: 2; margin-top: 3px; padding-left: 20px; }
  .or-tabla-id tbody td:nth-of-type(2) { grid-column: 1; grid-row: 3; margin-top: 2px; padding-left: 20px; color: var(--tenue); }
  .or-tabla-id tbody td:nth-of-type(3) { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .or-tabla-id tbody td:nth-of-type(3):empty { display: none; }
  .or-tabla-id .or-grupo { display: block !important; padding: 14px 12px 2px !important; border-bottom: 0 !important; }
  .or-tabla-id .or-grupo th { display: block; padding: 0; }
  .or-tabla-id .or-huella { max-width: none; }
}

/* =============================== Secretos =============================== */
.or-segmentado { display: inline-flex; padding: 3px; gap: 3px; border-radius: 11px; box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.24); background: rgba(12, 18, 34, 0.4); margin-bottom: 18px; }
.or-segmentado[hidden] { display: none; }
.or-segmentado button { all: unset; cursor: pointer; font-size: 14px; font-weight: 520; color: var(--texto-2); padding: 7px 14px; border-radius: 8px; transition: background 0.25s, color 0.25s; }
.or-segmentado button[aria-pressed="true"] { color: var(--texto); background: rgba(161, 147, 255, 0.16); box-shadow: inset 0 0 0 0.75px rgba(201, 194, 255, 0.6); }
.or-segmentado button:focus-visible { outline: 2px solid var(--agente); outline-offset: 2px; }
.or-boveda { fill: rgba(21, 32, 56, 0.9); stroke: rgba(214, 220, 240, 0.26); stroke-width: 0.75; }
.or-marco { fill: rgba(161, 147, 255, 0.025); stroke: rgba(214, 220, 240, 0.14); stroke-width: 0.75; }
.or-hilo { stroke: rgba(214, 220, 240, 0.28); stroke-width: 1; }
.or-muro { fill: none; stroke: rgba(214, 220, 240, 0.34); stroke-width: 1; stroke-dasharray: 2 4; }
.or-compartimento { fill: rgba(161, 147, 255, 0.06); stroke: rgba(161, 147, 255, 0.45); stroke-width: 1; }
.or-candado rect, .or-candado path { fill: none; stroke: #C3B9FF; stroke-width: 1.3; }
.or-globo { fill: var(--panel); stroke: rgba(214, 220, 240, 0.16); stroke-width: 0.75; }
.or-agente-grande { fill: #C3B9FF; }
.or-destino { fill: rgba(12, 18, 34, 0.7); stroke: rgba(214, 220, 240, 0.3); stroke-width: 0.75; }
.or-pastilla { fill: #E9EDF5; transition: opacity 0.4s; }
.or-dest-otro, .or-sin-valor { display: none; }
.or-secreto[data-modo="otro"] .or-dest-ok { display: none; }
.or-secreto[data-modo="otro"] .or-dest-otro, .or-secreto[data-modo="otro"] .or-sin-valor { display: inline; }
.or-secreto[data-modo="otro"] .or-tilde-dest { opacity: 0; }
.or-secreto[data-modo="otro"] .or-pastilla { opacity: 0.3; }
.or-secreto[data-modo="otro"] .or-tira { opacity: 0; visibility: hidden; }
.or-tira { position: relative; display: grid; gap: 0; margin-top: 18px; padding-right: 104px; border-top: 1px solid rgba(161, 147, 255, 0.13); transition: opacity 0.35s, visibility 0.35s; }
.or-tira p { font-size: 12px; line-height: 1.5; color: var(--texto-2); padding: 9px 0; border-bottom: 1px solid rgba(161, 147, 255, 0.13); }
.or-tira.brilla p { color: var(--texto); }
.or-coinciden { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ok); padding: 3px 10px 3px 8px; border-radius: 999px; box-shadow: inset 0 0 0 0.75px rgba(95, 212, 160, 0.5); background: rgba(95, 212, 160, 0.08); }
.or-coinciden::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
@media (max-width: 600px) {
  .or-segmentado { display: flex; width: 100%; }
  .or-segmentado button { flex: 1; text-align: center; padding: 8px 6px; font-size: 13.5px; }
  .or-tira { padding-right: 0; padding-bottom: 40px; }
  .or-coinciden { top: auto; bottom: 6px; transform: none; }
}

/* =============================== Skills y herramientas =============================== */
.or-via { stroke: rgba(214, 220, 240, 0.22); stroke-width: 1; }
.or-estacion rect { fill: var(--noche-2); stroke: rgba(214, 220, 240, 0.28); stroke-width: 0.75; transition: stroke 0.3s, fill 0.3s; }
.or-estacion.on rect { stroke: rgba(201, 194, 255, 0.8); fill: rgba(161, 147, 255, 0.12); }
.or-estacion text { fill: var(--texto); }
.or-abanico { fill: none; stroke: rgba(214, 220, 240, 0.13); stroke-width: 1; }
.or-paquete rect { fill: var(--panel); stroke: rgba(201, 194, 255, 0.6); stroke-width: 0.9; }
.or-copia-skill { fill: rgba(201, 194, 255, 0.85); opacity: 0; }
.or-sha { transition: opacity 0.5s; }
.or-sha-deriva { fill: var(--tenue); }
.or-deriva { transition: opacity 0.5s; }
.or-tilde.vacia circle { fill: none; stroke: rgba(214, 220, 240, 0.28); }
.or-tilde.vacia path { opacity: 0; }

/* =============================== Conocimiento =============================== */
.or-conoc { display: grid; gap: 14px; min-width: 0; }
.or-pagina-fig { position: relative; }
.or-conoc-cuerpo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.or-pagina-fig .pantalla-titulo { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.or-pagina { padding: 20px 20px 22px; display: grid; align-content: start; gap: 12px; }
.or-propuesta { display: grid; gap: 8px; padding: 14px 14px 14px; border-radius: 11px; background: rgba(12, 18, 34, 0.5); box-shadow: inset 0 0 0 0.75px rgba(161, 147, 255, 0.3); transition: opacity 0.4s; }
.or-prop-titulo { font-size: 13px; color: var(--texto-2); }
.or-prop-titulo .mono { color: #C3B9FF; font-size: 12.5px; }
.or-dif { display: grid; grid-template-columns: 14px minmax(0, 1fr); font-size: 14.5px; line-height: 1.45; }
.or-dif-signo { font-family: var(--mono); }
.or-dif-menos { color: var(--tenue); }
.or-dif-menos > span:last-child { text-decoration: line-through; text-decoration-color: rgba(124, 135, 158, 0.6); }
.or-dif-mas { color: var(--ok); }
.or-prop-botones { display: flex; gap: 8px; margin-top: 6px; }
.or-prop-botones[hidden] { display: none; }
.or-parrafo { font-size: 15.5px; line-height: 1.5; color: var(--texto); }
.or-historia { padding: 18px 16px 18px; border-left: 1px solid rgba(214, 220, 240, 0.08); background: rgba(12, 18, 34, 0.18); }
.or-historia-titulo { font-size: 12.5px; color: var(--tenue); margin-bottom: 6px; }
.or-historia ol { list-style: none; margin: 0; padding: 0; }
.or-rev { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 1px 0; padding: 9px 0; border-bottom: 1px solid rgba(180, 195, 230, 0.07); }
.or-rev .or-gl { grid-row: span 2; margin: 4px 0 0; }
.or-rev .or-gl-ok { width: 13px; height: 13px; background-size: 13px; margin-top: 3px; }
.or-rev .or-gl-agente { margin: 5px 0 0 2px; }
.or-rev b { font-weight: 450; font-size: 12px; color: var(--texto); overflow-wrap: anywhere; }
.or-rev > span { font-size: 12.5px; color: var(--tenue); }
.or-rev-nueva { animation: none; }
.or-conoc[data-estado="pendiente"] .or-parrafo, .or-conoc[data-estado="firmando"] .or-parrafo, .or-conoc[data-estado="rechazada"] .or-parrafo { display: none; }
.or-conoc[data-estado="pendiente"] .or-rev-nueva, .or-conoc[data-estado="firmando"] .or-rev-nueva, .or-conoc[data-estado="rechazada"] .or-rev-nueva { display: none; }
.or-conoc[data-estado="aceptada"] .or-propuesta { display: none; }
.or-conoc[data-estado="rechazada"] .or-propuesta { opacity: 0.45; }
.or-conoc.recien .or-rev-nueva { animation: or-recien 1.6s var(--ease); }
@keyframes or-recien { from { background: rgba(95, 212, 160, 0.16); } to { background: transparent; } }
.or-hoja { position: absolute; left: 50%; bottom: 16px; width: min(300px, calc(100% - 32px)); transform: translate(-50%, 0); padding: 12px 16px 16px; border-radius: 20px; background: linear-gradient(160deg, #1d2945, #0f1729 70%); box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.45), 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(255, 181, 71, 0.35); display: grid; justify-items: center; gap: 8px; text-align: center; transition: transform 0.4s var(--ease), opacity 0.35s; }
.or-hoja[hidden] { display: none; }
.or-hoja.entra { transform: translate(-50%, 20px); opacity: 0; }
.or-hoja.firma { box-shadow: 0 0 0 1.5px var(--persona), 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 60px 0 rgba(255, 181, 71, 0.6); }
.or-hoja-asa { width: 34px; height: 4px; border-radius: 2px; background: rgba(233, 237, 245, 0.2); }
.or-hoja-llave { width: 26px; height: 26px; fill: none; stroke: var(--persona); stroke-width: 1.5; stroke-linecap: round; }
.or-hoja p { font-size: 14.5px; line-height: 1.4; color: var(--texto); }
.or-busqueda { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 4px 2px; }
.or-campo { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 9px; box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.26); background: rgba(12, 18, 34, 0.45); font-size: 14px; color: var(--texto); }
.or-campo svg { width: 16px; height: 16px; fill: none; stroke: var(--texto-2); stroke-width: 1.5; stroke-linecap: round; }
.or-resultados { font-size: 14px; color: var(--texto-2); }
.or-solo { font-size: 14px; color: var(--tenue); }
@media (max-width: 600px) {
  .or-conoc-cuerpo { grid-template-columns: 1fr; }
  .or-historia { border-left: 0; border-top: 1px solid rgba(214, 220, 240, 0.08); }
  .or-pagina { padding: 16px; }
  .or-pagina-fig .pantalla-titulo { font-size: 13px; }
}

/* =============================== Reglas y versiones =============================== */
.or-reglas { display: grid; justify-items: stretch; }
.or-doc { position: relative; padding: 18px 20px 18px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 36px 90px -46px rgba(0, 0, 0, 0.95), 0 0 0 0.75px rgba(214, 220, 240, 0.16); display: grid; gap: 10px; }
.or-doc-cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(214, 220, 240, 0.08); }
.or-doc-cabeza .mono { font-size: 14px; color: var(--texto); }
.or-doc-red { font-size: 13px; color: #C3B9FF; }
.or-doc-dif { display: grid; gap: 3px; padding: 4px 0; }
.or-doc-dif .or-dif { font-size: 13px; line-height: 1.5; grid-template-columns: 18px minmax(0, 1fr); }
.or-doc-dif .or-dif-menos { text-decoration: none; }
.or-doc-propone { font-size: 13.5px; color: #C3B9FF; }
.or-doc-propone .mono { font-size: 13px; }
.or-doc-resumen { font-size: 13.5px; color: var(--tenue); }
.or-doc-resumen q { color: var(--texto-2); quotes: '“' '”'; }
html[data-lang="es"] .or-doc-resumen q { quotes: '«' '»'; }
.or-firmas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 6px; }
.or-firma { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--persona); padding: 4px 11px 4px 6px; border-radius: 999px; box-shadow: inset 0 0 0 0.75px rgba(255, 181, 71, 0.55); background: rgba(255, 181, 71, 0.08); transition: background 0.3s, box-shadow 0.3s, color 0.3s; }
.or-firma-tilde { width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 181, 71, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.2l2.2 2.2 4.4-4.8' fill='none' stroke='%23FFB547' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: inset 0 0 0 1px var(--persona); }
.or-firma.vacia { color: var(--tenue); background: transparent; box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.22); }
.or-firma.vacia .or-firma-tilde { background: none; box-shadow: inset 0 0 0 1px rgba(214, 220, 240, 0.3); }
.or-firma-tag { font-size: 12.5px; color: var(--tenue); margin-left: 2px; }
.or-bajada { position: relative; height: 34px; margin: 0 auto; width: 1px; background: linear-gradient(rgba(201, 194, 255, 0.4), rgba(201, 194, 255, 0.1)); }
.or-bajada i { position: absolute; left: -3.5px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #C3B9FF; box-shadow: 0 0 10px 2px rgba(161, 147, 255, 0.8); opacity: 0; }
.or-nodos-filas { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(161, 147, 255, 0.14); }
.or-nodos-filas li { display: grid; grid-template-columns: 76px 128px minmax(0, 1fr); align-items: baseline; gap: 4px 14px; padding: 12px 2px; border-bottom: 1px solid rgba(161, 147, 255, 0.12); font-size: 14px; }
.or-nf-nodo { font-size: 13px; color: var(--texto); }
.or-nf-reglas { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); white-space: nowrap; transition: color 0.35s; }
.or-nf-tilde { width: 14px; height: 14px; flex: none; border-radius: 50%; align-self: center; background: rgba(95, 212, 160, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%235FD4A0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1px var(--ok); transition: opacity 0.35s; }
.or-nodos-filas li.espera .or-nf-reglas { color: var(--tenue); }
.or-nodos-filas li.espera .or-nf-tilde { opacity: 0; }
.or-nodos-filas li.llega { animation: or-recien 1.2s var(--ease); }
.or-nf-run { display: inline-flex; align-items: baseline; gap: 8px; color: var(--texto-2); line-height: 1.4; }
.or-nf-run::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-1px); }
.or-run-ok::before { background: var(--ok); }
.or-run-atras::before { background: var(--tenue); }
.or-run-exc::before { background: var(--persona); }
@media (max-width: 600px) {
  .or-doc { padding: 16px; }
  .or-doc-dif .or-dif { font-size: 12.5px; }
  .or-nodos-filas li { grid-template-columns: auto minmax(0, 1fr); }
  .or-nf-run { grid-column: 1 / -1; font-size: 13.5px; }
}

/* =============================== Registro =============================== */
.or-copias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.or-copia { display: grid; gap: 12px; align-content: start; min-width: 0; overflow: hidden; }
.or-copia-titulo { display: flex; align-items: center; font-size: 14px; font-weight: 560; color: var(--texto); }
.or-copia-titulo .or-gl { margin-right: 9px; }
.or-cadena-ventana { position: relative; overflow: hidden; height: calc(6 * 48px + 5 * 10px); -webkit-mask: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 4px), transparent); mask: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 4px), transparent); }
.or-cadena { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.or-cadena.desliza { transition: transform 0.7s var(--ease); transform: translateY(-58px); }
.or-e { position: relative; height: 48px; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border-radius: 8px; background: var(--panel); box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.1), inset 3px 0 0 var(--c, var(--tenue)); font-size: 12.5px; line-height: 1.3; color: var(--texto-2); transition: background 0.3s, color 0.3s; }
.or-e + .or-e::before { content: ''; position: absolute; left: 50%; top: -11px; height: 10px; width: 1px; background: rgba(214, 220, 240, 0.22); }
.or-e-txt { min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.or-e-persona { --c: var(--persona); } .or-e-agente { --c: var(--agente); } .or-e-ok { --c: var(--ok); } .or-e-tenue { --c: #3a4560; color: var(--tenue); }
.or-retirada { flex: none; margin-left: auto; font-size: 12px; color: var(--tenue); padding: 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 0.75px rgba(124, 135, 158, 0.5); }
.or-copia-pie { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; }
.or-hash { font-size: 12.5px; color: var(--texto); transition: color 0.3s; }
.or-mismo { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.or-mismo-tilde { width: 14px; height: 14px; border-radius: 50%; background: rgba(95, 212, 160, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%235FD4A0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 0 0 0 1px var(--ok); }
.or-copia.alterada .or-hash { color: var(--tenue); }
.or-copia.alterada .or-mismo { visibility: hidden; }
.or-e.alterada { background: rgba(255, 181, 71, 0.06); color: var(--texto); box-shadow: inset 0 0 0 0.75px rgba(255, 181, 71, 0.45), inset 3px 0 0 var(--persona); }
.or-e.alterada::before, .or-e.alterada + .or-e::before { height: 4px; top: -11px; }
.or-e.alterada + .or-e::after, .or-e.alterada::after { content: ''; }
.or-control { display: grid; gap: 10px; justify-items: start; margin-top: 22px; }
.or-control[hidden] { display: none; }
.or-alterar .or-no, .alterada-on .or-alterar .or-si { display: none; }
.alterada-on .or-alterar .or-no { display: inline; }
.or-control-estado { font-size: 14.5px; line-height: 1.5; color: var(--persona); max-width: 52ch; }
@media (max-width: 600px) {
  .or-copias { grid-template-columns: 74px minmax(0, 1fr) 74px; gap: 10px; }
  .or-copia[data-copia="a"] .or-e-txt, .or-copia[data-copia="c"] .or-e-txt, .or-copia[data-copia="a"] .or-retirada, .or-copia[data-copia="c"] .or-retirada { display: none; }
  .or-copia[data-copia="a"] .or-e, .or-copia[data-copia="c"] .or-e { padding: 0; }
  .or-copia-titulo { font-size: 13px; }
  .or-copia[data-copia="a"] .or-copia-titulo .or-gl, .or-copia[data-copia="c"] .or-copia-titulo .or-gl { display: none; }
  .or-copia-pie { gap: 4px 8px; }
  .or-copia[data-copia="a"] .or-mismo-txt, .or-copia[data-copia="c"] .or-mismo-txt { display: none; }
  .or-hash { font-size: 12px; }
}

/* =============================== Sin centro =============================== */
.or-mini .or-seg { stroke: rgba(233, 237, 245, 0.1); }
.or-mini .or-registro { stroke-dasharray: 3 3; }
.or-fantasma { fill: rgba(12, 18, 34, 0.4); stroke: rgba(124, 135, 158, 0.6); stroke-width: 1; stroke-dasharray: 3 4; }
.or-sin-centro .or-ancho { max-width: 1200px; margin: 0 auto; }
.or-sin-centro .or-angosto { max-width: 420px; margin: 0 auto; }
.or-sin-centro .or-pie { margin-left: auto; margin-right: auto; text-align: center; }

/* =============================== Encontrar un nodo =============================== */
.or-encontrar { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "formas tarjeta" "pie pie"; gap: 0 64px; align-items: start; }
.or-formas { grid-area: formas; position: relative; min-width: 0; }
.or-formas::before { content: ''; position: absolute; left: 0; top: 38px; bottom: 0; width: 3px; border-radius: 2px; background: linear-gradient(to bottom, var(--agente), rgba(161, 147, 255, 0.45) 45%, rgba(124, 135, 158, 0.25)); }
.or-formas-cabeza, .or-formas-lista li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 4px 24px; padding-left: 22px; }
.or-formas-cabeza { font-size: 13px; color: var(--tenue); padding-bottom: 12px; border-bottom: 1px solid rgba(161, 147, 255, 0.16); }
.or-formas-lista { list-style: none; margin: 0; padding: 0; }
.or-formas-lista li { position: relative; padding-top: 15px; padding-bottom: 16px; border-bottom: 1px solid rgba(161, 147, 255, 0.12); font-size: 15px; color: var(--texto-2); line-height: 1.45; transition: background 0.3s; }
.or-formas-lista b { font-weight: 600; color: var(--texto); letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.or-por-defecto { font-style: normal; font-weight: 500; font-size: 12px; color: var(--tenue); padding: 0 8px; border-radius: 999px; box-shadow: inset 0 0 0 0.75px rgba(124, 135, 158, 0.45); line-height: 20px; }
.or-forma-opcional { border-top: 1px dashed rgba(161, 147, 255, 0.28); margin-top: -1px; }
.or-forma-opcional, .or-forma-opcional b { color: var(--tenue) !important; }
.or-js .or-formas-lista li { cursor: pointer; }
.or-js .or-formas-lista li > span { color: var(--tenue); transition: color 0.3s; }
.or-js .or-formas-lista li[aria-selected="true"] { background: linear-gradient(90deg, rgba(161, 147, 255, 0.09), rgba(161, 147, 255, 0) 85%); }
.or-js .or-formas-lista li[aria-selected="true"] > span { color: var(--texto); }
.or-js .or-formas-lista li.or-forma-opcional[aria-selected="true"] > span { color: var(--texto-2); }
.or-formas-lista li:focus-visible { outline: 2px solid var(--agente); outline-offset: -2px; }
.or-conector { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.or-conector path { fill: none; stroke: rgba(201, 194, 255, 0.55); stroke-width: 1; }
.or-conector circle { fill: #C3B9FF; opacity: 0; }
.or-conector.on circle { opacity: 1; }
.or-tarjeta { grid-area: tarjeta; position: relative; z-index: 2; margin-top: 38px; padding: 18px 20px 18px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 36px 90px -46px rgba(0, 0, 0, 0.95), 0 0 0 0.75px rgba(214, 220, 240, 0.18); min-width: 0; transition: transform 0.45s var(--ease); }
.or-tarjeta.empuja { transform: translateX(8px); transition-duration: 0.18s; }
.or-tarjeta-pestanas { display: flex; gap: 3px; padding: 3px; margin: -4px -6px 14px; border-radius: 10px; background: rgba(12, 18, 34, 0.5); box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.14); }
.or-tarjeta-pestanas[hidden] { display: none; }
.or-tarjeta-pestanas button { all: unset; cursor: pointer; flex: 1; text-align: center; font-size: 13.5px; font-weight: 520; color: var(--texto-2); padding: 6px 8px; border-radius: 7px; }
.or-tarjeta-pestanas button[aria-selected="true"] { color: var(--texto); background: rgba(161, 147, 255, 0.15); box-shadow: inset 0 0 0 0.75px rgba(201, 194, 255, 0.5); }
.or-tarjeta-pestanas button:focus-visible { outline: 2px solid var(--agente); outline-offset: 1px; }
.or-tc { display: grid; gap: 12px; }
.or-tc + .or-tc { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(214, 220, 240, 0.08); }
.or-js .or-tc + .or-tc { margin-top: 0; padding-top: 0; border-top: 0; }
.or-tc[hidden] { display: none; }
.or-tc-titulo { font-size: 15px; font-weight: 600; color: var(--texto); }
.or-js .or-tc-titulo { display: none; }
.or-tc-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 12px; align-items: start; }
.or-tc-datos { display: grid; gap: 6px; font-size: 14px; color: var(--texto-2); }
.or-tc-id { font-size: 15px; color: var(--texto); }
.or-tc-huella { font-size: 12.5px; color: #DCE2F0; line-height: 1.5; padding-bottom: 4px; }
.or-qr { width: 56px; height: 56px; fill: rgba(233, 237, 245, 0.78); padding: 6px; border-radius: 8px; background: rgba(233, 237, 245, 0.06); box-shadow: inset 0 0 0 0.75px rgba(214, 220, 240, 0.18); }
.or-tc-firma { display: flex; align-items: center; font-size: 14px; color: var(--ok); padding-top: 12px; border-top: 1px solid rgba(214, 220, 240, 0.08); }
.or-tc-firma .or-gl { margin-right: 9px; }
.or-dirs { margin: 0; display: grid; }
.or-dirs > div { padding: 10px 0 11px; border-bottom: 1px solid rgba(214, 220, 240, 0.07); display: grid; gap: 4px; }
.or-dirs > div:first-child { padding-top: 0; }
.or-dirs > div:last-child { border-bottom: 0; padding-bottom: 0; }
.or-dirs dt { font-size: 12.5px; color: var(--tenue); }
.or-dirs dd { margin: 0; display: grid; gap: 3px; }
.or-dir { font-size: 13.5px; color: var(--texto); overflow-wrap: anywhere; }
.or-dir u { text-decoration: none; padding-bottom: 2px; }
.or-u-nombre { box-shadow: inset 0 -1.5px 0 rgba(161, 147, 255, 0.85); }
.or-u-nodo { box-shadow: inset 0 -1.5px 0 rgba(214, 220, 240, 0.6); }
.or-dir-nota { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 13px; line-height: 1.45; color: var(--texto-2); }
.or-dir-nota .mono { font-size: 12.5px; color: #DCE2F0; overflow-wrap: anywhere; }
.or-marca { flex: none; width: 12px; height: 1.5px; transform: translateY(-4px); }
.or-marca-nombre { background: rgba(161, 147, 255, 0.85); } .or-marca-nodo { background: rgba(214, 220, 240, 0.6); }
.or-chip-comparar { font-size: 12.5px; color: var(--persona); padding: 0 8px; border-radius: 999px; box-shadow: inset 0 0 0 0.75px rgba(255, 181, 71, 0.6); line-height: 20px; }
.or-tenue { color: var(--tenue); }
.or-dir-ok { color: var(--ok); align-items: center; }
.or-dir-ok .or-gl { width: 13px; height: 13px; background-size: 13px; margin-right: 2px; }
.or-encontrar > .or-pie { grid-area: pie; margin-top: 22px; }
@media (max-width: 960px) {
  .or-encontrar { grid-template-columns: 1fr; grid-template-areas: "tarjeta" "formas" "pie"; gap: 28px; }
  .or-tarjeta { margin-top: 0; max-width: 460px; }
  .or-conector { display: none; }
  .or-encontrar > .or-pie { margin-top: 0; }
}
@media (max-width: 600px) {
  .or-formas-cabeza, .or-formas-lista li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3px 16px; padding-left: 16px; }
  .or-formas-cabeza > span:first-child { display: none; }
  .or-formas-cabeza { font-size: 12.5px; }
  .or-formas::before { top: 32px; }
  .or-formas-lista li { font-size: 13.5px; padding-top: 12px; padding-bottom: 13px; }
  .or-formas-lista b { grid-column: 1 / -1; font-size: 15px; }
}

/* =============================== Vínculos =============================== */
.or-tel-marco { fill: rgba(12, 18, 34, 0.82); stroke: rgba(255, 181, 71, 0.55); stroke-width: 0.9; }
.or-tel-asa { fill: rgba(233, 237, 245, 0.16); }
.or-pila rect { fill: var(--panel); stroke: rgba(214, 220, 240, 0.24); stroke-width: 0.75; }
.or-pila .or-recibo { fill: rgba(95, 212, 160, 0.2); stroke: var(--ok); stroke-width: 0.9; }
.or-sello circle { fill: rgba(255, 181, 71, 0.18); stroke: var(--persona); stroke-width: 1.1; }
.or-sello path { fill: none; stroke: var(--persona); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.or-pasos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; border-top: 1px solid rgba(161, 147, 255, 0.14); }
.or-pasos li { display: grid; align-content: start; gap: 4px; padding: 13px 0 4px; font-size: 13.5px; line-height: 1.45; color: var(--texto-2); transition: opacity 0.35s; }
.or-pasos b { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--texto); }
.or-paso-punto { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px var(--texto-2); transition: background 0.3s, box-shadow 0.3s; }
.or-js .or-pasos li { cursor: pointer; }
.or-pasos.con-paso li:not([aria-current="step"]) { opacity: 0.55; }
.or-js .or-pasos li[aria-current="step"] .or-paso-punto { background: var(--agente); box-shadow: 0 0 8px var(--agente); }
.or-pasos li:focus-visible { outline: 2px solid var(--agente); outline-offset: 2px; }
.or-vinculo [data-paso-el], .or-apagado [data-paso-el] { transition: opacity 0.45s; }
@media (max-width: 600px) {
  .or-pasos { grid-template-columns: 1fr; }
  .or-pasos li { grid-template-columns: 112px minmax(0, 1fr); column-gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(161, 147, 255, 0.1); }
  .or-pasos li > b { grid-row: span 3; align-self: start; }
  .or-pasos li > span { grid-column: 2; }
}

/* =============================== Desconocidos =============================== */
.or-puerta-escena { position: relative; }
.or-bandeja { fill: rgba(255, 181, 71, 0.05); stroke: rgba(255, 181, 71, 0.75); stroke-width: 1; }
.or-desconocido { fill: none; stroke: #A193FF; stroke-width: 1.3; }
.or-sobre rect:first-child { fill: #1B2744; stroke: rgba(214, 220, 240, 0.7); stroke-width: 0.9; }
.or-sobre > path { fill: none; stroke: rgba(214, 220, 240, 0.55); stroke-width: 0.9; }
.or-estampa { fill: #C3B9FF; }
.or-cinta { fill: none; stroke: #C3B9FF; stroke-width: 1.4; }
.or-sobre-2 { opacity: 0.4; }
.or-sobre.rechazado { opacity: 0.35; }
.or-chip-paso { transition: opacity 0.4s; }
.or-movil-tel { position: absolute; left: 29%; top: 2%; width: 25%; padding: 12px 14px 14px; border-radius: 18px; background: linear-gradient(160deg, #1d2945, #0f1729 70%); box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.5), 0 24px 50px -20px rgba(0, 0, 0, 0.9); display: grid; gap: 8px; }
.or-mt-de { font-size: 12.5px; line-height: 1.4; color: var(--texto-2); }
.or-mt-de .mono { font-size: 12px; color: var(--texto); }
.or-mt-msj { font-size: 14.5px; line-height: 1.35; color: var(--texto); font-weight: 520; }
.or-mt-botones { display: grid; gap: 6px; margin-top: 2px; }
.or-mt-botones[hidden] { display: none; }
.or-mt-botones button { min-height: 32px; font-size: 13px; padding: 0 10px; }
.or-hechos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.or-hechos li { padding: 10px 0 11px; font-size: 14px; line-height: 1.4; color: var(--texto-2); border-top: 1px solid rgba(161, 147, 255, 0.14); }
.or-hechos li:last-child { grid-column: 1 / -1; border-bottom: 1px solid rgba(161, 147, 255, 0.14); }
@media (max-width: 960px) { .or-movil-tel { width: 28%; } }
@media (max-width: 600px) {
  .or-movil-tel { position: static; width: auto; margin: 14px 0 0; }
  .or-mt-botones { grid-template-columns: 1fr 1fr; }
  .or-hechos { grid-template-columns: 1fr; }
  .or-hechos li { font-size: 13.5px; }
}

/* =============================== Sin conexión =============================== */
.or-relay-casilla circle { fill: rgba(12, 18, 34, 0.9); }
.or-ranura { fill: none; stroke: rgba(214, 220, 240, 0.35); stroke-width: 0.9; stroke-dasharray: 2 2; }
.or-ruta-punteada { stroke-dasharray: 1.5 4; }
.or-apagado [data-receptor] { transition: opacity 0.5s; }
.or-apagado.receptor-off [data-receptor] { opacity: 0.35; }
.or-apagado:not(.receptor-off) .or-apagada { opacity: 0; }
.or-apagada { transition: opacity 0.4s; }
.or-pasos-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.or-ve { margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.or-ve > div { padding: 10px 0; border-top: 1px solid rgba(161, 147, 255, 0.12); }
.or-ve dt { font-size: 13px; color: var(--tenue); }
.or-ve dd { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--texto-2); }
@media (max-width: 960px) { .or-pasos-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .or-pasos-4 { grid-template-columns: 1fr; } .or-ve { grid-template-columns: 1fr; } }

/* ---------- movimiento reducido: todo quieto, en su estado final ---------- */
@media (prefers-reduced-motion: reduce) {
  .or-movil, .or-msj { display: none; }
  .or-tarjeta, .or-cadena.desliza, .or-hoja { transition: none !important; }
}
