/* =============================================================================
 * citations.css — swap de versiones bíblicas (Rebanada 2, individual)
 * Reutiliza tokens de styles.css (--s-*, --r-*, --color-*) y la base .modal.
 * Cargar después de styles.css.
 * ============================================================================= */

.citations-modal .modal-content {
  max-width: 960px;
  width: calc(100vw - var(--s-7));
  max-height: calc(100vh - var(--s-7));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: var(--s-6);
}

.citations-modal .modal-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.citations-modal-head h3 {
  margin: 0 0 var(--s-1) 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--text);
}

.citations-modal-head p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-sm);
}

.citations-modal-status {
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.citations-modal-status[data-state="error"] {
  color: var(--bad);
}

.citations-inventory {
  margin: 0 0 var(--s-2) 0;
  font-size: var(--fs-xs);
  color: var(--text-3);
}

/* Lista de citas ------------------------------------------------------------ */

.citation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.citation-empty {
  margin: 0;
  padding: var(--s-4);
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  color: var(--text-3);
  font-size: var(--fs-sm);
}

.citation-row {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: var(--s-3) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.citation-row-head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.citation-ref {
  font-weight: 600;
  color: var(--text);
}

.citation-current {
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.citation-raw {
  margin: 0;
  padding: var(--s-2) var(--s-3);
  background: var(--surface-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
}

/* Elegibilidad por niveles (rediseño reference-anchored) -------------------- */

/* tier-2 (verbatim_referenceless): swappable individual, pero hay que verificar
   el versículo porque no tiene referencia adyacente. Aviso ámbar discreto. */
.citation-tier2-warning {
  margin: 0;
  padding: var(--s-1) var(--s-3);
  background: var(--warn-soft);
  border-left: 3px solid var(--warn);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  color: var(--warn-strong);
}

/* not_swappable: cita protegida / no editable de versión. Sin botones. */
.citation-protected {
  margin: 0;
  padding: var(--s-1) var(--s-3);
  background: var(--bible-soft);
  border-left: 3px solid var(--bible-rule);
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  color: var(--bible);
}

/* Columnas / botones de versión -------------------------------------------- */

.citation-swap-cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
}

.citation-swap-cols .bible-version-col.disabled {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 4px var(--s-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-3);
  font-size: var(--fs-xs);
  color: var(--text-3);
}

.citation-swap-cols .swap-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 6px var(--s-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), box-shadow var(--t-fast);
}

.citation-swap-cols .swap-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

/* Primario — «Cambiar a X»: azul marino Poiema, igual que la acción principal
   del panel de decisión (.btn-primary). Antes el .swap-btn no definía fondo y
   caía al botón gris nativo del navegador. */
.citation-swap-cols .swap-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(12, 50, 93, 0.22);
}

.citation-swap-cols .swap-btn.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--text-on-accent);
  box-shadow: 0 2px 8px rgba(12, 50, 93, 0.32);
}

/* «Volver al original»: acción de revert para citas cuya versión detectada no es
   swappable (UNKNOWN/empate). Secundaria/ghost (borde discontinuo = deshacer),
   visualmente distinta de los botones primarios «Cambiar a X». */
.citation-swap-cols .swap-btn.revert {
  background: var(--surface);
  border: 1px dashed var(--border);
  color: var(--text-2);
}

.citation-swap-cols .swap-btn.revert:hover {
  background: var(--surface-2);
}

/* Badges -------------------------------------------------------------------- */

.badge-current,
.badge-disabled,
.badge-modified {
  font-size: var(--fs-micro);
  padding: 1px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
}

.badge-current {
  background: var(--ok);
  color: #fff;
}

.badge-disabled {
  background: var(--surface-3);
  color: var(--text-3);
  font-style: italic;
}

.badge-modified {
  background: var(--warn-soft);
  color: var(--warn-strong);
}

/* Diff palabra a palabra ---------------------------------------------------- */

