@media screen and (max-width: 760px) {
  body.workspace:has(.admin-main) { display:block; }
  body.workspace .sidebar { display:flex; position:static; width:100%; height:auto; flex-direction:row; align-items:center; overflow-x:auto; gap:6px; padding:6px 12px; box-sizing:border-box; }
  body.workspace .sidebar a { display:flex; align-items:center; flex:none; min-height:44px; white-space:nowrap; margin:0; }
  body.workspace .sidebar :is(.nav-label,.sidebar-note) { display:none; }
  body.workspace .admin-main { width:100%; max-width:none; min-width:0; margin:0; padding:16px 12px 32px; box-sizing:border-box; }
  .admin-main .page-heading { display:flex; flex-wrap:wrap; gap:12px; }
  .admin-main .page-heading h1 { font-size:1.65rem; }
  .admin-main .stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .admin-main .stats .card { min-width:0; padding:12px; }
  .admin-main .section-heading { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
  .admin-main .filters { display:grid; width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .admin-main .filters :is(input,select,button) { width:100%; min-width:0; max-width:100%; min-height:44px; box-sizing:border-box; font-size:16px; }
  :is(.page-dispatch,.page-calendar) .admin-main .table-wrap { overflow:visible; }
  :is(.page-dispatch,.page-calendar) .admin-main .table-wrap :is(table,tbody) { display:block; width:100%; min-width:0; }
  :is(.page-dispatch,.page-calendar) .admin-main .table-wrap thead { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; }
  :is(.page-dispatch,.page-calendar) .admin-main .table-wrap tbody tr { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:'date price' 'ref ref' 'route route' 'status status' 'actions actions'; margin:12px 0; padding:14px; gap:9px; border:1px solid #667579; border-radius:12px; }
  :is(.page-dispatch,.page-calendar) .admin-main .table-wrap td { display:block; padding:0; border:0; min-width:0; white-space:normal; overflow-wrap:anywhere; }
  .admin-main .table-wrap:has(form .small-link) td:nth-child(1) { grid-area:ref; }
  .admin-main .table-wrap:has(form .small-link) td:nth-child(2) { grid-area:route; }
  .admin-main .table-wrap:has(form .small-link) td:nth-child(3) { grid-area:date; font-weight:700; }
  .admin-main .table-wrap:has(form .small-link) td:nth-child(4) { grid-area:status; }
  .admin-main .table-wrap:has(form .small-link) td:nth-child(5) { grid-area:price; font-weight:700; }
  .admin-main .table-wrap:has(form .small-link) td:nth-child(6) { grid-area:actions; display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #526165; padding-top:5px; }
  .admin-main .table-wrap td .small-link { display:inline-flex; min-height:44px; align-items:center; padding:0 8px; margin:0 !important; }
}
@media screen and (max-width:760px){
body.workspace:has(.admin-main) .topbar {position:static;height:auto;min-height:48px;display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px;box-sizing:border-box;max-width:100%}
body.workspace:has(.admin-main) .topbar > * {min-width:0;max-width:100%;flex-wrap:wrap}
body.workspace .sidebar.dispatch-nav-ready {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;position:static;margin:0;padding:8px 12px;gap:4px;height:auto;max-width:100%}
body.workspace .sidebar.dispatch-nav-ready .dispatch-menu-toggle {grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;text-align:left;min-height:44px;padding:8px 12px;font:inherit;font-weight:650;color:inherit;background:transparent;border:1px solid currentColor;border-radius:8px;cursor:pointer}
body.workspace .sidebar.dispatch-nav-ready a {min-width:0;white-space:normal;padding:6px 10px;box-sizing:border-box}
body.workspace .sidebar.dispatch-nav-ready[data-expanded="false"] a {display:none}
body.workspace .admin-main :is(.dispatch-grid,.detail-grid,.edit-grid,.form-grid,.dispatch-date){display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
body.workspace .admin-main :is(.dispatch-grid,.detail-grid,.edit-grid,.form-grid,.dispatch-date)>* {grid-column:auto!important;min-width:0;max-width:100%}
body.workspace .admin-main :is(.card,form,fieldset,.field,.notice,.connection-list){min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
body.workspace .admin-main .card {padding:14px}
body.workspace .admin-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){display:block;min-width:0;max-width:100%;width:100%;box-sizing:border-box;min-height:44px;font-size:16px}
body.workspace .admin-main :is(.button,button,.small-link,.stop-add-link,.check,summary){min-height:44px;box-sizing:border-box;align-content:center;white-space:normal}
body.workspace .admin-main :is(.action-row,.fleet-visual,.section-heading){flex-wrap:wrap;max-width:100%}
body.workspace .admin-main :is(.dispatch-submit,.edit-box){position:static}
body.workspace .admin-main .route-detail,body.workspace .admin-main .specs {overflow-wrap:anywhere;max-width:100%}
body.workspace .admin-main .table-wrap.mobile-records {overflow:visible}
.admin-main .mobile-records :is(table,tbody){display:block;width:100%;min-width:0}
.admin-main .mobile-records thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.admin-main .mobile-records tbody tr{display:block;margin:10px 0;padding:8px 12px;border:1px solid #92979a;border-radius:10px}
.admin-main .mobile-records tbody td{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;padding:6px 0;border:0}
.admin-main .mobile-records td[data-mobile-label]:before{content:attr(data-mobile-label);display:block;font-size:.75rem;font-weight:650;line-height:1.5;opacity:.75}
.admin-main .table-wrap:not(.mobile-records){max-width:100%;overscroll-behavior-x:contain}
body.workspace .admin-main .connection-list>*{min-width:0;flex-wrap:wrap}
}
@media screen and (min-width:761px),print{.dispatch-menu-toggle{display:none!important}}

@media screen and (max-width:760px){body.workspace .sidebar.dispatch-nav-ready .dispatch-menu-toggle{color:#fff;border-color:#869694}.admin-main :is(.multi-grid,.days-grid){grid-template-columns:minmax(0,1fr)}}

@media screen and (max-width:760px){.admin-main .mobile-records tbody .mobile-column-headings{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;margin:0;padding:0;border:0}}
