/* =========================================================
   V27 FINAL FIXES
   1) Quita padding superior/inferior del BODY.
   2) Corrige exportación de ticket evitando canvas tainted.
   ========================================================= */

/* Quitar padding 128/34 y cualquier padding agregado al body */
html,
body,
body.app-single-focus,
html body.app-single-focus {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Home realmente full screen sin margen blanco */
html body[data-active-view="inicio"] .site-header,
html body[data-active-view="inicio"] .hero,
html body:not([data-active-view]) .site-header,
html body:not([data-active-view]) .hero {
  min-height: 100svh !important;
}

/* Compensa la botonera sin usar padding en body */
html body .app-tabbar {
  bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
}

/* Las vistas internas conservan respiración propia sin tocar el body */
html body.app-single-focus main > section.active-focus {
  box-sizing: border-box !important;
}

/* Evita que el navegador agregue huecos raros por overflow horizontal */
html body {
  overflow-x: hidden !important;
}
