/* =========================================================================
   Luukitas Canvas Ops Hub — artefactos inline + slash + memory + drop
   Brand: verde #20C57A · DM Sans + JetBrains Mono · animaciones spring
   ========================================================================= */

:root {
  --lkx-green: #20C57A;
  --lkx-green-deep: #0e8e54;
  --lkx-green-soft: rgba(32, 197, 122, 0.12);
  --lkx-ink: #0a1f14;
  --lkx-ink-soft: rgba(10, 31, 20, 0.72);
  --lkx-line: rgba(10, 31, 20, 0.08);
  --lkx-bg: #ffffff;
  --lkx-bg-alt: #f7faf8;
  --lkx-shadow-l1: 0 4px 14px rgba(10, 31, 20, 0.08);
  --lkx-shadow-l2: 0 22px 48px -16px rgba(10, 31, 20, 0.28);
  --lkx-radius: 14px;
  --lkx-font-display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --lkx-font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

/* =========================================================================
   SIDEBAR LADO A LADO — empuja el contenido del dashboard
   body.lukas-open ya tiene padding-right: var(--lk-w) (luuk-ui-refresh.css)
   que empuja todo el body. Aqui solo manejamos elementos position:fixed que
   no respetan body padding (navbar, save bar, botones flotantes).
   ========================================================================= */
body.lukas-open .navbar-fixed-top,
body.lukas-open #site-content,
body.lukas-open #floatingSaveBar,
body.lukas-open .wizard-buttons,
body.lukas-open .wizard-buttons-ws2,
body.lukas-open #AgregarTareaBoton {
  transition: right 320ms cubic-bezier(0.34, 1.56, 0.64, 1), padding-right 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.lukas-resizing .navbar-fixed-top,
body.lukas-resizing #site-content,
body.lukas-resizing #floatingSaveBar,
body.lukas-resizing .wizard-buttons,
body.lukas-resizing .wizard-buttons-ws2,
body.lukas-resizing #AgregarTareaBoton {
  transition: none !important;
}
/* Navbar+menubar position:fixed full-width — shrink con padding-right para que items
   internos (flex/flow) reflowen sin alterar dimensiones del contenedor */
body.lukas-open .site-navbar,
body.lukas-open .navbar-fixed-top,
body.lukas-open .navbar.navbar-fixed-top,
body.lukas-open .site-menubar,
body.lukas-open .site-menubar.site-menubar-horizontal {
  padding-right: var(--lk-w, 380px) !important;
  transition: padding-right 320ms cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-sizing: border-box !important;
}
body.lukas-resizing .site-navbar,
body.lukas-resizing .navbar-fixed-top,
body.lukas-resizing .navbar.navbar-fixed-top,
body.lukas-resizing .site-menubar {
  transition: none !important;
}
/* Editor formularios: top/bottom bars position:fixed right:0 → correrlos sidebar width */
body.lukas-open #floatingSaveBar,
body.lukas-open .wizard-buttons,
body.lukas-open .wizard-buttons-ws2 {
  right: var(--lk-w, 380px) !important;
}
/* formularios.html: btn "Crear proceso" position:fixed (MyCss) — correr sidebar+30 */
body.lukas-open #AgregarTareaBoton {
  right: calc(var(--lk-w, 380px) + 30px) !important;
}
@media (max-width: 900px) {
  body.lukas-open #floatingSaveBar,
  body.lukas-open .wizard-buttons,
  body.lukas-open .wizard-buttons-ws2,
  body.lukas-open #AgregarTareaBoton {
    right: 0 !important;
  }
}

/* =========================================================================
   HEADER v2 — rediseno limpio
   ========================================================================= */