.bible-diff-box {
  padding: var(--s-2) var(--s-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.bible-diff-box h4 {
  margin: 0 0 var(--s-1) 0;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

.diff-content {
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text);
}

.diff-equal {
  color: var(--text-2);
}

.diff-added {
  background: var(--ok-soft);
  color: var(--ok);
  padding: 0 2px;
  border-radius: 2px;
  text-decoration: underline;
  text-decoration-color: var(--ok);
  text-underline-offset: 2px;
}

.diff-removed {
  background: var(--bad-soft);
  color: var(--bad);
  padding: 0 2px;
  border-radius: 2px;
  text-decoration: line-through;
  text-decoration-color: var(--bad);
}

.diff-empty {
  color: var(--text-3);
  font-style: italic;
}

/* Cambio masivo de versión (Rebanada 3) ------------------------------------- */

.bulk-swap {
  padding: var(--s-4);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.bulk-swap h4 {
  margin: 0;
  font-size: var(--fs-ui);
  font-weight: 600;
  color: var(--text);
}

.bulk-swap-help {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.bulk-swap-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--s-3);
}

.bulk-field {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  font-size: var(--fs-xs);
  color: var(--text-2);
}

.bulk-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 160px;
  padding: 8px var(--s-6) 8px var(--s-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background-color: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: var(--fs-sm);
  cursor: pointer;
  /* Chevron propio (gris --text-3) en vez de la flecha nativa del SO, que
     rompía la estética SaaS. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-2) center;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.bulk-select:hover {
  border-color: var(--border-strong);
}

.bulk-select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}

.bulk-arrow {
  align-self: center;
  padding-bottom: 8px;
  font-size: var(--fs-h3);
  color: var(--text-3);
}

.bulk-swap-status {
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.bulk-swap-status[data-state="error"] {
  color: var(--bad);
}

.bulk-swap-status[data-state="warn"] {
  color: var(--warn-strong);
}

.bulk-swap-result {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  font-size: var(--fs-sm);
  color: var(--text);
}

.bulk-swap-result p {
  margin: 0;
}

.bulk-result-skipped {
  color: var(--text-3);
  font-size: var(--fs-xs);
}

/* tier-2 excluidas del masivo: aviso ámbar (cámbialas una a una). */
.bulk-result-tier2 {
  margin: 0;
  padding: var(--s-1) var(--s-2);
  background: var(--warn-soft);
  border-radius: var(--r-sm);
  color: var(--warn-strong);
  font-size: var(--fs-xs);
}

.bulk-swap-confirm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px dashed var(--border);
  font-size: var(--fs-sm);
  color: var(--text-2);
}

.bulk-token-input {
  padding: 6px var(--s-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  color: var(--text);
}

.bulk-token-input:disabled {
  background: var(--surface-3);
  color: var(--text-faint);
  cursor: not-allowed;
}

/* Botones del modal (Previsualizar · Aplicar cambio masivo · Cerrar) —
   enganchados al design system de Cuervo. NO dependen del scope
   .modal-actions: los del cambio masivo viven fuera de él, así que antes
   revertían al botón gris nativo del navegador (causa raíz del «se ve feo»). */
.citations-modal #bulk-preview-btn,
.citations-modal #bulk-apply-btn,
.citations-modal .modal-actions button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 8px var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), box-shadow var(--t-fast);
}

.citations-modal #bulk-preview-btn:hover,
.citations-modal .modal-actions button:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

/* Primario del masivo — azul marino Poiema. */
.citations-modal #bulk-apply-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(12, 50, 93, 0.22);
}

.citations-modal #bulk-apply-btn:not([disabled]):hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--text-on-accent);
  box-shadow: 0 2px 8px rgba(12, 50, 93, 0.32);
}

.citations-modal #bulk-apply-btn[disabled] {
  background: var(--surface-3);
  border-color: var(--border);
  color: var(--text-faint);
  box-shadow: none;
  cursor: not-allowed;
}

