#reporte-universal-abrir {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid #abc6db65;
  border-radius: 13px;
  background: radial-gradient(ellipse at 13% 0, #bfe5f044, transparent 68%), linear-gradient(145deg, #283e51, #152839 73%);
  box-shadow: 0 5px 12px #0710176e;
  color: #e1f0f8;
  cursor: pointer;
  transform: scale(var(--reporte-zoom, 1));
}
#reporte-universal-abrir {
  position: fixed;
  z-index: 1800;
  right: calc(max(var(--reporte-inset, 16px), env(safe-area-inset-right, 0px)) + var(--reporte-der, 0px));
  bottom: calc(max(var(--reporte-inset, 16px), env(safe-area-inset-bottom, 0px)) + var(--reporte-abajo, 0px) + var(--reporte-elevacion, 0px) + var(--reporte-ajuste, 0px));
  transform-origin: bottom right;
}
#report-open {
  position: relative;
  top: calc(-1 * var(--reporte-ajuste, 0px));
  left: var(--reporte-ajuste-x, 0px);
}
@media (orientation: landscape) and (max-height: 480px) {
  .phone:has(#float-dock:not([hidden])) #inicio-simple { padding-inline-end: 64px; }
}
body:has(.ayuda-button:not([hidden])) { --reporte-elevacion: var(--reporte-ayuda, 54px); }
body:has(.ge-status-slot) { --reporte-elevacion: 32px; }
body:has(#reporte-universal-abrir:not([hidden], [data-reporte-selector])) :is(main, .access-main) {
  padding-block-end: max(76px, var(--reporte-margen, 76px));
}
body:has(dialog[open], :popover-open) :is(#reporte-universal-abrir, #report-open),
body:has(.ge-conexion:not([hidden])) #reporte-universal-abrir,
body.ge-sin-conexion :is(#reporte-universal-abrir, #report-open),
[data-reporte-solape] { visibility: hidden; }
#reporte-universal {
  box-sizing: border-box;
  max-width: min(420px, calc(100vw - 28px));
  width: 100%;
  max-height: calc(100dvh - 28px);
  padding: 14px;
  border: 1px solid #66879b;
  border-radius: 12px;
  background: #182e41;
  color: #edf7fc;
  font: 400 14px/1.35 system-ui;
}
#reporte-universal::backdrop { background: #091019aa; }
#reporte-universal h2 { margin: 0 0 6px; font-size: 1.1875rem; font-weight: 500; }
#reporte-universal form { display: grid; gap: 6px; }
#reporte-universal label { display: grid; gap: 4px; }
#reporte-universal :is(select, textarea, button) {
  font: 500 14px system-ui;
  border: 1px solid #66879b;
  border-radius: 7px;
  padding: 6px 8px;
  background: #22384c;
  color: #f3f8fc;
}
#reporte-universal button { min-height: 38px; width: fit-content; cursor: pointer; }
.reporte-acciones { display: grid; gap: 6px; justify-items: center; padding-top: 6px; }
#reporte-universal .reporte-principal, #prueba-reporte button[type=submit].primary {
  width: 100%; min-height: 44px; justify-content: center; text-align: center;
  color: #102b29; background: #9ae3cd; border-color: #9ae3cd;
}
:is(#reporte-universal, #prueba-reporte) :is([data-reporte-dictar], [data-reporte-ampliar], [data-reporte-quitar]) {
  justify-self: start; width: fit-content; min-height: 34px; border: 0; padding: 4px 2px;
  background: transparent; color: #bce3ef; font: 400 13px system-ui; text-decoration: underline;
}
#reporte-universal textarea, #prueba-reporte textarea {
  box-sizing: border-box; width: 100%; min-height: 5.25rem; resize: vertical;
  padding: 8px 10px; border: 1px solid #66879b; border-radius: 7px;
  background: #22384c; color: #f3f8fc; font: 400 14px/1.35 system-ui;
}
.reporte-captura-acciones { display: flex; flex-wrap: wrap; gap: 14px; }
:is(#reporte-universal, #prueba-reporte) [data-reporte-captura] { margin: 2px 0; }
:is(#reporte-universal, #prueba-reporte) [data-reporte-captura] figcaption { padding-top: 4px; }
#reporte-universal-abrir[hidden], #reporte-universal-abrir[data-reporte-selector] { display: none; }
body:has(#user-picker:not([hidden])) #reporte-universal-abrir[data-reporte-selector] { display: block; }
#reporte-universal p { margin: 0; }
#reporte-universal [hidden], #prueba-reporte [hidden] { display: none !important; }
:is(#reporte-universal, #prueba-reporte) [data-reporte-captura] canvas {
  display: block;
  box-sizing: content-box;
  width: min(100%, 240px);
  height: 126px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid #66879b;
  margin: 4px 0;
  touch-action: none;
}
:is(#reporte-universal, #prueba-reporte) [data-reporte-captura][data-ampliada] canvas {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48dvh;
  object-fit: fill;
}
[data-geneterna-preparado] {
  outline: 2px solid #8dcbd6;
  outline-offset: 4px;
}
