/* Mobile presentation only. Authentication and application rules are unchanged. */
.mobile-menu-toggle{display:none}
html[data-design=enterprise] .login-shell[hidden],html[data-design=enterprise] #workspace[hidden]{display:none!important}
@media(max-width:760px){
 html[data-design=enterprise] body{max-width:100%;margin:0}
 html[data-design=enterprise] #workspace{min-width:0;max-width:100%}
 html[data-design=enterprise] #workspace>aside{box-sizing:border-box;position:relative;width:100%;min-width:0;padding:12px}
 html[data-design=enterprise] #workspace>aside .brand{padding-right:90px;margin:0;min-height:50px}
 html[data-design=enterprise] #workspace>aside .brand>span{overflow-wrap:anywhere;min-width:0}
 html[data-design=enterprise] #workspace>aside .mobile-menu-toggle{display:block;position:absolute;right:12px;top:16px;min-width:72px;min-height:44px;padding:8px 12px;background:var(--sidebar-active,#214f84);color:var(--sidebar-ink,#fff);border:1px solid #ffffff55;border-radius:6px;z-index:2}
 html[data-design=enterprise] #workspace>aside:not([data-mobile-menu=open]) :is(#nav,#ess-sidebar){display:none!important}
 html[data-design=enterprise] #workspace>aside[data-mobile-menu=open] :is(#nav,#ess-sidebar){display:block!important;max-height:60svh;overflow:auto;padding:8px 0}
 html[data-design=enterprise] #workspace :is(#nav,#ess-sidebar) button{width:100%;min-width:0;white-space:normal;min-height:44px}
 html[data-design=enterprise] #workspace .sidebar-foot:has(#change-password){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html[data-design=enterprise] #workspace .sidebar-foot:has(#change-password) #identity{grid-column:1/-1}
 html[data-design=enterprise] #workspace>main{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:16px 12px}
 html[data-design=enterprise] #workspace :is(header,.panel-head,.split-title){gap:12px;flex-wrap:wrap;min-width:0}
 html[data-design=enterprise] #workspace :is(.header-right,#panel-actions,.panel-head>div){min-width:0;max-width:100%;flex-wrap:wrap;gap:8px}
 html[data-design=enterprise] #workspace :is(.panel,.card,.board-card,#content,#table-content,.flow-board){min-width:0;max-width:100%}
 html[data-design=enterprise] #workspace :is(.toolbar,.management-filters,.employee-primary-filter,.employee-extra-filter,.filter-end-row){display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0;gap:12px}
 html[data-design=enterprise] #workspace :is(.toolbar,.management-filters) label{min-width:0!important;width:100%;max-width:100%;margin:0}
 html[data-design=enterprise] :is(#workspace,#dialog) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;font-size:16px!important;max-width:100%;min-width:0!important;min-height:44px}
 html[data-design=enterprise] #workspace :is(.toolbar,.management-filters) :is(input:not([type=checkbox]):not([type=radio]),select,.employee-multi-picker){width:100%!important;max-width:100%;min-width:0!important}
 html[data-design=enterprise] :is(#workspace,#dialog) button{min-height:44px}
 html[data-design=enterprise] #workspace :is(.table-wrap,.table-scroll){display:block;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 html[data-design=enterprise] #workspace :is(.board-top,.board-middle,.board-lower,.board-bottom,.department-layout,.leave-calendar-layout){grid-template-columns:minmax(0,1fr)!important}
 html[data-design=enterprise] .employee-multi-picker[open] .picker-body{box-sizing:border-box;left:0;right:auto;min-width:0;width:max(100%,min(300px,calc(100vw - 64px)));max-width:calc(100vw - 64px)}
 html[data-design=enterprise] .picker-list label{min-height:40px;overflow-wrap:anywhere}
 html[data-design=enterprise] #dialog{box-sizing:border-box;inset:0!important;margin:auto!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;height:auto!important;max-height:calc(100dvh - 16px)!important;padding:16px;overflow:auto;border-radius:8px}
 html[data-design=enterprise] #dialog :is(#fields,.employee-section:not([hidden]),.details){grid-template-columns:minmax(0,1fr)!important;min-width:0}
 html[data-design=enterprise] #dialog .employee-tabs{flex-wrap:nowrap!important;overflow-x:auto;max-width:100%}
 html[data-design=enterprise] .employee-drawer .dialog-head{top:-16px;margin:-16px -16px 12px;padding:12px 16px}
 html[data-design=enterprise] #toast{box-sizing:border-box;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}
 html[data-design=enterprise] .login-shell:not([hidden]){width:calc(100% - 24px);margin:24px auto;max-width:480px}
 html[data-design=enterprise] .login-shell .login-panel{padding:28px 22px!important}
 html[data-design=enterprise] .login-shell .login-panel form input{font-size:16px!important}
 html[data-design=enterprise] .login-shell[hidden],html[data-design=enterprise] #workspace[hidden]{display:none!important}
}
