/* Mobile form and detail behavior also applies when a module appends its own CSS later. */
body.erp-layout #overlay-root .account-access{max-width:100%;font-size:14px}body.erp-layout #overlay-root .access-actions{display:grid;grid-template-columns:minmax(0,1fr)}body.erp-layout #overlay-root .access-actions button{width:100%;min-width:0;min-height:44px}body.erp-layout #overlay-root .access-review dl>div{grid-template-columns:82px minmax(0,1fr)}
body.erp-layout .pa-editor-grid,body.erp-layout .pa-switches{grid-template-columns:minmax(0,1fr)}body.erp-layout .pa-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.erp-layout .pa-search{flex-basis:100%}
body.erp-layout #overlay-root .pocr-review-grid{grid-template-columns:minmax(0,1fr)}body.erp-layout #overlay-root .pocr-review-field.wide{grid-column:auto}
body.erp-layout #overlay-root .op-detail-grid{grid-template-columns:minmax(0,1fr)}body.erp-layout #overlay-root .op-form-grid>*,body.erp-layout #overlay-root .form-grid>*{min-width:0}
body .client-service-view,body .client-services-shell{width:100%;max-width:480px}body .client-services-shell{padding:0 12px 88px}body .cs-catalog{grid-template-columns:minmax(0,1fr)}body .cs-flow{grid-template-columns:repeat(2,minmax(0,1fr))}body .cs-shortcuts .cs-button{flex:1 1 calc(50% - 9px);font-size:13px;padding:10px 9px}body .client-services-bottom{left:50%;right:auto;transform:translateX(-50%);width:100%;max-width:480px;gap:6px;justify-content:space-around}body .client-services-bottom a{min-width:58px;min-height:44px}
body.erp-layout #alarm-root .alarm-widget{top:auto!important;width:auto!important}body.erp-layout #alarm-root .alarm-panel{top:auto!important;bottom:calc(100% + 8px)!important;left:auto!important;right:0!important}
@media(max-width:360px){body.erp-layout .pa-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
