@layer mgkansHeader78 {
 @media(min-width:951px){
  #content [data-task-header76]{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:16px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:8px!important;margin:0!important;overflow-x:auto!important;overflow-y:hidden!important}
  #content [data-task-header76]>[data-task-left76]{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:12px!important;order:0!important;flex:1 1 0!important;width:auto!important;min-width:min-content!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  #content [data-task-left76]>.page-title154{order:0!important;flex:0 0 auto!important;width:auto!important;margin:0 14px 0 0!important;white-space:nowrap!important}
  #content [data-task-left76]>.task-views40{order:1!important;flex:0 0 auto!important;flex-wrap:nowrap!important;margin:0 4px 0 0!important}
  #content [data-task-left76]>.segments:has(>[data-mode]){order:2!important;display:flex!important;flex:0 0 auto!important;flex-wrap:nowrap!important;margin:0 6px 0 0!important}
  #content [data-task-left76]>.segments>button{white-space:nowrap!important}
  #content [data-task-left76]>#taskHeaderSearch65{order:3!important;flex:1 1 300px!important;width:auto!important;min-width:120px!important;max-width:450px!important;height:44px!important;min-height:44px!important;margin:0!important}
  #content [data-task-left76]>.legacy-views155{display:none!important}
  #content [data-task-header76]>[data-task-actions75]{order:1!important;margin-left:auto!important;gap:12px!important;flex:0 0 auto!important}
  #content [data-task-actions75]>.create-action153{display:flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
  #content [data-task-actions75]>.create-action153>button{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:44px!important;min-height:44px!important;max-height:44px!important;width:auto!important;margin:0!important;padding:6px 14px!important;line-height:1.2!important;white-space:nowrap!important;border-radius:14px!important}
  #content [data-icon-view76]{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;background:transparent!important;border:0!important;padding:0!important}
  #content [data-icon-view76]>button:not([data-map-toggle76]){display:none!important}
  #content [data-icon-view76]>[data-map-toggle76]{display:inline-flex!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;padding:2px!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:1px solid var(--border,#dbe3ef)!important;border-radius:12px!important;box-shadow:0 2px 6px #17334c20!important}
  #content [data-map-toggle76]>svg{display:block!important;width:38px!important;height:38px!important;pointer-events:none!important}
  #content [data-map-toggle76][aria-pressed=true]{border-color:#1688db!important;box-shadow:0 0 0 1px #1688db!important}
  #content [data-map-toggle76]:focus-visible{outline:2px solid #1688db!important;outline-offset:2px!important}
 }
}

@layer mgkansHeader78 {
 #content [data-header-row78]{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;box-sizing:border-box!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important}
 #content [data-header-row78]>.partner-create-row137{display:flex!important;flex:1 1 auto!important;flex-flow:row nowrap!important;align-items:center!important;gap:10px!important;width:auto!important;min-width:max-content!important;max-width:none!important;margin:0!important;padding:0!important;order:0!important}
 #content [data-header-row78] :is(.page-title154,.task-views40,.segments,[data-edit-wrap74],.create-action153,.header-actions44,.page-buttons154,.partner-primary34){white-space:nowrap!important;flex-shrink:0!important}
 #content [data-header-row78] :is(.page-title154,.partner-primary34){width:auto!important;margin:0!important}
 #content [data-header-row78] :is(.segments,.task-views40,.header-actions44,.page-buttons154){flex-wrap:nowrap!important}
 #content [data-header-row78] #taskHeaderSearch65{flex:1 1 300px!important;min-width:150px!important;max-width:550px!important;width:auto!important;margin:0!important}
 #content [data-header-row78]>:not([hidden]),#content [data-header-row78]>.partner-create-row137>:not([hidden]),#content [data-task-actions75]>*{order:0!important}
 #content [data-header-row78] [data-edit-wrap74]{order:0!important;align-self:center!important;margin:0!important;position:relative!important;inset:auto!important}
 #content [data-header-row78] button{white-space:nowrap!important;flex-shrink:0!important}
 #content [data-header-row78] [hidden]{display:none!important}
 #content [data-header-row78] :is(.document-leading45,.ledger-actions34,.header-actions44):empty{display:none!important}
 #content [data-header-row78]>.partner-create-row137>.partner-primary34{margin-left:auto!important}
 #content [data-header-row78]>.partner-create-row137>.partner-secondary137:not([data-filter-button68]){position:static!important;inset:auto!important}
}

/* Keep the embedded filter centred regardless of its former toolbar classes. */
@layer mgkansHeader78 {
 @media(min-width:951px){
  #content #taskHeaderSearch65>button[data-filter-button68]{position:absolute!important;inset:50% auto auto 4px!important;top:50%!important;right:auto!important;bottom:auto!important;left:4px!important;transform:translateY(-50%)!important;margin:0!important;align-self:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 }
 #content button[data-filter-button68]>[data-filter-svg6]{max-width:100%!important;max-height:100%!important}
 #content button[data-filter-button68]>[data-filter-svg6]>svg{max-width:100%!important;max-height:100%!important}
}
