/* celular/tablet. Al restaurar la ventana SAP (botón del medio) quedaba sin tamaño (el tamaño definido para escritorio no aplica en celular) y se achicaba al mínimo.
   Ahora la SAP restaurada ocupa casi todo el ancho y un alto cómodo, con el scroll interno de siempre. Maximizada y redimensionada a mano no cambian.
   Para revertir: sacar el <link> de este archivo en index.html. */
@media (max-width: 1023px) {
  html body #w-sap:not([hidden]):not(.is-max):not(.is-sized) {
    box-sizing: border-box; width: calc(100vw - 12px); min-width: 0; height: min(540px, calc(100dvh - var(--taskbar-h) - 24px)); min-height: 0;
  }
}

/* celular/tablet. Los tiradores para cambiar el tamaño de las ventanas eran una franja de 6px (y las esquinas una "L" de 6px): imposibles de tocar con
   un dedo. Ahora son franjas de 20px sobre el borde y esquinas cuadradas de 30px. Maximizadas y fijas siguen sin tiradores (reglas existentes).
   Para revertir: borrar este bloque. */
@media (max-width: 1023px) {
  html .rz--n  { top: -9px;    left: 30px;  right: 30px;  height: 20px; }
  html .rz--s  { bottom: -9px; left: 30px;  right: 30px;  height: 20px; }
  html .rz--e  { right: -9px;  top: 30px;   bottom: 30px; width: 20px; }
  html .rz--w  { left: -9px;   top: 30px;   bottom: 30px; width: 20px; }
  html .rz--ne, html .rz--nw, html .rz--se, html .rz--sw { width: 30px; height: 30px; clip-path: none; z-index: 4; }
  html .rz--ne { top: -9px;    right: -9px; }
  html .rz--nw { top: -9px;    left: -9px; }
  html .rz--se { bottom: -9px; right: -9px; }
  html .rz--sw { bottom: -9px; left: -9px; }
}
