/* Neurus Demo · estilos compartidos (mobile-first, app dashboard + chat overlay) */
:root {
  --ink-900: #0a0a0a;
  --ink-800: #111111;
  --ink-700: #161616;
  --ink-600: #1c1c1c;
  --ink-500: #262626;
  --ink-400: #404040;
  --accent: #22c55e;
  --accent-soft: #16a34a;
  --accent-glow: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: #000; }
body {
  background-color: var(--ink-900);
  color: #fafafa;
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  min-height: 100vh;
  min-height: 100dvh;
}
::selection { background: var(--accent); color: var(--ink-900); }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; -webkit-touch-callout: none; }

.app-scroll::-webkit-scrollbar { width: 4px; height: 4px; }
.app-scroll::-webkit-scrollbar-track { background: transparent; }
.app-scroll::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: 3px; }

/* ============ Phone frame ============ */
.phone-frame {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--ink-900);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 720px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background:
      radial-gradient(circle at 20% 10%, rgba(34, 197, 94, 0.05), transparent 50%),
      #000;
  }
  .phone-frame {
    max-width: 420px;
    height: min(880px, calc(100vh - 48px));
    min-height: 0;
    border-radius: 44px;
    border: 1px solid var(--ink-500);
    box-shadow:
      0 0 0 8px #1a1a1a,
      0 0 0 9px #000,
      0 40px 80px -20px rgba(0, 0, 0, 0.8),
      0 0 120px -20px rgba(34, 197, 94, 0.15);
  }
}