.lukas-stage-header--v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--lkx-line);
  background: linear-gradient(180deg, rgba(247, 250, 248, 0.92), rgba(247, 250, 248, 0.6));
}
.lukas-stage-header--v2 .lukas-stage-avatar--sm {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px rgba(32, 197, 122, 0.32);
  overflow: hidden;
}
.lukas-stage-header--v2 .lukas-stage-avatar--sm > * { width: 24px; height: 24px; }
.lukas-stage-header--v2 .lukas-stage-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lukas-stage-header--v2 .lukas-stage-name {
  font-family: var(--lkx-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lkx-ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lukas-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lkx-green);
  box-shadow: 0 0 0 2px rgba(32, 197, 122, 0.18);
  animation: lk-status-pulse 2.4s ease-in-out infinite;
}
@keyframes lk-status-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(32, 197, 122, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(32, 197, 122, 0); }
}
.lukas-state-thinking .lukas-status-dot { background: #f59e0b; animation-duration: 0.9s; }
.lukas-state-error .lukas-status-dot { background: #ef4444; }

/* Sin avatar duplicado en speech bubble */
.lukas-speech-content--noavatar { width: 100%; }
.lukas-speech-content--noavatar .lukas-speech-tail { display: none; }

/* Greeting hidden en header (movido a hero) */
.lukas-stage-greet[hidden] { display: none !important; }

/* =========================================================================
   1. SCOPE chip — header
   ========================================================================= */
.lukas-scope {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--lkx-green-deep);
  letter-spacing: 0.02em;
  margin-top: 2px;
  padding: 2px 8px;
  background: var(--lkx-green-soft);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Header memory pill — texto + icono visible */
.lukas-icon-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--lkx-line);
  background: white;
  color: var(--lkx-ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--lkx-font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 160ms ease;
  margin-right: 6px;
  white-space: nowrap;
}
.lukas-icon-btn:hover {
  background: var(--lkx-green);
  color: white;
  border-color: var(--lkx-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -2px rgba(32, 197, 122, 0.4);
}
.lukas-memory-pill svg { flex-shrink: 0; }
.lukas-memory-pill-txt { display: inline; }
@media (max-width: 380px) {
  .lukas-memory-pill-txt { display: none; }
}

/* Thinking banner — feedback obvio mientras backend procesa */
.lukas-thinking-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 0 14px 0;
  background: linear-gradient(90deg, rgba(32, 197, 122, 0.1), rgba(32, 197, 122, 0.04));
  border: 1px solid rgba(32, 197, 122, 0.32);
  border-radius: 12px;
  font-family: var(--lkx-font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lkx-green-deep);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lukas-thinking-banner--in {
  opacity: 1;
  transform: translateY(0);
}
.lukas-thinking-spin {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--lkx-green-soft);
  border-top-color: var(--lkx-green);
  animation: lk-think-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes lk-think-spin { to { transform: rotate(360deg); } }
.lukas-thinking-msg {
  flex: 1;
  letter-spacing: -0.005em;
}
.lukas-thinking-dots {
  display: inline-flex;
  gap: 3px;
}
.lukas-thinking-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lkx-green);
  animation: lk-think-dot 1.2s ease-in-out infinite;
}
.lukas-thinking-dots i:nth-child(2) { animation-delay: 0.15s; }
.lukas-thinking-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes lk-think-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* Attach file button */
.lukas-attach {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--lkx-line);
  background: white;
  color: var(--lkx-ink-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 160ms ease;
  flex-shrink: 0;
}
.lukas-attach:hover {
  background: var(--lkx-green);
  border-color: var(--lkx-green);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -2px rgba(32, 197, 122, 0.4);
}

/* Mic recording active */
#lukas-mic.lukas-mic--rec {
  background: #ef4444 !important;
  color: white !important;
  border-color: #ef4444 !important;
  animation: lk-mic-pulse 1.2s ease-in-out infinite;
}
@keyframes lk-mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* =========================================================================
   2. ARTEFACTOS inline en mensajes
   ========================================================================= */
