/* M4: densidad móvil; sin cambios de impresión o navegador normal. */
@media screen {
 html.ea-mobile-app-m2 .main,html.ea-mobile-app-m2 body.ea4-sidebar-hidden .main{padding:8px 8px calc(88px + env(safe-area-inset-bottom,0px))!important}
 html.ea-mobile-app-m2 .ea-main-v1>.topbar{padding:8px 10px!important;min-height:52px;margin-bottom:6px!important}
 html.ea-mobile-app-m2 .card{padding:10px!important;margin-bottom:8px!important;border-radius:14px!important}
 html.ea-mobile-app-m2 .card h2{margin-top:0;margin-bottom:7px}
 html.ea-mobile-app-m2 .grid,html.ea-mobile-app-m2 .grid3,html.ea-mobile-app-m2 .two-panel{gap:6px!important}
 html.ea-mobile-app-m2 .toolbar,html.ea-mobile-app-m2 .foot{gap:6px;margin-top:6px;margin-bottom:6px}
 html.ea-mobile-app-m2 #document-form>.card>.toolbar{margin:0 0 7px;gap:5px}
 html.ea-mobile-app-m2 label{margin-top:0;margin-bottom:3px}
 html.ea-mobile-app-m2 input:not([type=checkbox]):not([type=radio]),html.ea-mobile-app-m2 select{min-height:38px;padding:7px 9px!important}
 html.ea-mobile-app-m2 textarea{padding:7px 9px!important}
 html.ea-mobile-app-m2 #content p,html.ea-mobile-app-m2 .modal-zoom p{margin-top:6px;margin-bottom:6px}
 html.ea-mobile-app-m2 .lineform{gap:6px;margin-bottom:6px}
 html.ea-mobile-app-m2 .tablewrap td,html.ea-mobile-app-m2 .tablewrap th{padding:7px 6px!important}
 html.ea-mobile-app-m2 .document-total{margin:5px 0!important}
 html.ea-mobile-app-m2 #document-form button[onclick="previewDocument()"]{margin:6px 0!important}
 html.ea-mobile-app-m2 .ea-m3-contact{padding:6px 9px;margin:2px 0;border-radius:10px}
 html.ea-mobile-app-m2 .ea-m3-contact>div{margin-top:6px}
 html.ea-mobile-app-m2 .ea-m4-empty{display:none!important}
 html.ea-mobile-app-m2 .ea-m4-tools{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-bottom:6px;position:relative;z-index:11}
 html.ea-mobile-app-m2 .ea-m4-fit{font-size:11px!important;min-height:32px!important;padding:5px 8px!important;white-space:nowrap}
 html.ea-mobile-app-m2 .ea-m3-help,html.ea-mobile-app-m2 .ea-m3-help:not([open]){position:relative;margin:0;padding:0;border:0;width:auto;background:transparent}
 html.ea-mobile-app-m2 .ea-m3-help>summary{display:grid;place-items:center;list-style:none;min-height:32px;width:32px;padding:4px;border-radius:50%;cursor:pointer}
 html.ea-mobile-app-m2 .ea-m3-help>summary::-webkit-details-marker{display:none}
 html.ea-mobile-app-m2 .ea-m3-help .ea-m3-info{width:15px;height:15px;font-size:11px!important;margin:0;line-height:1!important}
 html.ea-mobile-app-m2 .ea-m3-help[open]{position:static}
 html.ea-mobile-app-m2 .ea-m3-help[open]>:not(summary){display:block;background:var(--ea-m2-panel,#fff);color:var(--ea-m2-text,#263548);padding:6px 10px;margin:0!important}
 html.ea-mobile-app-m2 .ea-m3-help[open]{flex-basis:100%;border:1px solid var(--line);border-radius:10px}
 html.ea-mobile-app-m2 .ea-m4-tools:has(.ea-m3-help[open]){flex-wrap:wrap}
 html.ea-mobile-app-m2 .dialog,html.ea-mobile-app-m2 .dialog.small{padding:10px!important}
 html.ea-mobile-app-m2 .dialoghead{margin-bottom:7px;gap:5px}
 html.ea-mobile-app-m2 .dialoghead .zoom-controls{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:4px;position:relative}
 html.ea-mobile-app-m2 .zoom-controls button{min-width:30px;min-height:32px;padding:4px 6px}
 html.ea-mobile-app-m2 .zoom-controls>.ea-m3-help{margin-left:auto}
 html.ea-mobile-app-m2 .sidebar .navgroup{margin:12px 8px 5px}
 html.ea-mobile-app-m2 .sidebar .nav{margin:2px 0;min-height:42px}
}
