/* Caza Riesgos — capa de la app sobre yoy-brand.css (yoy_sky_glass). */
:root {
  --g-critica: #ff4d4f;
  --g-alta: #ff8a3d;
  --g-media: #ffc53d;
  --g-baja: #92D3F4;
  --e-detectado: #00BFA6;
  --e-parcial: #ffc53d;
  --e-omitido: #ff4d4f;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --sombra-fuerte: 0 18px 40px rgba(3, 20, 38, .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: 'Montserrat', system-ui, sans-serif;
  background-attachment: fixed;
  overflow-x: hidden;
}
button { font-family: inherit; color: inherit; }
[hidden], .oculto { display: none !important; }
:focus-visible { outline: 3px solid var(--palette-primary); outline-offset: 2px; }

/* ── Barra ─────────────────────────────────────────────── */
.barra {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px max(16px, env(safe-area-inset-left)) 10px max(16px, env(safe-area-inset-right));
  background: rgba(13, 63, 99, .55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.barra-marca {
  display: flex; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; padding: 0;
  font-size: 1.15rem; font-weight: 500; letter-spacing: -.2px;
}
.barra-marca b { font-weight: 900; color: var(--palette-primary); }
.barra-der { display: flex; align-items: center; gap: 10px; }
.cronometro {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: .9rem;
  padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .2);
}
.icono-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08);
  cursor: pointer; font-size: 1.1rem; display: grid; place-items: center;
  transition: transform .15s var(--ease-pop), background .2s;
}
.icono-btn:hover { background: rgba(255, 255, 255, .16); }
.icono-btn:active { transform: scale(.9); }
.icono-btn svg { width: 20px; height: 20px; }

main { max-width: 1280px; margin: 0 auto; padding: 16px; padding-bottom: 40px; }

/* Transición entre vistas */
.vista { animation: entrar .45s var(--ease-pop) both; }
@keyframes entrar { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

/* ── Inicio ────────────────────────────────────────────── */
.hero { text-align: center; padding: 28px 0 20px; }
.hero-kicker {
  display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 191, 166, .18); color: #7ff3e2; font-weight: 700; font-size: .78rem;
  letter-spacing: 1.2px; text-transform: uppercase;
}
.hero-titulo { font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 14px; font-weight: 900; letter-spacing: -1px; }
.resalta {
  background: linear-gradient(90deg, #FF6600, #ffb347, #FF6600); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brillo 4s linear infinite;
}
@keyframes brillo { to { background-position: 200% center; } }
.hero-sub { max-width: 640px; margin: 0 auto 22px; color: var(--text-secondary); line-height: 1.55; }
.hero-cta { width: auto; padding: 14px 28px; font-size: 1.05rem; }
.hero-cta:hover .dado { display: inline-block; animation: girar .6s var(--ease-pop); }
@keyframes girar { to { transform: rotate(360deg); } }

.filtros { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 8px 0 18px; }
.filtro {
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .82rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: all .2s;
}
.filtro[aria-selected="true"] { background: var(--palette-primary); border-color: var(--palette-primary); }

.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.carta {
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  border-radius: 16px; padding: 0; border: 1px solid rgba(255, 255, 255, .14);
  background: var(--view-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease-pop), box-shadow .25s, border-color .25s;
  animation: entrar .5s var(--ease-pop) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.carta:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--sombra-fuerte); border-color: rgba(255, 102, 0, .6); }