.lukas-msg-artifact {
  margin-top: 10px;
  width: 100%;
  align-self: stretch;
  animation: lka-art-fade 360ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes lka-art-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* KPI cards — grid responsive 2 cols por defecto, 3+ si hay espacio */
.lka-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
@media (min-width: 480px) {
  .lka-kpis { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
}
.lka-kpi {
  background: linear-gradient(180deg, white, var(--lkx-bg-alt));
  border: 1px solid var(--lkx-line);
  border-radius: 10px;
  padding: 9px 11px;
  position: relative;
  animation: lka-kpi-pop 480ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  transition: transform 220ms ease, box-shadow 220ms ease;
  min-width: 0;
}
.lka-kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--lkx-shadow-l1);
}
@keyframes lka-kpi-pop {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.lka-kpi-num {
  font-family: var(--lkx-font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--lkx-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lka-kpi-label {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--lkx-ink-soft);
  margin-top: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lka-kpi-delta {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.lka-kpi-delta--up {
  background: rgba(32, 197, 122, 0.14);
  color: var(--lkx-green-deep);
}
.lka-kpi-delta--down {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

/* TABLA viva */
.lka-tabla-wrap {
  border: 1px solid var(--lkx-line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}
.lka-tabla-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--lkx-bg-alt);
  border-bottom: 1px solid var(--lkx-line);
}
.lka-tabla-q {
  flex: 1;
  font-family: var(--lkx-font-display);
  font-size: 12.5px;
  border: 1px solid var(--lkx-line);
  border-radius: 8px;
  padding: 5px 10px;
  outline: none;
  background: white;
  transition: border-color 160ms ease;
}
.lka-tabla-q:focus {
  border-color: var(--lkx-green);
  box-shadow: 0 0 0 2px rgba(32, 197, 122, 0.18);
}
.lka-tabla-meta {
  font-size: 11px;
  color: var(--lkx-ink-soft);
  font-family: var(--lkx-font-mono);
  white-space: nowrap;
}
.lka-tabla-export {
  font-family: var(--lkx-font-display);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--lkx-green);
  background: var(--lkx-green);
  color: white;
  cursor: pointer;
  transition: all 160ms ease;
  white-space: nowrap;
}
.lka-tabla-export:hover {
  background: var(--lkx-green-deep);
  border-color: var(--lkx-green-deep);
  transform: translateY(-1px);
}
.lka-tabla-scroll {
  max-height: 240px;
  overflow: auto;
}
.lka-tabla {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--lkx-font-display);
  font-size: 11.5px;
}
.lka-tabla thead th {
  position: sticky;
  top: 0;
  background: white;
  text-align: left;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lkx-ink-soft);
  padding: 6px 9px;
  border-bottom: 1px solid var(--lkx-line);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.lka-tabla thead th:hover { color: var(--lkx-green-deep); }
.lka-tabla thead th[data-dir] .lka-sort-icon::after {
  content: '▲';
  font-size: 8px;
  margin-left: 4px;
  color: var(--lkx-green);
}
.lka-tabla thead th[data-dir="desc"] .lka-sort-icon::after { content: '▼'; }
.lka-tabla tbody tr {
  animation: lka-tr-fade 320ms ease backwards;
  transition: background 120ms;
}
.lka-tabla tbody tr:hover {
  background: var(--lkx-green-soft);
}
.lka-tabla tbody td {
  padding: 6px 9px;
  border-bottom: 1px solid var(--lkx-line);
  color: var(--lkx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.lka-tabla tbody td:first-child { font-family: var(--lkx-font-mono); font-size: 11.5px; }
@keyframes lka-tr-fade {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}

/* CHART */
.lka-chart-wrap {
  background: white;
  border: 1px solid var(--lkx-line);
  border-radius: 12px;
  padding: 12px;
}
.lka-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}
.lka-chart-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lkx-ink-soft);
  margin: 0;
  flex: 1;
}
.lka-chart-tools {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lka-chart-btn {
  appearance: none;
  border: 1px solid var(--lkx-line);
  background: white;
  color: var(--lkx-ink-soft);
  font-family: var(--lkx-font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lka-chart-btn:hover {
  background: var(--lkx-bg-soft, #f6f9f7);
  color: var(--lkx-ink, #0a1f14);
  border-color: var(--lkx-ink-soft);
}
.lka-chart-cmp {
  background: linear-gradient(135deg, #20C57A22, #20C57A11);
  color: #138a55;
  border-color: #20C57A66;
}
.lka-chart-canvas-wrap {
  position: relative;
  height: 260px;
}
.lka-chart-canvas-wrap canvas {
  max-height: 260px;
}
.lka-chart-caption {
  font-family: var(--lkx-font-display);
  font-size: 11.5px;
  font-style: italic;
  color: var(--lkx-ink-soft);
  margin-top: 8px;
  padding: 6px 10px;
  background: var(--lkx-bg-soft, #f6f9f7);
  border-radius: 6px;
  border-left: 2px solid #20C57A;
  line-height: 1.45;
}
.lka-chart-drilldown-hint {
  font-family: var(--lkx-font-mono);
  font-size: 10px;
  color: var(--lkx-ink-soft);
  text-align: center;
  margin-top: 6px;
  opacity: 0.7;
}
.lka-chart-fallback {
  font-family: var(--lkx-font-display);
  font-size: 12px;
  color: var(--lkx-ink-soft);
  padding: 16px;
  text-align: center;
}

/* HALLAZGOS */
.lka-hallazgos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.lka-hallazgo {
  background: white;
  border: 1px solid var(--lkx-line);
  border-left: 3px solid var(--lkx-line);
  border-radius: 10px;
  padding: 10px 12px;
  animation: lka-art-fade 360ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.lka-hallazgo--critico { border-left-color: #ef4444; }
.lka-hallazgo--alto { border-left-color: #f59e0b; }
.lka-hallazgo--media { border-left-color: #3b82f6; }
.lka-hallazgo--baja { border-left-color: #6b7280; }
.lka-hallazgo-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.lka-hallazgo-crit {
  font-weight: 700;
  color: var(--lkx-ink-soft);
}
.lka-hallazgo--critico .lka-hallazgo-crit { color: #b91c1c; }
.lka-hallazgo-fecha {
  color: var(--lkx-ink-soft);
  font-family: var(--lkx-font-mono);
}
.lka-hallazgo-titulo {
  font-size: 13px;
  font-weight: 600;
  color: var(--lkx-ink);
  margin-bottom: 4px;
}
.lka-hallazgo-desc {
  font-size: 12px;
  color: var(--lkx-ink-soft);
  line-height: 1.4;
}
.lka-hallazgo-foto {
  margin-top: 8px;
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
}
.lka-hallazgo-accion {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lkx-green-deep);
}

/* CITATIONS */
.lka-citations {
  margin-top: 4px;
  padding: 8px 10px;
  background: var(--lkx-bg-alt);
  border-radius: 10px;
  border: 1px solid var(--lkx-line);
}
.lka-citations-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lkx-ink-soft);
  margin-bottom: 6px;
}
.lka-citations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lka-citation {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--lkx-line);
  color: var(--lkx-ink);
  cursor: pointer;
  transition: all 160ms ease;
}
.lka-citation:hover {
  border-color: var(--lkx-green);
  color: var(--lkx-green-deep);
  transform: translateY(-1px);
}
.lka-citation-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lkx-green);
  color: white;
  font-size: 9.5px;
  display: grid;
  place-items: center;
  font-family: var(--lkx-font-mono);
}
.lka-cita-modal {
  position: fixed;
  inset: 0;
  z-index: 1500000150;
  background: rgba(10, 31, 20, 0.4);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 220ms ease;
}
.lka-cita-modal--in { opacity: 1; }
.lka-cita-card {
  position: relative;
  background: white;
  border-radius: 14px;
  padding: 24px 28px 22px;
  width: min(560px, 92vw);
  max-height: 80vh;
  overflow: auto;
  box-shadow: var(--lkx-shadow-l2);
  font-family: var(--lkx-font-display);
}
.lka-cita-close {
  position: absolute;
  top: 10px; right: 12px;
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  border-radius: 6px;
  line-height: 1;
  color: var(--lkx-ink-soft);
}
.lka-cita-close:hover { background: var(--lkx-bg-alt); }
.lka-cita-titulo {
  font-size: 16px;
  font-weight: 700;
  color: var(--lkx-ink);
  margin-bottom: 4px;
}
.lka-cita-meta {
  font-size: 11px;
  color: var(--lkx-ink-soft);
  margin-bottom: 14px;
  font-family: var(--lkx-font-mono);
}
.lka-cita-fragmento {
  font-size: 13px;
  line-height: 1.55;
  color: var(--lkx-ink);
  background: var(--lkx-bg-alt);
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--lkx-green);
  white-space: pre-wrap;
}
.lka-cita-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--lkx-green-deep);
  font-weight: 600;
  font-size: 12px;
}

/* PROGRESS steps */
.lka-progress {
  background: white;
  border: 1px solid var(--lkx-line);
  border-radius: 12px;
  padding: 12px 14px;
}
.lka-progress-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lkx-ink-soft);
  margin-bottom: 10px;
}
.lka-progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lka-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--lkx-ink-soft);
}
.lka-progress-step--ok { color: var(--lkx-ink); }
.lka-progress-step--ok .lka-progress-text { text-decoration: line-through; opacity: 0.7; }
.lka-progress-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--lkx-line);
  background: white;
  flex-shrink: 0;
  position: relative;
}
.lka-progress-step--activo .lka-progress-dot {
  border-color: var(--lkx-green);
  animation: lka-progress-spin 0.9s linear infinite;
}
.lka-progress-step--activo .lka-progress-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--lkx-green);
}
@keyframes lka-progress-spin {
  to { transform: rotate(360deg); }
}
.lka-progress-step--ok .lka-progress-dot {
  border-color: var(--lkx-green);
  background: var(--lkx-green);
}
.lka-progress-step--ok .lka-progress-dot::after {
  content: '';
  position: absolute;
  top: 1px; left: 4px;
  width: 4px; height: 7px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =========================================================================
   3. SLASH commands dropdown
   ========================================================================= */
.lukas-slash-dd {
  position: fixed;
  z-index: 1500000100;
  max-height: 320px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--lkx-line);
  border-radius: 12px;
  box-shadow: var(--lkx-shadow-l2);
  font-family: var(--lkx-font-display);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  padding: 4px;
  min-width: 280px;
}
.lukas-slash-dd--in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lukas-slash-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 120ms ease;
}
.lukas-slash-row--active { background: var(--lkx-green-soft); }
.lukas-slash-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: white;
  border: 1px solid var(--lkx-line);
  display: grid;
  place-items: center;
  color: var(--lkx-green-deep);
  flex-shrink: 0;
}
.lukas-slash-row--active .lukas-slash-icon {
  background: var(--lkx-green);
  border-color: var(--lkx-green);
  color: white;
}
.lukas-slash-meta { flex: 1; min-width: 0; }
.lukas-slash-cmd {
  display: block;
  font-family: var(--lkx-font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lkx-ink);
}
.lukas-slash-cmd em {
  font-style: normal;
  font-weight: 400;
  color: var(--lkx-ink-soft);
  margin-left: 6px;
}
.lukas-slash-desc {
  display: block;
  font-size: 11px;
  color: var(--lkx-ink-soft);
  margin-top: 1px;
}

