/* Keep the navigation button usable in the deployed header structure. */
:root [data-ui-surface="client-chat"].has-chat-workspace.is-chat-pristine:not(.is-preview-workbench) > .client-page-header {
  display: none;
}

@media (max-width: 900px) {
  :root [data-ui-surface="client-chat"].has-chat-workspace.is-chat-pristine:not(.is-preview-workbench) > .client-page-header,
  :root [data-ui-surface="client-chat"].has-chat-workspace.is-chat-pristine:not(.is-preview-workbench) > .client-page-header > .client-page-header-inner {
    display: contents;
  }

  :root [data-ui-surface="client-chat"].has-chat-workspace.is-chat-pristine:not(.is-preview-workbench) > .client-page-header :is(.client-page-brand, .client-page-actions) {
    display: none;
  }

  :root [data-ui-surface="client-chat"].has-chat-workspace.is-chat-pristine:not(.is-preview-workbench) > .client-page-header .client-mobile-sidebar-toggle {
    display: inline-flex;
    position: absolute;
    inset: 10px auto auto 12px;
    width: 40px;
    height: 40px;
    z-index: 28;
  }

  :root [data-ui-surface="client-chat"].has-chat-workspace.is-chat-pristine:not(.is-preview-workbench) .client-product-shell:not(.has-preview-workspace) .client-conversation {
    padding-top: 64px;
  }
}
