:root{--ink:#e8f2f2;--muted:#82989b;--line:#243a3e;--panel:#102428;--accent:#efb84b}*{box-sizing:border-box}html,body{min-height:100%;color:var(--ink);background:#071316;margin:0}body{font-family:Arial,Helvetica,sans-serif;overflow:hidden}button,select{font:inherit}.app-shell{background:radial-gradient(circle at 55% 30%,#173337 0,#071316 57%);grid-template-rows:64px minmax(0,1fr) 70px;height:100vh;display:grid}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:5;background:#0a1a1ddd;justify-content:space-between;align-items:center;padding:0 22px;display:flex}.brand{align-items:center;gap:11px;min-width:230px;display:flex}.brand-mark{width:36px;height:36px;color:var(--accent);border:1px solid #d29d38;border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid;box-shadow:0 0 20px #efb84b22}.brand strong,.brand small{display:block}.brand strong{letter-spacing:.08em;text-transform:uppercase}.brand small{color:var(--muted);margin-top:2px;font-size:10px}.scan-status{color:#adbec0;letter-spacing:.08em;text-transform:uppercase;font:600 11px monospace}.live-dot{background:#61d6a2;border-radius:50%;width:7px;height:7px;margin-right:8px;display:inline-block;box-shadow:0 0 10px #61d6a2}.ghost-button{color:var(--ink);cursor:pointer;background:#15292d;border:1px solid #39545a;border-radius:7px;padding:9px 13px}.ghost-button:hover{border-color:var(--accent);color:var(--accent)}.workspace{grid-template-columns:248px minmax(0,1fr) 220px;min-height:0;display:grid}.panel{border-color:var(--line);background:#0c1d20e8;padding:22px 18px;overflow:auto}.controls{border-right:1px solid var(--line)}.info-panel{border-left:1px solid var(--line)}.eyebrow{color:var(--accent);text-transform:uppercase;letter-spacing:.16em;font:700 10px monospace}.panel h1{margin:7px 0 24px;font-size:21px}.field-label{color:var(--muted);margin:0 0 7px;font-size:11px;display:block}.panel select{width:100%;color:var(--ink);background:#142b30;border:1px solid #315056;border-radius:6px;padding:10px}.channel-card{border-left:2px solid var(--accent);background:#13282c;align-items:center;gap:11px;margin-top:12px;padding:13px;display:flex}.channel-card>span{color:var(--accent);font:700 16px monospace}.channel-card strong,.channel-card small{display:block}.channel-card strong{font-size:12px}.channel-card small{color:var(--muted);margin-top:4px;font-size:9px}.divider{background:var(--line);height:1px;margin:22px 0}.switch-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.switch-row strong,.switch-row small{font-size:12px;display:block}.switch-row small{color:var(--muted);margin-top:4px}.switch{cursor:pointer;background:#31484d;border:0;border-radius:20px;width:39px;height:22px;padding:2px}.switch i{background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;display:block}.switch.on{background:#b68328}.switch.on i{transform:translate(17px)}.quality{border-top:1px dashed #294248;border-bottom:1px dashed #294248;justify-content:space-between;margin-top:18px;padding:10px 0;font:10px monospace;display:flex}.quality span{color:var(--muted)}.quality strong{color:#70d2ac}.note,.hint{color:#769093;margin-top:17px;font-size:10px;line-height:1.55}.viewer{touch-action:none;cursor:grab;background:radial-gradient(circle,#10292d 0,#050e10 68%);min-width:0;position:relative;overflow:hidden}.viewer:active{cursor:grabbing}.satellite-stage{transform-origin:0 0;filter:contrast(1.08);width:100%;height:100%;transition:transform .12s ease-out;position:absolute;inset:0}.grid-lines line{stroke:#81b7b9;stroke-width:3px;opacity:.18;vector-effect:non-scaling-stroke}.flashes circle{fill:#ffd54a;stroke:#fff4a8;stroke-width:2px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 5px #ffc400)}.guatemala-pin{fill:none;stroke:#ffcc59;stroke-width:3px;vector-effect:non-scaling-stroke}.zoom-tools{background:#0a1a1de8;border:1px solid #2b484d;border-radius:7px;align-items:center;display:flex;position:absolute;top:16px;left:16px;overflow:hidden}.zoom-tools button,.zoom-tools span{min-width:34px;height:34px;color:var(--ink);background:0 0;border:0;border-right:1px solid #2b484d;place-items:center;font:700 13px monospace;display:grid}.zoom-tools button{cursor:pointer}.zoom-tools button:hover{color:var(--accent)}.zoom-tools span{min-width:48px;color:var(--accent)}.projection-badge{color:#a5b7b9;white-space:nowrap;background:#081619da;border:1px solid #29464b;border-radius:5px;padding:7px 11px;font:10px monospace;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.loading{color:var(--accent);place-items:center;font:12px monospace;display:grid;position:absolute;inset:0}.info-panel h2{margin:7px 0 22px;font:600 27px monospace}.info-panel dl{margin:0}.info-panel dl div{border-bottom:1px solid #20373b;justify-content:space-between;padding:10px 0;font:11px monospace;display:flex}.info-panel dt{color:var(--muted)}.info-panel dd{color:#d9e7e8;margin:0}.legend{color:var(--muted);grid-template-columns:auto 1fr auto;align-items:center;gap:7px;margin-top:25px;font-size:9px;display:grid}.legend div{background:linear-gradient(90deg,#fff,#909090,#050505);border-radius:4px;height:7px}.timeline{border-top:1px solid var(--line);background:#0a1a1d;align-items:center;gap:18px;padding:0 24px;display:flex}.play{width:38px;height:38px;color:var(--accent);cursor:pointer;background:#2d2719;border:1px solid #735e32;border-radius:50%}.time-track{background:#294044;flex:1;height:3px;position:relative}.time-track span{background:var(--accent);height:100%;display:block}.time-track i{background:#ffd56e;border-radius:50%;width:13px;height:13px;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 10px #efb84b}.timeline time{color:#afc0c2;font:11px monospace}@media (max-width:900px){.workspace{grid-template-columns:190px 1fr}.info-panel,.scan-status{display:none}}@media (max-width:640px){.app-shell{grid-template-rows:56px minmax(0,1fr) 58px}.workspace{grid-template-columns:1fr}.controls{z-index:4;border:1px solid var(--line);border-radius:8px;width:190px;max-height:45vh;position:absolute;top:66px;left:8px}.controls .note,.controls .quality,.brand small{display:none}.ghost-button{padding:7px 9px}.timeline{padding:0 12px}.timeline time{display:none}}
:root{--ink:#ccf0fe;--muted:#a9bed1;--line:#52688f;--panel:#233e72;--accent:#f2a119}html,body{background:#1e3159}.app-shell{background:radial-gradient(circle at 55% 28%,#233e72 0,#1e3159 54%,#101d37 100%)}.topbar,.timeline{background:#1e3159f2;border-color:#52688f}.panel{background:#233e72ed}.viewer{background:radial-gradient(circle,#233e72 0,#172747 70%)}.institution-logo{object-fit:cover;background:#fff;border:2px solid #ccf0fe;border-radius:50%;width:46px;height:46px;box-shadow:0 0 0 2px #f2a11955,0 5px 18px #0006}.brand{min-width:270px}.brand strong{color:#ccf0fe;letter-spacing:.12em}.brand small{color:#ffd392}.ghost-button{color:#ffd392;background:#233e72;border-color:#f2a119}.ghost-button:hover{color:#1e3159;background:#f2a119}.channel-card,.panel select{background:#1e3159}.panel select{border-color:#7085a8}.switch.on,.live-dot{background:#026961}.layer-heading{color:#ffd392;letter-spacing:.1em;text-transform:uppercase;margin:20px 0 11px;font:700 10px monospace}.layer-toggle{padding:7px 0}.admin-boundaries path{fill:none;vector-effect:non-scaling-stroke;pointer-events:stroke}.departments path{stroke:#ffd392;stroke-width:1.7px;opacity:.98;filter:drop-shadow(0 0 1px #1e3159)}.municipalities path{stroke:#ccf0fe;stroke-width:.7px;opacity:.72;stroke-dasharray:3 2}.admin-boundaries path:hover{opacity:1;stroke-width:2.4px}.boundary-popup{color:#ccf0fe;z-index:3;background:#1e3159f2;border:1px solid #f2a119;border-radius:7px;min-width:180px;max-width:min(280px,100% - 32px);padding:13px 38px 13px 14px;position:absolute;bottom:48px;right:16px;box-shadow:0 10px 26px #0007}.boundary-popup strong,.boundary-popup small{display:block}.boundary-popup small{color:#ffd392;margin-top:4px}.boundary-popup button{color:#ccf0fe;cursor:pointer;background:0 0;border:0;position:absolute;top:7px;right:8px}.legend small{text-align:center;color:#ccf0fe;grid-column:1/-1;margin-top:5px}.rgb-legend{color:#ffd392;border:1px solid #52688f;border-radius:6px;margin-top:25px;padding:10px;font:10px/1.45 monospace}.live-dot{box-shadow:0 0 10px #026961}.quality strong,.projection-badge{color:#ccf0fe}.zoom-tools,.projection-badge{background:#1e3159ed;border-color:#536b96}.flashes circle{fill:#f2a119;stroke:#ffd392}.guatemala-pin{stroke:#ffd392}.play{color:#ffd392;background:#a8723a33;border-color:#f2a119}.time-selector{color:#a9bed1;text-transform:uppercase;align-items:center;gap:8px;font:10px monospace;display:flex}.time-selector select{color:#ccf0fe;background:#233e72;border:1px solid #52688f;border-radius:5px;min-width:112px;padding:7px 9px;font:11px monospace}@media (max-width:640px){.time-selector span,.time-track{display:none}}

/* GOES_ADMIN_MERGE_V2 */
.departments path,.departments path:hover{stroke:#00ffff;stroke-width:.45px;opacity:1;filter:none;stroke-dasharray:none}.municipalities path,.municipalities path:hover{stroke:#fff;stroke-width:.22px;opacity:.9;filter:none;stroke-dasharray:none}.america path,.america path:hover{stroke:#00ffff;stroke-width:.30px;opacity:1;filter:none;stroke-dasharray:none}.central-america path,.central-america path:hover{stroke:#fff;stroke-width:.34px;opacity:1;filter:none;stroke-dasharray:none}.admin-boundaries path{fill:none;vector-effect:non-scaling-stroke}

/* GOES_ADMIN_V4 */
.admin-boundaries path{
  fill:none!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linecap:round;
  stroke-linejoin:round;
  shape-rendering:geometricPrecision;
}
.departments path{
  stroke:#00ffff!important;
  opacity:1!important;
  filter:none!important;
  stroke-dasharray:none!important;
}
.municipalities path{
  stroke:#ffffff!important;
  opacity:.90!important;
  filter:none!important;
  stroke-dasharray:none!important;
}
.america path{
  stroke:#00ffff!important;
  opacity:1!important;
  filter:none!important;
  stroke-dasharray:none!important;
  pointer-events:none!important;
}
.central-america path{
  stroke:#ffffff!important;
  opacity:1!important;
  filter:none!important;
  stroke-dasharray:none!important;
  pointer-events:none!important;
}
.admin-boundaries path:hover{opacity:1!important;}

.guatemala-pin{opacity:.25!important;stroke-width:.7px!important;pointer-events:none!important;}

/* GOES_ADMIN_V7_SAFE_RENDER
   Mantiene el SVG raíz sin filtros costosos. El contraste se aplica sólo a la imagen.
   Esto reduce el riesgo de que Chrome intente rasterizar una capa SVG enorme al activar
   América/Centroamérica con zoom alto.
*/
.viewer{
  contain:paint!important;
  overflow:hidden!important;
}
.satellite-stage{
  filter:none!important;
  transform-origin:0 0!important;
}
.satellite-stage>image{
  filter:contrast(1.08);
}
.america,.central-america{
  pointer-events:none!important;
}
.america path,.central-america path{
  pointer-events:none!important;
  filter:none!important;
  shape-rendering:optimizeSpeed!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.departments path{
  stroke:#00ffff!important;
  opacity:1!important;
  filter:none!important;
  stroke-dasharray:none!important;
}
.municipalities path{
  stroke:#ffffff!important;
  opacity:.90!important;
  filter:none!important;
  stroke-dasharray:none!important;
}
.america path{
  stroke:#00ffff!important;
  opacity:1!important;
  stroke-dasharray:none!important;
}
.central-america path{
  stroke:#ffffff!important;
  opacity:1!important;
  stroke-dasharray:none!important;
}
.guatemala-pin{
  opacity:.25!important;
  stroke-width:.7px!important;
  pointer-events:none!important;
}


/* GOES_ADMIN_V8_CANVAS
   América y Centroamérica ya NO se renderizan como cientos de <path> SVG.
   Se dibujan en un único Canvas 2D superpuesto al visor.
*/
.admin-canvas{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  pointer-events:none!important;
  z-index:2!important;
}
.satellite-stage{
  z-index:1!important;
}
.zoom-tools,.projection-badge,.boundary-popup{
  z-index:5!important;
}


/* GOES_ADMIN_V9_PREPROJECTED
   America/Centroamerica:
   - sin fetch al pulsar
   - sin proyeccion en navegador
   - sin Canvas
   - un solo path SVG preproyectado por capa
*/
.america,.central-america{
  pointer-events:none!important;
}
.america path{
  fill:none!important;
  stroke:#00ffff!important;
  opacity:1!important;
  filter:none!important;
  stroke-dasharray:none!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.central-america path{
  fill:none!important;
  stroke:#ffffff!important;
  opacity:1!important;
  filter:none!important;
  stroke-dasharray:none!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}


/* GOES_GRID_V10 */
.grid-lines-v10{
  pointer-events:none!important;
}
.grid-lines-v10 path{
  fill:none!important;
  stroke:#d9eef2!important;
  opacity:.32!important;
  filter:none!important;
  stroke-dasharray:none!important;
  vector-effect:non-scaling-stroke!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}


/* GOES_FOCUS_V11 */
.focus-buttons{
  display:flex!important;
  align-items:center!important;
  gap:.45rem!important;
  flex-wrap:wrap!important;
}
.focus-buttons .ghost-button{
  white-space:nowrap!important;
}
@media (max-width:900px){
  .focus-buttons{
    gap:.3rem!important;
  }
}


/* GOES_LINKS_V12 */
.brand-link{
  color:inherit!important;
  text-decoration:none!important;
  cursor:pointer!important;
  border-radius:12px!important;
  transition:background .16s ease, box-shadow .16s ease, transform .16s ease!important;
}
.brand-link:hover{
  background:rgba(255,255,255,.055)!important;
  box-shadow:0 0 0 1px rgba(0,168,232,.25)!important;
}
.brand-link:focus-visible{
  outline:2px solid #00a8e8!important;
  outline-offset:3px!important;
}
.brand-link:active{
  transform:translateY(1px)!important;
}
.static-images-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.static-images-button:visited{
  color:inherit!important;
}
@media (max-width:900px){
  .static-images-button{
    font-size:.8rem!important;
  }
}


/* GOES_HEADER_V13 */
.institutional-links{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-width:0!important;
  flex-wrap:nowrap!important;
}
.institutional-image-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:58px!important;
  width:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:11px!important;
  overflow:hidden!important;
  text-decoration:none!important;
  box-shadow:0 3px 12px rgba(0,0,0,.22)!important;
  transition:transform .16s ease,filter .16s ease,box-shadow .16s ease!important;
  flex:0 0 auto!important;
}
.institutional-image-link img{
  display:block!important;
  height:58px!important;
  width:auto!important;
  max-width:none!important;
  object-fit:contain!important;
}
.institutional-image-link:hover{
  transform:translateY(-1px) scale(1.018)!important;
  filter:brightness(1.06)!important;
  box-shadow:0 5px 16px rgba(0,168,232,.24)!important;
}
.institutional-image-link:focus-visible{
  outline:2px solid #00a8e8!important;
  outline-offset:3px!important;
}
.nubis-nav{
  border-radius:11px!important;
}
.topbar{
  align-items:center!important;
  gap:12px!important;
}
.topbar .scan-status{
  margin-left:auto!important;
  flex:0 0 auto!important;
}
.bottom-shortcuts{
  display:flex!important;
  width:100%!important;
  justify-content:center!important;
  align-items:center!important;
  padding:8px 14px 4px!important;
  box-sizing:border-box!important;
}
.bottom-focus-buttons{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  width:100%!important;
}
.bottom-focus-buttons .ghost-button{
  min-height:36px!important;
  white-space:nowrap!important;
}
@media (max-width:1000px){
  .institutional-image-link,
  .institutional-image-link img{
    height:48px!important;
  }
  .institutional-links{gap:5px!important;}
}
@media (max-width:720px){
  .topbar{
    flex-wrap:wrap!important;
  }
  .institutional-links{
    width:100%!important;
    overflow-x:auto!important;
    padding-bottom:2px!important;
  }
  .institutional-image-link,
  .institutional-image-link img{
    height:44px!important;
  }
  .topbar .scan-status{
    margin-left:0!important;
  }
}

/* GOES_MOBILE_DRAWER_V15
   CORRECCIÓN:
   - NO cambia el grid de escritorio.
   - NO cambia las filas de .app-shell.
   - NO cambia el layout de bottom-shortcuts.
   - Sólo en <=900px convierte el panel izquierdo en drawer superpuesto.
*/
.mobile-controls-toggle{
  display:none!important;
}

/* Escritorio: comportamiento v13 intacto. */
@media (min-width:901px){
  .workspace.mobile-controls-open,
  .workspace.mobile-controls-closed{
    /* No sobrescribir grid-template-columns del CSS original. */
  }
}

/* Tablet / móvil */
@media (max-width:900px){
  .workspace{
    position:relative!important;
    display:block!important;
    min-width:0!important;
    width:100%!important;
    overflow:visible!important;
  }

  /* El mapa vuelve a ser el contenido principal a ancho completo. */
  .workspace > .viewer{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    margin:0!important;
  }

  /* El panel derecho no compite con el mapa en pantallas pequeñas. */
  .workspace > .info-panel{
    display:none!important;
  }

  /* Drawer flotante. No participa en el ancho del workspace. */
  .workspace > .controls{
    position:absolute!important;
    z-index:45!important;
    top:8px!important;
    left:0!important;
    width:min(340px,calc(100vw - 48px))!important;
    max-width:calc(100vw - 48px)!important;
    height:auto!important;
    max-height:calc(100% - 16px)!important;
    box-sizing:border-box!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    border-left:0!important;
    border-radius:0 12px 12px 0!important;
    box-shadow:10px 0 28px rgba(0,0,0,.38)!important;
    transition:transform .22s ease,opacity .18s ease!important;
    will-change:transform!important;
  }

  .workspace.mobile-controls-closed > .controls{
    transform:translateX(calc(-100% - 10px))!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  .workspace.mobile-controls-open > .controls{
    transform:translateX(0)!important;
    opacity:1!important;
    pointer-events:auto!important;
  }

  /* Flecha independiente del grid. */
  .mobile-controls-toggle{
    display:grid!important;
    place-items:center!important;
    position:absolute!important;
    z-index:55!important;
    top:18px!important;
    left:0!important;
    width:42px!important;
    height:50px!important;
    padding:0!important;
    border:1px solid #f2a119!important;
    border-left:0!important;
    border-radius:0 11px 11px 0!important;
    background:rgba(28,48,87,.96)!important;
    color:#ffd08a!important;
    cursor:pointer!important;
    box-shadow:4px 5px 16px rgba(0,0,0,.34)!important;
    backdrop-filter:blur(7px)!important;
    -webkit-backdrop-filter:blur(7px)!important;
    transition:left .22s ease,background .16s ease!important;
  }

  .workspace.mobile-controls-open > .mobile-controls-toggle{
    left:min(340px,calc(100vw - 48px))!important;
  }

  .workspace.mobile-controls-closed > .mobile-controls-toggle{
    left:0!important;
  }

  .mobile-controls-toggle span{
    font-size:18px!important;
    line-height:1!important;
  }

  /* Evitar que zoom y flecha se encimen. */
  .workspace .zoom-tools{
    left:auto!important;
    right:10px!important;
  }

  /* Los accesos inferiores quedan FUERA del workspace y visibles. */
  .bottom-shortcuts{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:8!important;
    width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:6px 8px!important;
    box-sizing:border-box!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .bottom-focus-buttons{
    display:flex!important;
    width:max-content!important;
    min-width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:6px!important;
  }

  .bottom-focus-buttons .ghost-button{
    flex:0 0 auto!important;
    min-height:34px!important;
    padding:7px 10px!important;
    white-space:nowrap!important;
  }
}

/* Teléfonos estrechos */
@media (max-width:600px){
  .workspace > .controls{
    width:min(300px,calc(100vw - 46px))!important;
    max-width:calc(100vw - 46px)!important;
    top:6px!important;
    max-height:calc(100% - 12px)!important;
    padding:18px 14px!important;
  }

  .workspace.mobile-controls-open > .mobile-controls-toggle{
    left:min(300px,calc(100vw - 46px))!important;
  }

  .mobile-controls-toggle{
    top:14px!important;
    width:40px!important;
    height:48px!important;
  }

  .bottom-focus-buttons{
    justify-content:flex-start!important;
  }

  .bottom-focus-buttons .ghost-button{
    font-size:12px!important;
    padding:6px 9px!important;
  }
}

/* Muy estrecho: deja siempre visible la pestaña de apertura. */
@media (max-width:380px){
  .workspace > .controls{
    width:calc(100vw - 44px)!important;
    max-width:calc(100vw - 44px)!important;
  }
  .workspace.mobile-controls-open > .mobile-controls-toggle{
    left:calc(100vw - 44px)!important;
  }
}


/* GOES_TIMELINE_V17
   v13 agregó bottom-shortcuts entre workspace y timeline.
   El shell original tenía 3 filas; timeline terminaba como una cuarta fila implícita
   fuera del viewport. Este parche define explícitamente las 4 filas sin tocar columnas.
*/
.app-shell{
  height:100dvh!important;
  min-height:100dvh!important;
  grid-template-rows:auto minmax(0,1fr) auto auto!important;
  overflow:hidden!important;
}

/* Mantener la zona central flexible; no convertirla en barras laterales. */
.workspace{
  min-height:0!important;
}

/* Los accesos inferiores siempre ocupan su propia fila. */
.bottom-shortcuts{
  position:relative!important;
  z-index:20!important;
  flex:0 0 auto!important;
  min-height:0!important;
}

/* La barra de animación/timeline siempre visible como cuarta fila. */
.timeline{
  display:grid!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:25!important;
  width:100%!important;
  min-width:0!important;
  flex:0 0 auto!important;
}

/* Evita que un selector o la pista ensanche el viewport. */
.timeline .time-selector,
.timeline .time-track{
  min-width:0!important;
}

/* Tablet/móvil: timeline compacto pero completo. */
@media (max-width:900px){
  .app-shell{
    grid-template-rows:auto minmax(0,1fr) auto auto!important;
  }

  .timeline{
    min-height:58px!important;
    padding:7px 10px!important;
    box-sizing:border-box!important;
    gap:8px!important;
  }

  .timeline .play{
    display:grid!important;
    place-items:center!important;
    flex:0 0 auto!important;
    min-width:40px!important;
    width:40px!important;
    height:40px!important;
  }

  .timeline .time-selector{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
  }

  .timeline .time-selector span{
    font-size:11px!important;
  }

  .timeline .time-selector select{
    max-width:132px!important;
    min-width:90px!important;
  }

  .timeline .time-track{
    display:block!important;
    min-width:50px!important;
  }

  .timeline time{
    white-space:nowrap!important;
    font-size:11px!important;
  }
}

/* Teléfonos pequeños: conservar Play + selector + hora; pista puede reducirse. */
@media (max-width:600px){
  .bottom-shortcuts{
    padding-top:4px!important;
    padding-bottom:4px!important;
  }

  .timeline{
    min-height:54px!important;
    padding:6px 7px!important;
    gap:6px!important;
    grid-template-columns:40px minmax(100px,auto) minmax(36px,1fr) auto!important;
    align-items:center!important;
  }

  .timeline .play{
    min-width:38px!important;
    width:38px!important;
    height:38px!important;
  }

  .timeline .time-selector span{
    display:none!important;
  }

  .timeline .time-selector select{
    width:100%!important;
    min-width:96px!important;
    max-width:118px!important;
  }

  .timeline .time-track{
    min-width:30px!important;
  }

  .timeline time{
    font-size:10px!important;
  }
}

/* Muy estrecho: ocultar sólo la pista visual, nunca Play ni selector. */
@media (max-width:390px){
  .timeline{
    grid-template-columns:38px minmax(94px,1fr) auto!important;
  }

  .timeline .time-track{
    display:none!important;
  }
}


/* GOES_MOBILE_CHANNEL_V18
   Escritorio conserva el select nativo original.
   Móvil usa botones táctiles directos al estado React para evitar fallos del <select>.
*/
.mobile-channel-picker{
  display:none!important;
}

@media (max-width:900px){
  /* El select que funciona bien en desktop se conserva en el DOM, pero en móvil
     usamos un selector táctil propio más confiable. */
  .controls label[for="channel"],
  .controls #channel{
    display:none!important;
  }

  .mobile-channel-picker{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    margin:2px 0 10px!important;
  }

  .mobile-channel-picker-title{
    display:block!important;
    margin:0 0 7px!important;
    font-size:11px!important;
    font-weight:700!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
    opacity:.76!important;
  }

  .mobile-channel-strip{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:2px 2px 7px!important;
    box-sizing:border-box!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:thin!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x!important;
  }

  .mobile-channel-chip{
    appearance:none!important;
    -webkit-appearance:none!important;
    flex:0 0 auto!important;
    min-width:48px!important;
    min-height:38px!important;
    padding:7px 10px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:9px!important;
    background:rgba(255,255,255,.06)!important;
    color:inherit!important;
    font:inherit!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1!important;
    cursor:pointer!important;
    scroll-snap-align:start!important;
    touch-action:manipulation!important;
    user-select:none!important;
    -webkit-user-select:none!important;
  }

  .mobile-channel-chip.rgb{
    max-width:170px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .mobile-channel-chip.active{
    border-color:#00a8e8!important;
    background:rgba(0,168,232,.22)!important;
    box-shadow:0 0 0 1px rgba(0,168,232,.28) inset!important;
  }

  .mobile-channel-chip:active{
    transform:scale(.97)!important;
  }

  .mobile-channel-chip:focus-visible{
    outline:2px solid #00a8e8!important;
    outline-offset:2px!important;
  }

  /* La tarjeta debe reflejar inmediatamente el canal seleccionado. */
  .channel-card{
    margin-top:2px!important;
  }
}

@media (max-width:420px){
  .mobile-channel-chip{
    min-width:46px!important;
    min-height:36px!important;
    padding:6px 9px!important;
    font-size:11px!important;
  }
}


/* GOES_MOBILE_CHANNEL_FIX_V19
   Selector móvil fuera del drawer:
   - vive directamente sobre el visor;
   - no depende del panel lateral;
   - los eventos no llegan al pan/zoom;
   - cada cambio fuerza remount de la imagen SVG.
*/
.mobile-channel-dock{
  display:none!important;
}

@media (max-width:900px){
  /* El selector v18 dentro del drawer se retira en móvil para evitar dos controles. */
  .mobile-channel-picker{
    display:none!important;
  }

  .mobile-channel-dock{
    display:flex!important;
    position:absolute!important;
    z-index:60!important;
    left:50px!important;
    right:8px!important;
    bottom:10px!important;
    align-items:center!important;
    gap:7px!important;
    min-width:0!important;
    padding:6px 7px!important;
    box-sizing:border-box!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:10px!important;
    background:rgba(17,30,57,.92)!important;
    box-shadow:0 5px 20px rgba(0,0,0,.38)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
  }

  .mobile-channel-dock-label{
    flex:0 0 auto!important;
    min-width:42px!important;
    padding:7px 6px!important;
    border-radius:7px!important;
    background:rgba(0,168,232,.22)!important;
    color:inherit!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
  }

  .mobile-channel-dock-strip{
    display:flex!important;
    flex:1 1 auto!important;
    align-items:center!important;
    gap:5px!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:1px 1px 3px!important;
    box-sizing:border-box!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    touch-action:pan-x!important;
    scrollbar-width:thin!important;
  }

  .mobile-dock-chip{
    appearance:none!important;
    -webkit-appearance:none!important;
    flex:0 0 auto!important;
    min-width:45px!important;
    min-height:34px!important;
    margin:0!important;
    padding:6px 8px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    border-radius:8px!important;
    background:rgba(255,255,255,.07)!important;
    color:inherit!important;
    font:inherit!important;
    font-size:11px!important;
    font-weight:750!important;
    line-height:1!important;
    white-space:nowrap!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    user-select:none!important;
    -webkit-user-select:none!important;
  }

  .mobile-dock-chip.rgb{
    max-width:150px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }

  .mobile-dock-chip.active{
    border-color:#00a8e8!important;
    background:rgba(0,168,232,.30)!important;
    box-shadow:0 0 0 1px rgba(0,168,232,.30) inset!important;
  }

  .mobile-dock-chip:active{
    transform:scale(.96)!important;
  }

  /* Deja espacio visual al dock para que no tape controles del mapa. */
  .projection-badge{
    bottom:58px!important;
  }
}

@media (max-width:600px){
  .mobile-channel-dock{
    left:46px!important;
    right:6px!important;
    bottom:7px!important;
    padding:5px 6px!important;
  }

  .mobile-channel-dock-label{
    min-width:39px!important;
    font-size:10px!important;
  }

  .mobile-dock-chip{
    min-width:43px!important;
    min-height:32px!important;
    padding:5px 7px!important;
    font-size:10px!important;
  }

  .projection-badge{
    bottom:54px!important;
  }
}


/* GOES_WEB5MB_HIRES_V20 */
.c02-hires-overlay{pointer-events:none!important;}


/* GOES_GRID_ADMIN_V21
   Visualización reforzada, sin relleno ni halo.
*/
.grid-lines-v10,
.grid-lines-v10 path{
  fill:none!important;
  stroke:#FFD400!important;
  stroke-opacity:.82!important;
  opacity:1!important;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.admin-boundaries.central-america,
.admin-boundaries.central-america path{
  fill:none!important;
  stroke:#FFFFFF!important;
  stroke-opacity:1!important;
  opacity:1!important;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.admin-boundaries.departments,
.admin-boundaries.departments path{
  fill:none!important;
  stroke:#00FFFF!important;
  stroke-opacity:1!important;
  opacity:1!important;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* GOES_TITLE_CAPTURE_GIF_V22 */
.topbar{display:flex!important;align-items:center!important;gap:10px!important;}
.institutional-links{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;}
.viewer-main-title{margin-left:10px!important;color:#fff!important;font-size:clamp(14px,1.35vw,21px)!important;font-weight:850!important;letter-spacing:.055em!important;line-height:1!important;white-space:nowrap!important;text-shadow:0 1px 8px rgba(0,0,0,.35)!important;}
.topbar-right{display:flex!important;align-items:center!important;gap:9px!important;margin-left:auto!important;flex:0 0 auto!important;}
.capture-tools{display:flex!important;align-items:center!important;gap:5px!important;}
.capture-tool-button{display:grid!important;place-items:center!important;width:36px!important;height:34px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:8px!important;background:rgba(4,20,42,.72)!important;color:#fff!important;box-shadow:0 3px 12px rgba(0,0,0,.25)!important;cursor:pointer!important;font-weight:800!important;line-height:1!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;}
.capture-tool-button.camera{font-size:18px!important;}
.capture-tool-button.gif{width:42px!important;font-size:10px!important;letter-spacing:.05em!important;}
.capture-tool-button:hover{border-color:#00a8e8!important;background:rgba(0,168,232,.18)!important;}
.capture-tool-button:disabled{opacity:.55!important;cursor:wait!important;}
.capture-backdrop{position:fixed!important;inset:0!important;z-index:10000!important;display:grid!important;place-items:center!important;padding:18px!important;background:rgba(2,8,18,.76)!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important;}
.capture-modal{display:flex!important;flex-direction:column!important;width:min(1000px,94vw)!important;max-height:92dvh!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:14px!important;background:#0b1628!important;color:#fff!important;box-shadow:0 22px 70px rgba(0,0,0,.55)!important;}
.capture-modal-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:11px 13px!important;border-bottom:1px solid rgba(255,255,255,.1)!important;}
.capture-modal-head>div{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;}
.capture-modal-head strong{font-size:14px!important;}
.capture-modal-head small{font-size:10px!important;opacity:.68!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.capture-close{width:32px!important;height:32px!important;border:0!important;border-radius:8px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font-size:22px!important;cursor:pointer!important;}
.capture-preview{display:grid!important;place-items:center!important;min-height:180px!important;overflow:auto!important;padding:10px!important;background:#050b14!important;}
.capture-preview img{display:block!important;max-width:100%!important;max-height:68dvh!important;object-fit:contain!important;border-radius:6px!important;}
.capture-message{margin:0!important;padding:8px 13px 0!important;font-size:11px!important;opacity:.82!important;}
.capture-modal-actions{display:flex!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important;padding:11px 13px 13px!important;}
.capture-modal-actions button{min-height:36px!important;padding:7px 12px!important;border:1px solid rgba(0,168,232,.65)!important;border-radius:8px!important;background:rgba(0,168,232,.18)!important;color:#fff!important;font-weight:700!important;cursor:pointer!important;}
.capture-modal-actions button.secondary{border-color:rgba(255,255,255,.18)!important;background:rgba(255,255,255,.06)!important;}
.capture-toast{position:fixed!important;z-index:9999!important;top:72px!important;right:14px!important;max-width:min(360px,85vw)!important;padding:9px 12px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:9px!important;background:rgba(9,22,42,.94)!important;color:#fff!important;font-size:11px!important;box-shadow:0 8px 28px rgba(0,0,0,.35)!important;}
.capture-toast.busy{border-color:rgba(0,168,232,.55)!important;}
@media(max-width:900px){.scan-status{display:none!important}.viewer-main-title{margin-left:5px!important;font-size:12px!important;letter-spacing:.035em!important}.topbar-right{gap:4px!important}.capture-tool-button{width:34px!important;height:32px!important}.capture-tool-button.gif{width:38px!important}.capture-toast{top:60px!important;}.capture-modal{width:96vw!important;max-height:90dvh!important}.capture-preview img{max-height:62dvh!important}}
@media(max-width:600px){.topbar{gap:4px!important}.institutional-links{gap:3px!important;flex:1 1 auto!important;overflow:hidden!important}.viewer-main-title{margin-left:2px!important;max-width:92px!important;font-size:10px!important;line-height:1.05!important;white-space:normal!important}.topbar-right{margin-left:2px!important}.capture-tool-button{width:31px!important;height:30px!important;border-radius:7px!important}.capture-tool-button.camera{font-size:16px!important}.capture-tool-button.gif{width:34px!important;font-size:9px!important}.capture-backdrop{padding:7px!important}.capture-modal{width:98vw!important}.capture-modal-actions{justify-content:stretch!important}.capture-modal-actions button{flex:1 1 auto!important}.capture-preview{padding:6px!important;min-height:140px!important}}

/* GOES_MOBILE_ROWS_COLORBAR_V23 */
@media (max-width:900px){
  .mobile-channel-dock{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:5px!important;
    left:48px!important;
    right:7px!important;
    bottom:7px!important;
    padding:6px!important;
    max-height:148px!important;
  }

  .mobile-channel-dock-label{
    display:none!important;
  }

  .mobile-active-colorbar,
  .mobile-active-rgb{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    min-width:0!important;
    min-height:22px!important;
    padding:2px 4px!important;
    box-sizing:border-box!important;
    color:#fff!important;
  }

  .mobile-active-colorbar>strong,
  .mobile-active-rgb>strong{
    flex:0 0 auto!important;
    max-width:34%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:10px!important;
    font-weight:800!important;
  }

  .mobile-active-rgb>small{
    font-size:9px!important;
    opacity:.72!important;
  }

  .mobile-colorbar-line{
    display:flex!important;
    align-items:center!important;
    flex:1 1 auto!important;
    gap:5px!important;
    min-width:0!important;
  }

  .mobile-colorbar-line>span{
    flex:0 0 auto!important;
    font-size:9px!important;
    font-variant-numeric:tabular-nums!important;
    opacity:.92!important;
  }

  .mobile-colorbar-line>small{
    flex:0 0 auto!important;
    max-width:70px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:8px!important;
    opacity:.72!important;
  }

  .mobile-colorbar-gradient{
    flex:1 1 auto!important;
    min-width:55px!important;
    height:9px!important;
    border:1px solid rgba(255,255,255,.35)!important;
    border-radius:4px!important;
    box-shadow:0 1px 3px rgba(0,0,0,.45)!important;
  }

  .mobile-channel-row{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    width:100%!important;
    min-width:0!important;
  }

  .mobile-row-label{
    flex:0 0 42px!important;
    width:42px!important;
    font-size:9px!important;
    font-weight:800!important;
    line-height:1!important;
    text-transform:uppercase!important;
    letter-spacing:.04em!important;
    opacity:.78!important;
    text-align:center!important;
  }

  .mobile-channel-dock-strip{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    padding:1px 1px 2px!important;
  }

  .mobile-dock-chip{
    min-width:41px!important;
    min-height:29px!important;
    padding:4px 7px!important;
    font-size:10px!important;
    border-radius:7px!important;
  }

  .mobile-dock-chip.rgb{
    min-width:74px!important;
    max-width:135px!important;
  }

  /* La etiqueta de proyección queda por encima del selector de dos filas. */
  .projection-badge{
    bottom:142px!important;
    z-index:58!important;
  }
}

@media (max-width:600px){
  .mobile-channel-dock{
    left:44px!important;
    right:5px!important;
    bottom:5px!important;
    gap:4px!important;
    padding:5px!important;
    max-height:142px!important;
  }

  .mobile-active-colorbar>strong,
  .mobile-active-rgb>strong{
    max-width:30%!important;
    font-size:9px!important;
  }

  .mobile-row-label{
    flex-basis:36px!important;
    width:36px!important;
    font-size:8px!important;
  }

  .mobile-dock-chip{
    min-width:39px!important;
    min-height:27px!important;
    padding:4px 6px!important;
    font-size:9px!important;
  }

  .mobile-dock-chip.rgb{
    min-width:68px!important;
    max-width:122px!important;
  }

  .projection-badge{
    bottom:135px!important;
  }
}


/* GOES_LOD_CAPTURE_V24 */
.capture-toast.busy{max-width:min(92vw,460px)!important;}
@media (max-width:900px){.capture-tools{z-index:90!important}.capture-tool-button{touch-action:manipulation!important}}


/* GOES_SMOOTH_ANIMATION_V25
   Crossfade real: el frame anterior permanece visible hasta que el siguiente
   terminó de descargar/decodificar.
*/
.satellite-raster{
  transition:opacity 220ms ease-in-out!important;
  will-change:opacity;
  pointer-events:none!important;
}
.satellite-raster-prev{
  opacity:1;
}
.satellite-raster-current{
  opacity:1;
}
@media (prefers-reduced-motion:reduce){
  .satellite-raster{
    transition:none!important;
  }
}


/* GOES_CAPTURE_GIF_VIEWPORT_V26 */
.capture-preview{
  background:#07111f!important;
}
.capture-preview img{
  display:block!important;
  max-width:100%!important;
  max-height:68vh!important;
  object-fit:contain!important;
}
.capture-toast.busy{
  min-width:190px!important;
}


/* GOES_SIMPLE_GIF_V27 */
.capture-toast.busy{
  min-width:190px!important;
}


/* GOES_EXPORT_BRANDING_V28 */
.capture-preview{
  background:#07111f!important;
}


/* GOES_SEGEPLAN_ADMIN_V29 */
.segeplan-departments .segeplan-department-path{
  pointer-events:stroke!important;
  cursor:help!important;
  transition:stroke-width 90ms ease, filter 90ms ease;
}
.segeplan-departments .segeplan-department-path:hover{
  filter:drop-shadow(0 0 1px rgba(255,255,255,.95));
}
.segeplan-central-america path,
.segeplan-belize-path{
  pointer-events:stroke!important;
}

/* GOES_EXPORT_AMERICA_CARIBE_V29_3 */
/* No changes to interactive styling; export-only behavior lives in JS. */

/* GOES_V30_AMERICA_DEFAULT */


/* GOES_V33_1_REGION_QUICK_ZOOM */
.climate-shortcuts {
  width: 100%;
  min-width: 0;
  border-top: 1px solid rgba(143, 220, 255, 0.12);
  background: rgba(5, 17, 33, 0.88);
}
.climate-shortcuts-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 12px;
}
.climate-shortcuts-label {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(210, 232, 245, .72);
  white-space: nowrap;
}
.climate-shortcuts-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1px;
}
.climate-focus-button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.05;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .climate-shortcuts-inner {
    padding: 6px 8px;
    gap: 6px;
  }
  .climate-shortcuts-label {
    font-size: 10px;
  }
  .climate-focus-button {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 11px;
  }
}


/* GOES_V33_2_CLIMATE_LINE_FIX_ZOOM15 */
.climate-regions,
.climate-regions path {
  fill: none !important;
  fill-opacity: 0 !important;
}
.climate-regions path {
  stroke: #FFB000;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* GOES_V33_3_CLIMATE_VISIBLE_SOUTH_ZOOM30 */
.climate-regions,
.climate-regions path {
  fill: none !important;
  fill-opacity: 0 !important;
}
.climate-regions path {
  stroke: #FFB000 !important;
  stroke-opacity: .96 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* GOES_V33_5_CLIMATE_THICK */
.climate-regions path{
  stroke:#FFFF00 !important;
  stroke-width:2.64px !important;
  stroke-opacity:1 !important;
}


/* GOES_V34_CENTERED_FOCUS_BARS */
.bottom-shortcuts {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
}
.bottom-focus-buttons {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.climate-shortcuts-inner {
  justify-content: center !important;
  flex-wrap: wrap !important;
  text-align: center;
}
.climate-shortcuts-scroll {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap !important;
  overflow: visible !important;
  width: auto;
  max-width: 100%;
}
.climate-shortcuts-label {
  text-align: center;
}
@media (max-width: 900px) {
  .bottom-focus-buttons,
  .climate-shortcuts-scroll {
    justify-content: center !important;
  }
}


/* GOES_V35_2_MOBILE_ZOOM_FIX */
.zoom-tools {
  z-index: 40 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}
.zoom-tools button,
.zoom-tools .mobile-zoom-button {
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 900px) {
  .viewer .zoom-tools {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 60 !important;
    overflow: visible !important;
    border-radius: 9px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.38);
  }

  .viewer .zoom-tools button,
  .viewer .zoom-tools span {
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    font-size: 17px !important;
    line-height: 44px !important;
  }

  .viewer .zoom-tools span {
    min-width: 56px !important;
    width: 56px !important;
    font-size: 13px !important;
  }

  .viewer .zoom-tools button {
    cursor: pointer !important;
  }

  /* Evita que docks/capas transparentes capturen el toque encima del zoom. */
  .viewer .mobile-channel-dock {
    z-index: 20;
  }
}

/* En móviles pequeños conserva los controles de zoom dentro del viewport. */
@media (max-width: 520px) {
  .viewer .zoom-tools {
    top: 8px !important;
    right: 8px !important;
    transform: scale(.92);
    transform-origin: top right;
  }
}