/* =========================================================================
   4. MEMORY panel
   ========================================================================= */
.lukas-memory-panel {
  position: fixed;
  inset: 0;
  z-index: 1500000200;
  display: none;
  font-family: var(--lkx-font-display);
}
.lukas-memory-panel--open { display: block; }
.lukas-memory-panel .lkmp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 20, 0.45);
  backdrop-filter: blur(2px);
  animation: lka-fade-in 240ms ease;
}
.lukas-memory-panel .lkmp-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  max-height: 80vh;
  background: white;
  border-radius: 16px;
  box-shadow: var(--lkx-shadow-l2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: lka-modal-pop 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes lka-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lka-modal-pop {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 16px)) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.lkmp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px 6px;
}
.lkmp-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lkx-ink);
}
.lkmp-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--lkx-ink-soft);
  border-radius: 6px;
}
.lkmp-close:hover { background: var(--lkx-bg-alt); }
.lkmp-sub {
  padding: 0 22px 14px;
  font-size: 12.5px;
  color: var(--lkx-ink-soft);
  line-height: 1.5;
}
.lkmp-explainer {
  margin: 0 22px 14px;
  padding: 12px 14px;
  background: var(--lkx-green-soft);
  border-radius: 12px;
  border: 1px solid rgba(32, 197, 122, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lkmp-explainer-row {
  display: flex;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--lkx-ink);
}
.lkmp-explainer-row strong { color: var(--lkx-green-deep); font-weight: 700; }
.lkmp-explainer-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: white;
  color: var(--lkx-green-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(32, 197, 122, 0.32);
}
.lkmp-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 14px;
}
.lkmp-loading,
.lkmp-empty {
  padding: 32px 18px;
  text-align: center;
  color: var(--lkx-ink-soft);
  font-size: 13px;
}
.lkmp-row {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 140ms;
  animation: lka-art-fade 320ms ease backwards;
}
.lkmp-row:hover { background: var(--lkx-bg-alt); }
.lkmp-row--going { opacity: 0.4; }
.lkmp-row-icon {
  width: 24px;
  font-size: 18px;
  color: var(--lkx-green);
  font-weight: 700;
  text-align: center;
}
.lkmp-row-body { flex: 1; min-width: 0; }
.lkmp-row-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--lkx-ink);
  outline: none;
}
.lkmp-row-text[contenteditable="true"] {
  background: white;
  border: 1px solid var(--lkx-green);
  padding: 4px 6px;
  border-radius: 6px;
}
.lkmp-row-fecha {
  font-size: 10px;
  color: var(--lkx-ink-soft);
  font-family: var(--lkx-font-mono);
}
.lkmp-row-topic {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lkx-green-deep);
  background: var(--lkx-green-soft);
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.lkmp-row-meta {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  align-items: center;
}
.lkmp-row-freq {
  font-size: 10px;
  font-family: var(--lkx-font-mono);
  font-weight: 700;
  color: var(--lkx-ink-soft);
  background: rgba(10, 31, 20, 0.05);
  padding: 1px 6px;
  border-radius: 4px;
}
.lkmp-row-acciones {
  display: flex;
  gap: 4px;
  align-items: flex-start;
}
.lkmp-row-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--lkx-line);
  background: white;
  cursor: pointer;
  font-size: 13px;
  color: var(--lkx-ink-soft);
  display: grid;
  place-items: center;
  transition: all 140ms;
}
.lkmp-row-btn:hover {
  background: var(--lkx-green);
  border-color: var(--lkx-green);
  color: white;
}
.lkmp-row-btn--danger:hover {
  background: #ef4444;
  border-color: #ef4444;
}
.lkmp-row-btn--ok {
  background: var(--lkx-green);
  border-color: var(--lkx-green);
  color: white;
}
.lkmp-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--lkx-line);
  display: flex;
  justify-content: space-between;
  background: var(--lkx-bg-alt);
}
.lkmp-btn-ghost,
.lkmp-btn-primary {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid var(--lkx-line);
  background: white;
  color: var(--lkx-ink-soft);
  transition: all 140ms;
}
.lkmp-btn-ghost:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: #ef4444;
  color: #b91c1c;
}
.lkmp-btn-primary {
  background: var(--lkx-green);
  border-color: var(--lkx-green);
  color: white;
}
.lkmp-btn-primary:hover {
  background: var(--lkx-green-deep);
  border-color: var(--lkx-green-deep);
}