/* Animaciones */
.fade-in { animation: fadeIn 380ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.typing-dot { animation: pulseDot 1.4s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulseDot { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }
.chart-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawLine 1.2s ease-out forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes pulseSoft { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ============ App Bar ============ */
.app-bar {
  position: sticky; top: 0; z-index: 30;
  padding-top: var(--safe-top);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid var(--ink-500);
}
.app-bar-inner { height: 52px; display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.app-bar-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #fafafa; transition: background 150ms ease; }
.app-bar-btn:active { background: var(--ink-700); }
.app-bar-title { flex: 1; min-width: 0; text-align: center; }
.app-bar-title .t1 { font-weight: 600; font-size: 14px; line-height: 1.1; }
.app-bar-title .t2 { font-size: 10px; color: #999; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; margin-top: 2px; }

/* ============ Dashboard ============ */
.dashboard {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px calc(24px + var(--safe-bottom));
}

.dash-section { margin-bottom: 20px; }
.dash-section-title {
  display: flex; align-items: center; justify-content: space-between;
  font: 600 11px 'JetBrains Mono', monospace;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 4px 10px;
}
.dash-section-title .live {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; color: var(--accent);
}
.dash-section-title .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 3px; background: var(--accent);
  animation: pulseDot 1.6s ease-in-out infinite;
}

/* Hero del cliente */
.hero-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 16px;
}
.hero-client { font-weight: 700; font-size: 18px; line-height: 1.15; }
.hero-sub { font-size: 12px; color: #aaa; margin-top: 2px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 999px;
  font: 500 10px 'JetBrains Mono', monospace;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 3px; background: var(--accent); animation: pulseDot 1.6s ease-in-out infinite; }

/* KPI cards (grid 2x2) */
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.kpi-card {
  padding: 12px 14px;
  background: var(--ink-800); border: 1px solid var(--ink-500);
  border-radius: 14px;
  min-width: 0;
}
.kpi-card .lbl { font: 500 10px 'JetBrains Mono', monospace; color: #888; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.kpi-card .val { font-weight: 700; font-size: 20px; line-height: 1.05; }
.kpi-card .val .u { font-weight: 400; font-size: 11px; color: #888; margin-left: 2px; }
.kpi-card .progress { height: 4px; background: var(--ink-700); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.kpi-card .progress > div { height: 100%; border-radius: 2px; background: var(--accent); }

/* Alertas */
.alert-card {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 8px;
}
.alert-card.kind-warn   { background: rgba(251, 191, 36, 0.06); border: 1px solid rgba(251, 191, 36, 0.3); }
.alert-card.kind-danger { background: rgba(248, 113, 113, 0.06); border: 1px solid rgba(248, 113, 113, 0.3); }
.alert-card.kind-accent { background: rgba(34, 197, 94, 0.06); border: 1px solid rgba(34, 197, 94, 0.3); }
.alert-card .dot { width: 6px; height: 6px; border-radius: 3px; margin-top: 6px; flex-shrink: 0; animation: pulseSoft 2s ease-in-out infinite; }
.alert-card.kind-warn   .dot { background: var(--warn); }
.alert-card.kind-danger .dot { background: var(--danger); }
.alert-card.kind-accent .dot { background: var(--accent); }
.alert-card .ttl { font-weight: 600; font-size: 13px; }
.alert-card.kind-warn   .ttl { color: var(--warn); }
.alert-card.kind-danger .ttl { color: var(--danger); }
.alert-card.kind-accent .ttl { color: var(--accent); }
.alert-card .det { font-size: 11px; color: #aaa; margin-top: 2px; line-height: 1.4; }
.alert-card .chev { color: #555; margin-left: auto; flex-shrink: 0; align-self: center; }

/* Lista de prompts (Neurus assistant) */
.prompt-section {
  background: var(--ink-800);
  border: 1px solid var(--ink-500);
  border-radius: 20px;
  padding: 16px 12px 12px;
  margin: 8px 0 12px;
}
.prompt-section-header {
  display: flex; align-items: center; gap: 10px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--ink-700);
  margin-bottom: 8px;
}
.prompt-section-header .nlogo {
  width: 36px; height: 36px; border-radius: 12px;
  background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.prompt-section-header .t1 { font-weight: 600; font-size: 14px; line-height: 1.1; }
.prompt-section-header .t2 { font: 500 10px 'JetBrains Mono', monospace; color: #888; margin-top: 2px; }
.prompt-card {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  transition: background 150ms ease;
}
.prompt-card:active { background: var(--ink-700); }
.prompt-card + .prompt-card { border-top: 1px solid var(--ink-700); }
.prompt-card .pc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink-700); border: 1px solid var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.prompt-card .pc-body { flex: 1; min-width: 0; }
.prompt-card .pc-cat { font: 600 9px 'JetBrains Mono', monospace; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.prompt-card .pc-ttl { font-weight: 500; font-size: 13px; margin-top: 2px; line-height: 1.3; }
.prompt-card .pc-hint { font-size: 11px; color: #888; margin-top: 2px; line-height: 1.35; }
.prompt-card .pc-chev { color: #555; flex-shrink: 0; }

/* Lista de ubicaciones */
.loc-list { background: var(--ink-800); border: 1px solid var(--ink-500); border-radius: 14px; overflow: hidden; }
.loc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.loc-row + .loc-row { border-top: 1px solid var(--ink-700); }
.loc-row .lname { font-size: 13px; color: #ddd; }
.loc-row .lval  { font: 500 12px 'JetBrains Mono', monospace; color: var(--accent); }

/* Strip horizontal scroll (para shortcuts) */
.h-strip {
  display: flex; gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 0 16px 4px;
}
.h-strip::-webkit-scrollbar { display: none; }
.h-strip > * { flex-shrink: 0; }

/* ============ Drawer ============ */
.drawer-backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6);
  z-index: 80; opacity: 0; pointer-events: none; transition: opacity 220ms ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: min(320px, 86%); background: var(--ink-800);
  border-right: 1px solid var(--ink-500);
  z-index: 90;
  transform: translateX(-100%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: var(--safe-top); padding-bottom: var(--safe-bottom);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
@media (max-width: 719px) {
  .drawer-backdrop, .drawer { position: fixed; }
}

/* ============ Chat overlay (full screen sobre dashboard) ============ */
.chat-overlay {
  position: absolute; inset: 0;
  z-index: 50;
  display: flex; flex-direction: column;
  background: var(--ink-900);
  transform: translateY(100%);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: inherit; /* sigue el border del phone-frame */
  overflow: hidden;
}
.chat-overlay.open { transform: translateY(0); }
@media (max-width: 719px) {
  .chat-overlay { position: fixed; border-radius: 0; }
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  padding-bottom: calc(72px + var(--safe-bottom));
  display: flex; flex-direction: column; gap: 12px;
}

.bubble-user {
  align-self: flex-end;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px 18px 4px 18px;
  background: var(--ink-700);
  font-size: 14px;
  line-height: 1.4;
}
.bubble-assistant-wrap { display: flex; gap: 8px; align-items: flex-start; }
.bubble-assistant-wrap .avatar {
  width: 28px; height: 28px; border-radius: 14px;
  background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.bubble-assistant {
  flex: 1; min-width: 0;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 4px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), transparent);
  border: 1px solid rgba(34, 197, 94, 0.18);
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow: 0 0 40px -10px rgba(34, 197, 94, 0.12);
}
.typing-bubble {
  padding: 12px 14px;
  border-radius: 18px 18px 18px 4px;
  background: var(--ink-800); border: 1px solid var(--ink-500);
  display: inline-flex; gap: 5px;
}

/* Chat status bar (model meta) */
.chat-status {
  padding: 10px 16px calc(10px + var(--safe-bottom));
  background: linear-gradient(to top, rgba(10, 10, 10, 0.96) 60%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--ink-500);
}
.chat-status-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px;
  background: var(--ink-800); border: 1px solid var(--ink-500);
  border-radius: 16px;
  font: 500 10px 'JetBrains Mono', monospace;
  color: #888;
}
.chat-status-inner .dot { display: inline-block; width: 6px; height: 6px; border-radius: 3px; background: var(--accent); margin-right: 6px; animation: pulseDot 1.6s infinite; }

/* ===================================================================
   MODO NASA · estilos extendidos para verticales con telemetría rica
   =================================================================== */

/* Fondo radar sutil — aplicado como background del frame, NO como overlay */
.nasa-bg {
  background-color: var(--ink-900);
  background-image:
    radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.06), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.04), transparent 40%),
    linear-gradient(rgba(34, 197, 94, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
}

/* Mission control bar (terminal estilo) */
.mission-bar {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.04), rgba(34, 197, 94, 0));
  border-bottom: 1px solid rgba(34, 197, 94, 0.25);
  font: 500 10px 'JetBrains Mono', monospace;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.mission-bar::-webkit-scrollbar { display: none; }
.mission-bar .mb-item { display: inline-flex; align-items: center; gap: 6px; color: #888; }
.mission-bar .mb-item strong { color: var(--accent); font-weight: 600; }
.mission-bar .mb-item.warn strong { color: var(--warn); }
.mission-bar .mb-item.live::before {
  content: ''; width: 5px; height: 5px; border-radius: 3px; background: var(--accent);
  animation: pulseDot 1.6s ease-in-out infinite;
}

/* Cards de telemetría (scroll horizontal) */
.telemetry-strip {
  display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 4px 16px 8px;
  scroll-snap-type: x mandatory;
}
.telemetry-strip::-webkit-scrollbar { display: none; }
.tcard {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 220px;
  padding: 14px;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  border: 1px solid var(--ink-500);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.tcard.glow {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 24px -8px rgba(34, 197, 94, 0.4);
}
.tcard::after {
  content: ''; position: absolute; top: 0; right: 0; width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15), transparent 70%);
  pointer-events: none;
}
.tcard .t-lbl { font: 500 9px 'JetBrains Mono', monospace; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.tcard .t-val { font-weight: 700; font-size: 22px; line-height: 1; }
.tcard .t-val .t-u { font-weight: 400; font-size: 11px; color: #888; margin-left: 3px; }
.tcard .t-sub { font-size: 11px; color: #aaa; margin-top: 6px; line-height: 1.35; }
.tcard .spark { margin-top: 8px; }

/* Sparkline animada */
.spark svg { width: 100%; height: 24px; }
.spark path { stroke: var(--accent); stroke-width: 1.5; fill: none; stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawLine 1.2s ease-out forwards; }

/* Fuentes de datos (cards expandibles) */
.source-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  background: var(--ink-800); border: 1px solid var(--ink-500);
  border-radius: 12px;
  margin-bottom: 6px;
  transition: background 150ms ease;
}
.source-row:active { background: var(--ink-700); }
.source-row .s-icon {
  width: 32px; height: 32px; border-radius: 9px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.source-row .s-body { flex: 1; min-width: 0; }
.source-row .s-name { font-size: 13px; font-weight: 500; line-height: 1.1; }
.source-row .s-meta { font: 500 10px 'JetBrains Mono', monospace; color: #888; margin-top: 3px; }
.source-row .s-status {
  display: flex; align-items: center; gap: 5px;
  font: 500 9px 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.05em;
  flex-shrink: 0;
}
.source-row .s-status::before { content: ''; width: 6px; height: 6px; border-radius: 3px; }
.source-row .s-status.live   { color: var(--accent); }
.source-row .s-status.live::before   { background: var(--accent); animation: pulseDot 1.6s ease-in-out infinite; }
.source-row .s-status.sync   { color: var(--warn); }
.source-row .s-status.sync::before   { background: var(--warn); animation: pulseDot 1s ease-in-out infinite; }
.source-row .s-status.cache  { color: #888; }
.source-row .s-status.cache::before  { background: #888; }

/* Model card (la principal) */
.model-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.model-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(34, 197, 94, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.model-card > * { position: relative; z-index: 1; }
.model-card .mc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.model-card .mc-id { font: 600 11px 'JetBrains Mono', monospace; color: var(--accent); }
.model-card .mc-stat { font-size: 10px; color: #aaa; margin-top: 2px; }
.model-card .mc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.model-card .mc-cell { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--ink-500); border-radius: 10px; padding: 10px; }
.model-card .mc-cell .l { font: 500 9px 'JetBrains Mono', monospace; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }
.model-card .mc-cell .v { font-weight: 600; font-size: 14px; margin-top: 4px; }
.model-card .mc-cell .b { height: 3px; background: var(--ink-700); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.model-card .mc-cell .b > div { height: 100%; background: var(--accent); border-radius: 2px; transition: width 600ms ease; }

/* Thinking steps (en chat antes de la respuesta) */
.thinking-steps {
  background: var(--ink-800); border: 1px solid var(--ink-500);
  border-radius: 14px;
  padding: 12px 14px;
  font: 500 11px 'JetBrains Mono', monospace;
  color: #999;
}
.thinking-steps .ts-row {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 0;
  opacity: 0;
  animation: fadeIn 280ms ease-out forwards;
}
.thinking-steps .ts-row .tick {
  width: 14px; height: 14px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.thinking-steps .ts-row .tick.run {
  border: 1px solid var(--accent);
  animation: pulseSoft 1s ease-in-out infinite;
}
.thinking-steps .ts-row .tick.ok {
  background: var(--accent); color: var(--ink-900);
  font-weight: 700;
}
.thinking-steps .ts-row .tick.ok::after {
  content: '✓'; font-size: 9px;
}
.thinking-steps .ts-row .tk-time { margin-left: auto; color: #555; font-size: 10px; flex-shrink: 0; }
.thinking-steps .ts-row.run { color: #fff; }

/* Typewriter caret */
.tw-caret {
  display: inline-block; width: 7px; height: 14px;
  background: var(--accent); margin-left: 2px; vertical-align: -2px;
  animation: caretBlink 0.7s steps(2) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* Number ticker */
.ticker { display: inline-block; font-variant-numeric: tabular-nums; }

/* ==================================================
   Comparativa Cloud vs On-prem (durante el thinking)
   ================================================== */
.cloud-vs {
  margin-top: 10px;
  border-radius: 14px;
  background: var(--ink-800);
  border: 1px solid var(--ink-500);
  overflow: hidden;
}
.cloud-vs .cv-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-700);
  background: linear-gradient(90deg, rgba(248,113,113,0.04), rgba(34,197,94,0.04));
}
.cloud-vs .cv-head .ttl { font: 600 11px 'JetBrains Mono', monospace; color: #ddd; }
.cloud-vs .cv-head .meta { font: 500 10px 'JetBrains Mono', monospace; color: #888; }
.cloud-vs .cv-body { display: grid; grid-template-columns: 1fr 1fr; }
.cloud-vs .cv-col { padding: 12px 14px; }
.cloud-vs .cv-col + .cv-col { border-left: 1px solid var(--ink-700); }
.cloud-vs .cv-col .cv-hdr {
  display: flex; align-items: center; gap: 6px;
  font: 600 10px 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--ink-700);
}
.cloud-vs .cv-col.cloud .cv-hdr { color: var(--danger); }
.cloud-vs .cv-col.local .cv-hdr { color: var(--accent); }
.cloud-vs .cv-col .cv-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 3px 0;
  font-size: 11px;
}
.cloud-vs .cv-col .cv-row .l { color: #888; }
.cloud-vs .cv-col .cv-row .v {
  font: 600 12px 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}
.cloud-vs .cv-col.cloud .v { color: #f87171; }
.cloud-vs .cv-col.local  .v { color: var(--accent); }
.cloud-vs .cv-col .cv-row .v.flag { font-size: 10px; }
.cloud-vs .cv-col .cv-row.priv .v { font-size: 10px; }

.cv-footer {
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(34,197,94,0.05), rgba(34,197,94,0.02));
  border-top: 1px solid var(--ink-700);
  display: flex; justify-content: space-between; align-items: center;
  font: 500 11px 'JetBrains Mono', monospace;
  flex-wrap: wrap; gap: 6px;
}
.cv-footer .lbl { color: #888; }
.cv-footer .save { color: var(--accent); font-weight: 700; }
