/* V132 cache-busting mobile layout — loaded after style.css */
.topbar,.app-tools-cluster,.notification-wrap,.top-actions{overflow:visible!important}
.notification-wrap{z-index:80!important}
.notification-tray.hidden{display:none!important}
.notification-tray{
  position:absolute!important;right:0!important;left:auto!important;
  top:calc(100% + 8px)!important;width:min(360px,calc(100vw - 24px))!important;
  min-width:0!important;max-width:calc(100vw - 24px)!important;
  max-height:min(70vh,520px)!important;overflow:auto!important;z-index:200!important;
  box-sizing:border-box!important;padding:14px!important;
}
@media(max-width:900px){
  .notification-tray{
    position:fixed!important;left:12px!important;right:12px!important;top:72px!important;
    width:auto!important;min-width:0!important;max-width:none!important;z-index:400!important;
  }
  body.bell-tray-open::before{content:"";position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:350}
}
.task-action-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;width:100%!important}
.task-action-grid form{display:contents!important}
@media(max-width:1100px){
  .task-table-wrap{overflow:visible!important}
  .task-table,.task-table thead,.task-table tbody,.task-table th,.task-table td,.task-table tr{display:block!important;width:100%!important;min-width:0!important}
  .task-table thead{display:none!important}
  .task-table tr{background:#fff!important;border:1px solid #e4ebf2!important;border-radius:14px!important;padding:12px!important;margin:0 0 12px!important}
  .task-table td{border:0!important;padding:6px 0!important;display:flex!important;justify-content:space-between!important;gap:10px!important}
  .task-table td::before{content:attr(data-label);flex:0 0 92px;color:#6b7d90;font-size:10px;font-weight:800;text-transform:uppercase}
  .task-table td.task-row-actions,.task-table td:last-child{display:block!important;width:100%!important;padding-top:10px!important;margin-top:8px!important;border-top:1px solid #edf1f6!important}
  .task-table td.task-row-actions::before,.task-table td:last-child::before{display:none!important}
}

/* V157 desktop task actions: five equal columns, no stretch or clipping. */
@media(min-width:1101px){
  .content-area .task-table{table-layout:fixed!important;min-width:1100px!important}
  .content-area .task-table .task-actions-head{width:370px!important;text-align:center!important}
  .content-area .task-table td.task-row-actions{width:370px!important;min-width:370px!important;max-width:370px!important;padding:10px 8px!important;overflow:hidden!important}
  .content-area .task-table .task-action-grid{display:grid!important;grid-template-columns:repeat(5,64px)!important;justify-content:center!important;align-items:center!important;gap:4px!important;width:100%!important;overflow:hidden!important}
  .content-area .task-table .task-action-grid form{display:block!important;width:64px!important;min-width:64px!important;margin:0!important}
  .content-area .task-table .task-action-grid .task-act-btn,
  .content-area .task-table .task-action-grid a.task-act-btn,
  .content-area .task-table .task-action-grid button.task-act-btn{display:inline-flex!important;width:64px!important;min-width:64px!important;max-width:64px!important;height:34px!important;padding:0 4px!important;margin:0!important;align-items:center!important;justify-content:center!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important}
}