/* =========================================================================
   5. DROP zone overlay
   ========================================================================= */
.lukas-drop-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 197, 122, 0.16);
  backdrop-filter: blur(8px);
  border-radius: inherit;
  display: grid;
  place-items: center;
  z-index: 1000020;
  pointer-events: none;
  animation: lka-fade-in 200ms ease;
}
.lukas-drop-msg {
  background: white;
  padding: 14px 22px;
  border-radius: 12px;
  border: 2px dashed var(--lkx-green);
  font-family: var(--lkx-font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--lkx-green-deep);
  box-shadow: var(--lkx-shadow-l1);
}

/* =========================================================================
   BUBBLE TALK — proactivo desde icono cerrado
   ========================================================================= */
.lukas-bubble-talk {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  pointer-events: none;
  width: 240px;
  max-width: calc(100vw - 40px);
  z-index: 1500000080;
}
.lukas-bubble-talk-card {
  position: relative;
  background: #0f1f17;
  color: white;
  border-radius: 14px;
  padding: 12px 36px 12px 14px;
  font-family: var(--lkx-font-display);
  box-shadow:
    0 22px 48px -12px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(32, 197, 122, 0.4);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lukas-bubble-talk--in .lukas-bubble-talk-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.lukas-bubble-talk-arrow {
  position: absolute;
  bottom: -7px;
  right: 28px;
  transform: rotate(45deg);
  width: 12px; height: 12px;
  background: #0f1f17;
  border-right: 1px solid rgba(32, 197, 122, 0.4);
  border-bottom: 1px solid rgba(32, 197, 122, 0.4);
}
.lukas-bubble-talk-text {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.lukas-bubble-talk-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lukas-bubble-talk-cta {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--lkx-green);
  color: white;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  flex: 1;
}
.lukas-bubble-talk-cta:hover { background: var(--lkx-green-deep); }
.lukas-bubble-talk-mute {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 140ms;
}
.lukas-bubble-talk-mute:hover {
  background: rgba(239, 68, 68, 0.2);
  color: white;
  border-color: rgba(239, 68, 68, 0.5);
}
.lukas-bubble-talk-x {
  position: absolute;
  top: 6px; right: 8px;
  width: 22px; height: 22px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
}
.lukas-bubble-talk-x:hover { background: rgba(255, 255, 255, 0.1); color: white; }

/* =========================================================================
   FOLLOW-UP suggestions chips (post respuesta IA)
   ========================================================================= */
.lukas-msg-followup {
  width: 100%;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--lkx-line);
}
.lukas-msg-followup-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lkx-ink-soft);
  margin-bottom: 6px;
}
.lukas-msg-followup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.lukas-msg-followup-chip {
  font-family: var(--lkx-font-display);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--lkx-line);
  color: var(--lkx-ink);
  cursor: pointer;
  transition: all 140ms ease;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lukas-msg-followup-chip:hover {
  background: var(--lkx-green);
  color: white;
  border-color: var(--lkx-green);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(32, 197, 122, 0.36);
}

