/* ═══ Rutas de Visita (Pedidos > Rutas de Visita) ═══════════════════════════════════════════
   Prefijo rv-. Editor, seguimiento y propuestas comparten el mismo esqueleto: panel con lista a
   la izquierda y mapa a la derecha, ambos a la altura de la ventana para que la lista haga su
   propio scroll y el mapa no se mueva. Misma paleta slate/azul y tipografía que app.css. */

.rv-tabs .rz-tabview-panel { padding: 14px 0 0; }
.rv-toolbar { margin-bottom: 12px; }
.rv-toolbar .toolbar-filtros { align-items: flex-end; }
.rv-radio { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 13px; }
.rv-nota-modo { max-width: 340px; line-height: 1.35; align-self: center; white-space: normal; }
.rv-fecha { display: flex; align-items: center; gap: 4px; }
.rv-fecha .rz-datepicker input { text-transform: capitalize; }
.rv-envivo { display: inline-flex; align-items: center; gap: 7px; }
.rv-latido { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: rv-latido 2s infinite; }
@keyframes rv-latido {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); }
    70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.rv-aparece { animation: rv-aparece 220ms var(--ease-out-fuerte) both; }
@keyframes rv-aparece { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Estado vacío */
.rv-vacio { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px; gap: 8px; }
.rv-vacio > .rzi { font-size: 44px; color: #93c5fd; }
.rv-vacio-titulo { font: 600 16px/1.3 "Segoe UI", system-ui, sans-serif; color: #0f172a; }
.rv-vacio-texto { max-width: 460px; color: #64748b; font-size: 13.5px; line-height: 1.5; }

/* Días de la semana */
.rv-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.rv-dia {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px;
    padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; cursor: pointer;
    font: 600 13px/1 "Segoe UI", system-ui, sans-serif; color: #334155;
    transition: border-color 140ms ease, background-color 140ms ease, transform 140ms var(--ease-out-fuerte);
}
.rv-dia:hover { border-color: #93c5fd; }
.rv-dia:active { transform: scale(.98); }
.rv-dia:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.rv-dia.activo { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.rv-dia.hoy .rv-dia-nombre::after { content: " · hoy"; font-weight: 500; opacity: .7; }
.rv-dia-cuenta {
    min-width: 24px; padding: 3px 7px; border-radius: 99px; background: #f1f5f9; color: #475569;
    font-size: 12px; text-align: center; font-variant-numeric: tabular-nums;
}
.rv-dia.activo .rv-dia-cuenta { background: rgba(255, 255, 255, .2); color: #fff; }
/* Repetición del día (cada semana / quincenal A·B / cada 4 semanas) */
.rv-semanas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 12px; }
.rv-semanas-et { font: 600 12px/1 "Segoe UI", system-ui, sans-serif; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.rv-semana { padding: 7px 12px; min-width: 120px; }
.rv-semanas-info { font-size: 12px; color: #64748b; }
.rv-link { border: 0; background: none; padding: 0; color: #2563eb; font-size: 12px; cursor: pointer; text-decoration: underline; }
.rv-link:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.rv-aviso-ciclo {
    margin: -4px 0 12px; padding: 8px 12px; border-radius: 10px; background: #fef3c7; color: #92400e; font-size: 13px;
}

.rv-dia-propuesta {
    position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border-radius: 50%;
    background: #f59e0b; border: 2px solid #fff;
}

/* Esqueleto lista + mapa */
.rv-editor {
    display: grid; grid-template-columns: minmax(340px, 420px) 1fr; gap: 12px;
    height: calc(100vh - 306px); min-height: 480px;
}
.rv-panel { display: flex; flex-direction: column; padding: 14px; min-height: 0; overflow: hidden; }
.rv-panel-cab { display: flex; flex-direction: column; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #eef2f7; }
.rv-detalle-cab { flex-direction: row; align-items: flex-start; gap: 6px; }
.rv-panel-titulo { font: 600 14px/1.3 "Segoe UI", system-ui, sans-serif; color: #0f172a; margin-bottom: 6px; }
.rv-nombre { width: 100%; font-weight: 600; }
.rv-resumen { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #64748b; font-size: 12.5px; }
.rv-resumen b { color: #0f172a; font-variant-numeric: tabular-nums; }
.rv-aviso { display: inline-flex; align-items: center; gap: 3px; color: #b45309; }
.rv-aviso .rzi { font-size: 15px; }

.rv-mapa-card { position: relative; padding: 0; overflow: hidden; }
.rv-mapa { position: absolute; inset: 0; }
.rv-leyenda {
    position: absolute; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
    padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .12); font-size: 12px; color: #334155; max-width: calc(100% - 80px);
}
.rv-leyenda > span { display: inline-flex; align-items: center; gap: 5px; }
.rv-leyenda-tip { color: #64748b; font-style: italic; }
.rv-pt { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; }
.rv-pt.plan { background: #1d4ed8; }
.rv-pt.dia { background: #38bdf8; }
.rv-pt.cartera { background: #94a3b8; }
.rv-pt.hueco { background: #fff; box-shadow: 0 0 0 2px #64748b; }
.rv-pt.v { background: #16a34a; }
.rv-pt.s { background: #d97706; }
.rv-pt.x { background: #94a3b8; }
.rv-pt.f { background: #7c3aed; }
.rv-pt.quitado { background: #dc2626; }

/* Buscador para agregar clientes */
.rv-buscar {
    position: relative; display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; padding: 0 10px;
    border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc;
    transition: border-color 140ms ease, background-color 140ms ease;
}
.rv-buscar:focus-within { border-color: #60a5fa; background: #fff; }
.rv-buscar > .rzi { color: #94a3b8; font-size: 19px; }
.rv-buscar input {
    flex: 1; border: 0; outline: 0; background: transparent; padding: 9px 0;
    font: 13.5px "Segoe UI", system-ui, sans-serif; color: #0f172a;
}
.rv-resultados {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20; max-height: 320px; overflow: auto;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; box-shadow: 0 10px 28px rgba(15, 23, 42, .16);
    padding: 4px; animation: rv-aparece 160ms var(--ease-out-fuerte) both;
}
.rv-resultado {
    display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; border: 0; background: none;
    padding: 8px 10px; border-radius: 7px; cursor: pointer;
}
.rv-resultado:hover:not(:disabled), .rv-resultado.sel { background: #eff6ff; }
.rv-resultado:disabled { opacity: .55; cursor: default; }
.rv-res-titulo { font: 600 13px/1.25 "Segoe UI", system-ui, sans-serif; color: #0f172a; }
.rv-res-sub { font-size: 12px; color: #64748b; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rv-tag { display: inline-block; padding: 1px 7px; border-radius: 99px; background: #f1f5f9; color: #475569; font-size: 11px; font-weight: 600; }
.rv-tag.ambar { background: #fef3c7; color: #b45309; }
.rv-tag.verde { background: #dcfce7; color: #15803d; }

/* Banner de optimización */
.rv-banner {
    display: flex; align-items: center; gap: 10px; margin: 6px 0; padding: 8px 10px; border-radius: 10px;
    background: #eff6ff; color: #1e3a8a; font-size: 12.5px; line-height: 1.35;
}
.rv-banner > .rzi { color: #2563eb; }
.rv-banner > div { flex: 1; }
.rv-ahorro { color: #15803d; font-weight: 700; }

/* Lista de paradas */
.rv-lista { flex: 1; min-height: 0; overflow-y: auto; margin: 4px -6px 0; padding: 2px 6px; }
.rv-lista-corta { flex: 0 1 auto; max-height: 38%; }
.rv-lista-comp { flex: 1; }
.rv-lista-vacia { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 34px 12px; color: #475569; font-size: 13.5px; }
.rv-lista-vacia > .rzi { font-size: 36px; color: #cbd5e1; }
.rv-lista-vacia-sub { color: #64748b; font-size: 12.5px; line-height: 1.45; max-width: 290px; }

.rv-parada {
    position: relative; display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 2px;
    border-radius: 9px; border: 1px solid transparent; cursor: pointer; user-select: none;
    transition: background-color 120ms ease, border-color 120ms ease, opacity 120ms ease;
}
.rv-parada:hover { background: #f8fafc; }
.rv-parada.resaltada { background: #eff6ff; border-color: #bfdbfe; }
.rv-parada.arrastrando { opacity: .4; }
.rv-parada.sobre::before {
    content: ""; position: absolute; left: 8px; right: 8px; top: -2px; height: 2px; border-radius: 2px; background: #2563eb;
}
.rv-parada.nuevo { background: #f0fdf4; }
.rv-parada.quitado { opacity: .75; cursor: default; }
.rv-parada.quitado .rv-num { background: #fee2e2; color: #b91c1c; }
.rv-parada.quitado .rv-parada-titulo { text-decoration: line-through; color: #64748b; }
.rv-parada.siguiente { border-color: #93c5fd; background: #f8fbff; }
.rv-asa { color: #cbd5e1; font-size: 18px; cursor: grab; margin-right: -4px; }
.rv-parada:hover .rv-asa { color: #94a3b8; }
.rv-num {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px;
    padding: 0 4px; border-radius: 13px; background: #1d4ed8; color: #fff;
    font: 700 12px/1 "Segoe UI", system-ui, sans-serif; font-variant-numeric: tabular-nums;
}
.rv-num.estado-P { background: #fff; color: #475569; box-shadow: inset 0 0 0 2px #94a3b8; }
.rv-num.estado-V { background: #16a34a; }
.rv-num.estado-S { background: #d97706; }
.rv-num.estado-X { background: #cbd5e1; color: #334155; }
.rv-num.estado-F { background: #7c3aed; }
.rv-parada-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rv-parada-titulo {
    font: 600 13px/1.3 "Segoe UI", system-ui, sans-serif; color: #0f172a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rv-parada-sub { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-sig { color: #1d4ed8; }
.rv-sin-ubic { color: #d97706; font-size: 17px; }
.rv-parada-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: #475569; font-variant-numeric: tabular-nums; }
.rv-lejos { color: #b45309; font-weight: 600; }
.rv-parada-acciones { display: flex; gap: 2px; opacity: 0; transition: opacity 120ms ease; }
.rv-parada:hover .rv-parada-acciones, .rv-parada:focus-within .rv-parada-acciones { opacity: 1; }
.rv-parada-acciones button {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 0;
    border-radius: 7px; background: transparent; color: #64748b; cursor: pointer;
}
.rv-parada-acciones button:hover:not(:disabled) { background: #e2e8f0; color: #0f172a; }
.rv-parada-acciones button.quitar:hover { background: #fee2e2; color: #b91c1c; }
.rv-parada-acciones button:disabled { opacity: .3; cursor: default; }
.rv-parada-acciones .rzi { font-size: 17px; }
@media (hover: none) { .rv-parada-acciones { opacity: 1; } }

/* Pie de acciones */
.rv-pie {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
    padding-top: 10px; margin-top: 6px; border-top: 1px solid #eef2f7;
}
.rv-pie-secundarias, .rv-pie-principales { display: flex; align-items: center; gap: 6px; }
.rv-pie-principales { margin-left: auto; }
.rv-pie-info { color: #64748b; font-size: 12.5px; }
.rv-check { font-size: 12.5px; color: #334155; }
.rv-copiar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; padding: 10px;
    border-radius: 10px; background: #f8fafc; font-size: 12.5px; color: #334155;
}
.rv-rechazo { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; margin-top: 6px; border-top: 1px solid #eef2f7; }

/* Seguimiento: indicadores y tarjetas de vendedor */
.rv-kpis { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.rv-kpi {
    display: flex; flex-direction: column; gap: 4px; padding: 11px 14px; border-radius: 12px; background: #fff;
    border: 1px solid #e2e8f0; border-top: 3px solid #cbd5e1;
}
.rv-kpi.verde { border-top-color: #16a34a; }
.rv-kpi.azul { border-top-color: #1d4ed8; }
.rv-kpi.gris { border-top-color: #94a3b8; }
.rv-kpi.morado { border-top-color: #7c3aed; }
.rv-kpi-valor { font: 700 20px/1.1 "Segoe UI", system-ui, sans-serif; color: #0f172a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv-kpi-valor small { font-size: 13px; font-weight: 600; color: #16a34a; }
.rv-kpi-titulo { font: 600 11px/1.2 "Segoe UI", system-ui, sans-serif; letter-spacing: .4px; text-transform: uppercase; color: #64748b; }

.rv-vend {
    display: flex; flex-direction: column; gap: 7px; width: 100%; text-align: left; padding: 11px 12px; margin-bottom: 6px;
    border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; cursor: pointer; font-family: inherit;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms var(--ease-out-fuerte);
}
.rv-vend:hover { border-color: #93c5fd; box-shadow: 0 3px 10px rgba(15, 23, 42, .07); }
.rv-vend:active { transform: scale(.99); }
.rv-vend.activo { border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29, 78, 216, .12); }
.rv-vend-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-vend-nombre { font: 600 13.5px/1.25 "Segoe UI", system-ui, sans-serif; color: #0f172a; }
.rv-vend-datos { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 12px; color: #64748b; font-variant-numeric: tabular-nums; }
.rv-vend-datos b { color: #0f172a; }
.rv-vend-hora { margin-left: auto; }
.rv-fuera { color: #7c3aed; font-weight: 600; }
.rv-chip {
    padding: 3px 9px; border-radius: 99px; background: #f1f5f9; color: #475569;
    font: 600 11px/1 "Segoe UI", system-ui, sans-serif; white-space: nowrap;
}
.rv-chip.ordenada { background: #dbeafe; color: #1d4ed8; }
.rv-comentario { font-size: 12.5px; color: #475569; font-style: italic; line-height: 1.35; }
.rv-barra { display: flex; height: 7px; border-radius: 4px; background: #eef2f7; overflow: hidden; }
.rv-barra > span { height: 100%; transition: width 400ms var(--ease-out-fuerte); }
.rv-barra .v { background: #16a34a; }
.rv-barra .s { background: #f59e0b; }
.rv-barra .x { background: #cbd5e1; }

/* Propuestas */
.rv-comparacion { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eef2f7; }
.rv-cambios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 6px; }
.rv-cambio { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 9px; background: #f8fafc; font-size: 11.5px; color: #64748b; }
.rv-cambio b { font: 700 16px/1.1 "Segoe UI", system-ui, sans-serif; color: #0f172a; font-variant-numeric: tabular-nums; }
.rv-cambio.mas b { color: #15803d; }
.rv-cambio.menos b { color: #b91c1c; }

/* Cumplimiento */
.rv-grid { padding: 0; overflow: hidden; }
.rv-celda-barra { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.rv-mini-barra { flex: 1; height: 6px; border-radius: 3px; background: #eef2f7; overflow: hidden; }
.rv-mini-barra > span { display: block; height: 100%; border-radius: 3px; }
.rv-mini-barra .alto { background: #16a34a; }
.rv-mini-barra .medio { background: #f59e0b; }
.rv-mini-barra .bajo { background: #dc2626; }

/* Zonas (geocercas) */
.rv-mapa-barra {
    position: absolute; top: 10px; left: 10px; right: 64px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    pointer-events: none;
}
.rv-mapa-barra > * { pointer-events: auto; }
.rv-mapa-boton {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 9px;
    background: #fff; color: #0f172a; font: 600 12.5px/1 "Segoe UI", system-ui, sans-serif; cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .16); transition: background 120ms ease, transform 120ms var(--ease-out-fuerte);
}
.rv-mapa-boton:hover { background: #f1f5f9; }
.rv-mapa-boton:active { transform: scale(.97); }
.rv-mapa-boton:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.rv-mapa-boton.activo { background: #0f172a; color: #fff; }
.rv-mapa-boton .rzi { font-size: 18px; }
.rv-mapa-boton select { border: 0; background: transparent; font: inherit; color: inherit; max-width: 180px; cursor: pointer; }
.rv-mapa-guia {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; background: rgba(15, 23, 42, .88);
    color: #fff; font-size: 12.5px; line-height: 1.35; box-shadow: 0 2px 8px rgba(15, 23, 42, .2);
}
.rv-mapa-guia kbd {
    padding: 1px 5px; border-radius: 4px; background: rgba(255, 255, 255, .16); font: 600 11px/1.4 "Segoe UI", system-ui, sans-serif;
}
.rv-mapa-guia button { border: 0; background: rgba(255, 255, 255, .16); color: #fff; border-radius: 6px; padding: 3px 9px; font: 600 12px/1.4 inherit; cursor: pointer; }
.rv-mapa-guia button:hover:not(:disabled) { background: rgba(255, 255, 255, .28); }
.rv-mapa-guia button:disabled { opacity: .45; cursor: default; }
.rv-zona-etiqueta { text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }

.rv-figura { border: 1px solid #bae6fd; background: #f0f9ff; color: #0c4a6e; }
.rv-figura > .rzi { color: #0284c7; }
.rv-figura-acciones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.rv-zona {
    display: flex; align-items: flex-start; gap: 10px; width: 100%; text-align: left; padding: 10px 11px; margin-bottom: 6px;
    border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; cursor: pointer; font-family: inherit;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}
.rv-zona:hover { border-color: #93c5fd; box-shadow: 0 3px 10px rgba(15, 23, 42, .07); }
.rv-zona:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.rv-muestra { flex: none; width: 14px; height: 14px; margin-top: 2px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .15); }
.rv-zona-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rv-zona-nombre { font: 600 13.5px/1.25 "Segoe UI", system-ui, sans-serif; color: #0f172a; }
.rv-zona-datos { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: #64748b; font-variant-numeric: tabular-nums; }
.rv-zona-datos b { color: #0f172a; }
.rv-zona-avisos { display: flex; flex-wrap: wrap; gap: 4px; }
.rv-tag.rojo { background: #fee2e2; color: #b91c1c; }
.rv-tag.morado { background: #ede9fe; color: #6d28d9; }

.rv-revision { margin-top: 8px; padding-top: 10px; border-top: 1px solid #eef2f7; display: flex; flex-direction: column; gap: 6px; }
.rv-revision-fila {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 9px; border: 0; border-radius: 8px;
    background: #f8fafc; color: #334155; font: 12.5px/1.3 "Segoe UI", system-ui, sans-serif; text-align: left; cursor: pointer;
}
.rv-revision-fila:hover { background: #eff6ff; }
.rv-revision-fila.activo { background: #dbeafe; color: #1e3a8a; }
.rv-revision-fila b { font-variant-numeric: tabular-nums; }

.rv-campo { display: flex; flex-direction: column; gap: 4px; }
.rv-campo > label { font: 600 11.5px/1.2 "Segoe UI", system-ui, sans-serif; color: #475569; }
.rv-paleta { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-color {
    width: 24px; height: 24px; border-radius: 7px; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .15);
    transition: transform 120ms var(--ease-out-fuerte);
}
.rv-color:hover { transform: scale(1.1); }
.rv-color.sel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f172a; }
.rv-color:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.rv-zona-cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rv-volver { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; color: #2563eb; font: 600 12.5px/1 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.rv-volver .rzi { font-size: 17px; }
.rv-sugerencia { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: #334155; }
.rv-sugerencia .rv-muestra { margin-top: 0; }

@media (max-width: 1100px) {
    .rv-editor { grid-template-columns: 1fr; height: auto; }
    .rv-panel { max-height: 60vh; }
    .rv-mapa-card { height: 420px; }
    .rv-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rv-dias { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rv-mapa-barra { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .rv-aparece, .rv-resultados, .rv-latido { animation: none; }
    .rv-barra > span { transition: none; }
}
