/* The manager's mobile workspace uses the desktop's forms and save handlers. */
@media(max-width:760px){
 html,body{max-width:100%;overflow-x:hidden}
 body{display:block!important}
 body>aside{position:relative!important;width:auto!important;min-width:0!important;height:auto!important;padding:12px!important}
 body>aside nav{display:flex;flex-wrap:wrap;gap:6px}
 body>aside nav button{width:auto;min-height:40px;flex:1 1 120px}
 body>main{margin-left:0!important;width:100%!important;min-width:0!important;padding:12px!important;box-sizing:border-box}
 #content,.card,.ui-section-card{min-width:0;max-width:100%;box-sizing:border-box}
 .schedule-library-tools,.schedule-context-controls{flex-wrap:wrap;max-width:100%}
 [data-current-schedule-name]{white-space:normal;overflow-wrap:anywhere;max-width:100%}
 .personal-grid,.assign-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 .assign-left,.assign-right{min-width:0}
 .assign-table-wrap,.people-search-results{max-width:100%;overflow-x:auto}
 .assigned-people-table{min-width:780px}
 dialog{box-sizing:border-box;max-width:calc(100vw - 24px)!important;max-height:90dvh;overflow:auto}
 dialog label{display:block;margin:8px 0}dialog input,dialog select{box-sizing:border-box;max-width:100%;min-height:38px}
 .clock-stage svg{max-width:100%;height:auto}
 .actions{flex-wrap:wrap}button,input,select{font-size:16px}
}