/* Feedback util/no util tras respuesta IA */
.lukas-msg-feedback {
  width: 100%;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(10, 31, 20, 0.03);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lkx-font-display);
  font-size: 11px;
}
.lukas-msg-feedback-label {
  color: var(--lkx-ink-soft);
  font-weight: 500;
  margin-right: auto;
  letter-spacing: 0.01em;
}
.lukas-msg-feedback-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--lkx-line);
  background: white;
  color: var(--lkx-ink);
  cursor: pointer;
  transition: all 140ms ease;
}
.lukas-msg-feedback-btn:hover {
  background: var(--lkx-green);
  color: white;
  border-color: var(--lkx-green);
  transform: translateY(-1px);
}
.lukas-msg-feedback--done {
  justify-content: center;
  padding: 8px 12px;
  background: var(--lkx-green-soft);
  color: var(--lkx-green-deep);
}
.lukas-msg-feedback-thanks {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* Thumb imagen adjunta en mensaje */
.lukas-msg-thumb {
  display: block;
  margin-top: 8px;
  max-width: 220px;
  max-height: 160px;
  border-radius: 10px;
  border: 1px solid var(--lkx-line);
}

/* =========================================================================
   SPEECH BUBBLE unificado v2 — sugerencias destacada + miniaturas
   ========================================================================= */
.lukas-speech-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.lukas-speech-counter {
  font-family: var(--lkx-font-mono);
  font-size: 10px;
  color: var(--lkx-ink-soft);
  background: rgba(10, 31, 20, 0.05);
  padding: 1px 7px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.lukas-speech-secondary {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 12px 0 8px;
}
.lukas-speech-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--lkx-font-display);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: 9px;
  background: white;
  border: 1px solid var(--lkx-line);
  color: var(--lkx-ink);
  cursor: pointer;
  transition: all 160ms ease;
  text-align: left;
  min-width: 0;
}
.lukas-speech-mini:hover {
  background: var(--lkx-green);
  color: white;
  border-color: var(--lkx-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -2px rgba(32, 197, 122, 0.4);
}
.lukas-speech-mini-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lkx-green-soft);
  color: var(--lkx-green-deep);
  font-size: 11px;
  font-weight: 700;
}
.lukas-speech-mini[data-kind="shortcut"] .lukas-speech-mini-icon {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}
.lukas-speech-mini[data-kind="accion"] .lukas-speech-mini-icon {
  background: rgba(59, 130, 246, 0.14);
  color: #1d4ed8;
}
.lukas-speech-mini[data-kind="notice"] .lukas-speech-mini-icon {
  background: rgba(239, 68, 68, 0.14);
  color: #b91c1c;
}
.lukas-speech-mini:hover .lukas-speech-mini-icon {
  background: rgba(255, 255, 255, 0.22);
  color: white;
}
.lukas-speech-mini-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.005em;
}
.lukas-speech-dot-more {
  font-family: var(--lkx-font-mono);
  font-size: 9.5px;
  color: var(--lkx-ink-soft);
  margin-left: 6px;
  align-self: center;
}