/* ===========================================================================
 * Cita clicable IN-SITU (feature C) — decoración sobre el documento + popover
 * Tokens heredados de styles.css. El ámbar (--bible-rule/--bible-soft) ya
 * significa «cita bíblica» en la app y no colisiona con el subrayado continuo de
 * las correcciones ni con el punteado de los comentarios.
 * =========================================================================== */

/* Decoración de cita swappable: subrayado ámbar sólido + fondo soft + clicable. */
.mark-citation {
  border-bottom: 2px solid var(--bible-rule);
  background-color: var(--bible-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--t-fast, 120ms);
}

.mark-citation:hover {
  background-color: var(--bible-soft);
  filter: brightness(0.97);
}

/* Cita protegida (not_swappable): se resalta igual, pero NO es clicable. */
.mark-citation.not-swappable {
  cursor: default;
}

/* Cita activa (la que tiene el popover abierto): outline --accent, idéntico a
   .mark-correction.is-active / .mark-comment.is-active (coherencia visual). */
.mark-citation.is-active {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-radius: 2px;
}

/* Cita CONSULTABLE (panel de consulta de versículo): teal PUNTEADO, SIN relleno,
   cursor:help. Tres diferenciadores NO cromáticos frente a la cita swappable ámbar
   (patrón punteado vs sólido, sin relleno vs relleno soft, cursor help vs pointer)
   → WCAG 1.4.1. El teal --lookup sobre blanco cumple 5,48:1 (1.4.11). El clic abre
   el panel read-only del versículo; NUNCA cambia de versión. */
.mark-lookup {
  border-bottom: 2px dotted var(--lookup);
  border-radius: 2px;
  cursor: help;
  transition: background-color var(--t-fast, 120ms);
}

/* Afín discreto al pasar el ratón (pista de «consultable»): el relleno tenue solo
   aparece en hover, la cita en reposo va sin relleno (la diferencia con la swappable). */
.mark-lookup:hover {
  background-color: var(--lookup-soft);
}

/* Cita consultable activa (con el panel abierto): outline teal, coherente con el
   --accent de las otras decoraciones activas pero en el color de la consulta. */
.mark-lookup.is-active {
  outline: 2px solid var(--lookup);
  outline-offset: 1px;
  border-radius: 2px;
}

/* Popover anclado (clon visual del globo de comentarios) -------------------- */

.citation-popover {
  position: fixed;
  z-index: var(--z-popover);
  width: 320px;
  max-width: calc(100vw - var(--s-4));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: var(--s-3) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  /* Solo transform/opacity: la animación no provoca reflow (ver @keyframes). */
  animation: nebrija-citation-popover var(--d-slow, 200ms) var(--t-base, ease-out);
}

.citation-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}

.citation-popover__ref {
  font-size: var(--fs-ui);
  font-weight: 600;
  color: var(--text);
}

.citation-popover__close {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-3);
  font-size: var(--fs-h3);
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.citation-popover__close:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* La lista interna del popover no necesita el borde/relleno de la fila del modal:
   ya vive dentro del marco del popover. */
.citation-popover__body {
  margin: 0;
}

.citation-popover__body .citation-row {
  border: none;
  padding: 0;
  background: transparent;
}

/* Enlace discreto al modal global (cambio masivo). */
.citation-popover__all {
  font-size: var(--fs-xs);
  color: var(--accent);
  text-decoration: none;
  align-self: flex-start;
  padding: 2px 4px;
  border-radius: var(--r-sm);
}

.citation-popover__all:hover {
  text-decoration: underline;
}

/* Foco visible accesible para todo control enfocable del popover. */
.citation-popover :focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--r-sm);
}

@keyframes nebrija-citation-popover {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================================================
 * Panel de CONSULTA de versículo (read-only, no-modal) — feature B
 * Clon del chrome de .citation-popover, pero 360 px de ancho, alto acotado y con
 * el acento teal de la consulta (--lookup) en vez del ámbar del swap.
 * =========================================================================== */

.lookup-popover {
  position: fixed;
  z-index: var(--z-popover);
  width: 360px;
  max-width: calc(100vw - var(--s-4));
  max-height: min(420px, calc(100vh - var(--s-6)));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: var(--s-3) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  animation: nebrija-citation-popover var(--d-slow, 200ms) var(--t-base, ease-out);
}

.lookup-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}

