/* Shared mobile header. Override the two inherited grid/font recipes together. */
@media screen and (max-width:599px){
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear{
  display:grid!important;grid-template-columns:minmax(0,1fr) 52px!important;align-items:center!important;gap:10px!important;padding:10px 16px!important;min-height:96px!important;box-sizing:border-box!important;overflow:visible!important
 }
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear :is(.ops-unified-brand,.workspace-v2-brand){
  grid-column:1;grid-row:1;display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important
 }
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear :is(.ops-unified-brand,.workspace-v2-brand)>.ops-brand-motion-frame,
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear :is(.ops-unified-brand,.workspace-v2-brand)>img{
  grid-column:1;grid-row:1;display:block!important;width:72px!important;height:76px!important;max-width:72px!important;min-width:72px!important;aspect-ratio:18/19!important;align-self:center!important;margin:0!important;object-fit:contain!important
 }
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear :is(.ops-unified-brand,.workspace-v2-brand)>span{
  grid-column:2;grid-row:1;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;align-self:center!important;gap:4px!important;padding:0!important;margin:0!important;min-width:0!important;text-align:left!important;white-space:normal!important
 }
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear :is(.ops-unified-brand,.workspace-v2-brand)>span>strong{
  order:0!important;font:750 22px/1.15 system-ui,-apple-system,sans-serif!important;letter-spacing:.03em!important;margin:0!important;padding:0!important;text-shadow:none!important
 }
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear :is(.ops-unified-brand,.workspace-v2-brand)>span>span{
  order:1!important;font:650 14px/1.35 system-ui,-apple-system,sans-serif!important;margin:0!important;padding:0!important;border:0!important;text-shadow:none!important;white-space:normal!important;overflow-wrap:normal!important
 }
 html body :is(#ops-unified-header-v4,#workspace header.workspace-v2-header).ops-mobile-gear>.ops-mobile-gear-tools{
  grid-column:2;grid-row:1;position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;align-self:center!important;width:52px!important;margin:0!important
 }
 html body #ops-unified-navigation-v4[data-ops-collapsed=true]{display:none!important}
 html body #ops-unified-navigation-v4[data-ops-collapsed=false]{display:grid!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 html body #ops-unified-menu-toggle,html body .ops-unified-menu-toggle{min-height:48px!important;font-size:16px!important}
}
/* Home cards already contain the work areas. Keep the desktop shortcut bar on subpages. */
@media screen and (min-width:768px){body:has(#ops-landing) #ops-unified-navigation-v4{display:none!important}body:has(#ops-landing)>.ops-unified-menu-toggle{display:none!important}}
/* The safe loading boundary stays visible if a module cannot start. */
#ops-order-startup{margin:16px auto;padding:14px 16px;max-width:1248px;box-sizing:border-box;border:1px solid #b7d3dd;border-radius:14px;background:linear-gradient(135deg,#e8f8faee,#eff5fbee);color:#193e50;font:600 16px/1.5 system-ui,-apple-system,sans-serif}
#ops-order-startup[hidden]{display:none!important}#ops-order-startup a{display:inline-block;margin:8px 14px 0 0;min-height:44px;line-height:44px;color:#1b5674}

@media screen and (max-width:700px){body[data-ops-workforce-colors]>.ops-hierarchy-nav{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}}