/* Stage scroll body para que artefactos no rompan layout */
#lukas-mensajes { overflow: visible; }

/* Stage scroll body para que artefactos no rompan layout */
#lukas-mensajes { overflow: visible; }

/* =========================================================================
   6. ANIMACIONES generales (stagger en mensajes)
   ========================================================================= */
.lukas-msg {
  animation: lka-msg-pop 360ms cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
@keyframes lka-msg-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lka-kpi, .lka-tabla tbody tr, .lka-hallazgo,
  .lukas-msg-artifact, .lukas-msg, .lka-cita-modal,
  .lukas-memory-panel .lkmp-card { animation: none !important; }
}

/* ========================================================================
   Luukitas widgets V10 — kpi-big, narrative, comparison, sparkline,
   funnel, calendar-heatmap, progress-bars
   ======================================================================== */
.lka-kpi-big {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--lkx-line, #e5e7eb);
  border-radius: 12px;
  height: 100%;
  justify-content: center;
}
.lka-kpi-big-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.lka-kpi-big-num {
  font-family: var(--lkx-font-mono, 'JetBrains Mono', monospace);
  font-size: 38px; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lkx-ink, #0a1f14);
}
.lka-kpi-big-delta { font-size: 13px; font-weight: 600; }

.lka-narrative {
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--lkx-line, #e5e7eb);
  border-left: 3px solid #75bbad;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #1f2937;
}
.lka-narrative-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 6px;
}
.lka-narrative-text strong { font-weight: 700; color: #0a1f14; }
.lka-narrative-text code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 12px; }

