body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-page-shell {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-page-shell > .ghrm-explorer-header {
  display: none;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-page-content {
  padding: 0;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-readme-box {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-readme-header {
  display: none;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-readme-content {
  padding: 0;
}

body:is(.ghrm-doc-flat, .ghrm-print) #ghrm-source-slot {
  display: none;
}

body:is(.ghrm-doc-flat, .ghrm-print) .markdown-body {
  padding-top: 16px;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-raw-pane .ghrm-blob {
  margin: 0;
}

.ghrm-topbar {
  padding-top: 0;
  background: transparent;
  border-bottom: 0;
}

.ghrm-topbar-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (min-width: 1400px) {
  .ghrm-topbar.ghrm-layout-explorer .ghrm-topbar-inner {
    width: auto;
    max-width: var(--ghrm-layout-max);
    padding: 0 var(--ghrm-layout-pad);
  }
}

#doc-chrome-toggle,
#theme-toggle,
#ghrm-gist-link,
#ghrm-home-link,
#ghrm-logout {
  width: 32px;
  height: 32px;
  align-self: center;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--borderColor-default, #d0d7de);
  border-radius: 4px;
  background: var(--bgColor-default, #ffffff);
  color: var(--fgColor-default, #1f2328);
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#doc-chrome-toggle[hidden] {
  display: none;
}

#ghrm-logout {
  width: 32px;
  padding: 0;
  text-decoration: none;
}

#ghrm-gist-link,
#ghrm-home-link {
  text-decoration: none;
}

#ghrm-gist-link svg,
#ghrm-home-link svg,
#ghrm-logout svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

#doc-chrome-toggle:hover,
#theme-toggle:hover,
#ghrm-gist-link:hover,
#ghrm-home-link:hover,
#ghrm-logout:hover {
  background: var(--bgColor-neutral-muted, #afb8c133);
}

.ghrm-source-link {
  margin-right: auto;
  min-width: 0;
  flex: 1 1 auto;
  height: 32px;
  overflow: hidden;
  color: var(--fgColor-default, #1f2328);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.ghrm-source-link a {
  color: inherit;
  text-decoration: none;
}

.ghrm-source-link a:hover {
  color: var(--fgColor-accent, #0969da);
}

.ghrm-source-badge {
  position: relative;
  width: 28px;
  height: 28px;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--fgColor-accent, #0969da);
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 0;
}

.ghrm-source-link.is-disabled {
  color: var(--fgColor-muted, #636c76);
  cursor: default;
}

.ghrm-source-text {
  min-width: 0;
  width: max-content;
  max-width: 100%;
  height: 32px;
  display: inline-block;
  justify-self: start;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  line-height: 32px;
}

.ghrm-source-value {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  font-weight: 600;
  line-height: 32px;
}

#theme-toggle .icon-sun,
#theme-toggle .icon-moon,
#doc-chrome-toggle .icon-framed,
#doc-chrome-toggle .icon-flat {
  display: block;
  width: 18px;
  height: 18px;
}

#doc-chrome-toggle .icon-flat {
  display: none;
}

#doc-chrome-toggle svg,
#theme-toggle svg {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}

body:is(.ghrm-doc-flat, .ghrm-print) #doc-chrome-toggle .icon-framed {
  display: none;
}

body:is(.ghrm-doc-flat, .ghrm-print) #doc-chrome-toggle .icon-flat {
  display: block;
}

[data-theme="dark"] #theme-toggle .icon-sun {
  display: block;
}
[data-theme="dark"] #theme-toggle .icon-moon {
  display: none;
}
:root[data-theme="light"] #theme-toggle .icon-sun {
  display: none;
}
:root[data-theme="light"] #theme-toggle .icon-moon {
  display: inline;
}

@media (max-width: 767px) {
  .ghrm-topbar-inner {
    min-height: 56px;
    padding: 0 14px;
    flex-wrap: nowrap;
    align-content: center;
  }

  .ghrm-source-link {
    flex: 1 1 0;
    grid-template-columns: 28px max-content;
    column-gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .ghrm-source-text {
    min-width: max-content;
    overflow: visible;
    font-size: 13px;
  }

  .ghrm-source-value {
    overflow: visible;
    text-overflow: clip;
  }
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-topbar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 180;
  width: min(208px, 100vw);
  padding: 8px 12px 16px 20px;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-topbar-inner {
  width: auto;
  min-height: 32px;
  padding: 0;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

body:is(.ghrm-doc-flat, .ghrm-print) .ghrm-topbar:hover .ghrm-topbar-inner,
body:is(.ghrm-doc-flat, .ghrm-print)
  .ghrm-topbar:focus-within
  .ghrm-topbar-inner {
  opacity: 1;
  pointer-events: auto;
}

@media print {
  .ghrm-topbar {
    display: none !important;
  }
}