.carta:active { transform: scale(.98); }
.carta-img {
  aspect-ratio: 16 / 9; width: 100%; display: block; object-fit: cover;
  background: linear-gradient(135deg, rgba(146, 211, 244, .25), rgba(13, 63, 99, .6));
}
.carta-img-ph { display: grid; place-items: center; }
.carta-media { position: relative; }
.carta-mini { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .4s, transform .5s; }
.carta-mini.lista { opacity: 1; }
.carta:hover .carta-mini { transform: scale(1.05); }
.carta-media { overflow: hidden; }
.carta-img-ph svg { width: 64px; height: 64px; opacity: .65; }
.carta-cuerpo { padding: 14px 16px 16px; }
.carta-rubro { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #7ff3e2; display: flex; align-items: center; gap: 6px; }
.carta-rubro svg { width: 16px; height: 16px; }
.carta h3 { margin: 6px 0 6px; font-size: 1.1rem; }
.carta-meta { font-size: .8rem; color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center; }
.record {
  font-weight: 800; font-size: .75rem; padding: 4px 8px; border-radius: 999px;
  background: rgba(255, 102, 0, .2); color: #ffb98a;
}
.pie { text-align: center; color: var(--text-muted); font-size: .75rem; margin-top: 28px; }

/* ── Inspección ────────────────────────────────────────── */
.insp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 16px; align-items: start; }
.insp-imagen { padding: 8px; position: sticky; top: 72px; }
.marco { position: relative; border-radius: 10px; overflow: hidden; background: #0a2a44; aspect-ratio: 16 / 9; }
.marco img { width: 100%; height: 100%; object-fit: contain; display: block; cursor: zoom-in; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  background: repeating-linear-gradient(45deg, rgba(146, 211, 244, .06) 0 14px, transparent 14px 28px), #0d3f63;
  color: var(--text-secondary); font-size: .9rem;
}
.placeholder svg { width: 72px; height: 72px; opacity: .6; display: block; margin: 0 auto 10px; }
.zoom-btn {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 10px;
  border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.2rem; cursor: pointer;
}

.tarjeta { padding: 16px; margin-bottom: 14px; }
.chip-rubro {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: rgba(0, 191, 166, .2); color: #7ff3e2; font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.chip-rubro svg { width: 14px; height: 14px; }
.brief h2 { margin: 10px 0 6px; font-size: 1.35rem; }
.rol { margin: 0 0 8px; font-weight: 600; }
.consigna { margin: 0 0 10px; color: var(--text-secondary); line-height: 1.5; }
.pista { margin: 0; font-size: .82rem; color: var(--text-secondary); line-height: 1.5; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .15); }
.pista b { color: var(--palette-primary); font-size: 1rem; }

.form-obs { display: grid; gap: 6px; }
.fila-input { display: flex; gap: 8px; align-items: stretch; }
.fila-input textarea { resize: none; min-height: 56px; line-height: 1.4; }
.agregar { width: 56px; flex: 0 0 56px; font-size: 1.6rem; padding: 0; }
.contador-chars { font-size: .72rem; color: var(--text-muted); text-align: right; }

.lista-obs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: obs; }
.obs {
  counter-increment: obs; display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 10px 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .1);
  border-left: 4px solid var(--palette-secondary);
  animation: popIn .35s var(--ease-pop) both;
}
.obs::before { content: counter(obs); font-weight: 900; color: var(--palette-secondary); min-width: 1.2em; }
.obs p { margin: 0; flex: 1; line-height: 1.4; font-size: .92rem; word-break: break-word; }
.obs button { background: none; border: 0; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 2px 6px; border-radius: 6px; }
.obs button:hover { color: #fff; background: rgba(255, 77, 79, .4); }
.obs.saliendo { animation: popOut .25s ease-in forwards; }
@keyframes popIn { from { opacity: 0; transform: scale(.7) translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes popOut { to { opacity: 0; transform: scale(.8) translateX(30px); } }
.vacio { margin: 12px 0 0; color: var(--text-muted); font-size: .85rem; text-align: center; }
.entregar { font-size: 1.05rem; padding: 15px; position: relative; overflow: hidden; }
.entregar:not(:disabled) { animation: latido 2.4s ease-in-out infinite; }
@keyframes latido { 0%, 100% { box-shadow: var(--shadow); } 50% { box-shadow: 0 0 0 6px rgba(255, 102, 0, .25), var(--shadow); } }

/* Escáner sobre la imagen mientras se evalúa */
.escaner { position: absolute; inset: 0; pointer-events: none; }
.escaner .linea {
  position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #00BFA6, transparent);
  box-shadow: 0 0 18px 6px rgba(0, 191, 166, .5);
  animation: barrer 1.6s ease-in-out infinite alternate;
}
.escaner .grilla-scan {
  position: absolute; inset: 0; opacity: .25;
  background-image: linear-gradient(rgba(0, 191, 166, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 191, 166, .5) 1px, transparent 1px);
  background-size: 40px 40px;
}
@keyframes barrer { from { top: 0; } to { top: calc(100% - 3px); } }

/* ── Analizando ────────────────────────────────────────── */
.analizando {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(5, 25, 45, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: entrar .3s both;
}
.analizando-caja { padding: 28px 24px; text-align: center; max-width: 380px; width: 100%; box-shadow: var(--sombra-fuerte); }
.radar { position: relative; width: 90px; height: 90px; margin: 0 auto 18px; }
.radar span {
  position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--palette-secondary);
  animation: onda 1.8s ease-out infinite;
}
.radar span:nth-child(2) { animation-delay: .6s; border-color: var(--palette-primary); }
.radar span:nth-child(3) { animation-delay: 1.2s; }
@keyframes onda { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.1); opacity: 0; } }
.analizando-titulo { font-weight: 800; margin: 0 0 6px; font-size: 1.05rem; }
.analizando-msg { margin: 0; color: var(--text-secondary); min-height: 1.4em; transition: opacity .3s; }

/* ── Resultado ─────────────────────────────────────────── */
.res-cabecera { display: flex; gap: 22px; align-items: center; padding: 20px; margin-bottom: 16px; }
.anillo { position: relative; width: 150px; height: 150px; flex: 0 0 150px; }
.anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anillo circle { fill: none; stroke-width: 10; }
.anillo-fondo { stroke: rgba(255, 255, 255, .12); }
.anillo-valor { stroke: var(--palette-primary); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1), stroke .4s; }
.anillo-num { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.anillo-num span { font-size: 2.8rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.anillo-num small { color: var(--text-muted); font-weight: 700; }
.res-info { flex: 1; min-width: 0; }
.rango {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(90deg, #FF6600, #ff9a3d); font-weight: 900; letter-spacing: .5px;
  box-shadow: 0 6px 18px rgba(255, 102, 0, .4);
  opacity: 0; transform: scale(.4);
}
.rango.visible { animation: sello .6s var(--ease-pop) forwards; }
@keyframes sello { to { opacity: 1; transform: scale(1); } }
.estrellas { letter-spacing: 2px; }
.res-info h2 { margin: 10px 0 10px; font-size: 1.25rem; }
.chips-resumen { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-res { padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; background: rgba(0, 0, 0, .2); display: inline-flex; gap: 6px; align-items: center; }
.chip-res i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.alerta-critica {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: .9rem;
  background: rgba(255, 77, 79, .2); border: 1px solid rgba(255, 77, 79, .6);
  animation: parpadeo 1.2s ease-in-out 3;
}
@keyframes parpadeo { 50% { background: rgba(255, 77, 79, .45); } }
.modo-demo { margin-top: 10px; font-size: .8rem; color: #ffd58a; }

.res-cuerpo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.res-col-imagen { position: sticky; top: 72px; }
.marco-res { padding: 8px; margin-bottom: 14px; }
.marco-res .marco img { cursor: default; }

/* Hotspots */
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hs {
  position: absolute; transform: translate(-50%, -50%) scale(0); border-radius: 50%;
  border: 3px solid; pointer-events: auto; cursor: pointer; background: none; padding: 0;
  transition: transform .5s var(--ease-pop), box-shadow .3s;
}
.hs.visible { transform: translate(-50%, -50%) scale(1); }
.hs.detectado { border-color: var(--e-detectado); background: rgba(0, 191, 166, .15); }
.hs.parcial { border-color: var(--e-parcial); background: rgba(255, 197, 61, .15); }
.hs.omitido { border-color: var(--e-omitido); background: rgba(255, 77, 79, .18); animation: pulso 1.6s ease-in-out infinite; }
.hs.foco { box-shadow: 0 0 0 6px rgba(255, 255, 255, .7); z-index: 2; }
.hs b {
  position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; color: #fff; background: inherit;
}
.hs.detectado b { background: var(--e-detectado); }
.hs.parcial b { background: #c99410; }
.hs.omitido b { background: var(--e-omitido); }
@keyframes pulso { 50% { box-shadow: 0 0 0 10px rgba(255, 77, 79, 0); border-color: #ff8a8b; } }

.sub { margin: 4px 0 10px; font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-secondary); }
.lista-riesgos { display: grid; gap: 10px; margin-bottom: 20px; }
.riesgo {
  border-radius: 12px; background: var(--view-bg); border: 1px solid rgba(255, 255, 255, .1);
  border-left: 6px solid; overflow: hidden; cursor: pointer;
  opacity: 0; transform: translateX(30px);
  transition: transform .2s, box-shadow .2s;
}
.riesgo.visible { animation: deslizar .5s var(--ease-pop) forwards; }
@keyframes deslizar { to { opacity: 1; transform: none; } }
.riesgo.detectado { border-left-color: var(--e-detectado); }
.riesgo.parcial { border-left-color: var(--e-parcial); }
.riesgo.omitido { border-left-color: var(--e-omitido); }
.riesgo.foco { box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }
.riesgo-cab { display: flex; gap: 10px; align-items: center; padding: 12px 14px; }
.estado-ico {
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1rem;
}
.detectado .estado-ico { background: var(--e-detectado); }
.parcial .estado-ico { background: var(--e-parcial); color: #3b2a00; }
.omitido .estado-ico { background: var(--e-omitido); }
.riesgo-tit { flex: 1; min-width: 0; }
.riesgo-tit strong { display: block; line-height: 1.3; }
.gravedad { display: inline-block; margin-top: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; color: #0b2338; }
.gravedad.critica { background: var(--g-critica); color: #fff; }
.gravedad.alta { background: var(--g-alta); }
.gravedad.media { background: var(--g-media); }
.gravedad.baja { background: var(--g-baja); }
.flecha { transition: transform .25s; color: var(--text-muted); }
.riesgo.abierto .flecha { transform: rotate(180deg); }
.riesgo-cuerpo { display: none; padding: 0 14px 14px; font-size: .9rem; line-height: 1.5; }
.riesgo.abierto .riesgo-cuerpo { display: block; animation: entrar .3s both; }
.riesgo-cuerpo .comentario { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .18); }
.riesgo-cuerpo .tu-dijiste { margin: 0 0 10px; font-style: italic; color: var(--text-secondary); }
.riesgo-cuerpo dl { margin: 0; display: grid; gap: 8px; }
.riesgo-cuerpo dt { font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #7ff3e2; }
.riesgo-cuerpo dd { margin: 0; }
.riesgo-cuerpo .ref { font-size: .8rem; color: var(--text-muted); }

.lista-tus-obs { display: grid; gap: 8px; margin-bottom: 20px; }
.tu-obs { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: .88rem; line-height: 1.45; }
.tu-obs .n { font-weight: 900; color: var(--text-muted); }
.tu-obs p { margin: 0 0 4px; }
.tu-obs small { color: var(--text-secondary); }
.etq { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; }
.etq.coincide { background: var(--e-detectado); }
.etq.valida_no_listada { background: #5b8cff; }
.etq.imprecisa { background: rgba(255, 255, 255, .25); }
.etq.incorrecta { background: var(--e-omitido); }

.feedback h3 { margin: 0 0 8px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.feedback p { margin: 0 0 12px; line-height: 1.6; }
.feedback ul { margin: 0 0 12px; padding-left: 18px; line-height: 1.5; }
.feedback .col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feedback h4 { margin: 0 0 6px; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; }
.feedback .bien h4 { color: #7ff3e2; }
.feedback .mejorar h4 { color: #ffb98a; }

.calculo summary { cursor: pointer; font-weight: 700; }
.calculo table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .85rem; }
.calculo td { padding: 6px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.calculo td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.calculo p { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; }

.res-acciones { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.res-acciones .yoy-btn { width: auto; min-width: 200px; }

/* ── Visor ─────────────────────────────────────────────── */
.visor { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .92); display: flex; flex-direction: column; animation: entrar .25s both; }
.visor-cerrar { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0, 0, 0, .6); }
.visor-scroll { flex: 1; overflow: auto; display: grid; place-items: center; touch-action: pan-x pan-y pinch-zoom; }
.visor-scroll img { max-width: 100%; max-height: 100%; cursor: zoom-in; transition: width .25s; }
.visor-scroll.zoom { place-items: start; }
.visor-scroll.zoom img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; }
.visor-ayuda { text-align: center; margin: 8px; font-size: .8rem; color: var(--text-muted); }

/* ── Diálogo, toast, confeti ───────────────────────────── */
.dlg { color: #fff; max-width: 360px; width: calc(100% - 32px); padding: 20px; background: #0d3f63; border: 1px solid rgba(255, 255, 255, .2); }
.dlg::backdrop { background: rgba(0, 0, 0, .55); }
.dlg h3 { margin: 0 0 6px; }
.dlg p { margin: 0 0 12px; color: var(--text-secondary); font-size: .9rem; }
.dlg-acciones { display: flex; gap: 10px; margin-top: 14px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70;
  padding: 12px 18px; border-radius: 12px; background: #ff4d4f; font-weight: 700; box-shadow: var(--sombra-fuerte);
  animation: subir .35s var(--ease-pop) both; max-width: calc(100% - 32px); text-align: center;
}
@keyframes subir { from { transform: translate(-50%, 30px); opacity: 0; } }
#confeti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }
.temblor { animation: temblor .4s; }
@keyframes temblor { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .insp, .res-cuerpo { grid-template-columns: 1fr; }
  .insp-imagen, .res-col-imagen { position: static; }
  .insp-imagen { position: sticky; top: 60px; z-index: 5; }
}
@media (max-width: 600px) {
  main { padding: 12px 16px 32px; }
  .barra-marca span { font-size: 1rem; }
  .hero { padding-top: 16px; }
  .res-cabecera { flex-direction: column; text-align: center; }
  .chips-resumen { justify-content: center; }
  .feedback .col2 { grid-template-columns: 1fr; }
  .res-acciones { flex-direction: column; }
  .res-acciones .yoy-btn { width: 100%; }
  /* En teléfono la imagen fija ocuparía media pantalla: queda en flujo normal. */
  .insp-imagen { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .riesgo, .rango { opacity: 1; transform: none; }
}