.lka-comparison {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--lkx-line, #e5e7eb);
  border-radius: 12px;
  height: 100%;
}
.lka-comparison-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #6b7280;
}
.lka-comparison-body { display: flex; align-items: center; gap: 16px; }
.lka-comparison-side { flex: 1; text-align: center; padding: 10px; border-radius: 8px; }
.lka-comparison-side--win {
  background: linear-gradient(135deg, #75bbad22, #75bbad11);
  border: 1px solid #75bbad44;
}
.lka-comparison-side-label { font-size: 11px; color: #6b7280; margin-bottom: 4px; }
.lka-comparison-side-val { font-size: 24px; font-weight: 700; font-family: var(--lkx-font-mono, monospace); color: #0a1f14; }
.lka-comparison-vs { font-size: 12px; color: #9ca3af; font-style: italic; }
.lka-comparison-delta { font-size: 13px; font-weight: 700; text-align: center; }

.lka-sparkline {
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--lkx-line, #e5e7eb);
  border-radius: 10px;
  height: 100%;
  display: flex; flex-direction: column; gap: 4px;
}
.lka-sparkline-title { font-size: 10px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
.lka-sparkline-val { font-size: 22px; font-weight: 700; font-family: var(--lkx-font-mono, monospace); }
.lka-sparkline canvas { flex: 1; min-height: 30px; }

.lka-funnel {
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--lkx-line, #e5e7eb);
  border-radius: 10px;
  height: 100%;
}
.lka-funnel-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #6b7280; margin-bottom: 10px;
}
.lka-funnel-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.lka-funnel-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px;
  border-radius: 4px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  min-width: 60px;
  transition: width 600ms cubic-bezier(.2,.8,.2,1);
}
.lka-funnel-label { font-size: 11px; opacity: 0.92; }
.lka-funnel-val { font-family: var(--lkx-font-mono, monospace); font-weight: 700; }
.lka-funnel-drop { font-size: 11px; color: #ea655b; font-weight: 600; }

.lka-cal-heatmap {
  padding: 12px 14px;
  background: white;
  border: 1px solid var(--lkx-line, #e5e7eb);
  border-radius: 10px;
  height: 100%;
}
.lka-cal-title { font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.lka-cal-grid { display: grid; grid-template-columns: repeat(auto-fill, 14px); gap: 3px; }
.lka-cal-cell { width: 14px; height: 14px; border-radius: 2px; transition: transform 120ms; }
.lka-cal-cell:hover { transform: scale(1.3); cursor: help; }

.lka-progress-bars { padding: 14px 16px; background: white; border: 1px solid var(--lkx-line, #e5e7eb); border-radius: 10px; height: 100%; }
.lka-progress-bars-title { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #6b7280; margin-bottom: 10px; }
.lka-pb-row { margin-bottom: 12px; }
.lka-pb-head { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.lka-pb-label { font-weight: 600; color: #1f2937; }
.lka-pb-val { font-family: var(--lkx-font-mono, monospace); color: #4b5563; font-size: 11.5px; }
.lka-pb-track { height: 8px; background: #f3f4f6; border-radius: 4px; overflow: hidden; }
.lka-pb-fill { height: 100%; border-radius: 4px; transition: width 600ms cubic-bezier(.2,.8,.2,1); }

