@layer standards {

/* Phone layouts only; desktop declarations remain untouched. */
@media screen and (max-width:700px){
 html body#dashboardRoot,html body#dashboardRoot .shell{width:100%!important;min-width:0!important;max-width:100%!important;}
 html body#dashboardRoot .shell{display:flex!important;flex-direction:column!important;}
 html body#dashboardRoot .erp-sidebar{position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;}
 html body#dashboardRoot :is(main,.main,.content,.workspace,.modulecard,.modulehead,.panel,.card,form,fieldset,.formfield,.topbar){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
 html body#dashboardRoot :is(.formgrid,.grid,.home-tiles,.home-grid,[style*="grid-template-columns"],.reservation-typed-datetime,.rental-clock,.rentalClockBox){grid-template-columns:minmax(0,1fr)!important;}
 html body#dashboardRoot :is(.formgrid,.grid)>*{grid-column:auto!important;min-width:0!important;}
 html body#dashboardRoot :is(input,select,textarea){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
 html body#dashboardRoot :is(.modulehead,.toolbar,.form-actions,.topbar){flex-wrap:wrap!important;gap:8px!important;}
 html body#dashboardRoot :is(button,.btn){white-space:normal!important;max-width:100%!important;}
 html body#dashboardRoot :is(p,h1,h2,h3,label,small){overflow-wrap:anywhere;}
 html body#dashboardRoot .phone-table-panel{display:block!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;}
 html body#dashboardRoot table{max-width:none!important;}
 html body#dashboardRoot #modal{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;min-width:0!important;box-sizing:border-box!important;}
}
.phone-table-panel{display:contents;}

@media screen and (max-width:700px){
 html body#dashboardRoot #rentalReservationForm .formgrid,html body#dashboardRoot #rentalReservationForm .reservation-typed-datetime{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;}
 html body#dashboardRoot #rentalReservationForm .formfield{grid-column:auto!important;width:100%!important;min-width:0!important;}
 html body#dashboardRoot .erp-sidebar :is(nav,.erp-side-navigation,.erp-nav-group){display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
 html body#dashboardRoot .erp-sidebar .erp-nav-entry{width:100%!important;min-width:0!important;box-sizing:border-box!important;white-space:normal!important;}
}

}