.lookup-popover__ref {
  font-size: var(--fs-ui);
  font-weight: 600;
  color: var(--lookup-strong);
}

.lookup-popover__close {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-3);
  font-size: var(--fs-h3);
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.lookup-popover__close:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* Selector de versión (radiogroup): cuatro botones-radio en fila. */
.lookup-popover__versions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
}

.lookup-popover__version {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 4px var(--s-3);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.lookup-popover__version:hover {
  border-color: var(--lookup);
  color: var(--lookup-strong);
}

/* Versión vigente: relleno teal tenue + texto fuerte (AA sobre --lookup-soft). */
.lookup-popover__version.is-current,
.lookup-popover__version[aria-checked="true"] {
  background: var(--lookup-soft);
  border-color: var(--lookup);
  color: var(--lookup-strong);
  font-weight: 600;
}

.lookup-popover__body {
  margin: 0;
}

/* Texto del versículo: seleccionable (vía primaria de copia), serif del cuerpo. */
.lookup-popover__verse {
  margin: 0;
  padding: var(--s-2) var(--s-3);
  background: var(--surface-2);
  border-left: 3px solid var(--lookup);
  border-radius: var(--r-sm);
  font-family: var(--font-serif);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text);
  user-select: text;
  white-space: pre-wrap;
}

.lookup-popover__loading {
  margin: 0;
  padding: var(--s-2) var(--s-3);
  color: var(--text-3);
  font-size: var(--fs-sm);
  font-style: italic;
}

.lookup-popover__error {
  margin: 0;
  padding: var(--s-2) var(--s-3);
  background: var(--bad-soft);
  border-left: 3px solid var(--bad);
  border-radius: var(--r-sm);
  color: var(--bad);
  font-size: var(--fs-sm);
}

.lookup-popover__copy {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-2);
}

.lookup-popover__btn {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 6px var(--s-3);
  border: 1px solid var(--lookup);
  border-radius: var(--r-sm);
  background: var(--lookup-soft);
  color: var(--lookup-strong);
  cursor: pointer;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}

.lookup-popover__btn:hover {
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 94, 89, 0.18);
}

/* Región aria-live de confirmación de copia: visible solo para lectores. */
.lookup-popover__live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lookup-popover :focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--r-sm);
}

/* Encabezado: acciones (toggle «Comparar» + cerrar) ------------------------- */

.lookup-popover__head-actions {
  display: flex;
  align-items: center;
  gap: var(--s-1);
}

/* Toggle «Comparar» ⇄ «Una versión»: píldora teal discreta, coherente con los
   botones-radio de versión. */
.lookup-popover__toggle {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 4px var(--s-3);
  border: 1px solid var(--lookup);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--lookup-strong);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-fast), box-shadow var(--t-fast);
}

.lookup-popover__toggle:hover {
  background: var(--lookup-soft);
}

.lookup-popover__toggle[aria-pressed="true"] {
  background: var(--lookup-soft);
  font-weight: 600;
}

/* Modo comparación: las 4 versiones apiladas en VERTICAL. El scroll lo aporta el
   propio panel (.lookup-popover tiene overflow-y:auto + max-height). */
.lookup-popover__compare {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin: 0;
}

.lookup-popover__compare-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.lookup-popover__compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
}

.lookup-popover__compare-version {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lookup-strong);
}

/* «Copiar» por versión: variante compacta del botón de copia. */
.lookup-popover__btn--mini {
  padding: 2px var(--s-2);
  font-size: var(--fs-micro);
}

/* Respeto a la preferencia de menos movimiento ------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .citations-modal,
  .citations-modal *,
  .citation-popover,
  .citation-popover *,
  .lookup-popover,
  .lookup-popover * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
